diff --git a/crates/libs/bindgen/src/rust/com_methods.rs b/crates/libs/bindgen/src/rust/com_methods.rs index ffd85d3fa6..56b86bd6fb 100644 --- a/crates/libs/bindgen/src/rust/com_methods.rs +++ b/crates/libs/bindgen/src/rust/com_methods.rs @@ -178,8 +178,8 @@ pub fn gen_upcall(writer: &Writer, sig: &metadata::Signature, inner: TokenStream quote! { match #inner(this, #(#invoke_args,)*) { Ok(ok__) => { - // use `core::ptr::write` since the result could be uninitialized - core::ptr::write(#result, core::mem::transmute(ok__)); + // use `ptr::write` since the result could be uninitialized + #result.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into() diff --git a/crates/libs/bindgen/src/rust/winrt_methods.rs b/crates/libs/bindgen/src/rust/winrt_methods.rs index 345cb01e75..eafe2bc569 100644 --- a/crates/libs/bindgen/src/rust/winrt_methods.rs +++ b/crates/libs/bindgen/src/rust/winrt_methods.rs @@ -263,8 +263,8 @@ pub fn gen_upcall( quote! { let ok__ = #inner(#this #(#invoke_args,)*); let (ok_data__, ok_data_len__) = ok__.into_abi(); - core::ptr::write(result__, ok_data__); - core::ptr::write(result_size__, ok_data_len__); + result__.write(ok_data__); + result_size__.write(ok_data_len__); windows_core::HRESULT(0) } } else { @@ -272,9 +272,9 @@ pub fn gen_upcall( match #inner(#this #(#invoke_args,)*) { Ok(ok__) => { let (ok_data__, ok_data_len__) = ok__.into_abi(); - // use `core::ptr::write` since `result` could be uninitialized - core::ptr::write(result__, ok_data__); - core::ptr::write(result_size__, ok_data_len__); + // use `ptr::write` since `result` could be uninitialized + result__.write(ok_data__); + result_size__.write(ok_data_len__); windows_core::HRESULT(0) } Err(err) => err.into() @@ -292,8 +292,8 @@ pub fn gen_upcall( if noexcept { quote! { let ok__ = #inner(#this #(#invoke_args,)*); - // use `core::ptr::write` since `result` could be uninitialized - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + // use `ptr::write` since `result` could be uninitialized + result__.write(core::mem::transmute_copy(&ok__)); #forget windows_core::HRESULT(0) } @@ -301,8 +301,8 @@ pub fn gen_upcall( quote! { match #inner(#this #(#invoke_args,)*) { Ok(ok__) => { - // use `core::ptr::write` since `result` could be uninitialized - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + // use `ptr::write` since `result` could be uninitialized + result__.write(core::mem::transmute_copy(&ok__)); #forget windows_core::HRESULT(0) } diff --git a/crates/libs/core/src/strings/hstring.rs b/crates/libs/core/src/strings/hstring.rs index daa647011f..c6b8a3472b 100644 --- a/crates/libs/core/src/strings/hstring.rs +++ b/crates/libs/core/src/strings/hstring.rs @@ -73,12 +73,12 @@ impl HSTRING { for (index, wide) in iter.enumerate() { debug_assert!(index < len); - core::ptr::write((*ptr).data.add(index), wide); + (*ptr).data.add(index).write(wide); (*ptr).len = index as u32 + 1; } // Write a 0 byte to the end of the buffer. - core::ptr::write((*ptr).data.offset((*ptr).len as isize), 0); + (*ptr).data.offset((*ptr).len as isize).write(0); Ok(Self(core::ptr::NonNull::new(ptr))) } @@ -430,7 +430,7 @@ impl Header { let header = imp::heap_alloc(alloc_size)? as *mut Header; - // SAFETY: uses `core::ptr::write` (since `header` is unintialized). `Header` is safe to be all zeros. + // SAFETY: uses `ptr::write` (since `header` is unintialized). `Header` is safe to be all zeros. unsafe { header.write(core::mem::MaybeUninit::
::zeroed().assume_init()); (*header).len = len; diff --git a/crates/libs/windows/src/Windows/AI/MachineLearning/impl.rs b/crates/libs/windows/src/Windows/AI/MachineLearning/impl.rs index e07170cf89..4190b4905f 100644 --- a/crates/libs/windows/src/Windows/AI/MachineLearning/impl.rs +++ b/crates/libs/windows/src/Windows/AI/MachineLearning/impl.rs @@ -14,7 +14,7 @@ impl ILearningModelFeatureDescriptor_Vtbl { let this = (*this).get_impl(); match ILearningModelFeatureDescriptor_Impl::Name(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -26,7 +26,7 @@ impl ILearningModelFeatureDescriptor_Vtbl { let this = (*this).get_impl(); match ILearningModelFeatureDescriptor_Impl::Description(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -38,7 +38,7 @@ impl ILearningModelFeatureDescriptor_Vtbl { let this = (*this).get_impl(); match ILearningModelFeatureDescriptor_Impl::Kind(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -49,7 +49,7 @@ impl ILearningModelFeatureDescriptor_Vtbl { let this = (*this).get_impl(); match ILearningModelFeatureDescriptor_Impl::IsRequired(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -80,7 +80,7 @@ impl ILearningModelFeatureValue_Vtbl { let this = (*this).get_impl(); match ILearningModelFeatureValue_Impl::Kind(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -121,7 +121,7 @@ impl ITensor_Vtbl { let this = (*this).get_impl(); match ITensor_Impl::TensorKind(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -132,7 +132,7 @@ impl ITensor_Vtbl { let this = (*this).get_impl(); match ITensor_Impl::Shape(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Activation/impl.rs b/crates/libs/windows/src/Windows/ApplicationModel/Activation/impl.rs index 36cb5895fb..1958913094 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Activation/impl.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Activation/impl.rs @@ -13,7 +13,7 @@ impl IActivatedEventArgs_Vtbl { let this = (*this).get_impl(); match IActivatedEventArgs_Impl::Kind(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -24,7 +24,7 @@ impl IActivatedEventArgs_Vtbl { let this = (*this).get_impl(); match IActivatedEventArgs_Impl::PreviousExecutionState(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -35,7 +35,7 @@ impl IActivatedEventArgs_Vtbl { let this = (*this).get_impl(); match IActivatedEventArgs_Impl::SplashScreen(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -69,7 +69,7 @@ impl IActivatedEventArgsWithUser_Vtbl { let this = (*this).get_impl(); match IActivatedEventArgsWithUser_Impl::User(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -95,7 +95,7 @@ impl IApplicationViewActivatedEventArgs_Vtbl { let this = (*this).get_impl(); match IApplicationViewActivatedEventArgs_Impl::CurrentlyShownApplicationViewId(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -123,7 +123,7 @@ impl IAppointmentsProviderActivatedEventArgs_Vtbl { let this = (*this).get_impl(); match IAppointmentsProviderActivatedEventArgs_Impl::Verb(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -155,7 +155,7 @@ impl IAppointmentsProviderAddAppointmentActivatedEventArgs_Vtbl { let this = (*this).get_impl(); match IAppointmentsProviderAddAppointmentActivatedEventArgs_Impl::AddAppointmentOperation(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -187,7 +187,7 @@ impl IAppointmentsProviderRemoveAppointmentActivatedEventArgs_Vtbl { let this = (*this).get_impl(); match IAppointmentsProviderRemoveAppointmentActivatedEventArgs_Impl::RemoveAppointmentOperation(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -219,7 +219,7 @@ impl IAppointmentsProviderReplaceAppointmentActivatedEventArgs_Vtbl { let this = (*this).get_impl(); match IAppointmentsProviderReplaceAppointmentActivatedEventArgs_Impl::ReplaceAppointmentOperation(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -250,7 +250,7 @@ impl IAppointmentsProviderShowAppointmentDetailsActivatedEventArgs_Vtbl { let this = (*this).get_impl(); match IAppointmentsProviderShowAppointmentDetailsActivatedEventArgs_Impl::InstanceStartDate(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -262,7 +262,7 @@ impl IAppointmentsProviderShowAppointmentDetailsActivatedEventArgs_Vtbl { let this = (*this).get_impl(); match IAppointmentsProviderShowAppointmentDetailsActivatedEventArgs_Impl::LocalId(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -274,7 +274,7 @@ impl IAppointmentsProviderShowAppointmentDetailsActivatedEventArgs_Vtbl { let this = (*this).get_impl(); match IAppointmentsProviderShowAppointmentDetailsActivatedEventArgs_Impl::RoamingId(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -306,7 +306,7 @@ impl IAppointmentsProviderShowTimeFrameActivatedEventArgs_Vtbl { let this = (*this).get_impl(); match IAppointmentsProviderShowTimeFrameActivatedEventArgs_Impl::TimeToShow(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -317,7 +317,7 @@ impl IAppointmentsProviderShowTimeFrameActivatedEventArgs_Vtbl { let this = (*this).get_impl(); match IAppointmentsProviderShowTimeFrameActivatedEventArgs_Impl::Duration(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -349,7 +349,7 @@ impl IBackgroundActivatedEventArgs_Vtbl { let this = (*this).get_impl(); match IBackgroundActivatedEventArgs_Impl::TaskInstance(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -378,7 +378,7 @@ impl IBarcodeScannerPreviewActivatedEventArgs_Vtbl { let this = (*this).get_impl(); match IBarcodeScannerPreviewActivatedEventArgs_Impl::ConnectionId(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -410,7 +410,7 @@ impl ICachedFileUpdaterActivatedEventArgs_Vtbl { let this = (*this).get_impl(); match ICachedFileUpdaterActivatedEventArgs_Impl::CachedFileUpdaterUI(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -440,7 +440,7 @@ impl ICameraSettingsActivatedEventArgs_Vtbl { let this = (*this).get_impl(); match ICameraSettingsActivatedEventArgs_Impl::VideoDeviceController(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -452,7 +452,7 @@ impl ICameraSettingsActivatedEventArgs_Vtbl { let this = (*this).get_impl(); match ICameraSettingsActivatedEventArgs_Impl::VideoDeviceExtension(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -482,7 +482,7 @@ impl ICommandLineActivatedEventArgs_Vtbl { let this = (*this).get_impl(); match ICommandLineActivatedEventArgs_Impl::Operation(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -511,7 +511,7 @@ impl IContactActivatedEventArgs_Vtbl { let this = (*this).get_impl(); match IContactActivatedEventArgs_Impl::Verb(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -542,7 +542,7 @@ impl IContactCallActivatedEventArgs_Vtbl { let this = (*this).get_impl(); match IContactCallActivatedEventArgs_Impl::ServiceId(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -554,7 +554,7 @@ impl IContactCallActivatedEventArgs_Vtbl { let this = (*this).get_impl(); match IContactCallActivatedEventArgs_Impl::ServiceUserId(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -566,7 +566,7 @@ impl IContactCallActivatedEventArgs_Vtbl { let this = (*this).get_impl(); match IContactCallActivatedEventArgs_Impl::Contact(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -601,7 +601,7 @@ impl IContactMapActivatedEventArgs_Vtbl { let this = (*this).get_impl(); match IContactMapActivatedEventArgs_Impl::Address(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -613,7 +613,7 @@ impl IContactMapActivatedEventArgs_Vtbl { let this = (*this).get_impl(); match IContactMapActivatedEventArgs_Impl::Contact(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -648,7 +648,7 @@ impl IContactMessageActivatedEventArgs_Vtbl { let this = (*this).get_impl(); match IContactMessageActivatedEventArgs_Impl::ServiceId(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -660,7 +660,7 @@ impl IContactMessageActivatedEventArgs_Vtbl { let this = (*this).get_impl(); match IContactMessageActivatedEventArgs_Impl::ServiceUserId(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -672,7 +672,7 @@ impl IContactMessageActivatedEventArgs_Vtbl { let this = (*this).get_impl(); match IContactMessageActivatedEventArgs_Impl::Contact(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -707,7 +707,7 @@ impl IContactPanelActivatedEventArgs_Vtbl { let this = (*this).get_impl(); match IContactPanelActivatedEventArgs_Impl::ContactPanel(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -719,7 +719,7 @@ impl IContactPanelActivatedEventArgs_Vtbl { let this = (*this).get_impl(); match IContactPanelActivatedEventArgs_Impl::Contact(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -752,7 +752,7 @@ impl IContactPickerActivatedEventArgs_Vtbl { let this = (*this).get_impl(); match IContactPickerActivatedEventArgs_Impl::ContactPickerUI(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -786,7 +786,7 @@ impl IContactPostActivatedEventArgs_Vtbl { let this = (*this).get_impl(); match IContactPostActivatedEventArgs_Impl::ServiceId(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -798,7 +798,7 @@ impl IContactPostActivatedEventArgs_Vtbl { let this = (*this).get_impl(); match IContactPostActivatedEventArgs_Impl::ServiceUserId(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -810,7 +810,7 @@ impl IContactPostActivatedEventArgs_Vtbl { let this = (*this).get_impl(); match IContactPostActivatedEventArgs_Impl::Contact(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -846,7 +846,7 @@ impl IContactVideoCallActivatedEventArgs_Vtbl { let this = (*this).get_impl(); match IContactVideoCallActivatedEventArgs_Impl::ServiceId(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -858,7 +858,7 @@ impl IContactVideoCallActivatedEventArgs_Vtbl { let this = (*this).get_impl(); match IContactVideoCallActivatedEventArgs_Impl::ServiceUserId(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -870,7 +870,7 @@ impl IContactVideoCallActivatedEventArgs_Vtbl { let this = (*this).get_impl(); match IContactVideoCallActivatedEventArgs_Impl::Contact(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -901,7 +901,7 @@ impl IContactsProviderActivatedEventArgs_Vtbl { let this = (*this).get_impl(); match IContactsProviderActivatedEventArgs_Impl::Verb(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -930,7 +930,7 @@ impl IContinuationActivatedEventArgs_Vtbl { let this = (*this).get_impl(); match IContinuationActivatedEventArgs_Impl::ContinuationData(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -960,7 +960,7 @@ impl IDeviceActivatedEventArgs_Vtbl { let this = (*this).get_impl(); match IDeviceActivatedEventArgs_Impl::DeviceInformationId(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -972,7 +972,7 @@ impl IDeviceActivatedEventArgs_Vtbl { let this = (*this).get_impl(); match IDeviceActivatedEventArgs_Impl::Verb(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -1005,7 +1005,7 @@ impl IDevicePairingActivatedEventArgs_Vtbl { let this = (*this).get_impl(); match IDevicePairingActivatedEventArgs_Impl::DeviceInformation(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -1034,7 +1034,7 @@ impl IDialReceiverActivatedEventArgs_Vtbl { let this = (*this).get_impl(); match IDialReceiverActivatedEventArgs_Impl::AppName(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -1064,7 +1064,7 @@ impl IFileActivatedEventArgs_Vtbl { let this = (*this).get_impl(); match IFileActivatedEventArgs_Impl::Files(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -1076,7 +1076,7 @@ impl IFileActivatedEventArgs_Vtbl { let this = (*this).get_impl(); match IFileActivatedEventArgs_Impl::Verb(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -1106,7 +1106,7 @@ impl IFileActivatedEventArgsWithCallerPackageFamilyName_Vtbl { let this = (*this).get_impl(); match IFileActivatedEventArgsWithCallerPackageFamilyName_Impl::CallerPackageFamilyName(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -1138,7 +1138,7 @@ impl IFileActivatedEventArgsWithNeighboringFiles_Vtbl { let this = (*this).get_impl(); match IFileActivatedEventArgsWithNeighboringFiles_Impl::NeighboringFilesQuery(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -1170,7 +1170,7 @@ impl IFileOpenPickerActivatedEventArgs_Vtbl { let this = (*this).get_impl(); match IFileOpenPickerActivatedEventArgs_Impl::FileOpenPickerUI(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -1199,7 +1199,7 @@ impl IFileOpenPickerActivatedEventArgs2_Vtbl { let this = (*this).get_impl(); match IFileOpenPickerActivatedEventArgs2_Impl::CallerPackageFamilyName(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -1231,7 +1231,7 @@ impl IFileOpenPickerContinuationEventArgs_Vtbl { let this = (*this).get_impl(); match IFileOpenPickerContinuationEventArgs_Impl::Files(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -1260,7 +1260,7 @@ impl IFileSavePickerActivatedEventArgs_Vtbl { let this = (*this).get_impl(); match IFileSavePickerActivatedEventArgs_Impl::FileSavePickerUI(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -1290,7 +1290,7 @@ impl IFileSavePickerActivatedEventArgs2_Vtbl { let this = (*this).get_impl(); match IFileSavePickerActivatedEventArgs2_Impl::CallerPackageFamilyName(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -1302,7 +1302,7 @@ impl IFileSavePickerActivatedEventArgs2_Vtbl { let this = (*this).get_impl(); match IFileSavePickerActivatedEventArgs2_Impl::EnterpriseId(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -1335,7 +1335,7 @@ impl IFileSavePickerContinuationEventArgs_Vtbl { let this = (*this).get_impl(); match IFileSavePickerContinuationEventArgs_Impl::File(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -1364,7 +1364,7 @@ impl IFolderPickerContinuationEventArgs_Vtbl { let this = (*this).get_impl(); match IFolderPickerContinuationEventArgs_Impl::Folder(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -1391,7 +1391,7 @@ impl ILaunchActivatedEventArgs_Vtbl { let this = (*this).get_impl(); match ILaunchActivatedEventArgs_Impl::Arguments(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -1403,7 +1403,7 @@ impl ILaunchActivatedEventArgs_Vtbl { let this = (*this).get_impl(); match ILaunchActivatedEventArgs_Impl::TileId(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -1433,7 +1433,7 @@ impl ILaunchActivatedEventArgs2_Vtbl { let this = (*this).get_impl(); match ILaunchActivatedEventArgs2_Impl::TileActivatedInfo(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -1462,7 +1462,7 @@ impl ILockScreenActivatedEventArgs_Vtbl { let this = (*this).get_impl(); match ILockScreenActivatedEventArgs_Impl::Info(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -1491,7 +1491,7 @@ impl ILockScreenCallActivatedEventArgs_Vtbl { let this = (*this).get_impl(); match ILockScreenCallActivatedEventArgs_Impl::CallUI(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -1517,7 +1517,7 @@ impl IPhoneCallActivatedEventArgs_Vtbl { let this = (*this).get_impl(); match IPhoneCallActivatedEventArgs_Impl::LineId(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1542,7 +1542,7 @@ impl IPickerReturnedActivatedEventArgs_Vtbl { let this = (*this).get_impl(); match IPickerReturnedActivatedEventArgs_Impl::PickerOperationId(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -1571,7 +1571,7 @@ impl IPrelaunchActivatedEventArgs_Vtbl { let this = (*this).get_impl(); match IPrelaunchActivatedEventArgs_Impl::PrelaunchActivated(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1602,7 +1602,7 @@ impl IPrint3DWorkflowActivatedEventArgs_Vtbl { let this = (*this).get_impl(); match IPrint3DWorkflowActivatedEventArgs_Impl::Workflow(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -1634,7 +1634,7 @@ impl IPrintTaskSettingsActivatedEventArgs_Vtbl { let this = (*this).get_impl(); match IPrintTaskSettingsActivatedEventArgs_Impl::Configuration(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -1663,7 +1663,7 @@ impl IProtocolActivatedEventArgs_Vtbl { let this = (*this).get_impl(); match IProtocolActivatedEventArgs_Impl::Uri(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -1693,7 +1693,7 @@ impl IProtocolActivatedEventArgsWithCallerPackageFamilyNameAndData_Vtbl { let this = (*this).get_impl(); match IProtocolActivatedEventArgsWithCallerPackageFamilyNameAndData_Impl::CallerPackageFamilyName(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -1705,7 +1705,7 @@ impl IProtocolActivatedEventArgsWithCallerPackageFamilyNameAndData_Vtbl { let this = (*this).get_impl(); match IProtocolActivatedEventArgsWithCallerPackageFamilyNameAndData_Impl::Data(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -1738,7 +1738,7 @@ impl IProtocolForResultsActivatedEventArgs_Vtbl { let this = (*this).get_impl(); match IProtocolForResultsActivatedEventArgs_Impl::ProtocolForResultsOperation(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -1767,7 +1767,7 @@ impl IRestrictedLaunchActivatedEventArgs_Vtbl { let this = (*this).get_impl(); match IRestrictedLaunchActivatedEventArgs_Impl::SharedContext(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -1797,7 +1797,7 @@ impl ISearchActivatedEventArgs_Vtbl { let this = (*this).get_impl(); match ISearchActivatedEventArgs_Impl::QueryText(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -1809,7 +1809,7 @@ impl ISearchActivatedEventArgs_Vtbl { let this = (*this).get_impl(); match ISearchActivatedEventArgs_Impl::Language(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -1842,7 +1842,7 @@ impl ISearchActivatedEventArgsWithLinguisticDetails_Vtbl { let this = (*this).get_impl(); match ISearchActivatedEventArgsWithLinguisticDetails_Impl::LinguisticDetails(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -1874,7 +1874,7 @@ impl IShareTargetActivatedEventArgs_Vtbl { let this = (*this).get_impl(); match IShareTargetActivatedEventArgs_Impl::ShareOperation(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -1903,7 +1903,7 @@ impl IStartupTaskActivatedEventArgs_Vtbl { let this = (*this).get_impl(); match IStartupTaskActivatedEventArgs_Impl::TaskId(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -1933,7 +1933,7 @@ impl IToastNotificationActivatedEventArgs_Vtbl { let this = (*this).get_impl(); match IToastNotificationActivatedEventArgs_Impl::Argument(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -1945,7 +1945,7 @@ impl IToastNotificationActivatedEventArgs_Vtbl { let this = (*this).get_impl(); match IToastNotificationActivatedEventArgs_Impl::UserInput(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -1978,7 +1978,7 @@ impl IUserDataAccountProviderActivatedEventArgs_Vtbl { let this = (*this).get_impl(); match IUserDataAccountProviderActivatedEventArgs_Impl::Operation(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -2010,7 +2010,7 @@ impl IViewSwitcherProvider_Vtbl { let this = (*this).get_impl(); match IViewSwitcherProvider_Impl::ViewSwitcher(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -2039,7 +2039,7 @@ impl IVoiceCommandActivatedEventArgs_Vtbl { let this = (*this).get_impl(); match IVoiceCommandActivatedEventArgs_Impl::Result(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -2070,7 +2070,7 @@ impl IWalletActionActivatedEventArgs_Vtbl { let this = (*this).get_impl(); match IWalletActionActivatedEventArgs_Impl::ItemId(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -2082,7 +2082,7 @@ impl IWalletActionActivatedEventArgs_Vtbl { let this = (*this).get_impl(); match IWalletActionActivatedEventArgs_Impl::ActionKind(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2093,7 +2093,7 @@ impl IWalletActionActivatedEventArgs_Vtbl { let this = (*this).get_impl(); match IWalletActionActivatedEventArgs_Impl::ActionId(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -2127,7 +2127,7 @@ impl IWebAccountProviderActivatedEventArgs_Vtbl { let this = (*this).get_impl(); match IWebAccountProviderActivatedEventArgs_Impl::Operation(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -2159,7 +2159,7 @@ impl IWebAuthenticationBrokerContinuationEventArgs_Vtbl { let this = (*this).get_impl(); match IWebAuthenticationBrokerContinuationEventArgs_Impl::WebAuthenticationResult(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Appointments/impl.rs b/crates/libs/windows/src/Windows/ApplicationModel/Appointments/impl.rs index cb84d7192c..ef5b9ae3d9 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Appointments/impl.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Appointments/impl.rs @@ -14,7 +14,7 @@ impl IAppointmentParticipant_Vtbl { let this = (*this).get_impl(); match IAppointmentParticipant_Impl::DisplayName(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -31,7 +31,7 @@ impl IAppointmentParticipant_Vtbl { let this = (*this).get_impl(); match IAppointmentParticipant_Impl::Address(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Background/impl.rs b/crates/libs/windows/src/Windows/ApplicationModel/Background/impl.rs index 314d2fa9fc..d8f5319ae9 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Background/impl.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Background/impl.rs @@ -50,7 +50,7 @@ impl IBackgroundTaskInstance_Vtbl { let this = (*this).get_impl(); match IBackgroundTaskInstance_Impl::InstanceId(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -61,7 +61,7 @@ impl IBackgroundTaskInstance_Vtbl { let this = (*this).get_impl(); match IBackgroundTaskInstance_Impl::Task(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -73,7 +73,7 @@ impl IBackgroundTaskInstance_Vtbl { let this = (*this).get_impl(); match IBackgroundTaskInstance_Impl::Progress(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -89,7 +89,7 @@ impl IBackgroundTaskInstance_Vtbl { let this = (*this).get_impl(); match IBackgroundTaskInstance_Impl::TriggerDetails(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -101,7 +101,7 @@ impl IBackgroundTaskInstance_Vtbl { let this = (*this).get_impl(); match IBackgroundTaskInstance_Impl::Canceled(this, windows_core::from_raw_borrowed(&cancelhandler)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -117,7 +117,7 @@ impl IBackgroundTaskInstance_Vtbl { let this = (*this).get_impl(); match IBackgroundTaskInstance_Impl::SuspendedCount(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -128,7 +128,7 @@ impl IBackgroundTaskInstance_Vtbl { let this = (*this).get_impl(); match IBackgroundTaskInstance_Impl::GetDeferral(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -165,7 +165,7 @@ impl IBackgroundTaskInstance2_Vtbl { let this = (*this).get_impl(); match IBackgroundTaskInstance2_Impl::GetThrottleCount(this, counter) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -196,7 +196,7 @@ impl IBackgroundTaskInstance4_Vtbl { let this = (*this).get_impl(); match IBackgroundTaskInstance4_Impl::User(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -228,7 +228,7 @@ impl IBackgroundTaskRegistration_Vtbl { let this = (*this).get_impl(); match IBackgroundTaskRegistration_Impl::TaskId(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -239,7 +239,7 @@ impl IBackgroundTaskRegistration_Vtbl { let this = (*this).get_impl(); match IBackgroundTaskRegistration_Impl::Name(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -251,7 +251,7 @@ impl IBackgroundTaskRegistration_Vtbl { let this = (*this).get_impl(); match IBackgroundTaskRegistration_Impl::Progress(this, windows_core::from_raw_borrowed(&handler)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -267,7 +267,7 @@ impl IBackgroundTaskRegistration_Vtbl { let this = (*this).get_impl(); match IBackgroundTaskRegistration_Impl::Completed(this, windows_core::from_raw_borrowed(&handler)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -311,7 +311,7 @@ impl IBackgroundTaskRegistration2_Vtbl { let this = (*this).get_impl(); match IBackgroundTaskRegistration2_Impl::Trigger(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -337,7 +337,7 @@ impl IBackgroundTaskRegistration3_Vtbl { let this = (*this).get_impl(); match IBackgroundTaskRegistration3_Impl::TaskGroup(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Chat/impl.rs b/crates/libs/windows/src/Windows/ApplicationModel/Chat/impl.rs index 7dd2829881..911385163a 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Chat/impl.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Chat/impl.rs @@ -11,7 +11,7 @@ impl IChatItem_Vtbl { let this = (*this).get_impl(); match IChatItem_Impl::ItemKind(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Contacts/impl.rs b/crates/libs/windows/src/Windows/ApplicationModel/Contacts/impl.rs index ff7c6b689c..c781941c82 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Contacts/impl.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Contacts/impl.rs @@ -14,7 +14,7 @@ impl IContactField_Vtbl { let this = (*this).get_impl(); match IContactField_Impl::Type(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -25,7 +25,7 @@ impl IContactField_Vtbl { let this = (*this).get_impl(); match IContactField_Impl::Category(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -36,7 +36,7 @@ impl IContactField_Vtbl { let this = (*this).get_impl(); match IContactField_Impl::Name(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -48,7 +48,7 @@ impl IContactField_Vtbl { let this = (*this).get_impl(); match IContactField_Impl::Value(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -82,7 +82,7 @@ impl IContactFieldFactory_Vtbl { let this = (*this).get_impl(); match IContactFieldFactory_Impl::CreateField_Default(this, core::mem::transmute(&value), r#type) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -94,7 +94,7 @@ impl IContactFieldFactory_Vtbl { let this = (*this).get_impl(); match IContactFieldFactory_Impl::CreateField_Category(this, core::mem::transmute(&value), r#type, category) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -106,7 +106,7 @@ impl IContactFieldFactory_Vtbl { let this = (*this).get_impl(); match IContactFieldFactory_Impl::CreateField_Custom(this, core::mem::transmute(&name), core::mem::transmute(&value), r#type, category) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -139,7 +139,7 @@ impl IContactInstantMessageFieldFactory_Vtbl { let this = (*this).get_impl(); match IContactInstantMessageFieldFactory_Impl::CreateInstantMessage_Default(this, core::mem::transmute(&username)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -151,7 +151,7 @@ impl IContactInstantMessageFieldFactory_Vtbl { let this = (*this).get_impl(); match IContactInstantMessageFieldFactory_Impl::CreateInstantMessage_Category(this, core::mem::transmute(&username), category) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -163,7 +163,7 @@ impl IContactInstantMessageFieldFactory_Vtbl { let this = (*this).get_impl(); match IContactInstantMessageFieldFactory_Impl::CreateInstantMessage_All(this, core::mem::transmute(&username), category, core::mem::transmute(&service), core::mem::transmute(&displaytext), windows_core::from_raw_borrowed(&verb)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -196,7 +196,7 @@ impl IContactLocationFieldFactory_Vtbl { let this = (*this).get_impl(); match IContactLocationFieldFactory_Impl::CreateLocation_Default(this, core::mem::transmute(&unstructuredaddress)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -208,7 +208,7 @@ impl IContactLocationFieldFactory_Vtbl { let this = (*this).get_impl(); match IContactLocationFieldFactory_Impl::CreateLocation_Category(this, core::mem::transmute(&unstructuredaddress), category) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -220,7 +220,7 @@ impl IContactLocationFieldFactory_Vtbl { let this = (*this).get_impl(); match IContactLocationFieldFactory_Impl::CreateLocation_All(this, core::mem::transmute(&unstructuredaddress), category, core::mem::transmute(&street), core::mem::transmute(&city), core::mem::transmute(®ion), core::mem::transmute(&country), core::mem::transmute(&postalcode)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Core/impl.rs b/crates/libs/windows/src/Windows/ApplicationModel/Core/impl.rs index 298b60652c..0c477ff896 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Core/impl.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Core/impl.rs @@ -12,7 +12,7 @@ impl ICoreApplicationUnhandledError_Vtbl { let this = (*this).get_impl(); match ICoreApplicationUnhandledError_Impl::UnhandledErrorDetected(this, windows_core::from_raw_borrowed(&handler)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -99,7 +99,7 @@ impl IFrameworkViewSource_Vtbl { let this = (*this).get_impl(); match IFrameworkViewSource_Impl::CreateView(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/DataTransfer/DragDrop/Core/impl.rs b/crates/libs/windows/src/Windows/ApplicationModel/DataTransfer/DragDrop/Core/impl.rs index 4f27d5368c..7f44db76ae 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/DataTransfer/DragDrop/Core/impl.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/DataTransfer/DragDrop/Core/impl.rs @@ -14,7 +14,7 @@ impl ICoreDropOperationTarget_Vtbl { let this = (*this).get_impl(); match ICoreDropOperationTarget_Impl::EnterAsync(this, windows_core::from_raw_borrowed(&draginfo), windows_core::from_raw_borrowed(&draguioverride)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -26,7 +26,7 @@ impl ICoreDropOperationTarget_Vtbl { let this = (*this).get_impl(); match ICoreDropOperationTarget_Impl::OverAsync(this, windows_core::from_raw_borrowed(&draginfo), windows_core::from_raw_borrowed(&draguioverride)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -38,7 +38,7 @@ impl ICoreDropOperationTarget_Vtbl { let this = (*this).get_impl(); match ICoreDropOperationTarget_Impl::LeaveAsync(this, windows_core::from_raw_borrowed(&draginfo)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -50,7 +50,7 @@ impl ICoreDropOperationTarget_Vtbl { let this = (*this).get_impl(); match ICoreDropOperationTarget_Impl::DropAsync(this, windows_core::from_raw_borrowed(&draginfo)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Search/impl.rs b/crates/libs/windows/src/Windows/ApplicationModel/Search/impl.rs index b93fcdc85a..a2341afad2 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Search/impl.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Search/impl.rs @@ -16,7 +16,7 @@ impl ISearchPaneQueryChangedEventArgs_Vtbl { let this = (*this).get_impl(); match ISearchPaneQueryChangedEventArgs_Impl::QueryText(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -28,7 +28,7 @@ impl ISearchPaneQueryChangedEventArgs_Vtbl { let this = (*this).get_impl(); match ISearchPaneQueryChangedEventArgs_Impl::Language(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -40,7 +40,7 @@ impl ISearchPaneQueryChangedEventArgs_Vtbl { let this = (*this).get_impl(); match ISearchPaneQueryChangedEventArgs_Impl::LinguisticDetails(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/UserActivities/impl.rs b/crates/libs/windows/src/Windows/ApplicationModel/UserActivities/impl.rs index ceeb465b50..c538907e9c 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/UserActivities/impl.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/UserActivities/impl.rs @@ -11,7 +11,7 @@ impl IUserActivityContentInfo_Vtbl { let this = (*this).get_impl(); match IUserActivityContentInfo_Impl::ToJson(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/UserDataAccounts/Provider/impl.rs b/crates/libs/windows/src/Windows/ApplicationModel/UserDataAccounts/Provider/impl.rs index 4a3fa9d013..630c9e2b1b 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/UserDataAccounts/Provider/impl.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/UserDataAccounts/Provider/impl.rs @@ -11,7 +11,7 @@ impl IUserDataAccountProviderOperation_Vtbl { let this = (*this).get_impl(); match IUserDataAccountProviderOperation_Impl::Kind(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/ApplicationModel/impl.rs b/crates/libs/windows/src/Windows/ApplicationModel/impl.rs index e5b5cbc590..f5156b73e7 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/impl.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/impl.rs @@ -11,7 +11,7 @@ impl IEnteredBackgroundEventArgs_Vtbl { let this = (*this).get_impl(); match IEnteredBackgroundEventArgs_Impl::GetDeferral(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -40,7 +40,7 @@ impl ILeavingBackgroundEventArgs_Vtbl { let this = (*this).get_impl(); match ILeavingBackgroundEventArgs_Impl::GetDeferral(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -69,7 +69,7 @@ impl IPackageCatalogStatics2_Vtbl { let this = (*this).get_impl(); match IPackageCatalogStatics2_Impl::OpenForPackage(this, windows_core::from_raw_borrowed(&package)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -117,7 +117,7 @@ impl ISuspendingEventArgs_Vtbl { let this = (*this).get_impl(); match ISuspendingEventArgs_Impl::SuspendingOperation(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -147,7 +147,7 @@ impl ISuspendingOperation_Vtbl { let this = (*this).get_impl(); match ISuspendingOperation_Impl::GetDeferral(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -159,7 +159,7 @@ impl ISuspendingOperation_Vtbl { let this = (*this).get_impl(); match ISuspendingOperation_Impl::Deadline(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/Data/Json/impl.rs b/crates/libs/windows/src/Windows/Data/Json/impl.rs index 94df801cb5..a2e7164791 100644 --- a/crates/libs/windows/src/Windows/Data/Json/impl.rs +++ b/crates/libs/windows/src/Windows/Data/Json/impl.rs @@ -17,7 +17,7 @@ impl IJsonValue_Vtbl { let this = (*this).get_impl(); match IJsonValue_Impl::ValueType(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -28,7 +28,7 @@ impl IJsonValue_Vtbl { let this = (*this).get_impl(); match IJsonValue_Impl::Stringify(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -40,7 +40,7 @@ impl IJsonValue_Vtbl { let this = (*this).get_impl(); match IJsonValue_Impl::GetString(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -52,7 +52,7 @@ impl IJsonValue_Vtbl { let this = (*this).get_impl(); match IJsonValue_Impl::GetNumber(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -63,7 +63,7 @@ impl IJsonValue_Vtbl { let this = (*this).get_impl(); match IJsonValue_Impl::GetBoolean(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -74,7 +74,7 @@ impl IJsonValue_Vtbl { let this = (*this).get_impl(); match IJsonValue_Impl::GetArray(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -86,7 +86,7 @@ impl IJsonValue_Vtbl { let this = (*this).get_impl(); match IJsonValue_Impl::GetObject(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } diff --git a/crates/libs/windows/src/Windows/Data/Xml/Dom/impl.rs b/crates/libs/windows/src/Windows/Data/Xml/Dom/impl.rs index 8df7cd1574..359d70d5ab 100644 --- a/crates/libs/windows/src/Windows/Data/Xml/Dom/impl.rs +++ b/crates/libs/windows/src/Windows/Data/Xml/Dom/impl.rs @@ -18,7 +18,7 @@ impl IXmlCharacterData_Vtbl { let this = (*this).get_impl(); match IXmlCharacterData_Impl::Data(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -35,7 +35,7 @@ impl IXmlCharacterData_Vtbl { let this = (*this).get_impl(); match IXmlCharacterData_Impl::Length(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -46,7 +46,7 @@ impl IXmlCharacterData_Vtbl { let this = (*this).get_impl(); match IXmlCharacterData_Impl::SubstringData(this, offset, count) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -124,7 +124,7 @@ impl IXmlNode_Vtbl { let this = (*this).get_impl(); match IXmlNode_Impl::NodeValue(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -141,7 +141,7 @@ impl IXmlNode_Vtbl { let this = (*this).get_impl(); match IXmlNode_Impl::NodeType(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -152,7 +152,7 @@ impl IXmlNode_Vtbl { let this = (*this).get_impl(); match IXmlNode_Impl::NodeName(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -164,7 +164,7 @@ impl IXmlNode_Vtbl { let this = (*this).get_impl(); match IXmlNode_Impl::ParentNode(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -176,7 +176,7 @@ impl IXmlNode_Vtbl { let this = (*this).get_impl(); match IXmlNode_Impl::ChildNodes(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -188,7 +188,7 @@ impl IXmlNode_Vtbl { let this = (*this).get_impl(); match IXmlNode_Impl::FirstChild(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -200,7 +200,7 @@ impl IXmlNode_Vtbl { let this = (*this).get_impl(); match IXmlNode_Impl::LastChild(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -212,7 +212,7 @@ impl IXmlNode_Vtbl { let this = (*this).get_impl(); match IXmlNode_Impl::PreviousSibling(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -224,7 +224,7 @@ impl IXmlNode_Vtbl { let this = (*this).get_impl(); match IXmlNode_Impl::NextSibling(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -236,7 +236,7 @@ impl IXmlNode_Vtbl { let this = (*this).get_impl(); match IXmlNode_Impl::Attributes(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -248,7 +248,7 @@ impl IXmlNode_Vtbl { let this = (*this).get_impl(); match IXmlNode_Impl::HasChildNodes(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -259,7 +259,7 @@ impl IXmlNode_Vtbl { let this = (*this).get_impl(); match IXmlNode_Impl::OwnerDocument(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -271,7 +271,7 @@ impl IXmlNode_Vtbl { let this = (*this).get_impl(); match IXmlNode_Impl::InsertBefore(this, windows_core::from_raw_borrowed(&newchild), windows_core::from_raw_borrowed(&referencechild)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -283,7 +283,7 @@ impl IXmlNode_Vtbl { let this = (*this).get_impl(); match IXmlNode_Impl::ReplaceChild(this, windows_core::from_raw_borrowed(&newchild), windows_core::from_raw_borrowed(&referencechild)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -295,7 +295,7 @@ impl IXmlNode_Vtbl { let this = (*this).get_impl(); match IXmlNode_Impl::RemoveChild(this, windows_core::from_raw_borrowed(&childnode)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -307,7 +307,7 @@ impl IXmlNode_Vtbl { let this = (*this).get_impl(); match IXmlNode_Impl::AppendChild(this, windows_core::from_raw_borrowed(&newchild)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -319,7 +319,7 @@ impl IXmlNode_Vtbl { let this = (*this).get_impl(); match IXmlNode_Impl::CloneNode(this, deep) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -331,7 +331,7 @@ impl IXmlNode_Vtbl { let this = (*this).get_impl(); match IXmlNode_Impl::NamespaceUri(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -343,7 +343,7 @@ impl IXmlNode_Vtbl { let this = (*this).get_impl(); match IXmlNode_Impl::LocalName(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -355,7 +355,7 @@ impl IXmlNode_Vtbl { let this = (*this).get_impl(); match IXmlNode_Impl::Prefix(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -419,7 +419,7 @@ impl IXmlNodeSelector_Vtbl { let this = (*this).get_impl(); match IXmlNodeSelector_Impl::SelectSingleNode(this, core::mem::transmute(&xpath)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -431,7 +431,7 @@ impl IXmlNodeSelector_Vtbl { let this = (*this).get_impl(); match IXmlNodeSelector_Impl::SelectNodes(this, core::mem::transmute(&xpath)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -443,7 +443,7 @@ impl IXmlNodeSelector_Vtbl { let this = (*this).get_impl(); match IXmlNodeSelector_Impl::SelectSingleNodeNS(this, core::mem::transmute(&xpath), windows_core::from_raw_borrowed(&namespaces)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -455,7 +455,7 @@ impl IXmlNodeSelector_Vtbl { let this = (*this).get_impl(); match IXmlNodeSelector_Impl::SelectNodesNS(this, core::mem::transmute(&xpath), windows_core::from_raw_borrowed(&namespaces)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -489,7 +489,7 @@ impl IXmlNodeSerializer_Vtbl { let this = (*this).get_impl(); match IXmlNodeSerializer_Impl::GetXml(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -501,7 +501,7 @@ impl IXmlNodeSerializer_Vtbl { let this = (*this).get_impl(); match IXmlNodeSerializer_Impl::InnerText(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -537,7 +537,7 @@ impl IXmlText_Vtbl { let this = (*this).get_impl(); match IXmlText_Impl::SplitText(this, offset) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } diff --git a/crates/libs/windows/src/Windows/Devices/Adc/Provider/impl.rs b/crates/libs/windows/src/Windows/Devices/Adc/Provider/impl.rs index 6c76b6ec76..b50052b06b 100644 --- a/crates/libs/windows/src/Windows/Devices/Adc/Provider/impl.rs +++ b/crates/libs/windows/src/Windows/Devices/Adc/Provider/impl.rs @@ -20,7 +20,7 @@ impl IAdcControllerProvider_Vtbl { let this = (*this).get_impl(); match IAdcControllerProvider_Impl::ChannelCount(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -31,7 +31,7 @@ impl IAdcControllerProvider_Vtbl { let this = (*this).get_impl(); match IAdcControllerProvider_Impl::ResolutionInBits(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -42,7 +42,7 @@ impl IAdcControllerProvider_Vtbl { let this = (*this).get_impl(); match IAdcControllerProvider_Impl::MinValue(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -53,7 +53,7 @@ impl IAdcControllerProvider_Vtbl { let this = (*this).get_impl(); match IAdcControllerProvider_Impl::MaxValue(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -64,7 +64,7 @@ impl IAdcControllerProvider_Vtbl { let this = (*this).get_impl(); match IAdcControllerProvider_Impl::ChannelMode(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -80,7 +80,7 @@ impl IAdcControllerProvider_Vtbl { let this = (*this).get_impl(); match IAdcControllerProvider_Impl::IsChannelModeSupported(this, channelmode) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -101,7 +101,7 @@ impl IAdcControllerProvider_Vtbl { let this = (*this).get_impl(); match IAdcControllerProvider_Impl::ReadValue(this, channelnumber) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -141,7 +141,7 @@ impl IAdcProvider_Vtbl { let this = (*this).get_impl(); match IAdcProvider_Impl::GetControllers(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } diff --git a/crates/libs/windows/src/Windows/Devices/Custom/impl.rs b/crates/libs/windows/src/Windows/Devices/Custom/impl.rs index 50dd848d7f..bc8489cc61 100644 --- a/crates/libs/windows/src/Windows/Devices/Custom/impl.rs +++ b/crates/libs/windows/src/Windows/Devices/Custom/impl.rs @@ -15,7 +15,7 @@ impl IIOControlCode_Vtbl { let this = (*this).get_impl(); match IIOControlCode_Impl::AccessMode(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -26,7 +26,7 @@ impl IIOControlCode_Vtbl { let this = (*this).get_impl(); match IIOControlCode_Impl::BufferingMethod(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -37,7 +37,7 @@ impl IIOControlCode_Vtbl { let this = (*this).get_impl(); match IIOControlCode_Impl::Function(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -48,7 +48,7 @@ impl IIOControlCode_Vtbl { let this = (*this).get_impl(); match IIOControlCode_Impl::DeviceType(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -59,7 +59,7 @@ impl IIOControlCode_Vtbl { let this = (*this).get_impl(); match IIOControlCode_Impl::ControlCode(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/Devices/Geolocation/impl.rs b/crates/libs/windows/src/Windows/Devices/Geolocation/impl.rs index 86191c58c4..9a8fe63a25 100644 --- a/crates/libs/windows/src/Windows/Devices/Geolocation/impl.rs +++ b/crates/libs/windows/src/Windows/Devices/Geolocation/impl.rs @@ -13,7 +13,7 @@ impl IGeoshape_Vtbl { let this = (*this).get_impl(); match IGeoshape_Impl::GeoshapeType(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -24,7 +24,7 @@ impl IGeoshape_Vtbl { let this = (*this).get_impl(); match IGeoshape_Impl::SpatialReferenceId(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -35,7 +35,7 @@ impl IGeoshape_Vtbl { let this = (*this).get_impl(); match IGeoshape_Impl::AltitudeReferenceSystem(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/Devices/Gpio/Provider/impl.rs b/crates/libs/windows/src/Windows/Devices/Gpio/Provider/impl.rs index d3a48953e2..1bf4d51122 100644 --- a/crates/libs/windows/src/Windows/Devices/Gpio/Provider/impl.rs +++ b/crates/libs/windows/src/Windows/Devices/Gpio/Provider/impl.rs @@ -12,7 +12,7 @@ impl IGpioControllerProvider_Vtbl { let this = (*this).get_impl(); match IGpioControllerProvider_Impl::PinCount(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -23,7 +23,7 @@ impl IGpioControllerProvider_Vtbl { let this = (*this).get_impl(); match IGpioControllerProvider_Impl::OpenPinProvider(this, pin, sharingmode) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -63,7 +63,7 @@ impl IGpioPinProvider_Vtbl { let this = (*this).get_impl(); match IGpioPinProvider_Impl::ValueChanged(this, windows_core::from_raw_borrowed(&handler)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -79,7 +79,7 @@ impl IGpioPinProvider_Vtbl { let this = (*this).get_impl(); match IGpioPinProvider_Impl::DebounceTimeout(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -95,7 +95,7 @@ impl IGpioPinProvider_Vtbl { let this = (*this).get_impl(); match IGpioPinProvider_Impl::PinNumber(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -106,7 +106,7 @@ impl IGpioPinProvider_Vtbl { let this = (*this).get_impl(); match IGpioPinProvider_Impl::SharingMode(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -117,7 +117,7 @@ impl IGpioPinProvider_Vtbl { let this = (*this).get_impl(); match IGpioPinProvider_Impl::IsDriveModeSupported(this, drivemode) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -128,7 +128,7 @@ impl IGpioPinProvider_Vtbl { let this = (*this).get_impl(); match IGpioPinProvider_Impl::GetDriveMode(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -149,7 +149,7 @@ impl IGpioPinProvider_Vtbl { let this = (*this).get_impl(); match IGpioPinProvider_Impl::Read(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -190,7 +190,7 @@ impl IGpioProvider_Vtbl { let this = (*this).get_impl(); match IGpioProvider_Impl::GetControllers(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } diff --git a/crates/libs/windows/src/Windows/Devices/I2c/Provider/impl.rs b/crates/libs/windows/src/Windows/Devices/I2c/Provider/impl.rs index b02a9f11b4..4b9d76d658 100644 --- a/crates/libs/windows/src/Windows/Devices/I2c/Provider/impl.rs +++ b/crates/libs/windows/src/Windows/Devices/I2c/Provider/impl.rs @@ -11,7 +11,7 @@ impl II2cControllerProvider_Vtbl { let this = (*this).get_impl(); match II2cControllerProvider_Impl::GetDeviceProvider(this, windows_core::from_raw_borrowed(&settings)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -46,7 +46,7 @@ impl II2cDeviceProvider_Vtbl { let this = (*this).get_impl(); match II2cDeviceProvider_Impl::DeviceId(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -63,7 +63,7 @@ impl II2cDeviceProvider_Vtbl { let this = (*this).get_impl(); match II2cDeviceProvider_Impl::WritePartial(this, core::slice::from_raw_parts(core::mem::transmute_copy(&buffer), buffer_array_size as usize)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -79,7 +79,7 @@ impl II2cDeviceProvider_Vtbl { let this = (*this).get_impl(); match II2cDeviceProvider_Impl::ReadPartial(this, core::slice::from_raw_parts_mut(core::mem::transmute_copy(&buffer), buffer_array_size as usize)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -95,7 +95,7 @@ impl II2cDeviceProvider_Vtbl { let this = (*this).get_impl(); match II2cDeviceProvider_Impl::WriteReadPartial(this, core::slice::from_raw_parts(core::mem::transmute_copy(&writebuffer), writeBuffer_array_size as usize), core::slice::from_raw_parts_mut(core::mem::transmute_copy(&readbuffer), readBuffer_array_size as usize)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -132,7 +132,7 @@ impl II2cProvider_Vtbl { let this = (*this).get_impl(); match II2cProvider_Impl::GetControllersAsync(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } diff --git a/crates/libs/windows/src/Windows/Devices/I2c/impl.rs b/crates/libs/windows/src/Windows/Devices/I2c/impl.rs index da5f26ff64..c6e2adabeb 100644 --- a/crates/libs/windows/src/Windows/Devices/I2c/impl.rs +++ b/crates/libs/windows/src/Windows/Devices/I2c/impl.rs @@ -13,7 +13,7 @@ impl II2cDeviceStatics_Vtbl { let this = (*this).get_impl(); match II2cDeviceStatics_Impl::GetDeviceSelector(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -25,7 +25,7 @@ impl II2cDeviceStatics_Vtbl { let this = (*this).get_impl(); match II2cDeviceStatics_Impl::GetDeviceSelectorFromFriendlyName(this, core::mem::transmute(&friendlyname)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -37,7 +37,7 @@ impl II2cDeviceStatics_Vtbl { let this = (*this).get_impl(); match II2cDeviceStatics_Impl::FromIdAsync(this, core::mem::transmute(&deviceid), windows_core::from_raw_borrowed(&settings)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } diff --git a/crates/libs/windows/src/Windows/Devices/Lights/Effects/impl.rs b/crates/libs/windows/src/Windows/Devices/Lights/Effects/impl.rs index 4b64394e0b..3505f64da1 100644 --- a/crates/libs/windows/src/Windows/Devices/Lights/Effects/impl.rs +++ b/crates/libs/windows/src/Windows/Devices/Lights/Effects/impl.rs @@ -12,7 +12,7 @@ impl ILampArrayEffect_Vtbl { let this = (*this).get_impl(); match ILampArrayEffect_Impl::ZIndex(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/Devices/Midi/impl.rs b/crates/libs/windows/src/Windows/Devices/Midi/impl.rs index 8d2f81e224..e111962110 100644 --- a/crates/libs/windows/src/Windows/Devices/Midi/impl.rs +++ b/crates/libs/windows/src/Windows/Devices/Midi/impl.rs @@ -16,7 +16,7 @@ impl IMidiMessage_Vtbl { let this = (*this).get_impl(); match IMidiMessage_Impl::Timestamp(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -27,7 +27,7 @@ impl IMidiMessage_Vtbl { let this = (*this).get_impl(); match IMidiMessage_Impl::RawData(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -39,7 +39,7 @@ impl IMidiMessage_Vtbl { let this = (*this).get_impl(); match IMidiMessage_Impl::Type(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -84,7 +84,7 @@ impl IMidiOutPort_Vtbl { let this = (*this).get_impl(); match IMidiOutPort_Impl::DeviceId(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } diff --git a/crates/libs/windows/src/Windows/Devices/PointOfService/impl.rs b/crates/libs/windows/src/Windows/Devices/PointOfService/impl.rs index 93275d1d05..7e45633d3f 100644 --- a/crates/libs/windows/src/Windows/Devices/PointOfService/impl.rs +++ b/crates/libs/windows/src/Windows/Devices/PointOfService/impl.rs @@ -11,7 +11,7 @@ impl ICashDrawerEventSourceEventArgs_Vtbl { let this = (*this).get_impl(); match ICashDrawerEventSourceEventArgs_Impl::CashDrawer(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -63,7 +63,7 @@ impl ICommonClaimedPosPrinterStation_Vtbl { let this = (*this).get_impl(); match ICommonClaimedPosPrinterStation_Impl::CharactersPerLine(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -79,7 +79,7 @@ impl ICommonClaimedPosPrinterStation_Vtbl { let this = (*this).get_impl(); match ICommonClaimedPosPrinterStation_Impl::LineHeight(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -95,7 +95,7 @@ impl ICommonClaimedPosPrinterStation_Vtbl { let this = (*this).get_impl(); match ICommonClaimedPosPrinterStation_Impl::LineSpacing(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -106,7 +106,7 @@ impl ICommonClaimedPosPrinterStation_Vtbl { let this = (*this).get_impl(); match ICommonClaimedPosPrinterStation_Impl::LineWidth(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -122,7 +122,7 @@ impl ICommonClaimedPosPrinterStation_Vtbl { let this = (*this).get_impl(); match ICommonClaimedPosPrinterStation_Impl::IsLetterQuality(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -133,7 +133,7 @@ impl ICommonClaimedPosPrinterStation_Vtbl { let this = (*this).get_impl(); match ICommonClaimedPosPrinterStation_Impl::IsPaperNearEnd(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -149,7 +149,7 @@ impl ICommonClaimedPosPrinterStation_Vtbl { let this = (*this).get_impl(); match ICommonClaimedPosPrinterStation_Impl::ColorCartridge(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -160,7 +160,7 @@ impl ICommonClaimedPosPrinterStation_Vtbl { let this = (*this).get_impl(); match ICommonClaimedPosPrinterStation_Impl::IsCoverOpen(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -171,7 +171,7 @@ impl ICommonClaimedPosPrinterStation_Vtbl { let this = (*this).get_impl(); match ICommonClaimedPosPrinterStation_Impl::IsCartridgeRemoved(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -182,7 +182,7 @@ impl ICommonClaimedPosPrinterStation_Vtbl { let this = (*this).get_impl(); match ICommonClaimedPosPrinterStation_Impl::IsCartridgeEmpty(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -193,7 +193,7 @@ impl ICommonClaimedPosPrinterStation_Vtbl { let this = (*this).get_impl(); match ICommonClaimedPosPrinterStation_Impl::IsHeadCleaning(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -204,7 +204,7 @@ impl ICommonClaimedPosPrinterStation_Vtbl { let this = (*this).get_impl(); match ICommonClaimedPosPrinterStation_Impl::IsPaperEmpty(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -215,7 +215,7 @@ impl ICommonClaimedPosPrinterStation_Vtbl { let this = (*this).get_impl(); match ICommonClaimedPosPrinterStation_Impl::IsReadyToPrint(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -226,7 +226,7 @@ impl ICommonClaimedPosPrinterStation_Vtbl { let this = (*this).get_impl(); match ICommonClaimedPosPrinterStation_Impl::ValidateData(this, core::mem::transmute(&data)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -287,7 +287,7 @@ impl ICommonPosPrintStationCapabilities_Vtbl { let this = (*this).get_impl(); match ICommonPosPrintStationCapabilities_Impl::IsPrinterPresent(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -298,7 +298,7 @@ impl ICommonPosPrintStationCapabilities_Vtbl { let this = (*this).get_impl(); match ICommonPosPrintStationCapabilities_Impl::IsDualColorSupported(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -309,7 +309,7 @@ impl ICommonPosPrintStationCapabilities_Vtbl { let this = (*this).get_impl(); match ICommonPosPrintStationCapabilities_Impl::ColorCartridgeCapabilities(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -320,7 +320,7 @@ impl ICommonPosPrintStationCapabilities_Vtbl { let this = (*this).get_impl(); match ICommonPosPrintStationCapabilities_Impl::CartridgeSensors(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -331,7 +331,7 @@ impl ICommonPosPrintStationCapabilities_Vtbl { let this = (*this).get_impl(); match ICommonPosPrintStationCapabilities_Impl::IsBoldSupported(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -342,7 +342,7 @@ impl ICommonPosPrintStationCapabilities_Vtbl { let this = (*this).get_impl(); match ICommonPosPrintStationCapabilities_Impl::IsItalicSupported(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -353,7 +353,7 @@ impl ICommonPosPrintStationCapabilities_Vtbl { let this = (*this).get_impl(); match ICommonPosPrintStationCapabilities_Impl::IsUnderlineSupported(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -364,7 +364,7 @@ impl ICommonPosPrintStationCapabilities_Vtbl { let this = (*this).get_impl(); match ICommonPosPrintStationCapabilities_Impl::IsDoubleHighPrintSupported(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -375,7 +375,7 @@ impl ICommonPosPrintStationCapabilities_Vtbl { let this = (*this).get_impl(); match ICommonPosPrintStationCapabilities_Impl::IsDoubleWidePrintSupported(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -386,7 +386,7 @@ impl ICommonPosPrintStationCapabilities_Vtbl { let this = (*this).get_impl(); match ICommonPosPrintStationCapabilities_Impl::IsDoubleHighDoubleWidePrintSupported(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -397,7 +397,7 @@ impl ICommonPosPrintStationCapabilities_Vtbl { let this = (*this).get_impl(); match ICommonPosPrintStationCapabilities_Impl::IsPaperEmptySensorSupported(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -408,7 +408,7 @@ impl ICommonPosPrintStationCapabilities_Vtbl { let this = (*this).get_impl(); match ICommonPosPrintStationCapabilities_Impl::IsPaperNearEndSensorSupported(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -419,7 +419,7 @@ impl ICommonPosPrintStationCapabilities_Vtbl { let this = (*this).get_impl(); match ICommonPosPrintStationCapabilities_Impl::SupportedCharactersPerLine(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -471,7 +471,7 @@ impl ICommonReceiptSlipCapabilities_Vtbl { let this = (*this).get_impl(); match ICommonReceiptSlipCapabilities_Impl::IsBarcodeSupported(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -482,7 +482,7 @@ impl ICommonReceiptSlipCapabilities_Vtbl { let this = (*this).get_impl(); match ICommonReceiptSlipCapabilities_Impl::IsBitmapSupported(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -493,7 +493,7 @@ impl ICommonReceiptSlipCapabilities_Vtbl { let this = (*this).get_impl(); match ICommonReceiptSlipCapabilities_Impl::IsLeft90RotationSupported(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -504,7 +504,7 @@ impl ICommonReceiptSlipCapabilities_Vtbl { let this = (*this).get_impl(); match ICommonReceiptSlipCapabilities_Impl::IsRight90RotationSupported(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -515,7 +515,7 @@ impl ICommonReceiptSlipCapabilities_Vtbl { let this = (*this).get_impl(); match ICommonReceiptSlipCapabilities_Impl::Is180RotationSupported(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -526,7 +526,7 @@ impl ICommonReceiptSlipCapabilities_Vtbl { let this = (*this).get_impl(); match ICommonReceiptSlipCapabilities_Impl::IsPrintAreaSupported(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -537,7 +537,7 @@ impl ICommonReceiptSlipCapabilities_Vtbl { let this = (*this).get_impl(); match ICommonReceiptSlipCapabilities_Impl::RuledLineCapabilities(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -548,7 +548,7 @@ impl ICommonReceiptSlipCapabilities_Vtbl { let this = (*this).get_impl(); match ICommonReceiptSlipCapabilities_Impl::SupportedBarcodeRotations(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -560,7 +560,7 @@ impl ICommonReceiptSlipCapabilities_Vtbl { let this = (*this).get_impl(); match ICommonReceiptSlipCapabilities_Impl::SupportedBitmapRotations(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -615,7 +615,7 @@ impl IPosPrinterJob_Vtbl { let this = (*this).get_impl(); match IPosPrinterJob_Impl::ExecuteAsync(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } diff --git a/crates/libs/windows/src/Windows/Devices/Pwm/Provider/impl.rs b/crates/libs/windows/src/Windows/Devices/Pwm/Provider/impl.rs index c94a3a96c5..9c0178d84d 100644 --- a/crates/libs/windows/src/Windows/Devices/Pwm/Provider/impl.rs +++ b/crates/libs/windows/src/Windows/Devices/Pwm/Provider/impl.rs @@ -20,7 +20,7 @@ impl IPwmControllerProvider_Vtbl { let this = (*this).get_impl(); match IPwmControllerProvider_Impl::PinCount(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -31,7 +31,7 @@ impl IPwmControllerProvider_Vtbl { let this = (*this).get_impl(); match IPwmControllerProvider_Impl::ActualFrequency(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -42,7 +42,7 @@ impl IPwmControllerProvider_Vtbl { let this = (*this).get_impl(); match IPwmControllerProvider_Impl::SetDesiredFrequency(this, frequency) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -53,7 +53,7 @@ impl IPwmControllerProvider_Vtbl { let this = (*this).get_impl(); match IPwmControllerProvider_Impl::MaxFrequency(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -64,7 +64,7 @@ impl IPwmControllerProvider_Vtbl { let this = (*this).get_impl(); match IPwmControllerProvider_Impl::MinFrequency(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -129,7 +129,7 @@ impl IPwmProvider_Vtbl { let this = (*this).get_impl(); match IPwmProvider_Impl::GetControllers(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } diff --git a/crates/libs/windows/src/Windows/Devices/Scanners/impl.rs b/crates/libs/windows/src/Windows/Devices/Scanners/impl.rs index 31368d9c21..19dcbcf30e 100644 --- a/crates/libs/windows/src/Windows/Devices/Scanners/impl.rs +++ b/crates/libs/windows/src/Windows/Devices/Scanners/impl.rs @@ -14,7 +14,7 @@ impl IImageScannerFormatConfiguration_Vtbl { let this = (*this).get_impl(); match IImageScannerFormatConfiguration_Impl::DefaultFormat(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -25,7 +25,7 @@ impl IImageScannerFormatConfiguration_Vtbl { let this = (*this).get_impl(); match IImageScannerFormatConfiguration_Impl::Format(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -41,7 +41,7 @@ impl IImageScannerFormatConfiguration_Vtbl { let this = (*this).get_impl(); match IImageScannerFormatConfiguration_Impl::IsFormatSupported(this, value) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -100,7 +100,7 @@ impl IImageScannerSourceConfiguration_Vtbl { let this = (*this).get_impl(); match IImageScannerSourceConfiguration_Impl::MinScanArea(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -111,7 +111,7 @@ impl IImageScannerSourceConfiguration_Vtbl { let this = (*this).get_impl(); match IImageScannerSourceConfiguration_Impl::MaxScanArea(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -122,7 +122,7 @@ impl IImageScannerSourceConfiguration_Vtbl { let this = (*this).get_impl(); match IImageScannerSourceConfiguration_Impl::SelectedScanRegion(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -138,7 +138,7 @@ impl IImageScannerSourceConfiguration_Vtbl { let this = (*this).get_impl(); match IImageScannerSourceConfiguration_Impl::AutoCroppingMode(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -154,7 +154,7 @@ impl IImageScannerSourceConfiguration_Vtbl { let this = (*this).get_impl(); match IImageScannerSourceConfiguration_Impl::IsAutoCroppingModeSupported(this, value) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -165,7 +165,7 @@ impl IImageScannerSourceConfiguration_Vtbl { let this = (*this).get_impl(); match IImageScannerSourceConfiguration_Impl::MinResolution(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -176,7 +176,7 @@ impl IImageScannerSourceConfiguration_Vtbl { let this = (*this).get_impl(); match IImageScannerSourceConfiguration_Impl::MaxResolution(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -187,7 +187,7 @@ impl IImageScannerSourceConfiguration_Vtbl { let this = (*this).get_impl(); match IImageScannerSourceConfiguration_Impl::OpticalResolution(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -198,7 +198,7 @@ impl IImageScannerSourceConfiguration_Vtbl { let this = (*this).get_impl(); match IImageScannerSourceConfiguration_Impl::DesiredResolution(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -214,7 +214,7 @@ impl IImageScannerSourceConfiguration_Vtbl { let this = (*this).get_impl(); match IImageScannerSourceConfiguration_Impl::ActualResolution(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -225,7 +225,7 @@ impl IImageScannerSourceConfiguration_Vtbl { let this = (*this).get_impl(); match IImageScannerSourceConfiguration_Impl::DefaultColorMode(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -236,7 +236,7 @@ impl IImageScannerSourceConfiguration_Vtbl { let this = (*this).get_impl(); match IImageScannerSourceConfiguration_Impl::ColorMode(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -252,7 +252,7 @@ impl IImageScannerSourceConfiguration_Vtbl { let this = (*this).get_impl(); match IImageScannerSourceConfiguration_Impl::IsColorModeSupported(this, value) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -263,7 +263,7 @@ impl IImageScannerSourceConfiguration_Vtbl { let this = (*this).get_impl(); match IImageScannerSourceConfiguration_Impl::MinBrightness(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -274,7 +274,7 @@ impl IImageScannerSourceConfiguration_Vtbl { let this = (*this).get_impl(); match IImageScannerSourceConfiguration_Impl::MaxBrightness(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -285,7 +285,7 @@ impl IImageScannerSourceConfiguration_Vtbl { let this = (*this).get_impl(); match IImageScannerSourceConfiguration_Impl::BrightnessStep(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -296,7 +296,7 @@ impl IImageScannerSourceConfiguration_Vtbl { let this = (*this).get_impl(); match IImageScannerSourceConfiguration_Impl::DefaultBrightness(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -307,7 +307,7 @@ impl IImageScannerSourceConfiguration_Vtbl { let this = (*this).get_impl(); match IImageScannerSourceConfiguration_Impl::Brightness(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -323,7 +323,7 @@ impl IImageScannerSourceConfiguration_Vtbl { let this = (*this).get_impl(); match IImageScannerSourceConfiguration_Impl::MinContrast(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -334,7 +334,7 @@ impl IImageScannerSourceConfiguration_Vtbl { let this = (*this).get_impl(); match IImageScannerSourceConfiguration_Impl::MaxContrast(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -345,7 +345,7 @@ impl IImageScannerSourceConfiguration_Vtbl { let this = (*this).get_impl(); match IImageScannerSourceConfiguration_Impl::ContrastStep(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -356,7 +356,7 @@ impl IImageScannerSourceConfiguration_Vtbl { let this = (*this).get_impl(); match IImageScannerSourceConfiguration_Impl::DefaultContrast(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -367,7 +367,7 @@ impl IImageScannerSourceConfiguration_Vtbl { let this = (*this).get_impl(); match IImageScannerSourceConfiguration_Impl::Contrast(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/Devices/Sensors/impl.rs b/crates/libs/windows/src/Windows/Devices/Sensors/impl.rs index b05ab5e048..6ef6b98969 100644 --- a/crates/libs/windows/src/Windows/Devices/Sensors/impl.rs +++ b/crates/libs/windows/src/Windows/Devices/Sensors/impl.rs @@ -27,7 +27,7 @@ impl IHumanPresenceSensorExtension_Vtbl { let this = (*this).get_impl(); match IHumanPresenceSensorExtension_Impl::ProcessReading(this, windows_core::from_raw_borrowed(&reading)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } diff --git a/crates/libs/windows/src/Windows/Devices/Sms/impl.rs b/crates/libs/windows/src/Windows/Devices/Sms/impl.rs index 406f9516ec..aacefb8bdb 100644 --- a/crates/libs/windows/src/Windows/Devices/Sms/impl.rs +++ b/crates/libs/windows/src/Windows/Devices/Sms/impl.rs @@ -17,7 +17,7 @@ impl ISmsBinaryMessage_Vtbl { let this = (*this).get_impl(); match ISmsBinaryMessage_Impl::Format(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -34,8 +34,8 @@ impl ISmsBinaryMessage_Vtbl { match ISmsBinaryMessage_Impl::GetData(this) { Ok(ok__) => { let (ok_data__, ok_data_len__) = ok__.into_abi(); - core::ptr::write(result__, ok_data__); - core::ptr::write(result_size__, ok_data_len__); + result__.write(ok_data__); + result_size__.write(ok_data_len__); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -83,7 +83,7 @@ impl ISmsDevice_Vtbl { let this = (*this).get_impl(); match ISmsDevice_Impl::SendMessageAsync(this, windows_core::from_raw_borrowed(&message)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -95,7 +95,7 @@ impl ISmsDevice_Vtbl { let this = (*this).get_impl(); match ISmsDevice_Impl::CalculateLength(this, windows_core::from_raw_borrowed(&message)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -106,7 +106,7 @@ impl ISmsDevice_Vtbl { let this = (*this).get_impl(); match ISmsDevice_Impl::AccountPhoneNumber(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -118,7 +118,7 @@ impl ISmsDevice_Vtbl { let this = (*this).get_impl(); match ISmsDevice_Impl::CellularClass(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -129,7 +129,7 @@ impl ISmsDevice_Vtbl { let this = (*this).get_impl(); match ISmsDevice_Impl::MessageStore(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -141,7 +141,7 @@ impl ISmsDevice_Vtbl { let this = (*this).get_impl(); match ISmsDevice_Impl::DeviceStatus(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -152,7 +152,7 @@ impl ISmsDevice_Vtbl { let this = (*this).get_impl(); match ISmsDevice_Impl::SmsMessageReceived(this, windows_core::from_raw_borrowed(&eventhandler)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -168,7 +168,7 @@ impl ISmsDevice_Vtbl { let this = (*this).get_impl(); match ISmsDevice_Impl::SmsDeviceStatusChanged(this, windows_core::from_raw_borrowed(&eventhandler)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -211,7 +211,7 @@ impl ISmsMessage_Vtbl { let this = (*this).get_impl(); match ISmsMessage_Impl::Id(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -222,7 +222,7 @@ impl ISmsMessage_Vtbl { let this = (*this).get_impl(); match ISmsMessage_Impl::MessageClass(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -255,7 +255,7 @@ impl ISmsMessageBase_Vtbl { let this = (*this).get_impl(); match ISmsMessageBase_Impl::MessageType(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -266,7 +266,7 @@ impl ISmsMessageBase_Vtbl { let this = (*this).get_impl(); match ISmsMessageBase_Impl::DeviceId(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -278,7 +278,7 @@ impl ISmsMessageBase_Vtbl { let this = (*this).get_impl(); match ISmsMessageBase_Impl::CellularClass(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -289,7 +289,7 @@ impl ISmsMessageBase_Vtbl { let this = (*this).get_impl(); match ISmsMessageBase_Impl::MessageClass(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -300,7 +300,7 @@ impl ISmsMessageBase_Vtbl { let this = (*this).get_impl(); match ISmsMessageBase_Impl::SimIccId(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -348,7 +348,7 @@ impl ISmsTextMessage_Vtbl { let this = (*this).get_impl(); match ISmsTextMessage_Impl::Timestamp(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -359,7 +359,7 @@ impl ISmsTextMessage_Vtbl { let this = (*this).get_impl(); match ISmsTextMessage_Impl::PartReferenceId(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -370,7 +370,7 @@ impl ISmsTextMessage_Vtbl { let this = (*this).get_impl(); match ISmsTextMessage_Impl::PartNumber(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -381,7 +381,7 @@ impl ISmsTextMessage_Vtbl { let this = (*this).get_impl(); match ISmsTextMessage_Impl::PartCount(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -392,7 +392,7 @@ impl ISmsTextMessage_Vtbl { let this = (*this).get_impl(); match ISmsTextMessage_Impl::To(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -409,7 +409,7 @@ impl ISmsTextMessage_Vtbl { let this = (*this).get_impl(); match ISmsTextMessage_Impl::From(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -426,7 +426,7 @@ impl ISmsTextMessage_Vtbl { let this = (*this).get_impl(); match ISmsTextMessage_Impl::Body(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -443,7 +443,7 @@ impl ISmsTextMessage_Vtbl { let this = (*this).get_impl(); match ISmsTextMessage_Impl::Encoding(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -459,7 +459,7 @@ impl ISmsTextMessage_Vtbl { let this = (*this).get_impl(); match ISmsTextMessage_Impl::ToBinaryMessages(this, format) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } diff --git a/crates/libs/windows/src/Windows/Devices/Spi/Provider/impl.rs b/crates/libs/windows/src/Windows/Devices/Spi/Provider/impl.rs index 68b0804b57..de84a022dd 100644 --- a/crates/libs/windows/src/Windows/Devices/Spi/Provider/impl.rs +++ b/crates/libs/windows/src/Windows/Devices/Spi/Provider/impl.rs @@ -11,7 +11,7 @@ impl ISpiControllerProvider_Vtbl { let this = (*this).get_impl(); match ISpiControllerProvider_Impl::GetDeviceProvider(this, windows_core::from_raw_borrowed(&settings)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -45,7 +45,7 @@ impl ISpiDeviceProvider_Vtbl { let this = (*this).get_impl(); match ISpiDeviceProvider_Impl::DeviceId(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -57,7 +57,7 @@ impl ISpiDeviceProvider_Vtbl { let this = (*this).get_impl(); match ISpiDeviceProvider_Impl::ConnectionSettings(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -114,7 +114,7 @@ impl ISpiProvider_Vtbl { let this = (*this).get_impl(); match ISpiProvider_Impl::GetControllersAsync(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } diff --git a/crates/libs/windows/src/Windows/Devices/Spi/impl.rs b/crates/libs/windows/src/Windows/Devices/Spi/impl.rs index 950eea5356..14cfab8502 100644 --- a/crates/libs/windows/src/Windows/Devices/Spi/impl.rs +++ b/crates/libs/windows/src/Windows/Devices/Spi/impl.rs @@ -14,7 +14,7 @@ impl ISpiDeviceStatics_Vtbl { let this = (*this).get_impl(); match ISpiDeviceStatics_Impl::GetDeviceSelector(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -26,7 +26,7 @@ impl ISpiDeviceStatics_Vtbl { let this = (*this).get_impl(); match ISpiDeviceStatics_Impl::GetDeviceSelectorFromFriendlyName(this, core::mem::transmute(&friendlyname)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -38,7 +38,7 @@ impl ISpiDeviceStatics_Vtbl { let this = (*this).get_impl(); match ISpiDeviceStatics_Impl::GetBusInfo(this, core::mem::transmute(&busid)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -50,7 +50,7 @@ impl ISpiDeviceStatics_Vtbl { let this = (*this).get_impl(); match ISpiDeviceStatics_Impl::FromIdAsync(this, core::mem::transmute(&busid), windows_core::from_raw_borrowed(&settings)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } diff --git a/crates/libs/windows/src/Windows/Devices/impl.rs b/crates/libs/windows/src/Windows/Devices/impl.rs index 47412e26a2..590b941cd3 100644 --- a/crates/libs/windows/src/Windows/Devices/impl.rs +++ b/crates/libs/windows/src/Windows/Devices/impl.rs @@ -18,7 +18,7 @@ impl ILowLevelDevicesAggregateProvider_Vtbl { let this = (*this).get_impl(); match ILowLevelDevicesAggregateProvider_Impl::AdcControllerProvider(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -30,7 +30,7 @@ impl ILowLevelDevicesAggregateProvider_Vtbl { let this = (*this).get_impl(); match ILowLevelDevicesAggregateProvider_Impl::PwmControllerProvider(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -42,7 +42,7 @@ impl ILowLevelDevicesAggregateProvider_Vtbl { let this = (*this).get_impl(); match ILowLevelDevicesAggregateProvider_Impl::GpioControllerProvider(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -54,7 +54,7 @@ impl ILowLevelDevicesAggregateProvider_Vtbl { let this = (*this).get_impl(); match ILowLevelDevicesAggregateProvider_Impl::I2cControllerProvider(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -66,7 +66,7 @@ impl ILowLevelDevicesAggregateProvider_Vtbl { let this = (*this).get_impl(); match ILowLevelDevicesAggregateProvider_Impl::SpiControllerProvider(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } diff --git a/crates/libs/windows/src/Windows/Foundation/Collections/impl.rs b/crates/libs/windows/src/Windows/Foundation/Collections/impl.rs index c757275946..c441bbc236 100644 --- a/crates/libs/windows/src/Windows/Foundation/Collections/impl.rs +++ b/crates/libs/windows/src/Windows/Foundation/Collections/impl.rs @@ -14,7 +14,7 @@ impl IIterable_Vtbl { let this = (*this).get_impl(); match IIterable_Impl::First(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -50,7 +50,7 @@ impl IIterator_Vtbl { let this = (*this).get_impl(); match IIterator_Impl::Current(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -62,7 +62,7 @@ impl IIterator_Vtbl { let this = (*this).get_impl(); match IIterator_Impl::HasCurrent(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -73,7 +73,7 @@ impl IIterator_Vtbl { let this = (*this).get_impl(); match IIterator_Impl::MoveNext(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -84,7 +84,7 @@ impl IIterator_Vtbl { let this = (*this).get_impl(); match IIterator_Impl::GetMany(this, core::slice::from_raw_parts_mut(core::mem::transmute_copy(&items), items_array_size as usize)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -121,7 +121,7 @@ impl { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -133,7 +133,7 @@ impl { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -175,7 +175,7 @@ impl { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -187,7 +187,7 @@ impl { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -198,7 +198,7 @@ impl { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -209,7 +209,7 @@ impl { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -221,7 +221,7 @@ impl { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -271,7 +271,7 @@ impl IMapChangedEventArgs_Vtbl { let this = (*this).get_impl(); match IMapChangedEventArgs_Impl::CollectionChange(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -282,7 +282,7 @@ impl IMapChangedEventArgs_Vtbl { let this = (*this).get_impl(); match IMapChangedEventArgs_Impl::Key(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -320,7 +320,7 @@ impl { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -332,7 +332,7 @@ impl { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -343,7 +343,7 @@ impl { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -386,7 +386,7 @@ impl { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -426,7 +426,7 @@ impl IObservableVector_Vtbl { let this = (*this).get_impl(); match IObservableVector_Impl::VectorChanged(this, windows_core::from_raw_borrowed(&vhnd)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -487,7 +487,7 @@ impl IVector_Vtbl { let this = (*this).get_impl(); match IVector_Impl::GetAt(this, index) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -499,7 +499,7 @@ impl IVector_Vtbl { let this = (*this).get_impl(); match IVector_Impl::Size(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -510,7 +510,7 @@ impl IVector_Vtbl { let this = (*this).get_impl(); match IVector_Impl::GetView(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -522,7 +522,7 @@ impl IVector_Vtbl { let this = (*this).get_impl(); match IVector_Impl::IndexOf(this, core::mem::transmute(&value), core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -563,7 +563,7 @@ impl IVector_Vtbl { let this = (*this).get_impl(); match IVector_Impl::GetMany(this, startindex, core::slice::from_raw_parts_mut(core::mem::transmute_copy(&items), items_array_size as usize)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -609,7 +609,7 @@ impl IVectorChangedEventArgs_Vtbl { let this = (*this).get_impl(); match IVectorChangedEventArgs_Impl::CollectionChange(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -620,7 +620,7 @@ impl IVectorChangedEventArgs_Vtbl { let this = (*this).get_impl(); match IVectorChangedEventArgs_Impl::Index(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -655,7 +655,7 @@ impl IVectorView_Vtbl { let this = (*this).get_impl(); match IVectorView_Impl::GetAt(this, index) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -667,7 +667,7 @@ impl IVectorView_Vtbl { let this = (*this).get_impl(); match IVectorView_Impl::Size(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -678,7 +678,7 @@ impl IVectorView_Vtbl { let this = (*this).get_impl(); match IVectorView_Impl::IndexOf(this, core::mem::transmute(&value), core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -689,7 +689,7 @@ impl IVectorView_Vtbl { let this = (*this).get_impl(); match IVectorView_Impl::GetMany(this, startindex, core::slice::from_raw_parts_mut(core::mem::transmute_copy(&items), items_array_size as usize)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/Foundation/Diagnostics/impl.rs b/crates/libs/windows/src/Windows/Foundation/Diagnostics/impl.rs index 780bbdcdb8..fd9d71ffa4 100644 --- a/crates/libs/windows/src/Windows/Foundation/Diagnostics/impl.rs +++ b/crates/libs/windows/src/Windows/Foundation/Diagnostics/impl.rs @@ -17,7 +17,7 @@ impl IErrorReportingSettings_Vtbl { let this = (*this).get_impl(); match IErrorReportingSettings_Impl::GetErrorOptions(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -55,7 +55,7 @@ impl IFileLoggingSession_Vtbl { let this = (*this).get_impl(); match IFileLoggingSession_Impl::Name(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -82,7 +82,7 @@ impl IFileLoggingSession_Vtbl { let this = (*this).get_impl(); match IFileLoggingSession_Impl::CloseAndSaveToFileAsync(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -94,7 +94,7 @@ impl IFileLoggingSession_Vtbl { let this = (*this).get_impl(); match IFileLoggingSession_Impl::LogFileGenerated(this, windows_core::from_raw_borrowed(&handler)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -141,7 +141,7 @@ impl ILoggingChannel_Vtbl { let this = (*this).get_impl(); match ILoggingChannel_Impl::Name(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -153,7 +153,7 @@ impl ILoggingChannel_Vtbl { let this = (*this).get_impl(); match ILoggingChannel_Impl::Enabled(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -164,7 +164,7 @@ impl ILoggingChannel_Vtbl { let this = (*this).get_impl(); match ILoggingChannel_Impl::Level(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -195,7 +195,7 @@ impl ILoggingChannel_Vtbl { let this = (*this).get_impl(); match ILoggingChannel_Impl::LoggingEnabled(this, windows_core::from_raw_borrowed(&handler)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -243,7 +243,7 @@ impl ILoggingSession_Vtbl { let this = (*this).get_impl(); match ILoggingSession_Impl::Name(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -255,7 +255,7 @@ impl ILoggingSession_Vtbl { let this = (*this).get_impl(); match ILoggingSession_Impl::SaveToFileAsync(this, windows_core::from_raw_borrowed(&folder), core::mem::transmute(&filename)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -313,7 +313,7 @@ impl ILoggingTarget_Vtbl { let this = (*this).get_impl(); match ILoggingTarget_Impl::IsEnabled(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -324,7 +324,7 @@ impl ILoggingTarget_Vtbl { let this = (*this).get_impl(); match ILoggingTarget_Impl::IsEnabledWithLevel(this, level) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -335,7 +335,7 @@ impl ILoggingTarget_Vtbl { let this = (*this).get_impl(); match ILoggingTarget_Impl::IsEnabledWithLevelAndKeywords(this, level, keywords) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -366,7 +366,7 @@ impl ILoggingTarget_Vtbl { let this = (*this).get_impl(); match ILoggingTarget_Impl::StartActivity(this, core::mem::transmute(&starteventname)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -378,7 +378,7 @@ impl ILoggingTarget_Vtbl { let this = (*this).get_impl(); match ILoggingTarget_Impl::StartActivityWithFields(this, core::mem::transmute(&starteventname), windows_core::from_raw_borrowed(&fields)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -390,7 +390,7 @@ impl ILoggingTarget_Vtbl { let this = (*this).get_impl(); match ILoggingTarget_Impl::StartActivityWithFieldsAndLevel(this, core::mem::transmute(&starteventname), windows_core::from_raw_borrowed(&fields), level) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -402,7 +402,7 @@ impl ILoggingTarget_Vtbl { let this = (*this).get_impl(); match ILoggingTarget_Impl::StartActivityWithFieldsAndOptions(this, core::mem::transmute(&starteventname), windows_core::from_raw_borrowed(&fields), level, windows_core::from_raw_borrowed(&options)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } diff --git a/crates/libs/windows/src/Windows/Foundation/impl.rs b/crates/libs/windows/src/Windows/Foundation/impl.rs index 669606d73c..7d79d07445 100644 --- a/crates/libs/windows/src/Windows/Foundation/impl.rs +++ b/crates/libs/windows/src/Windows/Foundation/impl.rs @@ -18,7 +18,7 @@ impl IAsyncAction_Vtbl { let this = (*this).get_impl(); match IAsyncAction_Impl::Completed(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -66,7 +66,7 @@ impl IAsyncActionWithProgress_Vt let this = (*this).get_impl(); match IAsyncActionWithProgress_Impl::Progress(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -83,7 +83,7 @@ impl IAsyncActionWithProgress_Vt let this = (*this).get_impl(); match IAsyncActionWithProgress_Impl::Completed(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -126,7 +126,7 @@ impl IAsyncInfo_Vtbl { let this = (*this).get_impl(); match IAsyncInfo_Impl::Id(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -137,7 +137,7 @@ impl IAsyncInfo_Vtbl { let this = (*this).get_impl(); match IAsyncInfo_Impl::Status(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -148,7 +148,7 @@ impl IAsyncInfo_Vtbl { let this = (*this).get_impl(); match IAsyncInfo_Impl::ErrorCode(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -200,7 +200,7 @@ impl IAsyncOperation_Vtbl let this = (*this).get_impl(); match IAsyncOperation_Impl::Completed(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -212,7 +212,7 @@ impl IAsyncOperation_Vtbl let this = (*this).get_impl(); match IAsyncOperation_Impl::GetResults(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -257,7 +257,7 @@ impl { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -274,7 +274,7 @@ impl { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -286,7 +286,7 @@ impl { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -340,7 +340,7 @@ impl IGetActivationFactory_Vtbl { let this = (*this).get_impl(); match IGetActivationFactory_Impl::GetActivationFactory(this, core::mem::transmute(&activatableclassid)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -369,7 +369,7 @@ impl IMemoryBuffer_Vtbl { let this = (*this).get_impl(); match IMemoryBuffer_Impl::CreateReference(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -397,7 +397,7 @@ impl IMemoryBufferReference_Vtbl { let this = (*this).get_impl(); match IMemoryBufferReference_Impl::Capacity(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -408,7 +408,7 @@ impl IMemoryBufferReference_Vtbl { let this = (*this).get_impl(); match IMemoryBufferReference_Impl::Closed(this, windows_core::from_raw_borrowed(&handler)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -481,7 +481,7 @@ impl IPropertyValue_Vtbl { let this = (*this).get_impl(); match IPropertyValue_Impl::Type(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -492,7 +492,7 @@ impl IPropertyValue_Vtbl { let this = (*this).get_impl(); match IPropertyValue_Impl::IsNumericScalar(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -503,7 +503,7 @@ impl IPropertyValue_Vtbl { let this = (*this).get_impl(); match IPropertyValue_Impl::GetUInt8(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -514,7 +514,7 @@ impl IPropertyValue_Vtbl { let this = (*this).get_impl(); match IPropertyValue_Impl::GetInt16(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -525,7 +525,7 @@ impl IPropertyValue_Vtbl { let this = (*this).get_impl(); match IPropertyValue_Impl::GetUInt16(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -536,7 +536,7 @@ impl IPropertyValue_Vtbl { let this = (*this).get_impl(); match IPropertyValue_Impl::GetInt32(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -547,7 +547,7 @@ impl IPropertyValue_Vtbl { let this = (*this).get_impl(); match IPropertyValue_Impl::GetUInt32(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -558,7 +558,7 @@ impl IPropertyValue_Vtbl { let this = (*this).get_impl(); match IPropertyValue_Impl::GetInt64(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -569,7 +569,7 @@ impl IPropertyValue_Vtbl { let this = (*this).get_impl(); match IPropertyValue_Impl::GetUInt64(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -580,7 +580,7 @@ impl IPropertyValue_Vtbl { let this = (*this).get_impl(); match IPropertyValue_Impl::GetSingle(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -591,7 +591,7 @@ impl IPropertyValue_Vtbl { let this = (*this).get_impl(); match IPropertyValue_Impl::GetDouble(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -602,7 +602,7 @@ impl IPropertyValue_Vtbl { let this = (*this).get_impl(); match IPropertyValue_Impl::GetChar16(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -613,7 +613,7 @@ impl IPropertyValue_Vtbl { let this = (*this).get_impl(); match IPropertyValue_Impl::GetBoolean(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -624,7 +624,7 @@ impl IPropertyValue_Vtbl { let this = (*this).get_impl(); match IPropertyValue_Impl::GetString(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -636,7 +636,7 @@ impl IPropertyValue_Vtbl { let this = (*this).get_impl(); match IPropertyValue_Impl::GetGuid(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -647,7 +647,7 @@ impl IPropertyValue_Vtbl { let this = (*this).get_impl(); match IPropertyValue_Impl::GetDateTime(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -658,7 +658,7 @@ impl IPropertyValue_Vtbl { let this = (*this).get_impl(); match IPropertyValue_Impl::GetTimeSpan(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -669,7 +669,7 @@ impl IPropertyValue_Vtbl { let this = (*this).get_impl(); match IPropertyValue_Impl::GetPoint(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -680,7 +680,7 @@ impl IPropertyValue_Vtbl { let this = (*this).get_impl(); match IPropertyValue_Impl::GetSize(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -691,7 +691,7 @@ impl IPropertyValue_Vtbl { let this = (*this).get_impl(); match IPropertyValue_Impl::GetRect(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -855,7 +855,7 @@ impl IReference_Vtbl { let this = (*this).get_impl(); match IReference_Impl::Value(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -889,8 +889,8 @@ impl IReferenceArray_Vtbl { match IReferenceArray_Impl::Value(this) { Ok(ok__) => { let (ok_data__, ok_data_len__) = ok__.into_abi(); - core::ptr::write(result__, ok_data__); - core::ptr::write(result_size__, ok_data_len__); + result__.write(ok_data__); + result_size__.write(ok_data_len__); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -919,7 +919,7 @@ impl IStringable_Vtbl { let this = (*this).get_impl(); match IStringable_Impl::ToString(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -946,7 +946,7 @@ impl IWwwFormUrlDecoderEntry_Vtbl { let this = (*this).get_impl(); match IWwwFormUrlDecoderEntry_Impl::Name(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -958,7 +958,7 @@ impl IWwwFormUrlDecoderEntry_Vtbl { let this = (*this).get_impl(); match IWwwFormUrlDecoderEntry_Impl::Value(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } diff --git a/crates/libs/windows/src/Windows/Gaming/Input/Custom/impl.rs b/crates/libs/windows/src/Windows/Gaming/Input/Custom/impl.rs index 0400bb6367..2346b7b94e 100644 --- a/crates/libs/windows/src/Windows/Gaming/Input/Custom/impl.rs +++ b/crates/libs/windows/src/Windows/Gaming/Input/Custom/impl.rs @@ -13,7 +13,7 @@ impl ICustomGameControllerFactory_Vtbl { let this = (*this).get_impl(); match ICustomGameControllerFactory_Impl::CreateGameController(this, windows_core::from_raw_borrowed(&provider)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -87,7 +87,7 @@ impl IGameControllerProvider_Vtbl { let this = (*this).get_impl(); match IGameControllerProvider_Impl::FirmwareVersionInfo(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -98,7 +98,7 @@ impl IGameControllerProvider_Vtbl { let this = (*this).get_impl(); match IGameControllerProvider_Impl::HardwareProductId(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -109,7 +109,7 @@ impl IGameControllerProvider_Vtbl { let this = (*this).get_impl(); match IGameControllerProvider_Impl::HardwareVendorId(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -120,7 +120,7 @@ impl IGameControllerProvider_Vtbl { let this = (*this).get_impl(); match IGameControllerProvider_Impl::HardwareVersionInfo(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -131,7 +131,7 @@ impl IGameControllerProvider_Vtbl { let this = (*this).get_impl(); match IGameControllerProvider_Impl::IsConnected(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/Gaming/Input/ForceFeedback/impl.rs b/crates/libs/windows/src/Windows/Gaming/Input/ForceFeedback/impl.rs index 415b1c3e01..dee7b828eb 100644 --- a/crates/libs/windows/src/Windows/Gaming/Input/ForceFeedback/impl.rs +++ b/crates/libs/windows/src/Windows/Gaming/Input/ForceFeedback/impl.rs @@ -15,7 +15,7 @@ impl IForceFeedbackEffect_Vtbl { let this = (*this).get_impl(); match IForceFeedbackEffect_Impl::Gain(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -31,7 +31,7 @@ impl IForceFeedbackEffect_Vtbl { let this = (*this).get_impl(); match IForceFeedbackEffect_Impl::State(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/Gaming/Input/impl.rs b/crates/libs/windows/src/Windows/Gaming/Input/impl.rs index 3d4f99ef37..8d74ba9711 100644 --- a/crates/libs/windows/src/Windows/Gaming/Input/impl.rs +++ b/crates/libs/windows/src/Windows/Gaming/Input/impl.rs @@ -22,7 +22,7 @@ impl IGameController_Vtbl { let this = (*this).get_impl(); match IGameController_Impl::HeadsetConnected(this, windows_core::from_raw_borrowed(&value)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -38,7 +38,7 @@ impl IGameController_Vtbl { let this = (*this).get_impl(); match IGameController_Impl::HeadsetDisconnected(this, windows_core::from_raw_borrowed(&value)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -54,7 +54,7 @@ impl IGameController_Vtbl { let this = (*this).get_impl(); match IGameController_Impl::UserChanged(this, windows_core::from_raw_borrowed(&value)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -70,7 +70,7 @@ impl IGameController_Vtbl { let this = (*this).get_impl(); match IGameController_Impl::Headset(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -82,7 +82,7 @@ impl IGameController_Vtbl { let this = (*this).get_impl(); match IGameController_Impl::IsWireless(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -93,7 +93,7 @@ impl IGameController_Vtbl { let this = (*this).get_impl(); match IGameController_Impl::User(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -133,7 +133,7 @@ impl IGameControllerBatteryInfo_Vtbl { let this = (*this).get_impl(); match IGameControllerBatteryInfo_Impl::TryGetBatteryReport(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } diff --git a/crates/libs/windows/src/Windows/Gaming/Preview/GamesEnumeration/impl.rs b/crates/libs/windows/src/Windows/Gaming/Preview/GamesEnumeration/impl.rs index 0f34a52646..713596daf8 100644 --- a/crates/libs/windows/src/Windows/Gaming/Preview/GamesEnumeration/impl.rs +++ b/crates/libs/windows/src/Windows/Gaming/Preview/GamesEnumeration/impl.rs @@ -18,7 +18,7 @@ impl IGameListEntry_Vtbl { let this = (*this).get_impl(); match IGameListEntry_Impl::DisplayInfo(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -30,7 +30,7 @@ impl IGameListEntry_Vtbl { let this = (*this).get_impl(); match IGameListEntry_Impl::LaunchAsync(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -42,7 +42,7 @@ impl IGameListEntry_Vtbl { let this = (*this).get_impl(); match IGameListEntry_Impl::Category(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -53,7 +53,7 @@ impl IGameListEntry_Vtbl { let this = (*this).get_impl(); match IGameListEntry_Impl::Properties(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -65,7 +65,7 @@ impl IGameListEntry_Vtbl { let this = (*this).get_impl(); match IGameListEntry_Impl::SetCategoryAsync(this, value) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } diff --git a/crates/libs/windows/src/Windows/Globalization/NumberFormatting/impl.rs b/crates/libs/windows/src/Windows/Globalization/NumberFormatting/impl.rs index e36dc99ea3..67bda4da06 100644 --- a/crates/libs/windows/src/Windows/Globalization/NumberFormatting/impl.rs +++ b/crates/libs/windows/src/Windows/Globalization/NumberFormatting/impl.rs @@ -13,7 +13,7 @@ impl INumberFormatter_Vtbl { let this = (*this).get_impl(); match INumberFormatter_Impl::FormatInt(this, value) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -25,7 +25,7 @@ impl INumberFormatter_Vtbl { let this = (*this).get_impl(); match INumberFormatter_Impl::FormatUInt(this, value) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -37,7 +37,7 @@ impl INumberFormatter_Vtbl { let this = (*this).get_impl(); match INumberFormatter_Impl::FormatDouble(this, value) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -70,7 +70,7 @@ impl INumberFormatter2_Vtbl { let this = (*this).get_impl(); match INumberFormatter2_Impl::FormatInt(this, value) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -82,7 +82,7 @@ impl INumberFormatter2_Vtbl { let this = (*this).get_impl(); match INumberFormatter2_Impl::FormatUInt(this, value) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -94,7 +94,7 @@ impl INumberFormatter2_Vtbl { let this = (*this).get_impl(); match INumberFormatter2_Impl::FormatDouble(this, value) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -141,7 +141,7 @@ impl INumberFormatterOptions_Vtbl { let this = (*this).get_impl(); match INumberFormatterOptions_Impl::Languages(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -153,7 +153,7 @@ impl INumberFormatterOptions_Vtbl { let this = (*this).get_impl(); match INumberFormatterOptions_Impl::GeographicRegion(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -165,7 +165,7 @@ impl INumberFormatterOptions_Vtbl { let this = (*this).get_impl(); match INumberFormatterOptions_Impl::IntegerDigits(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -181,7 +181,7 @@ impl INumberFormatterOptions_Vtbl { let this = (*this).get_impl(); match INumberFormatterOptions_Impl::FractionDigits(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -197,7 +197,7 @@ impl INumberFormatterOptions_Vtbl { let this = (*this).get_impl(); match INumberFormatterOptions_Impl::IsGrouped(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -213,7 +213,7 @@ impl INumberFormatterOptions_Vtbl { let this = (*this).get_impl(); match INumberFormatterOptions_Impl::IsDecimalPointAlwaysDisplayed(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -229,7 +229,7 @@ impl INumberFormatterOptions_Vtbl { let this = (*this).get_impl(); match INumberFormatterOptions_Impl::NumeralSystem(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -246,7 +246,7 @@ impl INumberFormatterOptions_Vtbl { let this = (*this).get_impl(); match INumberFormatterOptions_Impl::ResolvedLanguage(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -258,7 +258,7 @@ impl INumberFormatterOptions_Vtbl { let this = (*this).get_impl(); match INumberFormatterOptions_Impl::ResolvedGeographicRegion(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -302,7 +302,7 @@ impl INumberParser_Vtbl { let this = (*this).get_impl(); match INumberParser_Impl::ParseInt(this, core::mem::transmute(&text)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -314,7 +314,7 @@ impl INumberParser_Vtbl { let this = (*this).get_impl(); match INumberParser_Impl::ParseUInt(this, core::mem::transmute(&text)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -326,7 +326,7 @@ impl INumberParser_Vtbl { let this = (*this).get_impl(); match INumberParser_Impl::ParseDouble(this, core::mem::transmute(&text)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -362,7 +362,7 @@ impl INumberRounder_Vtbl { let this = (*this).get_impl(); match INumberRounder_Impl::RoundInt32(this, value) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -373,7 +373,7 @@ impl INumberRounder_Vtbl { let this = (*this).get_impl(); match INumberRounder_Impl::RoundUInt32(this, value) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -384,7 +384,7 @@ impl INumberRounder_Vtbl { let this = (*this).get_impl(); match INumberRounder_Impl::RoundInt64(this, value) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -395,7 +395,7 @@ impl INumberRounder_Vtbl { let this = (*this).get_impl(); match INumberRounder_Impl::RoundUInt64(this, value) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -406,7 +406,7 @@ impl INumberRounder_Vtbl { let this = (*this).get_impl(); match INumberRounder_Impl::RoundSingle(this, value) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -417,7 +417,7 @@ impl INumberRounder_Vtbl { let this = (*this).get_impl(); match INumberRounder_Impl::RoundDouble(this, value) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -451,7 +451,7 @@ impl INumberRounderOption_Vtbl { let this = (*this).get_impl(); match INumberRounderOption_Impl::NumberRounder(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -487,7 +487,7 @@ impl ISignedZeroOption_Vtbl { let this = (*this).get_impl(); match ISignedZeroOption_Impl::IsZeroSigned(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -522,7 +522,7 @@ impl ISignificantDigitsOption_Vtbl { let this = (*this).get_impl(); match ISignificantDigitsOption_Impl::SignificantDigits(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/Graphics/DirectX/Direct3D11/impl.rs b/crates/libs/windows/src/Windows/Graphics/DirectX/Direct3D11/impl.rs index 6c0a0f1f1b..62a06ad7f0 100644 --- a/crates/libs/windows/src/Windows/Graphics/DirectX/Direct3D11/impl.rs +++ b/crates/libs/windows/src/Windows/Graphics/DirectX/Direct3D11/impl.rs @@ -30,7 +30,7 @@ impl IDirect3DSurface_Vtbl { let this = (*this).get_impl(); match IDirect3DSurface_Impl::Description(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/Graphics/Effects/impl.rs b/crates/libs/windows/src/Windows/Graphics/Effects/impl.rs index fc8b496a02..1665ee6b53 100644 --- a/crates/libs/windows/src/Windows/Graphics/Effects/impl.rs +++ b/crates/libs/windows/src/Windows/Graphics/Effects/impl.rs @@ -12,7 +12,7 @@ impl IGraphicsEffect_Vtbl { let this = (*this).get_impl(); match IGraphicsEffect_Impl::Name(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } diff --git a/crates/libs/windows/src/Windows/Graphics/Imaging/impl.rs b/crates/libs/windows/src/Windows/Graphics/Imaging/impl.rs index 3c0c5aa225..b120fa7082 100644 --- a/crates/libs/windows/src/Windows/Graphics/Imaging/impl.rs +++ b/crates/libs/windows/src/Windows/Graphics/Imaging/impl.rs @@ -25,7 +25,7 @@ impl IBitmapFrame_Vtbl { let this = (*this).get_impl(); match IBitmapFrame_Impl::GetThumbnailAsync(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -37,7 +37,7 @@ impl IBitmapFrame_Vtbl { let this = (*this).get_impl(); match IBitmapFrame_Impl::BitmapProperties(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -49,7 +49,7 @@ impl IBitmapFrame_Vtbl { let this = (*this).get_impl(); match IBitmapFrame_Impl::BitmapPixelFormat(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -60,7 +60,7 @@ impl IBitmapFrame_Vtbl { let this = (*this).get_impl(); match IBitmapFrame_Impl::BitmapAlphaMode(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -71,7 +71,7 @@ impl IBitmapFrame_Vtbl { let this = (*this).get_impl(); match IBitmapFrame_Impl::DpiX(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -82,7 +82,7 @@ impl IBitmapFrame_Vtbl { let this = (*this).get_impl(); match IBitmapFrame_Impl::DpiY(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -93,7 +93,7 @@ impl IBitmapFrame_Vtbl { let this = (*this).get_impl(); match IBitmapFrame_Impl::PixelWidth(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -104,7 +104,7 @@ impl IBitmapFrame_Vtbl { let this = (*this).get_impl(); match IBitmapFrame_Impl::PixelHeight(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -115,7 +115,7 @@ impl IBitmapFrame_Vtbl { let this = (*this).get_impl(); match IBitmapFrame_Impl::OrientedPixelWidth(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -126,7 +126,7 @@ impl IBitmapFrame_Vtbl { let this = (*this).get_impl(); match IBitmapFrame_Impl::OrientedPixelHeight(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -137,7 +137,7 @@ impl IBitmapFrame_Vtbl { let this = (*this).get_impl(); match IBitmapFrame_Impl::GetPixelDataAsync(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -149,7 +149,7 @@ impl IBitmapFrame_Vtbl { let this = (*this).get_impl(); match IBitmapFrame_Impl::GetPixelDataTransformedAsync(this, pixelformat, alphamode, windows_core::from_raw_borrowed(&transform), exiforientationmode, colormanagementmode) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -194,7 +194,7 @@ impl IBitmapFrameWithSoftwareBitmap_Vtbl { let this = (*this).get_impl(); match IBitmapFrameWithSoftwareBitmap_Impl::GetSoftwareBitmapAsync(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -206,7 +206,7 @@ impl IBitmapFrameWithSoftwareBitmap_Vtbl { let this = (*this).get_impl(); match IBitmapFrameWithSoftwareBitmap_Impl::GetSoftwareBitmapConvertedAsync(this, pixelformat, alphamode) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -218,7 +218,7 @@ impl IBitmapFrameWithSoftwareBitmap_Vtbl { let this = (*this).get_impl(); match IBitmapFrameWithSoftwareBitmap_Impl::GetSoftwareBitmapTransformedAsync(this, pixelformat, alphamode, windows_core::from_raw_borrowed(&transform), exiforientationmode, colormanagementmode) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -252,7 +252,7 @@ impl IBitmapPropertiesView_Vtbl { let this = (*this).get_impl(); match IBitmapPropertiesView_Impl::GetPropertiesAsync(this, windows_core::from_raw_borrowed(&propertiestoretrieve)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } diff --git a/crates/libs/windows/src/Windows/Graphics/Printing/OptionDetails/impl.rs b/crates/libs/windows/src/Windows/Graphics/Printing/OptionDetails/impl.rs index f5aa333f4a..1f5854f922 100644 --- a/crates/libs/windows/src/Windows/Graphics/Printing/OptionDetails/impl.rs +++ b/crates/libs/windows/src/Windows/Graphics/Printing/OptionDetails/impl.rs @@ -17,7 +17,7 @@ impl IPrintCustomOptionDetails_Vtbl { let this = (*this).get_impl(); match IPrintCustomOptionDetails_Impl::DisplayName(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -50,7 +50,7 @@ impl IPrintItemListOptionDetails_Vtbl { let this = (*this).get_impl(); match IPrintItemListOptionDetails_Impl::Items(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -77,7 +77,7 @@ impl IPrintNumberOptionDetails_Vtbl { let this = (*this).get_impl(); match IPrintNumberOptionDetails_Impl::MinValue(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -88,7 +88,7 @@ impl IPrintNumberOptionDetails_Vtbl { let this = (*this).get_impl(); match IPrintNumberOptionDetails_Impl::MaxValue(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -124,7 +124,7 @@ impl IPrintOptionDetails_Vtbl { let this = (*this).get_impl(); match IPrintOptionDetails_Impl::OptionId(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -136,7 +136,7 @@ impl IPrintOptionDetails_Vtbl { let this = (*this).get_impl(); match IPrintOptionDetails_Impl::OptionType(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -152,7 +152,7 @@ impl IPrintOptionDetails_Vtbl { let this = (*this).get_impl(); match IPrintOptionDetails_Impl::ErrorText(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -169,7 +169,7 @@ impl IPrintOptionDetails_Vtbl { let this = (*this).get_impl(); match IPrintOptionDetails_Impl::State(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -180,7 +180,7 @@ impl IPrintOptionDetails_Vtbl { let this = (*this).get_impl(); match IPrintOptionDetails_Impl::Value(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -192,7 +192,7 @@ impl IPrintOptionDetails_Vtbl { let this = (*this).get_impl(); match IPrintOptionDetails_Impl::TrySetValue(this, windows_core::from_raw_borrowed(&value)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -227,7 +227,7 @@ impl IPrintTextOptionDetails_Vtbl { let this = (*this).get_impl(); match IPrintTextOptionDetails_Impl::MaxCharacters(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/Graphics/Printing/impl.rs b/crates/libs/windows/src/Windows/Graphics/Printing/impl.rs index fe387b5e20..53577cbcff 100644 --- a/crates/libs/windows/src/Windows/Graphics/Printing/impl.rs +++ b/crates/libs/windows/src/Windows/Graphics/Printing/impl.rs @@ -23,7 +23,7 @@ impl IPrintTaskOptionsCore_Vtbl { let this = (*this).get_impl(); match IPrintTaskOptionsCore_Impl::GetPageDescription(this, jobpagenumber) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -79,7 +79,7 @@ impl IPrintTaskOptionsCoreProperties_Vtbl { let this = (*this).get_impl(); match IPrintTaskOptionsCoreProperties_Impl::MediaSize(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -95,7 +95,7 @@ impl IPrintTaskOptionsCoreProperties_Vtbl { let this = (*this).get_impl(); match IPrintTaskOptionsCoreProperties_Impl::MediaType(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -111,7 +111,7 @@ impl IPrintTaskOptionsCoreProperties_Vtbl { let this = (*this).get_impl(); match IPrintTaskOptionsCoreProperties_Impl::Orientation(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -127,7 +127,7 @@ impl IPrintTaskOptionsCoreProperties_Vtbl { let this = (*this).get_impl(); match IPrintTaskOptionsCoreProperties_Impl::PrintQuality(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -143,7 +143,7 @@ impl IPrintTaskOptionsCoreProperties_Vtbl { let this = (*this).get_impl(); match IPrintTaskOptionsCoreProperties_Impl::ColorMode(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -159,7 +159,7 @@ impl IPrintTaskOptionsCoreProperties_Vtbl { let this = (*this).get_impl(); match IPrintTaskOptionsCoreProperties_Impl::Duplex(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -175,7 +175,7 @@ impl IPrintTaskOptionsCoreProperties_Vtbl { let this = (*this).get_impl(); match IPrintTaskOptionsCoreProperties_Impl::Collation(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -191,7 +191,7 @@ impl IPrintTaskOptionsCoreProperties_Vtbl { let this = (*this).get_impl(); match IPrintTaskOptionsCoreProperties_Impl::Staple(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -207,7 +207,7 @@ impl IPrintTaskOptionsCoreProperties_Vtbl { let this = (*this).get_impl(); match IPrintTaskOptionsCoreProperties_Impl::HolePunch(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -223,7 +223,7 @@ impl IPrintTaskOptionsCoreProperties_Vtbl { let this = (*this).get_impl(); match IPrintTaskOptionsCoreProperties_Impl::Binding(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -234,7 +234,7 @@ impl IPrintTaskOptionsCoreProperties_Vtbl { let this = (*this).get_impl(); match IPrintTaskOptionsCoreProperties_Impl::MinCopies(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -245,7 +245,7 @@ impl IPrintTaskOptionsCoreProperties_Vtbl { let this = (*this).get_impl(); match IPrintTaskOptionsCoreProperties_Impl::MaxCopies(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -261,7 +261,7 @@ impl IPrintTaskOptionsCoreProperties_Vtbl { let this = (*this).get_impl(); match IPrintTaskOptionsCoreProperties_Impl::NumberOfCopies(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -315,7 +315,7 @@ impl IPrintTaskOptionsCoreUIConfiguration_Vtbl { let this = (*this).get_impl(); match IPrintTaskOptionsCoreUIConfiguration_Impl::DisplayedOptions(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } diff --git a/crates/libs/windows/src/Windows/Media/Audio/impl.rs b/crates/libs/windows/src/Windows/Media/Audio/impl.rs index 0274576450..93e01ccb8d 100644 --- a/crates/libs/windows/src/Windows/Media/Audio/impl.rs +++ b/crates/libs/windows/src/Windows/Media/Audio/impl.rs @@ -17,7 +17,7 @@ impl IAudioInputNode_Vtbl { let this = (*this).get_impl(); match IAudioInputNode_Impl::OutgoingConnections(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -67,7 +67,7 @@ impl IAudioInputNode2_Vtbl { let this = (*this).get_impl(); match IAudioInputNode2_Impl::Emitter(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -106,7 +106,7 @@ impl IAudioNode_Vtbl { let this = (*this).get_impl(); match IAudioNode_Impl::EffectDefinitions(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -123,7 +123,7 @@ impl IAudioNode_Vtbl { let this = (*this).get_impl(); match IAudioNode_Impl::OutgoingGain(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -134,7 +134,7 @@ impl IAudioNode_Vtbl { let this = (*this).get_impl(); match IAudioNode_Impl::EncodingProperties(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -146,7 +146,7 @@ impl IAudioNode_Vtbl { let this = (*this).get_impl(); match IAudioNode_Impl::ConsumeInput(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -223,7 +223,7 @@ impl IAudioNodeWithListener_Vtbl { let this = (*this).get_impl(); match IAudioNodeWithListener_Impl::Listener(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } diff --git a/crates/libs/windows/src/Windows/Media/Core/impl.rs b/crates/libs/windows/src/Windows/Media/Core/impl.rs index c745b2dde7..143a2feb94 100644 --- a/crates/libs/windows/src/Windows/Media/Core/impl.rs +++ b/crates/libs/windows/src/Windows/Media/Core/impl.rs @@ -21,7 +21,7 @@ impl IMediaCue_Vtbl { let this = (*this).get_impl(); match IMediaCue_Impl::StartTime(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -37,7 +37,7 @@ impl IMediaCue_Vtbl { let this = (*this).get_impl(); match IMediaCue_Impl::Duration(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -53,7 +53,7 @@ impl IMediaCue_Vtbl { let this = (*this).get_impl(); match IMediaCue_Impl::Id(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -103,7 +103,7 @@ impl IMediaStreamDescriptor_Vtbl { let this = (*this).get_impl(); match IMediaStreamDescriptor_Impl::IsSelected(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -119,7 +119,7 @@ impl IMediaStreamDescriptor_Vtbl { let this = (*this).get_impl(); match IMediaStreamDescriptor_Impl::Name(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -136,7 +136,7 @@ impl IMediaStreamDescriptor_Vtbl { let this = (*this).get_impl(); match IMediaStreamDescriptor_Impl::Language(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -175,7 +175,7 @@ impl IMediaStreamDescriptor2_Vtbl { let this = (*this).get_impl(); match IMediaStreamDescriptor2_Impl::Label(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -209,7 +209,7 @@ impl IMediaTrack_Vtbl { let this = (*this).get_impl(); match IMediaTrack_Impl::Id(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -221,7 +221,7 @@ impl IMediaTrack_Vtbl { let this = (*this).get_impl(); match IMediaTrack_Impl::Language(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -233,7 +233,7 @@ impl IMediaTrack_Vtbl { let this = (*this).get_impl(); match IMediaTrack_Impl::TrackKind(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -249,7 +249,7 @@ impl IMediaTrack_Vtbl { let this = (*this).get_impl(); match IMediaTrack_Impl::Label(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -285,7 +285,7 @@ impl ISingleSelectMediaTrackList_Vtbl { let this = (*this).get_impl(); match ISingleSelectMediaTrackList_Impl::SelectedIndexChanged(this, windows_core::from_raw_borrowed(&handler)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -306,7 +306,7 @@ impl ISingleSelectMediaTrackList_Vtbl { let this = (*this).get_impl(); match ISingleSelectMediaTrackList_Impl::SelectedIndex(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -340,7 +340,7 @@ impl ITimedMetadataTrackProvider_Vtbl { let this = (*this).get_impl(); match ITimedMetadataTrackProvider_Impl::TimedMetadataTracks(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } diff --git a/crates/libs/windows/src/Windows/Media/Devices/impl.rs b/crates/libs/windows/src/Windows/Media/Devices/impl.rs index 699d708130..5d57381a5c 100644 --- a/crates/libs/windows/src/Windows/Media/Devices/impl.rs +++ b/crates/libs/windows/src/Windows/Media/Devices/impl.rs @@ -12,7 +12,7 @@ impl IDefaultAudioDeviceChangedEventArgs_Vtbl { let this = (*this).get_impl(); match IDefaultAudioDeviceChangedEventArgs_Impl::Id(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -24,7 +24,7 @@ impl IDefaultAudioDeviceChangedEventArgs_Vtbl { let this = (*this).get_impl(); match IDefaultAudioDeviceChangedEventArgs_Impl::Role(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -58,7 +58,7 @@ impl IMediaDeviceController_Vtbl { let this = (*this).get_impl(); match IMediaDeviceController_Impl::GetAvailableMediaStreamProperties(this, mediastreamtype) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -70,7 +70,7 @@ impl IMediaDeviceController_Vtbl { let this = (*this).get_impl(); match IMediaDeviceController_Impl::GetMediaStreamProperties(this, mediastreamtype) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -82,7 +82,7 @@ impl IMediaDeviceController_Vtbl { let this = (*this).get_impl(); match IMediaDeviceController_Impl::SetMediaStreamPropertiesAsync(this, mediastreamtype, windows_core::from_raw_borrowed(&mediaencodingproperties)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } diff --git a/crates/libs/windows/src/Windows/Media/Effects/impl.rs b/crates/libs/windows/src/Windows/Media/Effects/impl.rs index 393d50f6ed..0a33bb7f52 100644 --- a/crates/libs/windows/src/Windows/Media/Effects/impl.rs +++ b/crates/libs/windows/src/Windows/Media/Effects/impl.rs @@ -15,7 +15,7 @@ impl IAudioEffectDefinition_Vtbl { let this = (*this).get_impl(); match IAudioEffectDefinition_Impl::ActivatableClassId(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -27,7 +27,7 @@ impl IAudioEffectDefinition_Vtbl { let this = (*this).get_impl(); match IAudioEffectDefinition_Impl::Properties(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -65,7 +65,7 @@ impl IBasicAudioEffect_Vtbl { let this = (*this).get_impl(); match IBasicAudioEffect_Impl::UseInputFrameForOutput(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -76,7 +76,7 @@ impl IBasicAudioEffect_Vtbl { let this = (*this).get_impl(); match IBasicAudioEffect_Impl::SupportedEncodingProperties(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -140,7 +140,7 @@ impl IBasicVideoEffect_Vtbl { let this = (*this).get_impl(); match IBasicVideoEffect_Impl::IsReadOnly(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -151,7 +151,7 @@ impl IBasicVideoEffect_Vtbl { let this = (*this).get_impl(); match IBasicVideoEffect_Impl::SupportedMemoryTypes(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -162,7 +162,7 @@ impl IBasicVideoEffect_Vtbl { let this = (*this).get_impl(); match IBasicVideoEffect_Impl::TimeIndependent(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -173,7 +173,7 @@ impl IBasicVideoEffect_Vtbl { let this = (*this).get_impl(); match IBasicVideoEffect_Impl::SupportedEncodingProperties(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -236,7 +236,7 @@ impl IVideoCompositor_Vtbl { let this = (*this).get_impl(); match IVideoCompositor_Impl::TimeIndependent(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -292,7 +292,7 @@ impl IVideoCompositorDefinition_Vtbl { let this = (*this).get_impl(); match IVideoCompositorDefinition_Impl::ActivatableClassId(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -304,7 +304,7 @@ impl IVideoCompositorDefinition_Vtbl { let this = (*this).get_impl(); match IVideoCompositorDefinition_Impl::Properties(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -338,7 +338,7 @@ impl IVideoEffectDefinition_Vtbl { let this = (*this).get_impl(); match IVideoEffectDefinition_Impl::ActivatableClassId(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -350,7 +350,7 @@ impl IVideoEffectDefinition_Vtbl { let this = (*this).get_impl(); match IVideoEffectDefinition_Impl::Properties(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } diff --git a/crates/libs/windows/src/Windows/Media/MediaProperties/impl.rs b/crates/libs/windows/src/Windows/Media/MediaProperties/impl.rs index b5990833f2..2cd9d47614 100644 --- a/crates/libs/windows/src/Windows/Media/MediaProperties/impl.rs +++ b/crates/libs/windows/src/Windows/Media/MediaProperties/impl.rs @@ -17,7 +17,7 @@ impl IMediaEncodingProperties_Vtbl { let this = (*this).get_impl(); match IMediaEncodingProperties_Impl::Properties(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -29,7 +29,7 @@ impl IMediaEncodingProperties_Vtbl { let this = (*this).get_impl(); match IMediaEncodingProperties_Impl::Type(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -46,7 +46,7 @@ impl IMediaEncodingProperties_Vtbl { let this = (*this).get_impl(); match IMediaEncodingProperties_Impl::Subtype(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } diff --git a/crates/libs/windows/src/Windows/Media/Playback/impl.rs b/crates/libs/windows/src/Windows/Media/Playback/impl.rs index 6ab9406fa1..693c574835 100644 --- a/crates/libs/windows/src/Windows/Media/Playback/impl.rs +++ b/crates/libs/windows/src/Windows/Media/Playback/impl.rs @@ -15,7 +15,7 @@ impl IMediaEnginePlaybackSource_Vtbl { let this = (*this).get_impl(); match IMediaEnginePlaybackSource_Impl::CurrentItem(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } diff --git a/crates/libs/windows/src/Windows/Media/Protection/PlayReady/impl.rs b/crates/libs/windows/src/Windows/Media/Protection/PlayReady/impl.rs index 86c94b164b..168c38f698 100644 --- a/crates/libs/windows/src/Windows/Media/Protection/PlayReady/impl.rs +++ b/crates/libs/windows/src/Windows/Media/Protection/PlayReady/impl.rs @@ -16,7 +16,7 @@ impl INDClosedCaptionDataReceivedEventArgs_Vtbl { let this = (*this).get_impl(); match INDClosedCaptionDataReceivedEventArgs_Impl::ClosedCaptionDataFormat(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -27,7 +27,7 @@ impl INDClosedCaptionDataReceivedEventArgs_Vtbl { let this = (*this).get_impl(); match INDClosedCaptionDataReceivedEventArgs_Impl::PresentationTimestamp(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -39,8 +39,8 @@ impl INDClosedCaptionDataReceivedEventArgs_Vtbl { match INDClosedCaptionDataReceivedEventArgs_Impl::ClosedCaptionData(this) { Ok(ok__) => { let (ok_data__, ok_data_len__) = ok__.into_abi(); - core::ptr::write(result__, ok_data__); - core::ptr::write(result_size__, ok_data_len__); + result__.write(ok_data__); + result_size__.write(ok_data_len__); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -75,8 +75,8 @@ impl INDCustomData_Vtbl { match INDCustomData_Impl::CustomDataTypeID(this) { Ok(ok__) => { let (ok_data__, ok_data_len__) = ok__.into_abi(); - core::ptr::write(result__, ok_data__); - core::ptr::write(result_size__, ok_data_len__); + result__.write(ok_data__); + result_size__.write(ok_data_len__); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -88,8 +88,8 @@ impl INDCustomData_Vtbl { match INDCustomData_Impl::CustomData(this) { Ok(ok__) => { let (ok_data__, ok_data_len__) = ok__.into_abi(); - core::ptr::write(result__, ok_data__); - core::ptr::write(result_size__, ok_data_len__); + result__.write(ok_data__); + result_size__.write(ok_data_len__); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -154,7 +154,7 @@ impl INDDownloadEngine_Vtbl { let this = (*this).get_impl(); match INDDownloadEngine_Impl::CanSeek(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -165,7 +165,7 @@ impl INDDownloadEngine_Vtbl { let this = (*this).get_impl(); match INDDownloadEngine_Impl::BufferFullMinThresholdInSamples(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -176,7 +176,7 @@ impl INDDownloadEngine_Vtbl { let this = (*this).get_impl(); match INDDownloadEngine_Impl::BufferFullMaxThresholdInSamples(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -187,7 +187,7 @@ impl INDDownloadEngine_Vtbl { let this = (*this).get_impl(); match INDDownloadEngine_Impl::Notifier(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -287,7 +287,7 @@ impl INDLicenseFetchCompletedEventArgs_Vtbl { let this = (*this).get_impl(); match INDLicenseFetchCompletedEventArgs_Impl::ResponseCustomData(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -322,7 +322,7 @@ impl INDLicenseFetchDescriptor_Vtbl { let this = (*this).get_impl(); match INDLicenseFetchDescriptor_Impl::ContentIDType(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -334,8 +334,8 @@ impl INDLicenseFetchDescriptor_Vtbl { match INDLicenseFetchDescriptor_Impl::ContentID(this) { Ok(ok__) => { let (ok_data__, ok_data_len__) = ok__.into_abi(); - core::ptr::write(result__, ok_data__); - core::ptr::write(result_size__, ok_data_len__); + result__.write(ok_data__); + result_size__.write(ok_data_len__); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -346,7 +346,7 @@ impl INDLicenseFetchDescriptor_Vtbl { let this = (*this).get_impl(); match INDLicenseFetchDescriptor_Impl::LicenseFetchChallengeCustomData(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -386,7 +386,7 @@ impl INDLicenseFetchResult_Vtbl { let this = (*this).get_impl(); match INDLicenseFetchResult_Impl::ResponseCustomData(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -421,7 +421,7 @@ impl INDMessenger_Vtbl { let this = (*this).get_impl(); match INDMessenger_Impl::SendRegistrationRequestAsync(this, core::slice::from_raw_parts(core::mem::transmute_copy(&sessionidbytes), sessionIDBytes_array_size as usize), core::slice::from_raw_parts(core::mem::transmute_copy(&challengedatabytes), challengeDataBytes_array_size as usize)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -433,7 +433,7 @@ impl INDMessenger_Vtbl { let this = (*this).get_impl(); match INDMessenger_Impl::SendProximityDetectionStartAsync(this, pdtype, core::slice::from_raw_parts(core::mem::transmute_copy(&transmitterchannelbytes), transmitterChannelBytes_array_size as usize), core::slice::from_raw_parts(core::mem::transmute_copy(&sessionidbytes), sessionIDBytes_array_size as usize), core::slice::from_raw_parts(core::mem::transmute_copy(&challengedatabytes), challengeDataBytes_array_size as usize)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -445,7 +445,7 @@ impl INDMessenger_Vtbl { let this = (*this).get_impl(); match INDMessenger_Impl::SendProximityDetectionResponseAsync(this, pdtype, core::slice::from_raw_parts(core::mem::transmute_copy(&transmitterchannelbytes), transmitterChannelBytes_array_size as usize), core::slice::from_raw_parts(core::mem::transmute_copy(&sessionidbytes), sessionIDBytes_array_size as usize), core::slice::from_raw_parts(core::mem::transmute_copy(&responsedatabytes), responseDataBytes_array_size as usize)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -457,7 +457,7 @@ impl INDMessenger_Vtbl { let this = (*this).get_impl(); match INDMessenger_Impl::SendLicenseFetchRequestAsync(this, core::slice::from_raw_parts(core::mem::transmute_copy(&sessionidbytes), sessionIDBytes_array_size as usize), core::slice::from_raw_parts(core::mem::transmute_copy(&challengedatabytes), challengeDataBytes_array_size as usize)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -492,7 +492,7 @@ impl INDProximityDetectionCompletedEventArgs_Vtbl { let this = (*this).get_impl(); match INDProximityDetectionCompletedEventArgs_Impl::ProximityDetectionRetryCount(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -526,7 +526,7 @@ impl INDRegistrationCompletedEventArgs_Vtbl { let this = (*this).get_impl(); match INDRegistrationCompletedEventArgs_Impl::ResponseCustomData(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -538,7 +538,7 @@ impl INDRegistrationCompletedEventArgs_Vtbl { let this = (*this).get_impl(); match INDRegistrationCompletedEventArgs_Impl::TransmitterProperties(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -550,7 +550,7 @@ impl INDRegistrationCompletedEventArgs_Vtbl { let this = (*this).get_impl(); match INDRegistrationCompletedEventArgs_Impl::TransmitterCertificateAccepted(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -590,8 +590,8 @@ impl INDSendResult_Vtbl { match INDSendResult_Impl::Response(this) { Ok(ok__) => { let (ok_data__, ok_data_len__) = ok__.into_abi(); - core::ptr::write(result__, ok_data__); - core::ptr::write(result_size__, ok_data_len__); + result__.write(ok_data__); + result_size__.write(ok_data_len__); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -619,7 +619,7 @@ impl INDStartResult_Vtbl { let this = (*this).get_impl(); match INDStartResult_Impl::MediaStreamSource(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -651,7 +651,7 @@ impl INDStorageFileHelper_Vtbl { let this = (*this).get_impl(); match INDStorageFileHelper_Impl::GetFileURLs(this, windows_core::from_raw_borrowed(&file)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -689,7 +689,7 @@ impl INDStreamParser_Vtbl { let this = (*this).get_impl(); match INDStreamParser_Impl::GetStreamInformation(this, windows_core::from_raw_borrowed(&descriptor), core::mem::transmute_copy(&streamtype)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -710,7 +710,7 @@ impl INDStreamParser_Vtbl { let this = (*this).get_impl(); match INDStreamParser_Impl::Notifier(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -802,7 +802,7 @@ impl INDTransmitterProperties_Vtbl { let this = (*this).get_impl(); match INDTransmitterProperties_Impl::CertificateType(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -813,7 +813,7 @@ impl INDTransmitterProperties_Vtbl { let this = (*this).get_impl(); match INDTransmitterProperties_Impl::PlatformIdentifier(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -825,8 +825,8 @@ impl INDTransmitterProperties_Vtbl { match INDTransmitterProperties_Impl::SupportedFeatures(this) { Ok(ok__) => { let (ok_data__, ok_data_len__) = ok__.into_abi(); - core::ptr::write(result__, ok_data__); - core::ptr::write(result_size__, ok_data_len__); + result__.write(ok_data__); + result_size__.write(ok_data_len__); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -837,7 +837,7 @@ impl INDTransmitterProperties_Vtbl { let this = (*this).get_impl(); match INDTransmitterProperties_Impl::SecurityLevel(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -848,7 +848,7 @@ impl INDTransmitterProperties_Vtbl { let this = (*this).get_impl(); match INDTransmitterProperties_Impl::SecurityVersion(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -859,7 +859,7 @@ impl INDTransmitterProperties_Vtbl { let this = (*this).get_impl(); match INDTransmitterProperties_Impl::ExpirationDate(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -871,8 +871,8 @@ impl INDTransmitterProperties_Vtbl { match INDTransmitterProperties_Impl::ClientID(this) { Ok(ok__) => { let (ok_data__, ok_data_len__) = ok__.into_abi(); - core::ptr::write(result__, ok_data__); - core::ptr::write(result_size__, ok_data_len__); + result__.write(ok_data__); + result_size__.write(ok_data_len__); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -884,8 +884,8 @@ impl INDTransmitterProperties_Vtbl { match INDTransmitterProperties_Impl::ModelDigest(this) { Ok(ok__) => { let (ok_data__, ok_data_len__) = ok__.into_abi(); - core::ptr::write(result__, ok_data__); - core::ptr::write(result_size__, ok_data_len__); + result__.write(ok_data__); + result_size__.write(ok_data_len__); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -896,7 +896,7 @@ impl INDTransmitterProperties_Vtbl { let this = (*this).get_impl(); match INDTransmitterProperties_Impl::ModelManufacturerName(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -908,7 +908,7 @@ impl INDTransmitterProperties_Vtbl { let this = (*this).get_impl(); match INDTransmitterProperties_Impl::ModelName(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -920,7 +920,7 @@ impl INDTransmitterProperties_Vtbl { let this = (*this).get_impl(); match INDTransmitterProperties_Impl::ModelNumber(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -963,7 +963,7 @@ impl IPlayReadyDomain_Vtbl { let this = (*this).get_impl(); match IPlayReadyDomain_Impl::AccountId(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -974,7 +974,7 @@ impl IPlayReadyDomain_Vtbl { let this = (*this).get_impl(); match IPlayReadyDomain_Impl::ServiceId(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -985,7 +985,7 @@ impl IPlayReadyDomain_Vtbl { let this = (*this).get_impl(); match IPlayReadyDomain_Impl::Revision(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -996,7 +996,7 @@ impl IPlayReadyDomain_Vtbl { let this = (*this).get_impl(); match IPlayReadyDomain_Impl::FriendlyName(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -1008,7 +1008,7 @@ impl IPlayReadyDomain_Vtbl { let this = (*this).get_impl(); match IPlayReadyDomain_Impl::DomainJoinUrl(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -1047,7 +1047,7 @@ impl IPlayReadyLicense_Vtbl { let this = (*this).get_impl(); match IPlayReadyLicense_Impl::FullyEvaluated(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1058,7 +1058,7 @@ impl IPlayReadyLicense_Vtbl { let this = (*this).get_impl(); match IPlayReadyLicense_Impl::UsableForPlay(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1069,7 +1069,7 @@ impl IPlayReadyLicense_Vtbl { let this = (*this).get_impl(); match IPlayReadyLicense_Impl::ExpirationDate(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -1081,7 +1081,7 @@ impl IPlayReadyLicense_Vtbl { let this = (*this).get_impl(); match IPlayReadyLicense_Impl::ExpireAfterFirstPlay(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1092,7 +1092,7 @@ impl IPlayReadyLicense_Vtbl { let this = (*this).get_impl(); match IPlayReadyLicense_Impl::DomainAccountID(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1103,7 +1103,7 @@ impl IPlayReadyLicense_Vtbl { let this = (*this).get_impl(); match IPlayReadyLicense_Impl::ChainDepth(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1114,7 +1114,7 @@ impl IPlayReadyLicense_Vtbl { let this = (*this).get_impl(); match IPlayReadyLicense_Impl::GetKIDAtChainDepth(this, chaindepth) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1151,7 +1151,7 @@ impl IPlayReadyLicenseAcquisitionServiceRequest_Vtbl { let this = (*this).get_impl(); match IPlayReadyLicenseAcquisitionServiceRequest_Impl::ContentHeader(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -1168,7 +1168,7 @@ impl IPlayReadyLicenseAcquisitionServiceRequest_Vtbl { let this = (*this).get_impl(); match IPlayReadyLicenseAcquisitionServiceRequest_Impl::DomainServiceId(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1205,7 +1205,7 @@ impl IPlayReadyLicenseSession_Vtbl { let this = (*this).get_impl(); match IPlayReadyLicenseSession_Impl::CreateLAServiceRequest(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -1243,7 +1243,7 @@ impl IPlayReadyLicenseSession2_Vtbl { let this = (*this).get_impl(); match IPlayReadyLicenseSession2_Impl::CreateLicenseIterable(this, windows_core::from_raw_borrowed(&contentheader), fullyevaluated) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -1276,7 +1276,7 @@ impl IPlayReadySecureStopServiceRequest_Vtbl { let this = (*this).get_impl(); match IPlayReadySecureStopServiceRequest_Impl::SessionID(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1287,7 +1287,7 @@ impl IPlayReadySecureStopServiceRequest_Vtbl { let this = (*this).get_impl(); match IPlayReadySecureStopServiceRequest_Impl::StartTime(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1298,7 +1298,7 @@ impl IPlayReadySecureStopServiceRequest_Vtbl { let this = (*this).get_impl(); match IPlayReadySecureStopServiceRequest_Impl::UpdateTime(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1309,7 +1309,7 @@ impl IPlayReadySecureStopServiceRequest_Vtbl { let this = (*this).get_impl(); match IPlayReadySecureStopServiceRequest_Impl::Stopped(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1321,8 +1321,8 @@ impl IPlayReadySecureStopServiceRequest_Vtbl { match IPlayReadySecureStopServiceRequest_Impl::PublisherCertificate(this) { Ok(ok__) => { let (ok_data__, ok_data_len__) = ok__.into_abi(); - core::ptr::write(result__, ok_data__); - core::ptr::write(result_size__, ok_data_len__); + result__.write(ok_data__); + result_size__.write(ok_data_len__); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1362,7 +1362,7 @@ impl IPlayReadyServiceRequest_Vtbl { let this = (*this).get_impl(); match IPlayReadyServiceRequest_Impl::Uri(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -1379,7 +1379,7 @@ impl IPlayReadyServiceRequest_Vtbl { let this = (*this).get_impl(); match IPlayReadyServiceRequest_Impl::ResponseCustomData(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -1391,7 +1391,7 @@ impl IPlayReadyServiceRequest_Vtbl { let this = (*this).get_impl(); match IPlayReadyServiceRequest_Impl::ChallengeCustomData(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -1408,7 +1408,7 @@ impl IPlayReadyServiceRequest_Vtbl { let this = (*this).get_impl(); match IPlayReadyServiceRequest_Impl::BeginServiceRequest(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -1420,7 +1420,7 @@ impl IPlayReadyServiceRequest_Vtbl { let this = (*this).get_impl(); match IPlayReadyServiceRequest_Impl::NextServiceRequest(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -1432,7 +1432,7 @@ impl IPlayReadyServiceRequest_Vtbl { let this = (*this).get_impl(); match IPlayReadyServiceRequest_Impl::GenerateManualEnablingChallenge(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -1444,7 +1444,7 @@ impl IPlayReadyServiceRequest_Vtbl { let this = (*this).get_impl(); match IPlayReadyServiceRequest_Impl::ProcessManualEnablingResponse(this, core::slice::from_raw_parts(core::mem::transmute_copy(&responsebytes), responseBytes_array_size as usize)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/Media/Protection/impl.rs b/crates/libs/windows/src/Windows/Media/Protection/impl.rs index e063dd0bd6..d3c79d6000 100644 --- a/crates/libs/windows/src/Windows/Media/Protection/impl.rs +++ b/crates/libs/windows/src/Windows/Media/Protection/impl.rs @@ -12,7 +12,7 @@ impl IMediaProtectionServiceRequest_Vtbl { let this = (*this).get_impl(); match IMediaProtectionServiceRequest_Impl::ProtectionSystem(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -23,7 +23,7 @@ impl IMediaProtectionServiceRequest_Vtbl { let this = (*this).get_impl(); match IMediaProtectionServiceRequest_Impl::Type(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/Media/SpeechRecognition/impl.rs b/crates/libs/windows/src/Windows/Media/SpeechRecognition/impl.rs index 4ba1e6cc94..9d0a3a30c9 100644 --- a/crates/libs/windows/src/Windows/Media/SpeechRecognition/impl.rs +++ b/crates/libs/windows/src/Windows/Media/SpeechRecognition/impl.rs @@ -17,7 +17,7 @@ impl ISpeechRecognitionConstraint_Vtbl { let this = (*this).get_impl(); match ISpeechRecognitionConstraint_Impl::IsEnabled(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -33,7 +33,7 @@ impl ISpeechRecognitionConstraint_Vtbl { let this = (*this).get_impl(); match ISpeechRecognitionConstraint_Impl::Tag(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -50,7 +50,7 @@ impl ISpeechRecognitionConstraint_Vtbl { let this = (*this).get_impl(); match ISpeechRecognitionConstraint_Impl::Type(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -61,7 +61,7 @@ impl ISpeechRecognitionConstraint_Vtbl { let this = (*this).get_impl(); match ISpeechRecognitionConstraint_Impl::Probability(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/Media/impl.rs b/crates/libs/windows/src/Windows/Media/impl.rs index 79ffe4a6c7..7d1dc0acd3 100644 --- a/crates/libs/windows/src/Windows/Media/impl.rs +++ b/crates/libs/windows/src/Windows/Media/impl.rs @@ -46,7 +46,7 @@ impl IMediaFrame_Vtbl { let this = (*this).get_impl(); match IMediaFrame_Impl::Type(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -58,7 +58,7 @@ impl IMediaFrame_Vtbl { let this = (*this).get_impl(); match IMediaFrame_Impl::IsReadOnly(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -74,7 +74,7 @@ impl IMediaFrame_Vtbl { let this = (*this).get_impl(); match IMediaFrame_Impl::RelativeTime(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -91,7 +91,7 @@ impl IMediaFrame_Vtbl { let this = (*this).get_impl(); match IMediaFrame_Impl::SystemRelativeTime(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -108,7 +108,7 @@ impl IMediaFrame_Vtbl { let this = (*this).get_impl(); match IMediaFrame_Impl::Duration(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -125,7 +125,7 @@ impl IMediaFrame_Vtbl { let this = (*this).get_impl(); match IMediaFrame_Impl::IsDiscontinuous(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -136,7 +136,7 @@ impl IMediaFrame_Vtbl { let this = (*this).get_impl(); match IMediaFrame_Impl::ExtendedProperties(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -177,7 +177,7 @@ impl IMediaMarker_Vtbl { let this = (*this).get_impl(); match IMediaMarker_Impl::Time(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -188,7 +188,7 @@ impl IMediaMarker_Vtbl { let this = (*this).get_impl(); match IMediaMarker_Impl::MediaMarkerType(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -200,7 +200,7 @@ impl IMediaMarker_Vtbl { let this = (*this).get_impl(); match IMediaMarker_Impl::Text(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -234,7 +234,7 @@ impl IMediaMarkers_Vtbl { let this = (*this).get_impl(); match IMediaMarkers_Impl::Markers(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } diff --git a/crates/libs/windows/src/Windows/Networking/BackgroundTransfer/impl.rs b/crates/libs/windows/src/Windows/Networking/BackgroundTransfer/impl.rs index 47a39c47ea..47c83c8128 100644 --- a/crates/libs/windows/src/Windows/Networking/BackgroundTransfer/impl.rs +++ b/crates/libs/windows/src/Windows/Networking/BackgroundTransfer/impl.rs @@ -29,7 +29,7 @@ impl IBackgroundTransferBase_Vtbl { let this = (*this).get_impl(); match IBackgroundTransferBase_Impl::ServerCredential(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -46,7 +46,7 @@ impl IBackgroundTransferBase_Vtbl { let this = (*this).get_impl(); match IBackgroundTransferBase_Impl::ProxyCredential(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -63,7 +63,7 @@ impl IBackgroundTransferBase_Vtbl { let this = (*this).get_impl(); match IBackgroundTransferBase_Impl::Method(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -80,7 +80,7 @@ impl IBackgroundTransferBase_Vtbl { let this = (*this).get_impl(); match IBackgroundTransferBase_Impl::Group(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -97,7 +97,7 @@ impl IBackgroundTransferBase_Vtbl { let this = (*this).get_impl(); match IBackgroundTransferBase_Impl::CostPolicy(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -141,7 +141,7 @@ impl IBackgroundTransferContentPartFactory_Vtbl { let this = (*this).get_impl(); match IBackgroundTransferContentPartFactory_Impl::CreateWithName(this, core::mem::transmute(&name)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -153,7 +153,7 @@ impl IBackgroundTransferContentPartFactory_Vtbl { let this = (*this).get_impl(); match IBackgroundTransferContentPartFactory_Impl::CreateWithNameAndFileName(this, core::mem::transmute(&name), core::mem::transmute(&filename)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -193,7 +193,7 @@ impl IBackgroundTransferOperation_Vtbl { let this = (*this).get_impl(); match IBackgroundTransferOperation_Impl::Guid(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -204,7 +204,7 @@ impl IBackgroundTransferOperation_Vtbl { let this = (*this).get_impl(); match IBackgroundTransferOperation_Impl::RequestedUri(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -216,7 +216,7 @@ impl IBackgroundTransferOperation_Vtbl { let this = (*this).get_impl(); match IBackgroundTransferOperation_Impl::Method(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -228,7 +228,7 @@ impl IBackgroundTransferOperation_Vtbl { let this = (*this).get_impl(); match IBackgroundTransferOperation_Impl::Group(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -240,7 +240,7 @@ impl IBackgroundTransferOperation_Vtbl { let this = (*this).get_impl(); match IBackgroundTransferOperation_Impl::CostPolicy(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -256,7 +256,7 @@ impl IBackgroundTransferOperation_Vtbl { let this = (*this).get_impl(); match IBackgroundTransferOperation_Impl::GetResultStreamAt(this, position) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -268,7 +268,7 @@ impl IBackgroundTransferOperation_Vtbl { let this = (*this).get_impl(); match IBackgroundTransferOperation_Impl::GetResponseInformation(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -305,7 +305,7 @@ impl IBackgroundTransferOperationPriority_Vtbl { let this = (*this).get_impl(); match IBackgroundTransferOperationPriority_Impl::Priority(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/Networking/Sockets/impl.rs b/crates/libs/windows/src/Windows/Networking/Sockets/impl.rs index 5b1e1993d3..f767b58e2d 100644 --- a/crates/libs/windows/src/Windows/Networking/Sockets/impl.rs +++ b/crates/libs/windows/src/Windows/Networking/Sockets/impl.rs @@ -11,7 +11,7 @@ impl IControlChannelTriggerEventDetails_Vtbl { let this = (*this).get_impl(); match IControlChannelTriggerEventDetails_Impl::ControlChannelTrigger(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -42,7 +42,7 @@ impl IControlChannelTriggerResetEventDetails_Vtbl { let this = (*this).get_impl(); match IControlChannelTriggerResetEventDetails_Impl::ResetReason(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -53,7 +53,7 @@ impl IControlChannelTriggerResetEventDetails_Vtbl { let this = (*this).get_impl(); match IControlChannelTriggerResetEventDetails_Impl::HardwareSlotReset(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -64,7 +64,7 @@ impl IControlChannelTriggerResetEventDetails_Vtbl { let this = (*this).get_impl(); match IControlChannelTriggerResetEventDetails_Impl::SoftwareSlotReset(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -102,7 +102,7 @@ impl IWebSocket_Vtbl { let this = (*this).get_impl(); match IWebSocket_Impl::OutputStream(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -114,7 +114,7 @@ impl IWebSocket_Vtbl { let this = (*this).get_impl(); match IWebSocket_Impl::ConnectAsync(this, windows_core::from_raw_borrowed(&uri)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -131,7 +131,7 @@ impl IWebSocket_Vtbl { let this = (*this).get_impl(); match IWebSocket_Impl::Closed(this, windows_core::from_raw_borrowed(&eventhandler)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -183,7 +183,7 @@ impl IWebSocketControl_Vtbl { let this = (*this).get_impl(); match IWebSocketControl_Impl::OutboundBufferSizeInBytes(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -199,7 +199,7 @@ impl IWebSocketControl_Vtbl { let this = (*this).get_impl(); match IWebSocketControl_Impl::ServerCredential(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -216,7 +216,7 @@ impl IWebSocketControl_Vtbl { let this = (*this).get_impl(); match IWebSocketControl_Impl::ProxyCredential(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -233,7 +233,7 @@ impl IWebSocketControl_Vtbl { let this = (*this).get_impl(); match IWebSocketControl_Impl::SupportedProtocols(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -271,7 +271,7 @@ impl IWebSocketControl2_Vtbl { let this = (*this).get_impl(); match IWebSocketControl2_Impl::IgnorableServerCertificateErrors(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -302,7 +302,7 @@ impl IWebSocketInformation_Vtbl { let this = (*this).get_impl(); match IWebSocketInformation_Impl::LocalAddress(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -314,7 +314,7 @@ impl IWebSocketInformation_Vtbl { let this = (*this).get_impl(); match IWebSocketInformation_Impl::BandwidthStatistics(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -325,7 +325,7 @@ impl IWebSocketInformation_Vtbl { let this = (*this).get_impl(); match IWebSocketInformation_Impl::Protocol(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -362,7 +362,7 @@ impl IWebSocketInformation2_Vtbl { let this = (*this).get_impl(); match IWebSocketInformation2_Impl::ServerCertificate(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -374,7 +374,7 @@ impl IWebSocketInformation2_Vtbl { let this = (*this).get_impl(); match IWebSocketInformation2_Impl::ServerCertificateErrorSeverity(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -385,7 +385,7 @@ impl IWebSocketInformation2_Vtbl { let this = (*this).get_impl(); match IWebSocketInformation2_Impl::ServerCertificateErrors(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -397,7 +397,7 @@ impl IWebSocketInformation2_Vtbl { let this = (*this).get_impl(); match IWebSocketInformation2_Impl::ServerIntermediateCertificates(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } diff --git a/crates/libs/windows/src/Windows/Networking/Vpn/impl.rs b/crates/libs/windows/src/Windows/Networking/Vpn/impl.rs index 830828ae31..e01f34422f 100644 --- a/crates/libs/windows/src/Windows/Networking/Vpn/impl.rs +++ b/crates/libs/windows/src/Windows/Networking/Vpn/impl.rs @@ -39,7 +39,7 @@ impl IVpnCredential_Vtbl { let this = (*this).get_impl(); match IVpnCredential_Impl::PasskeyCredential(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -51,7 +51,7 @@ impl IVpnCredential_Vtbl { let this = (*this).get_impl(); match IVpnCredential_Impl::CertificateCredential(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -63,7 +63,7 @@ impl IVpnCredential_Vtbl { let this = (*this).get_impl(); match IVpnCredential_Impl::AdditionalPin(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -75,7 +75,7 @@ impl IVpnCredential_Vtbl { let this = (*this).get_impl(); match IVpnCredential_Impl::OldPasswordCredential(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -117,7 +117,7 @@ impl IVpnCustomPrompt_Vtbl { let this = (*this).get_impl(); match IVpnCustomPrompt_Impl::Label(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -134,7 +134,7 @@ impl IVpnCustomPrompt_Vtbl { let this = (*this).get_impl(); match IVpnCustomPrompt_Impl::Compulsory(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -150,7 +150,7 @@ impl IVpnCustomPrompt_Vtbl { let this = (*this).get_impl(); match IVpnCustomPrompt_Impl::Bordered(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -193,7 +193,7 @@ impl IVpnCustomPromptElement_Vtbl { let this = (*this).get_impl(); match IVpnCustomPromptElement_Impl::DisplayName(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -210,7 +210,7 @@ impl IVpnCustomPromptElement_Vtbl { let this = (*this).get_impl(); match IVpnCustomPromptElement_Impl::Compulsory(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -226,7 +226,7 @@ impl IVpnCustomPromptElement_Vtbl { let this = (*this).get_impl(); match IVpnCustomPromptElement_Impl::Emphasized(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -262,7 +262,7 @@ impl IVpnDomainNameInfoFactory_Vtbl { let this = (*this).get_impl(); match IVpnDomainNameInfoFactory_Impl::CreateVpnDomainNameInfo(this, core::mem::transmute(&name), nametype, windows_core::from_raw_borrowed(&dnsserverlist), windows_core::from_raw_borrowed(&proxyserverlist)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -291,7 +291,7 @@ impl IVpnInterfaceIdFactory_Vtbl { let this = (*this).get_impl(); match IVpnInterfaceIdFactory_Impl::CreateVpnInterfaceId(this, core::slice::from_raw_parts(core::mem::transmute_copy(&address), address_array_size as usize)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -323,7 +323,7 @@ impl IVpnNamespaceInfoFactory_Vtbl { let this = (*this).get_impl(); match IVpnNamespaceInfoFactory_Impl::CreateVpnNamespaceInfo(this, core::mem::transmute(&name), windows_core::from_raw_borrowed(&dnsserverlist), windows_core::from_raw_borrowed(&proxyserverlist)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -352,7 +352,7 @@ impl IVpnPacketBufferFactory_Vtbl { let this = (*this).get_impl(); match IVpnPacketBufferFactory_Impl::CreateVpnPacketBuffer(this, windows_core::from_raw_borrowed(&parentbuffer), offset, length) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -443,7 +443,7 @@ impl IVpnProfile_Vtbl { let this = (*this).get_impl(); match IVpnProfile_Impl::ProfileName(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -460,7 +460,7 @@ impl IVpnProfile_Vtbl { let this = (*this).get_impl(); match IVpnProfile_Impl::AppTriggers(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -472,7 +472,7 @@ impl IVpnProfile_Vtbl { let this = (*this).get_impl(); match IVpnProfile_Impl::Routes(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -484,7 +484,7 @@ impl IVpnProfile_Vtbl { let this = (*this).get_impl(); match IVpnProfile_Impl::DomainNameInfoList(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -496,7 +496,7 @@ impl IVpnProfile_Vtbl { let this = (*this).get_impl(); match IVpnProfile_Impl::TrafficFilters(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -508,7 +508,7 @@ impl IVpnProfile_Vtbl { let this = (*this).get_impl(); match IVpnProfile_Impl::RememberCredentials(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -524,7 +524,7 @@ impl IVpnProfile_Vtbl { let this = (*this).get_impl(); match IVpnProfile_Impl::AlwaysOn(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -566,7 +566,7 @@ impl IVpnRouteFactory_Vtbl { let this = (*this).get_impl(); match IVpnRouteFactory_Impl::CreateVpnRoute(this, windows_core::from_raw_borrowed(&address), prefixsize) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } diff --git a/crates/libs/windows/src/Windows/Phone/Notification/Management/impl.rs b/crates/libs/windows/src/Windows/Phone/Notification/Management/impl.rs index be48364995..883f779675 100644 --- a/crates/libs/windows/src/Windows/Phone/Notification/Management/impl.rs +++ b/crates/libs/windows/src/Windows/Phone/Notification/Management/impl.rs @@ -16,7 +16,7 @@ impl IAccessoryNotificationTriggerDetails_Vtbl { let this = (*this).get_impl(); match IAccessoryNotificationTriggerDetails_Impl::TimeCreated(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -27,7 +27,7 @@ impl IAccessoryNotificationTriggerDetails_Vtbl { let this = (*this).get_impl(); match IAccessoryNotificationTriggerDetails_Impl::AppDisplayName(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -39,7 +39,7 @@ impl IAccessoryNotificationTriggerDetails_Vtbl { let this = (*this).get_impl(); match IAccessoryNotificationTriggerDetails_Impl::AppId(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -51,7 +51,7 @@ impl IAccessoryNotificationTriggerDetails_Vtbl { let this = (*this).get_impl(); match IAccessoryNotificationTriggerDetails_Impl::AccessoryNotificationType(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -62,7 +62,7 @@ impl IAccessoryNotificationTriggerDetails_Vtbl { let this = (*this).get_impl(); match IAccessoryNotificationTriggerDetails_Impl::StartedProcessing(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/Phone/PersonalInformation/impl.rs b/crates/libs/windows/src/Windows/Phone/PersonalInformation/impl.rs index 00dff16605..df1bc56057 100644 --- a/crates/libs/windows/src/Windows/Phone/PersonalInformation/impl.rs +++ b/crates/libs/windows/src/Windows/Phone/PersonalInformation/impl.rs @@ -29,7 +29,7 @@ impl IContactInformation_Vtbl { let this = (*this).get_impl(); match IContactInformation_Impl::DisplayName(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -46,7 +46,7 @@ impl IContactInformation_Vtbl { let this = (*this).get_impl(); match IContactInformation_Impl::FamilyName(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -63,7 +63,7 @@ impl IContactInformation_Vtbl { let this = (*this).get_impl(); match IContactInformation_Impl::GivenName(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -80,7 +80,7 @@ impl IContactInformation_Vtbl { let this = (*this).get_impl(); match IContactInformation_Impl::HonorificPrefix(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -97,7 +97,7 @@ impl IContactInformation_Vtbl { let this = (*this).get_impl(); match IContactInformation_Impl::HonorificSuffix(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -114,7 +114,7 @@ impl IContactInformation_Vtbl { let this = (*this).get_impl(); match IContactInformation_Impl::GetDisplayPictureAsync(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -126,7 +126,7 @@ impl IContactInformation_Vtbl { let this = (*this).get_impl(); match IContactInformation_Impl::SetDisplayPictureAsync(this, windows_core::from_raw_borrowed(&stream)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -138,7 +138,7 @@ impl IContactInformation_Vtbl { let this = (*this).get_impl(); match IContactInformation_Impl::DisplayPicture(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -150,7 +150,7 @@ impl IContactInformation_Vtbl { let this = (*this).get_impl(); match IContactInformation_Impl::GetPropertiesAsync(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -162,7 +162,7 @@ impl IContactInformation_Vtbl { let this = (*this).get_impl(); match IContactInformation_Impl::ToVcardAsync(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -174,7 +174,7 @@ impl IContactInformation_Vtbl { let this = (*this).get_impl(); match IContactInformation_Impl::ToVcardWithOptionsAsync(this, format) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -219,7 +219,7 @@ impl IContactInformation2_Vtbl { let this = (*this).get_impl(); match IContactInformation2_Impl::DisplayPictureDate(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/Phone/StartScreen/impl.rs b/crates/libs/windows/src/Windows/Phone/StartScreen/impl.rs index 7e36b6c253..df744bbb0c 100644 --- a/crates/libs/windows/src/Windows/Phone/StartScreen/impl.rs +++ b/crates/libs/windows/src/Windows/Phone/StartScreen/impl.rs @@ -14,7 +14,7 @@ impl IToastNotificationManagerStatics3_Vtbl { let this = (*this).get_impl(); match IToastNotificationManagerStatics3_Impl::CreateToastNotifierForSecondaryTile(this, core::mem::transmute(&tileid)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } diff --git a/crates/libs/windows/src/Windows/Security/Authentication/Web/Provider/impl.rs b/crates/libs/windows/src/Windows/Security/Authentication/Web/Provider/impl.rs index 10d8084497..d2f8ee7a82 100644 --- a/crates/libs/windows/src/Windows/Security/Authentication/Web/Provider/impl.rs +++ b/crates/libs/windows/src/Windows/Security/Authentication/Web/Provider/impl.rs @@ -43,7 +43,7 @@ impl IWebAccountProviderOperation_Vtbl { let this = (*this).get_impl(); match IWebAccountProviderOperation_Impl::Kind(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -100,7 +100,7 @@ impl IWebAccountProviderTokenObjects_Vtbl { let this = (*this).get_impl(); match IWebAccountProviderTokenObjects_Impl::Operation(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -132,7 +132,7 @@ impl IWebAccountProviderTokenObjects2_Vtbl { let this = (*this).get_impl(); match IWebAccountProviderTokenObjects2_Impl::User(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -164,7 +164,7 @@ impl IWebAccountProviderTokenOperation_Vtbl { let this = (*this).get_impl(); match IWebAccountProviderTokenOperation_Impl::ProviderRequest(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -176,7 +176,7 @@ impl IWebAccountProviderTokenOperation_Vtbl { let this = (*this).get_impl(); match IWebAccountProviderTokenOperation_Impl::ProviderResponses(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -193,7 +193,7 @@ impl IWebAccountProviderTokenOperation_Vtbl { let this = (*this).get_impl(); match IWebAccountProviderTokenOperation_Impl::CacheExpirationTime(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/Security/Credentials/impl.rs b/crates/libs/windows/src/Windows/Security/Credentials/impl.rs index c6d19939ad..dcf2e2248f 100644 --- a/crates/libs/windows/src/Windows/Security/Credentials/impl.rs +++ b/crates/libs/windows/src/Windows/Security/Credentials/impl.rs @@ -13,7 +13,7 @@ impl IWebAccount_Vtbl { let this = (*this).get_impl(); match IWebAccount_Impl::WebAccountProvider(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -25,7 +25,7 @@ impl IWebAccount_Vtbl { let this = (*this).get_impl(); match IWebAccount_Impl::UserName(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -37,7 +37,7 @@ impl IWebAccount_Vtbl { let this = (*this).get_impl(); match IWebAccount_Impl::State(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/Storage/AccessCache/impl.rs b/crates/libs/windows/src/Windows/Storage/AccessCache/impl.rs index a6b29d35c0..ddad03032d 100644 --- a/crates/libs/windows/src/Windows/Storage/AccessCache/impl.rs +++ b/crates/libs/windows/src/Windows/Storage/AccessCache/impl.rs @@ -29,7 +29,7 @@ impl IStorageItemAccessList_Vtbl { let this = (*this).get_impl(); match IStorageItemAccessList_Impl::AddOverloadDefaultMetadata(this, windows_core::from_raw_borrowed(&file)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -41,7 +41,7 @@ impl IStorageItemAccessList_Vtbl { let this = (*this).get_impl(); match IStorageItemAccessList_Impl::Add(this, windows_core::from_raw_borrowed(&file), core::mem::transmute(&metadata)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -63,7 +63,7 @@ impl IStorageItemAccessList_Vtbl { let this = (*this).get_impl(); match IStorageItemAccessList_Impl::GetItemAsync(this, core::mem::transmute(&token)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -75,7 +75,7 @@ impl IStorageItemAccessList_Vtbl { let this = (*this).get_impl(); match IStorageItemAccessList_Impl::GetFileAsync(this, core::mem::transmute(&token)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -87,7 +87,7 @@ impl IStorageItemAccessList_Vtbl { let this = (*this).get_impl(); match IStorageItemAccessList_Impl::GetFolderAsync(this, core::mem::transmute(&token)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -99,7 +99,7 @@ impl IStorageItemAccessList_Vtbl { let this = (*this).get_impl(); match IStorageItemAccessList_Impl::GetItemWithOptionsAsync(this, core::mem::transmute(&token), options) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -111,7 +111,7 @@ impl IStorageItemAccessList_Vtbl { let this = (*this).get_impl(); match IStorageItemAccessList_Impl::GetFileWithOptionsAsync(this, core::mem::transmute(&token), options) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -123,7 +123,7 @@ impl IStorageItemAccessList_Vtbl { let this = (*this).get_impl(); match IStorageItemAccessList_Impl::GetFolderWithOptionsAsync(this, core::mem::transmute(&token), options) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -140,7 +140,7 @@ impl IStorageItemAccessList_Vtbl { let this = (*this).get_impl(); match IStorageItemAccessList_Impl::ContainsItem(this, core::mem::transmute(&token)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -156,7 +156,7 @@ impl IStorageItemAccessList_Vtbl { let this = (*this).get_impl(); match IStorageItemAccessList_Impl::CheckAccess(this, windows_core::from_raw_borrowed(&file)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -167,7 +167,7 @@ impl IStorageItemAccessList_Vtbl { let this = (*this).get_impl(); match IStorageItemAccessList_Impl::Entries(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -179,7 +179,7 @@ impl IStorageItemAccessList_Vtbl { let this = (*this).get_impl(); match IStorageItemAccessList_Impl::MaximumItemsAllowed(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/Storage/BulkAccess/impl.rs b/crates/libs/windows/src/Windows/Storage/BulkAccess/impl.rs index c2bdbaaae8..93183d7825 100644 --- a/crates/libs/windows/src/Windows/Storage/BulkAccess/impl.rs +++ b/crates/libs/windows/src/Windows/Storage/BulkAccess/impl.rs @@ -23,7 +23,7 @@ impl IStorageItemInformation_Vtbl { let this = (*this).get_impl(); match IStorageItemInformation_Impl::MusicProperties(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -35,7 +35,7 @@ impl IStorageItemInformation_Vtbl { let this = (*this).get_impl(); match IStorageItemInformation_Impl::VideoProperties(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -47,7 +47,7 @@ impl IStorageItemInformation_Vtbl { let this = (*this).get_impl(); match IStorageItemInformation_Impl::ImageProperties(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -59,7 +59,7 @@ impl IStorageItemInformation_Vtbl { let this = (*this).get_impl(); match IStorageItemInformation_Impl::DocumentProperties(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -71,7 +71,7 @@ impl IStorageItemInformation_Vtbl { let this = (*this).get_impl(); match IStorageItemInformation_Impl::BasicProperties(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -83,7 +83,7 @@ impl IStorageItemInformation_Vtbl { let this = (*this).get_impl(); match IStorageItemInformation_Impl::Thumbnail(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -95,7 +95,7 @@ impl IStorageItemInformation_Vtbl { let this = (*this).get_impl(); match IStorageItemInformation_Impl::ThumbnailUpdated(this, windows_core::from_raw_borrowed(&changedhandler)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -111,7 +111,7 @@ impl IStorageItemInformation_Vtbl { let this = (*this).get_impl(); match IStorageItemInformation_Impl::PropertiesUpdated(this, windows_core::from_raw_borrowed(&changedhandler)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/Storage/FileProperties/impl.rs b/crates/libs/windows/src/Windows/Storage/FileProperties/impl.rs index 9fe34dea4c..bc53ccd14c 100644 --- a/crates/libs/windows/src/Windows/Storage/FileProperties/impl.rs +++ b/crates/libs/windows/src/Windows/Storage/FileProperties/impl.rs @@ -16,7 +16,7 @@ impl IStorageItemExtraProperties_Vtbl { let this = (*this).get_impl(); match IStorageItemExtraProperties_Impl::RetrievePropertiesAsync(this, windows_core::from_raw_borrowed(&propertiestoretrieve)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -28,7 +28,7 @@ impl IStorageItemExtraProperties_Vtbl { let this = (*this).get_impl(); match IStorageItemExtraProperties_Impl::SavePropertiesAsync(this, windows_core::from_raw_borrowed(&propertiestosave)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -40,7 +40,7 @@ impl IStorageItemExtraProperties_Vtbl { let this = (*this).get_impl(); match IStorageItemExtraProperties_Impl::SavePropertiesAsyncOverloadDefault(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } diff --git a/crates/libs/windows/src/Windows/Storage/Provider/impl.rs b/crates/libs/windows/src/Windows/Storage/Provider/impl.rs index b1d7e62ffa..1bc9bec68c 100644 --- a/crates/libs/windows/src/Windows/Storage/Provider/impl.rs +++ b/crates/libs/windows/src/Windows/Storage/Provider/impl.rs @@ -14,7 +14,7 @@ impl IStorageProviderItemPropertySource_Vtbl { let this = (*this).get_impl(); match IStorageProviderItemPropertySource_Impl::GetItemProperties(this, core::mem::transmute(&itempath)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -45,7 +45,7 @@ impl IStorageProviderKnownFolderSyncInfoSource_Vtbl { let this = (*this).get_impl(); match IStorageProviderKnownFolderSyncInfoSource_Impl::GetKnownFolderSyncInfo(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -57,7 +57,7 @@ impl IStorageProviderKnownFolderSyncInfoSource_Vtbl { let this = (*this).get_impl(); match IStorageProviderKnownFolderSyncInfoSource_Impl::KnownFolderSyncInfoChanged(this, windows_core::from_raw_borrowed(&handler)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -92,7 +92,7 @@ impl IStorageProviderKnownFolderSyncInfoSourceFactory_Vtbl { let this = (*this).get_impl(); match IStorageProviderKnownFolderSyncInfoSourceFactory_Impl::GetKnownFolderSyncInfoSource(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -121,7 +121,7 @@ impl IStorageProviderPropertyCapabilities_Vtbl { let this = (*this).get_impl(); match IStorageProviderPropertyCapabilities_Impl::IsPropertySupported(this, core::mem::transmute(&propertycanonicalname)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -151,7 +151,7 @@ impl IStorageProviderStatusUISource_Vtbl { let this = (*this).get_impl(); match IStorageProviderStatusUISource_Impl::GetStatusUI(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -163,7 +163,7 @@ impl IStorageProviderStatusUISource_Vtbl { let this = (*this).get_impl(); match IStorageProviderStatusUISource_Impl::StatusUIChanged(this, windows_core::from_raw_borrowed(&handler)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -198,7 +198,7 @@ impl IStorageProviderStatusUISourceFactory_Vtbl { let this = (*this).get_impl(); match IStorageProviderStatusUISourceFactory_Impl::GetStatusUISource(this, core::mem::transmute(&syncrootid)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -231,7 +231,7 @@ impl IStorageProviderUICommand_Vtbl { let this = (*this).get_impl(); match IStorageProviderUICommand_Impl::Label(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -243,7 +243,7 @@ impl IStorageProviderUICommand_Vtbl { let this = (*this).get_impl(); match IStorageProviderUICommand_Impl::Description(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -255,7 +255,7 @@ impl IStorageProviderUICommand_Vtbl { let this = (*this).get_impl(); match IStorageProviderUICommand_Impl::Icon(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -267,7 +267,7 @@ impl IStorageProviderUICommand_Vtbl { let this = (*this).get_impl(); match IStorageProviderUICommand_Impl::State(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/Storage/Search/impl.rs b/crates/libs/windows/src/Windows/Storage/Search/impl.rs index 910705e467..09ff84a342 100644 --- a/crates/libs/windows/src/Windows/Storage/Search/impl.rs +++ b/crates/libs/windows/src/Windows/Storage/Search/impl.rs @@ -20,7 +20,7 @@ impl IIndexableContent_Vtbl { let this = (*this).get_impl(); match IIndexableContent_Impl::Id(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -37,7 +37,7 @@ impl IIndexableContent_Vtbl { let this = (*this).get_impl(); match IIndexableContent_Impl::Properties(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -49,7 +49,7 @@ impl IIndexableContent_Vtbl { let this = (*this).get_impl(); match IIndexableContent_Impl::Stream(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -66,7 +66,7 @@ impl IIndexableContent_Vtbl { let this = (*this).get_impl(); match IIndexableContent_Impl::StreamContentType(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -125,7 +125,7 @@ impl IStorageFolderQueryOperations_Vtbl { let this = (*this).get_impl(); match IStorageFolderQueryOperations_Impl::GetIndexedStateAsync(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -137,7 +137,7 @@ impl IStorageFolderQueryOperations_Vtbl { let this = (*this).get_impl(); match IStorageFolderQueryOperations_Impl::CreateFileQueryOverloadDefault(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -149,7 +149,7 @@ impl IStorageFolderQueryOperations_Vtbl { let this = (*this).get_impl(); match IStorageFolderQueryOperations_Impl::CreateFileQuery(this, query) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -161,7 +161,7 @@ impl IStorageFolderQueryOperations_Vtbl { let this = (*this).get_impl(); match IStorageFolderQueryOperations_Impl::CreateFileQueryWithOptions(this, windows_core::from_raw_borrowed(&queryoptions)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -173,7 +173,7 @@ impl IStorageFolderQueryOperations_Vtbl { let this = (*this).get_impl(); match IStorageFolderQueryOperations_Impl::CreateFolderQueryOverloadDefault(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -185,7 +185,7 @@ impl IStorageFolderQueryOperations_Vtbl { let this = (*this).get_impl(); match IStorageFolderQueryOperations_Impl::CreateFolderQuery(this, query) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -197,7 +197,7 @@ impl IStorageFolderQueryOperations_Vtbl { let this = (*this).get_impl(); match IStorageFolderQueryOperations_Impl::CreateFolderQueryWithOptions(this, windows_core::from_raw_borrowed(&queryoptions)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -209,7 +209,7 @@ impl IStorageFolderQueryOperations_Vtbl { let this = (*this).get_impl(); match IStorageFolderQueryOperations_Impl::CreateItemQuery(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -221,7 +221,7 @@ impl IStorageFolderQueryOperations_Vtbl { let this = (*this).get_impl(); match IStorageFolderQueryOperations_Impl::CreateItemQueryWithOptions(this, windows_core::from_raw_borrowed(&queryoptions)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -233,7 +233,7 @@ impl IStorageFolderQueryOperations_Vtbl { let this = (*this).get_impl(); match IStorageFolderQueryOperations_Impl::GetFilesAsync(this, query, startindex, maxitemstoretrieve) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -245,7 +245,7 @@ impl IStorageFolderQueryOperations_Vtbl { let this = (*this).get_impl(); match IStorageFolderQueryOperations_Impl::GetFilesAsyncOverloadDefaultStartAndCount(this, query) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -257,7 +257,7 @@ impl IStorageFolderQueryOperations_Vtbl { let this = (*this).get_impl(); match IStorageFolderQueryOperations_Impl::GetFoldersAsync(this, query, startindex, maxitemstoretrieve) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -269,7 +269,7 @@ impl IStorageFolderQueryOperations_Vtbl { let this = (*this).get_impl(); match IStorageFolderQueryOperations_Impl::GetFoldersAsyncOverloadDefaultStartAndCount(this, query) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -281,7 +281,7 @@ impl IStorageFolderQueryOperations_Vtbl { let this = (*this).get_impl(); match IStorageFolderQueryOperations_Impl::GetItemsAsync(this, startindex, maxitemstoretrieve) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -293,7 +293,7 @@ impl IStorageFolderQueryOperations_Vtbl { let this = (*this).get_impl(); match IStorageFolderQueryOperations_Impl::AreQueryOptionsSupported(this, windows_core::from_raw_borrowed(&queryoptions)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -304,7 +304,7 @@ impl IStorageFolderQueryOperations_Vtbl { let this = (*this).get_impl(); match IStorageFolderQueryOperations_Impl::IsCommonFolderQuerySupported(this, query) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -315,7 +315,7 @@ impl IStorageFolderQueryOperations_Vtbl { let this = (*this).get_impl(); match IStorageFolderQueryOperations_Impl::IsCommonFileQuerySupported(this, query) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -367,7 +367,7 @@ impl IStorageQueryResultBase_Vtbl { let this = (*this).get_impl(); match IStorageQueryResultBase_Impl::GetItemCountAsync(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -379,7 +379,7 @@ impl IStorageQueryResultBase_Vtbl { let this = (*this).get_impl(); match IStorageQueryResultBase_Impl::Folder(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -391,7 +391,7 @@ impl IStorageQueryResultBase_Vtbl { let this = (*this).get_impl(); match IStorageQueryResultBase_Impl::ContentsChanged(this, windows_core::from_raw_borrowed(&handler)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -407,7 +407,7 @@ impl IStorageQueryResultBase_Vtbl { let this = (*this).get_impl(); match IStorageQueryResultBase_Impl::OptionsChanged(this, windows_core::from_raw_borrowed(&changedhandler)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -423,7 +423,7 @@ impl IStorageQueryResultBase_Vtbl { let this = (*this).get_impl(); match IStorageQueryResultBase_Impl::FindStartIndexAsync(this, windows_core::from_raw_borrowed(&value)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -435,7 +435,7 @@ impl IStorageQueryResultBase_Vtbl { let this = (*this).get_impl(); match IStorageQueryResultBase_Impl::GetCurrentQueryOptions(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } diff --git a/crates/libs/windows/src/Windows/Storage/Streams/impl.rs b/crates/libs/windows/src/Windows/Storage/Streams/impl.rs index a10d5e1e50..2bbd1899c4 100644 --- a/crates/libs/windows/src/Windows/Storage/Streams/impl.rs +++ b/crates/libs/windows/src/Windows/Storage/Streams/impl.rs @@ -13,7 +13,7 @@ impl IBuffer_Vtbl { let this = (*this).get_impl(); match IBuffer_Impl::Capacity(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -24,7 +24,7 @@ impl IBuffer_Vtbl { let this = (*this).get_impl(); match IBuffer_Impl::Length(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -59,7 +59,7 @@ impl IContentTypeProvider_Vtbl { let this = (*this).get_impl(); match IContentTypeProvider_Impl::ContentType(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -110,7 +110,7 @@ impl IDataReader_Vtbl { let this = (*this).get_impl(); match IDataReader_Impl::UnconsumedBufferLength(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -121,7 +121,7 @@ impl IDataReader_Vtbl { let this = (*this).get_impl(); match IDataReader_Impl::UnicodeEncoding(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -137,7 +137,7 @@ impl IDataReader_Vtbl { let this = (*this).get_impl(); match IDataReader_Impl::ByteOrder(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -153,7 +153,7 @@ impl IDataReader_Vtbl { let this = (*this).get_impl(); match IDataReader_Impl::InputStreamOptions(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -169,7 +169,7 @@ impl IDataReader_Vtbl { let this = (*this).get_impl(); match IDataReader_Impl::ReadByte(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -185,7 +185,7 @@ impl IDataReader_Vtbl { let this = (*this).get_impl(); match IDataReader_Impl::ReadBuffer(this, length) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -197,7 +197,7 @@ impl IDataReader_Vtbl { let this = (*this).get_impl(); match IDataReader_Impl::ReadBoolean(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -208,7 +208,7 @@ impl IDataReader_Vtbl { let this = (*this).get_impl(); match IDataReader_Impl::ReadGuid(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -219,7 +219,7 @@ impl IDataReader_Vtbl { let this = (*this).get_impl(); match IDataReader_Impl::ReadInt16(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -230,7 +230,7 @@ impl IDataReader_Vtbl { let this = (*this).get_impl(); match IDataReader_Impl::ReadInt32(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -241,7 +241,7 @@ impl IDataReader_Vtbl { let this = (*this).get_impl(); match IDataReader_Impl::ReadInt64(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -252,7 +252,7 @@ impl IDataReader_Vtbl { let this = (*this).get_impl(); match IDataReader_Impl::ReadUInt16(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -263,7 +263,7 @@ impl IDataReader_Vtbl { let this = (*this).get_impl(); match IDataReader_Impl::ReadUInt32(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -274,7 +274,7 @@ impl IDataReader_Vtbl { let this = (*this).get_impl(); match IDataReader_Impl::ReadUInt64(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -285,7 +285,7 @@ impl IDataReader_Vtbl { let this = (*this).get_impl(); match IDataReader_Impl::ReadSingle(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -296,7 +296,7 @@ impl IDataReader_Vtbl { let this = (*this).get_impl(); match IDataReader_Impl::ReadDouble(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -307,7 +307,7 @@ impl IDataReader_Vtbl { let this = (*this).get_impl(); match IDataReader_Impl::ReadString(this, codeunitcount) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -319,7 +319,7 @@ impl IDataReader_Vtbl { let this = (*this).get_impl(); match IDataReader_Impl::ReadDateTime(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -330,7 +330,7 @@ impl IDataReader_Vtbl { let this = (*this).get_impl(); match IDataReader_Impl::ReadTimeSpan(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -341,7 +341,7 @@ impl IDataReader_Vtbl { let this = (*this).get_impl(); match IDataReader_Impl::LoadAsync(this, count) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -353,7 +353,7 @@ impl IDataReader_Vtbl { let this = (*this).get_impl(); match IDataReader_Impl::DetachBuffer(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -365,7 +365,7 @@ impl IDataReader_Vtbl { let this = (*this).get_impl(); match IDataReader_Impl::DetachStream(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -445,7 +445,7 @@ impl IDataWriter_Vtbl { let this = (*this).get_impl(); match IDataWriter_Impl::UnstoredBufferLength(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -456,7 +456,7 @@ impl IDataWriter_Vtbl { let this = (*this).get_impl(); match IDataWriter_Impl::UnicodeEncoding(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -472,7 +472,7 @@ impl IDataWriter_Vtbl { let this = (*this).get_impl(); match IDataWriter_Impl::ByteOrder(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -568,7 +568,7 @@ impl IDataWriter_Vtbl { let this = (*this).get_impl(); match IDataWriter_Impl::WriteString(this, core::mem::transmute(&value)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -579,7 +579,7 @@ impl IDataWriter_Vtbl { let this = (*this).get_impl(); match IDataWriter_Impl::MeasureString(this, core::mem::transmute(&value)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -590,7 +590,7 @@ impl IDataWriter_Vtbl { let this = (*this).get_impl(); match IDataWriter_Impl::StoreAsync(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -602,7 +602,7 @@ impl IDataWriter_Vtbl { let this = (*this).get_impl(); match IDataWriter_Impl::FlushAsync(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -614,7 +614,7 @@ impl IDataWriter_Vtbl { let this = (*this).get_impl(); match IDataWriter_Impl::DetachBuffer(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -626,7 +626,7 @@ impl IDataWriter_Vtbl { let this = (*this).get_impl(); match IDataWriter_Impl::DetachStream(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -681,7 +681,7 @@ impl IInputStream_Vtbl { let this = (*this).get_impl(); match IInputStream_Impl::ReadAsync(this, windows_core::from_raw_borrowed(&buffer), count, options) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -707,7 +707,7 @@ impl IInputStreamReference_Vtbl { let this = (*this).get_impl(); match IInputStreamReference_Impl::OpenSequentialReadAsync(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -737,7 +737,7 @@ impl IOutputStream_Vtbl { let this = (*this).get_impl(); match IOutputStream_Impl::WriteAsync(this, windows_core::from_raw_borrowed(&buffer)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -749,7 +749,7 @@ impl IOutputStream_Vtbl { let this = (*this).get_impl(); match IOutputStream_Impl::FlushAsync(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -783,7 +783,7 @@ impl IPropertySetSerializer_Vtbl { let this = (*this).get_impl(); match IPropertySetSerializer_Impl::Serialize(this, windows_core::from_raw_borrowed(&propertyset)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -826,7 +826,7 @@ impl IRandomAccessStream_Vtbl { let this = (*this).get_impl(); match IRandomAccessStream_Impl::Size(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -842,7 +842,7 @@ impl IRandomAccessStream_Vtbl { let this = (*this).get_impl(); match IRandomAccessStream_Impl::GetInputStreamAt(this, position) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -854,7 +854,7 @@ impl IRandomAccessStream_Vtbl { let this = (*this).get_impl(); match IRandomAccessStream_Impl::GetOutputStreamAt(this, position) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -866,7 +866,7 @@ impl IRandomAccessStream_Vtbl { let this = (*this).get_impl(); match IRandomAccessStream_Impl::Position(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -882,7 +882,7 @@ impl IRandomAccessStream_Vtbl { let this = (*this).get_impl(); match IRandomAccessStream_Impl::CloneStream(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -894,7 +894,7 @@ impl IRandomAccessStream_Vtbl { let this = (*this).get_impl(); match IRandomAccessStream_Impl::CanRead(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -905,7 +905,7 @@ impl IRandomAccessStream_Vtbl { let this = (*this).get_impl(); match IRandomAccessStream_Impl::CanWrite(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -941,7 +941,7 @@ impl IRandomAccessStreamReference_Vtbl { let this = (*this).get_impl(); match IRandomAccessStreamReference_Impl::OpenReadAsync(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } diff --git a/crates/libs/windows/src/Windows/Storage/impl.rs b/crates/libs/windows/src/Windows/Storage/impl.rs index bbd3e8b25f..a0b0c03930 100644 --- a/crates/libs/windows/src/Windows/Storage/impl.rs +++ b/crates/libs/windows/src/Windows/Storage/impl.rs @@ -25,7 +25,7 @@ impl IStorageFile_Vtbl { let this = (*this).get_impl(); match IStorageFile_Impl::FileType(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -37,7 +37,7 @@ impl IStorageFile_Vtbl { let this = (*this).get_impl(); match IStorageFile_Impl::ContentType(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -49,7 +49,7 @@ impl IStorageFile_Vtbl { let this = (*this).get_impl(); match IStorageFile_Impl::OpenAsync(this, accessmode) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -61,7 +61,7 @@ impl IStorageFile_Vtbl { let this = (*this).get_impl(); match IStorageFile_Impl::OpenTransactedWriteAsync(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -73,7 +73,7 @@ impl IStorageFile_Vtbl { let this = (*this).get_impl(); match IStorageFile_Impl::CopyOverloadDefaultNameAndOptions(this, windows_core::from_raw_borrowed(&destinationfolder)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -85,7 +85,7 @@ impl IStorageFile_Vtbl { let this = (*this).get_impl(); match IStorageFile_Impl::CopyOverloadDefaultOptions(this, windows_core::from_raw_borrowed(&destinationfolder), core::mem::transmute(&desirednewname)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -97,7 +97,7 @@ impl IStorageFile_Vtbl { let this = (*this).get_impl(); match IStorageFile_Impl::CopyOverload(this, windows_core::from_raw_borrowed(&destinationfolder), core::mem::transmute(&desirednewname), option) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -109,7 +109,7 @@ impl IStorageFile_Vtbl { let this = (*this).get_impl(); match IStorageFile_Impl::CopyAndReplaceAsync(this, windows_core::from_raw_borrowed(&filetoreplace)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -121,7 +121,7 @@ impl IStorageFile_Vtbl { let this = (*this).get_impl(); match IStorageFile_Impl::MoveOverloadDefaultNameAndOptions(this, windows_core::from_raw_borrowed(&destinationfolder)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -133,7 +133,7 @@ impl IStorageFile_Vtbl { let this = (*this).get_impl(); match IStorageFile_Impl::MoveOverloadDefaultOptions(this, windows_core::from_raw_borrowed(&destinationfolder), core::mem::transmute(&desirednewname)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -145,7 +145,7 @@ impl IStorageFile_Vtbl { let this = (*this).get_impl(); match IStorageFile_Impl::MoveOverload(this, windows_core::from_raw_borrowed(&destinationfolder), core::mem::transmute(&desirednewname), option) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -157,7 +157,7 @@ impl IStorageFile_Vtbl { let this = (*this).get_impl(); match IStorageFile_Impl::MoveAndReplaceAsync(this, windows_core::from_raw_borrowed(&filetoreplace)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -201,7 +201,7 @@ impl IStorageFile2_Vtbl { let this = (*this).get_impl(); match IStorageFile2_Impl::OpenWithOptionsAsync(this, accessmode, options) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -213,7 +213,7 @@ impl IStorageFile2_Vtbl { let this = (*this).get_impl(); match IStorageFile2_Impl::OpenTransactedWriteWithOptionsAsync(this, options) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -243,7 +243,7 @@ impl IStorageFilePropertiesWithAvailability_Vtbl { let this = (*this).get_impl(); match IStorageFilePropertiesWithAvailability_Impl::IsAvailable(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -283,7 +283,7 @@ impl IStorageFolder_Vtbl { let this = (*this).get_impl(); match IStorageFolder_Impl::CreateFileAsyncOverloadDefaultOptions(this, core::mem::transmute(&desiredname)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -295,7 +295,7 @@ impl IStorageFolder_Vtbl { let this = (*this).get_impl(); match IStorageFolder_Impl::CreateFileAsync(this, core::mem::transmute(&desiredname), options) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -307,7 +307,7 @@ impl IStorageFolder_Vtbl { let this = (*this).get_impl(); match IStorageFolder_Impl::CreateFolderAsyncOverloadDefaultOptions(this, core::mem::transmute(&desiredname)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -319,7 +319,7 @@ impl IStorageFolder_Vtbl { let this = (*this).get_impl(); match IStorageFolder_Impl::CreateFolderAsync(this, core::mem::transmute(&desiredname), options) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -331,7 +331,7 @@ impl IStorageFolder_Vtbl { let this = (*this).get_impl(); match IStorageFolder_Impl::GetFileAsync(this, core::mem::transmute(&name)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -343,7 +343,7 @@ impl IStorageFolder_Vtbl { let this = (*this).get_impl(); match IStorageFolder_Impl::GetFolderAsync(this, core::mem::transmute(&name)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -355,7 +355,7 @@ impl IStorageFolder_Vtbl { let this = (*this).get_impl(); match IStorageFolder_Impl::GetItemAsync(this, core::mem::transmute(&name)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -367,7 +367,7 @@ impl IStorageFolder_Vtbl { let this = (*this).get_impl(); match IStorageFolder_Impl::GetFilesAsyncOverloadDefaultOptionsStartAndCount(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -379,7 +379,7 @@ impl IStorageFolder_Vtbl { let this = (*this).get_impl(); match IStorageFolder_Impl::GetFoldersAsyncOverloadDefaultOptionsStartAndCount(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -391,7 +391,7 @@ impl IStorageFolder_Vtbl { let this = (*this).get_impl(); match IStorageFolder_Impl::GetItemsAsyncOverloadDefaultStartAndCount(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -429,7 +429,7 @@ impl IStorageFolder2_Vtbl { let this = (*this).get_impl(); match IStorageFolder2_Impl::TryGetItemAsync(this, core::mem::transmute(&name)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -467,7 +467,7 @@ impl IStorageItem_Vtbl { let this = (*this).get_impl(); match IStorageItem_Impl::RenameAsyncOverloadDefaultOptions(this, core::mem::transmute(&desiredname)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -479,7 +479,7 @@ impl IStorageItem_Vtbl { let this = (*this).get_impl(); match IStorageItem_Impl::RenameAsync(this, core::mem::transmute(&desiredname), option) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -491,7 +491,7 @@ impl IStorageItem_Vtbl { let this = (*this).get_impl(); match IStorageItem_Impl::DeleteAsyncOverloadDefaultOptions(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -503,7 +503,7 @@ impl IStorageItem_Vtbl { let this = (*this).get_impl(); match IStorageItem_Impl::DeleteAsync(this, option) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -515,7 +515,7 @@ impl IStorageItem_Vtbl { let this = (*this).get_impl(); match IStorageItem_Impl::GetBasicPropertiesAsync(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -527,7 +527,7 @@ impl IStorageItem_Vtbl { let this = (*this).get_impl(); match IStorageItem_Impl::Name(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -539,7 +539,7 @@ impl IStorageItem_Vtbl { let this = (*this).get_impl(); match IStorageItem_Impl::Path(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -551,7 +551,7 @@ impl IStorageItem_Vtbl { let this = (*this).get_impl(); match IStorageItem_Impl::Attributes(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -562,7 +562,7 @@ impl IStorageItem_Vtbl { let this = (*this).get_impl(); match IStorageItem_Impl::DateCreated(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -573,7 +573,7 @@ impl IStorageItem_Vtbl { let this = (*this).get_impl(); match IStorageItem_Impl::IsOfType(this, r#type) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -614,7 +614,7 @@ impl IStorageItem2_Vtbl { let this = (*this).get_impl(); match IStorageItem2_Impl::GetParentAsync(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -626,7 +626,7 @@ impl IStorageItem2_Vtbl { let this = (*this).get_impl(); match IStorageItem2_Impl::IsEqual(this, windows_core::from_raw_borrowed(&item)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -664,7 +664,7 @@ impl IStorageItemProperties_Vtbl { let this = (*this).get_impl(); match IStorageItemProperties_Impl::GetThumbnailAsyncOverloadDefaultSizeDefaultOptions(this, mode) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -676,7 +676,7 @@ impl IStorageItemProperties_Vtbl { let this = (*this).get_impl(); match IStorageItemProperties_Impl::GetThumbnailAsyncOverloadDefaultOptions(this, mode, requestedsize) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -688,7 +688,7 @@ impl IStorageItemProperties_Vtbl { let this = (*this).get_impl(); match IStorageItemProperties_Impl::GetThumbnailAsync(this, mode, requestedsize, options) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -700,7 +700,7 @@ impl IStorageItemProperties_Vtbl { let this = (*this).get_impl(); match IStorageItemProperties_Impl::DisplayName(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -712,7 +712,7 @@ impl IStorageItemProperties_Vtbl { let this = (*this).get_impl(); match IStorageItemProperties_Impl::DisplayType(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -724,7 +724,7 @@ impl IStorageItemProperties_Vtbl { let this = (*this).get_impl(); match IStorageItemProperties_Impl::FolderRelativeId(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -736,7 +736,7 @@ impl IStorageItemProperties_Vtbl { let this = (*this).get_impl(); match IStorageItemProperties_Impl::Properties(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -776,7 +776,7 @@ impl IStorageItemProperties2_Vtbl { let this = (*this).get_impl(); match IStorageItemProperties2_Impl::GetScaledImageAsThumbnailAsyncOverloadDefaultSizeDefaultOptions(this, mode) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -788,7 +788,7 @@ impl IStorageItemProperties2_Vtbl { let this = (*this).get_impl(); match IStorageItemProperties2_Impl::GetScaledImageAsThumbnailAsyncOverloadDefaultOptions(this, mode, requestedsize) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -800,7 +800,7 @@ impl IStorageItemProperties2_Vtbl { let this = (*this).get_impl(); match IStorageItemProperties2_Impl::GetScaledImageAsThumbnailAsync(this, mode, requestedsize, options) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -834,7 +834,7 @@ impl IStorageItemPropertiesWithProvider_Vtbl { let this = (*this).get_impl(); match IStorageItemPropertiesWithProvider_Impl::Provider(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } diff --git a/crates/libs/windows/src/Windows/System/Implementation/FileExplorer/impl.rs b/crates/libs/windows/src/Windows/System/Implementation/FileExplorer/impl.rs index f541cd7b2e..4df4b44f1c 100644 --- a/crates/libs/windows/src/Windows/System/Implementation/FileExplorer/impl.rs +++ b/crates/libs/windows/src/Windows/System/Implementation/FileExplorer/impl.rs @@ -12,7 +12,7 @@ impl ISysStorageProviderEventSource_Vtbl { let this = (*this).get_impl(); match ISysStorageProviderEventSource_Impl::EventReceived(this, windows_core::from_raw_borrowed(&handler)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -47,7 +47,7 @@ impl ISysStorageProviderHandlerFactory_Vtbl { let this = (*this).get_impl(); match ISysStorageProviderHandlerFactory_Impl::GetHttpRequestProvider(this, core::mem::transmute(&syncrootid)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -59,7 +59,7 @@ impl ISysStorageProviderHandlerFactory_Vtbl { let this = (*this).get_impl(); match ISysStorageProviderHandlerFactory_Impl::GetEventSource(this, core::mem::transmute(&syncrootid), core::mem::transmute(&eventname)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -92,7 +92,7 @@ impl ISysStorageProviderHttpRequestProvider_Vtbl { let this = (*this).get_impl(); match ISysStorageProviderHttpRequestProvider_Impl::SendRequestAsync(this, windows_core::from_raw_borrowed(&request)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } 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 6a0759b271..ceed59405b 100644 --- a/crates/libs/windows/src/Windows/System/RemoteDesktop/Input/mod.rs +++ b/crates/libs/windows/src/Windows/System/RemoteDesktop/Input/mod.rs @@ -131,7 +131,7 @@ impl windows_core::Result + Send + 'static> RemoteTextC let this = &mut *(this as *mut *mut core::ffi::c_void as *mut Self); match (this.invoke)(core::slice::from_raw_parts(core::mem::transmute_copy(&pdudata), pduData_array_size as usize)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/System/impl.rs b/crates/libs/windows/src/Windows/System/impl.rs index 1f564e8c41..a859817665 100644 --- a/crates/libs/windows/src/Windows/System/impl.rs +++ b/crates/libs/windows/src/Windows/System/impl.rs @@ -15,7 +15,7 @@ impl ILauncherViewOptions_Vtbl { let this = (*this).get_impl(); match ILauncherViewOptions_Impl::DesiredRemainingView(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/UI/Composition/impl.rs b/crates/libs/windows/src/Windows/UI/Composition/impl.rs index 8f91f1d4a6..109b004e29 100644 --- a/crates/libs/windows/src/Windows/UI/Composition/impl.rs +++ b/crates/libs/windows/src/Windows/UI/Composition/impl.rs @@ -46,7 +46,7 @@ impl ICompositionSupportsSystemBackdrop_Vtbl { let this = (*this).get_impl(); match ICompositionSupportsSystemBackdrop_Impl::SystemBackdrop(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -93,7 +93,7 @@ impl ICompositionSurfaceFacade_Vtbl { let this = (*this).get_impl(); match ICompositionSurfaceFacade_Impl::GetRealSurface(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -134,7 +134,7 @@ impl IVisualElement2_Vtbl { let this = (*this).get_impl(); match IVisualElement2_Impl::GetVisualInternal(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } diff --git a/crates/libs/windows/src/Windows/UI/Core/AnimationMetrics/impl.rs b/crates/libs/windows/src/Windows/UI/Core/AnimationMetrics/impl.rs index e32d810113..3ef586ea1b 100644 --- a/crates/libs/windows/src/Windows/UI/Core/AnimationMetrics/impl.rs +++ b/crates/libs/windows/src/Windows/UI/Core/AnimationMetrics/impl.rs @@ -15,7 +15,7 @@ impl IPropertyAnimation_Vtbl { let this = (*this).get_impl(); match IPropertyAnimation_Impl::Type(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -26,7 +26,7 @@ impl IPropertyAnimation_Vtbl { let this = (*this).get_impl(); match IPropertyAnimation_Impl::Delay(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -37,7 +37,7 @@ impl IPropertyAnimation_Vtbl { let this = (*this).get_impl(); match IPropertyAnimation_Impl::Duration(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -48,7 +48,7 @@ impl IPropertyAnimation_Vtbl { let this = (*this).get_impl(); match IPropertyAnimation_Impl::Control1(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -59,7 +59,7 @@ impl IPropertyAnimation_Vtbl { let this = (*this).get_impl(); match IPropertyAnimation_Impl::Control2(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/UI/Core/impl.rs b/crates/libs/windows/src/Windows/UI/Core/impl.rs index eb6af9fe70..ddf8d7296e 100644 --- a/crates/libs/windows/src/Windows/UI/Core/impl.rs +++ b/crates/libs/windows/src/Windows/UI/Core/impl.rs @@ -12,7 +12,7 @@ impl ICoreAcceleratorKeys_Vtbl { let this = (*this).get_impl(); match ICoreAcceleratorKeys_Impl::AcceleratorKeyActivated(this, windows_core::from_raw_borrowed(&handler)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -50,7 +50,7 @@ impl ICoreInputSourceBase_Vtbl { let this = (*this).get_impl(); match ICoreInputSourceBase_Impl::Dispatcher(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -62,7 +62,7 @@ impl ICoreInputSourceBase_Vtbl { let this = (*this).get_impl(); match ICoreInputSourceBase_Impl::IsInputEnabled(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -78,7 +78,7 @@ impl ICoreInputSourceBase_Vtbl { let this = (*this).get_impl(); match ICoreInputSourceBase_Impl::InputEnabled(this, windows_core::from_raw_borrowed(&handler)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -144,7 +144,7 @@ impl ICorePointerInputSource_Vtbl { let this = (*this).get_impl(); match ICorePointerInputSource_Impl::HasCapture(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -155,7 +155,7 @@ impl ICorePointerInputSource_Vtbl { let this = (*this).get_impl(); match ICorePointerInputSource_Impl::PointerPosition(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -166,7 +166,7 @@ impl ICorePointerInputSource_Vtbl { let this = (*this).get_impl(); match ICorePointerInputSource_Impl::PointerCursor(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -183,7 +183,7 @@ impl ICorePointerInputSource_Vtbl { let this = (*this).get_impl(); match ICorePointerInputSource_Impl::PointerCaptureLost(this, windows_core::from_raw_borrowed(&handler)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -199,7 +199,7 @@ impl ICorePointerInputSource_Vtbl { let this = (*this).get_impl(); match ICorePointerInputSource_Impl::PointerEntered(this, windows_core::from_raw_borrowed(&handler)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -215,7 +215,7 @@ impl ICorePointerInputSource_Vtbl { let this = (*this).get_impl(); match ICorePointerInputSource_Impl::PointerExited(this, windows_core::from_raw_borrowed(&handler)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -231,7 +231,7 @@ impl ICorePointerInputSource_Vtbl { let this = (*this).get_impl(); match ICorePointerInputSource_Impl::PointerMoved(this, windows_core::from_raw_borrowed(&handler)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -247,7 +247,7 @@ impl ICorePointerInputSource_Vtbl { let this = (*this).get_impl(); match ICorePointerInputSource_Impl::PointerPressed(this, windows_core::from_raw_borrowed(&handler)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -263,7 +263,7 @@ impl ICorePointerInputSource_Vtbl { let this = (*this).get_impl(); match ICorePointerInputSource_Impl::PointerReleased(this, windows_core::from_raw_borrowed(&handler)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -279,7 +279,7 @@ impl ICorePointerInputSource_Vtbl { let this = (*this).get_impl(); match ICorePointerInputSource_Impl::PointerWheelChanged(this, windows_core::from_raw_borrowed(&handler)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -334,7 +334,7 @@ impl ICorePointerInputSource2_Vtbl { let this = (*this).get_impl(); match ICorePointerInputSource2_Impl::DispatcherQueue(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -368,7 +368,7 @@ impl ICorePointerRedirector_Vtbl { let this = (*this).get_impl(); match ICorePointerRedirector_Impl::PointerRoutedAway(this, windows_core::from_raw_borrowed(&handler)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -384,7 +384,7 @@ impl ICorePointerRedirector_Vtbl { let this = (*this).get_impl(); match ICorePointerRedirector_Impl::PointerRoutedTo(this, windows_core::from_raw_borrowed(&handler)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -400,7 +400,7 @@ impl ICorePointerRedirector_Vtbl { let this = (*this).get_impl(); match ICorePointerRedirector_Impl::PointerRoutedReleased(this, windows_core::from_raw_borrowed(&handler)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -492,7 +492,7 @@ impl ICoreWindow_Vtbl { let this = (*this).get_impl(); match ICoreWindow_Impl::AutomationHostProvider(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -504,7 +504,7 @@ impl ICoreWindow_Vtbl { let this = (*this).get_impl(); match ICoreWindow_Impl::Bounds(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -515,7 +515,7 @@ impl ICoreWindow_Vtbl { let this = (*this).get_impl(); match ICoreWindow_Impl::CustomProperties(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -527,7 +527,7 @@ impl ICoreWindow_Vtbl { let this = (*this).get_impl(); match ICoreWindow_Impl::Dispatcher(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -539,7 +539,7 @@ impl ICoreWindow_Vtbl { let this = (*this).get_impl(); match ICoreWindow_Impl::FlowDirection(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -555,7 +555,7 @@ impl ICoreWindow_Vtbl { let this = (*this).get_impl(); match ICoreWindow_Impl::IsInputEnabled(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -571,7 +571,7 @@ impl ICoreWindow_Vtbl { let this = (*this).get_impl(); match ICoreWindow_Impl::PointerCursor(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -588,7 +588,7 @@ impl ICoreWindow_Vtbl { let this = (*this).get_impl(); match ICoreWindow_Impl::PointerPosition(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -599,7 +599,7 @@ impl ICoreWindow_Vtbl { let this = (*this).get_impl(); match ICoreWindow_Impl::Visible(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -620,7 +620,7 @@ impl ICoreWindow_Vtbl { let this = (*this).get_impl(); match ICoreWindow_Impl::GetAsyncKeyState(this, virtualkey) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -631,7 +631,7 @@ impl ICoreWindow_Vtbl { let this = (*this).get_impl(); match ICoreWindow_Impl::GetKeyState(this, virtualkey) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -652,7 +652,7 @@ impl ICoreWindow_Vtbl { let this = (*this).get_impl(); match ICoreWindow_Impl::Activated(this, windows_core::from_raw_borrowed(&handler)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -668,7 +668,7 @@ impl ICoreWindow_Vtbl { let this = (*this).get_impl(); match ICoreWindow_Impl::AutomationProviderRequested(this, windows_core::from_raw_borrowed(&handler)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -684,7 +684,7 @@ impl ICoreWindow_Vtbl { let this = (*this).get_impl(); match ICoreWindow_Impl::CharacterReceived(this, windows_core::from_raw_borrowed(&handler)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -700,7 +700,7 @@ impl ICoreWindow_Vtbl { let this = (*this).get_impl(); match ICoreWindow_Impl::Closed(this, windows_core::from_raw_borrowed(&handler)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -716,7 +716,7 @@ impl ICoreWindow_Vtbl { let this = (*this).get_impl(); match ICoreWindow_Impl::InputEnabled(this, windows_core::from_raw_borrowed(&handler)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -732,7 +732,7 @@ impl ICoreWindow_Vtbl { let this = (*this).get_impl(); match ICoreWindow_Impl::KeyDown(this, windows_core::from_raw_borrowed(&handler)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -748,7 +748,7 @@ impl ICoreWindow_Vtbl { let this = (*this).get_impl(); match ICoreWindow_Impl::KeyUp(this, windows_core::from_raw_borrowed(&handler)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -764,7 +764,7 @@ impl ICoreWindow_Vtbl { let this = (*this).get_impl(); match ICoreWindow_Impl::PointerCaptureLost(this, windows_core::from_raw_borrowed(&handler)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -780,7 +780,7 @@ impl ICoreWindow_Vtbl { let this = (*this).get_impl(); match ICoreWindow_Impl::PointerEntered(this, windows_core::from_raw_borrowed(&handler)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -796,7 +796,7 @@ impl ICoreWindow_Vtbl { let this = (*this).get_impl(); match ICoreWindow_Impl::PointerExited(this, windows_core::from_raw_borrowed(&handler)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -812,7 +812,7 @@ impl ICoreWindow_Vtbl { let this = (*this).get_impl(); match ICoreWindow_Impl::PointerMoved(this, windows_core::from_raw_borrowed(&handler)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -828,7 +828,7 @@ impl ICoreWindow_Vtbl { let this = (*this).get_impl(); match ICoreWindow_Impl::PointerPressed(this, windows_core::from_raw_borrowed(&handler)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -844,7 +844,7 @@ impl ICoreWindow_Vtbl { let this = (*this).get_impl(); match ICoreWindow_Impl::PointerReleased(this, windows_core::from_raw_borrowed(&handler)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -860,7 +860,7 @@ impl ICoreWindow_Vtbl { let this = (*this).get_impl(); match ICoreWindow_Impl::TouchHitTesting(this, windows_core::from_raw_borrowed(&handler)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -876,7 +876,7 @@ impl ICoreWindow_Vtbl { let this = (*this).get_impl(); match ICoreWindow_Impl::PointerWheelChanged(this, windows_core::from_raw_borrowed(&handler)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -892,7 +892,7 @@ impl ICoreWindow_Vtbl { let this = (*this).get_impl(); match ICoreWindow_Impl::SizeChanged(this, windows_core::from_raw_borrowed(&handler)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -908,7 +908,7 @@ impl ICoreWindow_Vtbl { let this = (*this).get_impl(); match ICoreWindow_Impl::VisibilityChanged(this, windows_core::from_raw_borrowed(&handler)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -993,7 +993,7 @@ impl ICoreWindowEventArgs_Vtbl { let this = (*this).get_impl(); match ICoreWindowEventArgs_Impl::Handled(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/UI/Input/Inking/Analysis/impl.rs b/crates/libs/windows/src/Windows/UI/Input/Inking/Analysis/impl.rs index 8ef0c58548..49555fa6b7 100644 --- a/crates/libs/windows/src/Windows/UI/Input/Inking/Analysis/impl.rs +++ b/crates/libs/windows/src/Windows/UI/Input/Inking/Analysis/impl.rs @@ -20,7 +20,7 @@ impl IInkAnalysisNode_Vtbl { let this = (*this).get_impl(); match IInkAnalysisNode_Impl::Id(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -31,7 +31,7 @@ impl IInkAnalysisNode_Vtbl { let this = (*this).get_impl(); match IInkAnalysisNode_Impl::Kind(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -42,7 +42,7 @@ impl IInkAnalysisNode_Vtbl { let this = (*this).get_impl(); match IInkAnalysisNode_Impl::BoundingRect(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -53,7 +53,7 @@ impl IInkAnalysisNode_Vtbl { let this = (*this).get_impl(); match IInkAnalysisNode_Impl::RotatedBoundingRect(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -65,7 +65,7 @@ impl IInkAnalysisNode_Vtbl { let this = (*this).get_impl(); match IInkAnalysisNode_Impl::Children(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -77,7 +77,7 @@ impl IInkAnalysisNode_Vtbl { let this = (*this).get_impl(); match IInkAnalysisNode_Impl::Parent(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -89,7 +89,7 @@ impl IInkAnalysisNode_Vtbl { let this = (*this).get_impl(); match IInkAnalysisNode_Impl::GetStrokeIds(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -124,7 +124,7 @@ impl IInkAnalyzerFactory_Vtbl { let this = (*this).get_impl(); match IInkAnalyzerFactory_Impl::CreateAnalyzer(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } diff --git a/crates/libs/windows/src/Windows/UI/Input/Inking/impl.rs b/crates/libs/windows/src/Windows/UI/Input/Inking/impl.rs index 3fac976e6c..0caf091c7f 100644 --- a/crates/libs/windows/src/Windows/UI/Input/Inking/impl.rs +++ b/crates/libs/windows/src/Windows/UI/Input/Inking/impl.rs @@ -11,7 +11,7 @@ impl IInkPointFactory_Vtbl { let this = (*this).get_impl(); match IInkPointFactory_Impl::CreateInkPoint(this, core::mem::transmute(&position), pressure) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -37,7 +37,7 @@ impl IInkPresenterRulerFactory_Vtbl { let this = (*this).get_impl(); match IInkPresenterRulerFactory_Impl::Create(this, windows_core::from_raw_borrowed(&inkpresenter)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -74,7 +74,7 @@ impl IInkPresenterStencil_Vtbl { let this = (*this).get_impl(); match IInkPresenterStencil_Impl::Kind(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -85,7 +85,7 @@ impl IInkPresenterStencil_Vtbl { let this = (*this).get_impl(); match IInkPresenterStencil_Impl::IsVisible(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -101,7 +101,7 @@ impl IInkPresenterStencil_Vtbl { let this = (*this).get_impl(); match IInkPresenterStencil_Impl::BackgroundColor(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -117,7 +117,7 @@ impl IInkPresenterStencil_Vtbl { let this = (*this).get_impl(); match IInkPresenterStencil_Impl::ForegroundColor(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -133,7 +133,7 @@ impl IInkPresenterStencil_Vtbl { let this = (*this).get_impl(); match IInkPresenterStencil_Impl::Transform(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -184,7 +184,7 @@ impl IInkRecognizerContainer_Vtbl { let this = (*this).get_impl(); match IInkRecognizerContainer_Impl::RecognizeAsync(this, windows_core::from_raw_borrowed(&strokecollection), recognitiontarget) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -196,7 +196,7 @@ impl IInkRecognizerContainer_Vtbl { let this = (*this).get_impl(); match IInkRecognizerContainer_Impl::GetRecognizers(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -243,7 +243,7 @@ impl IInkStrokeContainer_Vtbl { let this = (*this).get_impl(); match IInkStrokeContainer_Impl::BoundingRect(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -259,7 +259,7 @@ impl IInkStrokeContainer_Vtbl { let this = (*this).get_impl(); match IInkStrokeContainer_Impl::DeleteSelected(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -270,7 +270,7 @@ impl IInkStrokeContainer_Vtbl { let this = (*this).get_impl(); match IInkStrokeContainer_Impl::MoveSelected(this, core::mem::transmute(&translation)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -281,7 +281,7 @@ impl IInkStrokeContainer_Vtbl { let this = (*this).get_impl(); match IInkStrokeContainer_Impl::SelectWithPolyLine(this, windows_core::from_raw_borrowed(&polyline)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -292,7 +292,7 @@ impl IInkStrokeContainer_Vtbl { let this = (*this).get_impl(); match IInkStrokeContainer_Impl::SelectWithLine(this, core::mem::transmute(&from), core::mem::transmute(&to)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -308,7 +308,7 @@ impl IInkStrokeContainer_Vtbl { let this = (*this).get_impl(); match IInkStrokeContainer_Impl::PasteFromClipboard(this, core::mem::transmute(&position)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -319,7 +319,7 @@ impl IInkStrokeContainer_Vtbl { let this = (*this).get_impl(); match IInkStrokeContainer_Impl::CanPasteFromClipboard(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -330,7 +330,7 @@ impl IInkStrokeContainer_Vtbl { let this = (*this).get_impl(); match IInkStrokeContainer_Impl::LoadAsync(this, windows_core::from_raw_borrowed(&inputstream)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -342,7 +342,7 @@ impl IInkStrokeContainer_Vtbl { let this = (*this).get_impl(); match IInkStrokeContainer_Impl::SaveAsync(this, windows_core::from_raw_borrowed(&outputstream)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -359,7 +359,7 @@ impl IInkStrokeContainer_Vtbl { let this = (*this).get_impl(); match IInkStrokeContainer_Impl::GetStrokes(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -371,7 +371,7 @@ impl IInkStrokeContainer_Vtbl { let this = (*this).get_impl(); match IInkStrokeContainer_Impl::GetRecognitionResults(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } diff --git a/crates/libs/windows/src/Windows/UI/Input/impl.rs b/crates/libs/windows/src/Windows/UI/Input/impl.rs index 0b2f006793..bbf5233601 100644 --- a/crates/libs/windows/src/Windows/UI/Input/impl.rs +++ b/crates/libs/windows/src/Windows/UI/Input/impl.rs @@ -13,7 +13,7 @@ impl IPointerPointTransform_Vtbl { let this = (*this).get_impl(); match IPointerPointTransform_Impl::Inverse(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -25,7 +25,7 @@ impl IPointerPointTransform_Vtbl { let this = (*this).get_impl(); match IPointerPointTransform_Impl::TryTransform(this, core::mem::transmute(&inpoint), core::mem::transmute_copy(&outpoint)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -36,7 +36,7 @@ impl IPointerPointTransform_Vtbl { let this = (*this).get_impl(); match IPointerPointTransform_Impl::TransformBounds(this, core::mem::transmute(&rect)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/UI/Notifications/impl.rs b/crates/libs/windows/src/Windows/UI/Notifications/impl.rs index eb7734f442..a1ed4bf433 100644 --- a/crates/libs/windows/src/Windows/UI/Notifications/impl.rs +++ b/crates/libs/windows/src/Windows/UI/Notifications/impl.rs @@ -15,7 +15,7 @@ impl IAdaptiveNotificationContent_Vtbl { let this = (*this).get_impl(); match IAdaptiveNotificationContent_Impl::Kind(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -26,7 +26,7 @@ impl IAdaptiveNotificationContent_Vtbl { let this = (*this).get_impl(); match IAdaptiveNotificationContent_Impl::Hints(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } diff --git a/crates/libs/windows/src/Windows/UI/Popups/impl.rs b/crates/libs/windows/src/Windows/UI/Popups/impl.rs index 536910df4b..9b57bd4dce 100644 --- a/crates/libs/windows/src/Windows/UI/Popups/impl.rs +++ b/crates/libs/windows/src/Windows/UI/Popups/impl.rs @@ -16,7 +16,7 @@ impl IUICommand_Vtbl { let this = (*this).get_impl(); match IUICommand_Impl::Label(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -33,7 +33,7 @@ impl IUICommand_Vtbl { let this = (*this).get_impl(); match IUICommand_Impl::Invoked(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -50,7 +50,7 @@ impl IUICommand_Vtbl { let this = (*this).get_impl(); match IUICommand_Impl::Id(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } diff --git a/crates/libs/windows/src/Windows/UI/Shell/impl.rs b/crates/libs/windows/src/Windows/UI/Shell/impl.rs index 6c55c96541..3c09288272 100644 --- a/crates/libs/windows/src/Windows/UI/Shell/impl.rs +++ b/crates/libs/windows/src/Windows/UI/Shell/impl.rs @@ -11,7 +11,7 @@ impl IAdaptiveCard_Vtbl { let this = (*this).get_impl(); match IAdaptiveCard_Impl::ToJson(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -37,7 +37,7 @@ impl IAdaptiveCardBuilderStatics_Vtbl { let this = (*this).get_impl(); match IAdaptiveCardBuilderStatics_Impl::CreateAdaptiveCardFromJson(this, core::mem::transmute(&value)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } diff --git a/crates/libs/windows/src/Windows/UI/Text/impl.rs b/crates/libs/windows/src/Windows/UI/Text/impl.rs index 62610e808a..d5ac444ea1 100644 --- a/crates/libs/windows/src/Windows/UI/Text/impl.rs +++ b/crates/libs/windows/src/Windows/UI/Text/impl.rs @@ -60,7 +60,7 @@ impl ITextCharacterFormat_Vtbl { let this = (*this).get_impl(); match ITextCharacterFormat_Impl::AllCaps(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -76,7 +76,7 @@ impl ITextCharacterFormat_Vtbl { let this = (*this).get_impl(); match ITextCharacterFormat_Impl::BackgroundColor(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -92,7 +92,7 @@ impl ITextCharacterFormat_Vtbl { let this = (*this).get_impl(); match ITextCharacterFormat_Impl::Bold(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -108,7 +108,7 @@ impl ITextCharacterFormat_Vtbl { let this = (*this).get_impl(); match ITextCharacterFormat_Impl::FontStretch(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -124,7 +124,7 @@ impl ITextCharacterFormat_Vtbl { let this = (*this).get_impl(); match ITextCharacterFormat_Impl::FontStyle(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -140,7 +140,7 @@ impl ITextCharacterFormat_Vtbl { let this = (*this).get_impl(); match ITextCharacterFormat_Impl::ForegroundColor(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -156,7 +156,7 @@ impl ITextCharacterFormat_Vtbl { let this = (*this).get_impl(); match ITextCharacterFormat_Impl::Hidden(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -172,7 +172,7 @@ impl ITextCharacterFormat_Vtbl { let this = (*this).get_impl(); match ITextCharacterFormat_Impl::Italic(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -188,7 +188,7 @@ impl ITextCharacterFormat_Vtbl { let this = (*this).get_impl(); match ITextCharacterFormat_Impl::Kerning(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -204,7 +204,7 @@ impl ITextCharacterFormat_Vtbl { let this = (*this).get_impl(); match ITextCharacterFormat_Impl::LanguageTag(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -221,7 +221,7 @@ impl ITextCharacterFormat_Vtbl { let this = (*this).get_impl(); match ITextCharacterFormat_Impl::LinkType(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -232,7 +232,7 @@ impl ITextCharacterFormat_Vtbl { let this = (*this).get_impl(); match ITextCharacterFormat_Impl::Name(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -249,7 +249,7 @@ impl ITextCharacterFormat_Vtbl { let this = (*this).get_impl(); match ITextCharacterFormat_Impl::Outline(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -265,7 +265,7 @@ impl ITextCharacterFormat_Vtbl { let this = (*this).get_impl(); match ITextCharacterFormat_Impl::Position(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -281,7 +281,7 @@ impl ITextCharacterFormat_Vtbl { let this = (*this).get_impl(); match ITextCharacterFormat_Impl::ProtectedText(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -297,7 +297,7 @@ impl ITextCharacterFormat_Vtbl { let this = (*this).get_impl(); match ITextCharacterFormat_Impl::Size(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -313,7 +313,7 @@ impl ITextCharacterFormat_Vtbl { let this = (*this).get_impl(); match ITextCharacterFormat_Impl::SmallCaps(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -329,7 +329,7 @@ impl ITextCharacterFormat_Vtbl { let this = (*this).get_impl(); match ITextCharacterFormat_Impl::Spacing(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -345,7 +345,7 @@ impl ITextCharacterFormat_Vtbl { let this = (*this).get_impl(); match ITextCharacterFormat_Impl::Strikethrough(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -361,7 +361,7 @@ impl ITextCharacterFormat_Vtbl { let this = (*this).get_impl(); match ITextCharacterFormat_Impl::Subscript(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -377,7 +377,7 @@ impl ITextCharacterFormat_Vtbl { let this = (*this).get_impl(); match ITextCharacterFormat_Impl::Superscript(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -393,7 +393,7 @@ impl ITextCharacterFormat_Vtbl { let this = (*this).get_impl(); match ITextCharacterFormat_Impl::TextScript(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -409,7 +409,7 @@ impl ITextCharacterFormat_Vtbl { let this = (*this).get_impl(); match ITextCharacterFormat_Impl::Underline(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -425,7 +425,7 @@ impl ITextCharacterFormat_Vtbl { let this = (*this).get_impl(); match ITextCharacterFormat_Impl::Weight(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -446,7 +446,7 @@ impl ITextCharacterFormat_Vtbl { let this = (*this).get_impl(); match ITextCharacterFormat_Impl::GetClone(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -458,7 +458,7 @@ impl ITextCharacterFormat_Vtbl { let this = (*this).get_impl(); match ITextCharacterFormat_Impl::IsEqual(this, windows_core::from_raw_borrowed(&format)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -564,7 +564,7 @@ impl ITextDocument_Vtbl { let this = (*this).get_impl(); match ITextDocument_Impl::CaretType(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -580,7 +580,7 @@ impl ITextDocument_Vtbl { let this = (*this).get_impl(); match ITextDocument_Impl::DefaultTabStop(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -596,7 +596,7 @@ impl ITextDocument_Vtbl { let this = (*this).get_impl(); match ITextDocument_Impl::Selection(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -608,7 +608,7 @@ impl ITextDocument_Vtbl { let this = (*this).get_impl(); match ITextDocument_Impl::UndoLimit(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -624,7 +624,7 @@ impl ITextDocument_Vtbl { let this = (*this).get_impl(); match ITextDocument_Impl::CanCopy(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -635,7 +635,7 @@ impl ITextDocument_Vtbl { let this = (*this).get_impl(); match ITextDocument_Impl::CanPaste(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -646,7 +646,7 @@ impl ITextDocument_Vtbl { let this = (*this).get_impl(); match ITextDocument_Impl::CanRedo(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -657,7 +657,7 @@ impl ITextDocument_Vtbl { let this = (*this).get_impl(); match ITextDocument_Impl::CanUndo(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -668,7 +668,7 @@ impl ITextDocument_Vtbl { let this = (*this).get_impl(); match ITextDocument_Impl::ApplyDisplayUpdates(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -679,7 +679,7 @@ impl ITextDocument_Vtbl { let this = (*this).get_impl(); match ITextDocument_Impl::BatchDisplayUpdates(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -700,7 +700,7 @@ impl ITextDocument_Vtbl { let this = (*this).get_impl(); match ITextDocument_Impl::GetDefaultCharacterFormat(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -712,7 +712,7 @@ impl ITextDocument_Vtbl { let this = (*this).get_impl(); match ITextDocument_Impl::GetDefaultParagraphFormat(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -724,7 +724,7 @@ impl ITextDocument_Vtbl { let this = (*this).get_impl(); match ITextDocument_Impl::GetRange(this, startposition, endposition) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -736,7 +736,7 @@ impl ITextDocument_Vtbl { let this = (*this).get_impl(); match ITextDocument_Impl::GetRangeFromPoint(this, core::mem::transmute(&point), options) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -878,7 +878,7 @@ impl ITextParagraphFormat_Vtbl { let this = (*this).get_impl(); match ITextParagraphFormat_Impl::Alignment(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -894,7 +894,7 @@ impl ITextParagraphFormat_Vtbl { let this = (*this).get_impl(); match ITextParagraphFormat_Impl::FirstLineIndent(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -905,7 +905,7 @@ impl ITextParagraphFormat_Vtbl { let this = (*this).get_impl(); match ITextParagraphFormat_Impl::KeepTogether(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -921,7 +921,7 @@ impl ITextParagraphFormat_Vtbl { let this = (*this).get_impl(); match ITextParagraphFormat_Impl::KeepWithNext(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -937,7 +937,7 @@ impl ITextParagraphFormat_Vtbl { let this = (*this).get_impl(); match ITextParagraphFormat_Impl::LeftIndent(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -948,7 +948,7 @@ impl ITextParagraphFormat_Vtbl { let this = (*this).get_impl(); match ITextParagraphFormat_Impl::LineSpacing(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -959,7 +959,7 @@ impl ITextParagraphFormat_Vtbl { let this = (*this).get_impl(); match ITextParagraphFormat_Impl::LineSpacingRule(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -970,7 +970,7 @@ impl ITextParagraphFormat_Vtbl { let this = (*this).get_impl(); match ITextParagraphFormat_Impl::ListAlignment(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -986,7 +986,7 @@ impl ITextParagraphFormat_Vtbl { let this = (*this).get_impl(); match ITextParagraphFormat_Impl::ListLevelIndex(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1002,7 +1002,7 @@ impl ITextParagraphFormat_Vtbl { let this = (*this).get_impl(); match ITextParagraphFormat_Impl::ListStart(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1018,7 +1018,7 @@ impl ITextParagraphFormat_Vtbl { let this = (*this).get_impl(); match ITextParagraphFormat_Impl::ListStyle(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1034,7 +1034,7 @@ impl ITextParagraphFormat_Vtbl { let this = (*this).get_impl(); match ITextParagraphFormat_Impl::ListTab(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1050,7 +1050,7 @@ impl ITextParagraphFormat_Vtbl { let this = (*this).get_impl(); match ITextParagraphFormat_Impl::ListType(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1066,7 +1066,7 @@ impl ITextParagraphFormat_Vtbl { let this = (*this).get_impl(); match ITextParagraphFormat_Impl::NoLineNumber(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1082,7 +1082,7 @@ impl ITextParagraphFormat_Vtbl { let this = (*this).get_impl(); match ITextParagraphFormat_Impl::PageBreakBefore(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1098,7 +1098,7 @@ impl ITextParagraphFormat_Vtbl { let this = (*this).get_impl(); match ITextParagraphFormat_Impl::RightIndent(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1114,7 +1114,7 @@ impl ITextParagraphFormat_Vtbl { let this = (*this).get_impl(); match ITextParagraphFormat_Impl::RightToLeft(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1130,7 +1130,7 @@ impl ITextParagraphFormat_Vtbl { let this = (*this).get_impl(); match ITextParagraphFormat_Impl::Style(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1146,7 +1146,7 @@ impl ITextParagraphFormat_Vtbl { let this = (*this).get_impl(); match ITextParagraphFormat_Impl::SpaceAfter(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1162,7 +1162,7 @@ impl ITextParagraphFormat_Vtbl { let this = (*this).get_impl(); match ITextParagraphFormat_Impl::SpaceBefore(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1178,7 +1178,7 @@ impl ITextParagraphFormat_Vtbl { let this = (*this).get_impl(); match ITextParagraphFormat_Impl::WidowControl(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1194,7 +1194,7 @@ impl ITextParagraphFormat_Vtbl { let this = (*this).get_impl(); match ITextParagraphFormat_Impl::TabCount(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1220,7 +1220,7 @@ impl ITextParagraphFormat_Vtbl { let this = (*this).get_impl(); match ITextParagraphFormat_Impl::GetClone(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -1237,7 +1237,7 @@ impl ITextParagraphFormat_Vtbl { let this = (*this).get_impl(); match ITextParagraphFormat_Impl::IsEqual(this, windows_core::from_raw_borrowed(&format)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1381,7 +1381,7 @@ impl ITextRange_Vtbl { let this = (*this).get_impl(); match ITextRange_Impl::Character(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1397,7 +1397,7 @@ impl ITextRange_Vtbl { let this = (*this).get_impl(); match ITextRange_Impl::CharacterFormat(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -1414,7 +1414,7 @@ impl ITextRange_Vtbl { let this = (*this).get_impl(); match ITextRange_Impl::FormattedText(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -1431,7 +1431,7 @@ impl ITextRange_Vtbl { let this = (*this).get_impl(); match ITextRange_Impl::EndPosition(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1447,7 +1447,7 @@ impl ITextRange_Vtbl { let this = (*this).get_impl(); match ITextRange_Impl::Gravity(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1463,7 +1463,7 @@ impl ITextRange_Vtbl { let this = (*this).get_impl(); match ITextRange_Impl::Length(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1474,7 +1474,7 @@ impl ITextRange_Vtbl { let this = (*this).get_impl(); match ITextRange_Impl::Link(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -1491,7 +1491,7 @@ impl ITextRange_Vtbl { let this = (*this).get_impl(); match ITextRange_Impl::ParagraphFormat(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -1508,7 +1508,7 @@ impl ITextRange_Vtbl { let this = (*this).get_impl(); match ITextRange_Impl::StartPosition(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1524,7 +1524,7 @@ impl ITextRange_Vtbl { let this = (*this).get_impl(); match ITextRange_Impl::StoryLength(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1535,7 +1535,7 @@ impl ITextRange_Vtbl { let this = (*this).get_impl(); match ITextRange_Impl::Text(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -1552,7 +1552,7 @@ impl ITextRange_Vtbl { let this = (*this).get_impl(); match ITextRange_Impl::CanPaste(this, format) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1583,7 +1583,7 @@ impl ITextRange_Vtbl { let this = (*this).get_impl(); match ITextRange_Impl::Delete(this, unit, count) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1594,7 +1594,7 @@ impl ITextRange_Vtbl { let this = (*this).get_impl(); match ITextRange_Impl::EndOf(this, unit, extend) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1605,7 +1605,7 @@ impl ITextRange_Vtbl { let this = (*this).get_impl(); match ITextRange_Impl::Expand(this, unit) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1616,7 +1616,7 @@ impl ITextRange_Vtbl { let this = (*this).get_impl(); match ITextRange_Impl::FindText(this, core::mem::transmute(&value), scanlength, options) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1632,7 +1632,7 @@ impl ITextRange_Vtbl { let this = (*this).get_impl(); match ITextRange_Impl::GetClone(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -1644,7 +1644,7 @@ impl ITextRange_Vtbl { let this = (*this).get_impl(); match ITextRange_Impl::GetIndex(this, unit) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1675,7 +1675,7 @@ impl ITextRange_Vtbl { let this = (*this).get_impl(); match ITextRange_Impl::InRange(this, windows_core::from_raw_borrowed(&range)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1691,7 +1691,7 @@ impl ITextRange_Vtbl { let this = (*this).get_impl(); match ITextRange_Impl::InStory(this, windows_core::from_raw_borrowed(&range)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1702,7 +1702,7 @@ impl ITextRange_Vtbl { let this = (*this).get_impl(); match ITextRange_Impl::IsEqual(this, windows_core::from_raw_borrowed(&range)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1713,7 +1713,7 @@ impl ITextRange_Vtbl { let this = (*this).get_impl(); match ITextRange_Impl::Move(this, unit, count) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1724,7 +1724,7 @@ impl ITextRange_Vtbl { let this = (*this).get_impl(); match ITextRange_Impl::MoveEnd(this, unit, count) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1735,7 +1735,7 @@ impl ITextRange_Vtbl { let this = (*this).get_impl(); match ITextRange_Impl::MoveStart(this, unit, count) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1786,7 +1786,7 @@ impl ITextRange_Vtbl { let this = (*this).get_impl(); match ITextRange_Impl::StartOf(this, unit, extend) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1877,7 +1877,7 @@ impl ITextSelection_Vtbl { let this = (*this).get_impl(); match ITextSelection_Impl::Options(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1893,7 +1893,7 @@ impl ITextSelection_Vtbl { let this = (*this).get_impl(); match ITextSelection_Impl::Type(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1904,7 +1904,7 @@ impl ITextSelection_Vtbl { let this = (*this).get_impl(); match ITextSelection_Impl::EndKey(this, unit, extend) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1915,7 +1915,7 @@ impl ITextSelection_Vtbl { let this = (*this).get_impl(); match ITextSelection_Impl::HomeKey(this, unit, extend) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1926,7 +1926,7 @@ impl ITextSelection_Vtbl { let this = (*this).get_impl(); match ITextSelection_Impl::MoveDown(this, unit, count, extend) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1937,7 +1937,7 @@ impl ITextSelection_Vtbl { let this = (*this).get_impl(); match ITextSelection_Impl::MoveLeft(this, unit, count, extend) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1948,7 +1948,7 @@ impl ITextSelection_Vtbl { let this = (*this).get_impl(); match ITextSelection_Impl::MoveRight(this, unit, count, extend) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1959,7 +1959,7 @@ impl ITextSelection_Vtbl { let this = (*this).get_impl(); match ITextSelection_Impl::MoveUp(this, unit, count, extend) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/UI/UIAutomation/Core/impl.rs b/crates/libs/windows/src/Windows/UI/UIAutomation/Core/impl.rs index ca97630d6f..ea5d4651ba 100644 --- a/crates/libs/windows/src/Windows/UI/UIAutomation/Core/impl.rs +++ b/crates/libs/windows/src/Windows/UI/UIAutomation/Core/impl.rs @@ -10,7 +10,7 @@ impl ICoreAutomationConnectionBoundObjectProvider_Vtbl { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); let ok__ = ICoreAutomationConnectionBoundObjectProvider_Impl::IsComThreadingRequired(this); - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Self { @@ -41,7 +41,7 @@ impl ICoreAutomationRemoteOperationExtensionProvider_Vtbl { let this = (*this).get_impl(); match ICoreAutomationRemoteOperationExtensionProvider_Impl::IsExtensionSupported(this, core::mem::transmute(&extensionid)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/UI/WebUI/impl.rs b/crates/libs/windows/src/Windows/UI/WebUI/impl.rs index c6e5d622da..69dcd5a119 100644 --- a/crates/libs/windows/src/Windows/UI/WebUI/impl.rs +++ b/crates/libs/windows/src/Windows/UI/WebUI/impl.rs @@ -11,7 +11,7 @@ impl IActivatedEventArgsDeferral_Vtbl { let this = (*this).get_impl(); match IActivatedEventArgsDeferral_Impl::ActivatedOperation(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -41,7 +41,7 @@ impl IWebUIBackgroundTaskInstance_Vtbl { let this = (*this).get_impl(); match IWebUIBackgroundTaskInstance_Impl::Succeeded(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -75,7 +75,7 @@ impl IWebUINavigatedEventArgs_Vtbl { let this = (*this).get_impl(); match IWebUINavigatedEventArgs_Impl::NavigatedOperation(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } diff --git a/crates/libs/windows/src/Windows/Web/Http/Filters/impl.rs b/crates/libs/windows/src/Windows/Web/Http/Filters/impl.rs index 2a94f3a549..9911e7b13b 100644 --- a/crates/libs/windows/src/Windows/Web/Http/Filters/impl.rs +++ b/crates/libs/windows/src/Windows/Web/Http/Filters/impl.rs @@ -11,7 +11,7 @@ impl IHttpFilter_Vtbl { let this = (*this).get_impl(); match IHttpFilter_Impl::SendRequestAsync(this, windows_core::from_raw_borrowed(&request)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } diff --git a/crates/libs/windows/src/Windows/Web/Http/impl.rs b/crates/libs/windows/src/Windows/Web/Http/impl.rs index 748bc5df71..432daac4d9 100644 --- a/crates/libs/windows/src/Windows/Web/Http/impl.rs +++ b/crates/libs/windows/src/Windows/Web/Http/impl.rs @@ -20,7 +20,7 @@ impl IHttpContent_Vtbl { let this = (*this).get_impl(); match IHttpContent_Impl::Headers(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -32,7 +32,7 @@ impl IHttpContent_Vtbl { let this = (*this).get_impl(); match IHttpContent_Impl::BufferAllAsync(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -44,7 +44,7 @@ impl IHttpContent_Vtbl { let this = (*this).get_impl(); match IHttpContent_Impl::ReadAsBufferAsync(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -56,7 +56,7 @@ impl IHttpContent_Vtbl { let this = (*this).get_impl(); match IHttpContent_Impl::ReadAsInputStreamAsync(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -68,7 +68,7 @@ impl IHttpContent_Vtbl { let this = (*this).get_impl(); match IHttpContent_Impl::ReadAsStringAsync(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -80,7 +80,7 @@ impl IHttpContent_Vtbl { let this = (*this).get_impl(); match IHttpContent_Impl::TryComputeLength(this, core::mem::transmute_copy(&length)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -91,7 +91,7 @@ impl IHttpContent_Vtbl { let this = (*this).get_impl(); match IHttpContent_Impl::WriteToStreamAsync(this, windows_core::from_raw_borrowed(&outputstream)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } diff --git a/crates/libs/windows/src/Windows/Web/Syndication/impl.rs b/crates/libs/windows/src/Windows/Web/Syndication/impl.rs index ea3e25b962..74734aa61d 100644 --- a/crates/libs/windows/src/Windows/Web/Syndication/impl.rs +++ b/crates/libs/windows/src/Windows/Web/Syndication/impl.rs @@ -25,7 +25,7 @@ impl ISyndicationClient_Vtbl { let this = (*this).get_impl(); match ISyndicationClient_Impl::ServerCredential(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -42,7 +42,7 @@ impl ISyndicationClient_Vtbl { let this = (*this).get_impl(); match ISyndicationClient_Impl::ProxyCredential(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -59,7 +59,7 @@ impl ISyndicationClient_Vtbl { let this = (*this).get_impl(); match ISyndicationClient_Impl::MaxResponseBufferSize(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -75,7 +75,7 @@ impl ISyndicationClient_Vtbl { let this = (*this).get_impl(); match ISyndicationClient_Impl::Timeout(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -91,7 +91,7 @@ impl ISyndicationClient_Vtbl { let this = (*this).get_impl(); match ISyndicationClient_Impl::BypassCacheOnRetrieve(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -112,7 +112,7 @@ impl ISyndicationClient_Vtbl { let this = (*this).get_impl(); match ISyndicationClient_Impl::RetrieveFeedAsync(this, windows_core::from_raw_borrowed(&uri)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -167,7 +167,7 @@ impl ISyndicationNode_Vtbl { let this = (*this).get_impl(); match ISyndicationNode_Impl::NodeName(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -184,7 +184,7 @@ impl ISyndicationNode_Vtbl { let this = (*this).get_impl(); match ISyndicationNode_Impl::NodeNamespace(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -201,7 +201,7 @@ impl ISyndicationNode_Vtbl { let this = (*this).get_impl(); match ISyndicationNode_Impl::NodeValue(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -218,7 +218,7 @@ impl ISyndicationNode_Vtbl { let this = (*this).get_impl(); match ISyndicationNode_Impl::Language(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -235,7 +235,7 @@ impl ISyndicationNode_Vtbl { let this = (*this).get_impl(); match ISyndicationNode_Impl::BaseUri(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -252,7 +252,7 @@ impl ISyndicationNode_Vtbl { let this = (*this).get_impl(); match ISyndicationNode_Impl::AttributeExtensions(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -264,7 +264,7 @@ impl ISyndicationNode_Vtbl { let this = (*this).get_impl(); match ISyndicationNode_Impl::ElementExtensions(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -276,7 +276,7 @@ impl ISyndicationNode_Vtbl { let this = (*this).get_impl(); match ISyndicationNode_Impl::GetXmlDocument(this, format) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -325,7 +325,7 @@ impl ISyndicationText_Vtbl { let this = (*this).get_impl(); match ISyndicationText_Impl::Text(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -342,7 +342,7 @@ impl ISyndicationText_Vtbl { let this = (*this).get_impl(); match ISyndicationText_Impl::Type(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -359,7 +359,7 @@ impl ISyndicationText_Vtbl { let this = (*this).get_impl(); match ISyndicationText_Impl::Xml(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } diff --git a/crates/libs/windows/src/Windows/Web/UI/impl.rs b/crates/libs/windows/src/Windows/Web/UI/impl.rs index f60f0259c9..40cd3a2e97 100644 --- a/crates/libs/windows/src/Windows/Web/UI/impl.rs +++ b/crates/libs/windows/src/Windows/Web/UI/impl.rs @@ -70,7 +70,7 @@ impl IWebViewControl_Vtbl { let this = (*this).get_impl(); match IWebViewControl_Impl::Source(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -87,7 +87,7 @@ impl IWebViewControl_Vtbl { let this = (*this).get_impl(); match IWebViewControl_Impl::DocumentTitle(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -99,7 +99,7 @@ impl IWebViewControl_Vtbl { let this = (*this).get_impl(); match IWebViewControl_Impl::CanGoBack(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -110,7 +110,7 @@ impl IWebViewControl_Vtbl { let this = (*this).get_impl(); match IWebViewControl_Impl::CanGoForward(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -126,7 +126,7 @@ impl IWebViewControl_Vtbl { let this = (*this).get_impl(); match IWebViewControl_Impl::DefaultBackgroundColor(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -137,7 +137,7 @@ impl IWebViewControl_Vtbl { let this = (*this).get_impl(); match IWebViewControl_Impl::ContainsFullScreenElement(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -148,7 +148,7 @@ impl IWebViewControl_Vtbl { let this = (*this).get_impl(); match IWebViewControl_Impl::Settings(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -160,7 +160,7 @@ impl IWebViewControl_Vtbl { let this = (*this).get_impl(); match IWebViewControl_Impl::DeferredPermissionRequests(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -212,7 +212,7 @@ impl IWebViewControl_Vtbl { let this = (*this).get_impl(); match IWebViewControl_Impl::InvokeScriptAsync(this, core::mem::transmute(&scriptname), windows_core::from_raw_borrowed(&arguments)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -224,7 +224,7 @@ impl IWebViewControl_Vtbl { let this = (*this).get_impl(); match IWebViewControl_Impl::CapturePreviewToStreamAsync(this, windows_core::from_raw_borrowed(&stream)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -236,7 +236,7 @@ impl IWebViewControl_Vtbl { let this = (*this).get_impl(); match IWebViewControl_Impl::CaptureSelectedContentToDataPackageAsync(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -248,7 +248,7 @@ impl IWebViewControl_Vtbl { let this = (*this).get_impl(); match IWebViewControl_Impl::BuildLocalStreamUri(this, core::mem::transmute(&contentidentifier), core::mem::transmute(&relativepath)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -265,7 +265,7 @@ impl IWebViewControl_Vtbl { let this = (*this).get_impl(); match IWebViewControl_Impl::NavigationStarting(this, windows_core::from_raw_borrowed(&handler)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -281,7 +281,7 @@ impl IWebViewControl_Vtbl { let this = (*this).get_impl(); match IWebViewControl_Impl::ContentLoading(this, windows_core::from_raw_borrowed(&handler)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -297,7 +297,7 @@ impl IWebViewControl_Vtbl { let this = (*this).get_impl(); match IWebViewControl_Impl::DOMContentLoaded(this, windows_core::from_raw_borrowed(&handler)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -313,7 +313,7 @@ impl IWebViewControl_Vtbl { let this = (*this).get_impl(); match IWebViewControl_Impl::NavigationCompleted(this, windows_core::from_raw_borrowed(&handler)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -329,7 +329,7 @@ impl IWebViewControl_Vtbl { let this = (*this).get_impl(); match IWebViewControl_Impl::FrameNavigationStarting(this, windows_core::from_raw_borrowed(&handler)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -345,7 +345,7 @@ impl IWebViewControl_Vtbl { let this = (*this).get_impl(); match IWebViewControl_Impl::FrameContentLoading(this, windows_core::from_raw_borrowed(&handler)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -361,7 +361,7 @@ impl IWebViewControl_Vtbl { let this = (*this).get_impl(); match IWebViewControl_Impl::FrameDOMContentLoaded(this, windows_core::from_raw_borrowed(&handler)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -377,7 +377,7 @@ impl IWebViewControl_Vtbl { let this = (*this).get_impl(); match IWebViewControl_Impl::FrameNavigationCompleted(this, windows_core::from_raw_borrowed(&handler)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -393,7 +393,7 @@ impl IWebViewControl_Vtbl { let this = (*this).get_impl(); match IWebViewControl_Impl::ScriptNotify(this, windows_core::from_raw_borrowed(&handler)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -409,7 +409,7 @@ impl IWebViewControl_Vtbl { let this = (*this).get_impl(); match IWebViewControl_Impl::LongRunningScriptDetected(this, windows_core::from_raw_borrowed(&handler)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -425,7 +425,7 @@ impl IWebViewControl_Vtbl { let this = (*this).get_impl(); match IWebViewControl_Impl::UnsafeContentWarningDisplaying(this, windows_core::from_raw_borrowed(&handler)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -441,7 +441,7 @@ impl IWebViewControl_Vtbl { let this = (*this).get_impl(); match IWebViewControl_Impl::UnviewableContentIdentified(this, windows_core::from_raw_borrowed(&handler)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -457,7 +457,7 @@ impl IWebViewControl_Vtbl { let this = (*this).get_impl(); match IWebViewControl_Impl::PermissionRequested(this, windows_core::from_raw_borrowed(&handler)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -473,7 +473,7 @@ impl IWebViewControl_Vtbl { let this = (*this).get_impl(); match IWebViewControl_Impl::UnsupportedUriSchemeIdentified(this, windows_core::from_raw_borrowed(&handler)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -489,7 +489,7 @@ impl IWebViewControl_Vtbl { let this = (*this).get_impl(); match IWebViewControl_Impl::NewWindowRequested(this, windows_core::from_raw_borrowed(&handler)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -505,7 +505,7 @@ impl IWebViewControl_Vtbl { let this = (*this).get_impl(); match IWebViewControl_Impl::ContainsFullScreenElementChanged(this, windows_core::from_raw_borrowed(&handler)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -521,7 +521,7 @@ impl IWebViewControl_Vtbl { let this = (*this).get_impl(); match IWebViewControl_Impl::WebResourceRequested(this, windows_core::from_raw_borrowed(&handler)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/Web/impl.rs b/crates/libs/windows/src/Windows/Web/impl.rs index ee6b71fbac..44d1437fac 100644 --- a/crates/libs/windows/src/Windows/Web/impl.rs +++ b/crates/libs/windows/src/Windows/Web/impl.rs @@ -14,7 +14,7 @@ impl IUriToStreamResolver_Vtbl { let this = (*this).get_impl(); match IUriToStreamResolver_Impl::UriToStreamAsync(this, windows_core::from_raw_borrowed(&uri)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } diff --git a/crates/libs/windows/src/Windows/Win32/AI/MachineLearning/WinML/impl.rs b/crates/libs/windows/src/Windows/Win32/AI/MachineLearning/WinML/impl.rs index f1f843a17b..e80930304a 100644 --- a/crates/libs/windows/src/Windows/Win32/AI/MachineLearning/WinML/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/AI/MachineLearning/WinML/impl.rs @@ -12,7 +12,7 @@ impl IMLOperatorAttributes_Vtbl { let this = (*this).get_impl(); match IMLOperatorAttributes_Impl::GetAttributeElementCount(this, core::mem::transmute(&name), core::mem::transmute_copy(&r#type)) { Ok(ok__) => { - core::ptr::write(elementcount, core::mem::transmute(ok__)); + elementcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -28,7 +28,7 @@ impl IMLOperatorAttributes_Vtbl { let this = (*this).get_impl(); match IMLOperatorAttributes_Impl::GetStringAttributeElementLength(this, core::mem::transmute(&name), core::mem::transmute_copy(&elementindex)) { Ok(ok__) => { - core::ptr::write(attributeelementbytesize, core::mem::transmute(ok__)); + attributeelementbytesize.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -83,7 +83,7 @@ impl IMLOperatorKernelContext_Vtbl { let this = (*this).get_impl(); match IMLOperatorKernelContext_Impl::GetInputTensor(this, core::mem::transmute_copy(&inputindex)) { Ok(ok__) => { - core::ptr::write(tensor, core::mem::transmute(ok__)); + tensor.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -94,7 +94,7 @@ impl IMLOperatorKernelContext_Vtbl { let this = (*this).get_impl(); match IMLOperatorKernelContext_Impl::GetOutputTensor(this, core::mem::transmute_copy(&outputindex), core::mem::transmute_copy(&dimensioncount), core::mem::transmute_copy(&dimensionsizes)) { Ok(ok__) => { - core::ptr::write(tensor, core::mem::transmute(ok__)); + tensor.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -105,7 +105,7 @@ impl IMLOperatorKernelContext_Vtbl { let this = (*this).get_impl(); match IMLOperatorKernelContext_Impl::GetOutputTensor2(this, core::mem::transmute_copy(&outputindex)) { Ok(ok__) => { - core::ptr::write(tensor, core::mem::transmute(ok__)); + tensor.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -116,7 +116,7 @@ impl IMLOperatorKernelContext_Vtbl { let this = (*this).get_impl(); match IMLOperatorKernelContext_Impl::AllocateTemporaryData(this, core::mem::transmute_copy(&size)) { Ok(ok__) => { - core::ptr::write(data, core::mem::transmute(ok__)); + data.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -179,7 +179,7 @@ impl IMLOperatorKernelCreationContext_Vtbl { let this = (*this).get_impl(); match IMLOperatorKernelCreationContext_Impl::GetInputEdgeDescription(this, core::mem::transmute_copy(&inputindex)) { Ok(ok__) => { - core::ptr::write(edgedescription, core::mem::transmute(ok__)); + edgedescription.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -190,7 +190,7 @@ impl IMLOperatorKernelCreationContext_Vtbl { let this = (*this).get_impl(); match IMLOperatorKernelCreationContext_Impl::GetOutputEdgeDescription(this, core::mem::transmute_copy(&outputindex)) { Ok(ok__) => { - core::ptr::write(edgedescription, core::mem::transmute(ok__)); + edgedescription.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -206,7 +206,7 @@ impl IMLOperatorKernelCreationContext_Vtbl { let this = (*this).get_impl(); match IMLOperatorKernelCreationContext_Impl::GetTensorShapeDescription(this) { Ok(ok__) => { - core::ptr::write(shapedescription, core::mem::transmute(ok__)); + shapedescription.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -245,7 +245,7 @@ impl IMLOperatorKernelFactory_Vtbl { let this = (*this).get_impl(); match IMLOperatorKernelFactory_Impl::CreateKernel(this, windows_core::from_raw_borrowed(&context)) { Ok(ok__) => { - core::ptr::write(kernel, core::mem::transmute(ok__)); + kernel.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -322,7 +322,7 @@ impl IMLOperatorShapeInferenceContext_Vtbl { let this = (*this).get_impl(); match IMLOperatorShapeInferenceContext_Impl::GetInputEdgeDescription(this, core::mem::transmute_copy(&inputindex)) { Ok(ok__) => { - core::ptr::write(edgedescription, core::mem::transmute(ok__)); + edgedescription.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -333,7 +333,7 @@ impl IMLOperatorShapeInferenceContext_Vtbl { let this = (*this).get_impl(); match IMLOperatorShapeInferenceContext_Impl::GetInputTensorDimensionCount(this, core::mem::transmute_copy(&inputindex)) { Ok(ok__) => { - core::ptr::write(dimensioncount, core::mem::transmute(ok__)); + dimensioncount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -459,7 +459,7 @@ impl IMLOperatorTensorShapeDescription_Vtbl { let this = (*this).get_impl(); match IMLOperatorTensorShapeDescription_Impl::GetInputTensorDimensionCount(this, core::mem::transmute_copy(&inputindex)) { Ok(ok__) => { - core::ptr::write(dimensioncount, core::mem::transmute(ok__)); + dimensioncount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -480,7 +480,7 @@ impl IMLOperatorTensorShapeDescription_Vtbl { let this = (*this).get_impl(); match IMLOperatorTensorShapeDescription_Impl::GetOutputTensorDimensionCount(this, core::mem::transmute_copy(&outputindex)) { Ok(ok__) => { - core::ptr::write(dimensioncount, core::mem::transmute(ok__)); + dimensioncount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -540,7 +540,7 @@ impl IMLOperatorTypeInferenceContext_Vtbl { let this = (*this).get_impl(); match IMLOperatorTypeInferenceContext_Impl::GetInputEdgeDescription(this, core::mem::transmute_copy(&inputindex)) { Ok(ok__) => { - core::ptr::write(edgedescription, core::mem::transmute(ok__)); + edgedescription.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -603,7 +603,7 @@ impl IWinMLEvaluationContext_Vtbl { let this = (*this).get_impl(); match IWinMLEvaluationContext_Impl::GetValueByName(this, core::mem::transmute(&name)) { Ok(ok__) => { - core::ptr::write(pdescriptor, core::mem::transmute(ok__)); + pdescriptor.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -639,7 +639,7 @@ impl IWinMLModel_Vtbl { let this = (*this).get_impl(); match IWinMLModel_Impl::GetDescription(this) { Ok(ok__) => { - core::ptr::write(ppdescription, core::mem::transmute(ok__)); + ppdescription.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -655,7 +655,7 @@ impl IWinMLModel_Vtbl { let this = (*this).get_impl(); match IWinMLModel_Impl::EnumerateModelInputs(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(ppinputdescriptor, core::mem::transmute(ok__)); + ppinputdescriptor.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -666,7 +666,7 @@ impl IWinMLModel_Vtbl { let this = (*this).get_impl(); match IWinMLModel_Impl::EnumerateModelOutputs(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(ppoutputdescriptor, core::mem::transmute(ok__)); + ppoutputdescriptor.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -700,7 +700,7 @@ impl IWinMLRuntime_Vtbl { let this = (*this).get_impl(); match IWinMLRuntime_Impl::LoadModel(this, core::mem::transmute(&path)) { Ok(ok__) => { - core::ptr::write(ppmodel, core::mem::transmute(ok__)); + ppmodel.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -711,7 +711,7 @@ impl IWinMLRuntime_Vtbl { let this = (*this).get_impl(); match IWinMLRuntime_Impl::CreateEvaluationContext(this, windows_core::from_raw_borrowed(&device)) { Ok(ok__) => { - core::ptr::write(ppcontext, core::mem::transmute(ok__)); + ppcontext.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -744,7 +744,7 @@ impl IWinMLRuntimeFactory_Vtbl { let this = (*this).get_impl(); match IWinMLRuntimeFactory_Impl::CreateRuntime(this, core::mem::transmute_copy(&runtimetype)) { Ok(ok__) => { - core::ptr::write(ppruntime, core::mem::transmute(ok__)); + ppruntime.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/Win32/Data/HtmlHelp/impl.rs b/crates/libs/windows/src/Windows/Win32/Data/HtmlHelp/impl.rs index 1c260f91bd..9fec0e8df3 100644 --- a/crates/libs/windows/src/Windows/Win32/Data/HtmlHelp/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Data/HtmlHelp/impl.rs @@ -551,7 +551,7 @@ impl IWordBreakerConfig_Vtbl { let this = (*this).get_impl(); match IWordBreakerConfig_Impl::GetWordStemmer(this) { Ok(ok__) => { - core::ptr::write(ppstemmer, core::mem::transmute(ok__)); + ppstemmer.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/Win32/Data/Xml/MsXml/impl.rs b/crates/libs/windows/src/Windows/Win32/Data/Xml/MsXml/impl.rs index 268ea8e718..0e9c7669f7 100644 --- a/crates/libs/windows/src/Windows/Win32/Data/Xml/MsXml/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Data/Xml/MsXml/impl.rs @@ -119,7 +119,7 @@ impl IMXNamespaceManager_Vtbl { let this = (*this).get_impl(); match IMXNamespaceManager_Impl::getAllowOverride(this) { Ok(ok__) => { - core::ptr::write(foverride, core::mem::transmute(ok__)); + foverride.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -199,7 +199,7 @@ impl IMXNamespacePrefixes_Vtbl { let this = (*this).get_impl(); match IMXNamespacePrefixes_Impl::get_item(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(prefix, core::mem::transmute(ok__)); + prefix.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -210,7 +210,7 @@ impl IMXNamespacePrefixes_Vtbl { let this = (*this).get_impl(); match IMXNamespacePrefixes_Impl::length(this) { Ok(ok__) => { - core::ptr::write(length, core::mem::transmute(ok__)); + length.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -221,7 +221,7 @@ impl IMXNamespacePrefixes_Vtbl { let this = (*this).get_impl(); match IMXNamespacePrefixes_Impl::_newEnum(this) { Ok(ok__) => { - core::ptr::write(ppunk, core::mem::transmute(ok__)); + ppunk.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -333,7 +333,7 @@ impl IMXWriter_Vtbl { let this = (*this).get_impl(); match IMXWriter_Impl::output(this) { Ok(ok__) => { - core::ptr::write(vardestination, core::mem::transmute(ok__)); + vardestination.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -349,7 +349,7 @@ impl IMXWriter_Vtbl { let this = (*this).get_impl(); match IMXWriter_Impl::encoding(this) { Ok(ok__) => { - core::ptr::write(strencoding, core::mem::transmute(ok__)); + strencoding.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -365,7 +365,7 @@ impl IMXWriter_Vtbl { let this = (*this).get_impl(); match IMXWriter_Impl::byteOrderMark(this) { Ok(ok__) => { - core::ptr::write(fwritebyteordermark, core::mem::transmute(ok__)); + fwritebyteordermark.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -381,7 +381,7 @@ impl IMXWriter_Vtbl { let this = (*this).get_impl(); match IMXWriter_Impl::indent(this) { Ok(ok__) => { - core::ptr::write(findentmode, core::mem::transmute(ok__)); + findentmode.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -397,7 +397,7 @@ impl IMXWriter_Vtbl { let this = (*this).get_impl(); match IMXWriter_Impl::standalone(this) { Ok(ok__) => { - core::ptr::write(fvalue, core::mem::transmute(ok__)); + fvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -413,7 +413,7 @@ impl IMXWriter_Vtbl { let this = (*this).get_impl(); match IMXWriter_Impl::omitXMLDeclaration(this) { Ok(ok__) => { - core::ptr::write(fvalue, core::mem::transmute(ok__)); + fvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -429,7 +429,7 @@ impl IMXWriter_Vtbl { let this = (*this).get_impl(); match IMXWriter_Impl::version(this) { Ok(ok__) => { - core::ptr::write(strversion, core::mem::transmute(ok__)); + strversion.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -445,7 +445,7 @@ impl IMXWriter_Vtbl { let this = (*this).get_impl(); match IMXWriter_Impl::disableOutputEscaping(this) { Ok(ok__) => { - core::ptr::write(fvalue, core::mem::transmute(ok__)); + fvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -506,7 +506,7 @@ impl IMXXMLFilter_Vtbl { let this = (*this).get_impl(); match IMXXMLFilter_Impl::getFeature(this, core::mem::transmute(&strname)) { Ok(ok__) => { - core::ptr::write(fvalue, core::mem::transmute(ok__)); + fvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -522,7 +522,7 @@ impl IMXXMLFilter_Vtbl { let this = (*this).get_impl(); match IMXXMLFilter_Impl::getProperty(this, core::mem::transmute(&strname)) { Ok(ok__) => { - core::ptr::write(varvalue, core::mem::transmute(ok__)); + varvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -538,7 +538,7 @@ impl IMXXMLFilter_Vtbl { let this = (*this).get_impl(); match IMXXMLFilter_Impl::entityResolver(this) { Ok(ok__) => { - core::ptr::write(oresolver, core::mem::transmute(ok__)); + oresolver.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -554,7 +554,7 @@ impl IMXXMLFilter_Vtbl { let this = (*this).get_impl(); match IMXXMLFilter_Impl::contentHandler(this) { Ok(ok__) => { - core::ptr::write(ohandler, core::mem::transmute(ok__)); + ohandler.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -570,7 +570,7 @@ impl IMXXMLFilter_Vtbl { let this = (*this).get_impl(); match IMXXMLFilter_Impl::dtdHandler(this) { Ok(ok__) => { - core::ptr::write(ohandler, core::mem::transmute(ok__)); + ohandler.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -586,7 +586,7 @@ impl IMXXMLFilter_Vtbl { let this = (*this).get_impl(); match IMXXMLFilter_Impl::errorHandler(this) { Ok(ok__) => { - core::ptr::write(ohandler, core::mem::transmute(ok__)); + ohandler.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -640,7 +640,7 @@ impl ISAXAttributes_Vtbl { let this = (*this).get_impl(); match ISAXAttributes_Impl::getLength(this) { Ok(ok__) => { - core::ptr::write(pnlength, core::mem::transmute(ok__)); + pnlength.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -671,7 +671,7 @@ impl ISAXAttributes_Vtbl { let this = (*this).get_impl(); match ISAXAttributes_Impl::getIndexFromName(this, core::mem::transmute(&pwchuri), core::mem::transmute_copy(&cchuri), core::mem::transmute(&pwchlocalname), core::mem::transmute_copy(&cchlocalname)) { Ok(ok__) => { - core::ptr::write(pnindex, core::mem::transmute(ok__)); + pnindex.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -682,7 +682,7 @@ impl ISAXAttributes_Vtbl { let this = (*this).get_impl(); match ISAXAttributes_Impl::getIndexFromQName(this, core::mem::transmute(&pwchqname), core::mem::transmute_copy(&cchqname)) { Ok(ok__) => { - core::ptr::write(pnindex, core::mem::transmute(ok__)); + pnindex.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -908,7 +908,7 @@ impl ISAXEntityResolver_Vtbl { let this = (*this).get_impl(); match ISAXEntityResolver_Impl::resolveEntity(this, core::mem::transmute(&pwchpublicid), core::mem::transmute(&pwchsystemid)) { Ok(ok__) => { - core::ptr::write(pvarinput, core::mem::transmute(ok__)); + pvarinput.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1030,7 +1030,7 @@ impl ISAXLocator_Vtbl { let this = (*this).get_impl(); match ISAXLocator_Impl::getColumnNumber(this) { Ok(ok__) => { - core::ptr::write(pncolumn, core::mem::transmute(ok__)); + pncolumn.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1041,7 +1041,7 @@ impl ISAXLocator_Vtbl { let this = (*this).get_impl(); match ISAXLocator_Impl::getLineNumber(this) { Ok(ok__) => { - core::ptr::write(pnline, core::mem::transmute(ok__)); + pnline.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1052,7 +1052,7 @@ impl ISAXLocator_Vtbl { let this = (*this).get_impl(); match ISAXLocator_Impl::getPublicId(this) { Ok(ok__) => { - core::ptr::write(ppwchpublicid, core::mem::transmute(ok__)); + ppwchpublicid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1063,7 +1063,7 @@ impl ISAXLocator_Vtbl { let this = (*this).get_impl(); match ISAXLocator_Impl::getSystemId(this) { Ok(ok__) => { - core::ptr::write(ppwchsystemid, core::mem::transmute(ok__)); + ppwchsystemid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1093,7 +1093,7 @@ impl ISAXXMLFilter_Vtbl { let this = (*this).get_impl(); match ISAXXMLFilter_Impl::getParent(this) { Ok(ok__) => { - core::ptr::write(ppreader, core::mem::transmute(ok__)); + ppreader.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1142,7 +1142,7 @@ impl ISAXXMLReader_Vtbl { let this = (*this).get_impl(); match ISAXXMLReader_Impl::getFeature(this, core::mem::transmute(&pwchname)) { Ok(ok__) => { - core::ptr::write(pvfvalue, core::mem::transmute(ok__)); + pvfvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1158,7 +1158,7 @@ impl ISAXXMLReader_Vtbl { let this = (*this).get_impl(); match ISAXXMLReader_Impl::getProperty(this, core::mem::transmute(&pwchname)) { Ok(ok__) => { - core::ptr::write(pvarvalue, core::mem::transmute(ok__)); + pvarvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1174,7 +1174,7 @@ impl ISAXXMLReader_Vtbl { let this = (*this).get_impl(); match ISAXXMLReader_Impl::getEntityResolver(this) { Ok(ok__) => { - core::ptr::write(ppresolver, core::mem::transmute(ok__)); + ppresolver.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1190,7 +1190,7 @@ impl ISAXXMLReader_Vtbl { let this = (*this).get_impl(); match ISAXXMLReader_Impl::getContentHandler(this) { Ok(ok__) => { - core::ptr::write(pphandler, core::mem::transmute(ok__)); + pphandler.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1206,7 +1206,7 @@ impl ISAXXMLReader_Vtbl { let this = (*this).get_impl(); match ISAXXMLReader_Impl::getDTDHandler(this) { Ok(ok__) => { - core::ptr::write(pphandler, core::mem::transmute(ok__)); + pphandler.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1222,7 +1222,7 @@ impl ISAXXMLReader_Vtbl { let this = (*this).get_impl(); match ISAXXMLReader_Impl::getErrorHandler(this) { Ok(ok__) => { - core::ptr::write(pphandler, core::mem::transmute(ok__)); + pphandler.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1238,7 +1238,7 @@ impl ISAXXMLReader_Vtbl { let this = (*this).get_impl(); match ISAXXMLReader_Impl::getBaseURL(this) { Ok(ok__) => { - core::ptr::write(ppwchbaseurl, core::mem::transmute(ok__)); + ppwchbaseurl.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1254,7 +1254,7 @@ impl ISAXXMLReader_Vtbl { let this = (*this).get_impl(); match ISAXXMLReader_Impl::getSecureBaseURL(this) { Ok(ok__) => { - core::ptr::write(ppwchsecurebaseurl, core::mem::transmute(ok__)); + ppwchsecurebaseurl.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1323,7 +1323,7 @@ impl ISchema_Vtbl { let this = (*this).get_impl(); match ISchema_Impl::targetNamespace(this) { Ok(ok__) => { - core::ptr::write(targetnamespace, core::mem::transmute(ok__)); + targetnamespace.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1334,7 +1334,7 @@ impl ISchema_Vtbl { let this = (*this).get_impl(); match ISchema_Impl::version(this) { Ok(ok__) => { - core::ptr::write(version, core::mem::transmute(ok__)); + version.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1345,7 +1345,7 @@ impl ISchema_Vtbl { let this = (*this).get_impl(); match ISchema_Impl::types(this) { Ok(ok__) => { - core::ptr::write(types, core::mem::transmute(ok__)); + types.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1356,7 +1356,7 @@ impl ISchema_Vtbl { let this = (*this).get_impl(); match ISchema_Impl::elements(this) { Ok(ok__) => { - core::ptr::write(elements, core::mem::transmute(ok__)); + elements.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1367,7 +1367,7 @@ impl ISchema_Vtbl { let this = (*this).get_impl(); match ISchema_Impl::attributes(this) { Ok(ok__) => { - core::ptr::write(attributes, core::mem::transmute(ok__)); + attributes.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1378,7 +1378,7 @@ impl ISchema_Vtbl { let this = (*this).get_impl(); match ISchema_Impl::attributeGroups(this) { Ok(ok__) => { - core::ptr::write(attributegroups, core::mem::transmute(ok__)); + attributegroups.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1389,7 +1389,7 @@ impl ISchema_Vtbl { let this = (*this).get_impl(); match ISchema_Impl::modelGroups(this) { Ok(ok__) => { - core::ptr::write(modelgroups, core::mem::transmute(ok__)); + modelgroups.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1400,7 +1400,7 @@ impl ISchema_Vtbl { let this = (*this).get_impl(); match ISchema_Impl::notations(this) { Ok(ok__) => { - core::ptr::write(notations, core::mem::transmute(ok__)); + notations.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1411,7 +1411,7 @@ impl ISchema_Vtbl { let this = (*this).get_impl(); match ISchema_Impl::schemaLocations(this) { Ok(ok__) => { - core::ptr::write(schemalocations, core::mem::transmute(ok__)); + schemalocations.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1449,7 +1449,7 @@ impl ISchemaAny_Vtbl { let this = (*this).get_impl(); match ISchemaAny_Impl::namespaces(this) { Ok(ok__) => { - core::ptr::write(namespaces, core::mem::transmute(ok__)); + namespaces.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1460,7 +1460,7 @@ impl ISchemaAny_Vtbl { let this = (*this).get_impl(); match ISchemaAny_Impl::processContents(this) { Ok(ok__) => { - core::ptr::write(processcontents, core::mem::transmute(ok__)); + processcontents.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1495,7 +1495,7 @@ impl ISchemaAttribute_Vtbl { let this = (*this).get_impl(); match ISchemaAttribute_Impl::r#type(this) { Ok(ok__) => { - core::ptr::write(r#type, core::mem::transmute(ok__)); + r#type.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1506,7 +1506,7 @@ impl ISchemaAttribute_Vtbl { let this = (*this).get_impl(); match ISchemaAttribute_Impl::scope(this) { Ok(ok__) => { - core::ptr::write(scope, core::mem::transmute(ok__)); + scope.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1517,7 +1517,7 @@ impl ISchemaAttribute_Vtbl { let this = (*this).get_impl(); match ISchemaAttribute_Impl::defaultValue(this) { Ok(ok__) => { - core::ptr::write(defaultvalue, core::mem::transmute(ok__)); + defaultvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1528,7 +1528,7 @@ impl ISchemaAttribute_Vtbl { let this = (*this).get_impl(); match ISchemaAttribute_Impl::fixedValue(this) { Ok(ok__) => { - core::ptr::write(fixedvalue, core::mem::transmute(ok__)); + fixedvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1539,7 +1539,7 @@ impl ISchemaAttribute_Vtbl { let this = (*this).get_impl(); match ISchemaAttribute_Impl::r#use(this) { Ok(ok__) => { - core::ptr::write(r#use, core::mem::transmute(ok__)); + r#use.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1550,7 +1550,7 @@ impl ISchemaAttribute_Vtbl { let this = (*this).get_impl(); match ISchemaAttribute_Impl::isReference(this) { Ok(ok__) => { - core::ptr::write(reference, core::mem::transmute(ok__)); + reference.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1585,7 +1585,7 @@ impl ISchemaAttributeGroup_Vtbl { let this = (*this).get_impl(); match ISchemaAttributeGroup_Impl::anyAttribute(this) { Ok(ok__) => { - core::ptr::write(anyattribute, core::mem::transmute(ok__)); + anyattribute.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1596,7 +1596,7 @@ impl ISchemaAttributeGroup_Vtbl { let this = (*this).get_impl(); match ISchemaAttributeGroup_Impl::attributes(this) { Ok(ok__) => { - core::ptr::write(attributes, core::mem::transmute(ok__)); + attributes.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1631,7 +1631,7 @@ impl ISchemaComplexType_Vtbl { let this = (*this).get_impl(); match ISchemaComplexType_Impl::isAbstract(this) { Ok(ok__) => { - core::ptr::write(r#abstract, core::mem::transmute(ok__)); + r#abstract.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1642,7 +1642,7 @@ impl ISchemaComplexType_Vtbl { let this = (*this).get_impl(); match ISchemaComplexType_Impl::anyAttribute(this) { Ok(ok__) => { - core::ptr::write(anyattribute, core::mem::transmute(ok__)); + anyattribute.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1653,7 +1653,7 @@ impl ISchemaComplexType_Vtbl { let this = (*this).get_impl(); match ISchemaComplexType_Impl::attributes(this) { Ok(ok__) => { - core::ptr::write(attributes, core::mem::transmute(ok__)); + attributes.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1664,7 +1664,7 @@ impl ISchemaComplexType_Vtbl { let this = (*this).get_impl(); match ISchemaComplexType_Impl::contentType(this) { Ok(ok__) => { - core::ptr::write(contenttype, core::mem::transmute(ok__)); + contenttype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1675,7 +1675,7 @@ impl ISchemaComplexType_Vtbl { let this = (*this).get_impl(); match ISchemaComplexType_Impl::contentModel(this) { Ok(ok__) => { - core::ptr::write(contentmodel, core::mem::transmute(ok__)); + contentmodel.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1686,7 +1686,7 @@ impl ISchemaComplexType_Vtbl { let this = (*this).get_impl(); match ISchemaComplexType_Impl::prohibitedSubstitutions(this) { Ok(ok__) => { - core::ptr::write(prohibited, core::mem::transmute(ok__)); + prohibited.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1730,7 +1730,7 @@ impl ISchemaElement_Vtbl { let this = (*this).get_impl(); match ISchemaElement_Impl::r#type(this) { Ok(ok__) => { - core::ptr::write(r#type, core::mem::transmute(ok__)); + r#type.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1741,7 +1741,7 @@ impl ISchemaElement_Vtbl { let this = (*this).get_impl(); match ISchemaElement_Impl::scope(this) { Ok(ok__) => { - core::ptr::write(scope, core::mem::transmute(ok__)); + scope.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1752,7 +1752,7 @@ impl ISchemaElement_Vtbl { let this = (*this).get_impl(); match ISchemaElement_Impl::defaultValue(this) { Ok(ok__) => { - core::ptr::write(defaultvalue, core::mem::transmute(ok__)); + defaultvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1763,7 +1763,7 @@ impl ISchemaElement_Vtbl { let this = (*this).get_impl(); match ISchemaElement_Impl::fixedValue(this) { Ok(ok__) => { - core::ptr::write(fixedvalue, core::mem::transmute(ok__)); + fixedvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1774,7 +1774,7 @@ impl ISchemaElement_Vtbl { let this = (*this).get_impl(); match ISchemaElement_Impl::isNillable(this) { Ok(ok__) => { - core::ptr::write(nillable, core::mem::transmute(ok__)); + nillable.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1785,7 +1785,7 @@ impl ISchemaElement_Vtbl { let this = (*this).get_impl(); match ISchemaElement_Impl::identityConstraints(this) { Ok(ok__) => { - core::ptr::write(constraints, core::mem::transmute(ok__)); + constraints.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1796,7 +1796,7 @@ impl ISchemaElement_Vtbl { let this = (*this).get_impl(); match ISchemaElement_Impl::substitutionGroup(this) { Ok(ok__) => { - core::ptr::write(element, core::mem::transmute(ok__)); + element.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1807,7 +1807,7 @@ impl ISchemaElement_Vtbl { let this = (*this).get_impl(); match ISchemaElement_Impl::substitutionGroupExclusions(this) { Ok(ok__) => { - core::ptr::write(exclusions, core::mem::transmute(ok__)); + exclusions.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1818,7 +1818,7 @@ impl ISchemaElement_Vtbl { let this = (*this).get_impl(); match ISchemaElement_Impl::disallowedSubstitutions(this) { Ok(ok__) => { - core::ptr::write(disallowed, core::mem::transmute(ok__)); + disallowed.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1829,7 +1829,7 @@ impl ISchemaElement_Vtbl { let this = (*this).get_impl(); match ISchemaElement_Impl::isAbstract(this) { Ok(ok__) => { - core::ptr::write(r#abstract, core::mem::transmute(ok__)); + r#abstract.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1840,7 +1840,7 @@ impl ISchemaElement_Vtbl { let this = (*this).get_impl(); match ISchemaElement_Impl::isReference(this) { Ok(ok__) => { - core::ptr::write(reference, core::mem::transmute(ok__)); + reference.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1881,7 +1881,7 @@ impl ISchemaIdentityConstraint_Vtbl { let this = (*this).get_impl(); match ISchemaIdentityConstraint_Impl::selector(this) { Ok(ok__) => { - core::ptr::write(selector, core::mem::transmute(ok__)); + selector.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1892,7 +1892,7 @@ impl ISchemaIdentityConstraint_Vtbl { let this = (*this).get_impl(); match ISchemaIdentityConstraint_Impl::fields(this) { Ok(ok__) => { - core::ptr::write(fields, core::mem::transmute(ok__)); + fields.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1903,7 +1903,7 @@ impl ISchemaIdentityConstraint_Vtbl { let this = (*this).get_impl(); match ISchemaIdentityConstraint_Impl::referencedKey(this) { Ok(ok__) => { - core::ptr::write(key, core::mem::transmute(ok__)); + key.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1940,7 +1940,7 @@ impl ISchemaItem_Vtbl { let this = (*this).get_impl(); match ISchemaItem_Impl::name(this) { Ok(ok__) => { - core::ptr::write(name, core::mem::transmute(ok__)); + name.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1951,7 +1951,7 @@ impl ISchemaItem_Vtbl { let this = (*this).get_impl(); match ISchemaItem_Impl::namespaceURI(this) { Ok(ok__) => { - core::ptr::write(namespaceuri, core::mem::transmute(ok__)); + namespaceuri.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1962,7 +1962,7 @@ impl ISchemaItem_Vtbl { let this = (*this).get_impl(); match ISchemaItem_Impl::schema(this) { Ok(ok__) => { - core::ptr::write(schema, core::mem::transmute(ok__)); + schema.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1973,7 +1973,7 @@ impl ISchemaItem_Vtbl { let this = (*this).get_impl(); match ISchemaItem_Impl::id(this) { Ok(ok__) => { - core::ptr::write(id, core::mem::transmute(ok__)); + id.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1984,7 +1984,7 @@ impl ISchemaItem_Vtbl { let this = (*this).get_impl(); match ISchemaItem_Impl::itemType(this) { Ok(ok__) => { - core::ptr::write(itemtype, core::mem::transmute(ok__)); + itemtype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1995,7 +1995,7 @@ impl ISchemaItem_Vtbl { let this = (*this).get_impl(); match ISchemaItem_Impl::unhandledAttributes(this) { Ok(ok__) => { - core::ptr::write(attributes, core::mem::transmute(ok__)); + attributes.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2006,7 +2006,7 @@ impl ISchemaItem_Vtbl { let this = (*this).get_impl(); match ISchemaItem_Impl::writeAnnotation(this, windows_core::from_raw_borrowed(&annotationsink)) { Ok(ok__) => { - core::ptr::write(iswritten, core::mem::transmute(ok__)); + iswritten.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2045,7 +2045,7 @@ impl ISchemaItemCollection_Vtbl { let this = (*this).get_impl(); match ISchemaItemCollection_Impl::get_item(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(item, core::mem::transmute(ok__)); + item.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2056,7 +2056,7 @@ impl ISchemaItemCollection_Vtbl { let this = (*this).get_impl(); match ISchemaItemCollection_Impl::itemByName(this, core::mem::transmute(&name)) { Ok(ok__) => { - core::ptr::write(item, core::mem::transmute(ok__)); + item.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2067,7 +2067,7 @@ impl ISchemaItemCollection_Vtbl { let this = (*this).get_impl(); match ISchemaItemCollection_Impl::itemByQName(this, core::mem::transmute(&name), core::mem::transmute(&namespaceuri)) { Ok(ok__) => { - core::ptr::write(item, core::mem::transmute(ok__)); + item.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2078,7 +2078,7 @@ impl ISchemaItemCollection_Vtbl { let this = (*this).get_impl(); match ISchemaItemCollection_Impl::length(this) { Ok(ok__) => { - core::ptr::write(length, core::mem::transmute(ok__)); + length.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2089,7 +2089,7 @@ impl ISchemaItemCollection_Vtbl { let this = (*this).get_impl(); match ISchemaItemCollection_Impl::_newEnum(this) { Ok(ok__) => { - core::ptr::write(ppunk, core::mem::transmute(ok__)); + ppunk.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2122,7 +2122,7 @@ impl ISchemaModelGroup_Vtbl { let this = (*this).get_impl(); match ISchemaModelGroup_Impl::particles(this) { Ok(ok__) => { - core::ptr::write(particles, core::mem::transmute(ok__)); + particles.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2149,7 +2149,7 @@ impl ISchemaNotation_Vtbl { let this = (*this).get_impl(); match ISchemaNotation_Impl::systemIdentifier(this) { Ok(ok__) => { - core::ptr::write(uri, core::mem::transmute(ok__)); + uri.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2160,7 +2160,7 @@ impl ISchemaNotation_Vtbl { let this = (*this).get_impl(); match ISchemaNotation_Impl::publicIdentifier(this) { Ok(ok__) => { - core::ptr::write(uri, core::mem::transmute(ok__)); + uri.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2191,7 +2191,7 @@ impl ISchemaParticle_Vtbl { let this = (*this).get_impl(); match ISchemaParticle_Impl::minOccurs(this) { Ok(ok__) => { - core::ptr::write(minoccurs, core::mem::transmute(ok__)); + minoccurs.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2202,7 +2202,7 @@ impl ISchemaParticle_Vtbl { let this = (*this).get_impl(); match ISchemaParticle_Impl::maxOccurs(this) { Ok(ok__) => { - core::ptr::write(maxoccurs, core::mem::transmute(ok__)); + maxoccurs.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2234,7 +2234,7 @@ impl ISchemaStringCollection_Vtbl { let this = (*this).get_impl(); match ISchemaStringCollection_Impl::get_item(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(bstr, core::mem::transmute(ok__)); + bstr.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2245,7 +2245,7 @@ impl ISchemaStringCollection_Vtbl { let this = (*this).get_impl(); match ISchemaStringCollection_Impl::length(this) { Ok(ok__) => { - core::ptr::write(length, core::mem::transmute(ok__)); + length.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2256,7 +2256,7 @@ impl ISchemaStringCollection_Vtbl { let this = (*this).get_impl(); match ISchemaStringCollection_Impl::_newEnum(this) { Ok(ok__) => { - core::ptr::write(ppunk, core::mem::transmute(ok__)); + ppunk.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2303,7 +2303,7 @@ impl ISchemaType_Vtbl { let this = (*this).get_impl(); match ISchemaType_Impl::baseTypes(this) { Ok(ok__) => { - core::ptr::write(basetypes, core::mem::transmute(ok__)); + basetypes.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2314,7 +2314,7 @@ impl ISchemaType_Vtbl { let this = (*this).get_impl(); match ISchemaType_Impl::r#final(this) { Ok(ok__) => { - core::ptr::write(r#final, core::mem::transmute(ok__)); + r#final.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2325,7 +2325,7 @@ impl ISchemaType_Vtbl { let this = (*this).get_impl(); match ISchemaType_Impl::variety(this) { Ok(ok__) => { - core::ptr::write(variety, core::mem::transmute(ok__)); + variety.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2336,7 +2336,7 @@ impl ISchemaType_Vtbl { let this = (*this).get_impl(); match ISchemaType_Impl::derivedBy(this) { Ok(ok__) => { - core::ptr::write(derivedby, core::mem::transmute(ok__)); + derivedby.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2347,7 +2347,7 @@ impl ISchemaType_Vtbl { let this = (*this).get_impl(); match ISchemaType_Impl::isValid(this, core::mem::transmute(&data)) { Ok(ok__) => { - core::ptr::write(valid, core::mem::transmute(ok__)); + valid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2358,7 +2358,7 @@ impl ISchemaType_Vtbl { let this = (*this).get_impl(); match ISchemaType_Impl::minExclusive(this) { Ok(ok__) => { - core::ptr::write(minexclusive, core::mem::transmute(ok__)); + minexclusive.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2369,7 +2369,7 @@ impl ISchemaType_Vtbl { let this = (*this).get_impl(); match ISchemaType_Impl::minInclusive(this) { Ok(ok__) => { - core::ptr::write(mininclusive, core::mem::transmute(ok__)); + mininclusive.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2380,7 +2380,7 @@ impl ISchemaType_Vtbl { let this = (*this).get_impl(); match ISchemaType_Impl::maxExclusive(this) { Ok(ok__) => { - core::ptr::write(maxexclusive, core::mem::transmute(ok__)); + maxexclusive.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2391,7 +2391,7 @@ impl ISchemaType_Vtbl { let this = (*this).get_impl(); match ISchemaType_Impl::maxInclusive(this) { Ok(ok__) => { - core::ptr::write(maxinclusive, core::mem::transmute(ok__)); + maxinclusive.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2402,7 +2402,7 @@ impl ISchemaType_Vtbl { let this = (*this).get_impl(); match ISchemaType_Impl::totalDigits(this) { Ok(ok__) => { - core::ptr::write(totaldigits, core::mem::transmute(ok__)); + totaldigits.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2413,7 +2413,7 @@ impl ISchemaType_Vtbl { let this = (*this).get_impl(); match ISchemaType_Impl::fractionDigits(this) { Ok(ok__) => { - core::ptr::write(fractiondigits, core::mem::transmute(ok__)); + fractiondigits.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2424,7 +2424,7 @@ impl ISchemaType_Vtbl { let this = (*this).get_impl(); match ISchemaType_Impl::length(this) { Ok(ok__) => { - core::ptr::write(length, core::mem::transmute(ok__)); + length.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2435,7 +2435,7 @@ impl ISchemaType_Vtbl { let this = (*this).get_impl(); match ISchemaType_Impl::minLength(this) { Ok(ok__) => { - core::ptr::write(minlength, core::mem::transmute(ok__)); + minlength.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2446,7 +2446,7 @@ impl ISchemaType_Vtbl { let this = (*this).get_impl(); match ISchemaType_Impl::maxLength(this) { Ok(ok__) => { - core::ptr::write(maxlength, core::mem::transmute(ok__)); + maxlength.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2457,7 +2457,7 @@ impl ISchemaType_Vtbl { let this = (*this).get_impl(); match ISchemaType_Impl::enumeration(this) { Ok(ok__) => { - core::ptr::write(enumeration, core::mem::transmute(ok__)); + enumeration.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2468,7 +2468,7 @@ impl ISchemaType_Vtbl { let this = (*this).get_impl(); match ISchemaType_Impl::whitespace(this) { Ok(ok__) => { - core::ptr::write(whitespace, core::mem::transmute(ok__)); + whitespace.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2479,7 +2479,7 @@ impl ISchemaType_Vtbl { let this = (*this).get_impl(); match ISchemaType_Impl::patterns(this) { Ok(ok__) => { - core::ptr::write(patterns, core::mem::transmute(ok__)); + patterns.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2532,7 +2532,7 @@ impl IServerXMLHTTPRequest_Vtbl { let this = (*this).get_impl(); match IServerXMLHTTPRequest_Impl::waitForResponse(this, core::mem::transmute(&timeoutinseconds)) { Ok(ok__) => { - core::ptr::write(issuccessful, core::mem::transmute(ok__)); + issuccessful.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2543,7 +2543,7 @@ impl IServerXMLHTTPRequest_Vtbl { let this = (*this).get_impl(); match IServerXMLHTTPRequest_Impl::getOption(this, core::mem::transmute_copy(&option)) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2625,7 +2625,7 @@ impl IVBMXNamespaceManager_Vtbl { let this = (*this).get_impl(); match IVBMXNamespaceManager_Impl::allowOverride(this) { Ok(ok__) => { - core::ptr::write(foverride, core::mem::transmute(ok__)); + foverride.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2661,7 +2661,7 @@ impl IVBMXNamespaceManager_Vtbl { let this = (*this).get_impl(); match IVBMXNamespaceManager_Impl::getDeclaredPrefixes(this) { Ok(ok__) => { - core::ptr::write(prefixes, core::mem::transmute(ok__)); + prefixes.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2672,7 +2672,7 @@ impl IVBMXNamespaceManager_Vtbl { let this = (*this).get_impl(); match IVBMXNamespaceManager_Impl::getPrefixes(this, core::mem::transmute(&namespaceuri)) { Ok(ok__) => { - core::ptr::write(prefixes, core::mem::transmute(ok__)); + prefixes.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2683,7 +2683,7 @@ impl IVBMXNamespaceManager_Vtbl { let this = (*this).get_impl(); match IVBMXNamespaceManager_Impl::getURI(this, core::mem::transmute(&prefix)) { Ok(ok__) => { - core::ptr::write(uri, core::mem::transmute(ok__)); + uri.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2694,7 +2694,7 @@ impl IVBMXNamespaceManager_Vtbl { let this = (*this).get_impl(); match IVBMXNamespaceManager_Impl::getURIFromNode(this, core::mem::transmute(&strprefix), windows_core::from_raw_borrowed(&contextnode)) { Ok(ok__) => { - core::ptr::write(uri, core::mem::transmute(ok__)); + uri.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2744,7 +2744,7 @@ impl IVBSAXAttributes_Vtbl { let this = (*this).get_impl(); match IVBSAXAttributes_Impl::length(this) { Ok(ok__) => { - core::ptr::write(nlength, core::mem::transmute(ok__)); + nlength.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2755,7 +2755,7 @@ impl IVBSAXAttributes_Vtbl { let this = (*this).get_impl(); match IVBSAXAttributes_Impl::getURI(this, core::mem::transmute_copy(&nindex)) { Ok(ok__) => { - core::ptr::write(struri, core::mem::transmute(ok__)); + struri.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2766,7 +2766,7 @@ impl IVBSAXAttributes_Vtbl { let this = (*this).get_impl(); match IVBSAXAttributes_Impl::getLocalName(this, core::mem::transmute_copy(&nindex)) { Ok(ok__) => { - core::ptr::write(strlocalname, core::mem::transmute(ok__)); + strlocalname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2777,7 +2777,7 @@ impl IVBSAXAttributes_Vtbl { let this = (*this).get_impl(); match IVBSAXAttributes_Impl::getQName(this, core::mem::transmute_copy(&nindex)) { Ok(ok__) => { - core::ptr::write(strqname, core::mem::transmute(ok__)); + strqname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2788,7 +2788,7 @@ impl IVBSAXAttributes_Vtbl { let this = (*this).get_impl(); match IVBSAXAttributes_Impl::getIndexFromName(this, core::mem::transmute(&struri), core::mem::transmute(&strlocalname)) { Ok(ok__) => { - core::ptr::write(nindex, core::mem::transmute(ok__)); + nindex.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2799,7 +2799,7 @@ impl IVBSAXAttributes_Vtbl { let this = (*this).get_impl(); match IVBSAXAttributes_Impl::getIndexFromQName(this, core::mem::transmute(&strqname)) { Ok(ok__) => { - core::ptr::write(nindex, core::mem::transmute(ok__)); + nindex.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2810,7 +2810,7 @@ impl IVBSAXAttributes_Vtbl { let this = (*this).get_impl(); match IVBSAXAttributes_Impl::getType(this, core::mem::transmute_copy(&nindex)) { Ok(ok__) => { - core::ptr::write(strtype, core::mem::transmute(ok__)); + strtype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2821,7 +2821,7 @@ impl IVBSAXAttributes_Vtbl { let this = (*this).get_impl(); match IVBSAXAttributes_Impl::getTypeFromName(this, core::mem::transmute(&struri), core::mem::transmute(&strlocalname)) { Ok(ok__) => { - core::ptr::write(strtype, core::mem::transmute(ok__)); + strtype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2832,7 +2832,7 @@ impl IVBSAXAttributes_Vtbl { let this = (*this).get_impl(); match IVBSAXAttributes_Impl::getTypeFromQName(this, core::mem::transmute(&strqname)) { Ok(ok__) => { - core::ptr::write(strtype, core::mem::transmute(ok__)); + strtype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2843,7 +2843,7 @@ impl IVBSAXAttributes_Vtbl { let this = (*this).get_impl(); match IVBSAXAttributes_Impl::getValue(this, core::mem::transmute_copy(&nindex)) { Ok(ok__) => { - core::ptr::write(strvalue, core::mem::transmute(ok__)); + strvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2854,7 +2854,7 @@ impl IVBSAXAttributes_Vtbl { let this = (*this).get_impl(); match IVBSAXAttributes_Impl::getValueFromName(this, core::mem::transmute(&struri), core::mem::transmute(&strlocalname)) { Ok(ok__) => { - core::ptr::write(strvalue, core::mem::transmute(ok__)); + strvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2865,7 +2865,7 @@ impl IVBSAXAttributes_Vtbl { let this = (*this).get_impl(); match IVBSAXAttributes_Impl::getValueFromQName(this, core::mem::transmute(&strqname)) { Ok(ok__) => { - core::ptr::write(strvalue, core::mem::transmute(ok__)); + strvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3072,7 +3072,7 @@ impl IVBSAXEntityResolver_Vtbl { let this = (*this).get_impl(); match IVBSAXEntityResolver_Impl::resolveEntity(this, core::mem::transmute_copy(&strpublicid), core::mem::transmute_copy(&strsystemid)) { Ok(ok__) => { - core::ptr::write(varinput, core::mem::transmute(ok__)); + varinput.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3206,7 +3206,7 @@ impl IVBSAXLocator_Vtbl { let this = (*this).get_impl(); match IVBSAXLocator_Impl::columnNumber(this) { Ok(ok__) => { - core::ptr::write(ncolumn, core::mem::transmute(ok__)); + ncolumn.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3217,7 +3217,7 @@ impl IVBSAXLocator_Vtbl { let this = (*this).get_impl(); match IVBSAXLocator_Impl::lineNumber(this) { Ok(ok__) => { - core::ptr::write(nline, core::mem::transmute(ok__)); + nline.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3228,7 +3228,7 @@ impl IVBSAXLocator_Vtbl { let this = (*this).get_impl(); match IVBSAXLocator_Impl::publicId(this) { Ok(ok__) => { - core::ptr::write(strpublicid, core::mem::transmute(ok__)); + strpublicid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3239,7 +3239,7 @@ impl IVBSAXLocator_Vtbl { let this = (*this).get_impl(); match IVBSAXLocator_Impl::systemId(this) { Ok(ok__) => { - core::ptr::write(strsystemid, core::mem::transmute(ok__)); + strsystemid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3272,7 +3272,7 @@ impl IVBSAXXMLFilter_Vtbl { let this = (*this).get_impl(); match IVBSAXXMLFilter_Impl::parent(this) { Ok(ok__) => { - core::ptr::write(oreader, core::mem::transmute(ok__)); + oreader.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3324,7 +3324,7 @@ impl IVBSAXXMLReader_Vtbl { let this = (*this).get_impl(); match IVBSAXXMLReader_Impl::getFeature(this, core::mem::transmute(&strname)) { Ok(ok__) => { - core::ptr::write(fvalue, core::mem::transmute(ok__)); + fvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3340,7 +3340,7 @@ impl IVBSAXXMLReader_Vtbl { let this = (*this).get_impl(); match IVBSAXXMLReader_Impl::getProperty(this, core::mem::transmute(&strname)) { Ok(ok__) => { - core::ptr::write(varvalue, core::mem::transmute(ok__)); + varvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3356,7 +3356,7 @@ impl IVBSAXXMLReader_Vtbl { let this = (*this).get_impl(); match IVBSAXXMLReader_Impl::entityResolver(this) { Ok(ok__) => { - core::ptr::write(oresolver, core::mem::transmute(ok__)); + oresolver.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3372,7 +3372,7 @@ impl IVBSAXXMLReader_Vtbl { let this = (*this).get_impl(); match IVBSAXXMLReader_Impl::contentHandler(this) { Ok(ok__) => { - core::ptr::write(ohandler, core::mem::transmute(ok__)); + ohandler.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3388,7 +3388,7 @@ impl IVBSAXXMLReader_Vtbl { let this = (*this).get_impl(); match IVBSAXXMLReader_Impl::dtdHandler(this) { Ok(ok__) => { - core::ptr::write(ohandler, core::mem::transmute(ok__)); + ohandler.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3404,7 +3404,7 @@ impl IVBSAXXMLReader_Vtbl { let this = (*this).get_impl(); match IVBSAXXMLReader_Impl::errorHandler(this) { Ok(ok__) => { - core::ptr::write(ohandler, core::mem::transmute(ok__)); + ohandler.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3420,7 +3420,7 @@ impl IVBSAXXMLReader_Vtbl { let this = (*this).get_impl(); match IVBSAXXMLReader_Impl::baseURL(this) { Ok(ok__) => { - core::ptr::write(strbaseurl, core::mem::transmute(ok__)); + strbaseurl.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3436,7 +3436,7 @@ impl IVBSAXXMLReader_Vtbl { let this = (*this).get_impl(); match IVBSAXXMLReader_Impl::secureBaseURL(this) { Ok(ok__) => { - core::ptr::write(strsecurebaseurl, core::mem::transmute(ok__)); + strsecurebaseurl.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3498,7 +3498,7 @@ impl IXMLAttribute_Vtbl { let this = (*this).get_impl(); match IXMLAttribute_Impl::name(this) { Ok(ok__) => { - core::ptr::write(n, core::mem::transmute(ok__)); + n.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3509,7 +3509,7 @@ impl IXMLAttribute_Vtbl { let this = (*this).get_impl(); match IXMLAttribute_Impl::value(this) { Ok(ok__) => { - core::ptr::write(v, core::mem::transmute(ok__)); + v.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3541,7 +3541,7 @@ impl IXMLDOMAttribute_Vtbl { let this = (*this).get_impl(); match IXMLDOMAttribute_Impl::name(this) { Ok(ok__) => { - core::ptr::write(attributename, core::mem::transmute(ok__)); + attributename.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3552,7 +3552,7 @@ impl IXMLDOMAttribute_Vtbl { let this = (*this).get_impl(); match IXMLDOMAttribute_Impl::value(this) { Ok(ok__) => { - core::ptr::write(attributevalue, core::mem::transmute(ok__)); + attributevalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3608,7 +3608,7 @@ impl IXMLDOMCharacterData_Vtbl { let this = (*this).get_impl(); match IXMLDOMCharacterData_Impl::data(this) { Ok(ok__) => { - core::ptr::write(data, core::mem::transmute(ok__)); + data.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3624,7 +3624,7 @@ impl IXMLDOMCharacterData_Vtbl { let this = (*this).get_impl(); match IXMLDOMCharacterData_Impl::length(this) { Ok(ok__) => { - core::ptr::write(datalength, core::mem::transmute(ok__)); + datalength.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3635,7 +3635,7 @@ impl IXMLDOMCharacterData_Vtbl { let this = (*this).get_impl(); match IXMLDOMCharacterData_Impl::substringData(this, core::mem::transmute_copy(&offset), core::mem::transmute_copy(&count)) { Ok(ok__) => { - core::ptr::write(data, core::mem::transmute(ok__)); + data.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3736,7 +3736,7 @@ impl IXMLDOMDocument_Vtbl { let this = (*this).get_impl(); match IXMLDOMDocument_Impl::doctype(this) { Ok(ok__) => { - core::ptr::write(documenttype, core::mem::transmute(ok__)); + documenttype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3747,7 +3747,7 @@ impl IXMLDOMDocument_Vtbl { let this = (*this).get_impl(); match IXMLDOMDocument_Impl::implementation(this) { Ok(ok__) => { - core::ptr::write(r#impl, core::mem::transmute(ok__)); + r#impl.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3758,7 +3758,7 @@ impl IXMLDOMDocument_Vtbl { let this = (*this).get_impl(); match IXMLDOMDocument_Impl::documentElement(this) { Ok(ok__) => { - core::ptr::write(domelement, core::mem::transmute(ok__)); + domelement.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3774,7 +3774,7 @@ impl IXMLDOMDocument_Vtbl { let this = (*this).get_impl(); match IXMLDOMDocument_Impl::createElement(this, core::mem::transmute(&tagname)) { Ok(ok__) => { - core::ptr::write(element, core::mem::transmute(ok__)); + element.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3785,7 +3785,7 @@ impl IXMLDOMDocument_Vtbl { let this = (*this).get_impl(); match IXMLDOMDocument_Impl::createDocumentFragment(this) { Ok(ok__) => { - core::ptr::write(docfrag, core::mem::transmute(ok__)); + docfrag.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3796,7 +3796,7 @@ impl IXMLDOMDocument_Vtbl { let this = (*this).get_impl(); match IXMLDOMDocument_Impl::createTextNode(this, core::mem::transmute(&data)) { Ok(ok__) => { - core::ptr::write(text, core::mem::transmute(ok__)); + text.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3807,7 +3807,7 @@ impl IXMLDOMDocument_Vtbl { let this = (*this).get_impl(); match IXMLDOMDocument_Impl::createComment(this, core::mem::transmute(&data)) { Ok(ok__) => { - core::ptr::write(comment, core::mem::transmute(ok__)); + comment.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3818,7 +3818,7 @@ impl IXMLDOMDocument_Vtbl { let this = (*this).get_impl(); match IXMLDOMDocument_Impl::createCDATASection(this, core::mem::transmute(&data)) { Ok(ok__) => { - core::ptr::write(cdata, core::mem::transmute(ok__)); + cdata.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3829,7 +3829,7 @@ impl IXMLDOMDocument_Vtbl { let this = (*this).get_impl(); match IXMLDOMDocument_Impl::createProcessingInstruction(this, core::mem::transmute(&target), core::mem::transmute(&data)) { Ok(ok__) => { - core::ptr::write(pi, core::mem::transmute(ok__)); + pi.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3840,7 +3840,7 @@ impl IXMLDOMDocument_Vtbl { let this = (*this).get_impl(); match IXMLDOMDocument_Impl::createAttribute(this, core::mem::transmute(&name)) { Ok(ok__) => { - core::ptr::write(attribute, core::mem::transmute(ok__)); + attribute.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3851,7 +3851,7 @@ impl IXMLDOMDocument_Vtbl { let this = (*this).get_impl(); match IXMLDOMDocument_Impl::createEntityReference(this, core::mem::transmute(&name)) { Ok(ok__) => { - core::ptr::write(entityref, core::mem::transmute(ok__)); + entityref.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3862,7 +3862,7 @@ impl IXMLDOMDocument_Vtbl { let this = (*this).get_impl(); match IXMLDOMDocument_Impl::getElementsByTagName(this, core::mem::transmute(&tagname)) { Ok(ok__) => { - core::ptr::write(resultlist, core::mem::transmute(ok__)); + resultlist.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3873,7 +3873,7 @@ impl IXMLDOMDocument_Vtbl { let this = (*this).get_impl(); match IXMLDOMDocument_Impl::createNode(this, core::mem::transmute(&r#type), core::mem::transmute(&name), core::mem::transmute(&namespaceuri)) { Ok(ok__) => { - core::ptr::write(node, core::mem::transmute(ok__)); + node.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3884,7 +3884,7 @@ impl IXMLDOMDocument_Vtbl { let this = (*this).get_impl(); match IXMLDOMDocument_Impl::nodeFromID(this, core::mem::transmute(&idstring)) { Ok(ok__) => { - core::ptr::write(node, core::mem::transmute(ok__)); + node.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3895,7 +3895,7 @@ impl IXMLDOMDocument_Vtbl { let this = (*this).get_impl(); match IXMLDOMDocument_Impl::load(this, core::mem::transmute(&xmlsource)) { Ok(ok__) => { - core::ptr::write(issuccessful, core::mem::transmute(ok__)); + issuccessful.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3906,7 +3906,7 @@ impl IXMLDOMDocument_Vtbl { let this = (*this).get_impl(); match IXMLDOMDocument_Impl::readyState(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3917,7 +3917,7 @@ impl IXMLDOMDocument_Vtbl { let this = (*this).get_impl(); match IXMLDOMDocument_Impl::parseError(this) { Ok(ok__) => { - core::ptr::write(errorobj, core::mem::transmute(ok__)); + errorobj.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3928,7 +3928,7 @@ impl IXMLDOMDocument_Vtbl { let this = (*this).get_impl(); match IXMLDOMDocument_Impl::url(this) { Ok(ok__) => { - core::ptr::write(urlstring, core::mem::transmute(ok__)); + urlstring.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3939,7 +3939,7 @@ impl IXMLDOMDocument_Vtbl { let this = (*this).get_impl(); match IXMLDOMDocument_Impl::r#async(this) { Ok(ok__) => { - core::ptr::write(isasync, core::mem::transmute(ok__)); + isasync.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3960,7 +3960,7 @@ impl IXMLDOMDocument_Vtbl { let this = (*this).get_impl(); match IXMLDOMDocument_Impl::loadXML(this, core::mem::transmute(&bstrxml)) { Ok(ok__) => { - core::ptr::write(issuccessful, core::mem::transmute(ok__)); + issuccessful.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3976,7 +3976,7 @@ impl IXMLDOMDocument_Vtbl { let this = (*this).get_impl(); match IXMLDOMDocument_Impl::validateOnParse(this) { Ok(ok__) => { - core::ptr::write(isvalidating, core::mem::transmute(ok__)); + isvalidating.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3992,7 +3992,7 @@ impl IXMLDOMDocument_Vtbl { let this = (*this).get_impl(); match IXMLDOMDocument_Impl::resolveExternals(this) { Ok(ok__) => { - core::ptr::write(isresolving, core::mem::transmute(ok__)); + isresolving.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4008,7 +4008,7 @@ impl IXMLDOMDocument_Vtbl { let this = (*this).get_impl(); match IXMLDOMDocument_Impl::preserveWhiteSpace(this) { Ok(ok__) => { - core::ptr::write(ispreserving, core::mem::transmute(ok__)); + ispreserving.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4094,7 +4094,7 @@ impl IXMLDOMDocument2_Vtbl { let this = (*this).get_impl(); match IXMLDOMDocument2_Impl::namespaces(this) { Ok(ok__) => { - core::ptr::write(namespacecollection, core::mem::transmute(ok__)); + namespacecollection.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4105,7 +4105,7 @@ impl IXMLDOMDocument2_Vtbl { let this = (*this).get_impl(); match IXMLDOMDocument2_Impl::schemas(this) { Ok(ok__) => { - core::ptr::write(othercollection, core::mem::transmute(ok__)); + othercollection.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4121,7 +4121,7 @@ impl IXMLDOMDocument2_Vtbl { let this = (*this).get_impl(); match IXMLDOMDocument2_Impl::validate(this) { Ok(ok__) => { - core::ptr::write(errorobj, core::mem::transmute(ok__)); + errorobj.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4137,7 +4137,7 @@ impl IXMLDOMDocument2_Vtbl { let this = (*this).get_impl(); match IXMLDOMDocument2_Impl::getProperty(this, core::mem::transmute(&name)) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4172,7 +4172,7 @@ impl IXMLDOMDocument3_Vtbl { let this = (*this).get_impl(); match IXMLDOMDocument3_Impl::validateNode(this, windows_core::from_raw_borrowed(&node)) { Ok(ok__) => { - core::ptr::write(errorobj, core::mem::transmute(ok__)); + errorobj.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4183,7 +4183,7 @@ impl IXMLDOMDocument3_Vtbl { let this = (*this).get_impl(); match IXMLDOMDocument3_Impl::importNode(this, windows_core::from_raw_borrowed(&node), core::mem::transmute_copy(&deep)) { Ok(ok__) => { - core::ptr::write(clone, core::mem::transmute(ok__)); + clone.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4228,7 +4228,7 @@ impl IXMLDOMDocumentType_Vtbl { let this = (*this).get_impl(); match IXMLDOMDocumentType_Impl::name(this) { Ok(ok__) => { - core::ptr::write(rootname, core::mem::transmute(ok__)); + rootname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4239,7 +4239,7 @@ impl IXMLDOMDocumentType_Vtbl { let this = (*this).get_impl(); match IXMLDOMDocumentType_Impl::entities(this) { Ok(ok__) => { - core::ptr::write(entitymap, core::mem::transmute(ok__)); + entitymap.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4250,7 +4250,7 @@ impl IXMLDOMDocumentType_Vtbl { let this = (*this).get_impl(); match IXMLDOMDocumentType_Impl::notations(this) { Ok(ok__) => { - core::ptr::write(notationmap, core::mem::transmute(ok__)); + notationmap.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4289,7 +4289,7 @@ impl IXMLDOMElement_Vtbl { let this = (*this).get_impl(); match IXMLDOMElement_Impl::tagName(this) { Ok(ok__) => { - core::ptr::write(tagname, core::mem::transmute(ok__)); + tagname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4300,7 +4300,7 @@ impl IXMLDOMElement_Vtbl { let this = (*this).get_impl(); match IXMLDOMElement_Impl::getAttribute(this, core::mem::transmute(&name)) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4321,7 +4321,7 @@ impl IXMLDOMElement_Vtbl { let this = (*this).get_impl(); match IXMLDOMElement_Impl::getAttributeNode(this, core::mem::transmute(&name)) { Ok(ok__) => { - core::ptr::write(attributenode, core::mem::transmute(ok__)); + attributenode.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4332,7 +4332,7 @@ impl IXMLDOMElement_Vtbl { let this = (*this).get_impl(); match IXMLDOMElement_Impl::setAttributeNode(this, windows_core::from_raw_borrowed(&domattribute)) { Ok(ok__) => { - core::ptr::write(attributenode, core::mem::transmute(ok__)); + attributenode.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4343,7 +4343,7 @@ impl IXMLDOMElement_Vtbl { let this = (*this).get_impl(); match IXMLDOMElement_Impl::removeAttributeNode(this, windows_core::from_raw_borrowed(&domattribute)) { Ok(ok__) => { - core::ptr::write(attributenode, core::mem::transmute(ok__)); + attributenode.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4354,7 +4354,7 @@ impl IXMLDOMElement_Vtbl { let this = (*this).get_impl(); match IXMLDOMElement_Impl::getElementsByTagName(this, core::mem::transmute(&tagname)) { Ok(ok__) => { - core::ptr::write(resultlist, core::mem::transmute(ok__)); + resultlist.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4398,7 +4398,7 @@ impl IXMLDOMEntity_Vtbl { let this = (*this).get_impl(); match IXMLDOMEntity_Impl::publicId(this) { Ok(ok__) => { - core::ptr::write(publicid, core::mem::transmute(ok__)); + publicid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4409,7 +4409,7 @@ impl IXMLDOMEntity_Vtbl { let this = (*this).get_impl(); match IXMLDOMEntity_Impl::systemId(this) { Ok(ok__) => { - core::ptr::write(systemid, core::mem::transmute(ok__)); + systemid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4420,7 +4420,7 @@ impl IXMLDOMEntity_Vtbl { let this = (*this).get_impl(); match IXMLDOMEntity_Impl::notationName(this) { Ok(ok__) => { - core::ptr::write(name, core::mem::transmute(ok__)); + name.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4464,7 +4464,7 @@ impl IXMLDOMImplementation_Vtbl { let this = (*this).get_impl(); match IXMLDOMImplementation_Impl::hasFeature(this, core::mem::transmute(&feature), core::mem::transmute(&version)) { Ok(ok__) => { - core::ptr::write(hasfeature, core::mem::transmute(ok__)); + hasfeature.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4499,7 +4499,7 @@ impl IXMLDOMNamedNodeMap_Vtbl { let this = (*this).get_impl(); match IXMLDOMNamedNodeMap_Impl::getNamedItem(this, core::mem::transmute(&name)) { Ok(ok__) => { - core::ptr::write(nameditem, core::mem::transmute(ok__)); + nameditem.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4510,7 +4510,7 @@ impl IXMLDOMNamedNodeMap_Vtbl { let this = (*this).get_impl(); match IXMLDOMNamedNodeMap_Impl::setNamedItem(this, windows_core::from_raw_borrowed(&newitem)) { Ok(ok__) => { - core::ptr::write(nameitem, core::mem::transmute(ok__)); + nameitem.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4521,7 +4521,7 @@ impl IXMLDOMNamedNodeMap_Vtbl { let this = (*this).get_impl(); match IXMLDOMNamedNodeMap_Impl::removeNamedItem(this, core::mem::transmute(&name)) { Ok(ok__) => { - core::ptr::write(nameditem, core::mem::transmute(ok__)); + nameditem.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4532,7 +4532,7 @@ impl IXMLDOMNamedNodeMap_Vtbl { let this = (*this).get_impl(); match IXMLDOMNamedNodeMap_Impl::get_item(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(listitem, core::mem::transmute(ok__)); + listitem.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4543,7 +4543,7 @@ impl IXMLDOMNamedNodeMap_Vtbl { let this = (*this).get_impl(); match IXMLDOMNamedNodeMap_Impl::length(this) { Ok(ok__) => { - core::ptr::write(listlength, core::mem::transmute(ok__)); + listlength.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4554,7 +4554,7 @@ impl IXMLDOMNamedNodeMap_Vtbl { let this = (*this).get_impl(); match IXMLDOMNamedNodeMap_Impl::getQualifiedItem(this, core::mem::transmute(&basename), core::mem::transmute(&namespaceuri)) { Ok(ok__) => { - core::ptr::write(qualifieditem, core::mem::transmute(ok__)); + qualifieditem.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4565,7 +4565,7 @@ impl IXMLDOMNamedNodeMap_Vtbl { let this = (*this).get_impl(); match IXMLDOMNamedNodeMap_Impl::removeQualifiedItem(this, core::mem::transmute(&basename), core::mem::transmute(&namespaceuri)) { Ok(ok__) => { - core::ptr::write(qualifieditem, core::mem::transmute(ok__)); + qualifieditem.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4576,7 +4576,7 @@ impl IXMLDOMNamedNodeMap_Vtbl { let this = (*this).get_impl(); match IXMLDOMNamedNodeMap_Impl::nextNode(this) { Ok(ok__) => { - core::ptr::write(nextitem, core::mem::transmute(ok__)); + nextitem.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4592,7 +4592,7 @@ impl IXMLDOMNamedNodeMap_Vtbl { let this = (*this).get_impl(); match IXMLDOMNamedNodeMap_Impl::_newEnum(this) { Ok(ok__) => { - core::ptr::write(ppunk, core::mem::transmute(ok__)); + ppunk.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4665,7 +4665,7 @@ impl IXMLDOMNode_Vtbl { let this = (*this).get_impl(); match IXMLDOMNode_Impl::nodeName(this) { Ok(ok__) => { - core::ptr::write(name, core::mem::transmute(ok__)); + name.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4676,7 +4676,7 @@ impl IXMLDOMNode_Vtbl { let this = (*this).get_impl(); match IXMLDOMNode_Impl::nodeValue(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4692,7 +4692,7 @@ impl IXMLDOMNode_Vtbl { let this = (*this).get_impl(); match IXMLDOMNode_Impl::nodeType(this) { Ok(ok__) => { - core::ptr::write(r#type, core::mem::transmute(ok__)); + r#type.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4703,7 +4703,7 @@ impl IXMLDOMNode_Vtbl { let this = (*this).get_impl(); match IXMLDOMNode_Impl::parentNode(this) { Ok(ok__) => { - core::ptr::write(parent, core::mem::transmute(ok__)); + parent.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4714,7 +4714,7 @@ impl IXMLDOMNode_Vtbl { let this = (*this).get_impl(); match IXMLDOMNode_Impl::childNodes(this) { Ok(ok__) => { - core::ptr::write(childlist, core::mem::transmute(ok__)); + childlist.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4725,7 +4725,7 @@ impl IXMLDOMNode_Vtbl { let this = (*this).get_impl(); match IXMLDOMNode_Impl::firstChild(this) { Ok(ok__) => { - core::ptr::write(firstchild, core::mem::transmute(ok__)); + firstchild.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4736,7 +4736,7 @@ impl IXMLDOMNode_Vtbl { let this = (*this).get_impl(); match IXMLDOMNode_Impl::lastChild(this) { Ok(ok__) => { - core::ptr::write(lastchild, core::mem::transmute(ok__)); + lastchild.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4747,7 +4747,7 @@ impl IXMLDOMNode_Vtbl { let this = (*this).get_impl(); match IXMLDOMNode_Impl::previousSibling(this) { Ok(ok__) => { - core::ptr::write(previoussibling, core::mem::transmute(ok__)); + previoussibling.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4758,7 +4758,7 @@ impl IXMLDOMNode_Vtbl { let this = (*this).get_impl(); match IXMLDOMNode_Impl::nextSibling(this) { Ok(ok__) => { - core::ptr::write(nextsibling, core::mem::transmute(ok__)); + nextsibling.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4769,7 +4769,7 @@ impl IXMLDOMNode_Vtbl { let this = (*this).get_impl(); match IXMLDOMNode_Impl::attributes(this) { Ok(ok__) => { - core::ptr::write(attributemap, core::mem::transmute(ok__)); + attributemap.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4780,7 +4780,7 @@ impl IXMLDOMNode_Vtbl { let this = (*this).get_impl(); match IXMLDOMNode_Impl::insertBefore(this, windows_core::from_raw_borrowed(&newchild), core::mem::transmute(&refchild)) { Ok(ok__) => { - core::ptr::write(outnewchild, core::mem::transmute(ok__)); + outnewchild.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4791,7 +4791,7 @@ impl IXMLDOMNode_Vtbl { let this = (*this).get_impl(); match IXMLDOMNode_Impl::replaceChild(this, windows_core::from_raw_borrowed(&newchild), windows_core::from_raw_borrowed(&oldchild)) { Ok(ok__) => { - core::ptr::write(outoldchild, core::mem::transmute(ok__)); + outoldchild.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4802,7 +4802,7 @@ impl IXMLDOMNode_Vtbl { let this = (*this).get_impl(); match IXMLDOMNode_Impl::removeChild(this, windows_core::from_raw_borrowed(&childnode)) { Ok(ok__) => { - core::ptr::write(oldchild, core::mem::transmute(ok__)); + oldchild.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4813,7 +4813,7 @@ impl IXMLDOMNode_Vtbl { let this = (*this).get_impl(); match IXMLDOMNode_Impl::appendChild(this, windows_core::from_raw_borrowed(&newchild)) { Ok(ok__) => { - core::ptr::write(outnewchild, core::mem::transmute(ok__)); + outnewchild.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4824,7 +4824,7 @@ impl IXMLDOMNode_Vtbl { let this = (*this).get_impl(); match IXMLDOMNode_Impl::hasChildNodes(this) { Ok(ok__) => { - core::ptr::write(haschild, core::mem::transmute(ok__)); + haschild.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4835,7 +4835,7 @@ impl IXMLDOMNode_Vtbl { let this = (*this).get_impl(); match IXMLDOMNode_Impl::ownerDocument(this) { Ok(ok__) => { - core::ptr::write(xmldomdocument, core::mem::transmute(ok__)); + xmldomdocument.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4846,7 +4846,7 @@ impl IXMLDOMNode_Vtbl { let this = (*this).get_impl(); match IXMLDOMNode_Impl::cloneNode(this, core::mem::transmute_copy(&deep)) { Ok(ok__) => { - core::ptr::write(cloneroot, core::mem::transmute(ok__)); + cloneroot.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4857,7 +4857,7 @@ impl IXMLDOMNode_Vtbl { let this = (*this).get_impl(); match IXMLDOMNode_Impl::nodeTypeString(this) { Ok(ok__) => { - core::ptr::write(nodetype, core::mem::transmute(ok__)); + nodetype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4868,7 +4868,7 @@ impl IXMLDOMNode_Vtbl { let this = (*this).get_impl(); match IXMLDOMNode_Impl::text(this) { Ok(ok__) => { - core::ptr::write(text, core::mem::transmute(ok__)); + text.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4884,7 +4884,7 @@ impl IXMLDOMNode_Vtbl { let this = (*this).get_impl(); match IXMLDOMNode_Impl::specified(this) { Ok(ok__) => { - core::ptr::write(isspecified, core::mem::transmute(ok__)); + isspecified.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4895,7 +4895,7 @@ impl IXMLDOMNode_Vtbl { let this = (*this).get_impl(); match IXMLDOMNode_Impl::definition(this) { Ok(ok__) => { - core::ptr::write(definitionnode, core::mem::transmute(ok__)); + definitionnode.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4906,7 +4906,7 @@ impl IXMLDOMNode_Vtbl { let this = (*this).get_impl(); match IXMLDOMNode_Impl::nodeTypedValue(this) { Ok(ok__) => { - core::ptr::write(typedvalue, core::mem::transmute(ok__)); + typedvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4922,7 +4922,7 @@ impl IXMLDOMNode_Vtbl { let this = (*this).get_impl(); match IXMLDOMNode_Impl::dataType(this) { Ok(ok__) => { - core::ptr::write(datatypename, core::mem::transmute(ok__)); + datatypename.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4938,7 +4938,7 @@ impl IXMLDOMNode_Vtbl { let this = (*this).get_impl(); match IXMLDOMNode_Impl::xml(this) { Ok(ok__) => { - core::ptr::write(xmlstring, core::mem::transmute(ok__)); + xmlstring.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4949,7 +4949,7 @@ impl IXMLDOMNode_Vtbl { let this = (*this).get_impl(); match IXMLDOMNode_Impl::transformNode(this, windows_core::from_raw_borrowed(&stylesheet)) { Ok(ok__) => { - core::ptr::write(xmlstring, core::mem::transmute(ok__)); + xmlstring.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4960,7 +4960,7 @@ impl IXMLDOMNode_Vtbl { let this = (*this).get_impl(); match IXMLDOMNode_Impl::selectNodes(this, core::mem::transmute(&querystring)) { Ok(ok__) => { - core::ptr::write(resultlist, core::mem::transmute(ok__)); + resultlist.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4971,7 +4971,7 @@ impl IXMLDOMNode_Vtbl { let this = (*this).get_impl(); match IXMLDOMNode_Impl::selectSingleNode(this, core::mem::transmute(&querystring)) { Ok(ok__) => { - core::ptr::write(resultnode, core::mem::transmute(ok__)); + resultnode.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4982,7 +4982,7 @@ impl IXMLDOMNode_Vtbl { let this = (*this).get_impl(); match IXMLDOMNode_Impl::parsed(this) { Ok(ok__) => { - core::ptr::write(isparsed, core::mem::transmute(ok__)); + isparsed.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4993,7 +4993,7 @@ impl IXMLDOMNode_Vtbl { let this = (*this).get_impl(); match IXMLDOMNode_Impl::namespaceURI(this) { Ok(ok__) => { - core::ptr::write(namespaceuri, core::mem::transmute(ok__)); + namespaceuri.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5004,7 +5004,7 @@ impl IXMLDOMNode_Vtbl { let this = (*this).get_impl(); match IXMLDOMNode_Impl::prefix(this) { Ok(ok__) => { - core::ptr::write(prefixstring, core::mem::transmute(ok__)); + prefixstring.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5015,7 +5015,7 @@ impl IXMLDOMNode_Vtbl { let this = (*this).get_impl(); match IXMLDOMNode_Impl::baseName(this) { Ok(ok__) => { - core::ptr::write(namestring, core::mem::transmute(ok__)); + namestring.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5088,7 +5088,7 @@ impl IXMLDOMNodeList_Vtbl { let this = (*this).get_impl(); match IXMLDOMNodeList_Impl::get_item(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(listitem, core::mem::transmute(ok__)); + listitem.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5099,7 +5099,7 @@ impl IXMLDOMNodeList_Vtbl { let this = (*this).get_impl(); match IXMLDOMNodeList_Impl::length(this) { Ok(ok__) => { - core::ptr::write(listlength, core::mem::transmute(ok__)); + listlength.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5110,7 +5110,7 @@ impl IXMLDOMNodeList_Vtbl { let this = (*this).get_impl(); match IXMLDOMNodeList_Impl::nextNode(this) { Ok(ok__) => { - core::ptr::write(nextitem, core::mem::transmute(ok__)); + nextitem.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5126,7 +5126,7 @@ impl IXMLDOMNodeList_Vtbl { let this = (*this).get_impl(); match IXMLDOMNodeList_Impl::_newEnum(this) { Ok(ok__) => { - core::ptr::write(ppunk, core::mem::transmute(ok__)); + ppunk.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5160,7 +5160,7 @@ impl IXMLDOMNotation_Vtbl { let this = (*this).get_impl(); match IXMLDOMNotation_Impl::publicId(this) { Ok(ok__) => { - core::ptr::write(publicid, core::mem::transmute(ok__)); + publicid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5171,7 +5171,7 @@ impl IXMLDOMNotation_Vtbl { let this = (*this).get_impl(); match IXMLDOMNotation_Impl::systemId(this) { Ok(ok__) => { - core::ptr::write(systemid, core::mem::transmute(ok__)); + systemid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5207,7 +5207,7 @@ impl IXMLDOMParseError_Vtbl { let this = (*this).get_impl(); match IXMLDOMParseError_Impl::errorCode(this) { Ok(ok__) => { - core::ptr::write(errorcode, core::mem::transmute(ok__)); + errorcode.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5218,7 +5218,7 @@ impl IXMLDOMParseError_Vtbl { let this = (*this).get_impl(); match IXMLDOMParseError_Impl::url(this) { Ok(ok__) => { - core::ptr::write(urlstring, core::mem::transmute(ok__)); + urlstring.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5229,7 +5229,7 @@ impl IXMLDOMParseError_Vtbl { let this = (*this).get_impl(); match IXMLDOMParseError_Impl::reason(this) { Ok(ok__) => { - core::ptr::write(reasonstring, core::mem::transmute(ok__)); + reasonstring.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5240,7 +5240,7 @@ impl IXMLDOMParseError_Vtbl { let this = (*this).get_impl(); match IXMLDOMParseError_Impl::srcText(this) { Ok(ok__) => { - core::ptr::write(sourcestring, core::mem::transmute(ok__)); + sourcestring.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5251,7 +5251,7 @@ impl IXMLDOMParseError_Vtbl { let this = (*this).get_impl(); match IXMLDOMParseError_Impl::line(this) { Ok(ok__) => { - core::ptr::write(linenumber, core::mem::transmute(ok__)); + linenumber.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5262,7 +5262,7 @@ impl IXMLDOMParseError_Vtbl { let this = (*this).get_impl(); match IXMLDOMParseError_Impl::linepos(this) { Ok(ok__) => { - core::ptr::write(lineposition, core::mem::transmute(ok__)); + lineposition.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5273,7 +5273,7 @@ impl IXMLDOMParseError_Vtbl { let this = (*this).get_impl(); match IXMLDOMParseError_Impl::filepos(this) { Ok(ok__) => { - core::ptr::write(fileposition, core::mem::transmute(ok__)); + fileposition.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5311,7 +5311,7 @@ impl IXMLDOMParseError2_Vtbl { let this = (*this).get_impl(); match IXMLDOMParseError2_Impl::errorXPath(this) { Ok(ok__) => { - core::ptr::write(xpathexpr, core::mem::transmute(ok__)); + xpathexpr.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5322,7 +5322,7 @@ impl IXMLDOMParseError2_Vtbl { let this = (*this).get_impl(); match IXMLDOMParseError2_Impl::allErrors(this) { Ok(ok__) => { - core::ptr::write(allerrors, core::mem::transmute(ok__)); + allerrors.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5333,7 +5333,7 @@ impl IXMLDOMParseError2_Vtbl { let this = (*this).get_impl(); match IXMLDOMParseError2_Impl::errorParameters(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(param1, core::mem::transmute(ok__)); + param1.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5344,7 +5344,7 @@ impl IXMLDOMParseError2_Vtbl { let this = (*this).get_impl(); match IXMLDOMParseError2_Impl::errorParametersCount(this) { Ok(ok__) => { - core::ptr::write(count, core::mem::transmute(ok__)); + count.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5380,7 +5380,7 @@ impl IXMLDOMParseErrorCollection_Vtbl { let this = (*this).get_impl(); match IXMLDOMParseErrorCollection_Impl::get_item(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(error, core::mem::transmute(ok__)); + error.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5391,7 +5391,7 @@ impl IXMLDOMParseErrorCollection_Vtbl { let this = (*this).get_impl(); match IXMLDOMParseErrorCollection_Impl::length(this) { Ok(ok__) => { - core::ptr::write(length, core::mem::transmute(ok__)); + length.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5402,7 +5402,7 @@ impl IXMLDOMParseErrorCollection_Vtbl { let this = (*this).get_impl(); match IXMLDOMParseErrorCollection_Impl::next(this) { Ok(ok__) => { - core::ptr::write(error, core::mem::transmute(ok__)); + error.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5418,7 +5418,7 @@ impl IXMLDOMParseErrorCollection_Vtbl { let this = (*this).get_impl(); match IXMLDOMParseErrorCollection_Impl::_newEnum(this) { Ok(ok__) => { - core::ptr::write(ppunk, core::mem::transmute(ok__)); + ppunk.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5453,7 +5453,7 @@ impl IXMLDOMProcessingInstruction_Vtbl { let this = (*this).get_impl(); match IXMLDOMProcessingInstruction_Impl::target(this) { Ok(ok__) => { - core::ptr::write(name, core::mem::transmute(ok__)); + name.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5464,7 +5464,7 @@ impl IXMLDOMProcessingInstruction_Vtbl { let this = (*this).get_impl(); match IXMLDOMProcessingInstruction_Impl::data(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5511,7 +5511,7 @@ impl IXMLDOMSchemaCollection_Vtbl { let this = (*this).get_impl(); match IXMLDOMSchemaCollection_Impl::get(this, core::mem::transmute(&namespaceuri)) { Ok(ok__) => { - core::ptr::write(schemanode, core::mem::transmute(ok__)); + schemanode.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5527,7 +5527,7 @@ impl IXMLDOMSchemaCollection_Vtbl { let this = (*this).get_impl(); match IXMLDOMSchemaCollection_Impl::length(this) { Ok(ok__) => { - core::ptr::write(length, core::mem::transmute(ok__)); + length.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5538,7 +5538,7 @@ impl IXMLDOMSchemaCollection_Vtbl { let this = (*this).get_impl(); match IXMLDOMSchemaCollection_Impl::get_namespaceURI(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(length, core::mem::transmute(ok__)); + length.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5554,7 +5554,7 @@ impl IXMLDOMSchemaCollection_Vtbl { let this = (*this).get_impl(); match IXMLDOMSchemaCollection_Impl::_newEnum(this) { Ok(ok__) => { - core::ptr::write(ppunk, core::mem::transmute(ok__)); + ppunk.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5603,7 +5603,7 @@ impl IXMLDOMSchemaCollection2_Vtbl { let this = (*this).get_impl(); match IXMLDOMSchemaCollection2_Impl::validateOnLoad(this) { Ok(ok__) => { - core::ptr::write(validateonload, core::mem::transmute(ok__)); + validateonload.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5614,7 +5614,7 @@ impl IXMLDOMSchemaCollection2_Vtbl { let this = (*this).get_impl(); match IXMLDOMSchemaCollection2_Impl::getSchema(this, core::mem::transmute(&namespaceuri)) { Ok(ok__) => { - core::ptr::write(schema, core::mem::transmute(ok__)); + schema.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5625,7 +5625,7 @@ impl IXMLDOMSchemaCollection2_Vtbl { let this = (*this).get_impl(); match IXMLDOMSchemaCollection2_Impl::getDeclaration(this, windows_core::from_raw_borrowed(&node)) { Ok(ok__) => { - core::ptr::write(item, core::mem::transmute(ok__)); + item.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5668,7 +5668,7 @@ impl IXMLDOMSelection_Vtbl { let this = (*this).get_impl(); match IXMLDOMSelection_Impl::expr(this) { Ok(ok__) => { - core::ptr::write(expression, core::mem::transmute(ok__)); + expression.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5684,7 +5684,7 @@ impl IXMLDOMSelection_Vtbl { let this = (*this).get_impl(); match IXMLDOMSelection_Impl::context(this) { Ok(ok__) => { - core::ptr::write(ppnode, core::mem::transmute(ok__)); + ppnode.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5700,7 +5700,7 @@ impl IXMLDOMSelection_Vtbl { let this = (*this).get_impl(); match IXMLDOMSelection_Impl::peekNode(this) { Ok(ok__) => { - core::ptr::write(ppnode, core::mem::transmute(ok__)); + ppnode.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5711,7 +5711,7 @@ impl IXMLDOMSelection_Vtbl { let this = (*this).get_impl(); match IXMLDOMSelection_Impl::matches(this, windows_core::from_raw_borrowed(&pnode)) { Ok(ok__) => { - core::ptr::write(ppnode, core::mem::transmute(ok__)); + ppnode.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5722,7 +5722,7 @@ impl IXMLDOMSelection_Vtbl { let this = (*this).get_impl(); match IXMLDOMSelection_Impl::removeNext(this) { Ok(ok__) => { - core::ptr::write(ppnode, core::mem::transmute(ok__)); + ppnode.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5738,7 +5738,7 @@ impl IXMLDOMSelection_Vtbl { let this = (*this).get_impl(); match IXMLDOMSelection_Impl::clone(this) { Ok(ok__) => { - core::ptr::write(ppnode, core::mem::transmute(ok__)); + ppnode.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5749,7 +5749,7 @@ impl IXMLDOMSelection_Vtbl { let this = (*this).get_impl(); match IXMLDOMSelection_Impl::getProperty(this, core::mem::transmute(&name)) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5793,7 +5793,7 @@ impl IXMLDOMText_Vtbl { let this = (*this).get_impl(); match IXMLDOMText_Impl::splitText(this, core::mem::transmute_copy(&offset)) { Ok(ok__) => { - core::ptr::write(righthandtextnode, core::mem::transmute(ok__)); + righthandtextnode.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5823,7 +5823,7 @@ impl IXMLDSOControl_Vtbl { let this = (*this).get_impl(); match IXMLDSOControl_Impl::XMLDocument(this) { Ok(ok__) => { - core::ptr::write(ppdoc, core::mem::transmute(ok__)); + ppdoc.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5839,7 +5839,7 @@ impl IXMLDSOControl_Vtbl { let this = (*this).get_impl(); match IXMLDSOControl_Impl::JavaDSOCompatible(this) { Ok(ok__) => { - core::ptr::write(fjavadsocompatible, core::mem::transmute(ok__)); + fjavadsocompatible.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5855,7 +5855,7 @@ impl IXMLDSOControl_Vtbl { let this = (*this).get_impl(); match IXMLDSOControl_Impl::readyState(this) { Ok(ok__) => { - core::ptr::write(state, core::mem::transmute(ok__)); + state.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5901,7 +5901,7 @@ impl IXMLDocument_Vtbl { let this = (*this).get_impl(); match IXMLDocument_Impl::root(this) { Ok(ok__) => { - core::ptr::write(p, core::mem::transmute(ok__)); + p.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5912,7 +5912,7 @@ impl IXMLDocument_Vtbl { let this = (*this).get_impl(); match IXMLDocument_Impl::fileSize(this) { Ok(ok__) => { - core::ptr::write(p, core::mem::transmute(ok__)); + p.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5923,7 +5923,7 @@ impl IXMLDocument_Vtbl { let this = (*this).get_impl(); match IXMLDocument_Impl::fileModifiedDate(this) { Ok(ok__) => { - core::ptr::write(p, core::mem::transmute(ok__)); + p.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5934,7 +5934,7 @@ impl IXMLDocument_Vtbl { let this = (*this).get_impl(); match IXMLDocument_Impl::fileUpdatedDate(this) { Ok(ok__) => { - core::ptr::write(p, core::mem::transmute(ok__)); + p.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5945,7 +5945,7 @@ impl IXMLDocument_Vtbl { let this = (*this).get_impl(); match IXMLDocument_Impl::URL(this) { Ok(ok__) => { - core::ptr::write(p, core::mem::transmute(ok__)); + p.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5961,7 +5961,7 @@ impl IXMLDocument_Vtbl { let this = (*this).get_impl(); match IXMLDocument_Impl::mimeType(this) { Ok(ok__) => { - core::ptr::write(p, core::mem::transmute(ok__)); + p.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5972,7 +5972,7 @@ impl IXMLDocument_Vtbl { let this = (*this).get_impl(); match IXMLDocument_Impl::readyState(this) { Ok(ok__) => { - core::ptr::write(pl, core::mem::transmute(ok__)); + pl.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5983,7 +5983,7 @@ impl IXMLDocument_Vtbl { let this = (*this).get_impl(); match IXMLDocument_Impl::charset(this) { Ok(ok__) => { - core::ptr::write(p, core::mem::transmute(ok__)); + p.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5999,7 +5999,7 @@ impl IXMLDocument_Vtbl { let this = (*this).get_impl(); match IXMLDocument_Impl::version(this) { Ok(ok__) => { - core::ptr::write(p, core::mem::transmute(ok__)); + p.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6010,7 +6010,7 @@ impl IXMLDocument_Vtbl { let this = (*this).get_impl(); match IXMLDocument_Impl::doctype(this) { Ok(ok__) => { - core::ptr::write(p, core::mem::transmute(ok__)); + p.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6021,7 +6021,7 @@ impl IXMLDocument_Vtbl { let this = (*this).get_impl(); match IXMLDocument_Impl::dtdURL(this) { Ok(ok__) => { - core::ptr::write(p, core::mem::transmute(ok__)); + p.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6032,7 +6032,7 @@ impl IXMLDocument_Vtbl { let this = (*this).get_impl(); match IXMLDocument_Impl::createElement(this, core::mem::transmute(&vtype), core::mem::transmute(&var1)) { Ok(ok__) => { - core::ptr::write(ppelem, core::mem::transmute(ok__)); + ppelem.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6089,7 +6089,7 @@ impl IXMLDocument2_Vtbl { let this = (*this).get_impl(); match IXMLDocument2_Impl::root(this) { Ok(ok__) => { - core::ptr::write(p, core::mem::transmute(ok__)); + p.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6100,7 +6100,7 @@ impl IXMLDocument2_Vtbl { let this = (*this).get_impl(); match IXMLDocument2_Impl::fileSize(this) { Ok(ok__) => { - core::ptr::write(p, core::mem::transmute(ok__)); + p.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6111,7 +6111,7 @@ impl IXMLDocument2_Vtbl { let this = (*this).get_impl(); match IXMLDocument2_Impl::fileModifiedDate(this) { Ok(ok__) => { - core::ptr::write(p, core::mem::transmute(ok__)); + p.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6122,7 +6122,7 @@ impl IXMLDocument2_Vtbl { let this = (*this).get_impl(); match IXMLDocument2_Impl::fileUpdatedDate(this) { Ok(ok__) => { - core::ptr::write(p, core::mem::transmute(ok__)); + p.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6133,7 +6133,7 @@ impl IXMLDocument2_Vtbl { let this = (*this).get_impl(); match IXMLDocument2_Impl::URL(this) { Ok(ok__) => { - core::ptr::write(p, core::mem::transmute(ok__)); + p.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6149,7 +6149,7 @@ impl IXMLDocument2_Vtbl { let this = (*this).get_impl(); match IXMLDocument2_Impl::mimeType(this) { Ok(ok__) => { - core::ptr::write(p, core::mem::transmute(ok__)); + p.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6160,7 +6160,7 @@ impl IXMLDocument2_Vtbl { let this = (*this).get_impl(); match IXMLDocument2_Impl::readyState(this) { Ok(ok__) => { - core::ptr::write(pl, core::mem::transmute(ok__)); + pl.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6171,7 +6171,7 @@ impl IXMLDocument2_Vtbl { let this = (*this).get_impl(); match IXMLDocument2_Impl::charset(this) { Ok(ok__) => { - core::ptr::write(p, core::mem::transmute(ok__)); + p.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6187,7 +6187,7 @@ impl IXMLDocument2_Vtbl { let this = (*this).get_impl(); match IXMLDocument2_Impl::version(this) { Ok(ok__) => { - core::ptr::write(p, core::mem::transmute(ok__)); + p.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6198,7 +6198,7 @@ impl IXMLDocument2_Vtbl { let this = (*this).get_impl(); match IXMLDocument2_Impl::doctype(this) { Ok(ok__) => { - core::ptr::write(p, core::mem::transmute(ok__)); + p.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6209,7 +6209,7 @@ impl IXMLDocument2_Vtbl { let this = (*this).get_impl(); match IXMLDocument2_Impl::dtdURL(this) { Ok(ok__) => { - core::ptr::write(p, core::mem::transmute(ok__)); + p.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6220,7 +6220,7 @@ impl IXMLDocument2_Vtbl { let this = (*this).get_impl(); match IXMLDocument2_Impl::createElement(this, core::mem::transmute(&vtype), core::mem::transmute(&var1)) { Ok(ok__) => { - core::ptr::write(ppelem, core::mem::transmute(ok__)); + ppelem.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6231,7 +6231,7 @@ impl IXMLDocument2_Vtbl { let this = (*this).get_impl(); match IXMLDocument2_Impl::r#async(this) { Ok(ok__) => { - core::ptr::write(pf, core::mem::transmute(ok__)); + pf.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6291,7 +6291,7 @@ impl IXMLElement_Vtbl { let this = (*this).get_impl(); match IXMLElement_Impl::tagName(this) { Ok(ok__) => { - core::ptr::write(p, core::mem::transmute(ok__)); + p.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6307,7 +6307,7 @@ impl IXMLElement_Vtbl { let this = (*this).get_impl(); match IXMLElement_Impl::parent(this) { Ok(ok__) => { - core::ptr::write(ppparent, core::mem::transmute(ok__)); + ppparent.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6323,7 +6323,7 @@ impl IXMLElement_Vtbl { let this = (*this).get_impl(); match IXMLElement_Impl::getAttribute(this, core::mem::transmute(&strpropertyname)) { Ok(ok__) => { - core::ptr::write(propertyvalue, core::mem::transmute(ok__)); + propertyvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6339,7 +6339,7 @@ impl IXMLElement_Vtbl { let this = (*this).get_impl(); match IXMLElement_Impl::children(this) { Ok(ok__) => { - core::ptr::write(pp, core::mem::transmute(ok__)); + pp.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6350,7 +6350,7 @@ impl IXMLElement_Vtbl { let this = (*this).get_impl(); match IXMLElement_Impl::r#type(this) { Ok(ok__) => { - core::ptr::write(pltype, core::mem::transmute(ok__)); + pltype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6361,7 +6361,7 @@ impl IXMLElement_Vtbl { let this = (*this).get_impl(); match IXMLElement_Impl::text(this) { Ok(ok__) => { - core::ptr::write(p, core::mem::transmute(ok__)); + p.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6428,7 +6428,7 @@ impl IXMLElement2_Vtbl { let this = (*this).get_impl(); match IXMLElement2_Impl::tagName(this) { Ok(ok__) => { - core::ptr::write(p, core::mem::transmute(ok__)); + p.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6444,7 +6444,7 @@ impl IXMLElement2_Vtbl { let this = (*this).get_impl(); match IXMLElement2_Impl::parent(this) { Ok(ok__) => { - core::ptr::write(ppparent, core::mem::transmute(ok__)); + ppparent.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6460,7 +6460,7 @@ impl IXMLElement2_Vtbl { let this = (*this).get_impl(); match IXMLElement2_Impl::getAttribute(this, core::mem::transmute(&strpropertyname)) { Ok(ok__) => { - core::ptr::write(propertyvalue, core::mem::transmute(ok__)); + propertyvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6476,7 +6476,7 @@ impl IXMLElement2_Vtbl { let this = (*this).get_impl(); match IXMLElement2_Impl::children(this) { Ok(ok__) => { - core::ptr::write(pp, core::mem::transmute(ok__)); + pp.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6487,7 +6487,7 @@ impl IXMLElement2_Vtbl { let this = (*this).get_impl(); match IXMLElement2_Impl::r#type(this) { Ok(ok__) => { - core::ptr::write(pltype, core::mem::transmute(ok__)); + pltype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6498,7 +6498,7 @@ impl IXMLElement2_Vtbl { let this = (*this).get_impl(); match IXMLElement2_Impl::text(this) { Ok(ok__) => { - core::ptr::write(p, core::mem::transmute(ok__)); + p.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6524,7 +6524,7 @@ impl IXMLElement2_Vtbl { let this = (*this).get_impl(); match IXMLElement2_Impl::attributes(this) { Ok(ok__) => { - core::ptr::write(pp, core::mem::transmute(ok__)); + pp.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6573,7 +6573,7 @@ impl IXMLElementCollection_Vtbl { let this = (*this).get_impl(); match IXMLElementCollection_Impl::length(this) { Ok(ok__) => { - core::ptr::write(p, core::mem::transmute(ok__)); + p.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6584,7 +6584,7 @@ impl IXMLElementCollection_Vtbl { let this = (*this).get_impl(); match IXMLElementCollection_Impl::_newEnum(this) { Ok(ok__) => { - core::ptr::write(ppunk, core::mem::transmute(ok__)); + ppunk.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6595,7 +6595,7 @@ impl IXMLElementCollection_Vtbl { let this = (*this).get_impl(); match IXMLElementCollection_Impl::item(this, core::mem::transmute(&var1), core::mem::transmute(&var2)) { Ok(ok__) => { - core::ptr::write(ppdisp, core::mem::transmute(ok__)); + ppdisp.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6667,7 +6667,7 @@ impl IXMLHTTPRequest_Vtbl { let this = (*this).get_impl(); match IXMLHTTPRequest_Impl::getResponseHeader(this, core::mem::transmute(&bstrheader)) { Ok(ok__) => { - core::ptr::write(pbstrvalue, core::mem::transmute(ok__)); + pbstrvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6678,7 +6678,7 @@ impl IXMLHTTPRequest_Vtbl { let this = (*this).get_impl(); match IXMLHTTPRequest_Impl::getAllResponseHeaders(this) { Ok(ok__) => { - core::ptr::write(pbstrheaders, core::mem::transmute(ok__)); + pbstrheaders.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6699,7 +6699,7 @@ impl IXMLHTTPRequest_Vtbl { let this = (*this).get_impl(); match IXMLHTTPRequest_Impl::status(this) { Ok(ok__) => { - core::ptr::write(plstatus, core::mem::transmute(ok__)); + plstatus.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6710,7 +6710,7 @@ impl IXMLHTTPRequest_Vtbl { let this = (*this).get_impl(); match IXMLHTTPRequest_Impl::statusText(this) { Ok(ok__) => { - core::ptr::write(pbstrstatus, core::mem::transmute(ok__)); + pbstrstatus.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6721,7 +6721,7 @@ impl IXMLHTTPRequest_Vtbl { let this = (*this).get_impl(); match IXMLHTTPRequest_Impl::responseXML(this) { Ok(ok__) => { - core::ptr::write(ppbody, core::mem::transmute(ok__)); + ppbody.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6732,7 +6732,7 @@ impl IXMLHTTPRequest_Vtbl { let this = (*this).get_impl(); match IXMLHTTPRequest_Impl::responseText(this) { Ok(ok__) => { - core::ptr::write(pbstrbody, core::mem::transmute(ok__)); + pbstrbody.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6743,7 +6743,7 @@ impl IXMLHTTPRequest_Vtbl { let this = (*this).get_impl(); match IXMLHTTPRequest_Impl::responseBody(this) { Ok(ok__) => { - core::ptr::write(pvarbody, core::mem::transmute(ok__)); + pvarbody.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6754,7 +6754,7 @@ impl IXMLHTTPRequest_Vtbl { let this = (*this).get_impl(); match IXMLHTTPRequest_Impl::responseStream(this) { Ok(ok__) => { - core::ptr::write(pvarbody, core::mem::transmute(ok__)); + pvarbody.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6765,7 +6765,7 @@ impl IXMLHTTPRequest_Vtbl { let this = (*this).get_impl(); match IXMLHTTPRequest_Impl::readyState(this) { Ok(ok__) => { - core::ptr::write(plstate, core::mem::transmute(ok__)); + plstate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6836,7 +6836,7 @@ impl IXMLHTTPRequest2_Vtbl { let this = (*this).get_impl(); match IXMLHTTPRequest2_Impl::SetCookie(this, core::mem::transmute_copy(&pcookie)) { Ok(ok__) => { - core::ptr::write(pdwcookiestate, core::mem::transmute(ok__)); + pdwcookiestate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6862,7 +6862,7 @@ impl IXMLHTTPRequest2_Vtbl { let this = (*this).get_impl(); match IXMLHTTPRequest2_Impl::GetAllResponseHeaders(this) { Ok(ok__) => { - core::ptr::write(ppwszheaders, core::mem::transmute(ok__)); + ppwszheaders.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6878,7 +6878,7 @@ impl IXMLHTTPRequest2_Vtbl { let this = (*this).get_impl(); match IXMLHTTPRequest2_Impl::GetResponseHeader(this, core::mem::transmute(&pwszheader)) { Ok(ok__) => { - core::ptr::write(ppwszvalue, core::mem::transmute(ok__)); + ppwszvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7035,7 +7035,7 @@ impl IXSLProcessor_Vtbl { let this = (*this).get_impl(); match IXSLProcessor_Impl::input(this) { Ok(ok__) => { - core::ptr::write(pvar, core::mem::transmute(ok__)); + pvar.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7046,7 +7046,7 @@ impl IXSLProcessor_Vtbl { let this = (*this).get_impl(); match IXSLProcessor_Impl::ownerTemplate(this) { Ok(ok__) => { - core::ptr::write(pptemplate, core::mem::transmute(ok__)); + pptemplate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7062,7 +7062,7 @@ impl IXSLProcessor_Vtbl { let this = (*this).get_impl(); match IXSLProcessor_Impl::startMode(this) { Ok(ok__) => { - core::ptr::write(mode, core::mem::transmute(ok__)); + mode.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7073,7 +7073,7 @@ impl IXSLProcessor_Vtbl { let this = (*this).get_impl(); match IXSLProcessor_Impl::startModeURI(this) { Ok(ok__) => { - core::ptr::write(namespaceuri, core::mem::transmute(ok__)); + namespaceuri.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7089,7 +7089,7 @@ impl IXSLProcessor_Vtbl { let this = (*this).get_impl(); match IXSLProcessor_Impl::output(this) { Ok(ok__) => { - core::ptr::write(poutput, core::mem::transmute(ok__)); + poutput.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7100,7 +7100,7 @@ impl IXSLProcessor_Vtbl { let this = (*this).get_impl(); match IXSLProcessor_Impl::transform(this) { Ok(ok__) => { - core::ptr::write(pdone, core::mem::transmute(ok__)); + pdone.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7116,7 +7116,7 @@ impl IXSLProcessor_Vtbl { let this = (*this).get_impl(); match IXSLProcessor_Impl::readyState(this) { Ok(ok__) => { - core::ptr::write(preadystate, core::mem::transmute(ok__)); + preadystate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7137,7 +7137,7 @@ impl IXSLProcessor_Vtbl { let this = (*this).get_impl(); match IXSLProcessor_Impl::stylesheet(this) { Ok(ok__) => { - core::ptr::write(stylesheet, core::mem::transmute(ok__)); + stylesheet.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7186,7 +7186,7 @@ impl IXSLTemplate_Vtbl { let this = (*this).get_impl(); match IXSLTemplate_Impl::stylesheet(this) { Ok(ok__) => { - core::ptr::write(stylesheet, core::mem::transmute(ok__)); + stylesheet.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7197,7 +7197,7 @@ impl IXSLTemplate_Vtbl { let this = (*this).get_impl(); match IXSLTemplate_Impl::createProcessor(this) { Ok(ok__) => { - core::ptr::write(ppprocessor, core::mem::transmute(ok__)); + ppprocessor.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7236,7 +7236,7 @@ impl IXTLRuntime_Vtbl { let this = (*this).get_impl(); match IXTLRuntime_Impl::uniqueID(this, windows_core::from_raw_borrowed(&pnode)) { Ok(ok__) => { - core::ptr::write(pid, core::mem::transmute(ok__)); + pid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7247,7 +7247,7 @@ impl IXTLRuntime_Vtbl { let this = (*this).get_impl(); match IXTLRuntime_Impl::depth(this, windows_core::from_raw_borrowed(&pnode)) { Ok(ok__) => { - core::ptr::write(pdepth, core::mem::transmute(ok__)); + pdepth.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7258,7 +7258,7 @@ impl IXTLRuntime_Vtbl { let this = (*this).get_impl(); match IXTLRuntime_Impl::childNumber(this, windows_core::from_raw_borrowed(&pnode)) { Ok(ok__) => { - core::ptr::write(pnumber, core::mem::transmute(ok__)); + pnumber.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7269,7 +7269,7 @@ impl IXTLRuntime_Vtbl { let this = (*this).get_impl(); match IXTLRuntime_Impl::ancestorChildNumber(this, core::mem::transmute(&bstrnodename), windows_core::from_raw_borrowed(&pnode)) { Ok(ok__) => { - core::ptr::write(pnumber, core::mem::transmute(ok__)); + pnumber.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7280,7 +7280,7 @@ impl IXTLRuntime_Vtbl { let this = (*this).get_impl(); match IXTLRuntime_Impl::absoluteChildNumber(this, windows_core::from_raw_borrowed(&pnode)) { Ok(ok__) => { - core::ptr::write(pnumber, core::mem::transmute(ok__)); + pnumber.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7291,7 +7291,7 @@ impl IXTLRuntime_Vtbl { let this = (*this).get_impl(); match IXTLRuntime_Impl::formatIndex(this, core::mem::transmute_copy(&lindex), core::mem::transmute(&bstrformat)) { Ok(ok__) => { - core::ptr::write(pbstrformattedstring, core::mem::transmute(ok__)); + pbstrformattedstring.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7302,7 +7302,7 @@ impl IXTLRuntime_Vtbl { let this = (*this).get_impl(); match IXTLRuntime_Impl::formatNumber(this, core::mem::transmute_copy(&dblnumber), core::mem::transmute(&bstrformat)) { Ok(ok__) => { - core::ptr::write(pbstrformattedstring, core::mem::transmute(ok__)); + pbstrformattedstring.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7313,7 +7313,7 @@ impl IXTLRuntime_Vtbl { let this = (*this).get_impl(); match IXTLRuntime_Impl::formatDate(this, core::mem::transmute(&vardate), core::mem::transmute(&bstrformat), core::mem::transmute(&vardestlocale)) { Ok(ok__) => { - core::ptr::write(pbstrformattedstring, core::mem::transmute(ok__)); + pbstrformattedstring.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7324,7 +7324,7 @@ impl IXTLRuntime_Vtbl { let this = (*this).get_impl(); match IXTLRuntime_Impl::formatTime(this, core::mem::transmute(&vartime), core::mem::transmute(&bstrformat), core::mem::transmute(&vardestlocale)) { Ok(ok__) => { - core::ptr::write(pbstrformattedstring, core::mem::transmute(ok__)); + pbstrformattedstring.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/Win32/Data/Xml/XmlLite/impl.rs b/crates/libs/windows/src/Windows/Win32/Data/Xml/XmlLite/impl.rs index 3165b9b555..d686990a85 100644 --- a/crates/libs/windows/src/Windows/Win32/Data/Xml/XmlLite/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Data/Xml/XmlLite/impl.rs @@ -36,7 +36,7 @@ impl IXmlReader_Vtbl { let this = (*this).get_impl(); match IXmlReader_Impl::GetProperty(this, core::mem::transmute_copy(&nproperty)) { Ok(ok__) => { - core::ptr::write(ppvalue, core::mem::transmute(ok__)); + ppvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -57,7 +57,7 @@ impl IXmlReader_Vtbl { let this = (*this).get_impl(); match IXmlReader_Impl::GetNodeType(this) { Ok(ok__) => { - core::ptr::write(pnodetype, core::mem::transmute(ok__)); + pnodetype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -133,7 +133,7 @@ impl IXmlReader_Vtbl { let this = (*this).get_impl(); match IXmlReader_Impl::GetLineNumber(this) { Ok(ok__) => { - core::ptr::write(pnlinenumber, core::mem::transmute(ok__)); + pnlinenumber.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -144,7 +144,7 @@ impl IXmlReader_Vtbl { let this = (*this).get_impl(); match IXmlReader_Impl::GetLinePosition(this) { Ok(ok__) => { - core::ptr::write(pnlineposition, core::mem::transmute(ok__)); + pnlineposition.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -155,7 +155,7 @@ impl IXmlReader_Vtbl { let this = (*this).get_impl(); match IXmlReader_Impl::GetAttributeCount(this) { Ok(ok__) => { - core::ptr::write(pnattributecount, core::mem::transmute(ok__)); + pnattributecount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -166,7 +166,7 @@ impl IXmlReader_Vtbl { let this = (*this).get_impl(); match IXmlReader_Impl::GetDepth(this) { Ok(ok__) => { - core::ptr::write(pndepth, core::mem::transmute(ok__)); + pndepth.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -219,7 +219,7 @@ impl IXmlResolver_Vtbl { let this = (*this).get_impl(); match IXmlResolver_Impl::ResolveUri(this, core::mem::transmute(&pwszbaseuri), core::mem::transmute(&pwszpublicidentifier), core::mem::transmute(&pwszsystemidentifier)) { Ok(ok__) => { - core::ptr::write(ppresolvedinput, core::mem::transmute(ok__)); + ppresolvedinput.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -275,7 +275,7 @@ impl IXmlWriter_Vtbl { let this = (*this).get_impl(); match IXmlWriter_Impl::GetProperty(this, core::mem::transmute_copy(&nproperty)) { Ok(ok__) => { - core::ptr::write(ppvalue, core::mem::transmute(ok__)); + ppvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -496,7 +496,7 @@ impl IXmlWriterLite_Vtbl { let this = (*this).get_impl(); match IXmlWriterLite_Impl::GetProperty(this, core::mem::transmute_copy(&nproperty)) { Ok(ok__) => { - core::ptr::write(ppvalue, core::mem::transmute(ok__)); + ppvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/Win32/Devices/Display/impl.rs b/crates/libs/windows/src/Windows/Win32/Devices/Display/impl.rs index 227b72f4b4..f511ee0b92 100644 --- a/crates/libs/windows/src/Windows/Win32/Devices/Display/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Devices/Display/impl.rs @@ -78,7 +78,7 @@ impl IViewHelper_Vtbl { let this = (*this).get_impl(); match IViewHelper_Impl::SetConfiguration(this, windows_core::from_raw_borrowed(&pistream)) { Ok(ok__) => { - core::ptr::write(pulstatus, core::mem::transmute(ok__)); + pulstatus.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/Win32/Devices/Enumeration/Pnp/impl.rs b/crates/libs/windows/src/Windows/Win32/Devices/Enumeration/Pnp/impl.rs index d8b06f1fc2..baa8323004 100644 --- a/crates/libs/windows/src/Windows/Win32/Devices/Enumeration/Pnp/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Devices/Enumeration/Pnp/impl.rs @@ -15,7 +15,7 @@ impl IUPnPAddressFamilyControl_Vtbl { let this = (*this).get_impl(); match IUPnPAddressFamilyControl_Impl::GetAddressFamily(this) { Ok(ok__) => { - core::ptr::write(pdwflags, core::mem::transmute(ok__)); + pdwflags.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -68,7 +68,7 @@ impl IUPnPDescriptionDocument_Vtbl { let this = (*this).get_impl(); match IUPnPDescriptionDocument_Impl::ReadyState(this) { Ok(ok__) => { - core::ptr::write(plreadystate, core::mem::transmute(ok__)); + plreadystate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -89,7 +89,7 @@ impl IUPnPDescriptionDocument_Vtbl { let this = (*this).get_impl(); match IUPnPDescriptionDocument_Impl::LoadResult(this) { Ok(ok__) => { - core::ptr::write(phrerror, core::mem::transmute(ok__)); + phrerror.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -105,7 +105,7 @@ impl IUPnPDescriptionDocument_Vtbl { let this = (*this).get_impl(); match IUPnPDescriptionDocument_Impl::RootDevice(this) { Ok(ok__) => { - core::ptr::write(ppudrootdevice, core::mem::transmute(ok__)); + ppudrootdevice.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -116,7 +116,7 @@ impl IUPnPDescriptionDocument_Vtbl { let this = (*this).get_impl(); match IUPnPDescriptionDocument_Impl::DeviceByUDN(this, core::mem::transmute(&bstrudn)) { Ok(ok__) => { - core::ptr::write(ppuddevice, core::mem::transmute(ok__)); + ppuddevice.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -186,7 +186,7 @@ impl IUPnPDevice_Vtbl { let this = (*this).get_impl(); match IUPnPDevice_Impl::IsRootDevice(this) { Ok(ok__) => { - core::ptr::write(pvarb, core::mem::transmute(ok__)); + pvarb.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -197,7 +197,7 @@ impl IUPnPDevice_Vtbl { let this = (*this).get_impl(); match IUPnPDevice_Impl::RootDevice(this) { Ok(ok__) => { - core::ptr::write(ppudrootdevice, core::mem::transmute(ok__)); + ppudrootdevice.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -208,7 +208,7 @@ impl IUPnPDevice_Vtbl { let this = (*this).get_impl(); match IUPnPDevice_Impl::ParentDevice(this) { Ok(ok__) => { - core::ptr::write(ppuddeviceparent, core::mem::transmute(ok__)); + ppuddeviceparent.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -219,7 +219,7 @@ impl IUPnPDevice_Vtbl { let this = (*this).get_impl(); match IUPnPDevice_Impl::HasChildren(this) { Ok(ok__) => { - core::ptr::write(pvarb, core::mem::transmute(ok__)); + pvarb.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -230,7 +230,7 @@ impl IUPnPDevice_Vtbl { let this = (*this).get_impl(); match IUPnPDevice_Impl::Children(this) { Ok(ok__) => { - core::ptr::write(ppudchildren, core::mem::transmute(ok__)); + ppudchildren.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -241,7 +241,7 @@ impl IUPnPDevice_Vtbl { let this = (*this).get_impl(); match IUPnPDevice_Impl::UniqueDeviceName(this) { Ok(ok__) => { - core::ptr::write(pbstr, core::mem::transmute(ok__)); + pbstr.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -252,7 +252,7 @@ impl IUPnPDevice_Vtbl { let this = (*this).get_impl(); match IUPnPDevice_Impl::FriendlyName(this) { Ok(ok__) => { - core::ptr::write(pbstr, core::mem::transmute(ok__)); + pbstr.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -263,7 +263,7 @@ impl IUPnPDevice_Vtbl { let this = (*this).get_impl(); match IUPnPDevice_Impl::Type(this) { Ok(ok__) => { - core::ptr::write(pbstr, core::mem::transmute(ok__)); + pbstr.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -274,7 +274,7 @@ impl IUPnPDevice_Vtbl { let this = (*this).get_impl(); match IUPnPDevice_Impl::PresentationURL(this) { Ok(ok__) => { - core::ptr::write(pbstr, core::mem::transmute(ok__)); + pbstr.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -285,7 +285,7 @@ impl IUPnPDevice_Vtbl { let this = (*this).get_impl(); match IUPnPDevice_Impl::ManufacturerName(this) { Ok(ok__) => { - core::ptr::write(pbstr, core::mem::transmute(ok__)); + pbstr.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -296,7 +296,7 @@ impl IUPnPDevice_Vtbl { let this = (*this).get_impl(); match IUPnPDevice_Impl::ManufacturerURL(this) { Ok(ok__) => { - core::ptr::write(pbstr, core::mem::transmute(ok__)); + pbstr.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -307,7 +307,7 @@ impl IUPnPDevice_Vtbl { let this = (*this).get_impl(); match IUPnPDevice_Impl::ModelName(this) { Ok(ok__) => { - core::ptr::write(pbstr, core::mem::transmute(ok__)); + pbstr.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -318,7 +318,7 @@ impl IUPnPDevice_Vtbl { let this = (*this).get_impl(); match IUPnPDevice_Impl::ModelNumber(this) { Ok(ok__) => { - core::ptr::write(pbstr, core::mem::transmute(ok__)); + pbstr.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -329,7 +329,7 @@ impl IUPnPDevice_Vtbl { let this = (*this).get_impl(); match IUPnPDevice_Impl::Description(this) { Ok(ok__) => { - core::ptr::write(pbstr, core::mem::transmute(ok__)); + pbstr.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -340,7 +340,7 @@ impl IUPnPDevice_Vtbl { let this = (*this).get_impl(); match IUPnPDevice_Impl::ModelURL(this) { Ok(ok__) => { - core::ptr::write(pbstr, core::mem::transmute(ok__)); + pbstr.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -351,7 +351,7 @@ impl IUPnPDevice_Vtbl { let this = (*this).get_impl(); match IUPnPDevice_Impl::UPC(this) { Ok(ok__) => { - core::ptr::write(pbstr, core::mem::transmute(ok__)); + pbstr.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -362,7 +362,7 @@ impl IUPnPDevice_Vtbl { let this = (*this).get_impl(); match IUPnPDevice_Impl::SerialNumber(this) { Ok(ok__) => { - core::ptr::write(pbstr, core::mem::transmute(ok__)); + pbstr.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -373,7 +373,7 @@ impl IUPnPDevice_Vtbl { let this = (*this).get_impl(); match IUPnPDevice_Impl::IconURL(this, core::mem::transmute(&bstrencodingformat), core::mem::transmute_copy(&lsizex), core::mem::transmute_copy(&lsizey), core::mem::transmute_copy(&lbitdepth)) { Ok(ok__) => { - core::ptr::write(pbstriconurl, core::mem::transmute(ok__)); + pbstriconurl.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -384,7 +384,7 @@ impl IUPnPDevice_Vtbl { let this = (*this).get_impl(); match IUPnPDevice_Impl::Services(this) { Ok(ok__) => { - core::ptr::write(ppusservices, core::mem::transmute(ok__)); + ppusservices.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -437,7 +437,7 @@ impl IUPnPDeviceControl_Vtbl { let this = (*this).get_impl(); match IUPnPDeviceControl_Impl::GetServiceObject(this, core::mem::transmute(&bstrudn), core::mem::transmute(&bstrserviceid)) { Ok(ok__) => { - core::ptr::write(ppdispservice, core::mem::transmute(ok__)); + ppdispservice.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -464,7 +464,7 @@ impl IUPnPDeviceControlHttpHeaders_Vtbl { let this = (*this).get_impl(); match IUPnPDeviceControlHttpHeaders_Impl::GetAdditionalResponseHeaders(this) { Ok(ok__) => { - core::ptr::write(bstrhttpresponseheaders, core::mem::transmute(ok__)); + bstrhttpresponseheaders.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -490,7 +490,7 @@ impl IUPnPDeviceDocumentAccess_Vtbl { let this = (*this).get_impl(); match IUPnPDeviceDocumentAccess_Impl::GetDocumentURL(this) { Ok(ok__) => { - core::ptr::write(pbstrdocument, core::mem::transmute(ok__)); + pbstrdocument.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -513,7 +513,7 @@ impl IUPnPDeviceDocumentAccessEx_Vtbl { let this = (*this).get_impl(); match IUPnPDeviceDocumentAccessEx_Impl::GetDocument(this) { Ok(ok__) => { - core::ptr::write(pbstrdocument, core::mem::transmute(ok__)); + pbstrdocument.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -543,7 +543,7 @@ impl IUPnPDeviceFinder_Vtbl { let this = (*this).get_impl(); match IUPnPDeviceFinder_Impl::FindByType(this, core::mem::transmute(&bstrtypeuri), core::mem::transmute_copy(&dwflags)) { Ok(ok__) => { - core::ptr::write(pdevices, core::mem::transmute(ok__)); + pdevices.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -554,7 +554,7 @@ impl IUPnPDeviceFinder_Vtbl { let this = (*this).get_impl(); match IUPnPDeviceFinder_Impl::CreateAsyncFind(this, core::mem::transmute(&bstrtypeuri), core::mem::transmute_copy(&dwflags), windows_core::from_raw_borrowed(&punkdevicefindercallback)) { Ok(ok__) => { - core::ptr::write(plfinddata, core::mem::transmute(ok__)); + plfinddata.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -575,7 +575,7 @@ impl IUPnPDeviceFinder_Vtbl { let this = (*this).get_impl(); match IUPnPDeviceFinder_Impl::FindByUDN(this, core::mem::transmute(&bstrudn)) { Ok(ok__) => { - core::ptr::write(pdevice, core::mem::transmute(ok__)); + pdevice.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -690,7 +690,7 @@ impl IUPnPDevices_Vtbl { let this = (*this).get_impl(); match IUPnPDevices_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(plcount, core::mem::transmute(ok__)); + plcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -701,7 +701,7 @@ impl IUPnPDevices_Vtbl { let this = (*this).get_impl(); match IUPnPDevices_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(ppunk, core::mem::transmute(ok__)); + ppunk.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -712,7 +712,7 @@ impl IUPnPDevices_Vtbl { let this = (*this).get_impl(); match IUPnPDevices_Impl::get_Item(this, core::mem::transmute(&bstrudn)) { Ok(ok__) => { - core::ptr::write(ppdevice, core::mem::transmute(ok__)); + ppdevice.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -816,7 +816,7 @@ impl IUPnPRegistrar_Vtbl { let this = (*this).get_impl(); match IUPnPRegistrar_Impl::RegisterDevice(this, core::mem::transmute(&bstrxmldesc), core::mem::transmute(&bstrprogiddevicecontrolclass), core::mem::transmute(&bstrinitstring), core::mem::transmute(&bstrcontainerid), core::mem::transmute(&bstrresourcepath), core::mem::transmute_copy(&nlifetime)) { Ok(ok__) => { - core::ptr::write(pbstrdeviceidentifier, core::mem::transmute(ok__)); + pbstrdeviceidentifier.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -827,7 +827,7 @@ impl IUPnPRegistrar_Vtbl { let this = (*this).get_impl(); match IUPnPRegistrar_Impl::RegisterRunningDevice(this, core::mem::transmute(&bstrxmldesc), windows_core::from_raw_borrowed(&punkdevicecontrol), core::mem::transmute(&bstrinitstring), core::mem::transmute(&bstrresourcepath), core::mem::transmute_copy(&nlifetime)) { Ok(ok__) => { - core::ptr::write(pbstrdeviceidentifier, core::mem::transmute(ok__)); + pbstrdeviceidentifier.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -843,7 +843,7 @@ impl IUPnPRegistrar_Vtbl { let this = (*this).get_impl(); match IUPnPRegistrar_Impl::GetUniqueDeviceName(this, core::mem::transmute(&bstrdeviceidentifier), core::mem::transmute(&bstrtemplateudn)) { Ok(ok__) => { - core::ptr::write(pbstrudn, core::mem::transmute(ok__)); + pbstrudn.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -886,7 +886,7 @@ impl IUPnPRemoteEndpointInfo_Vtbl { let this = (*this).get_impl(); match IUPnPRemoteEndpointInfo_Impl::GetDwordValue(this, core::mem::transmute(&bstrvaluename)) { Ok(ok__) => { - core::ptr::write(pdwvalue, core::mem::transmute(ok__)); + pdwvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -897,7 +897,7 @@ impl IUPnPRemoteEndpointInfo_Vtbl { let this = (*this).get_impl(); match IUPnPRemoteEndpointInfo_Impl::GetStringValue(this, core::mem::transmute(&bstrvaluename)) { Ok(ok__) => { - core::ptr::write(pbstrvalue, core::mem::transmute(ok__)); + pbstrvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -908,7 +908,7 @@ impl IUPnPRemoteEndpointInfo_Vtbl { let this = (*this).get_impl(); match IUPnPRemoteEndpointInfo_Impl::GetGuidValue(this, core::mem::transmute(&bstrvaluename)) { Ok(ok__) => { - core::ptr::write(pguidvalue, core::mem::transmute(ok__)); + pguidvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -971,7 +971,7 @@ impl IUPnPService_Vtbl { let this = (*this).get_impl(); match IUPnPService_Impl::QueryStateVariable(this, core::mem::transmute(&bstrvariablename)) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -982,7 +982,7 @@ impl IUPnPService_Vtbl { let this = (*this).get_impl(); match IUPnPService_Impl::InvokeAction(this, core::mem::transmute(&bstractionname), core::mem::transmute(&vinactionargs), core::mem::transmute_copy(&pvoutactionargs)) { Ok(ok__) => { - core::ptr::write(pvretval, core::mem::transmute(ok__)); + pvretval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -993,7 +993,7 @@ impl IUPnPService_Vtbl { let this = (*this).get_impl(); match IUPnPService_Impl::ServiceTypeIdentifier(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1009,7 +1009,7 @@ impl IUPnPService_Vtbl { let this = (*this).get_impl(); match IUPnPService_Impl::Id(this) { Ok(ok__) => { - core::ptr::write(pbstrid, core::mem::transmute(ok__)); + pbstrid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1020,7 +1020,7 @@ impl IUPnPService_Vtbl { let this = (*this).get_impl(); match IUPnPService_Impl::LastTransportStatus(this) { Ok(ok__) => { - core::ptr::write(plvalue, core::mem::transmute(ok__)); + plvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1059,7 +1059,7 @@ impl IUPnPServiceAsync_Vtbl { let this = (*this).get_impl(); match IUPnPServiceAsync_Impl::BeginInvokeAction(this, core::mem::transmute(&bstractionname), core::mem::transmute(&vinactionargs), windows_core::from_raw_borrowed(&pasyncresult)) { Ok(ok__) => { - core::ptr::write(pullrequestid, core::mem::transmute(ok__)); + pullrequestid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1075,7 +1075,7 @@ impl IUPnPServiceAsync_Vtbl { let this = (*this).get_impl(); match IUPnPServiceAsync_Impl::BeginQueryStateVariable(this, core::mem::transmute(&bstrvariablename), windows_core::from_raw_borrowed(&pasyncresult)) { Ok(ok__) => { - core::ptr::write(pullrequestid, core::mem::transmute(ok__)); + pullrequestid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1091,7 +1091,7 @@ impl IUPnPServiceAsync_Vtbl { let this = (*this).get_impl(); match IUPnPServiceAsync_Impl::BeginSubscribeToEvents(this, windows_core::from_raw_borrowed(&punkcallback), windows_core::from_raw_borrowed(&pasyncresult)) { Ok(ok__) => { - core::ptr::write(pullrequestid, core::mem::transmute(ok__)); + pullrequestid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1107,7 +1107,7 @@ impl IUPnPServiceAsync_Vtbl { let this = (*this).get_impl(); match IUPnPServiceAsync_Impl::BeginSCPDDownload(this, windows_core::from_raw_borrowed(&pasyncresult)) { Ok(ok__) => { - core::ptr::write(pullrequestid, core::mem::transmute(ok__)); + pullrequestid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1118,7 +1118,7 @@ impl IUPnPServiceAsync_Vtbl { let this = (*this).get_impl(); match IUPnPServiceAsync_Impl::EndSCPDDownload(this, core::mem::transmute_copy(&ullrequestid)) { Ok(ok__) => { - core::ptr::write(pbstrscpddoc, core::mem::transmute(ok__)); + pbstrscpddoc.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1188,7 +1188,7 @@ impl IUPnPServiceDocumentAccess_Vtbl { let this = (*this).get_impl(); match IUPnPServiceDocumentAccess_Impl::GetDocumentURL(this) { Ok(ok__) => { - core::ptr::write(pbstrdocurl, core::mem::transmute(ok__)); + pbstrdocurl.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1199,7 +1199,7 @@ impl IUPnPServiceDocumentAccess_Vtbl { let this = (*this).get_impl(); match IUPnPServiceDocumentAccess_Impl::GetDocument(this) { Ok(ok__) => { - core::ptr::write(pbstrdoc, core::mem::transmute(ok__)); + pbstrdoc.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1248,7 +1248,7 @@ impl IUPnPServices_Vtbl { let this = (*this).get_impl(); match IUPnPServices_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(plcount, core::mem::transmute(ok__)); + plcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1259,7 +1259,7 @@ impl IUPnPServices_Vtbl { let this = (*this).get_impl(); match IUPnPServices_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(ppunk, core::mem::transmute(ok__)); + ppunk.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1270,7 +1270,7 @@ impl IUPnPServices_Vtbl { let this = (*this).get_impl(); match IUPnPServices_Impl::get_Item(this, core::mem::transmute(&bstrserviceid)) { Ok(ok__) => { - core::ptr::write(ppservice, core::mem::transmute(ok__)); + ppservice.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/Win32/Devices/Fax/impl.rs b/crates/libs/windows/src/Windows/Win32/Devices/Fax/impl.rs index e3821649e4..583cc52b69 100644 --- a/crates/libs/windows/src/Windows/Win32/Devices/Fax/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Devices/Fax/impl.rs @@ -15,7 +15,7 @@ impl IFaxAccount_Vtbl { let this = (*this).get_impl(); match IFaxAccount_Impl::AccountName(this) { Ok(ok__) => { - core::ptr::write(pbstraccountname, core::mem::transmute(ok__)); + pbstraccountname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -26,7 +26,7 @@ impl IFaxAccount_Vtbl { let this = (*this).get_impl(); match IFaxAccount_Impl::Folders(this) { Ok(ok__) => { - core::ptr::write(ppfolders, core::mem::transmute(ok__)); + ppfolders.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -42,7 +42,7 @@ impl IFaxAccount_Vtbl { let this = (*this).get_impl(); match IFaxAccount_Impl::RegisteredEvents(this) { Ok(ok__) => { - core::ptr::write(pregisteredevents, core::mem::transmute(ok__)); + pregisteredevents.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -77,7 +77,7 @@ impl IFaxAccountFolders_Vtbl { let this = (*this).get_impl(); match IFaxAccountFolders_Impl::OutgoingQueue(this) { Ok(ok__) => { - core::ptr::write(pfaxoutgoingqueue, core::mem::transmute(ok__)); + pfaxoutgoingqueue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -88,7 +88,7 @@ impl IFaxAccountFolders_Vtbl { let this = (*this).get_impl(); match IFaxAccountFolders_Impl::IncomingQueue(this) { Ok(ok__) => { - core::ptr::write(pfaxincomingqueue, core::mem::transmute(ok__)); + pfaxincomingqueue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -99,7 +99,7 @@ impl IFaxAccountFolders_Vtbl { let this = (*this).get_impl(); match IFaxAccountFolders_Impl::IncomingArchive(this) { Ok(ok__) => { - core::ptr::write(pfaxincomingarchive, core::mem::transmute(ok__)); + pfaxincomingarchive.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -110,7 +110,7 @@ impl IFaxAccountFolders_Vtbl { let this = (*this).get_impl(); match IFaxAccountFolders_Impl::OutgoingArchive(this) { Ok(ok__) => { - core::ptr::write(pfaxoutgoingarchive, core::mem::transmute(ok__)); + pfaxoutgoingarchive.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -146,7 +146,7 @@ impl IFaxAccountIncomingArchive_Vtbl { let this = (*this).get_impl(); match IFaxAccountIncomingArchive_Impl::SizeLow(this) { Ok(ok__) => { - core::ptr::write(plsizelow, core::mem::transmute(ok__)); + plsizelow.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -157,7 +157,7 @@ impl IFaxAccountIncomingArchive_Vtbl { let this = (*this).get_impl(); match IFaxAccountIncomingArchive_Impl::SizeHigh(this) { Ok(ok__) => { - core::ptr::write(plsizehigh, core::mem::transmute(ok__)); + plsizehigh.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -173,7 +173,7 @@ impl IFaxAccountIncomingArchive_Vtbl { let this = (*this).get_impl(); match IFaxAccountIncomingArchive_Impl::GetMessages(this, core::mem::transmute_copy(&lprefetchsize)) { Ok(ok__) => { - core::ptr::write(pfaxincomingmessageiterator, core::mem::transmute(ok__)); + pfaxincomingmessageiterator.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -184,7 +184,7 @@ impl IFaxAccountIncomingArchive_Vtbl { let this = (*this).get_impl(); match IFaxAccountIncomingArchive_Impl::GetMessage(this, core::mem::transmute(&bstrmessageid)) { Ok(ok__) => { - core::ptr::write(pfaxincomingmessage, core::mem::transmute(ok__)); + pfaxincomingmessage.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -218,7 +218,7 @@ impl IFaxAccountIncomingQueue_Vtbl { let this = (*this).get_impl(); match IFaxAccountIncomingQueue_Impl::GetJobs(this) { Ok(ok__) => { - core::ptr::write(pfaxincomingjobs, core::mem::transmute(ok__)); + pfaxincomingjobs.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -229,7 +229,7 @@ impl IFaxAccountIncomingQueue_Vtbl { let this = (*this).get_impl(); match IFaxAccountIncomingQueue_Impl::GetJob(this, core::mem::transmute(&bstrjobid)) { Ok(ok__) => { - core::ptr::write(pfaxincomingjob, core::mem::transmute(ok__)); + pfaxincomingjob.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -356,7 +356,7 @@ impl IFaxAccountOutgoingArchive_Vtbl { let this = (*this).get_impl(); match IFaxAccountOutgoingArchive_Impl::SizeLow(this) { Ok(ok__) => { - core::ptr::write(plsizelow, core::mem::transmute(ok__)); + plsizelow.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -367,7 +367,7 @@ impl IFaxAccountOutgoingArchive_Vtbl { let this = (*this).get_impl(); match IFaxAccountOutgoingArchive_Impl::SizeHigh(this) { Ok(ok__) => { - core::ptr::write(plsizehigh, core::mem::transmute(ok__)); + plsizehigh.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -383,7 +383,7 @@ impl IFaxAccountOutgoingArchive_Vtbl { let this = (*this).get_impl(); match IFaxAccountOutgoingArchive_Impl::GetMessages(this, core::mem::transmute_copy(&lprefetchsize)) { Ok(ok__) => { - core::ptr::write(pfaxoutgoingmessageiterator, core::mem::transmute(ok__)); + pfaxoutgoingmessageiterator.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -394,7 +394,7 @@ impl IFaxAccountOutgoingArchive_Vtbl { let this = (*this).get_impl(); match IFaxAccountOutgoingArchive_Impl::GetMessage(this, core::mem::transmute(&bstrmessageid)) { Ok(ok__) => { - core::ptr::write(pfaxoutgoingmessage, core::mem::transmute(ok__)); + pfaxoutgoingmessage.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -428,7 +428,7 @@ impl IFaxAccountOutgoingQueue_Vtbl { let this = (*this).get_impl(); match IFaxAccountOutgoingQueue_Impl::GetJobs(this) { Ok(ok__) => { - core::ptr::write(pfaxoutgoingjobs, core::mem::transmute(ok__)); + pfaxoutgoingjobs.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -439,7 +439,7 @@ impl IFaxAccountOutgoingQueue_Vtbl { let this = (*this).get_impl(); match IFaxAccountOutgoingQueue_Impl::GetJob(this, core::mem::transmute(&bstrjobid)) { Ok(ok__) => { - core::ptr::write(pfaxoutgoingjob, core::mem::transmute(ok__)); + pfaxoutgoingjob.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -472,7 +472,7 @@ impl IFaxAccountSet_Vtbl { let this = (*this).get_impl(); match IFaxAccountSet_Impl::GetAccounts(this) { Ok(ok__) => { - core::ptr::write(ppfaxaccounts, core::mem::transmute(ok__)); + ppfaxaccounts.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -483,7 +483,7 @@ impl IFaxAccountSet_Vtbl { let this = (*this).get_impl(); match IFaxAccountSet_Impl::GetAccount(this, core::mem::transmute(&bstraccountname)) { Ok(ok__) => { - core::ptr::write(pfaxaccount, core::mem::transmute(ok__)); + pfaxaccount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -494,7 +494,7 @@ impl IFaxAccountSet_Vtbl { let this = (*this).get_impl(); match IFaxAccountSet_Impl::AddAccount(this, core::mem::transmute(&bstraccountname)) { Ok(ok__) => { - core::ptr::write(pfaxaccount, core::mem::transmute(ok__)); + pfaxaccount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -533,7 +533,7 @@ impl IFaxAccounts_Vtbl { let this = (*this).get_impl(); match IFaxAccounts_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(ppunk, core::mem::transmute(ok__)); + ppunk.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -544,7 +544,7 @@ impl IFaxAccounts_Vtbl { let this = (*this).get_impl(); match IFaxAccounts_Impl::get_Item(this, core::mem::transmute(&vindex)) { Ok(ok__) => { - core::ptr::write(pfaxaccount, core::mem::transmute(ok__)); + pfaxaccount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -555,7 +555,7 @@ impl IFaxAccounts_Vtbl { let this = (*this).get_impl(); match IFaxAccounts_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(plcount, core::mem::transmute(ok__)); + plcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -590,7 +590,7 @@ impl IFaxActivity_Vtbl { let this = (*this).get_impl(); match IFaxActivity_Impl::IncomingMessages(this) { Ok(ok__) => { - core::ptr::write(plincomingmessages, core::mem::transmute(ok__)); + plincomingmessages.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -601,7 +601,7 @@ impl IFaxActivity_Vtbl { let this = (*this).get_impl(); match IFaxActivity_Impl::RoutingMessages(this) { Ok(ok__) => { - core::ptr::write(plroutingmessages, core::mem::transmute(ok__)); + plroutingmessages.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -612,7 +612,7 @@ impl IFaxActivity_Vtbl { let this = (*this).get_impl(); match IFaxActivity_Impl::OutgoingMessages(this) { Ok(ok__) => { - core::ptr::write(ploutgoingmessages, core::mem::transmute(ok__)); + ploutgoingmessages.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -623,7 +623,7 @@ impl IFaxActivity_Vtbl { let this = (*this).get_impl(); match IFaxActivity_Impl::QueuedMessages(this) { Ok(ok__) => { - core::ptr::write(plqueuedmessages, core::mem::transmute(ok__)); + plqueuedmessages.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -668,7 +668,7 @@ impl IFaxActivityLogging_Vtbl { let this = (*this).get_impl(); match IFaxActivityLogging_Impl::LogIncoming(this) { Ok(ok__) => { - core::ptr::write(pblogincoming, core::mem::transmute(ok__)); + pblogincoming.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -684,7 +684,7 @@ impl IFaxActivityLogging_Vtbl { let this = (*this).get_impl(); match IFaxActivityLogging_Impl::LogOutgoing(this) { Ok(ok__) => { - core::ptr::write(pblogoutgoing, core::mem::transmute(ok__)); + pblogoutgoing.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -700,7 +700,7 @@ impl IFaxActivityLogging_Vtbl { let this = (*this).get_impl(); match IFaxActivityLogging_Impl::DatabasePath(this) { Ok(ok__) => { - core::ptr::write(pbstrdatabasepath, core::mem::transmute(ok__)); + pbstrdatabasepath.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -792,7 +792,7 @@ impl IFaxConfiguration_Vtbl { let this = (*this).get_impl(); match IFaxConfiguration_Impl::UseArchive(this) { Ok(ok__) => { - core::ptr::write(pbusearchive, core::mem::transmute(ok__)); + pbusearchive.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -808,7 +808,7 @@ impl IFaxConfiguration_Vtbl { let this = (*this).get_impl(); match IFaxConfiguration_Impl::ArchiveLocation(this) { Ok(ok__) => { - core::ptr::write(pbstrarchivelocation, core::mem::transmute(ok__)); + pbstrarchivelocation.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -824,7 +824,7 @@ impl IFaxConfiguration_Vtbl { let this = (*this).get_impl(); match IFaxConfiguration_Impl::SizeQuotaWarning(this) { Ok(ok__) => { - core::ptr::write(pbsizequotawarning, core::mem::transmute(ok__)); + pbsizequotawarning.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -840,7 +840,7 @@ impl IFaxConfiguration_Vtbl { let this = (*this).get_impl(); match IFaxConfiguration_Impl::HighQuotaWaterMark(this) { Ok(ok__) => { - core::ptr::write(plhighquotawatermark, core::mem::transmute(ok__)); + plhighquotawatermark.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -856,7 +856,7 @@ impl IFaxConfiguration_Vtbl { let this = (*this).get_impl(); match IFaxConfiguration_Impl::LowQuotaWaterMark(this) { Ok(ok__) => { - core::ptr::write(pllowquotawatermark, core::mem::transmute(ok__)); + pllowquotawatermark.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -872,7 +872,7 @@ impl IFaxConfiguration_Vtbl { let this = (*this).get_impl(); match IFaxConfiguration_Impl::ArchiveAgeLimit(this) { Ok(ok__) => { - core::ptr::write(plarchiveagelimit, core::mem::transmute(ok__)); + plarchiveagelimit.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -888,7 +888,7 @@ impl IFaxConfiguration_Vtbl { let this = (*this).get_impl(); match IFaxConfiguration_Impl::ArchiveSizeLow(this) { Ok(ok__) => { - core::ptr::write(plsizelow, core::mem::transmute(ok__)); + plsizelow.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -899,7 +899,7 @@ impl IFaxConfiguration_Vtbl { let this = (*this).get_impl(); match IFaxConfiguration_Impl::ArchiveSizeHigh(this) { Ok(ok__) => { - core::ptr::write(plsizehigh, core::mem::transmute(ok__)); + plsizehigh.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -910,7 +910,7 @@ impl IFaxConfiguration_Vtbl { let this = (*this).get_impl(); match IFaxConfiguration_Impl::OutgoingQueueBlocked(this) { Ok(ok__) => { - core::ptr::write(pboutgoingblocked, core::mem::transmute(ok__)); + pboutgoingblocked.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -926,7 +926,7 @@ impl IFaxConfiguration_Vtbl { let this = (*this).get_impl(); match IFaxConfiguration_Impl::OutgoingQueuePaused(this) { Ok(ok__) => { - core::ptr::write(pboutgoingpaused, core::mem::transmute(ok__)); + pboutgoingpaused.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -942,7 +942,7 @@ impl IFaxConfiguration_Vtbl { let this = (*this).get_impl(); match IFaxConfiguration_Impl::AllowPersonalCoverPages(this) { Ok(ok__) => { - core::ptr::write(pballowpersonalcoverpages, core::mem::transmute(ok__)); + pballowpersonalcoverpages.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -958,7 +958,7 @@ impl IFaxConfiguration_Vtbl { let this = (*this).get_impl(); match IFaxConfiguration_Impl::UseDeviceTSID(this) { Ok(ok__) => { - core::ptr::write(pbusedevicetsid, core::mem::transmute(ok__)); + pbusedevicetsid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -974,7 +974,7 @@ impl IFaxConfiguration_Vtbl { let this = (*this).get_impl(); match IFaxConfiguration_Impl::Retries(this) { Ok(ok__) => { - core::ptr::write(plretries, core::mem::transmute(ok__)); + plretries.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -990,7 +990,7 @@ impl IFaxConfiguration_Vtbl { let this = (*this).get_impl(); match IFaxConfiguration_Impl::RetryDelay(this) { Ok(ok__) => { - core::ptr::write(plretrydelay, core::mem::transmute(ok__)); + plretrydelay.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1006,7 +1006,7 @@ impl IFaxConfiguration_Vtbl { let this = (*this).get_impl(); match IFaxConfiguration_Impl::DiscountRateStart(this) { Ok(ok__) => { - core::ptr::write(pdatediscountratestart, core::mem::transmute(ok__)); + pdatediscountratestart.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1022,7 +1022,7 @@ impl IFaxConfiguration_Vtbl { let this = (*this).get_impl(); match IFaxConfiguration_Impl::DiscountRateEnd(this) { Ok(ok__) => { - core::ptr::write(pdatediscountrateend, core::mem::transmute(ok__)); + pdatediscountrateend.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1038,7 +1038,7 @@ impl IFaxConfiguration_Vtbl { let this = (*this).get_impl(); match IFaxConfiguration_Impl::OutgoingQueueAgeLimit(this) { Ok(ok__) => { - core::ptr::write(ploutgoingqueueagelimit, core::mem::transmute(ok__)); + ploutgoingqueueagelimit.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1054,7 +1054,7 @@ impl IFaxConfiguration_Vtbl { let this = (*this).get_impl(); match IFaxConfiguration_Impl::Branding(this) { Ok(ok__) => { - core::ptr::write(pbbranding, core::mem::transmute(ok__)); + pbbranding.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1070,7 +1070,7 @@ impl IFaxConfiguration_Vtbl { let this = (*this).get_impl(); match IFaxConfiguration_Impl::IncomingQueueBlocked(this) { Ok(ok__) => { - core::ptr::write(pbincomingblocked, core::mem::transmute(ok__)); + pbincomingblocked.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1086,7 +1086,7 @@ impl IFaxConfiguration_Vtbl { let this = (*this).get_impl(); match IFaxConfiguration_Impl::AutoCreateAccountOnConnect(this) { Ok(ok__) => { - core::ptr::write(pbautocreateaccountonconnect, core::mem::transmute(ok__)); + pbautocreateaccountonconnect.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1102,7 +1102,7 @@ impl IFaxConfiguration_Vtbl { let this = (*this).get_impl(); match IFaxConfiguration_Impl::IncomingFaxesArePublic(this) { Ok(ok__) => { - core::ptr::write(pbincomingfaxesarepublic, core::mem::transmute(ok__)); + pbincomingfaxesarepublic.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1212,7 +1212,7 @@ impl IFaxDevice_Vtbl { let this = (*this).get_impl(); match IFaxDevice_Impl::Id(this) { Ok(ok__) => { - core::ptr::write(plid, core::mem::transmute(ok__)); + plid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1223,7 +1223,7 @@ impl IFaxDevice_Vtbl { let this = (*this).get_impl(); match IFaxDevice_Impl::DeviceName(this) { Ok(ok__) => { - core::ptr::write(pbstrdevicename, core::mem::transmute(ok__)); + pbstrdevicename.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1234,7 +1234,7 @@ impl IFaxDevice_Vtbl { let this = (*this).get_impl(); match IFaxDevice_Impl::ProviderUniqueName(this) { Ok(ok__) => { - core::ptr::write(pbstrprovideruniquename, core::mem::transmute(ok__)); + pbstrprovideruniquename.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1245,7 +1245,7 @@ impl IFaxDevice_Vtbl { let this = (*this).get_impl(); match IFaxDevice_Impl::PoweredOff(this) { Ok(ok__) => { - core::ptr::write(pbpoweredoff, core::mem::transmute(ok__)); + pbpoweredoff.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1256,7 +1256,7 @@ impl IFaxDevice_Vtbl { let this = (*this).get_impl(); match IFaxDevice_Impl::ReceivingNow(this) { Ok(ok__) => { - core::ptr::write(pbreceivingnow, core::mem::transmute(ok__)); + pbreceivingnow.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1267,7 +1267,7 @@ impl IFaxDevice_Vtbl { let this = (*this).get_impl(); match IFaxDevice_Impl::SendingNow(this) { Ok(ok__) => { - core::ptr::write(pbsendingnow, core::mem::transmute(ok__)); + pbsendingnow.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1278,7 +1278,7 @@ impl IFaxDevice_Vtbl { let this = (*this).get_impl(); match IFaxDevice_Impl::UsedRoutingMethods(this) { Ok(ok__) => { - core::ptr::write(pvusedroutingmethods, core::mem::transmute(ok__)); + pvusedroutingmethods.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1289,7 +1289,7 @@ impl IFaxDevice_Vtbl { let this = (*this).get_impl(); match IFaxDevice_Impl::Description(this) { Ok(ok__) => { - core::ptr::write(pbstrdescription, core::mem::transmute(ok__)); + pbstrdescription.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1305,7 +1305,7 @@ impl IFaxDevice_Vtbl { let this = (*this).get_impl(); match IFaxDevice_Impl::SendEnabled(this) { Ok(ok__) => { - core::ptr::write(pbsendenabled, core::mem::transmute(ok__)); + pbsendenabled.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1321,7 +1321,7 @@ impl IFaxDevice_Vtbl { let this = (*this).get_impl(); match IFaxDevice_Impl::ReceiveMode(this) { Ok(ok__) => { - core::ptr::write(preceivemode, core::mem::transmute(ok__)); + preceivemode.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1337,7 +1337,7 @@ impl IFaxDevice_Vtbl { let this = (*this).get_impl(); match IFaxDevice_Impl::RingsBeforeAnswer(this) { Ok(ok__) => { - core::ptr::write(plringsbeforeanswer, core::mem::transmute(ok__)); + plringsbeforeanswer.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1353,7 +1353,7 @@ impl IFaxDevice_Vtbl { let this = (*this).get_impl(); match IFaxDevice_Impl::CSID(this) { Ok(ok__) => { - core::ptr::write(pbstrcsid, core::mem::transmute(ok__)); + pbstrcsid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1369,7 +1369,7 @@ impl IFaxDevice_Vtbl { let this = (*this).get_impl(); match IFaxDevice_Impl::TSID(this) { Ok(ok__) => { - core::ptr::write(pbstrtsid, core::mem::transmute(ok__)); + pbstrtsid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1395,7 +1395,7 @@ impl IFaxDevice_Vtbl { let this = (*this).get_impl(); match IFaxDevice_Impl::GetExtensionProperty(this, core::mem::transmute(&bstrguid)) { Ok(ok__) => { - core::ptr::write(pvproperty, core::mem::transmute(ok__)); + pvproperty.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1416,7 +1416,7 @@ impl IFaxDevice_Vtbl { let this = (*this).get_impl(); match IFaxDevice_Impl::RingingNow(this) { Ok(ok__) => { - core::ptr::write(pbringingnow, core::mem::transmute(ok__)); + pbringingnow.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1480,7 +1480,7 @@ impl IFaxDeviceIds_Vtbl { let this = (*this).get_impl(); match IFaxDeviceIds_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(ppunk, core::mem::transmute(ok__)); + ppunk.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1491,7 +1491,7 @@ impl IFaxDeviceIds_Vtbl { let this = (*this).get_impl(); match IFaxDeviceIds_Impl::get_Item(this, core::mem::transmute_copy(&lindex)) { Ok(ok__) => { - core::ptr::write(pldeviceid, core::mem::transmute(ok__)); + pldeviceid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1502,7 +1502,7 @@ impl IFaxDeviceIds_Vtbl { let this = (*this).get_impl(); match IFaxDeviceIds_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(plcount, core::mem::transmute(ok__)); + plcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1562,7 +1562,7 @@ impl IFaxDeviceProvider_Vtbl { let this = (*this).get_impl(); match IFaxDeviceProvider_Impl::FriendlyName(this) { Ok(ok__) => { - core::ptr::write(pbstrfriendlyname, core::mem::transmute(ok__)); + pbstrfriendlyname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1573,7 +1573,7 @@ impl IFaxDeviceProvider_Vtbl { let this = (*this).get_impl(); match IFaxDeviceProvider_Impl::ImageName(this) { Ok(ok__) => { - core::ptr::write(pbstrimagename, core::mem::transmute(ok__)); + pbstrimagename.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1584,7 +1584,7 @@ impl IFaxDeviceProvider_Vtbl { let this = (*this).get_impl(); match IFaxDeviceProvider_Impl::UniqueName(this) { Ok(ok__) => { - core::ptr::write(pbstruniquename, core::mem::transmute(ok__)); + pbstruniquename.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1595,7 +1595,7 @@ impl IFaxDeviceProvider_Vtbl { let this = (*this).get_impl(); match IFaxDeviceProvider_Impl::TapiProviderName(this) { Ok(ok__) => { - core::ptr::write(pbstrtapiprovidername, core::mem::transmute(ok__)); + pbstrtapiprovidername.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1606,7 +1606,7 @@ impl IFaxDeviceProvider_Vtbl { let this = (*this).get_impl(); match IFaxDeviceProvider_Impl::MajorVersion(this) { Ok(ok__) => { - core::ptr::write(plmajorversion, core::mem::transmute(ok__)); + plmajorversion.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1617,7 +1617,7 @@ impl IFaxDeviceProvider_Vtbl { let this = (*this).get_impl(); match IFaxDeviceProvider_Impl::MinorVersion(this) { Ok(ok__) => { - core::ptr::write(plminorversion, core::mem::transmute(ok__)); + plminorversion.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1628,7 +1628,7 @@ impl IFaxDeviceProvider_Vtbl { let this = (*this).get_impl(); match IFaxDeviceProvider_Impl::MajorBuild(this) { Ok(ok__) => { - core::ptr::write(plmajorbuild, core::mem::transmute(ok__)); + plmajorbuild.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1639,7 +1639,7 @@ impl IFaxDeviceProvider_Vtbl { let this = (*this).get_impl(); match IFaxDeviceProvider_Impl::MinorBuild(this) { Ok(ok__) => { - core::ptr::write(plminorbuild, core::mem::transmute(ok__)); + plminorbuild.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1650,7 +1650,7 @@ impl IFaxDeviceProvider_Vtbl { let this = (*this).get_impl(); match IFaxDeviceProvider_Impl::Debug(this) { Ok(ok__) => { - core::ptr::write(pbdebug, core::mem::transmute(ok__)); + pbdebug.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1661,7 +1661,7 @@ impl IFaxDeviceProvider_Vtbl { let this = (*this).get_impl(); match IFaxDeviceProvider_Impl::Status(this) { Ok(ok__) => { - core::ptr::write(pstatus, core::mem::transmute(ok__)); + pstatus.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1672,7 +1672,7 @@ impl IFaxDeviceProvider_Vtbl { let this = (*this).get_impl(); match IFaxDeviceProvider_Impl::InitErrorCode(this) { Ok(ok__) => { - core::ptr::write(pliniterrorcode, core::mem::transmute(ok__)); + pliniterrorcode.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1683,7 +1683,7 @@ impl IFaxDeviceProvider_Vtbl { let this = (*this).get_impl(); match IFaxDeviceProvider_Impl::DeviceIds(this) { Ok(ok__) => { - core::ptr::write(pvdeviceids, core::mem::transmute(ok__)); + pvdeviceids.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1725,7 +1725,7 @@ impl IFaxDeviceProviders_Vtbl { let this = (*this).get_impl(); match IFaxDeviceProviders_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(ppunk, core::mem::transmute(ok__)); + ppunk.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1736,7 +1736,7 @@ impl IFaxDeviceProviders_Vtbl { let this = (*this).get_impl(); match IFaxDeviceProviders_Impl::get_Item(this, core::mem::transmute(&vindex)) { Ok(ok__) => { - core::ptr::write(pfaxdeviceprovider, core::mem::transmute(ok__)); + pfaxdeviceprovider.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1747,7 +1747,7 @@ impl IFaxDeviceProviders_Vtbl { let this = (*this).get_impl(); match IFaxDeviceProviders_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(plcount, core::mem::transmute(ok__)); + plcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1781,7 +1781,7 @@ impl IFaxDevices_Vtbl { let this = (*this).get_impl(); match IFaxDevices_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(ppunk, core::mem::transmute(ok__)); + ppunk.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1792,7 +1792,7 @@ impl IFaxDevices_Vtbl { let this = (*this).get_impl(); match IFaxDevices_Impl::get_Item(this, core::mem::transmute(&vindex)) { Ok(ok__) => { - core::ptr::write(pfaxdevice, core::mem::transmute(ok__)); + pfaxdevice.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1803,7 +1803,7 @@ impl IFaxDevices_Vtbl { let this = (*this).get_impl(); match IFaxDevices_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(plcount, core::mem::transmute(ok__)); + plcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1814,7 +1814,7 @@ impl IFaxDevices_Vtbl { let this = (*this).get_impl(); match IFaxDevices_Impl::get_ItemById(this, core::mem::transmute_copy(&lid)) { Ok(ok__) => { - core::ptr::write(ppfaxdevice, core::mem::transmute(ok__)); + ppfaxdevice.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1879,7 +1879,7 @@ impl IFaxDocument_Vtbl { let this = (*this).get_impl(); match IFaxDocument_Impl::Body(this) { Ok(ok__) => { - core::ptr::write(pbstrbody, core::mem::transmute(ok__)); + pbstrbody.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1895,7 +1895,7 @@ impl IFaxDocument_Vtbl { let this = (*this).get_impl(); match IFaxDocument_Impl::Sender(this) { Ok(ok__) => { - core::ptr::write(ppfaxsender, core::mem::transmute(ok__)); + ppfaxsender.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1906,7 +1906,7 @@ impl IFaxDocument_Vtbl { let this = (*this).get_impl(); match IFaxDocument_Impl::Recipients(this) { Ok(ok__) => { - core::ptr::write(ppfaxrecipients, core::mem::transmute(ok__)); + ppfaxrecipients.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1917,7 +1917,7 @@ impl IFaxDocument_Vtbl { let this = (*this).get_impl(); match IFaxDocument_Impl::CoverPage(this) { Ok(ok__) => { - core::ptr::write(pbstrcoverpage, core::mem::transmute(ok__)); + pbstrcoverpage.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1933,7 +1933,7 @@ impl IFaxDocument_Vtbl { let this = (*this).get_impl(); match IFaxDocument_Impl::Subject(this) { Ok(ok__) => { - core::ptr::write(pbstrsubject, core::mem::transmute(ok__)); + pbstrsubject.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1949,7 +1949,7 @@ impl IFaxDocument_Vtbl { let this = (*this).get_impl(); match IFaxDocument_Impl::Note(this) { Ok(ok__) => { - core::ptr::write(pbstrnote, core::mem::transmute(ok__)); + pbstrnote.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1965,7 +1965,7 @@ impl IFaxDocument_Vtbl { let this = (*this).get_impl(); match IFaxDocument_Impl::ScheduleTime(this) { Ok(ok__) => { - core::ptr::write(pdatescheduletime, core::mem::transmute(ok__)); + pdatescheduletime.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1981,7 +1981,7 @@ impl IFaxDocument_Vtbl { let this = (*this).get_impl(); match IFaxDocument_Impl::ReceiptAddress(this) { Ok(ok__) => { - core::ptr::write(pbstrreceiptaddress, core::mem::transmute(ok__)); + pbstrreceiptaddress.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1997,7 +1997,7 @@ impl IFaxDocument_Vtbl { let this = (*this).get_impl(); match IFaxDocument_Impl::DocumentName(this) { Ok(ok__) => { - core::ptr::write(pbstrdocumentname, core::mem::transmute(ok__)); + pbstrdocumentname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2013,7 +2013,7 @@ impl IFaxDocument_Vtbl { let this = (*this).get_impl(); match IFaxDocument_Impl::CallHandle(this) { Ok(ok__) => { - core::ptr::write(plcallhandle, core::mem::transmute(ok__)); + plcallhandle.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2029,7 +2029,7 @@ impl IFaxDocument_Vtbl { let this = (*this).get_impl(); match IFaxDocument_Impl::CoverPageType(this) { Ok(ok__) => { - core::ptr::write(pcoverpagetype, core::mem::transmute(ok__)); + pcoverpagetype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2045,7 +2045,7 @@ impl IFaxDocument_Vtbl { let this = (*this).get_impl(); match IFaxDocument_Impl::ScheduleType(this) { Ok(ok__) => { - core::ptr::write(pscheduletype, core::mem::transmute(ok__)); + pscheduletype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2061,7 +2061,7 @@ impl IFaxDocument_Vtbl { let this = (*this).get_impl(); match IFaxDocument_Impl::ReceiptType(this) { Ok(ok__) => { - core::ptr::write(preceipttype, core::mem::transmute(ok__)); + preceipttype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2077,7 +2077,7 @@ impl IFaxDocument_Vtbl { let this = (*this).get_impl(); match IFaxDocument_Impl::GroupBroadcastReceipts(this) { Ok(ok__) => { - core::ptr::write(pbusegrouping, core::mem::transmute(ok__)); + pbusegrouping.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2093,7 +2093,7 @@ impl IFaxDocument_Vtbl { let this = (*this).get_impl(); match IFaxDocument_Impl::Priority(this) { Ok(ok__) => { - core::ptr::write(ppriority, core::mem::transmute(ok__)); + ppriority.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2109,7 +2109,7 @@ impl IFaxDocument_Vtbl { let this = (*this).get_impl(); match IFaxDocument_Impl::TapiConnection(this) { Ok(ok__) => { - core::ptr::write(pptapiconnection, core::mem::transmute(ok__)); + pptapiconnection.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2125,7 +2125,7 @@ impl IFaxDocument_Vtbl { let this = (*this).get_impl(); match IFaxDocument_Impl::Submit(this, core::mem::transmute(&bstrfaxservername)) { Ok(ok__) => { - core::ptr::write(pvfaxoutgoingjobids, core::mem::transmute(ok__)); + pvfaxoutgoingjobids.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2136,7 +2136,7 @@ impl IFaxDocument_Vtbl { let this = (*this).get_impl(); match IFaxDocument_Impl::ConnectedSubmit(this, windows_core::from_raw_borrowed(&pfaxserver)) { Ok(ok__) => { - core::ptr::write(pvfaxoutgoingjobids, core::mem::transmute(ok__)); + pvfaxoutgoingjobids.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2147,7 +2147,7 @@ impl IFaxDocument_Vtbl { let this = (*this).get_impl(); match IFaxDocument_Impl::AttachFaxToReceipt(this) { Ok(ok__) => { - core::ptr::write(pbattachfax, core::mem::transmute(ok__)); + pbattachfax.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2218,7 +2218,7 @@ impl IFaxDocument2_Vtbl { let this = (*this).get_impl(); match IFaxDocument2_Impl::SubmissionId(this) { Ok(ok__) => { - core::ptr::write(pbstrsubmissionid, core::mem::transmute(ok__)); + pbstrsubmissionid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2229,7 +2229,7 @@ impl IFaxDocument2_Vtbl { let this = (*this).get_impl(); match IFaxDocument2_Impl::Bodies(this) { Ok(ok__) => { - core::ptr::write(pvbodies, core::mem::transmute(ok__)); + pvbodies.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2286,7 +2286,7 @@ impl IFaxEventLogging_Vtbl { let this = (*this).get_impl(); match IFaxEventLogging_Impl::InitEventsLevel(this) { Ok(ok__) => { - core::ptr::write(piniteventlevel, core::mem::transmute(ok__)); + piniteventlevel.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2302,7 +2302,7 @@ impl IFaxEventLogging_Vtbl { let this = (*this).get_impl(); match IFaxEventLogging_Impl::InboundEventsLevel(this) { Ok(ok__) => { - core::ptr::write(pinboundeventlevel, core::mem::transmute(ok__)); + pinboundeventlevel.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2318,7 +2318,7 @@ impl IFaxEventLogging_Vtbl { let this = (*this).get_impl(); match IFaxEventLogging_Impl::OutboundEventsLevel(this) { Ok(ok__) => { - core::ptr::write(poutboundeventlevel, core::mem::transmute(ok__)); + poutboundeventlevel.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2334,7 +2334,7 @@ impl IFaxEventLogging_Vtbl { let this = (*this).get_impl(); match IFaxEventLogging_Impl::GeneralEventsLevel(this) { Ok(ok__) => { - core::ptr::write(pgeneraleventlevel, core::mem::transmute(ok__)); + pgeneraleventlevel.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2390,7 +2390,7 @@ impl IFaxFolders_Vtbl { let this = (*this).get_impl(); match IFaxFolders_Impl::OutgoingQueue(this) { Ok(ok__) => { - core::ptr::write(pfaxoutgoingqueue, core::mem::transmute(ok__)); + pfaxoutgoingqueue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2401,7 +2401,7 @@ impl IFaxFolders_Vtbl { let this = (*this).get_impl(); match IFaxFolders_Impl::IncomingQueue(this) { Ok(ok__) => { - core::ptr::write(pfaxincomingqueue, core::mem::transmute(ok__)); + pfaxincomingqueue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2412,7 +2412,7 @@ impl IFaxFolders_Vtbl { let this = (*this).get_impl(); match IFaxFolders_Impl::IncomingArchive(this) { Ok(ok__) => { - core::ptr::write(pfaxincomingarchive, core::mem::transmute(ok__)); + pfaxincomingarchive.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2423,7 +2423,7 @@ impl IFaxFolders_Vtbl { let this = (*this).get_impl(); match IFaxFolders_Impl::OutgoingArchive(this) { Ok(ok__) => { - core::ptr::write(pfaxoutgoingarchive, core::mem::transmute(ok__)); + pfaxoutgoingarchive.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2456,7 +2456,7 @@ impl IFaxInboundRouting_Vtbl { let this = (*this).get_impl(); match IFaxInboundRouting_Impl::GetExtensions(this) { Ok(ok__) => { - core::ptr::write(pfaxinboundroutingextensions, core::mem::transmute(ok__)); + pfaxinboundroutingextensions.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2467,7 +2467,7 @@ impl IFaxInboundRouting_Vtbl { let this = (*this).get_impl(); match IFaxInboundRouting_Impl::GetMethods(this) { Ok(ok__) => { - core::ptr::write(pfaxinboundroutingmethods, core::mem::transmute(ok__)); + pfaxinboundroutingmethods.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2507,7 +2507,7 @@ impl IFaxInboundRoutingExtension_Vtbl { let this = (*this).get_impl(); match IFaxInboundRoutingExtension_Impl::FriendlyName(this) { Ok(ok__) => { - core::ptr::write(pbstrfriendlyname, core::mem::transmute(ok__)); + pbstrfriendlyname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2518,7 +2518,7 @@ impl IFaxInboundRoutingExtension_Vtbl { let this = (*this).get_impl(); match IFaxInboundRoutingExtension_Impl::ImageName(this) { Ok(ok__) => { - core::ptr::write(pbstrimagename, core::mem::transmute(ok__)); + pbstrimagename.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2529,7 +2529,7 @@ impl IFaxInboundRoutingExtension_Vtbl { let this = (*this).get_impl(); match IFaxInboundRoutingExtension_Impl::UniqueName(this) { Ok(ok__) => { - core::ptr::write(pbstruniquename, core::mem::transmute(ok__)); + pbstruniquename.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2540,7 +2540,7 @@ impl IFaxInboundRoutingExtension_Vtbl { let this = (*this).get_impl(); match IFaxInboundRoutingExtension_Impl::MajorVersion(this) { Ok(ok__) => { - core::ptr::write(plmajorversion, core::mem::transmute(ok__)); + plmajorversion.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2551,7 +2551,7 @@ impl IFaxInboundRoutingExtension_Vtbl { let this = (*this).get_impl(); match IFaxInboundRoutingExtension_Impl::MinorVersion(this) { Ok(ok__) => { - core::ptr::write(plminorversion, core::mem::transmute(ok__)); + plminorversion.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2562,7 +2562,7 @@ impl IFaxInboundRoutingExtension_Vtbl { let this = (*this).get_impl(); match IFaxInboundRoutingExtension_Impl::MajorBuild(this) { Ok(ok__) => { - core::ptr::write(plmajorbuild, core::mem::transmute(ok__)); + plmajorbuild.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2573,7 +2573,7 @@ impl IFaxInboundRoutingExtension_Vtbl { let this = (*this).get_impl(); match IFaxInboundRoutingExtension_Impl::MinorBuild(this) { Ok(ok__) => { - core::ptr::write(plminorbuild, core::mem::transmute(ok__)); + plminorbuild.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2584,7 +2584,7 @@ impl IFaxInboundRoutingExtension_Vtbl { let this = (*this).get_impl(); match IFaxInboundRoutingExtension_Impl::Debug(this) { Ok(ok__) => { - core::ptr::write(pbdebug, core::mem::transmute(ok__)); + pbdebug.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2595,7 +2595,7 @@ impl IFaxInboundRoutingExtension_Vtbl { let this = (*this).get_impl(); match IFaxInboundRoutingExtension_Impl::Status(this) { Ok(ok__) => { - core::ptr::write(pstatus, core::mem::transmute(ok__)); + pstatus.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2606,7 +2606,7 @@ impl IFaxInboundRoutingExtension_Vtbl { let this = (*this).get_impl(); match IFaxInboundRoutingExtension_Impl::InitErrorCode(this) { Ok(ok__) => { - core::ptr::write(pliniterrorcode, core::mem::transmute(ok__)); + pliniterrorcode.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2617,7 +2617,7 @@ impl IFaxInboundRoutingExtension_Vtbl { let this = (*this).get_impl(); match IFaxInboundRoutingExtension_Impl::Methods(this) { Ok(ok__) => { - core::ptr::write(pvmethods, core::mem::transmute(ok__)); + pvmethods.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2658,7 +2658,7 @@ impl IFaxInboundRoutingExtensions_Vtbl { let this = (*this).get_impl(); match IFaxInboundRoutingExtensions_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(ppunk, core::mem::transmute(ok__)); + ppunk.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2669,7 +2669,7 @@ impl IFaxInboundRoutingExtensions_Vtbl { let this = (*this).get_impl(); match IFaxInboundRoutingExtensions_Impl::get_Item(this, core::mem::transmute(&vindex)) { Ok(ok__) => { - core::ptr::write(pfaxinboundroutingextension, core::mem::transmute(ok__)); + pfaxinboundroutingextension.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2680,7 +2680,7 @@ impl IFaxInboundRoutingExtensions_Vtbl { let this = (*this).get_impl(); match IFaxInboundRoutingExtensions_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(plcount, core::mem::transmute(ok__)); + plcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2719,7 +2719,7 @@ impl IFaxInboundRoutingMethod_Vtbl { let this = (*this).get_impl(); match IFaxInboundRoutingMethod_Impl::Name(this) { Ok(ok__) => { - core::ptr::write(pbstrname, core::mem::transmute(ok__)); + pbstrname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2730,7 +2730,7 @@ impl IFaxInboundRoutingMethod_Vtbl { let this = (*this).get_impl(); match IFaxInboundRoutingMethod_Impl::GUID(this) { Ok(ok__) => { - core::ptr::write(pbstrguid, core::mem::transmute(ok__)); + pbstrguid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2741,7 +2741,7 @@ impl IFaxInboundRoutingMethod_Vtbl { let this = (*this).get_impl(); match IFaxInboundRoutingMethod_Impl::FunctionName(this) { Ok(ok__) => { - core::ptr::write(pbstrfunctionname, core::mem::transmute(ok__)); + pbstrfunctionname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2752,7 +2752,7 @@ impl IFaxInboundRoutingMethod_Vtbl { let this = (*this).get_impl(); match IFaxInboundRoutingMethod_Impl::ExtensionFriendlyName(this) { Ok(ok__) => { - core::ptr::write(pbstrextensionfriendlyname, core::mem::transmute(ok__)); + pbstrextensionfriendlyname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2763,7 +2763,7 @@ impl IFaxInboundRoutingMethod_Vtbl { let this = (*this).get_impl(); match IFaxInboundRoutingMethod_Impl::ExtensionImageName(this) { Ok(ok__) => { - core::ptr::write(pbstrextensionimagename, core::mem::transmute(ok__)); + pbstrextensionimagename.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2774,7 +2774,7 @@ impl IFaxInboundRoutingMethod_Vtbl { let this = (*this).get_impl(); match IFaxInboundRoutingMethod_Impl::Priority(this) { Ok(ok__) => { - core::ptr::write(plpriority, core::mem::transmute(ok__)); + plpriority.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2828,7 +2828,7 @@ impl IFaxInboundRoutingMethods_Vtbl { let this = (*this).get_impl(); match IFaxInboundRoutingMethods_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(ppunk, core::mem::transmute(ok__)); + ppunk.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2839,7 +2839,7 @@ impl IFaxInboundRoutingMethods_Vtbl { let this = (*this).get_impl(); match IFaxInboundRoutingMethods_Impl::get_Item(this, core::mem::transmute(&vindex)) { Ok(ok__) => { - core::ptr::write(pfaxinboundroutingmethod, core::mem::transmute(ok__)); + pfaxinboundroutingmethod.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2850,7 +2850,7 @@ impl IFaxInboundRoutingMethods_Vtbl { let this = (*this).get_impl(); match IFaxInboundRoutingMethods_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(plcount, core::mem::transmute(ok__)); + plcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2898,7 +2898,7 @@ impl IFaxIncomingArchive_Vtbl { let this = (*this).get_impl(); match IFaxIncomingArchive_Impl::UseArchive(this) { Ok(ok__) => { - core::ptr::write(pbusearchive, core::mem::transmute(ok__)); + pbusearchive.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2914,7 +2914,7 @@ impl IFaxIncomingArchive_Vtbl { let this = (*this).get_impl(); match IFaxIncomingArchive_Impl::ArchiveFolder(this) { Ok(ok__) => { - core::ptr::write(pbstrarchivefolder, core::mem::transmute(ok__)); + pbstrarchivefolder.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2930,7 +2930,7 @@ impl IFaxIncomingArchive_Vtbl { let this = (*this).get_impl(); match IFaxIncomingArchive_Impl::SizeQuotaWarning(this) { Ok(ok__) => { - core::ptr::write(pbsizequotawarning, core::mem::transmute(ok__)); + pbsizequotawarning.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2946,7 +2946,7 @@ impl IFaxIncomingArchive_Vtbl { let this = (*this).get_impl(); match IFaxIncomingArchive_Impl::HighQuotaWaterMark(this) { Ok(ok__) => { - core::ptr::write(plhighquotawatermark, core::mem::transmute(ok__)); + plhighquotawatermark.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2962,7 +2962,7 @@ impl IFaxIncomingArchive_Vtbl { let this = (*this).get_impl(); match IFaxIncomingArchive_Impl::LowQuotaWaterMark(this) { Ok(ok__) => { - core::ptr::write(pllowquotawatermark, core::mem::transmute(ok__)); + pllowquotawatermark.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2978,7 +2978,7 @@ impl IFaxIncomingArchive_Vtbl { let this = (*this).get_impl(); match IFaxIncomingArchive_Impl::AgeLimit(this) { Ok(ok__) => { - core::ptr::write(plagelimit, core::mem::transmute(ok__)); + plagelimit.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2994,7 +2994,7 @@ impl IFaxIncomingArchive_Vtbl { let this = (*this).get_impl(); match IFaxIncomingArchive_Impl::SizeLow(this) { Ok(ok__) => { - core::ptr::write(plsizelow, core::mem::transmute(ok__)); + plsizelow.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3005,7 +3005,7 @@ impl IFaxIncomingArchive_Vtbl { let this = (*this).get_impl(); match IFaxIncomingArchive_Impl::SizeHigh(this) { Ok(ok__) => { - core::ptr::write(plsizehigh, core::mem::transmute(ok__)); + plsizehigh.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3026,7 +3026,7 @@ impl IFaxIncomingArchive_Vtbl { let this = (*this).get_impl(); match IFaxIncomingArchive_Impl::GetMessages(this, core::mem::transmute_copy(&lprefetchsize)) { Ok(ok__) => { - core::ptr::write(pfaxincomingmessageiterator, core::mem::transmute(ok__)); + pfaxincomingmessageiterator.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3037,7 +3037,7 @@ impl IFaxIncomingArchive_Vtbl { let this = (*this).get_impl(); match IFaxIncomingArchive_Impl::GetMessage(this, core::mem::transmute(&bstrmessageid)) { Ok(ok__) => { - core::ptr::write(pfaxincomingmessage, core::mem::transmute(ok__)); + pfaxincomingmessage.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3101,7 +3101,7 @@ impl IFaxIncomingJob_Vtbl { let this = (*this).get_impl(); match IFaxIncomingJob_Impl::Size(this) { Ok(ok__) => { - core::ptr::write(plsize, core::mem::transmute(ok__)); + plsize.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3112,7 +3112,7 @@ impl IFaxIncomingJob_Vtbl { let this = (*this).get_impl(); match IFaxIncomingJob_Impl::Id(this) { Ok(ok__) => { - core::ptr::write(pbstrid, core::mem::transmute(ok__)); + pbstrid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3123,7 +3123,7 @@ impl IFaxIncomingJob_Vtbl { let this = (*this).get_impl(); match IFaxIncomingJob_Impl::CurrentPage(this) { Ok(ok__) => { - core::ptr::write(plcurrentpage, core::mem::transmute(ok__)); + plcurrentpage.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3134,7 +3134,7 @@ impl IFaxIncomingJob_Vtbl { let this = (*this).get_impl(); match IFaxIncomingJob_Impl::DeviceId(this) { Ok(ok__) => { - core::ptr::write(pldeviceid, core::mem::transmute(ok__)); + pldeviceid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3145,7 +3145,7 @@ impl IFaxIncomingJob_Vtbl { let this = (*this).get_impl(); match IFaxIncomingJob_Impl::Status(this) { Ok(ok__) => { - core::ptr::write(pstatus, core::mem::transmute(ok__)); + pstatus.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3156,7 +3156,7 @@ impl IFaxIncomingJob_Vtbl { let this = (*this).get_impl(); match IFaxIncomingJob_Impl::ExtendedStatusCode(this) { Ok(ok__) => { - core::ptr::write(pextendedstatuscode, core::mem::transmute(ok__)); + pextendedstatuscode.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3167,7 +3167,7 @@ impl IFaxIncomingJob_Vtbl { let this = (*this).get_impl(); match IFaxIncomingJob_Impl::ExtendedStatus(this) { Ok(ok__) => { - core::ptr::write(pbstrextendedstatus, core::mem::transmute(ok__)); + pbstrextendedstatus.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3178,7 +3178,7 @@ impl IFaxIncomingJob_Vtbl { let this = (*this).get_impl(); match IFaxIncomingJob_Impl::AvailableOperations(this) { Ok(ok__) => { - core::ptr::write(pavailableoperations, core::mem::transmute(ok__)); + pavailableoperations.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3189,7 +3189,7 @@ impl IFaxIncomingJob_Vtbl { let this = (*this).get_impl(); match IFaxIncomingJob_Impl::Retries(this) { Ok(ok__) => { - core::ptr::write(plretries, core::mem::transmute(ok__)); + plretries.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3200,7 +3200,7 @@ impl IFaxIncomingJob_Vtbl { let this = (*this).get_impl(); match IFaxIncomingJob_Impl::TransmissionStart(this) { Ok(ok__) => { - core::ptr::write(pdatetransmissionstart, core::mem::transmute(ok__)); + pdatetransmissionstart.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3211,7 +3211,7 @@ impl IFaxIncomingJob_Vtbl { let this = (*this).get_impl(); match IFaxIncomingJob_Impl::TransmissionEnd(this) { Ok(ok__) => { - core::ptr::write(pdatetransmissionend, core::mem::transmute(ok__)); + pdatetransmissionend.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3222,7 +3222,7 @@ impl IFaxIncomingJob_Vtbl { let this = (*this).get_impl(); match IFaxIncomingJob_Impl::CSID(this) { Ok(ok__) => { - core::ptr::write(pbstrcsid, core::mem::transmute(ok__)); + pbstrcsid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3233,7 +3233,7 @@ impl IFaxIncomingJob_Vtbl { let this = (*this).get_impl(); match IFaxIncomingJob_Impl::TSID(this) { Ok(ok__) => { - core::ptr::write(pbstrtsid, core::mem::transmute(ok__)); + pbstrtsid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3244,7 +3244,7 @@ impl IFaxIncomingJob_Vtbl { let this = (*this).get_impl(); match IFaxIncomingJob_Impl::CallerId(this) { Ok(ok__) => { - core::ptr::write(pbstrcallerid, core::mem::transmute(ok__)); + pbstrcallerid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3255,7 +3255,7 @@ impl IFaxIncomingJob_Vtbl { let this = (*this).get_impl(); match IFaxIncomingJob_Impl::RoutingInformation(this) { Ok(ok__) => { - core::ptr::write(pbstrroutinginformation, core::mem::transmute(ok__)); + pbstrroutinginformation.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3266,7 +3266,7 @@ impl IFaxIncomingJob_Vtbl { let this = (*this).get_impl(); match IFaxIncomingJob_Impl::JobType(this) { Ok(ok__) => { - core::ptr::write(pjobtype, core::mem::transmute(ok__)); + pjobtype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3330,7 +3330,7 @@ impl IFaxIncomingJobs_Vtbl { let this = (*this).get_impl(); match IFaxIncomingJobs_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(ppunk, core::mem::transmute(ok__)); + ppunk.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3341,7 +3341,7 @@ impl IFaxIncomingJobs_Vtbl { let this = (*this).get_impl(); match IFaxIncomingJobs_Impl::get_Item(this, core::mem::transmute(&vindex)) { Ok(ok__) => { - core::ptr::write(pfaxincomingjob, core::mem::transmute(ok__)); + pfaxincomingjob.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3352,7 +3352,7 @@ impl IFaxIncomingJobs_Vtbl { let this = (*this).get_impl(); match IFaxIncomingJobs_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(plcount, core::mem::transmute(ok__)); + plcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3395,7 +3395,7 @@ impl IFaxIncomingMessage_Vtbl { let this = (*this).get_impl(); match IFaxIncomingMessage_Impl::Id(this) { Ok(ok__) => { - core::ptr::write(pbstrid, core::mem::transmute(ok__)); + pbstrid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3406,7 +3406,7 @@ impl IFaxIncomingMessage_Vtbl { let this = (*this).get_impl(); match IFaxIncomingMessage_Impl::Pages(this) { Ok(ok__) => { - core::ptr::write(plpages, core::mem::transmute(ok__)); + plpages.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3417,7 +3417,7 @@ impl IFaxIncomingMessage_Vtbl { let this = (*this).get_impl(); match IFaxIncomingMessage_Impl::Size(this) { Ok(ok__) => { - core::ptr::write(plsize, core::mem::transmute(ok__)); + plsize.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3428,7 +3428,7 @@ impl IFaxIncomingMessage_Vtbl { let this = (*this).get_impl(); match IFaxIncomingMessage_Impl::DeviceName(this) { Ok(ok__) => { - core::ptr::write(pbstrdevicename, core::mem::transmute(ok__)); + pbstrdevicename.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3439,7 +3439,7 @@ impl IFaxIncomingMessage_Vtbl { let this = (*this).get_impl(); match IFaxIncomingMessage_Impl::Retries(this) { Ok(ok__) => { - core::ptr::write(plretries, core::mem::transmute(ok__)); + plretries.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3450,7 +3450,7 @@ impl IFaxIncomingMessage_Vtbl { let this = (*this).get_impl(); match IFaxIncomingMessage_Impl::TransmissionStart(this) { Ok(ok__) => { - core::ptr::write(pdatetransmissionstart, core::mem::transmute(ok__)); + pdatetransmissionstart.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3461,7 +3461,7 @@ impl IFaxIncomingMessage_Vtbl { let this = (*this).get_impl(); match IFaxIncomingMessage_Impl::TransmissionEnd(this) { Ok(ok__) => { - core::ptr::write(pdatetransmissionend, core::mem::transmute(ok__)); + pdatetransmissionend.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3472,7 +3472,7 @@ impl IFaxIncomingMessage_Vtbl { let this = (*this).get_impl(); match IFaxIncomingMessage_Impl::CSID(this) { Ok(ok__) => { - core::ptr::write(pbstrcsid, core::mem::transmute(ok__)); + pbstrcsid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3483,7 +3483,7 @@ impl IFaxIncomingMessage_Vtbl { let this = (*this).get_impl(); match IFaxIncomingMessage_Impl::TSID(this) { Ok(ok__) => { - core::ptr::write(pbstrtsid, core::mem::transmute(ok__)); + pbstrtsid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3494,7 +3494,7 @@ impl IFaxIncomingMessage_Vtbl { let this = (*this).get_impl(); match IFaxIncomingMessage_Impl::CallerId(this) { Ok(ok__) => { - core::ptr::write(pbstrcallerid, core::mem::transmute(ok__)); + pbstrcallerid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3505,7 +3505,7 @@ impl IFaxIncomingMessage_Vtbl { let this = (*this).get_impl(); match IFaxIncomingMessage_Impl::RoutingInformation(this) { Ok(ok__) => { - core::ptr::write(pbstrroutinginformation, core::mem::transmute(ok__)); + pbstrroutinginformation.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3571,7 +3571,7 @@ impl IFaxIncomingMessage2_Vtbl { let this = (*this).get_impl(); match IFaxIncomingMessage2_Impl::Subject(this) { Ok(ok__) => { - core::ptr::write(pbstrsubject, core::mem::transmute(ok__)); + pbstrsubject.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3587,7 +3587,7 @@ impl IFaxIncomingMessage2_Vtbl { let this = (*this).get_impl(); match IFaxIncomingMessage2_Impl::SenderName(this) { Ok(ok__) => { - core::ptr::write(pbstrsendername, core::mem::transmute(ok__)); + pbstrsendername.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3603,7 +3603,7 @@ impl IFaxIncomingMessage2_Vtbl { let this = (*this).get_impl(); match IFaxIncomingMessage2_Impl::SenderFaxNumber(this) { Ok(ok__) => { - core::ptr::write(pbstrsenderfaxnumber, core::mem::transmute(ok__)); + pbstrsenderfaxnumber.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3619,7 +3619,7 @@ impl IFaxIncomingMessage2_Vtbl { let this = (*this).get_impl(); match IFaxIncomingMessage2_Impl::HasCoverPage(this) { Ok(ok__) => { - core::ptr::write(pbhascoverpage, core::mem::transmute(ok__)); + pbhascoverpage.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3635,7 +3635,7 @@ impl IFaxIncomingMessage2_Vtbl { let this = (*this).get_impl(); match IFaxIncomingMessage2_Impl::Recipients(this) { Ok(ok__) => { - core::ptr::write(pbstrrecipients, core::mem::transmute(ok__)); + pbstrrecipients.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3651,7 +3651,7 @@ impl IFaxIncomingMessage2_Vtbl { let this = (*this).get_impl(); match IFaxIncomingMessage2_Impl::WasReAssigned(this) { Ok(ok__) => { - core::ptr::write(pbwasreassigned, core::mem::transmute(ok__)); + pbwasreassigned.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3662,7 +3662,7 @@ impl IFaxIncomingMessage2_Vtbl { let this = (*this).get_impl(); match IFaxIncomingMessage2_Impl::Read(this) { Ok(ok__) => { - core::ptr::write(pbread, core::mem::transmute(ok__)); + pbread.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3731,7 +3731,7 @@ impl IFaxIncomingMessageIterator_Vtbl { let this = (*this).get_impl(); match IFaxIncomingMessageIterator_Impl::Message(this) { Ok(ok__) => { - core::ptr::write(pfaxincomingmessage, core::mem::transmute(ok__)); + pfaxincomingmessage.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3742,7 +3742,7 @@ impl IFaxIncomingMessageIterator_Vtbl { let this = (*this).get_impl(); match IFaxIncomingMessageIterator_Impl::PrefetchSize(this) { Ok(ok__) => { - core::ptr::write(plprefetchsize, core::mem::transmute(ok__)); + plprefetchsize.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3758,7 +3758,7 @@ impl IFaxIncomingMessageIterator_Vtbl { let this = (*this).get_impl(); match IFaxIncomingMessageIterator_Impl::AtEOF(this) { Ok(ok__) => { - core::ptr::write(pbeof, core::mem::transmute(ok__)); + pbeof.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3807,7 +3807,7 @@ impl IFaxIncomingQueue_Vtbl { let this = (*this).get_impl(); match IFaxIncomingQueue_Impl::Blocked(this) { Ok(ok__) => { - core::ptr::write(pbblocked, core::mem::transmute(ok__)); + pbblocked.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3833,7 +3833,7 @@ impl IFaxIncomingQueue_Vtbl { let this = (*this).get_impl(); match IFaxIncomingQueue_Impl::GetJobs(this) { Ok(ok__) => { - core::ptr::write(pfaxincomingjobs, core::mem::transmute(ok__)); + pfaxincomingjobs.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3844,7 +3844,7 @@ impl IFaxIncomingQueue_Vtbl { let this = (*this).get_impl(); match IFaxIncomingQueue_Impl::GetJob(this, core::mem::transmute(&bstrjobid)) { Ok(ok__) => { - core::ptr::write(pfaxincomingjob, core::mem::transmute(ok__)); + pfaxincomingjob.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3894,7 +3894,7 @@ impl IFaxJobStatus_Vtbl { let this = (*this).get_impl(); match IFaxJobStatus_Impl::Status(this) { Ok(ok__) => { - core::ptr::write(pstatus, core::mem::transmute(ok__)); + pstatus.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3905,7 +3905,7 @@ impl IFaxJobStatus_Vtbl { let this = (*this).get_impl(); match IFaxJobStatus_Impl::Pages(this) { Ok(ok__) => { - core::ptr::write(plpages, core::mem::transmute(ok__)); + plpages.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3916,7 +3916,7 @@ impl IFaxJobStatus_Vtbl { let this = (*this).get_impl(); match IFaxJobStatus_Impl::Size(this) { Ok(ok__) => { - core::ptr::write(plsize, core::mem::transmute(ok__)); + plsize.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3927,7 +3927,7 @@ impl IFaxJobStatus_Vtbl { let this = (*this).get_impl(); match IFaxJobStatus_Impl::CurrentPage(this) { Ok(ok__) => { - core::ptr::write(plcurrentpage, core::mem::transmute(ok__)); + plcurrentpage.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3938,7 +3938,7 @@ impl IFaxJobStatus_Vtbl { let this = (*this).get_impl(); match IFaxJobStatus_Impl::DeviceId(this) { Ok(ok__) => { - core::ptr::write(pldeviceid, core::mem::transmute(ok__)); + pldeviceid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3949,7 +3949,7 @@ impl IFaxJobStatus_Vtbl { let this = (*this).get_impl(); match IFaxJobStatus_Impl::CSID(this) { Ok(ok__) => { - core::ptr::write(pbstrcsid, core::mem::transmute(ok__)); + pbstrcsid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3960,7 +3960,7 @@ impl IFaxJobStatus_Vtbl { let this = (*this).get_impl(); match IFaxJobStatus_Impl::TSID(this) { Ok(ok__) => { - core::ptr::write(pbstrtsid, core::mem::transmute(ok__)); + pbstrtsid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3971,7 +3971,7 @@ impl IFaxJobStatus_Vtbl { let this = (*this).get_impl(); match IFaxJobStatus_Impl::ExtendedStatusCode(this) { Ok(ok__) => { - core::ptr::write(pextendedstatuscode, core::mem::transmute(ok__)); + pextendedstatuscode.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3982,7 +3982,7 @@ impl IFaxJobStatus_Vtbl { let this = (*this).get_impl(); match IFaxJobStatus_Impl::ExtendedStatus(this) { Ok(ok__) => { - core::ptr::write(pbstrextendedstatus, core::mem::transmute(ok__)); + pbstrextendedstatus.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3993,7 +3993,7 @@ impl IFaxJobStatus_Vtbl { let this = (*this).get_impl(); match IFaxJobStatus_Impl::AvailableOperations(this) { Ok(ok__) => { - core::ptr::write(pavailableoperations, core::mem::transmute(ok__)); + pavailableoperations.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4004,7 +4004,7 @@ impl IFaxJobStatus_Vtbl { let this = (*this).get_impl(); match IFaxJobStatus_Impl::Retries(this) { Ok(ok__) => { - core::ptr::write(plretries, core::mem::transmute(ok__)); + plretries.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4015,7 +4015,7 @@ impl IFaxJobStatus_Vtbl { let this = (*this).get_impl(); match IFaxJobStatus_Impl::JobType(this) { Ok(ok__) => { - core::ptr::write(pjobtype, core::mem::transmute(ok__)); + pjobtype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4026,7 +4026,7 @@ impl IFaxJobStatus_Vtbl { let this = (*this).get_impl(); match IFaxJobStatus_Impl::ScheduledTime(this) { Ok(ok__) => { - core::ptr::write(pdatescheduledtime, core::mem::transmute(ok__)); + pdatescheduledtime.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4037,7 +4037,7 @@ impl IFaxJobStatus_Vtbl { let this = (*this).get_impl(); match IFaxJobStatus_Impl::TransmissionStart(this) { Ok(ok__) => { - core::ptr::write(pdatetransmissionstart, core::mem::transmute(ok__)); + pdatetransmissionstart.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4048,7 +4048,7 @@ impl IFaxJobStatus_Vtbl { let this = (*this).get_impl(); match IFaxJobStatus_Impl::TransmissionEnd(this) { Ok(ok__) => { - core::ptr::write(pdatetransmissionend, core::mem::transmute(ok__)); + pdatetransmissionend.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4059,7 +4059,7 @@ impl IFaxJobStatus_Vtbl { let this = (*this).get_impl(); match IFaxJobStatus_Impl::CallerId(this) { Ok(ok__) => { - core::ptr::write(pbstrcallerid, core::mem::transmute(ok__)); + pbstrcallerid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4070,7 +4070,7 @@ impl IFaxJobStatus_Vtbl { let this = (*this).get_impl(); match IFaxJobStatus_Impl::RoutingInformation(this) { Ok(ok__) => { - core::ptr::write(pbstrroutinginformation, core::mem::transmute(ok__)); + pbstrroutinginformation.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4116,7 +4116,7 @@ impl IFaxLoggingOptions_Vtbl { let this = (*this).get_impl(); match IFaxLoggingOptions_Impl::EventLogging(this) { Ok(ok__) => { - core::ptr::write(pfaxeventlogging, core::mem::transmute(ok__)); + pfaxeventlogging.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4127,7 +4127,7 @@ impl IFaxLoggingOptions_Vtbl { let this = (*this).get_impl(); match IFaxLoggingOptions_Impl::ActivityLogging(this) { Ok(ok__) => { - core::ptr::write(pfaxactivitylogging, core::mem::transmute(ok__)); + pfaxactivitylogging.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4158,7 +4158,7 @@ impl IFaxOutboundRouting_Vtbl { let this = (*this).get_impl(); match IFaxOutboundRouting_Impl::GetGroups(this) { Ok(ok__) => { - core::ptr::write(pfaxoutboundroutinggroups, core::mem::transmute(ok__)); + pfaxoutboundroutinggroups.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4169,7 +4169,7 @@ impl IFaxOutboundRouting_Vtbl { let this = (*this).get_impl(); match IFaxOutboundRouting_Impl::GetRules(this) { Ok(ok__) => { - core::ptr::write(pfaxoutboundroutingrules, core::mem::transmute(ok__)); + pfaxoutboundroutingrules.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4201,7 +4201,7 @@ impl IFaxOutboundRoutingGroup_Vtbl { let this = (*this).get_impl(); match IFaxOutboundRoutingGroup_Impl::Name(this) { Ok(ok__) => { - core::ptr::write(pbstrname, core::mem::transmute(ok__)); + pbstrname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4212,7 +4212,7 @@ impl IFaxOutboundRoutingGroup_Vtbl { let this = (*this).get_impl(); match IFaxOutboundRoutingGroup_Impl::Status(this) { Ok(ok__) => { - core::ptr::write(pstatus, core::mem::transmute(ok__)); + pstatus.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4223,7 +4223,7 @@ impl IFaxOutboundRoutingGroup_Vtbl { let this = (*this).get_impl(); match IFaxOutboundRoutingGroup_Impl::DeviceIds(this) { Ok(ok__) => { - core::ptr::write(pfaxdeviceids, core::mem::transmute(ok__)); + pfaxdeviceids.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4258,7 +4258,7 @@ impl IFaxOutboundRoutingGroups_Vtbl { let this = (*this).get_impl(); match IFaxOutboundRoutingGroups_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(ppunk, core::mem::transmute(ok__)); + ppunk.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4269,7 +4269,7 @@ impl IFaxOutboundRoutingGroups_Vtbl { let this = (*this).get_impl(); match IFaxOutboundRoutingGroups_Impl::get_Item(this, core::mem::transmute(&vindex)) { Ok(ok__) => { - core::ptr::write(pfaxoutboundroutinggroup, core::mem::transmute(ok__)); + pfaxoutboundroutinggroup.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4280,7 +4280,7 @@ impl IFaxOutboundRoutingGroups_Vtbl { let this = (*this).get_impl(); match IFaxOutboundRoutingGroups_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(plcount, core::mem::transmute(ok__)); + plcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4291,7 +4291,7 @@ impl IFaxOutboundRoutingGroups_Vtbl { let this = (*this).get_impl(); match IFaxOutboundRoutingGroups_Impl::Add(this, core::mem::transmute(&bstrname)) { Ok(ok__) => { - core::ptr::write(pfaxoutboundroutinggroup, core::mem::transmute(ok__)); + pfaxoutboundroutinggroup.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4339,7 +4339,7 @@ impl IFaxOutboundRoutingRule_Vtbl { let this = (*this).get_impl(); match IFaxOutboundRoutingRule_Impl::CountryCode(this) { Ok(ok__) => { - core::ptr::write(plcountrycode, core::mem::transmute(ok__)); + plcountrycode.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4350,7 +4350,7 @@ impl IFaxOutboundRoutingRule_Vtbl { let this = (*this).get_impl(); match IFaxOutboundRoutingRule_Impl::AreaCode(this) { Ok(ok__) => { - core::ptr::write(plareacode, core::mem::transmute(ok__)); + plareacode.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4361,7 +4361,7 @@ impl IFaxOutboundRoutingRule_Vtbl { let this = (*this).get_impl(); match IFaxOutboundRoutingRule_Impl::Status(this) { Ok(ok__) => { - core::ptr::write(pstatus, core::mem::transmute(ok__)); + pstatus.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4372,7 +4372,7 @@ impl IFaxOutboundRoutingRule_Vtbl { let this = (*this).get_impl(); match IFaxOutboundRoutingRule_Impl::UseDevice(this) { Ok(ok__) => { - core::ptr::write(pbusedevice, core::mem::transmute(ok__)); + pbusedevice.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4388,7 +4388,7 @@ impl IFaxOutboundRoutingRule_Vtbl { let this = (*this).get_impl(); match IFaxOutboundRoutingRule_Impl::DeviceId(this) { Ok(ok__) => { - core::ptr::write(pldeviceid, core::mem::transmute(ok__)); + pldeviceid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4404,7 +4404,7 @@ impl IFaxOutboundRoutingRule_Vtbl { let this = (*this).get_impl(); match IFaxOutboundRoutingRule_Impl::GroupName(this) { Ok(ok__) => { - core::ptr::write(pbstrgroupname, core::mem::transmute(ok__)); + pbstrgroupname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4464,7 +4464,7 @@ impl IFaxOutboundRoutingRules_Vtbl { let this = (*this).get_impl(); match IFaxOutboundRoutingRules_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(ppunk, core::mem::transmute(ok__)); + ppunk.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4475,7 +4475,7 @@ impl IFaxOutboundRoutingRules_Vtbl { let this = (*this).get_impl(); match IFaxOutboundRoutingRules_Impl::get_Item(this, core::mem::transmute_copy(&lindex)) { Ok(ok__) => { - core::ptr::write(pfaxoutboundroutingrule, core::mem::transmute(ok__)); + pfaxoutboundroutingrule.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4486,7 +4486,7 @@ impl IFaxOutboundRoutingRules_Vtbl { let this = (*this).get_impl(); match IFaxOutboundRoutingRules_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(plcount, core::mem::transmute(ok__)); + plcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4497,7 +4497,7 @@ impl IFaxOutboundRoutingRules_Vtbl { let this = (*this).get_impl(); match IFaxOutboundRoutingRules_Impl::ItemByCountryAndArea(this, core::mem::transmute_copy(&lcountrycode), core::mem::transmute_copy(&lareacode)) { Ok(ok__) => { - core::ptr::write(pfaxoutboundroutingrule, core::mem::transmute(ok__)); + pfaxoutboundroutingrule.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4518,7 +4518,7 @@ impl IFaxOutboundRoutingRules_Vtbl { let this = (*this).get_impl(); match IFaxOutboundRoutingRules_Impl::Add(this, core::mem::transmute_copy(&lcountrycode), core::mem::transmute_copy(&lareacode), core::mem::transmute_copy(&busedevice), core::mem::transmute(&bstrgroupname), core::mem::transmute_copy(&ldeviceid)) { Ok(ok__) => { - core::ptr::write(pfaxoutboundroutingrule, core::mem::transmute(ok__)); + pfaxoutboundroutingrule.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4570,7 +4570,7 @@ impl IFaxOutgoingArchive_Vtbl { let this = (*this).get_impl(); match IFaxOutgoingArchive_Impl::UseArchive(this) { Ok(ok__) => { - core::ptr::write(pbusearchive, core::mem::transmute(ok__)); + pbusearchive.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4586,7 +4586,7 @@ impl IFaxOutgoingArchive_Vtbl { let this = (*this).get_impl(); match IFaxOutgoingArchive_Impl::ArchiveFolder(this) { Ok(ok__) => { - core::ptr::write(pbstrarchivefolder, core::mem::transmute(ok__)); + pbstrarchivefolder.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4602,7 +4602,7 @@ impl IFaxOutgoingArchive_Vtbl { let this = (*this).get_impl(); match IFaxOutgoingArchive_Impl::SizeQuotaWarning(this) { Ok(ok__) => { - core::ptr::write(pbsizequotawarning, core::mem::transmute(ok__)); + pbsizequotawarning.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4618,7 +4618,7 @@ impl IFaxOutgoingArchive_Vtbl { let this = (*this).get_impl(); match IFaxOutgoingArchive_Impl::HighQuotaWaterMark(this) { Ok(ok__) => { - core::ptr::write(plhighquotawatermark, core::mem::transmute(ok__)); + plhighquotawatermark.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4634,7 +4634,7 @@ impl IFaxOutgoingArchive_Vtbl { let this = (*this).get_impl(); match IFaxOutgoingArchive_Impl::LowQuotaWaterMark(this) { Ok(ok__) => { - core::ptr::write(pllowquotawatermark, core::mem::transmute(ok__)); + pllowquotawatermark.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4650,7 +4650,7 @@ impl IFaxOutgoingArchive_Vtbl { let this = (*this).get_impl(); match IFaxOutgoingArchive_Impl::AgeLimit(this) { Ok(ok__) => { - core::ptr::write(plagelimit, core::mem::transmute(ok__)); + plagelimit.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4666,7 +4666,7 @@ impl IFaxOutgoingArchive_Vtbl { let this = (*this).get_impl(); match IFaxOutgoingArchive_Impl::SizeLow(this) { Ok(ok__) => { - core::ptr::write(plsizelow, core::mem::transmute(ok__)); + plsizelow.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4677,7 +4677,7 @@ impl IFaxOutgoingArchive_Vtbl { let this = (*this).get_impl(); match IFaxOutgoingArchive_Impl::SizeHigh(this) { Ok(ok__) => { - core::ptr::write(plsizehigh, core::mem::transmute(ok__)); + plsizehigh.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4698,7 +4698,7 @@ impl IFaxOutgoingArchive_Vtbl { let this = (*this).get_impl(); match IFaxOutgoingArchive_Impl::GetMessages(this, core::mem::transmute_copy(&lprefetchsize)) { Ok(ok__) => { - core::ptr::write(pfaxoutgoingmessageiterator, core::mem::transmute(ok__)); + pfaxoutgoingmessageiterator.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4709,7 +4709,7 @@ impl IFaxOutgoingArchive_Vtbl { let this = (*this).get_impl(); match IFaxOutgoingArchive_Impl::GetMessage(this, core::mem::transmute(&bstrmessageid)) { Ok(ok__) => { - core::ptr::write(pfaxoutgoingmessage, core::mem::transmute(ok__)); + pfaxoutgoingmessage.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4785,7 +4785,7 @@ impl IFaxOutgoingJob_Vtbl { let this = (*this).get_impl(); match IFaxOutgoingJob_Impl::Subject(this) { Ok(ok__) => { - core::ptr::write(pbstrsubject, core::mem::transmute(ok__)); + pbstrsubject.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4796,7 +4796,7 @@ impl IFaxOutgoingJob_Vtbl { let this = (*this).get_impl(); match IFaxOutgoingJob_Impl::DocumentName(this) { Ok(ok__) => { - core::ptr::write(pbstrdocumentname, core::mem::transmute(ok__)); + pbstrdocumentname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4807,7 +4807,7 @@ impl IFaxOutgoingJob_Vtbl { let this = (*this).get_impl(); match IFaxOutgoingJob_Impl::Pages(this) { Ok(ok__) => { - core::ptr::write(plpages, core::mem::transmute(ok__)); + plpages.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4818,7 +4818,7 @@ impl IFaxOutgoingJob_Vtbl { let this = (*this).get_impl(); match IFaxOutgoingJob_Impl::Size(this) { Ok(ok__) => { - core::ptr::write(plsize, core::mem::transmute(ok__)); + plsize.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4829,7 +4829,7 @@ impl IFaxOutgoingJob_Vtbl { let this = (*this).get_impl(); match IFaxOutgoingJob_Impl::SubmissionId(this) { Ok(ok__) => { - core::ptr::write(pbstrsubmissionid, core::mem::transmute(ok__)); + pbstrsubmissionid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4840,7 +4840,7 @@ impl IFaxOutgoingJob_Vtbl { let this = (*this).get_impl(); match IFaxOutgoingJob_Impl::Id(this) { Ok(ok__) => { - core::ptr::write(pbstrid, core::mem::transmute(ok__)); + pbstrid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4851,7 +4851,7 @@ impl IFaxOutgoingJob_Vtbl { let this = (*this).get_impl(); match IFaxOutgoingJob_Impl::OriginalScheduledTime(this) { Ok(ok__) => { - core::ptr::write(pdateoriginalscheduledtime, core::mem::transmute(ok__)); + pdateoriginalscheduledtime.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4862,7 +4862,7 @@ impl IFaxOutgoingJob_Vtbl { let this = (*this).get_impl(); match IFaxOutgoingJob_Impl::SubmissionTime(this) { Ok(ok__) => { - core::ptr::write(pdatesubmissiontime, core::mem::transmute(ok__)); + pdatesubmissiontime.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4873,7 +4873,7 @@ impl IFaxOutgoingJob_Vtbl { let this = (*this).get_impl(); match IFaxOutgoingJob_Impl::ReceiptType(this) { Ok(ok__) => { - core::ptr::write(preceipttype, core::mem::transmute(ok__)); + preceipttype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4884,7 +4884,7 @@ impl IFaxOutgoingJob_Vtbl { let this = (*this).get_impl(); match IFaxOutgoingJob_Impl::Priority(this) { Ok(ok__) => { - core::ptr::write(ppriority, core::mem::transmute(ok__)); + ppriority.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4895,7 +4895,7 @@ impl IFaxOutgoingJob_Vtbl { let this = (*this).get_impl(); match IFaxOutgoingJob_Impl::Sender(this) { Ok(ok__) => { - core::ptr::write(ppfaxsender, core::mem::transmute(ok__)); + ppfaxsender.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4906,7 +4906,7 @@ impl IFaxOutgoingJob_Vtbl { let this = (*this).get_impl(); match IFaxOutgoingJob_Impl::Recipient(this) { Ok(ok__) => { - core::ptr::write(ppfaxrecipient, core::mem::transmute(ok__)); + ppfaxrecipient.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4917,7 +4917,7 @@ impl IFaxOutgoingJob_Vtbl { let this = (*this).get_impl(); match IFaxOutgoingJob_Impl::CurrentPage(this) { Ok(ok__) => { - core::ptr::write(plcurrentpage, core::mem::transmute(ok__)); + plcurrentpage.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4928,7 +4928,7 @@ impl IFaxOutgoingJob_Vtbl { let this = (*this).get_impl(); match IFaxOutgoingJob_Impl::DeviceId(this) { Ok(ok__) => { - core::ptr::write(pldeviceid, core::mem::transmute(ok__)); + pldeviceid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4939,7 +4939,7 @@ impl IFaxOutgoingJob_Vtbl { let this = (*this).get_impl(); match IFaxOutgoingJob_Impl::Status(this) { Ok(ok__) => { - core::ptr::write(pstatus, core::mem::transmute(ok__)); + pstatus.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4950,7 +4950,7 @@ impl IFaxOutgoingJob_Vtbl { let this = (*this).get_impl(); match IFaxOutgoingJob_Impl::ExtendedStatusCode(this) { Ok(ok__) => { - core::ptr::write(pextendedstatuscode, core::mem::transmute(ok__)); + pextendedstatuscode.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4961,7 +4961,7 @@ impl IFaxOutgoingJob_Vtbl { let this = (*this).get_impl(); match IFaxOutgoingJob_Impl::ExtendedStatus(this) { Ok(ok__) => { - core::ptr::write(pbstrextendedstatus, core::mem::transmute(ok__)); + pbstrextendedstatus.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4972,7 +4972,7 @@ impl IFaxOutgoingJob_Vtbl { let this = (*this).get_impl(); match IFaxOutgoingJob_Impl::AvailableOperations(this) { Ok(ok__) => { - core::ptr::write(pavailableoperations, core::mem::transmute(ok__)); + pavailableoperations.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4983,7 +4983,7 @@ impl IFaxOutgoingJob_Vtbl { let this = (*this).get_impl(); match IFaxOutgoingJob_Impl::Retries(this) { Ok(ok__) => { - core::ptr::write(plretries, core::mem::transmute(ok__)); + plretries.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4994,7 +4994,7 @@ impl IFaxOutgoingJob_Vtbl { let this = (*this).get_impl(); match IFaxOutgoingJob_Impl::ScheduledTime(this) { Ok(ok__) => { - core::ptr::write(pdatescheduledtime, core::mem::transmute(ok__)); + pdatescheduledtime.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5005,7 +5005,7 @@ impl IFaxOutgoingJob_Vtbl { let this = (*this).get_impl(); match IFaxOutgoingJob_Impl::TransmissionStart(this) { Ok(ok__) => { - core::ptr::write(pdatetransmissionstart, core::mem::transmute(ok__)); + pdatetransmissionstart.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5016,7 +5016,7 @@ impl IFaxOutgoingJob_Vtbl { let this = (*this).get_impl(); match IFaxOutgoingJob_Impl::TransmissionEnd(this) { Ok(ok__) => { - core::ptr::write(pdatetransmissionend, core::mem::transmute(ok__)); + pdatetransmissionend.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5027,7 +5027,7 @@ impl IFaxOutgoingJob_Vtbl { let this = (*this).get_impl(); match IFaxOutgoingJob_Impl::CSID(this) { Ok(ok__) => { - core::ptr::write(pbstrcsid, core::mem::transmute(ok__)); + pbstrcsid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5038,7 +5038,7 @@ impl IFaxOutgoingJob_Vtbl { let this = (*this).get_impl(); match IFaxOutgoingJob_Impl::TSID(this) { Ok(ok__) => { - core::ptr::write(pbstrtsid, core::mem::transmute(ok__)); + pbstrtsid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5049,7 +5049,7 @@ impl IFaxOutgoingJob_Vtbl { let this = (*this).get_impl(); match IFaxOutgoingJob_Impl::GroupBroadcastReceipts(this) { Ok(ok__) => { - core::ptr::write(pbgroupbroadcastreceipts, core::mem::transmute(ok__)); + pbgroupbroadcastreceipts.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5140,7 +5140,7 @@ impl IFaxOutgoingJob2_Vtbl { let this = (*this).get_impl(); match IFaxOutgoingJob2_Impl::HasCoverPage(this) { Ok(ok__) => { - core::ptr::write(pbhascoverpage, core::mem::transmute(ok__)); + pbhascoverpage.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5151,7 +5151,7 @@ impl IFaxOutgoingJob2_Vtbl { let this = (*this).get_impl(); match IFaxOutgoingJob2_Impl::ReceiptAddress(this) { Ok(ok__) => { - core::ptr::write(pbstrreceiptaddress, core::mem::transmute(ok__)); + pbstrreceiptaddress.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5162,7 +5162,7 @@ impl IFaxOutgoingJob2_Vtbl { let this = (*this).get_impl(); match IFaxOutgoingJob2_Impl::ScheduleType(this) { Ok(ok__) => { - core::ptr::write(pscheduletype, core::mem::transmute(ok__)); + pscheduletype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5195,7 +5195,7 @@ impl IFaxOutgoingJobs_Vtbl { let this = (*this).get_impl(); match IFaxOutgoingJobs_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(ppunk, core::mem::transmute(ok__)); + ppunk.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5206,7 +5206,7 @@ impl IFaxOutgoingJobs_Vtbl { let this = (*this).get_impl(); match IFaxOutgoingJobs_Impl::get_Item(this, core::mem::transmute(&vindex)) { Ok(ok__) => { - core::ptr::write(pfaxoutgoingjob, core::mem::transmute(ok__)); + pfaxoutgoingjob.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5217,7 +5217,7 @@ impl IFaxOutgoingJobs_Vtbl { let this = (*this).get_impl(); match IFaxOutgoingJobs_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(plcount, core::mem::transmute(ok__)); + plcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5266,7 +5266,7 @@ impl IFaxOutgoingMessage_Vtbl { let this = (*this).get_impl(); match IFaxOutgoingMessage_Impl::SubmissionId(this) { Ok(ok__) => { - core::ptr::write(pbstrsubmissionid, core::mem::transmute(ok__)); + pbstrsubmissionid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5277,7 +5277,7 @@ impl IFaxOutgoingMessage_Vtbl { let this = (*this).get_impl(); match IFaxOutgoingMessage_Impl::Id(this) { Ok(ok__) => { - core::ptr::write(pbstrid, core::mem::transmute(ok__)); + pbstrid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5288,7 +5288,7 @@ impl IFaxOutgoingMessage_Vtbl { let this = (*this).get_impl(); match IFaxOutgoingMessage_Impl::Subject(this) { Ok(ok__) => { - core::ptr::write(pbstrsubject, core::mem::transmute(ok__)); + pbstrsubject.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5299,7 +5299,7 @@ impl IFaxOutgoingMessage_Vtbl { let this = (*this).get_impl(); match IFaxOutgoingMessage_Impl::DocumentName(this) { Ok(ok__) => { - core::ptr::write(pbstrdocumentname, core::mem::transmute(ok__)); + pbstrdocumentname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5310,7 +5310,7 @@ impl IFaxOutgoingMessage_Vtbl { let this = (*this).get_impl(); match IFaxOutgoingMessage_Impl::Retries(this) { Ok(ok__) => { - core::ptr::write(plretries, core::mem::transmute(ok__)); + plretries.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5321,7 +5321,7 @@ impl IFaxOutgoingMessage_Vtbl { let this = (*this).get_impl(); match IFaxOutgoingMessage_Impl::Pages(this) { Ok(ok__) => { - core::ptr::write(plpages, core::mem::transmute(ok__)); + plpages.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5332,7 +5332,7 @@ impl IFaxOutgoingMessage_Vtbl { let this = (*this).get_impl(); match IFaxOutgoingMessage_Impl::Size(this) { Ok(ok__) => { - core::ptr::write(plsize, core::mem::transmute(ok__)); + plsize.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5343,7 +5343,7 @@ impl IFaxOutgoingMessage_Vtbl { let this = (*this).get_impl(); match IFaxOutgoingMessage_Impl::OriginalScheduledTime(this) { Ok(ok__) => { - core::ptr::write(pdateoriginalscheduledtime, core::mem::transmute(ok__)); + pdateoriginalscheduledtime.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5354,7 +5354,7 @@ impl IFaxOutgoingMessage_Vtbl { let this = (*this).get_impl(); match IFaxOutgoingMessage_Impl::SubmissionTime(this) { Ok(ok__) => { - core::ptr::write(pdatesubmissiontime, core::mem::transmute(ok__)); + pdatesubmissiontime.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5365,7 +5365,7 @@ impl IFaxOutgoingMessage_Vtbl { let this = (*this).get_impl(); match IFaxOutgoingMessage_Impl::Priority(this) { Ok(ok__) => { - core::ptr::write(ppriority, core::mem::transmute(ok__)); + ppriority.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5376,7 +5376,7 @@ impl IFaxOutgoingMessage_Vtbl { let this = (*this).get_impl(); match IFaxOutgoingMessage_Impl::Sender(this) { Ok(ok__) => { - core::ptr::write(ppfaxsender, core::mem::transmute(ok__)); + ppfaxsender.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5387,7 +5387,7 @@ impl IFaxOutgoingMessage_Vtbl { let this = (*this).get_impl(); match IFaxOutgoingMessage_Impl::Recipient(this) { Ok(ok__) => { - core::ptr::write(ppfaxrecipient, core::mem::transmute(ok__)); + ppfaxrecipient.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5398,7 +5398,7 @@ impl IFaxOutgoingMessage_Vtbl { let this = (*this).get_impl(); match IFaxOutgoingMessage_Impl::DeviceName(this) { Ok(ok__) => { - core::ptr::write(pbstrdevicename, core::mem::transmute(ok__)); + pbstrdevicename.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5409,7 +5409,7 @@ impl IFaxOutgoingMessage_Vtbl { let this = (*this).get_impl(); match IFaxOutgoingMessage_Impl::TransmissionStart(this) { Ok(ok__) => { - core::ptr::write(pdatetransmissionstart, core::mem::transmute(ok__)); + pdatetransmissionstart.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5420,7 +5420,7 @@ impl IFaxOutgoingMessage_Vtbl { let this = (*this).get_impl(); match IFaxOutgoingMessage_Impl::TransmissionEnd(this) { Ok(ok__) => { - core::ptr::write(pdatetransmissionend, core::mem::transmute(ok__)); + pdatetransmissionend.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5431,7 +5431,7 @@ impl IFaxOutgoingMessage_Vtbl { let this = (*this).get_impl(); match IFaxOutgoingMessage_Impl::CSID(this) { Ok(ok__) => { - core::ptr::write(pbstrcsid, core::mem::transmute(ok__)); + pbstrcsid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5442,7 +5442,7 @@ impl IFaxOutgoingMessage_Vtbl { let this = (*this).get_impl(); match IFaxOutgoingMessage_Impl::TSID(this) { Ok(ok__) => { - core::ptr::write(pbstrtsid, core::mem::transmute(ok__)); + pbstrtsid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5505,7 +5505,7 @@ impl IFaxOutgoingMessage2_Vtbl { let this = (*this).get_impl(); match IFaxOutgoingMessage2_Impl::HasCoverPage(this) { Ok(ok__) => { - core::ptr::write(pbhascoverpage, core::mem::transmute(ok__)); + pbhascoverpage.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5516,7 +5516,7 @@ impl IFaxOutgoingMessage2_Vtbl { let this = (*this).get_impl(); match IFaxOutgoingMessage2_Impl::ReceiptType(this) { Ok(ok__) => { - core::ptr::write(preceipttype, core::mem::transmute(ok__)); + preceipttype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5527,7 +5527,7 @@ impl IFaxOutgoingMessage2_Vtbl { let this = (*this).get_impl(); match IFaxOutgoingMessage2_Impl::ReceiptAddress(this) { Ok(ok__) => { - core::ptr::write(pbstrreceiptaddress, core::mem::transmute(ok__)); + pbstrreceiptaddress.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5538,7 +5538,7 @@ impl IFaxOutgoingMessage2_Vtbl { let this = (*this).get_impl(); match IFaxOutgoingMessage2_Impl::Read(this) { Ok(ok__) => { - core::ptr::write(pbread, core::mem::transmute(ok__)); + pbread.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5593,7 +5593,7 @@ impl IFaxOutgoingMessageIterator_Vtbl { let this = (*this).get_impl(); match IFaxOutgoingMessageIterator_Impl::Message(this) { Ok(ok__) => { - core::ptr::write(pfaxoutgoingmessage, core::mem::transmute(ok__)); + pfaxoutgoingmessage.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5604,7 +5604,7 @@ impl IFaxOutgoingMessageIterator_Vtbl { let this = (*this).get_impl(); match IFaxOutgoingMessageIterator_Impl::AtEOF(this) { Ok(ok__) => { - core::ptr::write(pbeof, core::mem::transmute(ok__)); + pbeof.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5615,7 +5615,7 @@ impl IFaxOutgoingMessageIterator_Vtbl { let this = (*this).get_impl(); match IFaxOutgoingMessageIterator_Impl::PrefetchSize(this) { Ok(ok__) => { - core::ptr::write(plprefetchsize, core::mem::transmute(ok__)); + plprefetchsize.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5687,7 +5687,7 @@ impl IFaxOutgoingQueue_Vtbl { let this = (*this).get_impl(); match IFaxOutgoingQueue_Impl::Blocked(this) { Ok(ok__) => { - core::ptr::write(pbblocked, core::mem::transmute(ok__)); + pbblocked.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5703,7 +5703,7 @@ impl IFaxOutgoingQueue_Vtbl { let this = (*this).get_impl(); match IFaxOutgoingQueue_Impl::Paused(this) { Ok(ok__) => { - core::ptr::write(pbpaused, core::mem::transmute(ok__)); + pbpaused.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5719,7 +5719,7 @@ impl IFaxOutgoingQueue_Vtbl { let this = (*this).get_impl(); match IFaxOutgoingQueue_Impl::AllowPersonalCoverPages(this) { Ok(ok__) => { - core::ptr::write(pballowpersonalcoverpages, core::mem::transmute(ok__)); + pballowpersonalcoverpages.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5735,7 +5735,7 @@ impl IFaxOutgoingQueue_Vtbl { let this = (*this).get_impl(); match IFaxOutgoingQueue_Impl::UseDeviceTSID(this) { Ok(ok__) => { - core::ptr::write(pbusedevicetsid, core::mem::transmute(ok__)); + pbusedevicetsid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5751,7 +5751,7 @@ impl IFaxOutgoingQueue_Vtbl { let this = (*this).get_impl(); match IFaxOutgoingQueue_Impl::Retries(this) { Ok(ok__) => { - core::ptr::write(plretries, core::mem::transmute(ok__)); + plretries.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5767,7 +5767,7 @@ impl IFaxOutgoingQueue_Vtbl { let this = (*this).get_impl(); match IFaxOutgoingQueue_Impl::RetryDelay(this) { Ok(ok__) => { - core::ptr::write(plretrydelay, core::mem::transmute(ok__)); + plretrydelay.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5783,7 +5783,7 @@ impl IFaxOutgoingQueue_Vtbl { let this = (*this).get_impl(); match IFaxOutgoingQueue_Impl::DiscountRateStart(this) { Ok(ok__) => { - core::ptr::write(pdatediscountratestart, core::mem::transmute(ok__)); + pdatediscountratestart.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5799,7 +5799,7 @@ impl IFaxOutgoingQueue_Vtbl { let this = (*this).get_impl(); match IFaxOutgoingQueue_Impl::DiscountRateEnd(this) { Ok(ok__) => { - core::ptr::write(pdatediscountrateend, core::mem::transmute(ok__)); + pdatediscountrateend.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5815,7 +5815,7 @@ impl IFaxOutgoingQueue_Vtbl { let this = (*this).get_impl(); match IFaxOutgoingQueue_Impl::AgeLimit(this) { Ok(ok__) => { - core::ptr::write(plagelimit, core::mem::transmute(ok__)); + plagelimit.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5831,7 +5831,7 @@ impl IFaxOutgoingQueue_Vtbl { let this = (*this).get_impl(); match IFaxOutgoingQueue_Impl::Branding(this) { Ok(ok__) => { - core::ptr::write(pbbranding, core::mem::transmute(ok__)); + pbbranding.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5857,7 +5857,7 @@ impl IFaxOutgoingQueue_Vtbl { let this = (*this).get_impl(); match IFaxOutgoingQueue_Impl::GetJobs(this) { Ok(ok__) => { - core::ptr::write(pfaxoutgoingjobs, core::mem::transmute(ok__)); + pfaxoutgoingjobs.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5868,7 +5868,7 @@ impl IFaxOutgoingQueue_Vtbl { let this = (*this).get_impl(); match IFaxOutgoingQueue_Impl::GetJob(this, core::mem::transmute(&bstrjobid)) { Ok(ok__) => { - core::ptr::write(pfaxoutgoingjob, core::mem::transmute(ok__)); + pfaxoutgoingjob.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5937,7 +5937,7 @@ impl IFaxReceiptOptions_Vtbl { let this = (*this).get_impl(); match IFaxReceiptOptions_Impl::AuthenticationType(this) { Ok(ok__) => { - core::ptr::write(ptype, core::mem::transmute(ok__)); + ptype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5953,7 +5953,7 @@ impl IFaxReceiptOptions_Vtbl { let this = (*this).get_impl(); match IFaxReceiptOptions_Impl::SMTPServer(this) { Ok(ok__) => { - core::ptr::write(pbstrsmtpserver, core::mem::transmute(ok__)); + pbstrsmtpserver.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5969,7 +5969,7 @@ impl IFaxReceiptOptions_Vtbl { let this = (*this).get_impl(); match IFaxReceiptOptions_Impl::SMTPPort(this) { Ok(ok__) => { - core::ptr::write(plsmtpport, core::mem::transmute(ok__)); + plsmtpport.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5985,7 +5985,7 @@ impl IFaxReceiptOptions_Vtbl { let this = (*this).get_impl(); match IFaxReceiptOptions_Impl::SMTPSender(this) { Ok(ok__) => { - core::ptr::write(pbstrsmtpsender, core::mem::transmute(ok__)); + pbstrsmtpsender.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6001,7 +6001,7 @@ impl IFaxReceiptOptions_Vtbl { let this = (*this).get_impl(); match IFaxReceiptOptions_Impl::SMTPUser(this) { Ok(ok__) => { - core::ptr::write(pbstrsmtpuser, core::mem::transmute(ok__)); + pbstrsmtpuser.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6017,7 +6017,7 @@ impl IFaxReceiptOptions_Vtbl { let this = (*this).get_impl(); match IFaxReceiptOptions_Impl::AllowedReceipts(this) { Ok(ok__) => { - core::ptr::write(pallowedreceipts, core::mem::transmute(ok__)); + pallowedreceipts.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6033,7 +6033,7 @@ impl IFaxReceiptOptions_Vtbl { let this = (*this).get_impl(); match IFaxReceiptOptions_Impl::SMTPPassword(this) { Ok(ok__) => { - core::ptr::write(pbstrsmtppassword, core::mem::transmute(ok__)); + pbstrsmtppassword.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6059,7 +6059,7 @@ impl IFaxReceiptOptions_Vtbl { let this = (*this).get_impl(); match IFaxReceiptOptions_Impl::UseForInboundRouting(this) { Ok(ok__) => { - core::ptr::write(pbuseforinboundrouting, core::mem::transmute(ok__)); + pbuseforinboundrouting.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6113,7 +6113,7 @@ impl IFaxRecipient_Vtbl { let this = (*this).get_impl(); match IFaxRecipient_Impl::FaxNumber(this) { Ok(ok__) => { - core::ptr::write(pbstrfaxnumber, core::mem::transmute(ok__)); + pbstrfaxnumber.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6129,7 +6129,7 @@ impl IFaxRecipient_Vtbl { let this = (*this).get_impl(); match IFaxRecipient_Impl::Name(this) { Ok(ok__) => { - core::ptr::write(pbstrname, core::mem::transmute(ok__)); + pbstrname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6170,7 +6170,7 @@ impl IFaxRecipients_Vtbl { let this = (*this).get_impl(); match IFaxRecipients_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(ppunk, core::mem::transmute(ok__)); + ppunk.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6181,7 +6181,7 @@ impl IFaxRecipients_Vtbl { let this = (*this).get_impl(); match IFaxRecipients_Impl::get_Item(this, core::mem::transmute_copy(&lindex)) { Ok(ok__) => { - core::ptr::write(ppfaxrecipient, core::mem::transmute(ok__)); + ppfaxrecipient.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6192,7 +6192,7 @@ impl IFaxRecipients_Vtbl { let this = (*this).get_impl(); match IFaxRecipients_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(plcount, core::mem::transmute(ok__)); + plcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6203,7 +6203,7 @@ impl IFaxRecipients_Vtbl { let this = (*this).get_impl(); match IFaxRecipients_Impl::Add(this, core::mem::transmute(&bstrfaxnumber), core::mem::transmute(&bstrrecipientname)) { Ok(ok__) => { - core::ptr::write(ppfaxrecipient, core::mem::transmute(ok__)); + ppfaxrecipient.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6247,7 +6247,7 @@ impl IFaxSecurity_Vtbl { let this = (*this).get_impl(); match IFaxSecurity_Impl::Descriptor(this) { Ok(ok__) => { - core::ptr::write(pvdescriptor, core::mem::transmute(ok__)); + pvdescriptor.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6263,7 +6263,7 @@ impl IFaxSecurity_Vtbl { let this = (*this).get_impl(); match IFaxSecurity_Impl::GrantedRights(this) { Ok(ok__) => { - core::ptr::write(pgrantedrights, core::mem::transmute(ok__)); + pgrantedrights.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6284,7 +6284,7 @@ impl IFaxSecurity_Vtbl { let this = (*this).get_impl(); match IFaxSecurity_Impl::InformationType(this) { Ok(ok__) => { - core::ptr::write(plinformationtype, core::mem::transmute(ok__)); + plinformationtype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6330,7 +6330,7 @@ impl IFaxSecurity2_Vtbl { let this = (*this).get_impl(); match IFaxSecurity2_Impl::Descriptor(this) { Ok(ok__) => { - core::ptr::write(pvdescriptor, core::mem::transmute(ok__)); + pvdescriptor.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6346,7 +6346,7 @@ impl IFaxSecurity2_Vtbl { let this = (*this).get_impl(); match IFaxSecurity2_Impl::GrantedRights(this) { Ok(ok__) => { - core::ptr::write(pgrantedrights, core::mem::transmute(ok__)); + pgrantedrights.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6367,7 +6367,7 @@ impl IFaxSecurity2_Vtbl { let this = (*this).get_impl(); match IFaxSecurity2_Impl::InformationType(this) { Ok(ok__) => { - core::ptr::write(plinformationtype, core::mem::transmute(ok__)); + plinformationtype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6440,7 +6440,7 @@ impl IFaxSender_Vtbl { let this = (*this).get_impl(); match IFaxSender_Impl::BillingCode(this) { Ok(ok__) => { - core::ptr::write(pbstrbillingcode, core::mem::transmute(ok__)); + pbstrbillingcode.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6456,7 +6456,7 @@ impl IFaxSender_Vtbl { let this = (*this).get_impl(); match IFaxSender_Impl::City(this) { Ok(ok__) => { - core::ptr::write(pbstrcity, core::mem::transmute(ok__)); + pbstrcity.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6472,7 +6472,7 @@ impl IFaxSender_Vtbl { let this = (*this).get_impl(); match IFaxSender_Impl::Company(this) { Ok(ok__) => { - core::ptr::write(pbstrcompany, core::mem::transmute(ok__)); + pbstrcompany.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6488,7 +6488,7 @@ impl IFaxSender_Vtbl { let this = (*this).get_impl(); match IFaxSender_Impl::Country(this) { Ok(ok__) => { - core::ptr::write(pbstrcountry, core::mem::transmute(ok__)); + pbstrcountry.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6504,7 +6504,7 @@ impl IFaxSender_Vtbl { let this = (*this).get_impl(); match IFaxSender_Impl::Department(this) { Ok(ok__) => { - core::ptr::write(pbstrdepartment, core::mem::transmute(ok__)); + pbstrdepartment.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6520,7 +6520,7 @@ impl IFaxSender_Vtbl { let this = (*this).get_impl(); match IFaxSender_Impl::Email(this) { Ok(ok__) => { - core::ptr::write(pbstremail, core::mem::transmute(ok__)); + pbstremail.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6536,7 +6536,7 @@ impl IFaxSender_Vtbl { let this = (*this).get_impl(); match IFaxSender_Impl::FaxNumber(this) { Ok(ok__) => { - core::ptr::write(pbstrfaxnumber, core::mem::transmute(ok__)); + pbstrfaxnumber.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6552,7 +6552,7 @@ impl IFaxSender_Vtbl { let this = (*this).get_impl(); match IFaxSender_Impl::HomePhone(this) { Ok(ok__) => { - core::ptr::write(pbstrhomephone, core::mem::transmute(ok__)); + pbstrhomephone.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6568,7 +6568,7 @@ impl IFaxSender_Vtbl { let this = (*this).get_impl(); match IFaxSender_Impl::Name(this) { Ok(ok__) => { - core::ptr::write(pbstrname, core::mem::transmute(ok__)); + pbstrname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6584,7 +6584,7 @@ impl IFaxSender_Vtbl { let this = (*this).get_impl(); match IFaxSender_Impl::TSID(this) { Ok(ok__) => { - core::ptr::write(pbstrtsid, core::mem::transmute(ok__)); + pbstrtsid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6600,7 +6600,7 @@ impl IFaxSender_Vtbl { let this = (*this).get_impl(); match IFaxSender_Impl::OfficePhone(this) { Ok(ok__) => { - core::ptr::write(pbstrofficephone, core::mem::transmute(ok__)); + pbstrofficephone.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6616,7 +6616,7 @@ impl IFaxSender_Vtbl { let this = (*this).get_impl(); match IFaxSender_Impl::OfficeLocation(this) { Ok(ok__) => { - core::ptr::write(pbstrofficelocation, core::mem::transmute(ok__)); + pbstrofficelocation.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6632,7 +6632,7 @@ impl IFaxSender_Vtbl { let this = (*this).get_impl(); match IFaxSender_Impl::State(this) { Ok(ok__) => { - core::ptr::write(pbstrstate, core::mem::transmute(ok__)); + pbstrstate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6648,7 +6648,7 @@ impl IFaxSender_Vtbl { let this = (*this).get_impl(); match IFaxSender_Impl::StreetAddress(this) { Ok(ok__) => { - core::ptr::write(pbstrstreetaddress, core::mem::transmute(ok__)); + pbstrstreetaddress.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6664,7 +6664,7 @@ impl IFaxSender_Vtbl { let this = (*this).get_impl(); match IFaxSender_Impl::Title(this) { Ok(ok__) => { - core::ptr::write(pbstrtitle, core::mem::transmute(ok__)); + pbstrtitle.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6680,7 +6680,7 @@ impl IFaxSender_Vtbl { let this = (*this).get_impl(); match IFaxSender_Impl::ZipCode(this) { Ok(ok__) => { - core::ptr::write(pbstrzipcode, core::mem::transmute(ok__)); + pbstrzipcode.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6787,7 +6787,7 @@ impl IFaxServer_Vtbl { let this = (*this).get_impl(); match IFaxServer_Impl::ServerName(this) { Ok(ok__) => { - core::ptr::write(pbstrservername, core::mem::transmute(ok__)); + pbstrservername.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6798,7 +6798,7 @@ impl IFaxServer_Vtbl { let this = (*this).get_impl(); match IFaxServer_Impl::GetDeviceProviders(this) { Ok(ok__) => { - core::ptr::write(ppfaxdeviceproviders, core::mem::transmute(ok__)); + ppfaxdeviceproviders.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6809,7 +6809,7 @@ impl IFaxServer_Vtbl { let this = (*this).get_impl(); match IFaxServer_Impl::GetDevices(this) { Ok(ok__) => { - core::ptr::write(ppfaxdevices, core::mem::transmute(ok__)); + ppfaxdevices.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6820,7 +6820,7 @@ impl IFaxServer_Vtbl { let this = (*this).get_impl(); match IFaxServer_Impl::InboundRouting(this) { Ok(ok__) => { - core::ptr::write(ppfaxinboundrouting, core::mem::transmute(ok__)); + ppfaxinboundrouting.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6831,7 +6831,7 @@ impl IFaxServer_Vtbl { let this = (*this).get_impl(); match IFaxServer_Impl::Folders(this) { Ok(ok__) => { - core::ptr::write(pfaxfolders, core::mem::transmute(ok__)); + pfaxfolders.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6842,7 +6842,7 @@ impl IFaxServer_Vtbl { let this = (*this).get_impl(); match IFaxServer_Impl::LoggingOptions(this) { Ok(ok__) => { - core::ptr::write(ppfaxloggingoptions, core::mem::transmute(ok__)); + ppfaxloggingoptions.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6853,7 +6853,7 @@ impl IFaxServer_Vtbl { let this = (*this).get_impl(); match IFaxServer_Impl::MajorVersion(this) { Ok(ok__) => { - core::ptr::write(plmajorversion, core::mem::transmute(ok__)); + plmajorversion.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6864,7 +6864,7 @@ impl IFaxServer_Vtbl { let this = (*this).get_impl(); match IFaxServer_Impl::MinorVersion(this) { Ok(ok__) => { - core::ptr::write(plminorversion, core::mem::transmute(ok__)); + plminorversion.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6875,7 +6875,7 @@ impl IFaxServer_Vtbl { let this = (*this).get_impl(); match IFaxServer_Impl::MajorBuild(this) { Ok(ok__) => { - core::ptr::write(plmajorbuild, core::mem::transmute(ok__)); + plmajorbuild.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6886,7 +6886,7 @@ impl IFaxServer_Vtbl { let this = (*this).get_impl(); match IFaxServer_Impl::MinorBuild(this) { Ok(ok__) => { - core::ptr::write(plminorbuild, core::mem::transmute(ok__)); + plminorbuild.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6897,7 +6897,7 @@ impl IFaxServer_Vtbl { let this = (*this).get_impl(); match IFaxServer_Impl::Debug(this) { Ok(ok__) => { - core::ptr::write(pbdebug, core::mem::transmute(ok__)); + pbdebug.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6908,7 +6908,7 @@ impl IFaxServer_Vtbl { let this = (*this).get_impl(); match IFaxServer_Impl::Activity(this) { Ok(ok__) => { - core::ptr::write(ppfaxactivity, core::mem::transmute(ok__)); + ppfaxactivity.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6919,7 +6919,7 @@ impl IFaxServer_Vtbl { let this = (*this).get_impl(); match IFaxServer_Impl::OutboundRouting(this) { Ok(ok__) => { - core::ptr::write(ppfaxoutboundrouting, core::mem::transmute(ok__)); + ppfaxoutboundrouting.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6930,7 +6930,7 @@ impl IFaxServer_Vtbl { let this = (*this).get_impl(); match IFaxServer_Impl::ReceiptOptions(this) { Ok(ok__) => { - core::ptr::write(ppfaxreceiptoptions, core::mem::transmute(ok__)); + ppfaxreceiptoptions.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6941,7 +6941,7 @@ impl IFaxServer_Vtbl { let this = (*this).get_impl(); match IFaxServer_Impl::Security(this) { Ok(ok__) => { - core::ptr::write(ppfaxsecurity, core::mem::transmute(ok__)); + ppfaxsecurity.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6957,7 +6957,7 @@ impl IFaxServer_Vtbl { let this = (*this).get_impl(); match IFaxServer_Impl::GetExtensionProperty(this, core::mem::transmute(&bstrguid)) { Ok(ok__) => { - core::ptr::write(pvproperty, core::mem::transmute(ok__)); + pvproperty.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6998,7 +6998,7 @@ impl IFaxServer_Vtbl { let this = (*this).get_impl(); match IFaxServer_Impl::RegisteredEvents(this) { Ok(ok__) => { - core::ptr::write(peventtypes, core::mem::transmute(ok__)); + peventtypes.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7009,7 +7009,7 @@ impl IFaxServer_Vtbl { let this = (*this).get_impl(); match IFaxServer_Impl::APIVersion(this) { Ok(ok__) => { - core::ptr::write(papiversion, core::mem::transmute(ok__)); + papiversion.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7066,7 +7066,7 @@ impl IFaxServer2_Vtbl { let this = (*this).get_impl(); match IFaxServer2_Impl::Configuration(this) { Ok(ok__) => { - core::ptr::write(ppfaxconfiguration, core::mem::transmute(ok__)); + ppfaxconfiguration.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7077,7 +7077,7 @@ impl IFaxServer2_Vtbl { let this = (*this).get_impl(); match IFaxServer2_Impl::CurrentAccount(this) { Ok(ok__) => { - core::ptr::write(ppcurrentaccount, core::mem::transmute(ok__)); + ppcurrentaccount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7088,7 +7088,7 @@ impl IFaxServer2_Vtbl { let this = (*this).get_impl(); match IFaxServer2_Impl::FaxAccountSet(this) { Ok(ok__) => { - core::ptr::write(ppfaxaccountset, core::mem::transmute(ok__)); + ppfaxaccountset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7099,7 +7099,7 @@ impl IFaxServer2_Vtbl { let this = (*this).get_impl(); match IFaxServer2_Impl::Security2(this) { Ok(ok__) => { - core::ptr::write(ppfaxsecurity2, core::mem::transmute(ok__)); + ppfaxsecurity2.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7388,7 +7388,7 @@ impl IStiDevice_Vtbl { let this = (*this).get_impl(); match IStiDevice_Impl::GetLastError(this) { Ok(ok__) => { - core::ptr::write(pdwlastdeviceerror, core::mem::transmute(ok__)); + pdwlastdeviceerror.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7596,7 +7596,7 @@ impl IStiUSD_Vtbl { let this = (*this).get_impl(); match IStiUSD_Impl::GetCapabilities(this) { Ok(ok__) => { - core::ptr::write(pdevcaps, core::mem::transmute(ok__)); + pdevcaps.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7627,7 +7627,7 @@ impl IStiUSD_Vtbl { let this = (*this).get_impl(); match IStiUSD_Impl::GetLastError(this) { Ok(ok__) => { - core::ptr::write(pdwlastdeviceerror, core::mem::transmute(ok__)); + pdwlastdeviceerror.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7777,7 +7777,7 @@ impl IStillImageW_Vtbl { let this = (*this).get_impl(); match IStillImageW_Impl::GetHwNotificationState(this, core::mem::transmute(&pwszdevicename)) { Ok(ok__) => { - core::ptr::write(pbcurrentstate, core::mem::transmute(ok__)); + pbcurrentstate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/Win32/Devices/FunctionDiscovery/impl.rs b/crates/libs/windows/src/Windows/Win32/Devices/FunctionDiscovery/impl.rs index 39e648f611..12643a7dfb 100644 --- a/crates/libs/windows/src/Windows/Win32/Devices/FunctionDiscovery/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Devices/FunctionDiscovery/impl.rs @@ -17,7 +17,7 @@ impl IFunctionDiscovery_Vtbl { let this = (*this).get_impl(); match IFunctionDiscovery_Impl::GetInstanceCollection(this, core::mem::transmute(&pszcategory), core::mem::transmute(&pszsubcategory), core::mem::transmute_copy(&fincludeallsubcategories)) { Ok(ok__) => { - core::ptr::write(ppifunctioninstancecollection, core::mem::transmute(ok__)); + ppifunctioninstancecollection.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -28,7 +28,7 @@ impl IFunctionDiscovery_Vtbl { let this = (*this).get_impl(); match IFunctionDiscovery_Impl::GetInstance(this, core::mem::transmute(&pszfunctioninstanceidentity)) { Ok(ok__) => { - core::ptr::write(ppifunctioninstance, core::mem::transmute(ok__)); + ppifunctioninstance.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -39,7 +39,7 @@ impl IFunctionDiscovery_Vtbl { let this = (*this).get_impl(); match IFunctionDiscovery_Impl::CreateInstanceCollectionQuery(this, core::mem::transmute(&pszcategory), core::mem::transmute(&pszsubcategory), core::mem::transmute_copy(&fincludeallsubcategories), windows_core::from_raw_borrowed(&pifunctiondiscoverynotification), core::mem::transmute_copy(&pfdqcquerycontext)) { Ok(ok__) => { - core::ptr::write(ppifunctioninstancecollectionquery, core::mem::transmute(ok__)); + ppifunctioninstancecollectionquery.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -50,7 +50,7 @@ impl IFunctionDiscovery_Vtbl { let this = (*this).get_impl(); match IFunctionDiscovery_Impl::CreateInstanceQuery(this, core::mem::transmute(&pszfunctioninstanceidentity), windows_core::from_raw_borrowed(&pifunctiondiscoverynotification), core::mem::transmute_copy(&pfdqcquerycontext)) { Ok(ok__) => { - core::ptr::write(ppifunctioninstancequery, core::mem::transmute(ok__)); + ppifunctioninstancequery.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -61,7 +61,7 @@ impl IFunctionDiscovery_Vtbl { let this = (*this).get_impl(); match IFunctionDiscovery_Impl::AddInstance(this, core::mem::transmute_copy(&enumsystemvisibility), core::mem::transmute(&pszcategory), core::mem::transmute(&pszsubcategory), core::mem::transmute(&pszcategoryidentity)) { Ok(ok__) => { - core::ptr::write(ppifunctioninstance, core::mem::transmute(ok__)); + ppifunctioninstance.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -144,7 +144,7 @@ impl IFunctionDiscoveryProvider_Vtbl { let this = (*this).get_impl(); match IFunctionDiscoveryProvider_Impl::Initialize(this, windows_core::from_raw_borrowed(&pifunctiondiscoveryproviderfactory), windows_core::from_raw_borrowed(&pifunctiondiscoverynotification), core::mem::transmute_copy(&lciduserdefault)) { Ok(ok__) => { - core::ptr::write(pdwstgaccesscapabilities, core::mem::transmute(ok__)); + pdwstgaccesscapabilities.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -155,7 +155,7 @@ impl IFunctionDiscoveryProvider_Vtbl { let this = (*this).get_impl(); match IFunctionDiscoveryProvider_Impl::Query(this, windows_core::from_raw_borrowed(&pifunctiondiscoveryproviderquery)) { Ok(ok__) => { - core::ptr::write(ppifunctioninstancecollection, core::mem::transmute(ok__)); + ppifunctioninstancecollection.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -176,7 +176,7 @@ impl IFunctionDiscoveryProvider_Vtbl { let this = (*this).get_impl(); match IFunctionDiscoveryProvider_Impl::InstancePropertyStoreOpen(this, windows_core::from_raw_borrowed(&pifunctioninstance), core::mem::transmute_copy(&iproviderinstancecontext), core::mem::transmute_copy(&dwstgaccess)) { Ok(ok__) => { - core::ptr::write(ppipropertystore, core::mem::transmute(ok__)); + ppipropertystore.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -192,7 +192,7 @@ impl IFunctionDiscoveryProvider_Vtbl { let this = (*this).get_impl(); match IFunctionDiscoveryProvider_Impl::InstanceQueryService(this, windows_core::from_raw_borrowed(&pifunctioninstance), core::mem::transmute_copy(&iproviderinstancecontext), core::mem::transmute_copy(&guidservice), core::mem::transmute_copy(&riid)) { Ok(ok__) => { - core::ptr::write(ppiunknown, core::mem::transmute(ok__)); + ppiunknown.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -235,7 +235,7 @@ impl IFunctionDiscoveryProviderFactory_Vtbl { let this = (*this).get_impl(); match IFunctionDiscoveryProviderFactory_Impl::CreatePropertyStore(this) { Ok(ok__) => { - core::ptr::write(ppipropertystore, core::mem::transmute(ok__)); + ppipropertystore.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -246,7 +246,7 @@ impl IFunctionDiscoveryProviderFactory_Vtbl { let this = (*this).get_impl(); match IFunctionDiscoveryProviderFactory_Impl::CreateInstance(this, core::mem::transmute(&pszsubcategory), core::mem::transmute(&pszproviderinstanceidentity), core::mem::transmute_copy(&iproviderinstancecontext), windows_core::from_raw_borrowed(&pipropertystore), windows_core::from_raw_borrowed(&pifunctiondiscoveryprovider)) { Ok(ok__) => { - core::ptr::write(ppifunctioninstance, core::mem::transmute(ok__)); + ppifunctioninstance.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -257,7 +257,7 @@ impl IFunctionDiscoveryProviderFactory_Vtbl { let this = (*this).get_impl(); match IFunctionDiscoveryProviderFactory_Impl::CreateFunctionInstanceCollection(this) { Ok(ok__) => { - core::ptr::write(ppifunctioninstancecollection, core::mem::transmute(ok__)); + ppifunctioninstancecollection.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -298,7 +298,7 @@ impl IFunctionDiscoveryProviderQuery_Vtbl { let this = (*this).get_impl(); match IFunctionDiscoveryProviderQuery_Impl::GetQueryConstraints(this) { Ok(ok__) => { - core::ptr::write(ppiproviderqueryconstraints, core::mem::transmute(ok__)); + ppiproviderqueryconstraints.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -309,7 +309,7 @@ impl IFunctionDiscoveryProviderQuery_Vtbl { let this = (*this).get_impl(); match IFunctionDiscoveryProviderQuery_Impl::GetPropertyConstraints(this) { Ok(ok__) => { - core::ptr::write(ppiproviderpropertyconstraints, core::mem::transmute(ok__)); + ppiproviderpropertyconstraints.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -364,7 +364,7 @@ impl IFunctionInstance_Vtbl { let this = (*this).get_impl(); match IFunctionInstance_Impl::GetID(this) { Ok(ok__) => { - core::ptr::write(ppszcomemidentity, core::mem::transmute(ok__)); + ppszcomemidentity.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -375,7 +375,7 @@ impl IFunctionInstance_Vtbl { let this = (*this).get_impl(); match IFunctionInstance_Impl::GetProviderInstanceID(this) { Ok(ok__) => { - core::ptr::write(ppszcomemproviderinstanceidentity, core::mem::transmute(ok__)); + ppszcomemproviderinstanceidentity.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -386,7 +386,7 @@ impl IFunctionInstance_Vtbl { let this = (*this).get_impl(); match IFunctionInstance_Impl::OpenPropertyStore(this, core::mem::transmute_copy(&dwstgaccess)) { Ok(ok__) => { - core::ptr::write(ppipropertystore, core::mem::transmute(ok__)); + ppipropertystore.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -429,7 +429,7 @@ impl IFunctionInstanceCollection_Vtbl { let this = (*this).get_impl(); match IFunctionInstanceCollection_Impl::GetCount(this) { Ok(ok__) => { - core::ptr::write(pdwcount, core::mem::transmute(ok__)); + pdwcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -440,7 +440,7 @@ impl IFunctionInstanceCollection_Vtbl { let this = (*this).get_impl(); match IFunctionInstanceCollection_Impl::Get(this, core::mem::transmute(&pszinstanceidentity), core::mem::transmute_copy(&pdwindex)) { Ok(ok__) => { - core::ptr::write(ppifunctioninstance, core::mem::transmute(ok__)); + ppifunctioninstance.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -451,7 +451,7 @@ impl IFunctionInstanceCollection_Vtbl { let this = (*this).get_impl(); match IFunctionInstanceCollection_Impl::Item(this, core::mem::transmute_copy(&dwindex)) { Ok(ok__) => { - core::ptr::write(ppifunctioninstance, core::mem::transmute(ok__)); + ppifunctioninstance.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -467,7 +467,7 @@ impl IFunctionInstanceCollection_Vtbl { let this = (*this).get_impl(); match IFunctionInstanceCollection_Impl::Remove(this, core::mem::transmute_copy(&dwindex)) { Ok(ok__) => { - core::ptr::write(ppifunctioninstance, core::mem::transmute(ok__)); + ppifunctioninstance.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -524,7 +524,7 @@ impl IFunctionInstanceCollectionQuery_Vtbl { let this = (*this).get_impl(); match IFunctionInstanceCollectionQuery_Impl::Execute(this) { Ok(ok__) => { - core::ptr::write(ppifunctioninstancecollection, core::mem::transmute(ok__)); + ppifunctioninstancecollection.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -555,7 +555,7 @@ impl IFunctionInstanceQuery_Vtbl { let this = (*this).get_impl(); match IFunctionInstanceQuery_Impl::Execute(this) { Ok(ok__) => { - core::ptr::write(ppifunctioninstance, core::mem::transmute(ok__)); + ppifunctioninstance.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -655,7 +655,7 @@ impl IPropertyStoreCollection_Vtbl { let this = (*this).get_impl(); match IPropertyStoreCollection_Impl::GetCount(this) { Ok(ok__) => { - core::ptr::write(pdwcount, core::mem::transmute(ok__)); + pdwcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -666,7 +666,7 @@ impl IPropertyStoreCollection_Vtbl { let this = (*this).get_impl(); match IPropertyStoreCollection_Impl::Get(this, core::mem::transmute(&pszinstanceidentity), core::mem::transmute_copy(&pdwindex)) { Ok(ok__) => { - core::ptr::write(ppipropertystore, core::mem::transmute(ok__)); + ppipropertystore.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -677,7 +677,7 @@ impl IPropertyStoreCollection_Vtbl { let this = (*this).get_impl(); match IPropertyStoreCollection_Impl::Item(this, core::mem::transmute_copy(&dwindex)) { Ok(ok__) => { - core::ptr::write(ppipropertystore, core::mem::transmute(ok__)); + ppipropertystore.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -693,7 +693,7 @@ impl IPropertyStoreCollection_Vtbl { let this = (*this).get_impl(); match IPropertyStoreCollection_Impl::Remove(this, core::mem::transmute_copy(&dwindex)) { Ok(ok__) => { - core::ptr::write(pipropertystore, core::mem::transmute(ok__)); + pipropertystore.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -741,7 +741,7 @@ impl IProviderProperties_Vtbl { let this = (*this).get_impl(); match IProviderProperties_Impl::GetCount(this, windows_core::from_raw_borrowed(&pifunctioninstance), core::mem::transmute_copy(&iproviderinstancecontext)) { Ok(ok__) => { - core::ptr::write(pdwcount, core::mem::transmute(ok__)); + pdwcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -757,7 +757,7 @@ impl IProviderProperties_Vtbl { let this = (*this).get_impl(); match IProviderProperties_Impl::GetValue(this, windows_core::from_raw_borrowed(&pifunctioninstance), core::mem::transmute_copy(&iproviderinstancecontext), core::mem::transmute_copy(&key)) { Ok(ok__) => { - core::ptr::write(ppropvar, core::mem::transmute(ok__)); + ppropvar.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -799,7 +799,7 @@ impl IProviderPropertyConstraintCollection_Vtbl { let this = (*this).get_impl(); match IProviderPropertyConstraintCollection_Impl::GetCount(this) { Ok(ok__) => { - core::ptr::write(pdwcount, core::mem::transmute(ok__)); + pdwcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -859,7 +859,7 @@ impl IProviderPublishing_Vtbl { let this = (*this).get_impl(); match IProviderPublishing_Impl::CreateInstance(this, core::mem::transmute_copy(&enumvisibilityflags), core::mem::transmute(&pszsubcategory), core::mem::transmute(&pszproviderinstanceidentity)) { Ok(ok__) => { - core::ptr::write(ppifunctioninstance, core::mem::transmute(ok__)); + ppifunctioninstance.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -896,7 +896,7 @@ impl IProviderQueryConstraintCollection_Vtbl { let this = (*this).get_impl(); match IProviderQueryConstraintCollection_Impl::GetCount(this) { Ok(ok__) => { - core::ptr::write(pdwcount, core::mem::transmute(ok__)); + pdwcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -907,7 +907,7 @@ impl IProviderQueryConstraintCollection_Vtbl { let this = (*this).get_impl(); match IProviderQueryConstraintCollection_Impl::Get(this, core::mem::transmute(&pszconstraintname)) { Ok(ok__) => { - core::ptr::write(ppszconstraintvalue, core::mem::transmute(ok__)); + ppszconstraintvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/Win32/Devices/Geolocation/impl.rs b/crates/libs/windows/src/Windows/Win32/Devices/Geolocation/impl.rs index d8c1a24b3f..f98315400f 100644 --- a/crates/libs/windows/src/Windows/Win32/Devices/Geolocation/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Devices/Geolocation/impl.rs @@ -18,7 +18,7 @@ impl ICivicAddressReport_Vtbl { let this = (*this).get_impl(); match ICivicAddressReport_Impl::GetAddressLine1(this) { Ok(ok__) => { - core::ptr::write(pbstraddress1, core::mem::transmute(ok__)); + pbstraddress1.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -29,7 +29,7 @@ impl ICivicAddressReport_Vtbl { let this = (*this).get_impl(); match ICivicAddressReport_Impl::GetAddressLine2(this) { Ok(ok__) => { - core::ptr::write(pbstraddress2, core::mem::transmute(ok__)); + pbstraddress2.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -40,7 +40,7 @@ impl ICivicAddressReport_Vtbl { let this = (*this).get_impl(); match ICivicAddressReport_Impl::GetCity(this) { Ok(ok__) => { - core::ptr::write(pbstrcity, core::mem::transmute(ok__)); + pbstrcity.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -51,7 +51,7 @@ impl ICivicAddressReport_Vtbl { let this = (*this).get_impl(); match ICivicAddressReport_Impl::GetStateProvince(this) { Ok(ok__) => { - core::ptr::write(pbstrstateprovince, core::mem::transmute(ok__)); + pbstrstateprovince.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -62,7 +62,7 @@ impl ICivicAddressReport_Vtbl { let this = (*this).get_impl(); match ICivicAddressReport_Impl::GetPostalCode(this) { Ok(ok__) => { - core::ptr::write(pbstrpostalcode, core::mem::transmute(ok__)); + pbstrpostalcode.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -73,7 +73,7 @@ impl ICivicAddressReport_Vtbl { let this = (*this).get_impl(); match ICivicAddressReport_Impl::GetCountryRegion(this) { Ok(ok__) => { - core::ptr::write(pbstrcountryregion, core::mem::transmute(ok__)); + pbstrcountryregion.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -84,7 +84,7 @@ impl ICivicAddressReport_Vtbl { let this = (*this).get_impl(); match ICivicAddressReport_Impl::GetDetailLevel(this) { Ok(ok__) => { - core::ptr::write(pdetaillevel, core::mem::transmute(ok__)); + pdetaillevel.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -119,7 +119,7 @@ impl ICivicAddressReportFactory_Vtbl { let this = (*this).get_impl(); match ICivicAddressReportFactory_Impl::CivicAddressReport(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -148,7 +148,7 @@ impl IDefaultLocation_Vtbl { let this = (*this).get_impl(); match IDefaultLocation_Impl::GetReport(this, core::mem::transmute_copy(&reporttype)) { Ok(ok__) => { - core::ptr::write(pplocationreport, core::mem::transmute(ok__)); + pplocationreport.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -185,7 +185,7 @@ impl IDispCivicAddressReport_Vtbl { let this = (*this).get_impl(); match IDispCivicAddressReport_Impl::AddressLine1(this) { Ok(ok__) => { - core::ptr::write(paddress1, core::mem::transmute(ok__)); + paddress1.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -196,7 +196,7 @@ impl IDispCivicAddressReport_Vtbl { let this = (*this).get_impl(); match IDispCivicAddressReport_Impl::AddressLine2(this) { Ok(ok__) => { - core::ptr::write(paddress2, core::mem::transmute(ok__)); + paddress2.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -207,7 +207,7 @@ impl IDispCivicAddressReport_Vtbl { let this = (*this).get_impl(); match IDispCivicAddressReport_Impl::City(this) { Ok(ok__) => { - core::ptr::write(pcity, core::mem::transmute(ok__)); + pcity.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -218,7 +218,7 @@ impl IDispCivicAddressReport_Vtbl { let this = (*this).get_impl(); match IDispCivicAddressReport_Impl::StateProvince(this) { Ok(ok__) => { - core::ptr::write(pstateprovince, core::mem::transmute(ok__)); + pstateprovince.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -229,7 +229,7 @@ impl IDispCivicAddressReport_Vtbl { let this = (*this).get_impl(); match IDispCivicAddressReport_Impl::PostalCode(this) { Ok(ok__) => { - core::ptr::write(ppostalcode, core::mem::transmute(ok__)); + ppostalcode.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -240,7 +240,7 @@ impl IDispCivicAddressReport_Vtbl { let this = (*this).get_impl(); match IDispCivicAddressReport_Impl::CountryRegion(this) { Ok(ok__) => { - core::ptr::write(pcountryregion, core::mem::transmute(ok__)); + pcountryregion.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -251,7 +251,7 @@ impl IDispCivicAddressReport_Vtbl { let this = (*this).get_impl(); match IDispCivicAddressReport_Impl::DetailLevel(this) { Ok(ok__) => { - core::ptr::write(pdetaillevel, core::mem::transmute(ok__)); + pdetaillevel.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -262,7 +262,7 @@ impl IDispCivicAddressReport_Vtbl { let this = (*this).get_impl(); match IDispCivicAddressReport_Impl::Timestamp(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -303,7 +303,7 @@ impl IDispLatLongReport_Vtbl { let this = (*this).get_impl(); match IDispLatLongReport_Impl::Latitude(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -314,7 +314,7 @@ impl IDispLatLongReport_Vtbl { let this = (*this).get_impl(); match IDispLatLongReport_Impl::Longitude(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -325,7 +325,7 @@ impl IDispLatLongReport_Vtbl { let this = (*this).get_impl(); match IDispLatLongReport_Impl::ErrorRadius(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -336,7 +336,7 @@ impl IDispLatLongReport_Vtbl { let this = (*this).get_impl(); match IDispLatLongReport_Impl::Altitude(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -347,7 +347,7 @@ impl IDispLatLongReport_Vtbl { let this = (*this).get_impl(); match IDispLatLongReport_Impl::AltitudeError(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -358,7 +358,7 @@ impl IDispLatLongReport_Vtbl { let this = (*this).get_impl(); match IDispLatLongReport_Impl::Timestamp(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -396,7 +396,7 @@ impl ILatLongReport_Vtbl { let this = (*this).get_impl(); match ILatLongReport_Impl::GetLatitude(this) { Ok(ok__) => { - core::ptr::write(platitude, core::mem::transmute(ok__)); + platitude.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -407,7 +407,7 @@ impl ILatLongReport_Vtbl { let this = (*this).get_impl(); match ILatLongReport_Impl::GetLongitude(this) { Ok(ok__) => { - core::ptr::write(plongitude, core::mem::transmute(ok__)); + plongitude.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -418,7 +418,7 @@ impl ILatLongReport_Vtbl { let this = (*this).get_impl(); match ILatLongReport_Impl::GetErrorRadius(this) { Ok(ok__) => { - core::ptr::write(perrorradius, core::mem::transmute(ok__)); + perrorradius.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -429,7 +429,7 @@ impl ILatLongReport_Vtbl { let this = (*this).get_impl(); match ILatLongReport_Impl::GetAltitude(this) { Ok(ok__) => { - core::ptr::write(paltitude, core::mem::transmute(ok__)); + paltitude.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -440,7 +440,7 @@ impl ILatLongReport_Vtbl { let this = (*this).get_impl(); match ILatLongReport_Impl::GetAltitudeError(this) { Ok(ok__) => { - core::ptr::write(paltitudeerror, core::mem::transmute(ok__)); + paltitudeerror.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -473,7 +473,7 @@ impl ILatLongReportFactory_Vtbl { let this = (*this).get_impl(); match ILatLongReportFactory_Impl::LatLongReport(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -517,7 +517,7 @@ impl ILocation_Vtbl { let this = (*this).get_impl(); match ILocation_Impl::GetReport(this, core::mem::transmute_copy(&reporttype)) { Ok(ok__) => { - core::ptr::write(pplocationreport, core::mem::transmute(ok__)); + pplocationreport.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -528,7 +528,7 @@ impl ILocation_Vtbl { let this = (*this).get_impl(); match ILocation_Impl::GetReportStatus(this, core::mem::transmute_copy(&reporttype)) { Ok(ok__) => { - core::ptr::write(pstatus, core::mem::transmute(ok__)); + pstatus.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -539,7 +539,7 @@ impl ILocation_Vtbl { let this = (*this).get_impl(); match ILocation_Impl::GetReportInterval(this, core::mem::transmute_copy(&reporttype)) { Ok(ok__) => { - core::ptr::write(pmilliseconds, core::mem::transmute(ok__)); + pmilliseconds.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -555,7 +555,7 @@ impl ILocation_Vtbl { let this = (*this).get_impl(); match ILocation_Impl::GetDesiredAccuracy(this, core::mem::transmute_copy(&reporttype)) { Ok(ok__) => { - core::ptr::write(pdesiredaccuracy, core::mem::transmute(ok__)); + pdesiredaccuracy.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -658,7 +658,7 @@ impl ILocationReport_Vtbl { let this = (*this).get_impl(); match ILocationReport_Impl::GetSensorID(this) { Ok(ok__) => { - core::ptr::write(psensorid, core::mem::transmute(ok__)); + psensorid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -669,7 +669,7 @@ impl ILocationReport_Vtbl { let this = (*this).get_impl(); match ILocationReport_Impl::GetTimestamp(this) { Ok(ok__) => { - core::ptr::write(pcreationtime, core::mem::transmute(ok__)); + pcreationtime.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -680,7 +680,7 @@ impl ILocationReport_Vtbl { let this = (*this).get_impl(); match ILocationReport_Impl::GetValue(this, core::mem::transmute_copy(&pkey)) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -728,7 +728,7 @@ impl ILocationReportFactory_Vtbl { let this = (*this).get_impl(); match ILocationReportFactory_Impl::Status(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -739,7 +739,7 @@ impl ILocationReportFactory_Vtbl { let this = (*this).get_impl(); match ILocationReportFactory_Impl::ReportInterval(this) { Ok(ok__) => { - core::ptr::write(pmilliseconds, core::mem::transmute(ok__)); + pmilliseconds.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -755,7 +755,7 @@ impl ILocationReportFactory_Vtbl { let this = (*this).get_impl(); match ILocationReportFactory_Impl::DesiredAccuracy(this) { Ok(ok__) => { - core::ptr::write(pdesiredaccuracy, core::mem::transmute(ok__)); + pdesiredaccuracy.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/Win32/Devices/ImageAcquisition/impl.rs b/crates/libs/windows/src/Windows/Win32/Devices/ImageAcquisition/impl.rs index 07b51b158f..31309d78ef 100644 --- a/crates/libs/windows/src/Windows/Win32/Devices/ImageAcquisition/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Devices/ImageAcquisition/impl.rs @@ -28,7 +28,7 @@ impl IEnumWIA_DEV_CAPS_Vtbl { let this = (*this).get_impl(); match IEnumWIA_DEV_CAPS_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppienum, core::mem::transmute(ok__)); + ppienum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -39,7 +39,7 @@ impl IEnumWIA_DEV_CAPS_Vtbl { let this = (*this).get_impl(); match IEnumWIA_DEV_CAPS_Impl::GetCount(this) { Ok(ok__) => { - core::ptr::write(pcelt, core::mem::transmute(ok__)); + pcelt.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -88,7 +88,7 @@ impl IEnumWIA_DEV_INFO_Vtbl { let this = (*this).get_impl(); match IEnumWIA_DEV_INFO_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppienum, core::mem::transmute(ok__)); + ppienum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -99,7 +99,7 @@ impl IEnumWIA_DEV_INFO_Vtbl { let this = (*this).get_impl(); match IEnumWIA_DEV_INFO_Impl::GetCount(this) { Ok(ok__) => { - core::ptr::write(celt, core::mem::transmute(ok__)); + celt.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -148,7 +148,7 @@ impl IEnumWIA_FORMAT_INFO_Vtbl { let this = (*this).get_impl(); match IEnumWIA_FORMAT_INFO_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppienum, core::mem::transmute(ok__)); + ppienum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -159,7 +159,7 @@ impl IEnumWIA_FORMAT_INFO_Vtbl { let this = (*this).get_impl(); match IEnumWIA_FORMAT_INFO_Impl::GetCount(this) { Ok(ok__) => { - core::ptr::write(pcelt, core::mem::transmute(ok__)); + pcelt.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -208,7 +208,7 @@ impl IEnumWiaItem_Vtbl { let this = (*this).get_impl(); match IEnumWiaItem_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppienum, core::mem::transmute(ok__)); + ppienum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -219,7 +219,7 @@ impl IEnumWiaItem_Vtbl { let this = (*this).get_impl(); match IEnumWiaItem_Impl::GetCount(this) { Ok(ok__) => { - core::ptr::write(celt, core::mem::transmute(ok__)); + celt.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -268,7 +268,7 @@ impl IEnumWiaItem2_Vtbl { let this = (*this).get_impl(); match IEnumWiaItem2_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppienum, core::mem::transmute(ok__)); + ppienum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -279,7 +279,7 @@ impl IEnumWiaItem2_Vtbl { let this = (*this).get_impl(); match IEnumWiaItem2_Impl::GetCount(this) { Ok(ok__) => { - core::ptr::write(celt, core::mem::transmute(ok__)); + celt.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -310,7 +310,7 @@ impl IWiaAppErrorHandler_Vtbl { let this = (*this).get_impl(); match IWiaAppErrorHandler_Impl::GetWindow(this) { Ok(ok__) => { - core::ptr::write(phwnd, core::mem::transmute(ok__)); + phwnd.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -381,7 +381,7 @@ impl IWiaDataTransfer_Vtbl { let this = (*this).get_impl(); match IWiaDataTransfer_Impl::idtEnumWIA_FORMAT_INFO(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -424,7 +424,7 @@ impl IWiaDevMgr_Vtbl { let this = (*this).get_impl(); match IWiaDevMgr_Impl::EnumDeviceInfo(this, core::mem::transmute_copy(&lflag)) { Ok(ok__) => { - core::ptr::write(ppienum, core::mem::transmute(ok__)); + ppienum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -435,7 +435,7 @@ impl IWiaDevMgr_Vtbl { let this = (*this).get_impl(); match IWiaDevMgr_Impl::CreateDevice(this, core::mem::transmute(&bstrdeviceid)) { Ok(ok__) => { - core::ptr::write(ppwiaitemroot, core::mem::transmute(ok__)); + ppwiaitemroot.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -466,7 +466,7 @@ impl IWiaDevMgr_Vtbl { let this = (*this).get_impl(); match IWiaDevMgr_Impl::RegisterEventCallbackInterface(this, core::mem::transmute_copy(&lflags), core::mem::transmute(&bstrdeviceid), core::mem::transmute_copy(&peventguid), windows_core::from_raw_borrowed(&piwiaeventcallback)) { Ok(ok__) => { - core::ptr::write(peventobject, core::mem::transmute(ok__)); + peventobject.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -517,7 +517,7 @@ impl IWiaDevMgr2_Vtbl { let this = (*this).get_impl(); match IWiaDevMgr2_Impl::EnumDeviceInfo(this, core::mem::transmute_copy(&lflags)) { Ok(ok__) => { - core::ptr::write(ppienum, core::mem::transmute(ok__)); + ppienum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -528,7 +528,7 @@ impl IWiaDevMgr2_Vtbl { let this = (*this).get_impl(); match IWiaDevMgr2_Impl::CreateDevice(this, core::mem::transmute_copy(&lflags), core::mem::transmute(&bstrdeviceid)) { Ok(ok__) => { - core::ptr::write(ppwiaitem2root, core::mem::transmute(ok__)); + ppwiaitem2root.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -549,7 +549,7 @@ impl IWiaDevMgr2_Vtbl { let this = (*this).get_impl(); match IWiaDevMgr2_Impl::RegisterEventCallbackInterface(this, core::mem::transmute_copy(&lflags), core::mem::transmute(&bstrdeviceid), core::mem::transmute_copy(&peventguid), windows_core::from_raw_borrowed(&piwiaeventcallback)) { Ok(ok__) => { - core::ptr::write(peventobject, core::mem::transmute(ok__)); + peventobject.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -609,7 +609,7 @@ impl IWiaDrvItem_Vtbl { let this = (*this).get_impl(); match IWiaDrvItem_Impl::GetItemFlags(this) { Ok(ok__) => { - core::ptr::write(__midl__iwiadrvitem0000, core::mem::transmute(ok__)); + __midl__iwiadrvitem0000.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -620,7 +620,7 @@ impl IWiaDrvItem_Vtbl { let this = (*this).get_impl(); match IWiaDrvItem_Impl::GetDeviceSpecContext(this) { Ok(ok__) => { - core::ptr::write(__midl__iwiadrvitem0001, core::mem::transmute(ok__)); + __midl__iwiadrvitem0001.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -631,7 +631,7 @@ impl IWiaDrvItem_Vtbl { let this = (*this).get_impl(); match IWiaDrvItem_Impl::GetFullItemName(this) { Ok(ok__) => { - core::ptr::write(__midl__iwiadrvitem0002, core::mem::transmute(ok__)); + __midl__iwiadrvitem0002.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -642,7 +642,7 @@ impl IWiaDrvItem_Vtbl { let this = (*this).get_impl(); match IWiaDrvItem_Impl::GetItemName(this) { Ok(ok__) => { - core::ptr::write(__midl__iwiadrvitem0003, core::mem::transmute(ok__)); + __midl__iwiadrvitem0003.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -668,7 +668,7 @@ impl IWiaDrvItem_Vtbl { let this = (*this).get_impl(); match IWiaDrvItem_Impl::FindItemByName(this, core::mem::transmute_copy(&__midl__iwiadrvitem0007), core::mem::transmute(&__midl__iwiadrvitem0008)) { Ok(ok__) => { - core::ptr::write(__midl__iwiadrvitem0009, core::mem::transmute(ok__)); + __midl__iwiadrvitem0009.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -679,7 +679,7 @@ impl IWiaDrvItem_Vtbl { let this = (*this).get_impl(); match IWiaDrvItem_Impl::FindChildItemByName(this, core::mem::transmute(&__midl__iwiadrvitem0010)) { Ok(ok__) => { - core::ptr::write(__midl__iwiadrvitem0011, core::mem::transmute(ok__)); + __midl__iwiadrvitem0011.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -690,7 +690,7 @@ impl IWiaDrvItem_Vtbl { let this = (*this).get_impl(); match IWiaDrvItem_Impl::GetParentItem(this) { Ok(ok__) => { - core::ptr::write(__midl__iwiadrvitem0012, core::mem::transmute(ok__)); + __midl__iwiadrvitem0012.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -701,7 +701,7 @@ impl IWiaDrvItem_Vtbl { let this = (*this).get_impl(); match IWiaDrvItem_Impl::GetFirstChildItem(this) { Ok(ok__) => { - core::ptr::write(__midl__iwiadrvitem0013, core::mem::transmute(ok__)); + __midl__iwiadrvitem0013.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -712,7 +712,7 @@ impl IWiaDrvItem_Vtbl { let this = (*this).get_impl(); match IWiaDrvItem_Impl::GetNextSiblingItem(this) { Ok(ok__) => { - core::ptr::write(__midl__iwiadrvitem0014, core::mem::transmute(ok__)); + __midl__iwiadrvitem0014.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -723,7 +723,7 @@ impl IWiaDrvItem_Vtbl { let this = (*this).get_impl(); match IWiaDrvItem_Impl::DumpItemData(this) { Ok(ok__) => { - core::ptr::write(__midl__iwiadrvitem0015, core::mem::transmute(ok__)); + __midl__iwiadrvitem0015.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -767,7 +767,7 @@ impl IWiaErrorHandler_Vtbl { let this = (*this).get_impl(); match IWiaErrorHandler_Impl::GetStatusDescription(this, core::mem::transmute_copy(&lflags), windows_core::from_raw_borrowed(&pwiaitem2), core::mem::transmute_copy(&hrstatus)) { Ok(ok__) => { - core::ptr::write(pbstrdescription, core::mem::transmute(ok__)); + pbstrdescription.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -869,7 +869,7 @@ impl IWiaItem_Vtbl { let this = (*this).get_impl(); match IWiaItem_Impl::GetItemType(this) { Ok(ok__) => { - core::ptr::write(pitemtype, core::mem::transmute(ok__)); + pitemtype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -885,7 +885,7 @@ impl IWiaItem_Vtbl { let this = (*this).get_impl(); match IWiaItem_Impl::EnumChildItems(this) { Ok(ok__) => { - core::ptr::write(ppienumwiaitem, core::mem::transmute(ok__)); + ppienumwiaitem.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -901,7 +901,7 @@ impl IWiaItem_Vtbl { let this = (*this).get_impl(); match IWiaItem_Impl::CreateChildItem(this, core::mem::transmute_copy(&lflags), core::mem::transmute(&bstritemname), core::mem::transmute(&bstrfullitemname)) { Ok(ok__) => { - core::ptr::write(ppiwiaitem, core::mem::transmute(ok__)); + ppiwiaitem.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -912,7 +912,7 @@ impl IWiaItem_Vtbl { let this = (*this).get_impl(); match IWiaItem_Impl::EnumRegisterEventInfo(this, core::mem::transmute_copy(&lflags), core::mem::transmute_copy(&peventguid)) { Ok(ok__) => { - core::ptr::write(ppienum, core::mem::transmute(ok__)); + ppienum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -923,7 +923,7 @@ impl IWiaItem_Vtbl { let this = (*this).get_impl(); match IWiaItem_Impl::FindItemByName(this, core::mem::transmute_copy(&lflags), core::mem::transmute(&bstrfullitemname)) { Ok(ok__) => { - core::ptr::write(ppiwiaitem, core::mem::transmute(ok__)); + ppiwiaitem.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -944,7 +944,7 @@ impl IWiaItem_Vtbl { let this = (*this).get_impl(); match IWiaItem_Impl::GetRootItem(this) { Ok(ok__) => { - core::ptr::write(ppiwiaitem, core::mem::transmute(ok__)); + ppiwiaitem.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -955,7 +955,7 @@ impl IWiaItem_Vtbl { let this = (*this).get_impl(); match IWiaItem_Impl::EnumDeviceCapabilities(this, core::mem::transmute_copy(&lflags)) { Ok(ok__) => { - core::ptr::write(ppienumwia_dev_caps, core::mem::transmute(ok__)); + ppienumwia_dev_caps.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -966,7 +966,7 @@ impl IWiaItem_Vtbl { let this = (*this).get_impl(); match IWiaItem_Impl::DumpItemData(this) { Ok(ok__) => { - core::ptr::write(bstrdata, core::mem::transmute(ok__)); + bstrdata.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -977,7 +977,7 @@ impl IWiaItem_Vtbl { let this = (*this).get_impl(); match IWiaItem_Impl::DumpDrvItemData(this) { Ok(ok__) => { - core::ptr::write(bstrdata, core::mem::transmute(ok__)); + bstrdata.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -988,7 +988,7 @@ impl IWiaItem_Vtbl { let this = (*this).get_impl(); match IWiaItem_Impl::DumpTreeItemData(this) { Ok(ok__) => { - core::ptr::write(bstrdata, core::mem::transmute(ok__)); + bstrdata.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1048,7 +1048,7 @@ impl IWiaItem2_Vtbl { let this = (*this).get_impl(); match IWiaItem2_Impl::CreateChildItem(this, core::mem::transmute_copy(&litemflags), core::mem::transmute_copy(&lcreationflags), core::mem::transmute(&bstritemname)) { Ok(ok__) => { - core::ptr::write(ppiwiaitem2, core::mem::transmute(ok__)); + ppiwiaitem2.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1064,7 +1064,7 @@ impl IWiaItem2_Vtbl { let this = (*this).get_impl(); match IWiaItem2_Impl::EnumChildItems(this, core::mem::transmute_copy(&pcategoryguid)) { Ok(ok__) => { - core::ptr::write(ppienumwiaitem2, core::mem::transmute(ok__)); + ppienumwiaitem2.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1075,7 +1075,7 @@ impl IWiaItem2_Vtbl { let this = (*this).get_impl(); match IWiaItem2_Impl::FindItemByName(this, core::mem::transmute_copy(&lflags), core::mem::transmute(&bstrfullitemname)) { Ok(ok__) => { - core::ptr::write(ppiwiaitem2, core::mem::transmute(ok__)); + ppiwiaitem2.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1086,7 +1086,7 @@ impl IWiaItem2_Vtbl { let this = (*this).get_impl(); match IWiaItem2_Impl::GetItemCategory(this) { Ok(ok__) => { - core::ptr::write(pitemcategoryguid, core::mem::transmute(ok__)); + pitemcategoryguid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1097,7 +1097,7 @@ impl IWiaItem2_Vtbl { let this = (*this).get_impl(); match IWiaItem2_Impl::GetItemType(this) { Ok(ok__) => { - core::ptr::write(pitemtype, core::mem::transmute(ok__)); + pitemtype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1118,7 +1118,7 @@ impl IWiaItem2_Vtbl { let this = (*this).get_impl(); match IWiaItem2_Impl::EnumDeviceCapabilities(this, core::mem::transmute_copy(&lflags)) { Ok(ok__) => { - core::ptr::write(ppienumwia_dev_caps, core::mem::transmute(ok__)); + ppienumwia_dev_caps.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1139,7 +1139,7 @@ impl IWiaItem2_Vtbl { let this = (*this).get_impl(); match IWiaItem2_Impl::GetParentItem(this) { Ok(ok__) => { - core::ptr::write(ppiwiaitem2, core::mem::transmute(ok__)); + ppiwiaitem2.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1150,7 +1150,7 @@ impl IWiaItem2_Vtbl { let this = (*this).get_impl(); match IWiaItem2_Impl::GetRootItem(this) { Ok(ok__) => { - core::ptr::write(ppiwiaitem2, core::mem::transmute(ok__)); + ppiwiaitem2.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1161,7 +1161,7 @@ impl IWiaItem2_Vtbl { let this = (*this).get_impl(); match IWiaItem2_Impl::GetPreviewComponent(this, core::mem::transmute_copy(&lflags)) { Ok(ok__) => { - core::ptr::write(ppwiapreview, core::mem::transmute(ok__)); + ppwiapreview.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1172,7 +1172,7 @@ impl IWiaItem2_Vtbl { let this = (*this).get_impl(); match IWiaItem2_Impl::EnumRegisterEventInfo(this, core::mem::transmute_copy(&lflags), core::mem::transmute_copy(&peventguid)) { Ok(ok__) => { - core::ptr::write(ppienum, core::mem::transmute(ok__)); + ppienum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1220,7 +1220,7 @@ impl IWiaItemExtras_Vtbl { let this = (*this).get_impl(); match IWiaItemExtras_Impl::GetExtendedErrorInfo(this) { Ok(ok__) => { - core::ptr::write(bstrerrortext, core::mem::transmute(ok__)); + bstrerrortext.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1381,7 +1381,7 @@ impl IWiaMiniDrv_Vtbl { let this = (*this).get_impl(); match IWiaMiniDrv_Impl::drvInitItemProperties(this, core::mem::transmute_copy(&__midl__iwiaminidrv0013), core::mem::transmute_copy(&__midl__iwiaminidrv0014)) { Ok(ok__) => { - core::ptr::write(__midl__iwiaminidrv0015, core::mem::transmute(ok__)); + __midl__iwiaminidrv0015.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1392,7 +1392,7 @@ impl IWiaMiniDrv_Vtbl { let this = (*this).get_impl(); match IWiaMiniDrv_Impl::drvValidateItemProperties(this, core::mem::transmute_copy(&__midl__iwiaminidrv0016), core::mem::transmute_copy(&__midl__iwiaminidrv0017), core::mem::transmute_copy(&__midl__iwiaminidrv0018), core::mem::transmute_copy(&__midl__iwiaminidrv0019)) { Ok(ok__) => { - core::ptr::write(__midl__iwiaminidrv0020, core::mem::transmute(ok__)); + __midl__iwiaminidrv0020.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1403,7 +1403,7 @@ impl IWiaMiniDrv_Vtbl { let this = (*this).get_impl(); match IWiaMiniDrv_Impl::drvWriteItemProperties(this, core::mem::transmute_copy(&__midl__iwiaminidrv0021), core::mem::transmute_copy(&__midl__iwiaminidrv0022), core::mem::transmute_copy(&__midl__iwiaminidrv0023)) { Ok(ok__) => { - core::ptr::write(__midl__iwiaminidrv0024, core::mem::transmute(ok__)); + __midl__iwiaminidrv0024.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1414,7 +1414,7 @@ impl IWiaMiniDrv_Vtbl { let this = (*this).get_impl(); match IWiaMiniDrv_Impl::drvReadItemProperties(this, core::mem::transmute_copy(&__midl__iwiaminidrv0025), core::mem::transmute_copy(&__midl__iwiaminidrv0026), core::mem::transmute_copy(&__midl__iwiaminidrv0027), core::mem::transmute_copy(&__midl__iwiaminidrv0028)) { Ok(ok__) => { - core::ptr::write(__midl__iwiaminidrv0029, core::mem::transmute(ok__)); + __midl__iwiaminidrv0029.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1425,7 +1425,7 @@ impl IWiaMiniDrv_Vtbl { let this = (*this).get_impl(); match IWiaMiniDrv_Impl::drvLockWiaDevice(this, core::mem::transmute_copy(&__midl__iwiaminidrv0030), core::mem::transmute_copy(&__midl__iwiaminidrv0031)) { Ok(ok__) => { - core::ptr::write(__midl__iwiaminidrv0032, core::mem::transmute(ok__)); + __midl__iwiaminidrv0032.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1436,7 +1436,7 @@ impl IWiaMiniDrv_Vtbl { let this = (*this).get_impl(); match IWiaMiniDrv_Impl::drvUnLockWiaDevice(this, core::mem::transmute_copy(&__midl__iwiaminidrv0033), core::mem::transmute_copy(&__midl__iwiaminidrv0034)) { Ok(ok__) => { - core::ptr::write(__midl__iwiaminidrv0035, core::mem::transmute(ok__)); + __midl__iwiaminidrv0035.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1467,7 +1467,7 @@ impl IWiaMiniDrv_Vtbl { let this = (*this).get_impl(); match IWiaMiniDrv_Impl::drvDeleteItem(this, core::mem::transmute_copy(&__midl__iwiaminidrv0053), core::mem::transmute_copy(&__midl__iwiaminidrv0054)) { Ok(ok__) => { - core::ptr::write(__midl__iwiaminidrv0055, core::mem::transmute(ok__)); + __midl__iwiaminidrv0055.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1478,7 +1478,7 @@ impl IWiaMiniDrv_Vtbl { let this = (*this).get_impl(); match IWiaMiniDrv_Impl::drvFreeDrvItemContext(this, core::mem::transmute_copy(&__midl__iwiaminidrv0056), core::mem::transmute_copy(&__midl__iwiaminidrv0057)) { Ok(ok__) => { - core::ptr::write(__midl__iwiaminidrv0058, core::mem::transmute(ok__)); + __midl__iwiaminidrv0058.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1556,7 +1556,7 @@ impl IWiaMiniDrvTransferCallback_Vtbl { let this = (*this).get_impl(); match IWiaMiniDrvTransferCallback_Impl::GetNextStream(this, core::mem::transmute_copy(&lflags), core::mem::transmute(&bstritemname), core::mem::transmute(&bstrfullitemname)) { Ok(ok__) => { - core::ptr::write(ppistream, core::mem::transmute(ok__)); + ppistream.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1704,7 +1704,7 @@ impl IWiaPropertyStorage_Vtbl { let this = (*this).get_impl(); match IWiaPropertyStorage_Impl::Enum(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1735,7 +1735,7 @@ impl IWiaPropertyStorage_Vtbl { let this = (*this).get_impl(); match IWiaPropertyStorage_Impl::GetCount(this) { Ok(ok__) => { - core::ptr::write(pulnumprops, core::mem::transmute(ok__)); + pulnumprops.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1827,7 +1827,7 @@ impl IWiaTransfer_Vtbl { let this = (*this).get_impl(); match IWiaTransfer_Impl::EnumWIA_FORMAT_INFO(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1865,7 +1865,7 @@ impl IWiaTransferCallback_Vtbl { let this = (*this).get_impl(); match IWiaTransferCallback_Impl::GetNextStream(this, core::mem::transmute_copy(&lflags), core::mem::transmute(&bstritemname), core::mem::transmute(&bstrfullitemname)) { Ok(ok__) => { - core::ptr::write(ppdestination, core::mem::transmute(ok__)); + ppdestination.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1971,7 +1971,7 @@ impl IWiaVideo_Vtbl { let this = (*this).get_impl(); match IWiaVideo_Impl::PreviewVisible(this) { Ok(ok__) => { - core::ptr::write(pbpreviewvisible, core::mem::transmute(ok__)); + pbpreviewvisible.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1987,7 +1987,7 @@ impl IWiaVideo_Vtbl { let this = (*this).get_impl(); match IWiaVideo_Impl::ImagesDirectory(this) { Ok(ok__) => { - core::ptr::write(pbstrimagedirectory, core::mem::transmute(ok__)); + pbstrimagedirectory.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2033,7 +2033,7 @@ impl IWiaVideo_Vtbl { let this = (*this).get_impl(); match IWiaVideo_Impl::TakePicture(this) { Ok(ok__) => { - core::ptr::write(pbstrnewimagefilename, core::mem::transmute(ok__)); + pbstrnewimagefilename.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2049,7 +2049,7 @@ impl IWiaVideo_Vtbl { let this = (*this).get_impl(); match IWiaVideo_Impl::GetCurrentState(this) { Ok(ok__) => { - core::ptr::write(pstate, core::mem::transmute(ok__)); + pstate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/Win32/Devices/PortableDevices/impl.rs b/crates/libs/windows/src/Windows/Win32/Devices/PortableDevices/impl.rs index 16c9354905..1dedc6a232 100644 --- a/crates/libs/windows/src/Windows/Win32/Devices/PortableDevices/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Devices/PortableDevices/impl.rs @@ -44,7 +44,7 @@ impl IEnumPortableDeviceConnectors_Vtbl { let this = (*this).get_impl(); match IEnumPortableDeviceConnectors_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -92,7 +92,7 @@ impl IEnumPortableDeviceObjectIDs_Vtbl { let this = (*this).get_impl(); match IEnumPortableDeviceObjectIDs_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -128,7 +128,7 @@ impl IMediaRadioManager_Vtbl { let this = (*this).get_impl(); match IMediaRadioManager_Impl::GetRadioInstances(this) { Ok(ok__) => { - core::ptr::write(ppcollection, core::mem::transmute(ok__)); + ppcollection.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -207,7 +207,7 @@ impl IPortableDevice_Vtbl { let this = (*this).get_impl(); match IPortableDevice_Impl::SendCommand(this, core::mem::transmute_copy(&dwflags), windows_core::from_raw_borrowed(&pparameters)) { Ok(ok__) => { - core::ptr::write(ppresults, core::mem::transmute(ok__)); + ppresults.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -218,7 +218,7 @@ impl IPortableDevice_Vtbl { let this = (*this).get_impl(); match IPortableDevice_Impl::Content(this) { Ok(ok__) => { - core::ptr::write(ppcontent, core::mem::transmute(ok__)); + ppcontent.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -229,7 +229,7 @@ impl IPortableDevice_Vtbl { let this = (*this).get_impl(); match IPortableDevice_Impl::Capabilities(this) { Ok(ok__) => { - core::ptr::write(ppcapabilities, core::mem::transmute(ok__)); + ppcapabilities.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -250,7 +250,7 @@ impl IPortableDevice_Vtbl { let this = (*this).get_impl(); match IPortableDevice_Impl::Advise(this, core::mem::transmute_copy(&dwflags), windows_core::from_raw_borrowed(&pcallback), windows_core::from_raw_borrowed(&pparameters)) { Ok(ok__) => { - core::ptr::write(ppszcookie, core::mem::transmute(ok__)); + ppszcookie.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -266,7 +266,7 @@ impl IPortableDevice_Vtbl { let this = (*this).get_impl(); match IPortableDevice_Impl::GetPnPDeviceID(this) { Ok(ok__) => { - core::ptr::write(ppszpnpdeviceid, core::mem::transmute(ok__)); + ppszpnpdeviceid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -313,7 +313,7 @@ impl IPortableDeviceCapabilities_Vtbl { let this = (*this).get_impl(); match IPortableDeviceCapabilities_Impl::GetSupportedCommands(this) { Ok(ok__) => { - core::ptr::write(ppcommands, core::mem::transmute(ok__)); + ppcommands.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -324,7 +324,7 @@ impl IPortableDeviceCapabilities_Vtbl { let this = (*this).get_impl(); match IPortableDeviceCapabilities_Impl::GetCommandOptions(this, core::mem::transmute_copy(&command)) { Ok(ok__) => { - core::ptr::write(ppoptions, core::mem::transmute(ok__)); + ppoptions.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -335,7 +335,7 @@ impl IPortableDeviceCapabilities_Vtbl { let this = (*this).get_impl(); match IPortableDeviceCapabilities_Impl::GetFunctionalCategories(this) { Ok(ok__) => { - core::ptr::write(ppcategories, core::mem::transmute(ok__)); + ppcategories.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -346,7 +346,7 @@ impl IPortableDeviceCapabilities_Vtbl { let this = (*this).get_impl(); match IPortableDeviceCapabilities_Impl::GetFunctionalObjects(this, core::mem::transmute_copy(&category)) { Ok(ok__) => { - core::ptr::write(ppobjectids, core::mem::transmute(ok__)); + ppobjectids.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -357,7 +357,7 @@ impl IPortableDeviceCapabilities_Vtbl { let this = (*this).get_impl(); match IPortableDeviceCapabilities_Impl::GetSupportedContentTypes(this, core::mem::transmute_copy(&category)) { Ok(ok__) => { - core::ptr::write(ppcontenttypes, core::mem::transmute(ok__)); + ppcontenttypes.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -368,7 +368,7 @@ impl IPortableDeviceCapabilities_Vtbl { let this = (*this).get_impl(); match IPortableDeviceCapabilities_Impl::GetSupportedFormats(this, core::mem::transmute_copy(&contenttype)) { Ok(ok__) => { - core::ptr::write(ppformats, core::mem::transmute(ok__)); + ppformats.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -379,7 +379,7 @@ impl IPortableDeviceCapabilities_Vtbl { let this = (*this).get_impl(); match IPortableDeviceCapabilities_Impl::GetSupportedFormatProperties(this, core::mem::transmute_copy(&format)) { Ok(ok__) => { - core::ptr::write(ppkeys, core::mem::transmute(ok__)); + ppkeys.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -390,7 +390,7 @@ impl IPortableDeviceCapabilities_Vtbl { let this = (*this).get_impl(); match IPortableDeviceCapabilities_Impl::GetFixedPropertyAttributes(this, core::mem::transmute_copy(&format), core::mem::transmute_copy(&key)) { Ok(ok__) => { - core::ptr::write(ppattributes, core::mem::transmute(ok__)); + ppattributes.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -406,7 +406,7 @@ impl IPortableDeviceCapabilities_Vtbl { let this = (*this).get_impl(); match IPortableDeviceCapabilities_Impl::GetSupportedEvents(this) { Ok(ok__) => { - core::ptr::write(ppevents, core::mem::transmute(ok__)); + ppevents.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -417,7 +417,7 @@ impl IPortableDeviceCapabilities_Vtbl { let this = (*this).get_impl(); match IPortableDeviceCapabilities_Impl::GetEventOptions(this, core::mem::transmute_copy(&event)) { Ok(ok__) => { - core::ptr::write(ppoptions, core::mem::transmute(ok__)); + ppoptions.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -486,7 +486,7 @@ impl IPortableDeviceConnector_Vtbl { let this = (*this).get_impl(); match IPortableDeviceConnector_Impl::GetPnPID(this) { Ok(ok__) => { - core::ptr::write(ppwszpnpid, core::mem::transmute(ok__)); + ppwszpnpid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -529,7 +529,7 @@ impl IPortableDeviceContent_Vtbl { let this = (*this).get_impl(); match IPortableDeviceContent_Impl::EnumObjects(this, core::mem::transmute_copy(&dwflags), core::mem::transmute(&pszparentobjectid), windows_core::from_raw_borrowed(&pfilter)) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -540,7 +540,7 @@ impl IPortableDeviceContent_Vtbl { let this = (*this).get_impl(); match IPortableDeviceContent_Impl::Properties(this) { Ok(ok__) => { - core::ptr::write(ppproperties, core::mem::transmute(ok__)); + ppproperties.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -551,7 +551,7 @@ impl IPortableDeviceContent_Vtbl { let this = (*this).get_impl(); match IPortableDeviceContent_Impl::Transfer(this) { Ok(ok__) => { - core::ptr::write(ppresources, core::mem::transmute(ok__)); + ppresources.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -577,7 +577,7 @@ impl IPortableDeviceContent_Vtbl { let this = (*this).get_impl(); match IPortableDeviceContent_Impl::GetObjectIDsFromPersistentUniqueIDs(this, windows_core::from_raw_borrowed(&ppersistentuniqueids)) { Ok(ok__) => { - core::ptr::write(ppobjectids, core::mem::transmute(ok__)); + ppobjectids.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -654,7 +654,7 @@ impl IPortableDeviceDataStream_Vtbl { let this = (*this).get_impl(); match IPortableDeviceDataStream_Impl::GetObjectID(this) { Ok(ok__) => { - core::ptr::write(ppszobjectid, core::mem::transmute(ok__)); + ppszobjectid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -689,7 +689,7 @@ impl IPortableDeviceDispatchFactory_Vtbl { let this = (*this).get_impl(); match IPortableDeviceDispatchFactory_Impl::GetDeviceDispatch(this, core::mem::transmute(&pszpnpdeviceid)) { Ok(ok__) => { - core::ptr::write(ppdevicedispatch, core::mem::transmute(ok__)); + ppdevicedispatch.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -863,7 +863,7 @@ impl IPortableDevicePropVariantCollection_Vtbl { let this = (*this).get_impl(); match IPortableDevicePropVariantCollection_Impl::GetType(this) { Ok(ok__) => { - core::ptr::write(pvt, core::mem::transmute(ok__)); + pvt.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -918,7 +918,7 @@ impl IPortableDeviceProperties_Vtbl { let this = (*this).get_impl(); match IPortableDeviceProperties_Impl::GetSupportedProperties(this, core::mem::transmute(&pszobjectid)) { Ok(ok__) => { - core::ptr::write(ppkeys, core::mem::transmute(ok__)); + ppkeys.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -929,7 +929,7 @@ impl IPortableDeviceProperties_Vtbl { let this = (*this).get_impl(); match IPortableDeviceProperties_Impl::GetPropertyAttributes(this, core::mem::transmute(&pszobjectid), core::mem::transmute_copy(&key)) { Ok(ok__) => { - core::ptr::write(ppattributes, core::mem::transmute(ok__)); + ppattributes.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -940,7 +940,7 @@ impl IPortableDeviceProperties_Vtbl { let this = (*this).get_impl(); match IPortableDeviceProperties_Impl::GetValues(this, core::mem::transmute(&pszobjectid), windows_core::from_raw_borrowed(&pkeys)) { Ok(ok__) => { - core::ptr::write(ppvalues, core::mem::transmute(ok__)); + ppvalues.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -951,7 +951,7 @@ impl IPortableDeviceProperties_Vtbl { let this = (*this).get_impl(); match IPortableDeviceProperties_Impl::SetValues(this, core::mem::transmute(&pszobjectid), windows_core::from_raw_borrowed(&pvalues)) { Ok(ok__) => { - core::ptr::write(ppresults, core::mem::transmute(ok__)); + ppresults.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -996,7 +996,7 @@ impl IPortableDevicePropertiesBulk_Vtbl { let this = (*this).get_impl(); match IPortableDevicePropertiesBulk_Impl::QueueGetValuesByObjectList(this, windows_core::from_raw_borrowed(&pobjectids), windows_core::from_raw_borrowed(&pkeys), windows_core::from_raw_borrowed(&pcallback)) { Ok(ok__) => { - core::ptr::write(pcontext, core::mem::transmute(ok__)); + pcontext.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1007,7 +1007,7 @@ impl IPortableDevicePropertiesBulk_Vtbl { let this = (*this).get_impl(); match IPortableDevicePropertiesBulk_Impl::QueueGetValuesByObjectFormat(this, core::mem::transmute_copy(&pguidobjectformat), core::mem::transmute(&pszparentobjectid), core::mem::transmute_copy(&dwdepth), windows_core::from_raw_borrowed(&pkeys), windows_core::from_raw_borrowed(&pcallback)) { Ok(ok__) => { - core::ptr::write(pcontext, core::mem::transmute(ok__)); + pcontext.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1018,7 +1018,7 @@ impl IPortableDevicePropertiesBulk_Vtbl { let this = (*this).get_impl(); match IPortableDevicePropertiesBulk_Impl::QueueSetValuesByObjectList(this, windows_core::from_raw_borrowed(&pobjectvalues), windows_core::from_raw_borrowed(&pcallback)) { Ok(ok__) => { - core::ptr::write(pcontext, core::mem::transmute(ok__)); + pcontext.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1100,7 +1100,7 @@ impl IPortableDeviceResources_Vtbl { let this = (*this).get_impl(); match IPortableDeviceResources_Impl::GetSupportedResources(this, core::mem::transmute(&pszobjectid)) { Ok(ok__) => { - core::ptr::write(ppkeys, core::mem::transmute(ok__)); + ppkeys.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1111,7 +1111,7 @@ impl IPortableDeviceResources_Vtbl { let this = (*this).get_impl(); match IPortableDeviceResources_Impl::GetResourceAttributes(this, core::mem::transmute(&pszobjectid), core::mem::transmute_copy(&key)) { Ok(ok__) => { - core::ptr::write(ppresourceattributes, core::mem::transmute(ok__)); + ppresourceattributes.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1177,7 +1177,7 @@ impl IPortableDeviceService_Vtbl { let this = (*this).get_impl(); match IPortableDeviceService_Impl::Capabilities(this) { Ok(ok__) => { - core::ptr::write(ppcapabilities, core::mem::transmute(ok__)); + ppcapabilities.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1188,7 +1188,7 @@ impl IPortableDeviceService_Vtbl { let this = (*this).get_impl(); match IPortableDeviceService_Impl::Content(this) { Ok(ok__) => { - core::ptr::write(ppcontent, core::mem::transmute(ok__)); + ppcontent.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1199,7 +1199,7 @@ impl IPortableDeviceService_Vtbl { let this = (*this).get_impl(); match IPortableDeviceService_Impl::Methods(this) { Ok(ok__) => { - core::ptr::write(ppmethods, core::mem::transmute(ok__)); + ppmethods.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1220,7 +1220,7 @@ impl IPortableDeviceService_Vtbl { let this = (*this).get_impl(); match IPortableDeviceService_Impl::GetServiceObjectID(this) { Ok(ok__) => { - core::ptr::write(ppszserviceobjectid, core::mem::transmute(ok__)); + ppszserviceobjectid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1231,7 +1231,7 @@ impl IPortableDeviceService_Vtbl { let this = (*this).get_impl(); match IPortableDeviceService_Impl::GetPnPServiceID(this) { Ok(ok__) => { - core::ptr::write(ppszpnpserviceid, core::mem::transmute(ok__)); + ppszpnpserviceid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1242,7 +1242,7 @@ impl IPortableDeviceService_Vtbl { let this = (*this).get_impl(); match IPortableDeviceService_Impl::Advise(this, core::mem::transmute_copy(&dwflags), windows_core::from_raw_borrowed(&pcallback), windows_core::from_raw_borrowed(&pparameters)) { Ok(ok__) => { - core::ptr::write(ppszcookie, core::mem::transmute(ok__)); + ppszcookie.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1258,7 +1258,7 @@ impl IPortableDeviceService_Vtbl { let this = (*this).get_impl(); match IPortableDeviceService_Impl::SendCommand(this, core::mem::transmute_copy(&dwflags), windows_core::from_raw_borrowed(&pparameters)) { Ok(ok__) => { - core::ptr::write(ppresults, core::mem::transmute(ok__)); + ppresults.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1339,7 +1339,7 @@ impl IPortableDeviceServiceCapabilities_Vtbl { let this = (*this).get_impl(); match IPortableDeviceServiceCapabilities_Impl::GetSupportedMethods(this) { Ok(ok__) => { - core::ptr::write(ppmethods, core::mem::transmute(ok__)); + ppmethods.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1350,7 +1350,7 @@ impl IPortableDeviceServiceCapabilities_Vtbl { let this = (*this).get_impl(); match IPortableDeviceServiceCapabilities_Impl::GetSupportedMethodsByFormat(this, core::mem::transmute_copy(&format)) { Ok(ok__) => { - core::ptr::write(ppmethods, core::mem::transmute(ok__)); + ppmethods.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1361,7 +1361,7 @@ impl IPortableDeviceServiceCapabilities_Vtbl { let this = (*this).get_impl(); match IPortableDeviceServiceCapabilities_Impl::GetMethodAttributes(this, core::mem::transmute_copy(&method)) { Ok(ok__) => { - core::ptr::write(ppattributes, core::mem::transmute(ok__)); + ppattributes.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1372,7 +1372,7 @@ impl IPortableDeviceServiceCapabilities_Vtbl { let this = (*this).get_impl(); match IPortableDeviceServiceCapabilities_Impl::GetMethodParameterAttributes(this, core::mem::transmute_copy(&method), core::mem::transmute_copy(¶meter)) { Ok(ok__) => { - core::ptr::write(ppattributes, core::mem::transmute(ok__)); + ppattributes.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1383,7 +1383,7 @@ impl IPortableDeviceServiceCapabilities_Vtbl { let this = (*this).get_impl(); match IPortableDeviceServiceCapabilities_Impl::GetSupportedFormats(this) { Ok(ok__) => { - core::ptr::write(ppformats, core::mem::transmute(ok__)); + ppformats.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1394,7 +1394,7 @@ impl IPortableDeviceServiceCapabilities_Vtbl { let this = (*this).get_impl(); match IPortableDeviceServiceCapabilities_Impl::GetFormatAttributes(this, core::mem::transmute_copy(&format)) { Ok(ok__) => { - core::ptr::write(ppattributes, core::mem::transmute(ok__)); + ppattributes.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1405,7 +1405,7 @@ impl IPortableDeviceServiceCapabilities_Vtbl { let this = (*this).get_impl(); match IPortableDeviceServiceCapabilities_Impl::GetSupportedFormatProperties(this, core::mem::transmute_copy(&format)) { Ok(ok__) => { - core::ptr::write(ppkeys, core::mem::transmute(ok__)); + ppkeys.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1416,7 +1416,7 @@ impl IPortableDeviceServiceCapabilities_Vtbl { let this = (*this).get_impl(); match IPortableDeviceServiceCapabilities_Impl::GetFormatPropertyAttributes(this, core::mem::transmute_copy(&format), core::mem::transmute_copy(&property)) { Ok(ok__) => { - core::ptr::write(ppattributes, core::mem::transmute(ok__)); + ppattributes.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1427,7 +1427,7 @@ impl IPortableDeviceServiceCapabilities_Vtbl { let this = (*this).get_impl(); match IPortableDeviceServiceCapabilities_Impl::GetSupportedEvents(this) { Ok(ok__) => { - core::ptr::write(ppevents, core::mem::transmute(ok__)); + ppevents.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1438,7 +1438,7 @@ impl IPortableDeviceServiceCapabilities_Vtbl { let this = (*this).get_impl(); match IPortableDeviceServiceCapabilities_Impl::GetEventAttributes(this, core::mem::transmute_copy(&event)) { Ok(ok__) => { - core::ptr::write(ppattributes, core::mem::transmute(ok__)); + ppattributes.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1449,7 +1449,7 @@ impl IPortableDeviceServiceCapabilities_Vtbl { let this = (*this).get_impl(); match IPortableDeviceServiceCapabilities_Impl::GetEventParameterAttributes(this, core::mem::transmute_copy(&event), core::mem::transmute_copy(¶meter)) { Ok(ok__) => { - core::ptr::write(ppattributes, core::mem::transmute(ok__)); + ppattributes.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1460,7 +1460,7 @@ impl IPortableDeviceServiceCapabilities_Vtbl { let this = (*this).get_impl(); match IPortableDeviceServiceCapabilities_Impl::GetInheritedServices(this, core::mem::transmute_copy(&dwinheritancetype)) { Ok(ok__) => { - core::ptr::write(ppservices, core::mem::transmute(ok__)); + ppservices.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1471,7 +1471,7 @@ impl IPortableDeviceServiceCapabilities_Vtbl { let this = (*this).get_impl(); match IPortableDeviceServiceCapabilities_Impl::GetFormatRenderingProfiles(this, core::mem::transmute_copy(&format)) { Ok(ok__) => { - core::ptr::write(pprenderingprofiles, core::mem::transmute(ok__)); + pprenderingprofiles.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1482,7 +1482,7 @@ impl IPortableDeviceServiceCapabilities_Vtbl { let this = (*this).get_impl(); match IPortableDeviceServiceCapabilities_Impl::GetSupportedCommands(this) { Ok(ok__) => { - core::ptr::write(ppcommands, core::mem::transmute(ok__)); + ppcommands.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1493,7 +1493,7 @@ impl IPortableDeviceServiceCapabilities_Vtbl { let this = (*this).get_impl(); match IPortableDeviceServiceCapabilities_Impl::GetCommandOptions(this, core::mem::transmute_copy(&command)) { Ok(ok__) => { - core::ptr::write(ppoptions, core::mem::transmute(ok__)); + ppoptions.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1545,7 +1545,7 @@ impl IPortableDeviceServiceManager_Vtbl { let this = (*this).get_impl(); match IPortableDeviceServiceManager_Impl::GetDeviceForService(this, core::mem::transmute(&pszpnpserviceid)) { Ok(ok__) => { - core::ptr::write(ppszpnpdeviceid, core::mem::transmute(ok__)); + ppszpnpdeviceid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1724,7 +1724,7 @@ impl IPortableDeviceValues_Vtbl { let this = (*this).get_impl(); match IPortableDeviceValues_Impl::GetValue(this, core::mem::transmute_copy(&key)) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1740,7 +1740,7 @@ impl IPortableDeviceValues_Vtbl { let this = (*this).get_impl(); match IPortableDeviceValues_Impl::GetStringValue(this, core::mem::transmute_copy(&key)) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1756,7 +1756,7 @@ impl IPortableDeviceValues_Vtbl { let this = (*this).get_impl(); match IPortableDeviceValues_Impl::GetUnsignedIntegerValue(this, core::mem::transmute_copy(&key)) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1772,7 +1772,7 @@ impl IPortableDeviceValues_Vtbl { let this = (*this).get_impl(); match IPortableDeviceValues_Impl::GetSignedIntegerValue(this, core::mem::transmute_copy(&key)) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1788,7 +1788,7 @@ impl IPortableDeviceValues_Vtbl { let this = (*this).get_impl(); match IPortableDeviceValues_Impl::GetUnsignedLargeIntegerValue(this, core::mem::transmute_copy(&key)) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1804,7 +1804,7 @@ impl IPortableDeviceValues_Vtbl { let this = (*this).get_impl(); match IPortableDeviceValues_Impl::GetSignedLargeIntegerValue(this, core::mem::transmute_copy(&key)) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1820,7 +1820,7 @@ impl IPortableDeviceValues_Vtbl { let this = (*this).get_impl(); match IPortableDeviceValues_Impl::GetFloatValue(this, core::mem::transmute_copy(&key)) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1836,7 +1836,7 @@ impl IPortableDeviceValues_Vtbl { let this = (*this).get_impl(); match IPortableDeviceValues_Impl::GetErrorValue(this, core::mem::transmute_copy(&key)) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1862,7 +1862,7 @@ impl IPortableDeviceValues_Vtbl { let this = (*this).get_impl(); match IPortableDeviceValues_Impl::GetBoolValue(this, core::mem::transmute_copy(&key)) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1878,7 +1878,7 @@ impl IPortableDeviceValues_Vtbl { let this = (*this).get_impl(); match IPortableDeviceValues_Impl::GetIUnknownValue(this, core::mem::transmute_copy(&key)) { Ok(ok__) => { - core::ptr::write(ppvalue, core::mem::transmute(ok__)); + ppvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1894,7 +1894,7 @@ impl IPortableDeviceValues_Vtbl { let this = (*this).get_impl(); match IPortableDeviceValues_Impl::GetGuidValue(this, core::mem::transmute_copy(&key)) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1920,7 +1920,7 @@ impl IPortableDeviceValues_Vtbl { let this = (*this).get_impl(); match IPortableDeviceValues_Impl::GetIPortableDeviceValuesValue(this, core::mem::transmute_copy(&key)) { Ok(ok__) => { - core::ptr::write(ppvalue, core::mem::transmute(ok__)); + ppvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1936,7 +1936,7 @@ impl IPortableDeviceValues_Vtbl { let this = (*this).get_impl(); match IPortableDeviceValues_Impl::GetIPortableDevicePropVariantCollectionValue(this, core::mem::transmute_copy(&key)) { Ok(ok__) => { - core::ptr::write(ppvalue, core::mem::transmute(ok__)); + ppvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1952,7 +1952,7 @@ impl IPortableDeviceValues_Vtbl { let this = (*this).get_impl(); match IPortableDeviceValues_Impl::GetIPortableDeviceKeyCollectionValue(this, core::mem::transmute_copy(&key)) { Ok(ok__) => { - core::ptr::write(ppvalue, core::mem::transmute(ok__)); + ppvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1968,7 +1968,7 @@ impl IPortableDeviceValues_Vtbl { let this = (*this).get_impl(); match IPortableDeviceValues_Impl::GetIPortableDeviceValuesCollectionValue(this, core::mem::transmute_copy(&key)) { Ok(ok__) => { - core::ptr::write(ppvalue, core::mem::transmute(ok__)); + ppvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2062,7 +2062,7 @@ impl IPortableDeviceValuesCollection_Vtbl { let this = (*this).get_impl(); match IPortableDeviceValuesCollection_Impl::GetAt(this, core::mem::transmute_copy(&dwindex)) { Ok(ok__) => { - core::ptr::write(ppvalues, core::mem::transmute(ok__)); + ppvalues.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2111,7 +2111,7 @@ impl IPortableDeviceWebControl_Vtbl { let this = (*this).get_impl(); match IPortableDeviceWebControl_Impl::GetDeviceFromId(this, core::mem::transmute(&deviceid)) { Ok(ok__) => { - core::ptr::write(ppdevice, core::mem::transmute(ok__)); + ppdevice.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2149,7 +2149,7 @@ impl IRadioInstance_Vtbl { let this = (*this).get_impl(); match IRadioInstance_Impl::GetRadioManagerSignature(this) { Ok(ok__) => { - core::ptr::write(pguidsignature, core::mem::transmute(ok__)); + pguidsignature.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2160,7 +2160,7 @@ impl IRadioInstance_Vtbl { let this = (*this).get_impl(); match IRadioInstance_Impl::GetInstanceSignature(this) { Ok(ok__) => { - core::ptr::write(pbstrid, core::mem::transmute(ok__)); + pbstrid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2171,7 +2171,7 @@ impl IRadioInstance_Vtbl { let this = (*this).get_impl(); match IRadioInstance_Impl::GetFriendlyName(this, core::mem::transmute_copy(&lcid)) { Ok(ok__) => { - core::ptr::write(pbstrname, core::mem::transmute(ok__)); + pbstrname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2182,7 +2182,7 @@ impl IRadioInstance_Vtbl { let this = (*this).get_impl(); match IRadioInstance_Impl::GetRadioState(this) { Ok(ok__) => { - core::ptr::write(pradiostate, core::mem::transmute(ok__)); + pradiostate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2230,7 +2230,7 @@ impl IRadioInstanceCollection_Vtbl { let this = (*this).get_impl(); match IRadioInstanceCollection_Impl::GetCount(this) { Ok(ok__) => { - core::ptr::write(pcinstance, core::mem::transmute(ok__)); + pcinstance.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2241,7 +2241,7 @@ impl IRadioInstanceCollection_Vtbl { let this = (*this).get_impl(); match IRadioInstanceCollection_Impl::GetAt(this, core::mem::transmute_copy(&uindex)) { Ok(ok__) => { - core::ptr::write(ppradioinstance, core::mem::transmute(ok__)); + ppradioinstance.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2271,7 +2271,7 @@ impl IWpdSerializer_Vtbl { let this = (*this).get_impl(); match IWpdSerializer_Impl::GetIPortableDeviceValuesFromBuffer(this, core::mem::transmute_copy(&pbuffer), core::mem::transmute_copy(&dwinputbufferlength)) { Ok(ok__) => { - core::ptr::write(ppparams, core::mem::transmute(ok__)); + ppparams.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2292,7 +2292,7 @@ impl IWpdSerializer_Vtbl { let this = (*this).get_impl(); match IWpdSerializer_Impl::GetSerializedSize(this, windows_core::from_raw_borrowed(&psource)) { Ok(ok__) => { - core::ptr::write(pdwsize, core::mem::transmute(ok__)); + pdwsize.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/Win32/Devices/Sensors/impl.rs b/crates/libs/windows/src/Windows/Win32/Devices/Sensors/impl.rs index 4c8fedfd22..e2622558be 100644 --- a/crates/libs/windows/src/Windows/Win32/Devices/Sensors/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Devices/Sensors/impl.rs @@ -10,7 +10,7 @@ impl ILocationPermissions_Vtbl { let this = (*this).get_impl(); match ILocationPermissions_Impl::GetGlobalLocationPermission(this) { Ok(ok__) => { - core::ptr::write(pfenabled, core::mem::transmute(ok__)); + pfenabled.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -59,7 +59,7 @@ impl ISensor_Vtbl { let this = (*this).get_impl(); match ISensor_Impl::GetID(this) { Ok(ok__) => { - core::ptr::write(pid, core::mem::transmute(ok__)); + pid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -70,7 +70,7 @@ impl ISensor_Vtbl { let this = (*this).get_impl(); match ISensor_Impl::GetCategory(this) { Ok(ok__) => { - core::ptr::write(psensorcategory, core::mem::transmute(ok__)); + psensorcategory.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -81,7 +81,7 @@ impl ISensor_Vtbl { let this = (*this).get_impl(); match ISensor_Impl::GetType(this) { Ok(ok__) => { - core::ptr::write(psensortype, core::mem::transmute(ok__)); + psensortype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -92,7 +92,7 @@ impl ISensor_Vtbl { let this = (*this).get_impl(); match ISensor_Impl::GetFriendlyName(this) { Ok(ok__) => { - core::ptr::write(pfriendlyname, core::mem::transmute(ok__)); + pfriendlyname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -103,7 +103,7 @@ impl ISensor_Vtbl { let this = (*this).get_impl(); match ISensor_Impl::GetProperty(this, core::mem::transmute_copy(&key)) { Ok(ok__) => { - core::ptr::write(pproperty, core::mem::transmute(ok__)); + pproperty.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -114,7 +114,7 @@ impl ISensor_Vtbl { let this = (*this).get_impl(); match ISensor_Impl::GetProperties(this, windows_core::from_raw_borrowed(&pkeys)) { Ok(ok__) => { - core::ptr::write(ppproperties, core::mem::transmute(ok__)); + ppproperties.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -125,7 +125,7 @@ impl ISensor_Vtbl { let this = (*this).get_impl(); match ISensor_Impl::GetSupportedDataFields(this) { Ok(ok__) => { - core::ptr::write(ppdatafields, core::mem::transmute(ok__)); + ppdatafields.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -136,7 +136,7 @@ impl ISensor_Vtbl { let this = (*this).get_impl(); match ISensor_Impl::SetProperties(this, windows_core::from_raw_borrowed(&pproperties)) { Ok(ok__) => { - core::ptr::write(ppresults, core::mem::transmute(ok__)); + ppresults.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -147,7 +147,7 @@ impl ISensor_Vtbl { let this = (*this).get_impl(); match ISensor_Impl::SupportsDataField(this, core::mem::transmute_copy(&key)) { Ok(ok__) => { - core::ptr::write(pissupported, core::mem::transmute(ok__)); + pissupported.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -158,7 +158,7 @@ impl ISensor_Vtbl { let this = (*this).get_impl(); match ISensor_Impl::GetState(this) { Ok(ok__) => { - core::ptr::write(pstate, core::mem::transmute(ok__)); + pstate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -169,7 +169,7 @@ impl ISensor_Vtbl { let this = (*this).get_impl(); match ISensor_Impl::GetData(this) { Ok(ok__) => { - core::ptr::write(ppdatareport, core::mem::transmute(ok__)); + ppdatareport.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -180,7 +180,7 @@ impl ISensor_Vtbl { let this = (*this).get_impl(); match ISensor_Impl::SupportsEvent(this, core::mem::transmute_copy(&eventguid)) { Ok(ok__) => { - core::ptr::write(pissupported, core::mem::transmute(ok__)); + pissupported.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -240,7 +240,7 @@ impl ISensorCollection_Vtbl { let this = (*this).get_impl(); match ISensorCollection_Impl::GetAt(this, core::mem::transmute_copy(&ulindex)) { Ok(ok__) => { - core::ptr::write(ppsensor, core::mem::transmute(ok__)); + ppsensor.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -251,7 +251,7 @@ impl ISensorCollection_Vtbl { let this = (*this).get_impl(); match ISensorCollection_Impl::GetCount(this) { Ok(ok__) => { - core::ptr::write(pcount, core::mem::transmute(ok__)); + pcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -307,7 +307,7 @@ impl ISensorDataReport_Vtbl { let this = (*this).get_impl(); match ISensorDataReport_Impl::GetTimestamp(this) { Ok(ok__) => { - core::ptr::write(ptimestamp, core::mem::transmute(ok__)); + ptimestamp.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -318,7 +318,7 @@ impl ISensorDataReport_Vtbl { let this = (*this).get_impl(); match ISensorDataReport_Impl::GetSensorValue(this, core::mem::transmute_copy(&pkey)) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -329,7 +329,7 @@ impl ISensorDataReport_Vtbl { let this = (*this).get_impl(); match ISensorDataReport_Impl::GetSensorValues(this, windows_core::from_raw_borrowed(&pkeys)) { Ok(ok__) => { - core::ptr::write(ppvalues, core::mem::transmute(ok__)); + ppvalues.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -405,7 +405,7 @@ impl ISensorManager_Vtbl { let this = (*this).get_impl(); match ISensorManager_Impl::GetSensorsByCategory(this, core::mem::transmute_copy(&sensorcategory)) { Ok(ok__) => { - core::ptr::write(ppsensorsfound, core::mem::transmute(ok__)); + ppsensorsfound.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -416,7 +416,7 @@ impl ISensorManager_Vtbl { let this = (*this).get_impl(); match ISensorManager_Impl::GetSensorsByType(this, core::mem::transmute_copy(&sensortype)) { Ok(ok__) => { - core::ptr::write(ppsensorsfound, core::mem::transmute(ok__)); + ppsensorsfound.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -427,7 +427,7 @@ impl ISensorManager_Vtbl { let this = (*this).get_impl(); match ISensorManager_Impl::GetSensorByID(this, core::mem::transmute_copy(&sensorid)) { Ok(ok__) => { - core::ptr::write(ppsensor, core::mem::transmute(ok__)); + ppsensor.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/Win32/Devices/Tapi/impl.rs b/crates/libs/windows/src/Windows/Win32/Devices/Tapi/impl.rs index 6285a25a44..1177e75264 100644 --- a/crates/libs/windows/src/Windows/Win32/Devices/Tapi/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Devices/Tapi/impl.rs @@ -30,7 +30,7 @@ impl IEnumACDGroup_Vtbl { let this = (*this).get_impl(); match IEnumACDGroup_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -80,7 +80,7 @@ impl IEnumAddress_Vtbl { let this = (*this).get_impl(); match IEnumAddress_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -130,7 +130,7 @@ impl IEnumAgent_Vtbl { let this = (*this).get_impl(); match IEnumAgent_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -180,7 +180,7 @@ impl IEnumAgentHandler_Vtbl { let this = (*this).get_impl(); match IEnumAgentHandler_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -230,7 +230,7 @@ impl IEnumAgentSession_Vtbl { let this = (*this).get_impl(); match IEnumAgentSession_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -277,7 +277,7 @@ impl IEnumBstr_Vtbl { let this = (*this).get_impl(); match IEnumBstr_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -327,7 +327,7 @@ impl IEnumCall_Vtbl { let this = (*this).get_impl(); match IEnumCall_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -377,7 +377,7 @@ impl IEnumCallHub_Vtbl { let this = (*this).get_impl(); match IEnumCallHub_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -427,7 +427,7 @@ impl IEnumCallingCard_Vtbl { let this = (*this).get_impl(); match IEnumCallingCard_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -474,7 +474,7 @@ impl IEnumDialableAddrs_Vtbl { let this = (*this).get_impl(); match IEnumDialableAddrs_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -524,7 +524,7 @@ impl IEnumDirectory_Vtbl { let this = (*this).get_impl(); match IEnumDirectory_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -574,7 +574,7 @@ impl IEnumDirectoryObject_Vtbl { let this = (*this).get_impl(); match IEnumDirectoryObject_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -624,7 +624,7 @@ impl IEnumLocation_Vtbl { let this = (*this).get_impl(); match IEnumLocation_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -674,7 +674,7 @@ impl IEnumMcastScope_Vtbl { let this = (*this).get_impl(); match IEnumMcastScope_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -724,7 +724,7 @@ impl IEnumPhone_Vtbl { let this = (*this).get_impl(); match IEnumPhone_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -774,7 +774,7 @@ impl IEnumPluggableSuperclassInfo_Vtbl { let this = (*this).get_impl(); match IEnumPluggableSuperclassInfo_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -824,7 +824,7 @@ impl IEnumPluggableTerminalClassInfo_Vtbl { let this = (*this).get_impl(); match IEnumPluggableTerminalClassInfo_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -874,7 +874,7 @@ impl IEnumQueue_Vtbl { let this = (*this).get_impl(); match IEnumQueue_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -924,7 +924,7 @@ impl IEnumStream_Vtbl { let this = (*this).get_impl(); match IEnumStream_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -974,7 +974,7 @@ impl IEnumSubStream_Vtbl { let this = (*this).get_impl(); match IEnumSubStream_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1024,7 +1024,7 @@ impl IEnumTerminal_Vtbl { let this = (*this).get_impl(); match IEnumTerminal_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1071,7 +1071,7 @@ impl IEnumTerminalClass_Vtbl { let this = (*this).get_impl(); match IEnumTerminalClass_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1109,7 +1109,7 @@ impl IMcastAddressAllocation_Vtbl { let this = (*this).get_impl(); match IMcastAddressAllocation_Impl::Scopes(this) { Ok(ok__) => { - core::ptr::write(pvariant, core::mem::transmute(ok__)); + pvariant.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1120,7 +1120,7 @@ impl IMcastAddressAllocation_Vtbl { let this = (*this).get_impl(); match IMcastAddressAllocation_Impl::EnumerateScopes(this) { Ok(ok__) => { - core::ptr::write(ppenummcastscope, core::mem::transmute(ok__)); + ppenummcastscope.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1131,7 +1131,7 @@ impl IMcastAddressAllocation_Vtbl { let this = (*this).get_impl(); match IMcastAddressAllocation_Impl::RequestAddress(this, windows_core::from_raw_borrowed(&pscope), core::mem::transmute_copy(&leasestarttime), core::mem::transmute_copy(&leasestoptime), core::mem::transmute_copy(&numaddresses)) { Ok(ok__) => { - core::ptr::write(ppleaseresponse, core::mem::transmute(ok__)); + ppleaseresponse.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1142,7 +1142,7 @@ impl IMcastAddressAllocation_Vtbl { let this = (*this).get_impl(); match IMcastAddressAllocation_Impl::RenewAddress(this, core::mem::transmute_copy(&lreserved), windows_core::from_raw_borrowed(&prenewrequest)) { Ok(ok__) => { - core::ptr::write(pprenewresponse, core::mem::transmute(ok__)); + pprenewresponse.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1158,7 +1158,7 @@ impl IMcastAddressAllocation_Vtbl { let this = (*this).get_impl(); match IMcastAddressAllocation_Impl::CreateLeaseInfo(this, core::mem::transmute_copy(&leasestarttime), core::mem::transmute_copy(&leasestoptime), core::mem::transmute_copy(&dwnumaddresses), core::mem::transmute_copy(&ppaddresses), core::mem::transmute(&prequestid), core::mem::transmute(&pserveraddress)) { Ok(ok__) => { - core::ptr::write(ppreleaserequest, core::mem::transmute(ok__)); + ppreleaserequest.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1169,7 +1169,7 @@ impl IMcastAddressAllocation_Vtbl { let this = (*this).get_impl(); match IMcastAddressAllocation_Impl::CreateLeaseInfoFromVariant(this, core::mem::transmute_copy(&leasestarttime), core::mem::transmute_copy(&leasestoptime), core::mem::transmute(&vaddresses), core::mem::transmute(&prequestid), core::mem::transmute(&pserveraddress)) { Ok(ok__) => { - core::ptr::write(ppreleaserequest, core::mem::transmute(ok__)); + ppreleaserequest.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1213,7 +1213,7 @@ impl IMcastLeaseInfo_Vtbl { let this = (*this).get_impl(); match IMcastLeaseInfo_Impl::RequestID(this) { Ok(ok__) => { - core::ptr::write(pprequestid, core::mem::transmute(ok__)); + pprequestid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1224,7 +1224,7 @@ impl IMcastLeaseInfo_Vtbl { let this = (*this).get_impl(); match IMcastLeaseInfo_Impl::LeaseStartTime(this) { Ok(ok__) => { - core::ptr::write(ptime, core::mem::transmute(ok__)); + ptime.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1240,7 +1240,7 @@ impl IMcastLeaseInfo_Vtbl { let this = (*this).get_impl(); match IMcastLeaseInfo_Impl::LeaseStopTime(this) { Ok(ok__) => { - core::ptr::write(ptime, core::mem::transmute(ok__)); + ptime.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1256,7 +1256,7 @@ impl IMcastLeaseInfo_Vtbl { let this = (*this).get_impl(); match IMcastLeaseInfo_Impl::AddressCount(this) { Ok(ok__) => { - core::ptr::write(pcount, core::mem::transmute(ok__)); + pcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1267,7 +1267,7 @@ impl IMcastLeaseInfo_Vtbl { let this = (*this).get_impl(); match IMcastLeaseInfo_Impl::ServerAddress(this) { Ok(ok__) => { - core::ptr::write(ppaddress, core::mem::transmute(ok__)); + ppaddress.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1278,7 +1278,7 @@ impl IMcastLeaseInfo_Vtbl { let this = (*this).get_impl(); match IMcastLeaseInfo_Impl::TTL(this) { Ok(ok__) => { - core::ptr::write(pttl, core::mem::transmute(ok__)); + pttl.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1289,7 +1289,7 @@ impl IMcastLeaseInfo_Vtbl { let this = (*this).get_impl(); match IMcastLeaseInfo_Impl::Addresses(this) { Ok(ok__) => { - core::ptr::write(pvariant, core::mem::transmute(ok__)); + pvariant.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1300,7 +1300,7 @@ impl IMcastLeaseInfo_Vtbl { let this = (*this).get_impl(); match IMcastLeaseInfo_Impl::EnumerateAddresses(this) { Ok(ok__) => { - core::ptr::write(ppenumaddresses, core::mem::transmute(ok__)); + ppenumaddresses.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1342,7 +1342,7 @@ impl IMcastScope_Vtbl { let this = (*this).get_impl(); match IMcastScope_Impl::ScopeID(this) { Ok(ok__) => { - core::ptr::write(pid, core::mem::transmute(ok__)); + pid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1353,7 +1353,7 @@ impl IMcastScope_Vtbl { let this = (*this).get_impl(); match IMcastScope_Impl::ServerID(this) { Ok(ok__) => { - core::ptr::write(pid, core::mem::transmute(ok__)); + pid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1364,7 +1364,7 @@ impl IMcastScope_Vtbl { let this = (*this).get_impl(); match IMcastScope_Impl::InterfaceID(this) { Ok(ok__) => { - core::ptr::write(pid, core::mem::transmute(ok__)); + pid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1375,7 +1375,7 @@ impl IMcastScope_Vtbl { let this = (*this).get_impl(); match IMcastScope_Impl::ScopeDescription(this) { Ok(ok__) => { - core::ptr::write(ppdescription, core::mem::transmute(ok__)); + ppdescription.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1386,7 +1386,7 @@ impl IMcastScope_Vtbl { let this = (*this).get_impl(); match IMcastScope_Impl::TTL(this) { Ok(ok__) => { - core::ptr::write(pttl, core::mem::transmute(ok__)); + pttl.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1421,7 +1421,7 @@ impl ITACDGroup_Vtbl { let this = (*this).get_impl(); match ITACDGroup_Impl::Name(this) { Ok(ok__) => { - core::ptr::write(ppname, core::mem::transmute(ok__)); + ppname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1432,7 +1432,7 @@ impl ITACDGroup_Vtbl { let this = (*this).get_impl(); match ITACDGroup_Impl::EnumerateQueues(this) { Ok(ok__) => { - core::ptr::write(ppenumqueue, core::mem::transmute(ok__)); + ppenumqueue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1443,7 +1443,7 @@ impl ITACDGroup_Vtbl { let this = (*this).get_impl(); match ITACDGroup_Impl::Queues(this) { Ok(ok__) => { - core::ptr::write(pvariant, core::mem::transmute(ok__)); + pvariant.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1475,7 +1475,7 @@ impl ITACDGroupEvent_Vtbl { let this = (*this).get_impl(); match ITACDGroupEvent_Impl::Group(this) { Ok(ok__) => { - core::ptr::write(ppgroup, core::mem::transmute(ok__)); + ppgroup.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1486,7 +1486,7 @@ impl ITACDGroupEvent_Vtbl { let this = (*this).get_impl(); match ITACDGroupEvent_Impl::Event(this) { Ok(ok__) => { - core::ptr::write(pevent, core::mem::transmute(ok__)); + pevent.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1517,7 +1517,7 @@ impl ITAMMediaFormat_Vtbl { let this = (*this).get_impl(); match ITAMMediaFormat_Impl::MediaFormat(this) { Ok(ok__) => { - core::ptr::write(ppmt, core::mem::transmute(ok__)); + ppmt.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1554,7 +1554,7 @@ impl ITASRTerminalEvent_Vtbl { let this = (*this).get_impl(); match ITASRTerminalEvent_Impl::Terminal(this) { Ok(ok__) => { - core::ptr::write(ppterminal, core::mem::transmute(ok__)); + ppterminal.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1565,7 +1565,7 @@ impl ITASRTerminalEvent_Vtbl { let this = (*this).get_impl(); match ITASRTerminalEvent_Impl::Call(this) { Ok(ok__) => { - core::ptr::write(ppcall, core::mem::transmute(ok__)); + ppcall.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1576,7 +1576,7 @@ impl ITASRTerminalEvent_Vtbl { let this = (*this).get_impl(); match ITASRTerminalEvent_Impl::Error(this) { Ok(ok__) => { - core::ptr::write(phrerrorcode, core::mem::transmute(ok__)); + phrerrorcode.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1621,7 +1621,7 @@ impl ITAddress_Vtbl { let this = (*this).get_impl(); match ITAddress_Impl::State(this) { Ok(ok__) => { - core::ptr::write(paddressstate, core::mem::transmute(ok__)); + paddressstate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1632,7 +1632,7 @@ impl ITAddress_Vtbl { let this = (*this).get_impl(); match ITAddress_Impl::AddressName(this) { Ok(ok__) => { - core::ptr::write(ppname, core::mem::transmute(ok__)); + ppname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1643,7 +1643,7 @@ impl ITAddress_Vtbl { let this = (*this).get_impl(); match ITAddress_Impl::ServiceProviderName(this) { Ok(ok__) => { - core::ptr::write(ppname, core::mem::transmute(ok__)); + ppname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1654,7 +1654,7 @@ impl ITAddress_Vtbl { let this = (*this).get_impl(); match ITAddress_Impl::TAPIObject(this) { Ok(ok__) => { - core::ptr::write(pptapiobject, core::mem::transmute(ok__)); + pptapiobject.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1665,7 +1665,7 @@ impl ITAddress_Vtbl { let this = (*this).get_impl(); match ITAddress_Impl::CreateCall(this, core::mem::transmute(&pdestaddress), core::mem::transmute_copy(&laddresstype), core::mem::transmute_copy(&lmediatypes)) { Ok(ok__) => { - core::ptr::write(ppcall, core::mem::transmute(ok__)); + ppcall.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1676,7 +1676,7 @@ impl ITAddress_Vtbl { let this = (*this).get_impl(); match ITAddress_Impl::Calls(this) { Ok(ok__) => { - core::ptr::write(pvariant, core::mem::transmute(ok__)); + pvariant.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1687,7 +1687,7 @@ impl ITAddress_Vtbl { let this = (*this).get_impl(); match ITAddress_Impl::EnumerateCalls(this) { Ok(ok__) => { - core::ptr::write(ppcallenum, core::mem::transmute(ok__)); + ppcallenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1698,7 +1698,7 @@ impl ITAddress_Vtbl { let this = (*this).get_impl(); match ITAddress_Impl::DialableAddress(this) { Ok(ok__) => { - core::ptr::write(pdialableaddress, core::mem::transmute(ok__)); + pdialableaddress.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1709,7 +1709,7 @@ impl ITAddress_Vtbl { let this = (*this).get_impl(); match ITAddress_Impl::CreateForwardInfoObject(this) { Ok(ok__) => { - core::ptr::write(ppforwardinfo, core::mem::transmute(ok__)); + ppforwardinfo.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1725,7 +1725,7 @@ impl ITAddress_Vtbl { let this = (*this).get_impl(); match ITAddress_Impl::CurrentForwardInfo(this) { Ok(ok__) => { - core::ptr::write(ppforwardinfo, core::mem::transmute(ok__)); + ppforwardinfo.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1741,7 +1741,7 @@ impl ITAddress_Vtbl { let this = (*this).get_impl(); match ITAddress_Impl::MessageWaiting(this) { Ok(ok__) => { - core::ptr::write(pfmessagewaiting, core::mem::transmute(ok__)); + pfmessagewaiting.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1757,7 +1757,7 @@ impl ITAddress_Vtbl { let this = (*this).get_impl(); match ITAddress_Impl::DoNotDisturb(this) { Ok(ok__) => { - core::ptr::write(pfdonotdisturb, core::mem::transmute(ok__)); + pfdonotdisturb.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1809,7 +1809,7 @@ impl ITAddress2_Vtbl { let this = (*this).get_impl(); match ITAddress2_Impl::Phones(this) { Ok(ok__) => { - core::ptr::write(pphones, core::mem::transmute(ok__)); + pphones.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1820,7 +1820,7 @@ impl ITAddress2_Vtbl { let this = (*this).get_impl(); match ITAddress2_Impl::EnumeratePhones(this) { Ok(ok__) => { - core::ptr::write(ppenumphone, core::mem::transmute(ok__)); + ppenumphone.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1831,7 +1831,7 @@ impl ITAddress2_Vtbl { let this = (*this).get_impl(); match ITAddress2_Impl::GetPhoneFromTerminal(this, windows_core::from_raw_borrowed(&pterminal)) { Ok(ok__) => { - core::ptr::write(ppphone, core::mem::transmute(ok__)); + ppphone.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1842,7 +1842,7 @@ impl ITAddress2_Vtbl { let this = (*this).get_impl(); match ITAddress2_Impl::PreferredPhones(this) { Ok(ok__) => { - core::ptr::write(pphones, core::mem::transmute(ok__)); + pphones.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1853,7 +1853,7 @@ impl ITAddress2_Vtbl { let this = (*this).get_impl(); match ITAddress2_Impl::EnumeratePreferredPhones(this) { Ok(ok__) => { - core::ptr::write(ppenumphone, core::mem::transmute(ok__)); + ppenumphone.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1864,7 +1864,7 @@ impl ITAddress2_Vtbl { let this = (*this).get_impl(); match ITAddress2_Impl::get_EventFilter(this, core::mem::transmute_copy(&tapievent), core::mem::transmute_copy(&lsubevent)) { Ok(ok__) => { - core::ptr::write(penable, core::mem::transmute(ok__)); + penable.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1890,7 +1890,7 @@ impl ITAddress2_Vtbl { let this = (*this).get_impl(); match ITAddress2_Impl::NegotiateExtVersion(this, core::mem::transmute_copy(&llowversion), core::mem::transmute_copy(&lhighversion)) { Ok(ok__) => { - core::ptr::write(plextversion, core::mem::transmute(ok__)); + plextversion.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1935,7 +1935,7 @@ impl ITAddressCapabilities_Vtbl { let this = (*this).get_impl(); match ITAddressCapabilities_Impl::get_AddressCapability(this, core::mem::transmute_copy(&addresscap)) { Ok(ok__) => { - core::ptr::write(plcapability, core::mem::transmute(ok__)); + plcapability.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1946,7 +1946,7 @@ impl ITAddressCapabilities_Vtbl { let this = (*this).get_impl(); match ITAddressCapabilities_Impl::get_AddressCapabilityString(this, core::mem::transmute_copy(&addresscapstring)) { Ok(ok__) => { - core::ptr::write(ppcapabilitystring, core::mem::transmute(ok__)); + ppcapabilitystring.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1957,7 +1957,7 @@ impl ITAddressCapabilities_Vtbl { let this = (*this).get_impl(); match ITAddressCapabilities_Impl::CallTreatments(this) { Ok(ok__) => { - core::ptr::write(pvariant, core::mem::transmute(ok__)); + pvariant.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1968,7 +1968,7 @@ impl ITAddressCapabilities_Vtbl { let this = (*this).get_impl(); match ITAddressCapabilities_Impl::EnumerateCallTreatments(this) { Ok(ok__) => { - core::ptr::write(ppenumcalltreatment, core::mem::transmute(ok__)); + ppenumcalltreatment.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1979,7 +1979,7 @@ impl ITAddressCapabilities_Vtbl { let this = (*this).get_impl(); match ITAddressCapabilities_Impl::CompletionMessages(this) { Ok(ok__) => { - core::ptr::write(pvariant, core::mem::transmute(ok__)); + pvariant.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1990,7 +1990,7 @@ impl ITAddressCapabilities_Vtbl { let this = (*this).get_impl(); match ITAddressCapabilities_Impl::EnumerateCompletionMessages(this) { Ok(ok__) => { - core::ptr::write(ppenumcompletionmessage, core::mem::transmute(ok__)); + ppenumcompletionmessage.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2001,7 +2001,7 @@ impl ITAddressCapabilities_Vtbl { let this = (*this).get_impl(); match ITAddressCapabilities_Impl::DeviceClasses(this) { Ok(ok__) => { - core::ptr::write(pvariant, core::mem::transmute(ok__)); + pvariant.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2012,7 +2012,7 @@ impl ITAddressCapabilities_Vtbl { let this = (*this).get_impl(); match ITAddressCapabilities_Impl::EnumerateDeviceClasses(this) { Ok(ok__) => { - core::ptr::write(ppenumdeviceclass, core::mem::transmute(ok__)); + ppenumdeviceclass.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2052,7 +2052,7 @@ impl ITAddressDeviceSpecificEvent_Vtbl { let this = (*this).get_impl(); match ITAddressDeviceSpecificEvent_Impl::Address(this) { Ok(ok__) => { - core::ptr::write(ppaddress, core::mem::transmute(ok__)); + ppaddress.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2063,7 +2063,7 @@ impl ITAddressDeviceSpecificEvent_Vtbl { let this = (*this).get_impl(); match ITAddressDeviceSpecificEvent_Impl::Call(this) { Ok(ok__) => { - core::ptr::write(ppcall, core::mem::transmute(ok__)); + ppcall.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2074,7 +2074,7 @@ impl ITAddressDeviceSpecificEvent_Vtbl { let this = (*this).get_impl(); match ITAddressDeviceSpecificEvent_Impl::lParam1(this) { Ok(ok__) => { - core::ptr::write(pparam1, core::mem::transmute(ok__)); + pparam1.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2085,7 +2085,7 @@ impl ITAddressDeviceSpecificEvent_Vtbl { let this = (*this).get_impl(); match ITAddressDeviceSpecificEvent_Impl::lParam2(this) { Ok(ok__) => { - core::ptr::write(pparam2, core::mem::transmute(ok__)); + pparam2.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2096,7 +2096,7 @@ impl ITAddressDeviceSpecificEvent_Vtbl { let this = (*this).get_impl(); match ITAddressDeviceSpecificEvent_Impl::lParam3(this) { Ok(ok__) => { - core::ptr::write(pparam3, core::mem::transmute(ok__)); + pparam3.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2131,7 +2131,7 @@ impl ITAddressEvent_Vtbl { let this = (*this).get_impl(); match ITAddressEvent_Impl::Address(this) { Ok(ok__) => { - core::ptr::write(ppaddress, core::mem::transmute(ok__)); + ppaddress.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2142,7 +2142,7 @@ impl ITAddressEvent_Vtbl { let this = (*this).get_impl(); match ITAddressEvent_Impl::Event(this) { Ok(ok__) => { - core::ptr::write(pevent, core::mem::transmute(ok__)); + pevent.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2153,7 +2153,7 @@ impl ITAddressEvent_Vtbl { let this = (*this).get_impl(); match ITAddressEvent_Impl::Terminal(this) { Ok(ok__) => { - core::ptr::write(ppterminal, core::mem::transmute(ok__)); + ppterminal.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2189,7 +2189,7 @@ impl ITAddressTranslation_Vtbl { let this = (*this).get_impl(); match ITAddressTranslation_Impl::TranslateAddress(this, core::mem::transmute(&paddresstotranslate), core::mem::transmute_copy(&lcard), core::mem::transmute_copy(<ranslateoptions)) { Ok(ok__) => { - core::ptr::write(pptranslated, core::mem::transmute(ok__)); + pptranslated.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2205,7 +2205,7 @@ impl ITAddressTranslation_Vtbl { let this = (*this).get_impl(); match ITAddressTranslation_Impl::EnumerateLocations(this) { Ok(ok__) => { - core::ptr::write(ppenumlocation, core::mem::transmute(ok__)); + ppenumlocation.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2216,7 +2216,7 @@ impl ITAddressTranslation_Vtbl { let this = (*this).get_impl(); match ITAddressTranslation_Impl::Locations(this) { Ok(ok__) => { - core::ptr::write(pvariant, core::mem::transmute(ok__)); + pvariant.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2227,7 +2227,7 @@ impl ITAddressTranslation_Vtbl { let this = (*this).get_impl(); match ITAddressTranslation_Impl::EnumerateCallingCards(this) { Ok(ok__) => { - core::ptr::write(ppenumcallingcard, core::mem::transmute(ok__)); + ppenumcallingcard.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2238,7 +2238,7 @@ impl ITAddressTranslation_Vtbl { let this = (*this).get_impl(); match ITAddressTranslation_Impl::CallingCards(this) { Ok(ok__) => { - core::ptr::write(pvariant, core::mem::transmute(ok__)); + pvariant.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2276,7 +2276,7 @@ impl ITAddressTranslationInfo_Vtbl { let this = (*this).get_impl(); match ITAddressTranslationInfo_Impl::DialableString(this) { Ok(ok__) => { - core::ptr::write(ppdialablestring, core::mem::transmute(ok__)); + ppdialablestring.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2287,7 +2287,7 @@ impl ITAddressTranslationInfo_Vtbl { let this = (*this).get_impl(); match ITAddressTranslationInfo_Impl::DisplayableString(this) { Ok(ok__) => { - core::ptr::write(ppdisplayablestring, core::mem::transmute(ok__)); + ppdisplayablestring.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2298,7 +2298,7 @@ impl ITAddressTranslationInfo_Vtbl { let this = (*this).get_impl(); match ITAddressTranslationInfo_Impl::CurrentCountryCode(this) { Ok(ok__) => { - core::ptr::write(countrycode, core::mem::transmute(ok__)); + countrycode.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2309,7 +2309,7 @@ impl ITAddressTranslationInfo_Vtbl { let this = (*this).get_impl(); match ITAddressTranslationInfo_Impl::DestinationCountryCode(this) { Ok(ok__) => { - core::ptr::write(countrycode, core::mem::transmute(ok__)); + countrycode.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2320,7 +2320,7 @@ impl ITAddressTranslationInfo_Vtbl { let this = (*this).get_impl(); match ITAddressTranslationInfo_Impl::TranslationResults(this) { Ok(ok__) => { - core::ptr::write(plresults, core::mem::transmute(ok__)); + plresults.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2369,7 +2369,7 @@ impl ITAgent_Vtbl { let this = (*this).get_impl(); match ITAgent_Impl::EnumerateAgentSessions(this) { Ok(ok__) => { - core::ptr::write(ppenumagentsession, core::mem::transmute(ok__)); + ppenumagentsession.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2380,7 +2380,7 @@ impl ITAgent_Vtbl { let this = (*this).get_impl(); match ITAgent_Impl::CreateSession(this, windows_core::from_raw_borrowed(&pacdgroup), windows_core::from_raw_borrowed(&paddress)) { Ok(ok__) => { - core::ptr::write(ppagentsession, core::mem::transmute(ok__)); + ppagentsession.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2391,7 +2391,7 @@ impl ITAgent_Vtbl { let this = (*this).get_impl(); match ITAgent_Impl::CreateSessionWithPIN(this, windows_core::from_raw_borrowed(&pacdgroup), windows_core::from_raw_borrowed(&paddress), core::mem::transmute(&ppin)) { Ok(ok__) => { - core::ptr::write(ppagentsession, core::mem::transmute(ok__)); + ppagentsession.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2402,7 +2402,7 @@ impl ITAgent_Vtbl { let this = (*this).get_impl(); match ITAgent_Impl::ID(this) { Ok(ok__) => { - core::ptr::write(ppid, core::mem::transmute(ok__)); + ppid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2413,7 +2413,7 @@ impl ITAgent_Vtbl { let this = (*this).get_impl(); match ITAgent_Impl::User(this) { Ok(ok__) => { - core::ptr::write(ppuser, core::mem::transmute(ok__)); + ppuser.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2429,7 +2429,7 @@ impl ITAgent_Vtbl { let this = (*this).get_impl(); match ITAgent_Impl::State(this) { Ok(ok__) => { - core::ptr::write(pagentstate, core::mem::transmute(ok__)); + pagentstate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2445,7 +2445,7 @@ impl ITAgent_Vtbl { let this = (*this).get_impl(); match ITAgent_Impl::MeasurementPeriod(this) { Ok(ok__) => { - core::ptr::write(plperiod, core::mem::transmute(ok__)); + plperiod.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2456,7 +2456,7 @@ impl ITAgent_Vtbl { let this = (*this).get_impl(); match ITAgent_Impl::OverallCallRate(this) { Ok(ok__) => { - core::ptr::write(pcycallrate, core::mem::transmute(ok__)); + pcycallrate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2467,7 +2467,7 @@ impl ITAgent_Vtbl { let this = (*this).get_impl(); match ITAgent_Impl::NumberOfACDCalls(this) { Ok(ok__) => { - core::ptr::write(plcalls, core::mem::transmute(ok__)); + plcalls.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2478,7 +2478,7 @@ impl ITAgent_Vtbl { let this = (*this).get_impl(); match ITAgent_Impl::NumberOfIncomingCalls(this) { Ok(ok__) => { - core::ptr::write(plcalls, core::mem::transmute(ok__)); + plcalls.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2489,7 +2489,7 @@ impl ITAgent_Vtbl { let this = (*this).get_impl(); match ITAgent_Impl::NumberOfOutgoingCalls(this) { Ok(ok__) => { - core::ptr::write(plcalls, core::mem::transmute(ok__)); + plcalls.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2500,7 +2500,7 @@ impl ITAgent_Vtbl { let this = (*this).get_impl(); match ITAgent_Impl::TotalACDTalkTime(this) { Ok(ok__) => { - core::ptr::write(pltalktime, core::mem::transmute(ok__)); + pltalktime.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2511,7 +2511,7 @@ impl ITAgent_Vtbl { let this = (*this).get_impl(); match ITAgent_Impl::TotalACDCallTime(this) { Ok(ok__) => { - core::ptr::write(plcalltime, core::mem::transmute(ok__)); + plcalltime.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2522,7 +2522,7 @@ impl ITAgent_Vtbl { let this = (*this).get_impl(); match ITAgent_Impl::TotalWrapUpTime(this) { Ok(ok__) => { - core::ptr::write(plwrapuptime, core::mem::transmute(ok__)); + plwrapuptime.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2533,7 +2533,7 @@ impl ITAgent_Vtbl { let this = (*this).get_impl(); match ITAgent_Impl::AgentSessions(this) { Ok(ok__) => { - core::ptr::write(pvariant, core::mem::transmute(ok__)); + pvariant.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2579,7 +2579,7 @@ impl ITAgentEvent_Vtbl { let this = (*this).get_impl(); match ITAgentEvent_Impl::Agent(this) { Ok(ok__) => { - core::ptr::write(ppagent, core::mem::transmute(ok__)); + ppagent.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2590,7 +2590,7 @@ impl ITAgentEvent_Vtbl { let this = (*this).get_impl(); match ITAgentEvent_Impl::Event(this) { Ok(ok__) => { - core::ptr::write(pevent, core::mem::transmute(ok__)); + pevent.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2626,7 +2626,7 @@ impl ITAgentHandler_Vtbl { let this = (*this).get_impl(); match ITAgentHandler_Impl::Name(this) { Ok(ok__) => { - core::ptr::write(ppname, core::mem::transmute(ok__)); + ppname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2637,7 +2637,7 @@ impl ITAgentHandler_Vtbl { let this = (*this).get_impl(); match ITAgentHandler_Impl::CreateAgent(this) { Ok(ok__) => { - core::ptr::write(ppagent, core::mem::transmute(ok__)); + ppagent.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2648,7 +2648,7 @@ impl ITAgentHandler_Vtbl { let this = (*this).get_impl(); match ITAgentHandler_Impl::CreateAgentWithID(this, core::mem::transmute(&pid), core::mem::transmute(&ppin)) { Ok(ok__) => { - core::ptr::write(ppagent, core::mem::transmute(ok__)); + ppagent.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2659,7 +2659,7 @@ impl ITAgentHandler_Vtbl { let this = (*this).get_impl(); match ITAgentHandler_Impl::EnumerateACDGroups(this) { Ok(ok__) => { - core::ptr::write(ppenumacdgroup, core::mem::transmute(ok__)); + ppenumacdgroup.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2670,7 +2670,7 @@ impl ITAgentHandler_Vtbl { let this = (*this).get_impl(); match ITAgentHandler_Impl::EnumerateUsableAddresses(this) { Ok(ok__) => { - core::ptr::write(ppenumaddress, core::mem::transmute(ok__)); + ppenumaddress.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2681,7 +2681,7 @@ impl ITAgentHandler_Vtbl { let this = (*this).get_impl(); match ITAgentHandler_Impl::ACDGroups(this) { Ok(ok__) => { - core::ptr::write(pvariant, core::mem::transmute(ok__)); + pvariant.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2692,7 +2692,7 @@ impl ITAgentHandler_Vtbl { let this = (*this).get_impl(); match ITAgentHandler_Impl::UsableAddresses(this) { Ok(ok__) => { - core::ptr::write(pvariant, core::mem::transmute(ok__)); + pvariant.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2728,7 +2728,7 @@ impl ITAgentHandlerEvent_Vtbl { let this = (*this).get_impl(); match ITAgentHandlerEvent_Impl::AgentHandler(this) { Ok(ok__) => { - core::ptr::write(ppagenthandler, core::mem::transmute(ok__)); + ppagenthandler.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2739,7 +2739,7 @@ impl ITAgentHandlerEvent_Vtbl { let this = (*this).get_impl(); match ITAgentHandlerEvent_Impl::Event(this) { Ok(ok__) => { - core::ptr::write(pevent, core::mem::transmute(ok__)); + pevent.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2785,7 +2785,7 @@ impl ITAgentSession_Vtbl { let this = (*this).get_impl(); match ITAgentSession_Impl::Agent(this) { Ok(ok__) => { - core::ptr::write(ppagent, core::mem::transmute(ok__)); + ppagent.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2796,7 +2796,7 @@ impl ITAgentSession_Vtbl { let this = (*this).get_impl(); match ITAgentSession_Impl::Address(this) { Ok(ok__) => { - core::ptr::write(ppaddress, core::mem::transmute(ok__)); + ppaddress.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2807,7 +2807,7 @@ impl ITAgentSession_Vtbl { let this = (*this).get_impl(); match ITAgentSession_Impl::ACDGroup(this) { Ok(ok__) => { - core::ptr::write(ppacdgroup, core::mem::transmute(ok__)); + ppacdgroup.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2823,7 +2823,7 @@ impl ITAgentSession_Vtbl { let this = (*this).get_impl(); match ITAgentSession_Impl::State(this) { Ok(ok__) => { - core::ptr::write(psessionstate, core::mem::transmute(ok__)); + psessionstate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2834,7 +2834,7 @@ impl ITAgentSession_Vtbl { let this = (*this).get_impl(); match ITAgentSession_Impl::SessionStartTime(this) { Ok(ok__) => { - core::ptr::write(pdatesessionstart, core::mem::transmute(ok__)); + pdatesessionstart.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2845,7 +2845,7 @@ impl ITAgentSession_Vtbl { let this = (*this).get_impl(); match ITAgentSession_Impl::SessionDuration(this) { Ok(ok__) => { - core::ptr::write(plduration, core::mem::transmute(ok__)); + plduration.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2856,7 +2856,7 @@ impl ITAgentSession_Vtbl { let this = (*this).get_impl(); match ITAgentSession_Impl::NumberOfCalls(this) { Ok(ok__) => { - core::ptr::write(plcalls, core::mem::transmute(ok__)); + plcalls.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2867,7 +2867,7 @@ impl ITAgentSession_Vtbl { let this = (*this).get_impl(); match ITAgentSession_Impl::TotalTalkTime(this) { Ok(ok__) => { - core::ptr::write(pltalktime, core::mem::transmute(ok__)); + pltalktime.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2878,7 +2878,7 @@ impl ITAgentSession_Vtbl { let this = (*this).get_impl(); match ITAgentSession_Impl::AverageTalkTime(this) { Ok(ok__) => { - core::ptr::write(pltalktime, core::mem::transmute(ok__)); + pltalktime.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2889,7 +2889,7 @@ impl ITAgentSession_Vtbl { let this = (*this).get_impl(); match ITAgentSession_Impl::TotalCallTime(this) { Ok(ok__) => { - core::ptr::write(plcalltime, core::mem::transmute(ok__)); + plcalltime.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2900,7 +2900,7 @@ impl ITAgentSession_Vtbl { let this = (*this).get_impl(); match ITAgentSession_Impl::AverageCallTime(this) { Ok(ok__) => { - core::ptr::write(plcalltime, core::mem::transmute(ok__)); + plcalltime.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2911,7 +2911,7 @@ impl ITAgentSession_Vtbl { let this = (*this).get_impl(); match ITAgentSession_Impl::TotalWrapUpTime(this) { Ok(ok__) => { - core::ptr::write(plwrapuptime, core::mem::transmute(ok__)); + plwrapuptime.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2922,7 +2922,7 @@ impl ITAgentSession_Vtbl { let this = (*this).get_impl(); match ITAgentSession_Impl::AverageWrapUpTime(this) { Ok(ok__) => { - core::ptr::write(plwrapuptime, core::mem::transmute(ok__)); + plwrapuptime.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2933,7 +2933,7 @@ impl ITAgentSession_Vtbl { let this = (*this).get_impl(); match ITAgentSession_Impl::ACDCallRate(this) { Ok(ok__) => { - core::ptr::write(pcycallrate, core::mem::transmute(ok__)); + pcycallrate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2944,7 +2944,7 @@ impl ITAgentSession_Vtbl { let this = (*this).get_impl(); match ITAgentSession_Impl::LongestTimeToAnswer(this) { Ok(ok__) => { - core::ptr::write(planswertime, core::mem::transmute(ok__)); + planswertime.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2955,7 +2955,7 @@ impl ITAgentSession_Vtbl { let this = (*this).get_impl(); match ITAgentSession_Impl::AverageTimeToAnswer(this) { Ok(ok__) => { - core::ptr::write(planswertime, core::mem::transmute(ok__)); + planswertime.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3001,7 +3001,7 @@ impl ITAgentSessionEvent_Vtbl { let this = (*this).get_impl(); match ITAgentSessionEvent_Impl::Session(this) { Ok(ok__) => { - core::ptr::write(ppsession, core::mem::transmute(ok__)); + ppsession.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3012,7 +3012,7 @@ impl ITAgentSessionEvent_Vtbl { let this = (*this).get_impl(); match ITAgentSessionEvent_Impl::Event(this) { Ok(ok__) => { - core::ptr::write(pevent, core::mem::transmute(ok__)); + pevent.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3052,7 +3052,7 @@ impl ITAllocatorProperties_Vtbl { let this = (*this).get_impl(); match ITAllocatorProperties_Impl::GetAllocatorProperties(this) { Ok(ok__) => { - core::ptr::write(pallocproperties, core::mem::transmute(ok__)); + pallocproperties.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3068,7 +3068,7 @@ impl ITAllocatorProperties_Vtbl { let this = (*this).get_impl(); match ITAllocatorProperties_Impl::GetAllocateBuffers(this) { Ok(ok__) => { - core::ptr::write(pballocbuffers, core::mem::transmute(ok__)); + pballocbuffers.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3084,7 +3084,7 @@ impl ITAllocatorProperties_Vtbl { let this = (*this).get_impl(); match ITAllocatorProperties_Impl::GetBufferSize(this) { Ok(ok__) => { - core::ptr::write(pbuffersize, core::mem::transmute(ok__)); + pbuffersize.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3159,7 +3159,7 @@ impl ITAutomatedPhoneControl_Vtbl { let this = (*this).get_impl(); match ITAutomatedPhoneControl_Impl::Tone(this) { Ok(ok__) => { - core::ptr::write(ptone, core::mem::transmute(ok__)); + ptone.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3180,7 +3180,7 @@ impl ITAutomatedPhoneControl_Vtbl { let this = (*this).get_impl(); match ITAutomatedPhoneControl_Impl::Ringer(this) { Ok(ok__) => { - core::ptr::write(pfringing, core::mem::transmute(ok__)); + pfringing.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3196,7 +3196,7 @@ impl ITAutomatedPhoneControl_Vtbl { let this = (*this).get_impl(); match ITAutomatedPhoneControl_Impl::PhoneHandlingEnabled(this) { Ok(ok__) => { - core::ptr::write(pfenabled, core::mem::transmute(ok__)); + pfenabled.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3212,7 +3212,7 @@ impl ITAutomatedPhoneControl_Vtbl { let this = (*this).get_impl(); match ITAutomatedPhoneControl_Impl::AutoEndOfNumberTimeout(this) { Ok(ok__) => { - core::ptr::write(pltimeout, core::mem::transmute(ok__)); + pltimeout.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3228,7 +3228,7 @@ impl ITAutomatedPhoneControl_Vtbl { let this = (*this).get_impl(); match ITAutomatedPhoneControl_Impl::AutoDialtone(this) { Ok(ok__) => { - core::ptr::write(pfenabled, core::mem::transmute(ok__)); + pfenabled.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3244,7 +3244,7 @@ impl ITAutomatedPhoneControl_Vtbl { let this = (*this).get_impl(); match ITAutomatedPhoneControl_Impl::AutoStopTonesOnOnHook(this) { Ok(ok__) => { - core::ptr::write(pfenabled, core::mem::transmute(ok__)); + pfenabled.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3260,7 +3260,7 @@ impl ITAutomatedPhoneControl_Vtbl { let this = (*this).get_impl(); match ITAutomatedPhoneControl_Impl::AutoStopRingOnOffHook(this) { Ok(ok__) => { - core::ptr::write(pfenabled, core::mem::transmute(ok__)); + pfenabled.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3276,7 +3276,7 @@ impl ITAutomatedPhoneControl_Vtbl { let this = (*this).get_impl(); match ITAutomatedPhoneControl_Impl::AutoKeypadTones(this) { Ok(ok__) => { - core::ptr::write(pfenabled, core::mem::transmute(ok__)); + pfenabled.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3292,7 +3292,7 @@ impl ITAutomatedPhoneControl_Vtbl { let this = (*this).get_impl(); match ITAutomatedPhoneControl_Impl::AutoKeypadTonesMinimumDuration(this) { Ok(ok__) => { - core::ptr::write(plduration, core::mem::transmute(ok__)); + plduration.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3308,7 +3308,7 @@ impl ITAutomatedPhoneControl_Vtbl { let this = (*this).get_impl(); match ITAutomatedPhoneControl_Impl::AutoVolumeControl(this) { Ok(ok__) => { - core::ptr::write(fenabled, core::mem::transmute(ok__)); + fenabled.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3324,7 +3324,7 @@ impl ITAutomatedPhoneControl_Vtbl { let this = (*this).get_impl(); match ITAutomatedPhoneControl_Impl::AutoVolumeControlStep(this) { Ok(ok__) => { - core::ptr::write(plstepsize, core::mem::transmute(ok__)); + plstepsize.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3340,7 +3340,7 @@ impl ITAutomatedPhoneControl_Vtbl { let this = (*this).get_impl(); match ITAutomatedPhoneControl_Impl::AutoVolumeControlRepeatDelay(this) { Ok(ok__) => { - core::ptr::write(pldelay, core::mem::transmute(ok__)); + pldelay.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3356,7 +3356,7 @@ impl ITAutomatedPhoneControl_Vtbl { let this = (*this).get_impl(); match ITAutomatedPhoneControl_Impl::AutoVolumeControlRepeatPeriod(this) { Ok(ok__) => { - core::ptr::write(plperiod, core::mem::transmute(ok__)); + plperiod.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3377,7 +3377,7 @@ impl ITAutomatedPhoneControl_Vtbl { let this = (*this).get_impl(); match ITAutomatedPhoneControl_Impl::EnumerateSelectedCalls(this) { Ok(ok__) => { - core::ptr::write(ppcallenum, core::mem::transmute(ok__)); + ppcallenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3388,7 +3388,7 @@ impl ITAutomatedPhoneControl_Vtbl { let this = (*this).get_impl(); match ITAutomatedPhoneControl_Impl::SelectedCalls(this) { Ok(ok__) => { - core::ptr::write(pvariant, core::mem::transmute(ok__)); + pvariant.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3456,7 +3456,7 @@ impl ITBasicAudioTerminal_Vtbl { let this = (*this).get_impl(); match ITBasicAudioTerminal_Impl::Volume(this) { Ok(ok__) => { - core::ptr::write(plvolume, core::mem::transmute(ok__)); + plvolume.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3472,7 +3472,7 @@ impl ITBasicAudioTerminal_Vtbl { let this = (*this).get_impl(); match ITBasicAudioTerminal_Impl::Balance(this) { Ok(ok__) => { - core::ptr::write(plbalance, core::mem::transmute(ok__)); + plbalance.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3576,7 +3576,7 @@ impl ITBasicCallControl_Vtbl { let this = (*this).get_impl(); match ITBasicCallControl_Impl::ParkIndirect(this) { Ok(ok__) => { - core::ptr::write(ppnondiraddress, core::mem::transmute(ok__)); + ppnondiraddress.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3654,7 +3654,7 @@ impl ITBasicCallControl2_Vtbl { let this = (*this).get_impl(); match ITBasicCallControl2_Impl::RequestTerminal(this, core::mem::transmute(&bstrterminalclassguid), core::mem::transmute_copy(&lmediatype), core::mem::transmute_copy(&direction)) { Ok(ok__) => { - core::ptr::write(ppterminal, core::mem::transmute(ok__)); + ppterminal.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3704,7 +3704,7 @@ impl ITCallHub_Vtbl { let this = (*this).get_impl(); match ITCallHub_Impl::EnumerateCalls(this) { Ok(ok__) => { - core::ptr::write(ppenumcall, core::mem::transmute(ok__)); + ppenumcall.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3715,7 +3715,7 @@ impl ITCallHub_Vtbl { let this = (*this).get_impl(); match ITCallHub_Impl::Calls(this) { Ok(ok__) => { - core::ptr::write(pcalls, core::mem::transmute(ok__)); + pcalls.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3726,7 +3726,7 @@ impl ITCallHub_Vtbl { let this = (*this).get_impl(); match ITCallHub_Impl::NumCalls(this) { Ok(ok__) => { - core::ptr::write(plcalls, core::mem::transmute(ok__)); + plcalls.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3737,7 +3737,7 @@ impl ITCallHub_Vtbl { let this = (*this).get_impl(); match ITCallHub_Impl::State(this) { Ok(ok__) => { - core::ptr::write(pstate, core::mem::transmute(ok__)); + pstate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3772,7 +3772,7 @@ impl ITCallHubEvent_Vtbl { let this = (*this).get_impl(); match ITCallHubEvent_Impl::Event(this) { Ok(ok__) => { - core::ptr::write(pevent, core::mem::transmute(ok__)); + pevent.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3783,7 +3783,7 @@ impl ITCallHubEvent_Vtbl { let this = (*this).get_impl(); match ITCallHubEvent_Impl::CallHub(this) { Ok(ok__) => { - core::ptr::write(ppcallhub, core::mem::transmute(ok__)); + ppcallhub.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3794,7 +3794,7 @@ impl ITCallHubEvent_Vtbl { let this = (*this).get_impl(); match ITCallHubEvent_Impl::Call(this) { Ok(ok__) => { - core::ptr::write(ppcall, core::mem::transmute(ok__)); + ppcall.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3837,7 +3837,7 @@ impl ITCallInfo_Vtbl { let this = (*this).get_impl(); match ITCallInfo_Impl::Address(this) { Ok(ok__) => { - core::ptr::write(ppaddress, core::mem::transmute(ok__)); + ppaddress.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3848,7 +3848,7 @@ impl ITCallInfo_Vtbl { let this = (*this).get_impl(); match ITCallInfo_Impl::CallState(this) { Ok(ok__) => { - core::ptr::write(pcallstate, core::mem::transmute(ok__)); + pcallstate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3859,7 +3859,7 @@ impl ITCallInfo_Vtbl { let this = (*this).get_impl(); match ITCallInfo_Impl::Privilege(this) { Ok(ok__) => { - core::ptr::write(pprivilege, core::mem::transmute(ok__)); + pprivilege.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3870,7 +3870,7 @@ impl ITCallInfo_Vtbl { let this = (*this).get_impl(); match ITCallInfo_Impl::CallHub(this) { Ok(ok__) => { - core::ptr::write(ppcallhub, core::mem::transmute(ok__)); + ppcallhub.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3881,7 +3881,7 @@ impl ITCallInfo_Vtbl { let this = (*this).get_impl(); match ITCallInfo_Impl::get_CallInfoLong(this, core::mem::transmute_copy(&callinfolong)) { Ok(ok__) => { - core::ptr::write(plcallinfolongval, core::mem::transmute(ok__)); + plcallinfolongval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3897,7 +3897,7 @@ impl ITCallInfo_Vtbl { let this = (*this).get_impl(); match ITCallInfo_Impl::get_CallInfoString(this, core::mem::transmute_copy(&callinfostring)) { Ok(ok__) => { - core::ptr::write(ppcallinfostring, core::mem::transmute(ok__)); + ppcallinfostring.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3913,7 +3913,7 @@ impl ITCallInfo_Vtbl { let this = (*this).get_impl(); match ITCallInfo_Impl::get_CallInfoBuffer(this, core::mem::transmute_copy(&callinfobuffer)) { Ok(ok__) => { - core::ptr::write(ppcallinfobuffer, core::mem::transmute(ok__)); + ppcallinfobuffer.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3975,7 +3975,7 @@ impl ITCallInfo2_Vtbl { let this = (*this).get_impl(); match ITCallInfo2_Impl::get_EventFilter(this, core::mem::transmute_copy(&tapievent), core::mem::transmute_copy(&lsubevent)) { Ok(ok__) => { - core::ptr::write(penable, core::mem::transmute(ok__)); + penable.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4012,7 +4012,7 @@ impl ITCallInfoChangeEvent_Vtbl { let this = (*this).get_impl(); match ITCallInfoChangeEvent_Impl::Call(this) { Ok(ok__) => { - core::ptr::write(ppcall, core::mem::transmute(ok__)); + ppcall.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4023,7 +4023,7 @@ impl ITCallInfoChangeEvent_Vtbl { let this = (*this).get_impl(); match ITCallInfoChangeEvent_Impl::Cause(this) { Ok(ok__) => { - core::ptr::write(pcic, core::mem::transmute(ok__)); + pcic.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4034,7 +4034,7 @@ impl ITCallInfoChangeEvent_Vtbl { let this = (*this).get_impl(); match ITCallInfoChangeEvent_Impl::CallbackInstance(this) { Ok(ok__) => { - core::ptr::write(plcallbackinstance, core::mem::transmute(ok__)); + plcallbackinstance.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4070,7 +4070,7 @@ impl ITCallMediaEvent_Vtbl { let this = (*this).get_impl(); match ITCallMediaEvent_Impl::Call(this) { Ok(ok__) => { - core::ptr::write(ppcallinfo, core::mem::transmute(ok__)); + ppcallinfo.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4081,7 +4081,7 @@ impl ITCallMediaEvent_Vtbl { let this = (*this).get_impl(); match ITCallMediaEvent_Impl::Event(this) { Ok(ok__) => { - core::ptr::write(pcallmediaevent, core::mem::transmute(ok__)); + pcallmediaevent.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4092,7 +4092,7 @@ impl ITCallMediaEvent_Vtbl { let this = (*this).get_impl(); match ITCallMediaEvent_Impl::Error(this) { Ok(ok__) => { - core::ptr::write(phrerror, core::mem::transmute(ok__)); + phrerror.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4103,7 +4103,7 @@ impl ITCallMediaEvent_Vtbl { let this = (*this).get_impl(); match ITCallMediaEvent_Impl::Terminal(this) { Ok(ok__) => { - core::ptr::write(ppterminal, core::mem::transmute(ok__)); + ppterminal.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4114,7 +4114,7 @@ impl ITCallMediaEvent_Vtbl { let this = (*this).get_impl(); match ITCallMediaEvent_Impl::Stream(this) { Ok(ok__) => { - core::ptr::write(ppstream, core::mem::transmute(ok__)); + ppstream.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4125,7 +4125,7 @@ impl ITCallMediaEvent_Vtbl { let this = (*this).get_impl(); match ITCallMediaEvent_Impl::Cause(this) { Ok(ok__) => { - core::ptr::write(pcause, core::mem::transmute(ok__)); + pcause.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4161,7 +4161,7 @@ impl ITCallNotificationEvent_Vtbl { let this = (*this).get_impl(); match ITCallNotificationEvent_Impl::Call(this) { Ok(ok__) => { - core::ptr::write(ppcall, core::mem::transmute(ok__)); + ppcall.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4172,7 +4172,7 @@ impl ITCallNotificationEvent_Vtbl { let this = (*this).get_impl(); match ITCallNotificationEvent_Impl::Event(this) { Ok(ok__) => { - core::ptr::write(pcallnotificationevent, core::mem::transmute(ok__)); + pcallnotificationevent.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4183,7 +4183,7 @@ impl ITCallNotificationEvent_Vtbl { let this = (*this).get_impl(); match ITCallNotificationEvent_Impl::CallbackInstance(this) { Ok(ok__) => { - core::ptr::write(plcallbackinstance, core::mem::transmute(ok__)); + plcallbackinstance.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4217,7 +4217,7 @@ impl ITCallStateEvent_Vtbl { let this = (*this).get_impl(); match ITCallStateEvent_Impl::Call(this) { Ok(ok__) => { - core::ptr::write(ppcallinfo, core::mem::transmute(ok__)); + ppcallinfo.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4228,7 +4228,7 @@ impl ITCallStateEvent_Vtbl { let this = (*this).get_impl(); match ITCallStateEvent_Impl::State(this) { Ok(ok__) => { - core::ptr::write(pcallstate, core::mem::transmute(ok__)); + pcallstate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4239,7 +4239,7 @@ impl ITCallStateEvent_Vtbl { let this = (*this).get_impl(); match ITCallStateEvent_Impl::Cause(this) { Ok(ok__) => { - core::ptr::write(pcec, core::mem::transmute(ok__)); + pcec.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4250,7 +4250,7 @@ impl ITCallStateEvent_Vtbl { let this = (*this).get_impl(); match ITCallStateEvent_Impl::CallbackInstance(this) { Ok(ok__) => { - core::ptr::write(plcallbackinstance, core::mem::transmute(ok__)); + plcallbackinstance.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4288,7 +4288,7 @@ impl ITCallingCard_Vtbl { let this = (*this).get_impl(); match ITCallingCard_Impl::PermanentCardID(this) { Ok(ok__) => { - core::ptr::write(plcardid, core::mem::transmute(ok__)); + plcardid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4299,7 +4299,7 @@ impl ITCallingCard_Vtbl { let this = (*this).get_impl(); match ITCallingCard_Impl::NumberOfDigits(this) { Ok(ok__) => { - core::ptr::write(pldigits, core::mem::transmute(ok__)); + pldigits.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4310,7 +4310,7 @@ impl ITCallingCard_Vtbl { let this = (*this).get_impl(); match ITCallingCard_Impl::Options(this) { Ok(ok__) => { - core::ptr::write(ploptions, core::mem::transmute(ok__)); + ploptions.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4321,7 +4321,7 @@ impl ITCallingCard_Vtbl { let this = (*this).get_impl(); match ITCallingCard_Impl::CardName(this) { Ok(ok__) => { - core::ptr::write(ppcardname, core::mem::transmute(ok__)); + ppcardname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4332,7 +4332,7 @@ impl ITCallingCard_Vtbl { let this = (*this).get_impl(); match ITCallingCard_Impl::SameAreaDialingRule(this) { Ok(ok__) => { - core::ptr::write(pprule, core::mem::transmute(ok__)); + pprule.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4343,7 +4343,7 @@ impl ITCallingCard_Vtbl { let this = (*this).get_impl(); match ITCallingCard_Impl::LongDistanceDialingRule(this) { Ok(ok__) => { - core::ptr::write(pprule, core::mem::transmute(ok__)); + pprule.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4354,7 +4354,7 @@ impl ITCallingCard_Vtbl { let this = (*this).get_impl(); match ITCallingCard_Impl::InternationalDialingRule(this) { Ok(ok__) => { - core::ptr::write(pprule, core::mem::transmute(ok__)); + pprule.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4391,7 +4391,7 @@ impl ITCollection_Vtbl { let this = (*this).get_impl(); match ITCollection_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(lcount, core::mem::transmute(ok__)); + lcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4402,7 +4402,7 @@ impl ITCollection_Vtbl { let this = (*this).get_impl(); match ITCollection_Impl::get_Item(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(pvariant, core::mem::transmute(ok__)); + pvariant.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4413,7 +4413,7 @@ impl ITCollection_Vtbl { let this = (*this).get_impl(); match ITCollection_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(ppnewenum, core::mem::transmute(ok__)); + ppnewenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4477,7 +4477,7 @@ impl ITCustomTone_Vtbl { let this = (*this).get_impl(); match ITCustomTone_Impl::Frequency(this) { Ok(ok__) => { - core::ptr::write(plfrequency, core::mem::transmute(ok__)); + plfrequency.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4493,7 +4493,7 @@ impl ITCustomTone_Vtbl { let this = (*this).get_impl(); match ITCustomTone_Impl::CadenceOn(this) { Ok(ok__) => { - core::ptr::write(plcadenceon, core::mem::transmute(ok__)); + plcadenceon.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4509,7 +4509,7 @@ impl ITCustomTone_Vtbl { let this = (*this).get_impl(); match ITCustomTone_Impl::CadenceOff(this) { Ok(ok__) => { - core::ptr::write(plcadenceoff, core::mem::transmute(ok__)); + plcadenceoff.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4525,7 +4525,7 @@ impl ITCustomTone_Vtbl { let this = (*this).get_impl(); match ITCustomTone_Impl::Volume(this) { Ok(ok__) => { - core::ptr::write(plvolume, core::mem::transmute(ok__)); + plvolume.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4571,7 +4571,7 @@ impl ITDetectTone_Vtbl { let this = (*this).get_impl(); match ITDetectTone_Impl::AppSpecific(this) { Ok(ok__) => { - core::ptr::write(plappspecific, core::mem::transmute(ok__)); + plappspecific.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4587,7 +4587,7 @@ impl ITDetectTone_Vtbl { let this = (*this).get_impl(); match ITDetectTone_Impl::Duration(this) { Ok(ok__) => { - core::ptr::write(plduration, core::mem::transmute(ok__)); + plduration.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4603,7 +4603,7 @@ impl ITDetectTone_Vtbl { let this = (*this).get_impl(); match ITDetectTone_Impl::get_Frequency(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(plfrequency, core::mem::transmute(ok__)); + plfrequency.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4646,7 +4646,7 @@ impl ITDigitDetectionEvent_Vtbl { let this = (*this).get_impl(); match ITDigitDetectionEvent_Impl::Call(this) { Ok(ok__) => { - core::ptr::write(ppcallinfo, core::mem::transmute(ok__)); + ppcallinfo.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4657,7 +4657,7 @@ impl ITDigitDetectionEvent_Vtbl { let this = (*this).get_impl(); match ITDigitDetectionEvent_Impl::Digit(this) { Ok(ok__) => { - core::ptr::write(pucdigit, core::mem::transmute(ok__)); + pucdigit.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4668,7 +4668,7 @@ impl ITDigitDetectionEvent_Vtbl { let this = (*this).get_impl(); match ITDigitDetectionEvent_Impl::DigitMode(this) { Ok(ok__) => { - core::ptr::write(pdigitmode, core::mem::transmute(ok__)); + pdigitmode.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4679,7 +4679,7 @@ impl ITDigitDetectionEvent_Vtbl { let this = (*this).get_impl(); match ITDigitDetectionEvent_Impl::TickCount(this) { Ok(ok__) => { - core::ptr::write(pltickcount, core::mem::transmute(ok__)); + pltickcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4690,7 +4690,7 @@ impl ITDigitDetectionEvent_Vtbl { let this = (*this).get_impl(); match ITDigitDetectionEvent_Impl::CallbackInstance(this) { Ok(ok__) => { - core::ptr::write(plcallbackinstance, core::mem::transmute(ok__)); + plcallbackinstance.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4726,7 +4726,7 @@ impl ITDigitGenerationEvent_Vtbl { let this = (*this).get_impl(); match ITDigitGenerationEvent_Impl::Call(this) { Ok(ok__) => { - core::ptr::write(ppcallinfo, core::mem::transmute(ok__)); + ppcallinfo.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4737,7 +4737,7 @@ impl ITDigitGenerationEvent_Vtbl { let this = (*this).get_impl(); match ITDigitGenerationEvent_Impl::GenerationTermination(this) { Ok(ok__) => { - core::ptr::write(plgenerationtermination, core::mem::transmute(ok__)); + plgenerationtermination.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4748,7 +4748,7 @@ impl ITDigitGenerationEvent_Vtbl { let this = (*this).get_impl(); match ITDigitGenerationEvent_Impl::TickCount(this) { Ok(ok__) => { - core::ptr::write(pltickcount, core::mem::transmute(ok__)); + pltickcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4759,7 +4759,7 @@ impl ITDigitGenerationEvent_Vtbl { let this = (*this).get_impl(); match ITDigitGenerationEvent_Impl::CallbackInstance(this) { Ok(ok__) => { - core::ptr::write(plcallbackinstance, core::mem::transmute(ok__)); + plcallbackinstance.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4795,7 +4795,7 @@ impl ITDigitsGatheredEvent_Vtbl { let this = (*this).get_impl(); match ITDigitsGatheredEvent_Impl::Call(this) { Ok(ok__) => { - core::ptr::write(ppcallinfo, core::mem::transmute(ok__)); + ppcallinfo.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4806,7 +4806,7 @@ impl ITDigitsGatheredEvent_Vtbl { let this = (*this).get_impl(); match ITDigitsGatheredEvent_Impl::Digits(this) { Ok(ok__) => { - core::ptr::write(ppdigits, core::mem::transmute(ok__)); + ppdigits.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4817,7 +4817,7 @@ impl ITDigitsGatheredEvent_Vtbl { let this = (*this).get_impl(); match ITDigitsGatheredEvent_Impl::GatherTermination(this) { Ok(ok__) => { - core::ptr::write(pgathertermination, core::mem::transmute(ok__)); + pgathertermination.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4828,7 +4828,7 @@ impl ITDigitsGatheredEvent_Vtbl { let this = (*this).get_impl(); match ITDigitsGatheredEvent_Impl::TickCount(this) { Ok(ok__) => { - core::ptr::write(pltickcount, core::mem::transmute(ok__)); + pltickcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4839,7 +4839,7 @@ impl ITDigitsGatheredEvent_Vtbl { let this = (*this).get_impl(); match ITDigitsGatheredEvent_Impl::CallbackInstance(this) { Ok(ok__) => { - core::ptr::write(plcallbackinstance, core::mem::transmute(ok__)); + plcallbackinstance.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4885,7 +4885,7 @@ impl ITDirectory_Vtbl { let this = (*this).get_impl(); match ITDirectory_Impl::DirectoryType(this) { Ok(ok__) => { - core::ptr::write(pdirectorytype, core::mem::transmute(ok__)); + pdirectorytype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4896,7 +4896,7 @@ impl ITDirectory_Vtbl { let this = (*this).get_impl(); match ITDirectory_Impl::DisplayName(this) { Ok(ok__) => { - core::ptr::write(pname, core::mem::transmute(ok__)); + pname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4907,7 +4907,7 @@ impl ITDirectory_Vtbl { let this = (*this).get_impl(); match ITDirectory_Impl::IsDynamic(this) { Ok(ok__) => { - core::ptr::write(pfdynamic, core::mem::transmute(ok__)); + pfdynamic.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4918,7 +4918,7 @@ impl ITDirectory_Vtbl { let this = (*this).get_impl(); match ITDirectory_Impl::DefaultObjectTTL(this) { Ok(ok__) => { - core::ptr::write(pttl, core::mem::transmute(ok__)); + pttl.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4969,7 +4969,7 @@ impl ITDirectory_Vtbl { let this = (*this).get_impl(); match ITDirectory_Impl::get_DirectoryObjects(this, core::mem::transmute_copy(&directoryobjecttype), core::mem::transmute(&pname)) { Ok(ok__) => { - core::ptr::write(pvariant, core::mem::transmute(ok__)); + pvariant.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4980,7 +4980,7 @@ impl ITDirectory_Vtbl { let this = (*this).get_impl(); match ITDirectory_Impl::EnumerateDirectoryObjects(this, core::mem::transmute_copy(&directoryobjecttype), core::mem::transmute(&pname)) { Ok(ok__) => { - core::ptr::write(ppenumobject, core::mem::transmute(ok__)); + ppenumobject.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5028,7 +5028,7 @@ impl ITDirectoryObject_Vtbl { let this = (*this).get_impl(); match ITDirectoryObject_Impl::ObjectType(this) { Ok(ok__) => { - core::ptr::write(pobjecttype, core::mem::transmute(ok__)); + pobjecttype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5039,7 +5039,7 @@ impl ITDirectoryObject_Vtbl { let this = (*this).get_impl(); match ITDirectoryObject_Impl::Name(this) { Ok(ok__) => { - core::ptr::write(ppname, core::mem::transmute(ok__)); + ppname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5055,7 +5055,7 @@ impl ITDirectoryObject_Vtbl { let this = (*this).get_impl(); match ITDirectoryObject_Impl::get_DialableAddrs(this, core::mem::transmute_copy(&dwaddresstype)) { Ok(ok__) => { - core::ptr::write(pvariant, core::mem::transmute(ok__)); + pvariant.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5066,7 +5066,7 @@ impl ITDirectoryObject_Vtbl { let this = (*this).get_impl(); match ITDirectoryObject_Impl::EnumerateDialableAddrs(this, core::mem::transmute_copy(&dwaddresstype)) { Ok(ok__) => { - core::ptr::write(ppenumdialableaddrs, core::mem::transmute(ok__)); + ppenumdialableaddrs.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5077,7 +5077,7 @@ impl ITDirectoryObject_Vtbl { let this = (*this).get_impl(); match ITDirectoryObject_Impl::SecurityDescriptor(this) { Ok(ok__) => { - core::ptr::write(ppsecdes, core::mem::transmute(ok__)); + ppsecdes.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5131,7 +5131,7 @@ impl ITDirectoryObjectConference_Vtbl { let this = (*this).get_impl(); match ITDirectoryObjectConference_Impl::Protocol(this) { Ok(ok__) => { - core::ptr::write(ppprotocol, core::mem::transmute(ok__)); + ppprotocol.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5142,7 +5142,7 @@ impl ITDirectoryObjectConference_Vtbl { let this = (*this).get_impl(); match ITDirectoryObjectConference_Impl::Originator(this) { Ok(ok__) => { - core::ptr::write(pporiginator, core::mem::transmute(ok__)); + pporiginator.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5158,7 +5158,7 @@ impl ITDirectoryObjectConference_Vtbl { let this = (*this).get_impl(); match ITDirectoryObjectConference_Impl::AdvertisingScope(this) { Ok(ok__) => { - core::ptr::write(padvertisingscope, core::mem::transmute(ok__)); + padvertisingscope.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5174,7 +5174,7 @@ impl ITDirectoryObjectConference_Vtbl { let this = (*this).get_impl(); match ITDirectoryObjectConference_Impl::Url(this) { Ok(ok__) => { - core::ptr::write(ppurl, core::mem::transmute(ok__)); + ppurl.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5190,7 +5190,7 @@ impl ITDirectoryObjectConference_Vtbl { let this = (*this).get_impl(); match ITDirectoryObjectConference_Impl::Description(this) { Ok(ok__) => { - core::ptr::write(ppdescription, core::mem::transmute(ok__)); + ppdescription.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5206,7 +5206,7 @@ impl ITDirectoryObjectConference_Vtbl { let this = (*this).get_impl(); match ITDirectoryObjectConference_Impl::IsEncrypted(this) { Ok(ok__) => { - core::ptr::write(pfencrypted, core::mem::transmute(ok__)); + pfencrypted.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5222,7 +5222,7 @@ impl ITDirectoryObjectConference_Vtbl { let this = (*this).get_impl(); match ITDirectoryObjectConference_Impl::StartTime(this) { Ok(ok__) => { - core::ptr::write(pdate, core::mem::transmute(ok__)); + pdate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5238,7 +5238,7 @@ impl ITDirectoryObjectConference_Vtbl { let this = (*this).get_impl(); match ITDirectoryObjectConference_Impl::StopTime(this) { Ok(ok__) => { - core::ptr::write(pdate, core::mem::transmute(ok__)); + pdate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5287,7 +5287,7 @@ impl ITDirectoryObjectUser_Vtbl { let this = (*this).get_impl(); match ITDirectoryObjectUser_Impl::IPPhonePrimary(this) { Ok(ok__) => { - core::ptr::write(ppname, core::mem::transmute(ok__)); + ppname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5322,7 +5322,7 @@ impl ITDispatchMapper_Vtbl { let this = (*this).get_impl(); match ITDispatchMapper_Impl::QueryDispatchInterface(this, core::mem::transmute(&piid), windows_core::from_raw_borrowed(&pinterfacetomap)) { Ok(ok__) => { - core::ptr::write(ppreturnedinterface, core::mem::transmute(ok__)); + ppreturnedinterface.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5356,7 +5356,7 @@ impl ITFileTerminalEvent_Vtbl { let this = (*this).get_impl(); match ITFileTerminalEvent_Impl::Terminal(this) { Ok(ok__) => { - core::ptr::write(ppterminal, core::mem::transmute(ok__)); + ppterminal.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5367,7 +5367,7 @@ impl ITFileTerminalEvent_Vtbl { let this = (*this).get_impl(); match ITFileTerminalEvent_Impl::Track(this) { Ok(ok__) => { - core::ptr::write(pptrackterminal, core::mem::transmute(ok__)); + pptrackterminal.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5378,7 +5378,7 @@ impl ITFileTerminalEvent_Vtbl { let this = (*this).get_impl(); match ITFileTerminalEvent_Impl::Call(this) { Ok(ok__) => { - core::ptr::write(ppcall, core::mem::transmute(ok__)); + ppcall.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5389,7 +5389,7 @@ impl ITFileTerminalEvent_Vtbl { let this = (*this).get_impl(); match ITFileTerminalEvent_Impl::State(this) { Ok(ok__) => { - core::ptr::write(pstate, core::mem::transmute(ok__)); + pstate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5400,7 +5400,7 @@ impl ITFileTerminalEvent_Vtbl { let this = (*this).get_impl(); match ITFileTerminalEvent_Impl::Cause(this) { Ok(ok__) => { - core::ptr::write(pcause, core::mem::transmute(ok__)); + pcause.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5411,7 +5411,7 @@ impl ITFileTerminalEvent_Vtbl { let this = (*this).get_impl(); match ITFileTerminalEvent_Impl::Error(this) { Ok(ok__) => { - core::ptr::write(phrerrorcode, core::mem::transmute(ok__)); + phrerrorcode.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5450,7 +5450,7 @@ impl ITFileTrack_Vtbl { let this = (*this).get_impl(); match ITFileTrack_Impl::Format(this) { Ok(ok__) => { - core::ptr::write(ppmt, core::mem::transmute(ok__)); + ppmt.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5466,7 +5466,7 @@ impl ITFileTrack_Vtbl { let this = (*this).get_impl(); match ITFileTrack_Impl::ControllingTerminal(this) { Ok(ok__) => { - core::ptr::write(ppcontrollingterminal, core::mem::transmute(ok__)); + ppcontrollingterminal.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5477,7 +5477,7 @@ impl ITFileTrack_Vtbl { let this = (*this).get_impl(); match ITFileTrack_Impl::AudioFormatForScripting(this) { Ok(ok__) => { - core::ptr::write(ppaudioformat, core::mem::transmute(ok__)); + ppaudioformat.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5493,7 +5493,7 @@ impl ITFileTrack_Vtbl { let this = (*this).get_impl(); match ITFileTrack_Impl::EmptyAudioFormatForScripting(this) { Ok(ok__) => { - core::ptr::write(ppaudioformat, core::mem::transmute(ok__)); + ppaudioformat.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5538,7 +5538,7 @@ impl ITForwardInformation_Vtbl { let this = (*this).get_impl(); match ITForwardInformation_Impl::NumRingsNoAnswer(this) { Ok(ok__) => { - core::ptr::write(plnumrings, core::mem::transmute(ok__)); + plnumrings.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5554,7 +5554,7 @@ impl ITForwardInformation_Vtbl { let this = (*this).get_impl(); match ITForwardInformation_Impl::get_ForwardTypeDestination(this, core::mem::transmute_copy(&forwardtype)) { Ok(ok__) => { - core::ptr::write(ppdestaddress, core::mem::transmute(ok__)); + ppdestaddress.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5565,7 +5565,7 @@ impl ITForwardInformation_Vtbl { let this = (*this).get_impl(); match ITForwardInformation_Impl::get_ForwardTypeCaller(this, core::mem::transmute_copy(&forwardtype)) { Ok(ok__) => { - core::ptr::write(ppcalleraddress, core::mem::transmute(ok__)); + ppcalleraddress.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5623,7 +5623,7 @@ impl ITForwardInformation2_Vtbl { let this = (*this).get_impl(); match ITForwardInformation2_Impl::get_ForwardTypeDestinationAddressType(this, core::mem::transmute_copy(&forwardtype)) { Ok(ok__) => { - core::ptr::write(pdestaddresstype, core::mem::transmute(ok__)); + pdestaddresstype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5634,7 +5634,7 @@ impl ITForwardInformation2_Vtbl { let this = (*this).get_impl(); match ITForwardInformation2_Impl::get_ForwardTypeCallerAddressType(this, core::mem::transmute_copy(&forwardtype)) { Ok(ok__) => { - core::ptr::write(pcalleraddresstype, core::mem::transmute(ok__)); + pcalleraddresstype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5667,7 +5667,7 @@ impl ITILSConfig_Vtbl { let this = (*this).get_impl(); match ITILSConfig_Impl::Port(this) { Ok(ok__) => { - core::ptr::write(pport, core::mem::transmute(ok__)); + pport.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5858,7 +5858,7 @@ impl ITLegacyCallMediaControl2_Vtbl { let this = (*this).get_impl(); match ITLegacyCallMediaControl2_Impl::CreateDetectToneObject(this) { Ok(ok__) => { - core::ptr::write(ppdetecttone, core::mem::transmute(ok__)); + ppdetecttone.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5869,7 +5869,7 @@ impl ITLegacyCallMediaControl2_Vtbl { let this = (*this).get_impl(); match ITLegacyCallMediaControl2_Impl::CreateCustomToneObject(this) { Ok(ok__) => { - core::ptr::write(ppcustomtone, core::mem::transmute(ok__)); + ppcustomtone.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5880,7 +5880,7 @@ impl ITLegacyCallMediaControl2_Vtbl { let this = (*this).get_impl(); match ITLegacyCallMediaControl2_Impl::GetIDAsVariant(this, core::mem::transmute(&bstrdeviceclass)) { Ok(ok__) => { - core::ptr::write(pvardeviceid, core::mem::transmute(ok__)); + pvardeviceid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5918,7 +5918,7 @@ impl ITLegacyWaveSupport_Vtbl { let this = (*this).get_impl(); match ITLegacyWaveSupport_Impl::IsFullDuplex(this) { Ok(ok__) => { - core::ptr::write(psupport, core::mem::transmute(ok__)); + psupport.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5954,7 +5954,7 @@ impl ITLocationInfo_Vtbl { let this = (*this).get_impl(); match ITLocationInfo_Impl::PermanentLocationID(this) { Ok(ok__) => { - core::ptr::write(pllocationid, core::mem::transmute(ok__)); + pllocationid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5965,7 +5965,7 @@ impl ITLocationInfo_Vtbl { let this = (*this).get_impl(); match ITLocationInfo_Impl::CountryCode(this) { Ok(ok__) => { - core::ptr::write(plcountrycode, core::mem::transmute(ok__)); + plcountrycode.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5976,7 +5976,7 @@ impl ITLocationInfo_Vtbl { let this = (*this).get_impl(); match ITLocationInfo_Impl::CountryID(this) { Ok(ok__) => { - core::ptr::write(plcountryid, core::mem::transmute(ok__)); + plcountryid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5987,7 +5987,7 @@ impl ITLocationInfo_Vtbl { let this = (*this).get_impl(); match ITLocationInfo_Impl::Options(this) { Ok(ok__) => { - core::ptr::write(ploptions, core::mem::transmute(ok__)); + ploptions.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5998,7 +5998,7 @@ impl ITLocationInfo_Vtbl { let this = (*this).get_impl(); match ITLocationInfo_Impl::PreferredCardID(this) { Ok(ok__) => { - core::ptr::write(plcardid, core::mem::transmute(ok__)); + plcardid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6009,7 +6009,7 @@ impl ITLocationInfo_Vtbl { let this = (*this).get_impl(); match ITLocationInfo_Impl::LocationName(this) { Ok(ok__) => { - core::ptr::write(pplocationname, core::mem::transmute(ok__)); + pplocationname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6020,7 +6020,7 @@ impl ITLocationInfo_Vtbl { let this = (*this).get_impl(); match ITLocationInfo_Impl::CityCode(this) { Ok(ok__) => { - core::ptr::write(ppcode, core::mem::transmute(ok__)); + ppcode.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6031,7 +6031,7 @@ impl ITLocationInfo_Vtbl { let this = (*this).get_impl(); match ITLocationInfo_Impl::LocalAccessCode(this) { Ok(ok__) => { - core::ptr::write(ppcode, core::mem::transmute(ok__)); + ppcode.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6042,7 +6042,7 @@ impl ITLocationInfo_Vtbl { let this = (*this).get_impl(); match ITLocationInfo_Impl::LongDistanceAccessCode(this) { Ok(ok__) => { - core::ptr::write(ppcode, core::mem::transmute(ok__)); + ppcode.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6053,7 +6053,7 @@ impl ITLocationInfo_Vtbl { let this = (*this).get_impl(); match ITLocationInfo_Impl::TollPrefixList(this) { Ok(ok__) => { - core::ptr::write(pptolllist, core::mem::transmute(ok__)); + pptolllist.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6064,7 +6064,7 @@ impl ITLocationInfo_Vtbl { let this = (*this).get_impl(); match ITLocationInfo_Impl::CancelCallWaitingCode(this) { Ok(ok__) => { - core::ptr::write(ppcode, core::mem::transmute(ok__)); + ppcode.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6115,7 +6115,7 @@ impl ITMSPAddress_Vtbl { let this = (*this).get_impl(); match ITMSPAddress_Impl::CreateMSPCall(this, core::mem::transmute_copy(&hcall), core::mem::transmute_copy(&dwreserved), core::mem::transmute_copy(&dwmediatype), windows_core::from_raw_borrowed(&pouterunknown)) { Ok(ok__) => { - core::ptr::write(ppstreamcontrol, core::mem::transmute(ok__)); + ppstreamcontrol.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6182,7 +6182,7 @@ impl ITMediaControl_Vtbl { let this = (*this).get_impl(); match ITMediaControl_Impl::MediaState(this) { Ok(ok__) => { - core::ptr::write(pterminalmediastate, core::mem::transmute(ok__)); + pterminalmediastate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6220,7 +6220,7 @@ impl ITMediaPlayback_Vtbl { let this = (*this).get_impl(); match ITMediaPlayback_Impl::PlayList(this) { Ok(ok__) => { - core::ptr::write(pplaylistvariant, core::mem::transmute(ok__)); + pplaylistvariant.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6256,7 +6256,7 @@ impl ITMediaRecord_Vtbl { let this = (*this).get_impl(); match ITMediaRecord_Impl::FileName(this) { Ok(ok__) => { - core::ptr::write(pbstrfilename, core::mem::transmute(ok__)); + pbstrfilename.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6287,7 +6287,7 @@ impl ITMediaSupport_Vtbl { let this = (*this).get_impl(); match ITMediaSupport_Impl::MediaTypes(this) { Ok(ok__) => { - core::ptr::write(plmediatypes, core::mem::transmute(ok__)); + plmediatypes.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6298,7 +6298,7 @@ impl ITMediaSupport_Vtbl { let this = (*this).get_impl(); match ITMediaSupport_Impl::QueryMediaType(this, core::mem::transmute_copy(&lmediatype)) { Ok(ok__) => { - core::ptr::write(pfsupport, core::mem::transmute(ok__)); + pfsupport.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6333,7 +6333,7 @@ impl ITMultiTrackTerminal_Vtbl { let this = (*this).get_impl(); match ITMultiTrackTerminal_Impl::TrackTerminals(this) { Ok(ok__) => { - core::ptr::write(pvariant, core::mem::transmute(ok__)); + pvariant.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6344,7 +6344,7 @@ impl ITMultiTrackTerminal_Vtbl { let this = (*this).get_impl(); match ITMultiTrackTerminal_Impl::EnumerateTrackTerminals(this) { Ok(ok__) => { - core::ptr::write(ppenumterminal, core::mem::transmute(ok__)); + ppenumterminal.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6355,7 +6355,7 @@ impl ITMultiTrackTerminal_Vtbl { let this = (*this).get_impl(); match ITMultiTrackTerminal_Impl::CreateTrackTerminal(this, core::mem::transmute_copy(&mediatype), core::mem::transmute_copy(&terminaldirection)) { Ok(ok__) => { - core::ptr::write(ppterminal, core::mem::transmute(ok__)); + ppterminal.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6366,7 +6366,7 @@ impl ITMultiTrackTerminal_Vtbl { let this = (*this).get_impl(); match ITMultiTrackTerminal_Impl::MediaTypesInUse(this) { Ok(ok__) => { - core::ptr::write(plmediatypesinuse, core::mem::transmute(ok__)); + plmediatypesinuse.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6377,7 +6377,7 @@ impl ITMultiTrackTerminal_Vtbl { let this = (*this).get_impl(); match ITMultiTrackTerminal_Impl::DirectionsInUse(this) { Ok(ok__) => { - core::ptr::write(pldirectionsinused, core::mem::transmute(ok__)); + pldirectionsinused.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6458,7 +6458,7 @@ impl ITPhone_Vtbl { let this = (*this).get_impl(); match ITPhone_Impl::Addresses(this) { Ok(ok__) => { - core::ptr::write(paddresses, core::mem::transmute(ok__)); + paddresses.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6469,7 +6469,7 @@ impl ITPhone_Vtbl { let this = (*this).get_impl(); match ITPhone_Impl::EnumerateAddresses(this) { Ok(ok__) => { - core::ptr::write(ppenumaddress, core::mem::transmute(ok__)); + ppenumaddress.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6480,7 +6480,7 @@ impl ITPhone_Vtbl { let this = (*this).get_impl(); match ITPhone_Impl::get_PhoneCapsLong(this, core::mem::transmute_copy(&pclcap)) { Ok(ok__) => { - core::ptr::write(plcapability, core::mem::transmute(ok__)); + plcapability.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6491,7 +6491,7 @@ impl ITPhone_Vtbl { let this = (*this).get_impl(); match ITPhone_Impl::get_PhoneCapsString(this, core::mem::transmute_copy(&pcscap)) { Ok(ok__) => { - core::ptr::write(ppcapability, core::mem::transmute(ok__)); + ppcapability.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6502,7 +6502,7 @@ impl ITPhone_Vtbl { let this = (*this).get_impl(); match ITPhone_Impl::get_Terminals(this, windows_core::from_raw_borrowed(&paddress)) { Ok(ok__) => { - core::ptr::write(pterminals, core::mem::transmute(ok__)); + pterminals.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6513,7 +6513,7 @@ impl ITPhone_Vtbl { let this = (*this).get_impl(); match ITPhone_Impl::EnumerateTerminals(this, windows_core::from_raw_borrowed(&paddress)) { Ok(ok__) => { - core::ptr::write(ppenumterminal, core::mem::transmute(ok__)); + ppenumterminal.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6524,7 +6524,7 @@ impl ITPhone_Vtbl { let this = (*this).get_impl(); match ITPhone_Impl::get_ButtonMode(this, core::mem::transmute_copy(&lbuttonid)) { Ok(ok__) => { - core::ptr::write(pbuttonmode, core::mem::transmute(ok__)); + pbuttonmode.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6540,7 +6540,7 @@ impl ITPhone_Vtbl { let this = (*this).get_impl(); match ITPhone_Impl::get_ButtonFunction(this, core::mem::transmute_copy(&lbuttonid)) { Ok(ok__) => { - core::ptr::write(pbuttonfunction, core::mem::transmute(ok__)); + pbuttonfunction.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6556,7 +6556,7 @@ impl ITPhone_Vtbl { let this = (*this).get_impl(); match ITPhone_Impl::get_ButtonText(this, core::mem::transmute_copy(&lbuttonid)) { Ok(ok__) => { - core::ptr::write(ppbuttontext, core::mem::transmute(ok__)); + ppbuttontext.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6572,7 +6572,7 @@ impl ITPhone_Vtbl { let this = (*this).get_impl(); match ITPhone_Impl::get_ButtonState(this, core::mem::transmute_copy(&lbuttonid)) { Ok(ok__) => { - core::ptr::write(pbuttonstate, core::mem::transmute(ok__)); + pbuttonstate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6583,7 +6583,7 @@ impl ITPhone_Vtbl { let this = (*this).get_impl(); match ITPhone_Impl::get_HookSwitchState(this, core::mem::transmute_copy(&hookswitchdevice)) { Ok(ok__) => { - core::ptr::write(phookswitchstate, core::mem::transmute(ok__)); + phookswitchstate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6604,7 +6604,7 @@ impl ITPhone_Vtbl { let this = (*this).get_impl(); match ITPhone_Impl::RingMode(this) { Ok(ok__) => { - core::ptr::write(plringmode, core::mem::transmute(ok__)); + plringmode.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6620,7 +6620,7 @@ impl ITPhone_Vtbl { let this = (*this).get_impl(); match ITPhone_Impl::RingVolume(this) { Ok(ok__) => { - core::ptr::write(plringvolume, core::mem::transmute(ok__)); + plringvolume.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6631,7 +6631,7 @@ impl ITPhone_Vtbl { let this = (*this).get_impl(); match ITPhone_Impl::Privilege(this) { Ok(ok__) => { - core::ptr::write(pprivilege, core::mem::transmute(ok__)); + pprivilege.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6647,7 +6647,7 @@ impl ITPhone_Vtbl { let this = (*this).get_impl(); match ITPhone_Impl::get_PhoneCapsBuffer(this, core::mem::transmute_copy(&pcbcaps)) { Ok(ok__) => { - core::ptr::write(pvarbuffer, core::mem::transmute(ok__)); + pvarbuffer.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6658,7 +6658,7 @@ impl ITPhone_Vtbl { let this = (*this).get_impl(); match ITPhone_Impl::get_LampMode(this, core::mem::transmute_copy(&llampid)) { Ok(ok__) => { - core::ptr::write(plampmode, core::mem::transmute(ok__)); + plampmode.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6674,7 +6674,7 @@ impl ITPhone_Vtbl { let this = (*this).get_impl(); match ITPhone_Impl::Display(this) { Ok(ok__) => { - core::ptr::write(pbstrdisplay, core::mem::transmute(ok__)); + pbstrdisplay.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6690,7 +6690,7 @@ impl ITPhone_Vtbl { let this = (*this).get_impl(); match ITPhone_Impl::PreferredAddresses(this) { Ok(ok__) => { - core::ptr::write(paddresses, core::mem::transmute(ok__)); + paddresses.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6701,7 +6701,7 @@ impl ITPhone_Vtbl { let this = (*this).get_impl(); match ITPhone_Impl::EnumeratePreferredAddresses(this) { Ok(ok__) => { - core::ptr::write(ppenumaddress, core::mem::transmute(ok__)); + ppenumaddress.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6722,7 +6722,7 @@ impl ITPhone_Vtbl { let this = (*this).get_impl(); match ITPhone_Impl::NegotiateExtVersion(this, core::mem::transmute_copy(&llowversion), core::mem::transmute_copy(&lhighversion)) { Ok(ok__) => { - core::ptr::write(plextversion, core::mem::transmute(ok__)); + plextversion.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6786,7 +6786,7 @@ impl ITPhoneDeviceSpecificEvent_Vtbl { let this = (*this).get_impl(); match ITPhoneDeviceSpecificEvent_Impl::Phone(this) { Ok(ok__) => { - core::ptr::write(ppphone, core::mem::transmute(ok__)); + ppphone.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6797,7 +6797,7 @@ impl ITPhoneDeviceSpecificEvent_Vtbl { let this = (*this).get_impl(); match ITPhoneDeviceSpecificEvent_Impl::lParam1(this) { Ok(ok__) => { - core::ptr::write(pparam1, core::mem::transmute(ok__)); + pparam1.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6808,7 +6808,7 @@ impl ITPhoneDeviceSpecificEvent_Vtbl { let this = (*this).get_impl(); match ITPhoneDeviceSpecificEvent_Impl::lParam2(this) { Ok(ok__) => { - core::ptr::write(pparam2, core::mem::transmute(ok__)); + pparam2.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6819,7 +6819,7 @@ impl ITPhoneDeviceSpecificEvent_Vtbl { let this = (*this).get_impl(); match ITPhoneDeviceSpecificEvent_Impl::lParam3(this) { Ok(ok__) => { - core::ptr::write(pparam3, core::mem::transmute(ok__)); + pparam3.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6859,7 +6859,7 @@ impl ITPhoneEvent_Vtbl { let this = (*this).get_impl(); match ITPhoneEvent_Impl::Phone(this) { Ok(ok__) => { - core::ptr::write(ppphone, core::mem::transmute(ok__)); + ppphone.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6870,7 +6870,7 @@ impl ITPhoneEvent_Vtbl { let this = (*this).get_impl(); match ITPhoneEvent_Impl::Event(this) { Ok(ok__) => { - core::ptr::write(pevent, core::mem::transmute(ok__)); + pevent.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6881,7 +6881,7 @@ impl ITPhoneEvent_Vtbl { let this = (*this).get_impl(); match ITPhoneEvent_Impl::ButtonState(this) { Ok(ok__) => { - core::ptr::write(pstate, core::mem::transmute(ok__)); + pstate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6892,7 +6892,7 @@ impl ITPhoneEvent_Vtbl { let this = (*this).get_impl(); match ITPhoneEvent_Impl::HookSwitchState(this) { Ok(ok__) => { - core::ptr::write(pstate, core::mem::transmute(ok__)); + pstate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6903,7 +6903,7 @@ impl ITPhoneEvent_Vtbl { let this = (*this).get_impl(); match ITPhoneEvent_Impl::HookSwitchDevice(this) { Ok(ok__) => { - core::ptr::write(pdevice, core::mem::transmute(ok__)); + pdevice.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6914,7 +6914,7 @@ impl ITPhoneEvent_Vtbl { let this = (*this).get_impl(); match ITPhoneEvent_Impl::RingMode(this) { Ok(ok__) => { - core::ptr::write(plringmode, core::mem::transmute(ok__)); + plringmode.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6925,7 +6925,7 @@ impl ITPhoneEvent_Vtbl { let this = (*this).get_impl(); match ITPhoneEvent_Impl::ButtonLampId(this) { Ok(ok__) => { - core::ptr::write(plbuttonlampid, core::mem::transmute(ok__)); + plbuttonlampid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6936,7 +6936,7 @@ impl ITPhoneEvent_Vtbl { let this = (*this).get_impl(); match ITPhoneEvent_Impl::NumberGathered(this) { Ok(ok__) => { - core::ptr::write(ppnumber, core::mem::transmute(ok__)); + ppnumber.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6947,7 +6947,7 @@ impl ITPhoneEvent_Vtbl { let this = (*this).get_impl(); match ITPhoneEvent_Impl::Call(this) { Ok(ok__) => { - core::ptr::write(ppcallinfo, core::mem::transmute(ok__)); + ppcallinfo.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6990,7 +6990,7 @@ impl ITPluggableTerminalClassInfo_Vtbl { let this = (*this).get_impl(); match ITPluggableTerminalClassInfo_Impl::Name(this) { Ok(ok__) => { - core::ptr::write(pname, core::mem::transmute(ok__)); + pname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7001,7 +7001,7 @@ impl ITPluggableTerminalClassInfo_Vtbl { let this = (*this).get_impl(); match ITPluggableTerminalClassInfo_Impl::Company(this) { Ok(ok__) => { - core::ptr::write(pcompany, core::mem::transmute(ok__)); + pcompany.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7012,7 +7012,7 @@ impl ITPluggableTerminalClassInfo_Vtbl { let this = (*this).get_impl(); match ITPluggableTerminalClassInfo_Impl::Version(this) { Ok(ok__) => { - core::ptr::write(pversion, core::mem::transmute(ok__)); + pversion.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7023,7 +7023,7 @@ impl ITPluggableTerminalClassInfo_Vtbl { let this = (*this).get_impl(); match ITPluggableTerminalClassInfo_Impl::TerminalClass(this) { Ok(ok__) => { - core::ptr::write(pterminalclass, core::mem::transmute(ok__)); + pterminalclass.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7034,7 +7034,7 @@ impl ITPluggableTerminalClassInfo_Vtbl { let this = (*this).get_impl(); match ITPluggableTerminalClassInfo_Impl::CLSID(this) { Ok(ok__) => { - core::ptr::write(pclsid, core::mem::transmute(ok__)); + pclsid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7045,7 +7045,7 @@ impl ITPluggableTerminalClassInfo_Vtbl { let this = (*this).get_impl(); match ITPluggableTerminalClassInfo_Impl::Direction(this) { Ok(ok__) => { - core::ptr::write(pdirection, core::mem::transmute(ok__)); + pdirection.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7056,7 +7056,7 @@ impl ITPluggableTerminalClassInfo_Vtbl { let this = (*this).get_impl(); match ITPluggableTerminalClassInfo_Impl::MediaTypes(this) { Ok(ok__) => { - core::ptr::write(pmediatypes, core::mem::transmute(ok__)); + pmediatypes.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7139,7 +7139,7 @@ impl ITPluggableTerminalSuperclassInfo_Vtbl { let this = (*this).get_impl(); match ITPluggableTerminalSuperclassInfo_Impl::Name(this) { Ok(ok__) => { - core::ptr::write(pname, core::mem::transmute(ok__)); + pname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7150,7 +7150,7 @@ impl ITPluggableTerminalSuperclassInfo_Vtbl { let this = (*this).get_impl(); match ITPluggableTerminalSuperclassInfo_Impl::CLSID(this) { Ok(ok__) => { - core::ptr::write(pclsid, core::mem::transmute(ok__)); + pclsid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7184,7 +7184,7 @@ impl ITPrivateEvent_Vtbl { let this = (*this).get_impl(); match ITPrivateEvent_Impl::Address(this) { Ok(ok__) => { - core::ptr::write(ppaddress, core::mem::transmute(ok__)); + ppaddress.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7195,7 +7195,7 @@ impl ITPrivateEvent_Vtbl { let this = (*this).get_impl(); match ITPrivateEvent_Impl::Call(this) { Ok(ok__) => { - core::ptr::write(ppcallinfo, core::mem::transmute(ok__)); + ppcallinfo.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7206,7 +7206,7 @@ impl ITPrivateEvent_Vtbl { let this = (*this).get_impl(); match ITPrivateEvent_Impl::CallHub(this) { Ok(ok__) => { - core::ptr::write(ppcallhub, core::mem::transmute(ok__)); + ppcallhub.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7217,7 +7217,7 @@ impl ITPrivateEvent_Vtbl { let this = (*this).get_impl(); match ITPrivateEvent_Impl::EventCode(this) { Ok(ok__) => { - core::ptr::write(pleventcode, core::mem::transmute(ok__)); + pleventcode.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7228,7 +7228,7 @@ impl ITPrivateEvent_Vtbl { let this = (*this).get_impl(); match ITPrivateEvent_Impl::EventInterface(this) { Ok(ok__) => { - core::ptr::write(peventinterface, core::mem::transmute(ok__)); + peventinterface.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7263,7 +7263,7 @@ impl ITQOSEvent_Vtbl { let this = (*this).get_impl(); match ITQOSEvent_Impl::Call(this) { Ok(ok__) => { - core::ptr::write(ppcall, core::mem::transmute(ok__)); + ppcall.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7274,7 +7274,7 @@ impl ITQOSEvent_Vtbl { let this = (*this).get_impl(); match ITQOSEvent_Impl::Event(this) { Ok(ok__) => { - core::ptr::write(pqosevent, core::mem::transmute(ok__)); + pqosevent.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7285,7 +7285,7 @@ impl ITQOSEvent_Vtbl { let this = (*this).get_impl(); match ITQOSEvent_Impl::MediaType(this) { Ok(ok__) => { - core::ptr::write(plmediatype, core::mem::transmute(ok__)); + plmediatype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7332,7 +7332,7 @@ impl ITQueue_Vtbl { let this = (*this).get_impl(); match ITQueue_Impl::MeasurementPeriod(this) { Ok(ok__) => { - core::ptr::write(plperiod, core::mem::transmute(ok__)); + plperiod.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7343,7 +7343,7 @@ impl ITQueue_Vtbl { let this = (*this).get_impl(); match ITQueue_Impl::TotalCallsQueued(this) { Ok(ok__) => { - core::ptr::write(plcalls, core::mem::transmute(ok__)); + plcalls.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7354,7 +7354,7 @@ impl ITQueue_Vtbl { let this = (*this).get_impl(); match ITQueue_Impl::CurrentCallsQueued(this) { Ok(ok__) => { - core::ptr::write(plcalls, core::mem::transmute(ok__)); + plcalls.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7365,7 +7365,7 @@ impl ITQueue_Vtbl { let this = (*this).get_impl(); match ITQueue_Impl::TotalCallsAbandoned(this) { Ok(ok__) => { - core::ptr::write(plcalls, core::mem::transmute(ok__)); + plcalls.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7376,7 +7376,7 @@ impl ITQueue_Vtbl { let this = (*this).get_impl(); match ITQueue_Impl::TotalCallsFlowedIn(this) { Ok(ok__) => { - core::ptr::write(plcalls, core::mem::transmute(ok__)); + plcalls.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7387,7 +7387,7 @@ impl ITQueue_Vtbl { let this = (*this).get_impl(); match ITQueue_Impl::TotalCallsFlowedOut(this) { Ok(ok__) => { - core::ptr::write(plcalls, core::mem::transmute(ok__)); + plcalls.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7398,7 +7398,7 @@ impl ITQueue_Vtbl { let this = (*this).get_impl(); match ITQueue_Impl::LongestEverWaitTime(this) { Ok(ok__) => { - core::ptr::write(plwaittime, core::mem::transmute(ok__)); + plwaittime.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7409,7 +7409,7 @@ impl ITQueue_Vtbl { let this = (*this).get_impl(); match ITQueue_Impl::CurrentLongestWaitTime(this) { Ok(ok__) => { - core::ptr::write(plwaittime, core::mem::transmute(ok__)); + plwaittime.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7420,7 +7420,7 @@ impl ITQueue_Vtbl { let this = (*this).get_impl(); match ITQueue_Impl::AverageWaitTime(this) { Ok(ok__) => { - core::ptr::write(plwaittime, core::mem::transmute(ok__)); + plwaittime.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7431,7 +7431,7 @@ impl ITQueue_Vtbl { let this = (*this).get_impl(); match ITQueue_Impl::FinalDisposition(this) { Ok(ok__) => { - core::ptr::write(plcalls, core::mem::transmute(ok__)); + plcalls.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7442,7 +7442,7 @@ impl ITQueue_Vtbl { let this = (*this).get_impl(); match ITQueue_Impl::Name(this) { Ok(ok__) => { - core::ptr::write(ppname, core::mem::transmute(ok__)); + ppname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7483,7 +7483,7 @@ impl ITQueueEvent_Vtbl { let this = (*this).get_impl(); match ITQueueEvent_Impl::Queue(this) { Ok(ok__) => { - core::ptr::write(ppqueue, core::mem::transmute(ok__)); + ppqueue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7494,7 +7494,7 @@ impl ITQueueEvent_Vtbl { let this = (*this).get_impl(); match ITQueueEvent_Impl::Event(this) { Ok(ok__) => { - core::ptr::write(pevent, core::mem::transmute(ok__)); + pevent.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7527,7 +7527,7 @@ impl ITRendezvous_Vtbl { let this = (*this).get_impl(); match ITRendezvous_Impl::DefaultDirectories(this) { Ok(ok__) => { - core::ptr::write(pvariant, core::mem::transmute(ok__)); + pvariant.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7538,7 +7538,7 @@ impl ITRendezvous_Vtbl { let this = (*this).get_impl(); match ITRendezvous_Impl::EnumerateDefaultDirectories(this) { Ok(ok__) => { - core::ptr::write(ppenumdirectory, core::mem::transmute(ok__)); + ppenumdirectory.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7549,7 +7549,7 @@ impl ITRendezvous_Vtbl { let this = (*this).get_impl(); match ITRendezvous_Impl::CreateDirectory(this, core::mem::transmute_copy(&directorytype), core::mem::transmute(&pname)) { Ok(ok__) => { - core::ptr::write(ppdir, core::mem::transmute(ok__)); + ppdir.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7560,7 +7560,7 @@ impl ITRendezvous_Vtbl { let this = (*this).get_impl(); match ITRendezvous_Impl::CreateDirectoryObject(this, core::mem::transmute_copy(&directoryobjecttype), core::mem::transmute(&pname)) { Ok(ok__) => { - core::ptr::write(ppdirectoryobject, core::mem::transmute(ok__)); + ppdirectoryobject.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7617,7 +7617,7 @@ impl ITRequestEvent_Vtbl { let this = (*this).get_impl(); match ITRequestEvent_Impl::RegistrationInstance(this) { Ok(ok__) => { - core::ptr::write(plregistrationinstance, core::mem::transmute(ok__)); + plregistrationinstance.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7628,7 +7628,7 @@ impl ITRequestEvent_Vtbl { let this = (*this).get_impl(); match ITRequestEvent_Impl::RequestMode(this) { Ok(ok__) => { - core::ptr::write(plrequestmode, core::mem::transmute(ok__)); + plrequestmode.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7639,7 +7639,7 @@ impl ITRequestEvent_Vtbl { let this = (*this).get_impl(); match ITRequestEvent_Impl::DestAddress(this) { Ok(ok__) => { - core::ptr::write(ppdestaddress, core::mem::transmute(ok__)); + ppdestaddress.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7650,7 +7650,7 @@ impl ITRequestEvent_Vtbl { let this = (*this).get_impl(); match ITRequestEvent_Impl::AppName(this) { Ok(ok__) => { - core::ptr::write(ppappname, core::mem::transmute(ok__)); + ppappname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7661,7 +7661,7 @@ impl ITRequestEvent_Vtbl { let this = (*this).get_impl(); match ITRequestEvent_Impl::CalledParty(this) { Ok(ok__) => { - core::ptr::write(ppcalledparty, core::mem::transmute(ok__)); + ppcalledparty.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7672,7 +7672,7 @@ impl ITRequestEvent_Vtbl { let this = (*this).get_impl(); match ITRequestEvent_Impl::Comment(this) { Ok(ok__) => { - core::ptr::write(ppcomment, core::mem::transmute(ok__)); + ppcomment.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7717,7 +7717,7 @@ impl ITScriptableAudioFormat_Vtbl { let this = (*this).get_impl(); match ITScriptableAudioFormat_Impl::Channels(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7733,7 +7733,7 @@ impl ITScriptableAudioFormat_Vtbl { let this = (*this).get_impl(); match ITScriptableAudioFormat_Impl::SamplesPerSec(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7749,7 +7749,7 @@ impl ITScriptableAudioFormat_Vtbl { let this = (*this).get_impl(); match ITScriptableAudioFormat_Impl::AvgBytesPerSec(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7765,7 +7765,7 @@ impl ITScriptableAudioFormat_Vtbl { let this = (*this).get_impl(); match ITScriptableAudioFormat_Impl::BlockAlign(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7781,7 +7781,7 @@ impl ITScriptableAudioFormat_Vtbl { let this = (*this).get_impl(); match ITScriptableAudioFormat_Impl::BitsPerSample(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7797,7 +7797,7 @@ impl ITScriptableAudioFormat_Vtbl { let this = (*this).get_impl(); match ITScriptableAudioFormat_Impl::FormatTag(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7842,7 +7842,7 @@ impl ITStaticAudioTerminal_Vtbl { let this = (*this).get_impl(); match ITStaticAudioTerminal_Impl::WaveId(this) { Ok(ok__) => { - core::ptr::write(plwaveid, core::mem::transmute(ok__)); + plwaveid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7877,7 +7877,7 @@ impl ITStream_Vtbl { let this = (*this).get_impl(); match ITStream_Impl::MediaType(this) { Ok(ok__) => { - core::ptr::write(plmediatype, core::mem::transmute(ok__)); + plmediatype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7888,7 +7888,7 @@ impl ITStream_Vtbl { let this = (*this).get_impl(); match ITStream_Impl::Direction(this) { Ok(ok__) => { - core::ptr::write(ptd, core::mem::transmute(ok__)); + ptd.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7899,7 +7899,7 @@ impl ITStream_Vtbl { let this = (*this).get_impl(); match ITStream_Impl::Name(this) { Ok(ok__) => { - core::ptr::write(ppname, core::mem::transmute(ok__)); + ppname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7935,7 +7935,7 @@ impl ITStream_Vtbl { let this = (*this).get_impl(); match ITStream_Impl::EnumerateTerminals(this) { Ok(ok__) => { - core::ptr::write(ppenumterminal, core::mem::transmute(ok__)); + ppenumterminal.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7946,7 +7946,7 @@ impl ITStream_Vtbl { let this = (*this).get_impl(); match ITStream_Impl::Terminals(this) { Ok(ok__) => { - core::ptr::write(pterminals, core::mem::transmute(ok__)); + pterminals.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7987,7 +7987,7 @@ impl ITStreamControl_Vtbl { let this = (*this).get_impl(); match ITStreamControl_Impl::CreateStream(this, core::mem::transmute_copy(&lmediatype), core::mem::transmute_copy(&td)) { Ok(ok__) => { - core::ptr::write(ppstream, core::mem::transmute(ok__)); + ppstream.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8003,7 +8003,7 @@ impl ITStreamControl_Vtbl { let this = (*this).get_impl(); match ITStreamControl_Impl::EnumerateStreams(this) { Ok(ok__) => { - core::ptr::write(ppenumstream, core::mem::transmute(ok__)); + ppenumstream.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8014,7 +8014,7 @@ impl ITStreamControl_Vtbl { let this = (*this).get_impl(); match ITStreamControl_Impl::Streams(this) { Ok(ok__) => { - core::ptr::write(pvariant, core::mem::transmute(ok__)); + pvariant.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8078,7 +8078,7 @@ impl ITSubStream_Vtbl { let this = (*this).get_impl(); match ITSubStream_Impl::EnumerateTerminals(this) { Ok(ok__) => { - core::ptr::write(ppenumterminal, core::mem::transmute(ok__)); + ppenumterminal.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8089,7 +8089,7 @@ impl ITSubStream_Vtbl { let this = (*this).get_impl(); match ITSubStream_Impl::Terminals(this) { Ok(ok__) => { - core::ptr::write(pterminals, core::mem::transmute(ok__)); + pterminals.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8100,7 +8100,7 @@ impl ITSubStream_Vtbl { let this = (*this).get_impl(); match ITSubStream_Impl::Stream(this) { Ok(ok__) => { - core::ptr::write(ppitstream, core::mem::transmute(ok__)); + ppitstream.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8139,7 +8139,7 @@ impl ITSubStreamControl_Vtbl { let this = (*this).get_impl(); match ITSubStreamControl_Impl::CreateSubStream(this) { Ok(ok__) => { - core::ptr::write(ppsubstream, core::mem::transmute(ok__)); + ppsubstream.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8155,7 +8155,7 @@ impl ITSubStreamControl_Vtbl { let this = (*this).get_impl(); match ITSubStreamControl_Impl::EnumerateSubStreams(this) { Ok(ok__) => { - core::ptr::write(ppenumsubstream, core::mem::transmute(ok__)); + ppenumsubstream.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8166,7 +8166,7 @@ impl ITSubStreamControl_Vtbl { let this = (*this).get_impl(); match ITSubStreamControl_Impl::SubStreams(this) { Ok(ok__) => { - core::ptr::write(pvariant, core::mem::transmute(ok__)); + pvariant.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8223,7 +8223,7 @@ impl ITTAPI_Vtbl { let this = (*this).get_impl(); match ITTAPI_Impl::Addresses(this) { Ok(ok__) => { - core::ptr::write(pvariant, core::mem::transmute(ok__)); + pvariant.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8234,7 +8234,7 @@ impl ITTAPI_Vtbl { let this = (*this).get_impl(); match ITTAPI_Impl::EnumerateAddresses(this) { Ok(ok__) => { - core::ptr::write(ppenumaddress, core::mem::transmute(ok__)); + ppenumaddress.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8245,7 +8245,7 @@ impl ITTAPI_Vtbl { let this = (*this).get_impl(); match ITTAPI_Impl::RegisterCallNotifications(this, windows_core::from_raw_borrowed(&paddress), core::mem::transmute_copy(&fmonitor), core::mem::transmute_copy(&fowner), core::mem::transmute_copy(&lmediatypes), core::mem::transmute_copy(&lcallbackinstance)) { Ok(ok__) => { - core::ptr::write(plregister, core::mem::transmute(ok__)); + plregister.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8261,7 +8261,7 @@ impl ITTAPI_Vtbl { let this = (*this).get_impl(); match ITTAPI_Impl::CallHubs(this) { Ok(ok__) => { - core::ptr::write(pvariant, core::mem::transmute(ok__)); + pvariant.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8272,7 +8272,7 @@ impl ITTAPI_Vtbl { let this = (*this).get_impl(); match ITTAPI_Impl::EnumerateCallHubs(this) { Ok(ok__) => { - core::ptr::write(ppenumcallhub, core::mem::transmute(ok__)); + ppenumcallhub.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8288,7 +8288,7 @@ impl ITTAPI_Vtbl { let this = (*this).get_impl(); match ITTAPI_Impl::EnumeratePrivateTAPIObjects(this) { Ok(ok__) => { - core::ptr::write(ppenumunknown, core::mem::transmute(ok__)); + ppenumunknown.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8299,7 +8299,7 @@ impl ITTAPI_Vtbl { let this = (*this).get_impl(); match ITTAPI_Impl::PrivateTAPIObjects(this) { Ok(ok__) => { - core::ptr::write(pvariant, core::mem::transmute(ok__)); + pvariant.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8330,7 +8330,7 @@ impl ITTAPI_Vtbl { let this = (*this).get_impl(); match ITTAPI_Impl::EventFilter(this) { Ok(ok__) => { - core::ptr::write(plfiltermask, core::mem::transmute(ok__)); + plfiltermask.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8376,7 +8376,7 @@ impl ITTAPI2_Vtbl { let this = (*this).get_impl(); match ITTAPI2_Impl::Phones(this) { Ok(ok__) => { - core::ptr::write(pphones, core::mem::transmute(ok__)); + pphones.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8387,7 +8387,7 @@ impl ITTAPI2_Vtbl { let this = (*this).get_impl(); match ITTAPI2_Impl::EnumeratePhones(this) { Ok(ok__) => { - core::ptr::write(ppenumphone, core::mem::transmute(ok__)); + ppenumphone.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8398,7 +8398,7 @@ impl ITTAPI2_Vtbl { let this = (*this).get_impl(); match ITTAPI2_Impl::CreateEmptyCollectionObject(this) { Ok(ok__) => { - core::ptr::write(ppcollection, core::mem::transmute(ok__)); + ppcollection.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8430,7 +8430,7 @@ impl ITTAPICallCenter_Vtbl { let this = (*this).get_impl(); match ITTAPICallCenter_Impl::EnumerateAgentHandlers(this) { Ok(ok__) => { - core::ptr::write(ppenumhandler, core::mem::transmute(ok__)); + ppenumhandler.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8441,7 +8441,7 @@ impl ITTAPICallCenter_Vtbl { let this = (*this).get_impl(); match ITTAPICallCenter_Impl::AgentHandlers(this) { Ok(ok__) => { - core::ptr::write(pvariant, core::mem::transmute(ok__)); + pvariant.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8507,7 +8507,7 @@ impl ITTAPIObjectEvent_Vtbl { let this = (*this).get_impl(); match ITTAPIObjectEvent_Impl::TAPIObject(this) { Ok(ok__) => { - core::ptr::write(pptapiobject, core::mem::transmute(ok__)); + pptapiobject.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8518,7 +8518,7 @@ impl ITTAPIObjectEvent_Vtbl { let this = (*this).get_impl(); match ITTAPIObjectEvent_Impl::Event(this) { Ok(ok__) => { - core::ptr::write(pevent, core::mem::transmute(ok__)); + pevent.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8529,7 +8529,7 @@ impl ITTAPIObjectEvent_Vtbl { let this = (*this).get_impl(); match ITTAPIObjectEvent_Impl::Address(this) { Ok(ok__) => { - core::ptr::write(ppaddress, core::mem::transmute(ok__)); + ppaddress.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8540,7 +8540,7 @@ impl ITTAPIObjectEvent_Vtbl { let this = (*this).get_impl(); match ITTAPIObjectEvent_Impl::CallbackInstance(this) { Ok(ok__) => { - core::ptr::write(plcallbackinstance, core::mem::transmute(ok__)); + plcallbackinstance.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8572,7 +8572,7 @@ impl ITTAPIObjectEvent2_Vtbl { let this = (*this).get_impl(); match ITTAPIObjectEvent2_Impl::Phone(this) { Ok(ok__) => { - core::ptr::write(ppphone, core::mem::transmute(ok__)); + ppphone.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8600,7 +8600,7 @@ impl ITTTSTerminalEvent_Vtbl { let this = (*this).get_impl(); match ITTTSTerminalEvent_Impl::Terminal(this) { Ok(ok__) => { - core::ptr::write(ppterminal, core::mem::transmute(ok__)); + ppterminal.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8611,7 +8611,7 @@ impl ITTTSTerminalEvent_Vtbl { let this = (*this).get_impl(); match ITTTSTerminalEvent_Impl::Call(this) { Ok(ok__) => { - core::ptr::write(ppcall, core::mem::transmute(ok__)); + ppcall.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8622,7 +8622,7 @@ impl ITTTSTerminalEvent_Vtbl { let this = (*this).get_impl(); match ITTTSTerminalEvent_Impl::Error(this) { Ok(ok__) => { - core::ptr::write(phrerrorcode, core::mem::transmute(ok__)); + phrerrorcode.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8658,7 +8658,7 @@ impl ITTerminal_Vtbl { let this = (*this).get_impl(); match ITTerminal_Impl::Name(this) { Ok(ok__) => { - core::ptr::write(ppname, core::mem::transmute(ok__)); + ppname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8669,7 +8669,7 @@ impl ITTerminal_Vtbl { let this = (*this).get_impl(); match ITTerminal_Impl::State(this) { Ok(ok__) => { - core::ptr::write(pterminalstate, core::mem::transmute(ok__)); + pterminalstate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8680,7 +8680,7 @@ impl ITTerminal_Vtbl { let this = (*this).get_impl(); match ITTerminal_Impl::TerminalType(this) { Ok(ok__) => { - core::ptr::write(ptype, core::mem::transmute(ok__)); + ptype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8691,7 +8691,7 @@ impl ITTerminal_Vtbl { let this = (*this).get_impl(); match ITTerminal_Impl::TerminalClass(this) { Ok(ok__) => { - core::ptr::write(ppterminalclass, core::mem::transmute(ok__)); + ppterminalclass.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8702,7 +8702,7 @@ impl ITTerminal_Vtbl { let this = (*this).get_impl(); match ITTerminal_Impl::MediaType(this) { Ok(ok__) => { - core::ptr::write(plmediatype, core::mem::transmute(ok__)); + plmediatype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8713,7 +8713,7 @@ impl ITTerminal_Vtbl { let this = (*this).get_impl(); match ITTerminal_Impl::Direction(this) { Ok(ok__) => { - core::ptr::write(pdirection, core::mem::transmute(ok__)); + pdirection.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8752,7 +8752,7 @@ impl ITTerminalSupport_Vtbl { let this = (*this).get_impl(); match ITTerminalSupport_Impl::StaticTerminals(this) { Ok(ok__) => { - core::ptr::write(pvariant, core::mem::transmute(ok__)); + pvariant.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8763,7 +8763,7 @@ impl ITTerminalSupport_Vtbl { let this = (*this).get_impl(); match ITTerminalSupport_Impl::EnumerateStaticTerminals(this) { Ok(ok__) => { - core::ptr::write(ppterminalenumerator, core::mem::transmute(ok__)); + ppterminalenumerator.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8774,7 +8774,7 @@ impl ITTerminalSupport_Vtbl { let this = (*this).get_impl(); match ITTerminalSupport_Impl::DynamicTerminalClasses(this) { Ok(ok__) => { - core::ptr::write(pvariant, core::mem::transmute(ok__)); + pvariant.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8785,7 +8785,7 @@ impl ITTerminalSupport_Vtbl { let this = (*this).get_impl(); match ITTerminalSupport_Impl::EnumerateDynamicTerminalClasses(this) { Ok(ok__) => { - core::ptr::write(ppterminalclassenumerator, core::mem::transmute(ok__)); + ppterminalclassenumerator.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8796,7 +8796,7 @@ impl ITTerminalSupport_Vtbl { let this = (*this).get_impl(); match ITTerminalSupport_Impl::CreateTerminal(this, core::mem::transmute(&pterminalclass), core::mem::transmute_copy(&lmediatype), core::mem::transmute_copy(&direction)) { Ok(ok__) => { - core::ptr::write(ppterminal, core::mem::transmute(ok__)); + ppterminal.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8807,7 +8807,7 @@ impl ITTerminalSupport_Vtbl { let this = (*this).get_impl(); match ITTerminalSupport_Impl::GetDefaultStaticTerminal(this, core::mem::transmute_copy(&lmediatype), core::mem::transmute_copy(&direction)) { Ok(ok__) => { - core::ptr::write(ppterminal, core::mem::transmute(ok__)); + ppterminal.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8844,7 +8844,7 @@ impl ITTerminalSupport2_Vtbl { let this = (*this).get_impl(); match ITTerminalSupport2_Impl::PluggableSuperclasses(this) { Ok(ok__) => { - core::ptr::write(pvariant, core::mem::transmute(ok__)); + pvariant.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8855,7 +8855,7 @@ impl ITTerminalSupport2_Vtbl { let this = (*this).get_impl(); match ITTerminalSupport2_Impl::EnumeratePluggableSuperclasses(this) { Ok(ok__) => { - core::ptr::write(ppsuperclassenumerator, core::mem::transmute(ok__)); + ppsuperclassenumerator.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8866,7 +8866,7 @@ impl ITTerminalSupport2_Vtbl { let this = (*this).get_impl(); match ITTerminalSupport2_Impl::get_PluggableTerminalClasses(this, core::mem::transmute(&bstrterminalsuperclass), core::mem::transmute_copy(&lmediatype)) { Ok(ok__) => { - core::ptr::write(pvariant, core::mem::transmute(ok__)); + pvariant.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8877,7 +8877,7 @@ impl ITTerminalSupport2_Vtbl { let this = (*this).get_impl(); match ITTerminalSupport2_Impl::EnumeratePluggableTerminalClasses(this, core::mem::transmute(&iidterminalsuperclass), core::mem::transmute_copy(&lmediatype)) { Ok(ok__) => { - core::ptr::write(ppclassenumerator, core::mem::transmute(ok__)); + ppclassenumerator.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8912,7 +8912,7 @@ impl ITToneDetectionEvent_Vtbl { let this = (*this).get_impl(); match ITToneDetectionEvent_Impl::Call(this) { Ok(ok__) => { - core::ptr::write(ppcallinfo, core::mem::transmute(ok__)); + ppcallinfo.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8923,7 +8923,7 @@ impl ITToneDetectionEvent_Vtbl { let this = (*this).get_impl(); match ITToneDetectionEvent_Impl::AppSpecific(this) { Ok(ok__) => { - core::ptr::write(plappspecific, core::mem::transmute(ok__)); + plappspecific.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8934,7 +8934,7 @@ impl ITToneDetectionEvent_Vtbl { let this = (*this).get_impl(); match ITToneDetectionEvent_Impl::TickCount(this) { Ok(ok__) => { - core::ptr::write(pltickcount, core::mem::transmute(ok__)); + pltickcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8945,7 +8945,7 @@ impl ITToneDetectionEvent_Vtbl { let this = (*this).get_impl(); match ITToneDetectionEvent_Impl::CallbackInstance(this) { Ok(ok__) => { - core::ptr::write(plcallbackinstance, core::mem::transmute(ok__)); + plcallbackinstance.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8979,7 +8979,7 @@ impl ITToneTerminalEvent_Vtbl { let this = (*this).get_impl(); match ITToneTerminalEvent_Impl::Terminal(this) { Ok(ok__) => { - core::ptr::write(ppterminal, core::mem::transmute(ok__)); + ppterminal.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8990,7 +8990,7 @@ impl ITToneTerminalEvent_Vtbl { let this = (*this).get_impl(); match ITToneTerminalEvent_Impl::Call(this) { Ok(ok__) => { - core::ptr::write(ppcall, core::mem::transmute(ok__)); + ppcall.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9001,7 +9001,7 @@ impl ITToneTerminalEvent_Vtbl { let this = (*this).get_impl(); match ITToneTerminalEvent_Impl::Error(this) { Ok(ok__) => { - core::ptr::write(phrerrorcode, core::mem::transmute(ok__)); + phrerrorcode.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9053,7 +9053,7 @@ impl ITnef_Vtbl { let this = (*this).get_impl(); match ITnef_Impl::OpenTaggedBody(this, windows_core::from_raw_borrowed(&lpmessage), core::mem::transmute_copy(&ulflags)) { Ok(ok__) => { - core::ptr::write(lppstream, core::mem::transmute(ok__)); + lppstream.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/Win32/Devices/WebServicesOnDevices/impl.rs b/crates/libs/windows/src/Windows/Win32/Devices/WebServicesOnDevices/impl.rs index fa9d929a20..ec035a3db0 100644 --- a/crates/libs/windows/src/Windows/Win32/Devices/WebServicesOnDevices/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Devices/WebServicesOnDevices/impl.rs @@ -74,7 +74,7 @@ impl IWSDAsyncResult_Vtbl { let this = (*this).get_impl(); match IWSDAsyncResult_Impl::GetAsyncState(this) { Ok(ok__) => { - core::ptr::write(ppasyncstate, core::mem::transmute(ok__)); + ppasyncstate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -95,7 +95,7 @@ impl IWSDAsyncResult_Vtbl { let this = (*this).get_impl(); match IWSDAsyncResult_Impl::GetEndpointProxy(this) { Ok(ok__) => { - core::ptr::write(ppendpoint, core::mem::transmute(ok__)); + ppendpoint.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -234,7 +234,7 @@ impl IWSDDeviceHostNotify_Vtbl { let this = (*this).get_impl(); match IWSDDeviceHostNotify_Impl::GetService(this, core::mem::transmute(&pszserviceid)) { Ok(ok__) => { - core::ptr::write(ppservice, core::mem::transmute(ok__)); + ppservice.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -271,7 +271,7 @@ impl IWSDDeviceProxy_Vtbl { let this = (*this).get_impl(); match IWSDDeviceProxy_Impl::BeginGetMetadata(this) { Ok(ok__) => { - core::ptr::write(ppresult, core::mem::transmute(ok__)); + ppresult.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -287,7 +287,7 @@ impl IWSDDeviceProxy_Vtbl { let this = (*this).get_impl(); match IWSDDeviceProxy_Impl::GetHostMetadata(this) { Ok(ok__) => { - core::ptr::write(pphostmetadata, core::mem::transmute(ok__)); + pphostmetadata.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -298,7 +298,7 @@ impl IWSDDeviceProxy_Vtbl { let this = (*this).get_impl(); match IWSDDeviceProxy_Impl::GetThisModelMetadata(this) { Ok(ok__) => { - core::ptr::write(ppmanufacturermetadata, core::mem::transmute(ok__)); + ppmanufacturermetadata.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -309,7 +309,7 @@ impl IWSDDeviceProxy_Vtbl { let this = (*this).get_impl(); match IWSDDeviceProxy_Impl::GetThisDeviceMetadata(this) { Ok(ok__) => { - core::ptr::write(ppthisdevicemetadata, core::mem::transmute(ok__)); + ppthisdevicemetadata.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -320,7 +320,7 @@ impl IWSDDeviceProxy_Vtbl { let this = (*this).get_impl(); match IWSDDeviceProxy_Impl::GetAllMetadata(this) { Ok(ok__) => { - core::ptr::write(ppmetadata, core::mem::transmute(ok__)); + ppmetadata.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -331,7 +331,7 @@ impl IWSDDeviceProxy_Vtbl { let this = (*this).get_impl(); match IWSDDeviceProxy_Impl::GetServiceProxyById(this, core::mem::transmute(&pszserviceid)) { Ok(ok__) => { - core::ptr::write(ppserviceproxy, core::mem::transmute(ok__)); + ppserviceproxy.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -342,7 +342,7 @@ impl IWSDDeviceProxy_Vtbl { let this = (*this).get_impl(); match IWSDDeviceProxy_Impl::GetServiceProxyByType(this, core::mem::transmute_copy(&ptype)) { Ok(ok__) => { - core::ptr::write(ppserviceproxy, core::mem::transmute(ok__)); + ppserviceproxy.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -353,7 +353,7 @@ impl IWSDDeviceProxy_Vtbl { let this = (*this).get_impl(); match IWSDDeviceProxy_Impl::GetEndpointProxy(this) { Ok(ok__) => { - core::ptr::write(ppproxy, core::mem::transmute(ok__)); + ppproxy.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -404,7 +404,7 @@ impl IWSDEndpointProxy_Vtbl { let this = (*this).get_impl(); match IWSDEndpointProxy_Impl::SendTwoWayRequestAsync(this, core::mem::transmute_copy(&pbody), core::mem::transmute_copy(&poperation), windows_core::from_raw_borrowed(&pasyncstate), windows_core::from_raw_borrowed(&pcallback)) { Ok(ok__) => { - core::ptr::write(presult, core::mem::transmute(ok__)); + presult.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -425,7 +425,7 @@ impl IWSDEndpointProxy_Vtbl { let this = (*this).get_impl(); match IWSDEndpointProxy_Impl::GetErrorInfo(this) { Ok(ok__) => { - core::ptr::write(ppszerrorinfo, core::mem::transmute(ok__)); + ppszerrorinfo.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -436,7 +436,7 @@ impl IWSDEndpointProxy_Vtbl { let this = (*this).get_impl(); match IWSDEndpointProxy_Impl::GetFaultInfo(this) { Ok(ok__) => { - core::ptr::write(ppfault, core::mem::transmute(ok__)); + ppfault.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -515,7 +515,7 @@ impl IWSDHttpAddress_Vtbl { let this = (*this).get_impl(); match IWSDHttpAddress_Impl::GetPath(this) { Ok(ok__) => { - core::ptr::write(ppszpath, core::mem::transmute(ok__)); + ppszpath.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -550,7 +550,7 @@ impl IWSDHttpAuthParameters_Vtbl { let this = (*this).get_impl(); match IWSDHttpAuthParameters_Impl::GetClientAccessToken(this) { Ok(ok__) => { - core::ptr::write(phtoken, core::mem::transmute(ok__)); + phtoken.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -561,7 +561,7 @@ impl IWSDHttpAuthParameters_Vtbl { let this = (*this).get_impl(); match IWSDHttpAuthParameters_Impl::GetAuthType(this) { Ok(ok__) => { - core::ptr::write(pauthtype, core::mem::transmute(ok__)); + pauthtype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -601,7 +601,7 @@ impl IWSDHttpMessageParameters_Vtbl { let this = (*this).get_impl(); match IWSDHttpMessageParameters_Impl::GetInboundHttpHeaders(this) { Ok(ok__) => { - core::ptr::write(ppszheaders, core::mem::transmute(ok__)); + ppszheaders.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -617,7 +617,7 @@ impl IWSDHttpMessageParameters_Vtbl { let this = (*this).get_impl(); match IWSDHttpMessageParameters_Impl::GetOutboundHttpHeaders(this) { Ok(ok__) => { - core::ptr::write(ppszheaders, core::mem::transmute(ok__)); + ppszheaders.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -633,7 +633,7 @@ impl IWSDHttpMessageParameters_Vtbl { let this = (*this).get_impl(); match IWSDHttpMessageParameters_Impl::GetID(this) { Ok(ok__) => { - core::ptr::write(ppszid, core::mem::transmute(ok__)); + ppszid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -649,7 +649,7 @@ impl IWSDHttpMessageParameters_Vtbl { let this = (*this).get_impl(); match IWSDHttpMessageParameters_Impl::GetContext(this) { Ok(ok__) => { - core::ptr::write(ppcontext, core::mem::transmute(ok__)); + ppcontext.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -715,7 +715,7 @@ impl IWSDMessageParameters_Vtbl { let this = (*this).get_impl(); match IWSDMessageParameters_Impl::GetLocalAddress(this) { Ok(ok__) => { - core::ptr::write(ppaddress, core::mem::transmute(ok__)); + ppaddress.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -731,7 +731,7 @@ impl IWSDMessageParameters_Vtbl { let this = (*this).get_impl(); match IWSDMessageParameters_Impl::GetRemoteAddress(this) { Ok(ok__) => { - core::ptr::write(ppaddress, core::mem::transmute(ok__)); + ppaddress.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -747,7 +747,7 @@ impl IWSDMessageParameters_Vtbl { let this = (*this).get_impl(); match IWSDMessageParameters_Impl::GetLowerParameters(this) { Ok(ok__) => { - core::ptr::write(pptxparams, core::mem::transmute(ok__)); + pptxparams.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -777,7 +777,7 @@ impl IWSDMetadataExchange_Vtbl { let this = (*this).get_impl(); match IWSDMetadataExchange_Impl::GetMetadata(this) { Ok(ok__) => { - core::ptr::write(metadataout, core::mem::transmute(ok__)); + metadataout.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -802,7 +802,7 @@ impl IWSDOutboundAttachment_Vtbl { let this = (*this).get_impl(); match IWSDOutboundAttachment_Impl::Write(this, core::mem::transmute_copy(&pbuffer), core::mem::transmute_copy(&dwbytestowrite)) { Ok(ok__) => { - core::ptr::write(pdwnumberofbyteswritten, core::mem::transmute(ok__)); + pdwnumberofbyteswritten.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -844,7 +844,7 @@ impl IWSDSSLClientCertificate_Vtbl { let this = (*this).get_impl(); match IWSDSSLClientCertificate_Impl::GetClientCertificate(this) { Ok(ok__) => { - core::ptr::write(ppcertcontext, core::mem::transmute(ok__)); + ppcertcontext.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -855,7 +855,7 @@ impl IWSDSSLClientCertificate_Vtbl { let this = (*this).get_impl(); match IWSDSSLClientCertificate_Impl::GetMappedAccessToken(this) { Ok(ok__) => { - core::ptr::write(phtoken, core::mem::transmute(ok__)); + phtoken.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -883,7 +883,7 @@ impl IWSDScopeMatchingRule_Vtbl { let this = (*this).get_impl(); match IWSDScopeMatchingRule_Impl::GetScopeRule(this) { Ok(ok__) => { - core::ptr::write(ppszscopematchingrule, core::mem::transmute(ok__)); + ppszscopematchingrule.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -894,7 +894,7 @@ impl IWSDScopeMatchingRule_Vtbl { let this = (*this).get_impl(); match IWSDScopeMatchingRule_Impl::MatchScopes(this, core::mem::transmute(&pszscope1), core::mem::transmute(&pszscope2)) { Ok(ok__) => { - core::ptr::write(pfmatch, core::mem::transmute(ok__)); + pfmatch.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -954,7 +954,7 @@ impl IWSDServiceProxy_Vtbl { let this = (*this).get_impl(); match IWSDServiceProxy_Impl::BeginGetMetadata(this) { Ok(ok__) => { - core::ptr::write(ppresult, core::mem::transmute(ok__)); + ppresult.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -965,7 +965,7 @@ impl IWSDServiceProxy_Vtbl { let this = (*this).get_impl(); match IWSDServiceProxy_Impl::EndGetMetadata(this, windows_core::from_raw_borrowed(&presult)) { Ok(ok__) => { - core::ptr::write(ppmetadata, core::mem::transmute(ok__)); + ppmetadata.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -976,7 +976,7 @@ impl IWSDServiceProxy_Vtbl { let this = (*this).get_impl(); match IWSDServiceProxy_Impl::GetServiceMetadata(this) { Ok(ok__) => { - core::ptr::write(ppservicemetadata, core::mem::transmute(ok__)); + ppservicemetadata.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1002,7 +1002,7 @@ impl IWSDServiceProxy_Vtbl { let this = (*this).get_impl(); match IWSDServiceProxy_Impl::GetEndpointProxy(this) { Ok(ok__) => { - core::ptr::write(ppproxy, core::mem::transmute(ok__)); + ppproxy.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1050,7 +1050,7 @@ impl IWSDServiceProxyEventing_Vtbl { let this = (*this).get_impl(); match IWSDServiceProxyEventing_Impl::BeginSubscribeToMultipleOperations(this, core::mem::transmute_copy(&poperations), core::mem::transmute_copy(&dwoperationcount), windows_core::from_raw_borrowed(&punknown), core::mem::transmute_copy(&pexpires), core::mem::transmute_copy(&pany), windows_core::from_raw_borrowed(&pasyncstate), windows_core::from_raw_borrowed(&pasynccallback)) { Ok(ok__) => { - core::ptr::write(ppresult, core::mem::transmute(ok__)); + ppresult.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1071,7 +1071,7 @@ impl IWSDServiceProxyEventing_Vtbl { let this = (*this).get_impl(); match IWSDServiceProxyEventing_Impl::BeginUnsubscribeToMultipleOperations(this, core::mem::transmute_copy(&poperations), core::mem::transmute_copy(&dwoperationcount), core::mem::transmute_copy(&pany), windows_core::from_raw_borrowed(&pasyncstate), windows_core::from_raw_borrowed(&pasynccallback)) { Ok(ok__) => { - core::ptr::write(ppresult, core::mem::transmute(ok__)); + ppresult.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1092,7 +1092,7 @@ impl IWSDServiceProxyEventing_Vtbl { let this = (*this).get_impl(); match IWSDServiceProxyEventing_Impl::BeginRenewMultipleOperations(this, core::mem::transmute_copy(&poperations), core::mem::transmute_copy(&dwoperationcount), core::mem::transmute_copy(&pexpires), core::mem::transmute_copy(&pany), windows_core::from_raw_borrowed(&pasyncstate), windows_core::from_raw_borrowed(&pasynccallback)) { Ok(ok__) => { - core::ptr::write(ppresult, core::mem::transmute(ok__)); + ppresult.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1113,7 +1113,7 @@ impl IWSDServiceProxyEventing_Vtbl { let this = (*this).get_impl(); match IWSDServiceProxyEventing_Impl::BeginGetStatusForMultipleOperations(this, core::mem::transmute_copy(&poperations), core::mem::transmute_copy(&dwoperationcount), core::mem::transmute_copy(&pany), windows_core::from_raw_borrowed(&pasyncstate), windows_core::from_raw_borrowed(&pasynccallback)) { Ok(ok__) => { - core::ptr::write(ppresult, core::mem::transmute(ok__)); + ppresult.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1159,7 +1159,7 @@ impl IWSDSignatureProperty_Vtbl { let this = (*this).get_impl(); match IWSDSignatureProperty_Impl::IsMessageSigned(this) { Ok(ok__) => { - core::ptr::write(pbsigned, core::mem::transmute(ok__)); + pbsigned.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1170,7 +1170,7 @@ impl IWSDSignatureProperty_Vtbl { let this = (*this).get_impl(); match IWSDSignatureProperty_Impl::IsMessageSignatureTrusted(this) { Ok(ok__) => { - core::ptr::write(pbsignaturetrusted, core::mem::transmute(ok__)); + pbsignaturetrusted.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1219,7 +1219,7 @@ impl IWSDTransportAddress_Vtbl { let this = (*this).get_impl(); match IWSDTransportAddress_Impl::GetPort(this) { Ok(ok__) => { - core::ptr::write(pwport, core::mem::transmute(ok__)); + pwport.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1235,7 +1235,7 @@ impl IWSDTransportAddress_Vtbl { let this = (*this).get_impl(); match IWSDTransportAddress_Impl::GetTransportAddress(this) { Ok(ok__) => { - core::ptr::write(ppszaddress, core::mem::transmute(ok__)); + ppszaddress.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1246,7 +1246,7 @@ impl IWSDTransportAddress_Vtbl { let this = (*this).get_impl(); match IWSDTransportAddress_Impl::GetTransportAddressEx(this, core::mem::transmute_copy(&fsafe)) { Ok(ok__) => { - core::ptr::write(ppszaddress, core::mem::transmute(ok__)); + ppszaddress.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1318,7 +1318,7 @@ impl IWSDUdpAddress_Vtbl { let this = (*this).get_impl(); match IWSDUdpAddress_Impl::GetMessageType(this) { Ok(ok__) => { - core::ptr::write(pmessagetype, core::mem::transmute(ok__)); + pmessagetype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1334,7 +1334,7 @@ impl IWSDUdpAddress_Vtbl { let this = (*this).get_impl(); match IWSDUdpAddress_Impl::GetTTL(this) { Ok(ok__) => { - core::ptr::write(pdwttl, core::mem::transmute(ok__)); + pdwttl.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1350,7 +1350,7 @@ impl IWSDUdpAddress_Vtbl { let this = (*this).get_impl(); match IWSDUdpAddress_Impl::GetAlias(this) { Ok(ok__) => { - core::ptr::write(palias, core::mem::transmute(ok__)); + palias.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1463,7 +1463,7 @@ impl IWSDiscoveredService_Vtbl { let this = (*this).get_impl(); match IWSDiscoveredService_Impl::GetEndpointReference(this) { Ok(ok__) => { - core::ptr::write(ppendpointreference, core::mem::transmute(ok__)); + ppendpointreference.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1474,7 +1474,7 @@ impl IWSDiscoveredService_Vtbl { let this = (*this).get_impl(); match IWSDiscoveredService_Impl::GetTypes(this) { Ok(ok__) => { - core::ptr::write(pptypeslist, core::mem::transmute(ok__)); + pptypeslist.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1485,7 +1485,7 @@ impl IWSDiscoveredService_Vtbl { let this = (*this).get_impl(); match IWSDiscoveredService_Impl::GetScopes(this) { Ok(ok__) => { - core::ptr::write(ppscopeslist, core::mem::transmute(ok__)); + ppscopeslist.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1496,7 +1496,7 @@ impl IWSDiscoveredService_Vtbl { let this = (*this).get_impl(); match IWSDiscoveredService_Impl::GetXAddrs(this) { Ok(ok__) => { - core::ptr::write(ppxaddrslist, core::mem::transmute(ok__)); + ppxaddrslist.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1507,7 +1507,7 @@ impl IWSDiscoveredService_Vtbl { let this = (*this).get_impl(); match IWSDiscoveredService_Impl::GetMetadataVersion(this) { Ok(ok__) => { - core::ptr::write(pullmetadataversion, core::mem::transmute(ok__)); + pullmetadataversion.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1523,7 +1523,7 @@ impl IWSDiscoveredService_Vtbl { let this = (*this).get_impl(); match IWSDiscoveredService_Impl::GetProbeResolveTag(this) { Ok(ok__) => { - core::ptr::write(ppsztag, core::mem::transmute(ok__)); + ppsztag.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1534,7 +1534,7 @@ impl IWSDiscoveredService_Vtbl { let this = (*this).get_impl(); match IWSDiscoveredService_Impl::GetRemoteTransportAddress(this) { Ok(ok__) => { - core::ptr::write(ppszremotetransportaddress, core::mem::transmute(ok__)); + ppszremotetransportaddress.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1545,7 +1545,7 @@ impl IWSDiscoveredService_Vtbl { let this = (*this).get_impl(); match IWSDiscoveredService_Impl::GetLocalTransportAddress(this) { Ok(ok__) => { - core::ptr::write(ppszlocaltransportaddress, core::mem::transmute(ok__)); + ppszlocaltransportaddress.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1556,7 +1556,7 @@ impl IWSDiscoveredService_Vtbl { let this = (*this).get_impl(); match IWSDiscoveredService_Impl::GetLocalInterfaceGUID(this) { Ok(ok__) => { - core::ptr::write(pguid, core::mem::transmute(ok__)); + pguid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1567,7 +1567,7 @@ impl IWSDiscoveredService_Vtbl { let this = (*this).get_impl(); match IWSDiscoveredService_Impl::GetInstanceId(this) { Ok(ok__) => { - core::ptr::write(pullinstanceid, core::mem::transmute(ok__)); + pullinstanceid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1639,7 +1639,7 @@ impl IWSDiscoveryProvider_Vtbl { let this = (*this).get_impl(); match IWSDiscoveryProvider_Impl::GetXMLContext(this) { Ok(ok__) => { - core::ptr::write(ppcontext, core::mem::transmute(ok__)); + ppcontext.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1836,7 +1836,7 @@ impl IWSDiscoveryPublisher_Vtbl { let this = (*this).get_impl(); match IWSDiscoveryPublisher_Impl::GetXMLContext(this) { Ok(ok__) => { - core::ptr::write(ppcontext, core::mem::transmute(ok__)); + ppcontext.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/Win32/Gaming/impl.rs b/crates/libs/windows/src/Windows/Win32/Gaming/impl.rs index adb784890d..c0a9eebef1 100644 --- a/crates/libs/windows/src/Windows/Win32/Gaming/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Gaming/impl.rs @@ -27,7 +27,7 @@ impl IGameExplorer_Vtbl { let this = (*this).get_impl(); match IGameExplorer_Impl::VerifyAccess(this, core::mem::transmute(&bstrgdfbinarypath)) { Ok(ok__) => { - core::ptr::write(pfhasaccess, core::mem::transmute(ok__)); + pfhasaccess.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -68,7 +68,7 @@ impl IGameExplorer2_Vtbl { let this = (*this).get_impl(); match IGameExplorer2_Impl::CheckAccess(this, core::mem::transmute(&binarygdfpath)) { Ok(ok__) => { - core::ptr::write(phasaccess, core::mem::transmute(ok__)); + phasaccess.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -107,7 +107,7 @@ impl IGameStatistics_Vtbl { let this = (*this).get_impl(); match IGameStatistics_Impl::GetMaxCategoryLength(this) { Ok(ok__) => { - core::ptr::write(cch, core::mem::transmute(ok__)); + cch.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -118,7 +118,7 @@ impl IGameStatistics_Vtbl { let this = (*this).get_impl(); match IGameStatistics_Impl::GetMaxNameLength(this) { Ok(ok__) => { - core::ptr::write(cch, core::mem::transmute(ok__)); + cch.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -129,7 +129,7 @@ impl IGameStatistics_Vtbl { let this = (*this).get_impl(); match IGameStatistics_Impl::GetMaxValueLength(this) { Ok(ok__) => { - core::ptr::write(cch, core::mem::transmute(ok__)); + cch.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -140,7 +140,7 @@ impl IGameStatistics_Vtbl { let this = (*this).get_impl(); match IGameStatistics_Impl::GetMaxCategories(this) { Ok(ok__) => { - core::ptr::write(pmax, core::mem::transmute(ok__)); + pmax.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -151,7 +151,7 @@ impl IGameStatistics_Vtbl { let this = (*this).get_impl(); match IGameStatistics_Impl::GetMaxStatsPerCategory(this) { Ok(ok__) => { - core::ptr::write(pmax, core::mem::transmute(ok__)); + pmax.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -167,7 +167,7 @@ impl IGameStatistics_Vtbl { let this = (*this).get_impl(); match IGameStatistics_Impl::GetCategoryTitle(this, core::mem::transmute_copy(&categoryindex)) { Ok(ok__) => { - core::ptr::write(ptitle, core::mem::transmute(ok__)); + ptitle.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -198,7 +198,7 @@ impl IGameStatistics_Vtbl { let this = (*this).get_impl(); match IGameStatistics_Impl::GetLastPlayedCategory(this) { Ok(ok__) => { - core::ptr::write(pcategoryindex, core::mem::transmute(ok__)); + pcategoryindex.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -282,7 +282,7 @@ impl IXblIdpAuthManager_Vtbl { let this = (*this).get_impl(); match IXblIdpAuthManager_Impl::GetEnvironment(this) { Ok(ok__) => { - core::ptr::write(environment, core::mem::transmute(ok__)); + environment.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -293,7 +293,7 @@ impl IXblIdpAuthManager_Vtbl { let this = (*this).get_impl(); match IXblIdpAuthManager_Impl::GetSandbox(this) { Ok(ok__) => { - core::ptr::write(sandbox, core::mem::transmute(ok__)); + sandbox.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -304,7 +304,7 @@ impl IXblIdpAuthManager_Vtbl { let this = (*this).get_impl(); match IXblIdpAuthManager_Impl::GetTokenAndSignatureWithTokenResult(this, core::mem::transmute(&msaaccountid), core::mem::transmute(&appsid), core::mem::transmute(&msatarget), core::mem::transmute(&msapolicy), core::mem::transmute(&httpmethod), core::mem::transmute(&uri), core::mem::transmute(&headers), core::mem::transmute_copy(&body), core::mem::transmute_copy(&bodysize), core::mem::transmute_copy(&forcerefresh)) { Ok(ok__) => { - core::ptr::write(result, core::mem::transmute(ok__)); + result.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -335,7 +335,7 @@ impl IXblIdpAuthManager2_Vtbl { let this = (*this).get_impl(); match IXblIdpAuthManager2_Impl::GetUserlessTokenAndSignatureWithTokenResult(this, core::mem::transmute(&appsid), core::mem::transmute(&msatarget), core::mem::transmute(&msapolicy), core::mem::transmute(&httpmethod), core::mem::transmute(&uri), core::mem::transmute(&headers), core::mem::transmute_copy(&body), core::mem::transmute_copy(&bodysize), core::mem::transmute_copy(&forcerefresh)) { Ok(ok__) => { - core::ptr::write(result, core::mem::transmute(ok__)); + result.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -380,7 +380,7 @@ impl IXblIdpAuthTokenResult_Vtbl { let this = (*this).get_impl(); match IXblIdpAuthTokenResult_Impl::GetStatus(this) { Ok(ok__) => { - core::ptr::write(status, core::mem::transmute(ok__)); + status.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -391,7 +391,7 @@ impl IXblIdpAuthTokenResult_Vtbl { let this = (*this).get_impl(); match IXblIdpAuthTokenResult_Impl::GetErrorCode(this) { Ok(ok__) => { - core::ptr::write(errorcode, core::mem::transmute(ok__)); + errorcode.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -402,7 +402,7 @@ impl IXblIdpAuthTokenResult_Vtbl { let this = (*this).get_impl(); match IXblIdpAuthTokenResult_Impl::GetToken(this) { Ok(ok__) => { - core::ptr::write(token, core::mem::transmute(ok__)); + token.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -413,7 +413,7 @@ impl IXblIdpAuthTokenResult_Vtbl { let this = (*this).get_impl(); match IXblIdpAuthTokenResult_Impl::GetSignature(this) { Ok(ok__) => { - core::ptr::write(signature, core::mem::transmute(ok__)); + signature.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -424,7 +424,7 @@ impl IXblIdpAuthTokenResult_Vtbl { let this = (*this).get_impl(); match IXblIdpAuthTokenResult_Impl::GetSandbox(this) { Ok(ok__) => { - core::ptr::write(sandbox, core::mem::transmute(ok__)); + sandbox.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -435,7 +435,7 @@ impl IXblIdpAuthTokenResult_Vtbl { let this = (*this).get_impl(); match IXblIdpAuthTokenResult_Impl::GetEnvironment(this) { Ok(ok__) => { - core::ptr::write(environment, core::mem::transmute(ok__)); + environment.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -446,7 +446,7 @@ impl IXblIdpAuthTokenResult_Vtbl { let this = (*this).get_impl(); match IXblIdpAuthTokenResult_Impl::GetMsaAccountId(this) { Ok(ok__) => { - core::ptr::write(msaaccountid, core::mem::transmute(ok__)); + msaaccountid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -457,7 +457,7 @@ impl IXblIdpAuthTokenResult_Vtbl { let this = (*this).get_impl(); match IXblIdpAuthTokenResult_Impl::GetXuid(this) { Ok(ok__) => { - core::ptr::write(xuid, core::mem::transmute(ok__)); + xuid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -468,7 +468,7 @@ impl IXblIdpAuthTokenResult_Vtbl { let this = (*this).get_impl(); match IXblIdpAuthTokenResult_Impl::GetGamertag(this) { Ok(ok__) => { - core::ptr::write(gamertag, core::mem::transmute(ok__)); + gamertag.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -479,7 +479,7 @@ impl IXblIdpAuthTokenResult_Vtbl { let this = (*this).get_impl(); match IXblIdpAuthTokenResult_Impl::GetAgeGroup(this) { Ok(ok__) => { - core::ptr::write(agegroup, core::mem::transmute(ok__)); + agegroup.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -490,7 +490,7 @@ impl IXblIdpAuthTokenResult_Vtbl { let this = (*this).get_impl(); match IXblIdpAuthTokenResult_Impl::GetPrivileges(this) { Ok(ok__) => { - core::ptr::write(privileges, core::mem::transmute(ok__)); + privileges.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -501,7 +501,7 @@ impl IXblIdpAuthTokenResult_Vtbl { let this = (*this).get_impl(); match IXblIdpAuthTokenResult_Impl::GetMsaTarget(this) { Ok(ok__) => { - core::ptr::write(msatarget, core::mem::transmute(ok__)); + msatarget.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -512,7 +512,7 @@ impl IXblIdpAuthTokenResult_Vtbl { let this = (*this).get_impl(); match IXblIdpAuthTokenResult_Impl::GetMsaPolicy(this) { Ok(ok__) => { - core::ptr::write(msapolicy, core::mem::transmute(ok__)); + msapolicy.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -523,7 +523,7 @@ impl IXblIdpAuthTokenResult_Vtbl { let this = (*this).get_impl(); match IXblIdpAuthTokenResult_Impl::GetMsaAppId(this) { Ok(ok__) => { - core::ptr::write(msaappid, core::mem::transmute(ok__)); + msaappid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -534,7 +534,7 @@ impl IXblIdpAuthTokenResult_Vtbl { let this = (*this).get_impl(); match IXblIdpAuthTokenResult_Impl::GetRedirect(this) { Ok(ok__) => { - core::ptr::write(redirect, core::mem::transmute(ok__)); + redirect.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -545,7 +545,7 @@ impl IXblIdpAuthTokenResult_Vtbl { let this = (*this).get_impl(); match IXblIdpAuthTokenResult_Impl::GetMessage(this) { Ok(ok__) => { - core::ptr::write(message, core::mem::transmute(ok__)); + message.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -556,7 +556,7 @@ impl IXblIdpAuthTokenResult_Vtbl { let this = (*this).get_impl(); match IXblIdpAuthTokenResult_Impl::GetHelpId(this) { Ok(ok__) => { - core::ptr::write(helpid, core::mem::transmute(ok__)); + helpid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -567,7 +567,7 @@ impl IXblIdpAuthTokenResult_Vtbl { let this = (*this).get_impl(); match IXblIdpAuthTokenResult_Impl::GetEnforcementBans(this) { Ok(ok__) => { - core::ptr::write(enforcementbans, core::mem::transmute(ok__)); + enforcementbans.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -578,7 +578,7 @@ impl IXblIdpAuthTokenResult_Vtbl { let this = (*this).get_impl(); match IXblIdpAuthTokenResult_Impl::GetRestrictions(this) { Ok(ok__) => { - core::ptr::write(restrictions, core::mem::transmute(ok__)); + restrictions.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -589,7 +589,7 @@ impl IXblIdpAuthTokenResult_Vtbl { let this = (*this).get_impl(); match IXblIdpAuthTokenResult_Impl::GetTitleRestrictions(this) { Ok(ok__) => { - core::ptr::write(titlerestrictions, core::mem::transmute(ok__)); + titlerestrictions.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -636,7 +636,7 @@ impl IXblIdpAuthTokenResult2_Vtbl { let this = (*this).get_impl(); match IXblIdpAuthTokenResult2_Impl::GetModernGamertag(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -647,7 +647,7 @@ impl IXblIdpAuthTokenResult2_Vtbl { let this = (*this).get_impl(); match IXblIdpAuthTokenResult2_Impl::GetModernGamertagSuffix(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -658,7 +658,7 @@ impl IXblIdpAuthTokenResult2_Vtbl { let this = (*this).get_impl(); match IXblIdpAuthTokenResult2_Impl::GetUniqueModernGamertag(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/Win32/Globalization/impl.rs b/crates/libs/windows/src/Windows/Win32/Globalization/impl.rs index 2dd9660128..3d768000f8 100644 --- a/crates/libs/windows/src/Windows/Win32/Globalization/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Globalization/impl.rs @@ -9,7 +9,7 @@ impl IComprehensiveSpellCheckProvider_Vtbl { let this = (*this).get_impl(); match IComprehensiveSpellCheckProvider_Impl::ComprehensiveCheck(this, core::mem::transmute(&text)) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -175,7 +175,7 @@ impl IMLangCodePages_Vtbl { let this = (*this).get_impl(); match IMLangCodePages_Impl::GetCharCodePages(this, core::mem::transmute_copy(&chsrc)) { Ok(ok__) => { - core::ptr::write(pdwcodepages, core::mem::transmute(ok__)); + pdwcodepages.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -191,7 +191,7 @@ impl IMLangCodePages_Vtbl { let this = (*this).get_impl(); match IMLangCodePages_Impl::CodePageToCodePages(this, core::mem::transmute_copy(&ucodepage)) { Ok(ok__) => { - core::ptr::write(pdwcodepages, core::mem::transmute(ok__)); + pdwcodepages.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -202,7 +202,7 @@ impl IMLangCodePages_Vtbl { let this = (*this).get_impl(); match IMLangCodePages_Impl::CodePagesToCodePage(this, core::mem::transmute_copy(&dwcodepages), core::mem::transmute_copy(&udefaultcodepage)) { Ok(ok__) => { - core::ptr::write(pucodepage, core::mem::transmute(ok__)); + pucodepage.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -242,7 +242,7 @@ impl IMLangConvertCharset_Vtbl { let this = (*this).get_impl(); match IMLangConvertCharset_Impl::GetSourceCodePage(this) { Ok(ok__) => { - core::ptr::write(puisrccodepage, core::mem::transmute(ok__)); + puisrccodepage.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -253,7 +253,7 @@ impl IMLangConvertCharset_Vtbl { let this = (*this).get_impl(); match IMLangConvertCharset_Impl::GetDestinationCodePage(this) { Ok(ok__) => { - core::ptr::write(puidstcodepage, core::mem::transmute(ok__)); + puidstcodepage.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -264,7 +264,7 @@ impl IMLangConvertCharset_Vtbl { let this = (*this).get_impl(); match IMLangConvertCharset_Impl::GetProperty(this) { Ok(ok__) => { - core::ptr::write(pdwproperty, core::mem::transmute(ok__)); + pdwproperty.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -394,7 +394,7 @@ impl IMLangFontLink2_Vtbl { let this = (*this).get_impl(); match IMLangFontLink2_Impl::CodePageToScriptID(this, core::mem::transmute_copy(&uicodepage)) { Ok(ok__) => { - core::ptr::write(psid, core::mem::transmute(ok__)); + psid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -749,7 +749,7 @@ impl IMultiLanguage_Vtbl { let this = (*this).get_impl(); match IMultiLanguage_Impl::GetNumberOfCodePageInfo(this) { Ok(ok__) => { - core::ptr::write(pccodepage, core::mem::transmute(ok__)); + pccodepage.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -765,7 +765,7 @@ impl IMultiLanguage_Vtbl { let this = (*this).get_impl(); match IMultiLanguage_Impl::GetFamilyCodePage(this, core::mem::transmute_copy(&uicodepage)) { Ok(ok__) => { - core::ptr::write(puifamilycodepage, core::mem::transmute(ok__)); + puifamilycodepage.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -776,7 +776,7 @@ impl IMultiLanguage_Vtbl { let this = (*this).get_impl(); match IMultiLanguage_Impl::EnumCodePages(this, core::mem::transmute_copy(&grfflags)) { Ok(ok__) => { - core::ptr::write(ppenumcodepage, core::mem::transmute(ok__)); + ppenumcodepage.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -817,7 +817,7 @@ impl IMultiLanguage_Vtbl { let this = (*this).get_impl(); match IMultiLanguage_Impl::GetRfc1766FromLcid(this, core::mem::transmute_copy(&locale)) { Ok(ok__) => { - core::ptr::write(pbstrrfc1766, core::mem::transmute(ok__)); + pbstrrfc1766.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -833,7 +833,7 @@ impl IMultiLanguage_Vtbl { let this = (*this).get_impl(); match IMultiLanguage_Impl::EnumRfc1766(this) { Ok(ok__) => { - core::ptr::write(ppenumrfc1766, core::mem::transmute(ok__)); + ppenumrfc1766.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -849,7 +849,7 @@ impl IMultiLanguage_Vtbl { let this = (*this).get_impl(); match IMultiLanguage_Impl::CreateConvertCharset(this, core::mem::transmute_copy(&uisrccodepage), core::mem::transmute_copy(&uidstcodepage), core::mem::transmute_copy(&dwproperty)) { Ok(ok__) => { - core::ptr::write(ppmlangconvertcharset, core::mem::transmute(ok__)); + ppmlangconvertcharset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -918,7 +918,7 @@ impl IMultiLanguage2_Vtbl { let this = (*this).get_impl(); match IMultiLanguage2_Impl::GetNumberOfCodePageInfo(this) { Ok(ok__) => { - core::ptr::write(pccodepage, core::mem::transmute(ok__)); + pccodepage.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -934,7 +934,7 @@ impl IMultiLanguage2_Vtbl { let this = (*this).get_impl(); match IMultiLanguage2_Impl::GetFamilyCodePage(this, core::mem::transmute_copy(&uicodepage)) { Ok(ok__) => { - core::ptr::write(puifamilycodepage, core::mem::transmute(ok__)); + puifamilycodepage.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -945,7 +945,7 @@ impl IMultiLanguage2_Vtbl { let this = (*this).get_impl(); match IMultiLanguage2_Impl::EnumCodePages(this, core::mem::transmute_copy(&grfflags), core::mem::transmute_copy(&langid)) { Ok(ok__) => { - core::ptr::write(ppenumcodepage, core::mem::transmute(ok__)); + ppenumcodepage.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -986,7 +986,7 @@ impl IMultiLanguage2_Vtbl { let this = (*this).get_impl(); match IMultiLanguage2_Impl::GetRfc1766FromLcid(this, core::mem::transmute_copy(&locale)) { Ok(ok__) => { - core::ptr::write(pbstrrfc1766, core::mem::transmute(ok__)); + pbstrrfc1766.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1002,7 +1002,7 @@ impl IMultiLanguage2_Vtbl { let this = (*this).get_impl(); match IMultiLanguage2_Impl::EnumRfc1766(this, core::mem::transmute_copy(&langid)) { Ok(ok__) => { - core::ptr::write(ppenumrfc1766, core::mem::transmute(ok__)); + ppenumrfc1766.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1018,7 +1018,7 @@ impl IMultiLanguage2_Vtbl { let this = (*this).get_impl(); match IMultiLanguage2_Impl::CreateConvertCharset(this, core::mem::transmute_copy(&uisrccodepage), core::mem::transmute_copy(&uidstcodepage), core::mem::transmute_copy(&dwproperty)) { Ok(ok__) => { - core::ptr::write(ppmlangconvertcharset, core::mem::transmute(ok__)); + ppmlangconvertcharset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1074,7 +1074,7 @@ impl IMultiLanguage2_Vtbl { let this = (*this).get_impl(); match IMultiLanguage2_Impl::GetNumberOfScripts(this) { Ok(ok__) => { - core::ptr::write(pnscripts, core::mem::transmute(ok__)); + pnscripts.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1085,7 +1085,7 @@ impl IMultiLanguage2_Vtbl { let this = (*this).get_impl(); match IMultiLanguage2_Impl::EnumScripts(this, core::mem::transmute_copy(&dwflags), core::mem::transmute_copy(&langid)) { Ok(ok__) => { - core::ptr::write(ppenumscript, core::mem::transmute(ok__)); + ppenumscript.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1178,7 +1178,7 @@ impl IOptionDescription_Vtbl { let this = (*this).get_impl(); match IOptionDescription_Impl::Id(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1189,7 +1189,7 @@ impl IOptionDescription_Vtbl { let this = (*this).get_impl(); match IOptionDescription_Impl::Heading(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1200,7 +1200,7 @@ impl IOptionDescription_Vtbl { let this = (*this).get_impl(); match IOptionDescription_Impl::Description(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1211,7 +1211,7 @@ impl IOptionDescription_Vtbl { let this = (*this).get_impl(); match IOptionDescription_Impl::Labels(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1252,7 +1252,7 @@ impl ISpellCheckProvider_Vtbl { let this = (*this).get_impl(); match ISpellCheckProvider_Impl::LanguageTag(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1263,7 +1263,7 @@ impl ISpellCheckProvider_Vtbl { let this = (*this).get_impl(); match ISpellCheckProvider_Impl::Check(this, core::mem::transmute(&text)) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1274,7 +1274,7 @@ impl ISpellCheckProvider_Vtbl { let this = (*this).get_impl(); match ISpellCheckProvider_Impl::Suggest(this, core::mem::transmute(&word)) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1285,7 +1285,7 @@ impl ISpellCheckProvider_Vtbl { let this = (*this).get_impl(); match ISpellCheckProvider_Impl::GetOptionValue(this, core::mem::transmute(&optionid)) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1301,7 +1301,7 @@ impl ISpellCheckProvider_Vtbl { let this = (*this).get_impl(); match ISpellCheckProvider_Impl::OptionIds(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1312,7 +1312,7 @@ impl ISpellCheckProvider_Vtbl { let this = (*this).get_impl(); match ISpellCheckProvider_Impl::Id(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1323,7 +1323,7 @@ impl ISpellCheckProvider_Vtbl { let this = (*this).get_impl(); match ISpellCheckProvider_Impl::LocalizedName(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1334,7 +1334,7 @@ impl ISpellCheckProvider_Vtbl { let this = (*this).get_impl(); match ISpellCheckProvider_Impl::GetOptionDescription(this, core::mem::transmute(&optionid)) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1379,7 +1379,7 @@ impl ISpellCheckProviderFactory_Vtbl { let this = (*this).get_impl(); match ISpellCheckProviderFactory_Impl::SupportedLanguages(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1390,7 +1390,7 @@ impl ISpellCheckProviderFactory_Vtbl { let this = (*this).get_impl(); match ISpellCheckProviderFactory_Impl::IsSupported(this, core::mem::transmute(&languagetag)) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1401,7 +1401,7 @@ impl ISpellCheckProviderFactory_Vtbl { let this = (*this).get_impl(); match ISpellCheckProviderFactory_Impl::CreateSpellCheckProvider(this, core::mem::transmute(&languagetag)) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1445,7 +1445,7 @@ impl ISpellChecker_Vtbl { let this = (*this).get_impl(); match ISpellChecker_Impl::LanguageTag(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1456,7 +1456,7 @@ impl ISpellChecker_Vtbl { let this = (*this).get_impl(); match ISpellChecker_Impl::Check(this, core::mem::transmute(&text)) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1467,7 +1467,7 @@ impl ISpellChecker_Vtbl { let this = (*this).get_impl(); match ISpellChecker_Impl::Suggest(this, core::mem::transmute(&word)) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1493,7 +1493,7 @@ impl ISpellChecker_Vtbl { let this = (*this).get_impl(); match ISpellChecker_Impl::GetOptionValue(this, core::mem::transmute(&optionid)) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1504,7 +1504,7 @@ impl ISpellChecker_Vtbl { let this = (*this).get_impl(); match ISpellChecker_Impl::OptionIds(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1515,7 +1515,7 @@ impl ISpellChecker_Vtbl { let this = (*this).get_impl(); match ISpellChecker_Impl::Id(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1526,7 +1526,7 @@ impl ISpellChecker_Vtbl { let this = (*this).get_impl(); match ISpellChecker_Impl::LocalizedName(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1537,7 +1537,7 @@ impl ISpellChecker_Vtbl { let this = (*this).get_impl(); match ISpellChecker_Impl::add_SpellCheckerChanged(this, windows_core::from_raw_borrowed(&handler)) { Ok(ok__) => { - core::ptr::write(eventcookie, core::mem::transmute(ok__)); + eventcookie.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1553,7 +1553,7 @@ impl ISpellChecker_Vtbl { let this = (*this).get_impl(); match ISpellChecker_Impl::GetOptionDescription(this, core::mem::transmute(&optionid)) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1564,7 +1564,7 @@ impl ISpellChecker_Vtbl { let this = (*this).get_impl(); match ISpellChecker_Impl::ComprehensiveCheck(this, core::mem::transmute(&text)) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1645,7 +1645,7 @@ impl ISpellCheckerFactory_Vtbl { let this = (*this).get_impl(); match ISpellCheckerFactory_Impl::SupportedLanguages(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1656,7 +1656,7 @@ impl ISpellCheckerFactory_Vtbl { let this = (*this).get_impl(); match ISpellCheckerFactory_Impl::IsSupported(this, core::mem::transmute(&languagetag)) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1667,7 +1667,7 @@ impl ISpellCheckerFactory_Vtbl { let this = (*this).get_impl(); match ISpellCheckerFactory_Impl::CreateSpellChecker(this, core::mem::transmute(&languagetag)) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1698,7 +1698,7 @@ impl ISpellingError_Vtbl { let this = (*this).get_impl(); match ISpellingError_Impl::StartIndex(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1709,7 +1709,7 @@ impl ISpellingError_Vtbl { let this = (*this).get_impl(); match ISpellingError_Impl::Length(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1720,7 +1720,7 @@ impl ISpellingError_Vtbl { let this = (*this).get_impl(); match ISpellingError_Impl::CorrectiveAction(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1731,7 +1731,7 @@ impl ISpellingError_Vtbl { let this = (*this).get_impl(); match ISpellingError_Impl::Replacement(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/CompositionSwapchain/impl.rs b/crates/libs/windows/src/Windows/Win32/Graphics/CompositionSwapchain/impl.rs index bb04760b46..fb0af12255 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/CompositionSwapchain/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/CompositionSwapchain/impl.rs @@ -149,7 +149,7 @@ impl IPresentationBuffer_Vtbl { let this = (*this).get_impl(); match IPresentationBuffer_Impl::GetAvailableEvent(this) { Ok(ok__) => { - core::ptr::write(availableeventhandle, core::mem::transmute(ok__)); + availableeventhandle.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -160,7 +160,7 @@ impl IPresentationBuffer_Vtbl { let this = (*this).get_impl(); match IPresentationBuffer_Impl::IsAvailable(this) { Ok(ok__) => { - core::ptr::write(isavailable, core::mem::transmute(ok__)); + isavailable.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -216,7 +216,7 @@ impl IPresentationFactory_Vtbl { let this = (*this).get_impl(); match IPresentationFactory_Impl::CreatePresentationManager(this) { Ok(ok__) => { - core::ptr::write(pppresentationmanager, core::mem::transmute(ok__)); + pppresentationmanager.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -256,7 +256,7 @@ impl IPresentationManager_Vtbl { let this = (*this).get_impl(); match IPresentationManager_Impl::AddBufferFromResource(this, windows_core::from_raw_borrowed(&resource)) { Ok(ok__) => { - core::ptr::write(presentationbuffer, core::mem::transmute(ok__)); + presentationbuffer.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -267,7 +267,7 @@ impl IPresentationManager_Vtbl { let this = (*this).get_impl(); match IPresentationManager_Impl::CreatePresentationSurface(this, core::mem::transmute_copy(&compositionsurfacehandle)) { Ok(ok__) => { - core::ptr::write(presentationsurface, core::mem::transmute(ok__)); + presentationsurface.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -303,7 +303,7 @@ impl IPresentationManager_Vtbl { let this = (*this).get_impl(); match IPresentationManager_Impl::GetPresentRetiringFence(this, core::mem::transmute_copy(&riid)) { Ok(ok__) => { - core::ptr::write(fence, core::mem::transmute(ok__)); + fence.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -319,7 +319,7 @@ impl IPresentationManager_Vtbl { let this = (*this).get_impl(); match IPresentationManager_Impl::GetLostEvent(this) { Ok(ok__) => { - core::ptr::write(losteventhandle, core::mem::transmute(ok__)); + losteventhandle.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -330,7 +330,7 @@ impl IPresentationManager_Vtbl { let this = (*this).get_impl(); match IPresentationManager_Impl::GetPresentStatisticsAvailableEvent(this) { Ok(ok__) => { - core::ptr::write(presentstatisticsavailableeventhandle, core::mem::transmute(ok__)); + presentstatisticsavailableeventhandle.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -346,7 +346,7 @@ impl IPresentationManager_Vtbl { let this = (*this).get_impl(); match IPresentationManager_Impl::GetNextPresentStatistics(this) { Ok(ok__) => { - core::ptr::write(nextpresentstatistics, core::mem::transmute(ok__)); + nextpresentstatistics.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/DXCore/impl.rs b/crates/libs/windows/src/Windows/Win32/Graphics/DXCore/impl.rs index da815082f3..d4aba8b308 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/DXCore/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/DXCore/impl.rs @@ -38,7 +38,7 @@ impl IDXCoreAdapter_Vtbl { let this = (*this).get_impl(); match IDXCoreAdapter_Impl::GetPropertySize(this, core::mem::transmute_copy(&property)) { Ok(ok__) => { - core::ptr::write(buffersize, core::mem::transmute(ok__)); + buffersize.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -117,7 +117,7 @@ impl IDXCoreAdapterFactory_Vtbl { let this = (*this).get_impl(); match IDXCoreAdapterFactory_Impl::RegisterEventNotification(this, windows_core::from_raw_borrowed(&dxcoreobject), core::mem::transmute_copy(¬ificationtype), core::mem::transmute_copy(&callbackfunction), core::mem::transmute_copy(&callbackcontext)) { Ok(ok__) => { - core::ptr::write(eventcookie, core::mem::transmute(ok__)); + eventcookie.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/Direct2D/impl.rs b/crates/libs/windows/src/Windows/Win32/Graphics/Direct2D/impl.rs index eedf3a2626..8b4765a87f 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/Direct2D/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/Direct2D/impl.rs @@ -108,7 +108,7 @@ impl ID2D1Bitmap1_Vtbl { let this = (*this).get_impl(); match ID2D1Bitmap1_Impl::GetSurface(this) { Ok(ok__) => { - core::ptr::write(dxgisurface, core::mem::transmute(ok__)); + dxgisurface.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -119,7 +119,7 @@ impl ID2D1Bitmap1_Vtbl { let this = (*this).get_impl(); match ID2D1Bitmap1_Impl::Map(this, core::mem::transmute_copy(&options)) { Ok(ok__) => { - core::ptr::write(mappedrect, core::mem::transmute(ok__)); + mappedrect.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -259,7 +259,7 @@ impl ID2D1BitmapRenderTarget_Vtbl { let this = (*this).get_impl(); match ID2D1BitmapRenderTarget_Impl::GetBitmap(this) { Ok(ok__) => { - core::ptr::write(bitmap, core::mem::transmute(ok__)); + bitmap.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -938,7 +938,7 @@ impl ID2D1Device_Vtbl { let this = (*this).get_impl(); match ID2D1Device_Impl::CreateDeviceContext(this, core::mem::transmute_copy(&options)) { Ok(ok__) => { - core::ptr::write(devicecontext, core::mem::transmute(ok__)); + devicecontext.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -949,7 +949,7 @@ impl ID2D1Device_Vtbl { let this = (*this).get_impl(); match ID2D1Device_Impl::CreatePrintControl(this, windows_core::from_raw_borrowed(&wicfactory), windows_core::from_raw_borrowed(&documenttarget), core::mem::transmute_copy(&printcontrolproperties)) { Ok(ok__) => { - core::ptr::write(printcontrol, core::mem::transmute(ok__)); + printcontrol.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1009,7 +1009,7 @@ impl ID2D1Device1_Vtbl { let this = (*this).get_impl(); match ID2D1Device1_Impl::CreateDeviceContext(this, core::mem::transmute_copy(&options)) { Ok(ok__) => { - core::ptr::write(devicecontext1, core::mem::transmute(ok__)); + devicecontext1.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1042,7 +1042,7 @@ impl ID2D1Device2_Vtbl { let this = (*this).get_impl(); match ID2D1Device2_Impl::CreateDeviceContext(this, core::mem::transmute_copy(&options)) { Ok(ok__) => { - core::ptr::write(devicecontext2, core::mem::transmute(ok__)); + devicecontext2.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1058,7 +1058,7 @@ impl ID2D1Device2_Vtbl { let this = (*this).get_impl(); match ID2D1Device2_Impl::GetDxgiDevice(this) { Ok(ok__) => { - core::ptr::write(dxgidevice, core::mem::transmute(ok__)); + dxgidevice.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1089,7 +1089,7 @@ impl ID2D1Device3_Vtbl { let this = (*this).get_impl(); match ID2D1Device3_Impl::CreateDeviceContext(this, core::mem::transmute_copy(&options)) { Ok(ok__) => { - core::ptr::write(devicecontext3, core::mem::transmute(ok__)); + devicecontext3.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1117,7 +1117,7 @@ impl ID2D1Device4_Vtbl { let this = (*this).get_impl(); match ID2D1Device4_Impl::CreateDeviceContext(this, core::mem::transmute_copy(&options)) { Ok(ok__) => { - core::ptr::write(devicecontext4, core::mem::transmute(ok__)); + devicecontext4.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1158,7 +1158,7 @@ impl ID2D1Device5_Vtbl { let this = (*this).get_impl(); match ID2D1Device5_Impl::CreateDeviceContext(this, core::mem::transmute_copy(&options)) { Ok(ok__) => { - core::ptr::write(devicecontext5, core::mem::transmute(ok__)); + devicecontext5.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1184,7 +1184,7 @@ impl ID2D1Device6_Vtbl { let this = (*this).get_impl(); match ID2D1Device6_Impl::CreateDeviceContext(this, core::mem::transmute_copy(&options)) { Ok(ok__) => { - core::ptr::write(devicecontext6, core::mem::transmute(ok__)); + devicecontext6.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1210,7 +1210,7 @@ impl ID2D1Device7_Vtbl { let this = (*this).get_impl(); match ID2D1Device7_Impl::CreateDeviceContext(this, core::mem::transmute_copy(&options)) { Ok(ok__) => { - core::ptr::write(devicecontext, core::mem::transmute(ok__)); + devicecontext.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1270,7 +1270,7 @@ impl ID2D1DeviceContext_Vtbl { let this = (*this).get_impl(); match ID2D1DeviceContext_Impl::CreateBitmap(this, core::mem::transmute(&size), core::mem::transmute_copy(&sourcedata), core::mem::transmute_copy(&pitch), core::mem::transmute_copy(&bitmapproperties)) { Ok(ok__) => { - core::ptr::write(bitmap, core::mem::transmute(ok__)); + bitmap.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1281,7 +1281,7 @@ impl ID2D1DeviceContext_Vtbl { let this = (*this).get_impl(); match ID2D1DeviceContext_Impl::CreateBitmapFromWicBitmap(this, windows_core::from_raw_borrowed(&wicbitmapsource), core::mem::transmute_copy(&bitmapproperties)) { Ok(ok__) => { - core::ptr::write(bitmap, core::mem::transmute(ok__)); + bitmap.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1292,7 +1292,7 @@ impl ID2D1DeviceContext_Vtbl { let this = (*this).get_impl(); match ID2D1DeviceContext_Impl::CreateColorContext(this, core::mem::transmute_copy(&space), core::mem::transmute_copy(&profile), core::mem::transmute_copy(&profilesize)) { Ok(ok__) => { - core::ptr::write(colorcontext, core::mem::transmute(ok__)); + colorcontext.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1303,7 +1303,7 @@ impl ID2D1DeviceContext_Vtbl { let this = (*this).get_impl(); match ID2D1DeviceContext_Impl::CreateColorContextFromFilename(this, core::mem::transmute(&filename)) { Ok(ok__) => { - core::ptr::write(colorcontext, core::mem::transmute(ok__)); + colorcontext.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1314,7 +1314,7 @@ impl ID2D1DeviceContext_Vtbl { let this = (*this).get_impl(); match ID2D1DeviceContext_Impl::CreateColorContextFromWicColorContext(this, windows_core::from_raw_borrowed(&wiccolorcontext)) { Ok(ok__) => { - core::ptr::write(colorcontext, core::mem::transmute(ok__)); + colorcontext.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1325,7 +1325,7 @@ impl ID2D1DeviceContext_Vtbl { let this = (*this).get_impl(); match ID2D1DeviceContext_Impl::CreateBitmapFromDxgiSurface(this, windows_core::from_raw_borrowed(&surface), core::mem::transmute_copy(&bitmapproperties)) { Ok(ok__) => { - core::ptr::write(bitmap, core::mem::transmute(ok__)); + bitmap.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1336,7 +1336,7 @@ impl ID2D1DeviceContext_Vtbl { let this = (*this).get_impl(); match ID2D1DeviceContext_Impl::CreateEffect(this, core::mem::transmute_copy(&effectid)) { Ok(ok__) => { - core::ptr::write(effect, core::mem::transmute(ok__)); + effect.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1347,7 +1347,7 @@ impl ID2D1DeviceContext_Vtbl { let this = (*this).get_impl(); match ID2D1DeviceContext_Impl::CreateGradientStopCollection(this, core::mem::transmute_copy(&straightalphagradientstops), core::mem::transmute_copy(&straightalphagradientstopscount), core::mem::transmute_copy(&preinterpolationspace), core::mem::transmute_copy(&postinterpolationspace), core::mem::transmute_copy(&bufferprecision), core::mem::transmute_copy(&extendmode), core::mem::transmute_copy(&colorinterpolationmode)) { Ok(ok__) => { - core::ptr::write(gradientstopcollection1, core::mem::transmute(ok__)); + gradientstopcollection1.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1358,7 +1358,7 @@ impl ID2D1DeviceContext_Vtbl { let this = (*this).get_impl(); match ID2D1DeviceContext_Impl::CreateImageBrush(this, windows_core::from_raw_borrowed(&image), core::mem::transmute_copy(&imagebrushproperties), core::mem::transmute_copy(&brushproperties)) { Ok(ok__) => { - core::ptr::write(imagebrush, core::mem::transmute(ok__)); + imagebrush.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1369,7 +1369,7 @@ impl ID2D1DeviceContext_Vtbl { let this = (*this).get_impl(); match ID2D1DeviceContext_Impl::CreateBitmapBrush(this, windows_core::from_raw_borrowed(&bitmap), core::mem::transmute_copy(&bitmapbrushproperties), core::mem::transmute_copy(&brushproperties)) { Ok(ok__) => { - core::ptr::write(bitmapbrush, core::mem::transmute(ok__)); + bitmapbrush.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1380,7 +1380,7 @@ impl ID2D1DeviceContext_Vtbl { let this = (*this).get_impl(); match ID2D1DeviceContext_Impl::CreateCommandList(this) { Ok(ok__) => { - core::ptr::write(commandlist, core::mem::transmute(ok__)); + commandlist.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1401,7 +1401,7 @@ impl ID2D1DeviceContext_Vtbl { let this = (*this).get_impl(); match ID2D1DeviceContext_Impl::GetImageLocalBounds(this, windows_core::from_raw_borrowed(&image)) { Ok(ok__) => { - core::ptr::write(localbounds, core::mem::transmute(ok__)); + localbounds.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1412,7 +1412,7 @@ impl ID2D1DeviceContext_Vtbl { let this = (*this).get_impl(); match ID2D1DeviceContext_Impl::GetImageWorldBounds(this, windows_core::from_raw_borrowed(&image)) { Ok(ok__) => { - core::ptr::write(worldbounds, core::mem::transmute(ok__)); + worldbounds.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1423,7 +1423,7 @@ impl ID2D1DeviceContext_Vtbl { let this = (*this).get_impl(); match ID2D1DeviceContext_Impl::GetGlyphRunWorldBounds(this, core::mem::transmute(&baselineorigin), core::mem::transmute_copy(&glyphrun), core::mem::transmute_copy(&measuringmode)) { Ok(ok__) => { - core::ptr::write(bounds, core::mem::transmute(ok__)); + bounds.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1509,7 +1509,7 @@ impl ID2D1DeviceContext_Vtbl { let this = (*this).get_impl(); match ID2D1DeviceContext_Impl::GetEffectInvalidRectangleCount(this, windows_core::from_raw_borrowed(&effect)) { Ok(ok__) => { - core::ptr::write(rectanglecount, core::mem::transmute(ok__)); + rectanglecount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1589,7 +1589,7 @@ impl ID2D1DeviceContext1_Vtbl { let this = (*this).get_impl(); match ID2D1DeviceContext1_Impl::CreateFilledGeometryRealization(this, windows_core::from_raw_borrowed(&geometry), core::mem::transmute_copy(&flatteningtolerance)) { Ok(ok__) => { - core::ptr::write(geometryrealization, core::mem::transmute(ok__)); + geometryrealization.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1600,7 +1600,7 @@ impl ID2D1DeviceContext1_Vtbl { let this = (*this).get_impl(); match ID2D1DeviceContext1_Impl::CreateStrokedGeometryRealization(this, windows_core::from_raw_borrowed(&geometry), core::mem::transmute_copy(&flatteningtolerance), core::mem::transmute_copy(&strokewidth), windows_core::from_raw_borrowed(&strokestyle)) { Ok(ok__) => { - core::ptr::write(geometryrealization, core::mem::transmute(ok__)); + geometryrealization.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1646,7 +1646,7 @@ impl ID2D1DeviceContext2_Vtbl { let this = (*this).get_impl(); match ID2D1DeviceContext2_Impl::CreateInk(this, core::mem::transmute_copy(&startpoint)) { Ok(ok__) => { - core::ptr::write(ink, core::mem::transmute(ok__)); + ink.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1657,7 +1657,7 @@ impl ID2D1DeviceContext2_Vtbl { let this = (*this).get_impl(); match ID2D1DeviceContext2_Impl::CreateInkStyle(this, core::mem::transmute_copy(&inkstyleproperties)) { Ok(ok__) => { - core::ptr::write(inkstyle, core::mem::transmute(ok__)); + inkstyle.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1668,7 +1668,7 @@ impl ID2D1DeviceContext2_Vtbl { let this = (*this).get_impl(); match ID2D1DeviceContext2_Impl::CreateGradientMesh(this, core::mem::transmute_copy(&patches), core::mem::transmute_copy(&patchescount)) { Ok(ok__) => { - core::ptr::write(gradientmesh, core::mem::transmute(ok__)); + gradientmesh.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1679,7 +1679,7 @@ impl ID2D1DeviceContext2_Vtbl { let this = (*this).get_impl(); match ID2D1DeviceContext2_Impl::CreateImageSourceFromWic(this, windows_core::from_raw_borrowed(&wicbitmapsource), core::mem::transmute_copy(&loadingoptions), core::mem::transmute_copy(&alphamode)) { Ok(ok__) => { - core::ptr::write(imagesource, core::mem::transmute(ok__)); + imagesource.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1690,7 +1690,7 @@ impl ID2D1DeviceContext2_Vtbl { let this = (*this).get_impl(); match ID2D1DeviceContext2_Impl::CreateLookupTable3D(this, core::mem::transmute_copy(&precision), core::mem::transmute_copy(&extents), core::mem::transmute_copy(&data), core::mem::transmute_copy(&datacount), core::mem::transmute_copy(&strides)) { Ok(ok__) => { - core::ptr::write(lookuptable, core::mem::transmute(ok__)); + lookuptable.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1701,7 +1701,7 @@ impl ID2D1DeviceContext2_Vtbl { let this = (*this).get_impl(); match ID2D1DeviceContext2_Impl::CreateImageSourceFromDxgi(this, core::mem::transmute_copy(&surfaces), core::mem::transmute_copy(&surfacecount), core::mem::transmute_copy(&colorspace), core::mem::transmute_copy(&options)) { Ok(ok__) => { - core::ptr::write(imagesource, core::mem::transmute(ok__)); + imagesource.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1712,7 +1712,7 @@ impl ID2D1DeviceContext2_Vtbl { let this = (*this).get_impl(); match ID2D1DeviceContext2_Impl::GetGradientMeshWorldBounds(this, windows_core::from_raw_borrowed(&gradientmesh)) { Ok(ok__) => { - core::ptr::write(pbounds, core::mem::transmute(ok__)); + pbounds.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1738,7 +1738,7 @@ impl ID2D1DeviceContext2_Vtbl { let this = (*this).get_impl(); match ID2D1DeviceContext2_Impl::CreateTransformedImageSource(this, windows_core::from_raw_borrowed(&imagesource), core::mem::transmute_copy(&properties)) { Ok(ok__) => { - core::ptr::write(transformedimagesource, core::mem::transmute(ok__)); + transformedimagesource.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1778,7 +1778,7 @@ impl ID2D1DeviceContext3_Vtbl { let this = (*this).get_impl(); match ID2D1DeviceContext3_Impl::CreateSpriteBatch(this) { Ok(ok__) => { - core::ptr::write(spritebatch, core::mem::transmute(ok__)); + spritebatch.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1819,7 +1819,7 @@ impl ID2D1DeviceContext4_Vtbl { let this = (*this).get_impl(); match ID2D1DeviceContext4_Impl::CreateSvgGlyphStyle(this) { Ok(ok__) => { - core::ptr::write(svgglyphstyle, core::mem::transmute(ok__)); + svgglyphstyle.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1887,7 +1887,7 @@ impl ID2D1DeviceContext5_Vtbl { let this = (*this).get_impl(); match ID2D1DeviceContext5_Impl::CreateSvgDocument(this, windows_core::from_raw_borrowed(&inputxmlstream), core::mem::transmute(&viewportsize)) { Ok(ok__) => { - core::ptr::write(svgdocument, core::mem::transmute(ok__)); + svgdocument.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1903,7 +1903,7 @@ impl ID2D1DeviceContext5_Vtbl { let this = (*this).get_impl(); match ID2D1DeviceContext5_Impl::CreateColorContextFromDxgiColorSpace(this, core::mem::transmute_copy(&colorspace)) { Ok(ok__) => { - core::ptr::write(colorcontext, core::mem::transmute(ok__)); + colorcontext.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1914,7 +1914,7 @@ impl ID2D1DeviceContext5_Vtbl { let this = (*this).get_impl(); match ID2D1DeviceContext5_Impl::CreateColorContextFromSimpleColorProfile(this, core::mem::transmute_copy(&simpleprofile)) { Ok(ok__) => { - core::ptr::write(colorcontext, core::mem::transmute(ok__)); + colorcontext.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2215,7 +2215,7 @@ impl ID2D1EffectContext_Vtbl { let this = (*this).get_impl(); match ID2D1EffectContext_Impl::CreateEffect(this, core::mem::transmute_copy(&effectid)) { Ok(ok__) => { - core::ptr::write(effect, core::mem::transmute(ok__)); + effect.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2226,7 +2226,7 @@ impl ID2D1EffectContext_Vtbl { let this = (*this).get_impl(); match ID2D1EffectContext_Impl::GetMaximumSupportedFeatureLevel(this, core::mem::transmute_copy(&featurelevels), core::mem::transmute_copy(&featurelevelscount)) { Ok(ok__) => { - core::ptr::write(maximumsupportedfeaturelevel, core::mem::transmute(ok__)); + maximumsupportedfeaturelevel.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2237,7 +2237,7 @@ impl ID2D1EffectContext_Vtbl { let this = (*this).get_impl(); match ID2D1EffectContext_Impl::CreateTransformNodeFromEffect(this, windows_core::from_raw_borrowed(&effect)) { Ok(ok__) => { - core::ptr::write(transformnode, core::mem::transmute(ok__)); + transformnode.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2248,7 +2248,7 @@ impl ID2D1EffectContext_Vtbl { let this = (*this).get_impl(); match ID2D1EffectContext_Impl::CreateBlendTransform(this, core::mem::transmute_copy(&numinputs), core::mem::transmute_copy(&blenddescription)) { Ok(ok__) => { - core::ptr::write(transform, core::mem::transmute(ok__)); + transform.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2259,7 +2259,7 @@ impl ID2D1EffectContext_Vtbl { let this = (*this).get_impl(); match ID2D1EffectContext_Impl::CreateBorderTransform(this, core::mem::transmute_copy(&extendmodex), core::mem::transmute_copy(&extendmodey)) { Ok(ok__) => { - core::ptr::write(transform, core::mem::transmute(ok__)); + transform.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2270,7 +2270,7 @@ impl ID2D1EffectContext_Vtbl { let this = (*this).get_impl(); match ID2D1EffectContext_Impl::CreateOffsetTransform(this, core::mem::transmute(&offset)) { Ok(ok__) => { - core::ptr::write(transform, core::mem::transmute(ok__)); + transform.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2281,7 +2281,7 @@ impl ID2D1EffectContext_Vtbl { let this = (*this).get_impl(); match ID2D1EffectContext_Impl::CreateBoundsAdjustmentTransform(this, core::mem::transmute_copy(&outputrectangle)) { Ok(ok__) => { - core::ptr::write(transform, core::mem::transmute(ok__)); + transform.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2312,7 +2312,7 @@ impl ID2D1EffectContext_Vtbl { let this = (*this).get_impl(); match ID2D1EffectContext_Impl::CreateResourceTexture(this, core::mem::transmute_copy(&resourceid), core::mem::transmute_copy(&resourcetextureproperties), core::mem::transmute_copy(&data), core::mem::transmute_copy(&strides), core::mem::transmute_copy(&datasize)) { Ok(ok__) => { - core::ptr::write(resourcetexture, core::mem::transmute(ok__)); + resourcetexture.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2323,7 +2323,7 @@ impl ID2D1EffectContext_Vtbl { let this = (*this).get_impl(); match ID2D1EffectContext_Impl::FindResourceTexture(this, core::mem::transmute_copy(&resourceid)) { Ok(ok__) => { - core::ptr::write(resourcetexture, core::mem::transmute(ok__)); + resourcetexture.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2334,7 +2334,7 @@ impl ID2D1EffectContext_Vtbl { let this = (*this).get_impl(); match ID2D1EffectContext_Impl::CreateVertexBuffer(this, core::mem::transmute_copy(&vertexbufferproperties), core::mem::transmute_copy(&resourceid), core::mem::transmute_copy(&customvertexbufferproperties)) { Ok(ok__) => { - core::ptr::write(buffer, core::mem::transmute(ok__)); + buffer.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2345,7 +2345,7 @@ impl ID2D1EffectContext_Vtbl { let this = (*this).get_impl(); match ID2D1EffectContext_Impl::FindVertexBuffer(this, core::mem::transmute_copy(&resourceid)) { Ok(ok__) => { - core::ptr::write(buffer, core::mem::transmute(ok__)); + buffer.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2356,7 +2356,7 @@ impl ID2D1EffectContext_Vtbl { let this = (*this).get_impl(); match ID2D1EffectContext_Impl::CreateColorContext(this, core::mem::transmute_copy(&space), core::mem::transmute_copy(&profile), core::mem::transmute_copy(&profilesize)) { Ok(ok__) => { - core::ptr::write(colorcontext, core::mem::transmute(ok__)); + colorcontext.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2367,7 +2367,7 @@ impl ID2D1EffectContext_Vtbl { let this = (*this).get_impl(); match ID2D1EffectContext_Impl::CreateColorContextFromFilename(this, core::mem::transmute(&filename)) { Ok(ok__) => { - core::ptr::write(colorcontext, core::mem::transmute(ok__)); + colorcontext.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2378,7 +2378,7 @@ impl ID2D1EffectContext_Vtbl { let this = (*this).get_impl(); match ID2D1EffectContext_Impl::CreateColorContextFromWicColorContext(this, windows_core::from_raw_borrowed(&wiccolorcontext)) { Ok(ok__) => { - core::ptr::write(colorcontext, core::mem::transmute(ok__)); + colorcontext.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2437,7 +2437,7 @@ impl ID2D1EffectContext1_Vtbl { let this = (*this).get_impl(); match ID2D1EffectContext1_Impl::CreateLookupTable3D(this, core::mem::transmute_copy(&precision), core::mem::transmute_copy(&extents), core::mem::transmute_copy(&data), core::mem::transmute_copy(&datacount), core::mem::transmute_copy(&strides)) { Ok(ok__) => { - core::ptr::write(lookuptable, core::mem::transmute(ok__)); + lookuptable.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2464,7 +2464,7 @@ impl ID2D1EffectContext2_Vtbl { let this = (*this).get_impl(); match ID2D1EffectContext2_Impl::CreateColorContextFromDxgiColorSpace(this, core::mem::transmute_copy(&colorspace)) { Ok(ok__) => { - core::ptr::write(colorcontext, core::mem::transmute(ok__)); + colorcontext.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2475,7 +2475,7 @@ impl ID2D1EffectContext2_Vtbl { let this = (*this).get_impl(); match ID2D1EffectContext2_Impl::CreateColorContextFromSimpleColorProfile(this, core::mem::transmute_copy(&simpleprofile)) { Ok(ok__) => { - core::ptr::write(colorcontext, core::mem::transmute(ok__)); + colorcontext.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2582,7 +2582,7 @@ impl ID2D1Factory_Vtbl { let this = (*this).get_impl(); match ID2D1Factory_Impl::CreateRectangleGeometry(this, core::mem::transmute_copy(&rectangle)) { Ok(ok__) => { - core::ptr::write(rectanglegeometry, core::mem::transmute(ok__)); + rectanglegeometry.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2593,7 +2593,7 @@ impl ID2D1Factory_Vtbl { let this = (*this).get_impl(); match ID2D1Factory_Impl::CreateRoundedRectangleGeometry(this, core::mem::transmute_copy(&roundedrectangle)) { Ok(ok__) => { - core::ptr::write(roundedrectanglegeometry, core::mem::transmute(ok__)); + roundedrectanglegeometry.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2604,7 +2604,7 @@ impl ID2D1Factory_Vtbl { let this = (*this).get_impl(); match ID2D1Factory_Impl::CreateEllipseGeometry(this, core::mem::transmute_copy(&ellipse)) { Ok(ok__) => { - core::ptr::write(ellipsegeometry, core::mem::transmute(ok__)); + ellipsegeometry.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2615,7 +2615,7 @@ impl ID2D1Factory_Vtbl { let this = (*this).get_impl(); match ID2D1Factory_Impl::CreateGeometryGroup(this, core::mem::transmute_copy(&fillmode), core::mem::transmute_copy(&geometries), core::mem::transmute_copy(&geometriescount)) { Ok(ok__) => { - core::ptr::write(geometrygroup, core::mem::transmute(ok__)); + geometrygroup.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2626,7 +2626,7 @@ impl ID2D1Factory_Vtbl { let this = (*this).get_impl(); match ID2D1Factory_Impl::CreateTransformedGeometry(this, windows_core::from_raw_borrowed(&sourcegeometry), core::mem::transmute_copy(&transform)) { Ok(ok__) => { - core::ptr::write(transformedgeometry, core::mem::transmute(ok__)); + transformedgeometry.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2637,7 +2637,7 @@ impl ID2D1Factory_Vtbl { let this = (*this).get_impl(); match ID2D1Factory_Impl::CreatePathGeometry(this) { Ok(ok__) => { - core::ptr::write(pathgeometry, core::mem::transmute(ok__)); + pathgeometry.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2648,7 +2648,7 @@ impl ID2D1Factory_Vtbl { let this = (*this).get_impl(); match ID2D1Factory_Impl::CreateStrokeStyle(this, core::mem::transmute_copy(&strokestyleproperties), core::mem::transmute_copy(&dashes), core::mem::transmute_copy(&dashescount)) { Ok(ok__) => { - core::ptr::write(strokestyle, core::mem::transmute(ok__)); + strokestyle.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2659,7 +2659,7 @@ impl ID2D1Factory_Vtbl { let this = (*this).get_impl(); match ID2D1Factory_Impl::CreateDrawingStateBlock(this, core::mem::transmute_copy(&drawingstatedescription), windows_core::from_raw_borrowed(&textrenderingparams)) { Ok(ok__) => { - core::ptr::write(drawingstateblock, core::mem::transmute(ok__)); + drawingstateblock.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2670,7 +2670,7 @@ impl ID2D1Factory_Vtbl { let this = (*this).get_impl(); match ID2D1Factory_Impl::CreateWicBitmapRenderTarget(this, windows_core::from_raw_borrowed(&target), core::mem::transmute_copy(&rendertargetproperties)) { Ok(ok__) => { - core::ptr::write(rendertarget, core::mem::transmute(ok__)); + rendertarget.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2681,7 +2681,7 @@ impl ID2D1Factory_Vtbl { let this = (*this).get_impl(); match ID2D1Factory_Impl::CreateHwndRenderTarget(this, core::mem::transmute_copy(&rendertargetproperties), core::mem::transmute_copy(&hwndrendertargetproperties)) { Ok(ok__) => { - core::ptr::write(hwndrendertarget, core::mem::transmute(ok__)); + hwndrendertarget.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2692,7 +2692,7 @@ impl ID2D1Factory_Vtbl { let this = (*this).get_impl(); match ID2D1Factory_Impl::CreateDxgiSurfaceRenderTarget(this, windows_core::from_raw_borrowed(&dxgisurface), core::mem::transmute_copy(&rendertargetproperties)) { Ok(ok__) => { - core::ptr::write(rendertarget, core::mem::transmute(ok__)); + rendertarget.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2703,7 +2703,7 @@ impl ID2D1Factory_Vtbl { let this = (*this).get_impl(); match ID2D1Factory_Impl::CreateDCRenderTarget(this, core::mem::transmute_copy(&rendertargetproperties)) { Ok(ok__) => { - core::ptr::write(dcrendertarget, core::mem::transmute(ok__)); + dcrendertarget.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2754,7 +2754,7 @@ impl ID2D1Factory1_Vtbl { let this = (*this).get_impl(); match ID2D1Factory1_Impl::CreateDevice(this, windows_core::from_raw_borrowed(&dxgidevice)) { Ok(ok__) => { - core::ptr::write(d2ddevice, core::mem::transmute(ok__)); + d2ddevice.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2765,7 +2765,7 @@ impl ID2D1Factory1_Vtbl { let this = (*this).get_impl(); match ID2D1Factory1_Impl::CreateStrokeStyle(this, core::mem::transmute_copy(&strokestyleproperties), core::mem::transmute_copy(&dashes), core::mem::transmute_copy(&dashescount)) { Ok(ok__) => { - core::ptr::write(strokestyle, core::mem::transmute(ok__)); + strokestyle.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2776,7 +2776,7 @@ impl ID2D1Factory1_Vtbl { let this = (*this).get_impl(); match ID2D1Factory1_Impl::CreatePathGeometry(this) { Ok(ok__) => { - core::ptr::write(pathgeometry, core::mem::transmute(ok__)); + pathgeometry.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2787,7 +2787,7 @@ impl ID2D1Factory1_Vtbl { let this = (*this).get_impl(); match ID2D1Factory1_Impl::CreateDrawingStateBlock(this, core::mem::transmute_copy(&drawingstatedescription), windows_core::from_raw_borrowed(&textrenderingparams)) { Ok(ok__) => { - core::ptr::write(drawingstateblock, core::mem::transmute(ok__)); + drawingstateblock.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2798,7 +2798,7 @@ impl ID2D1Factory1_Vtbl { let this = (*this).get_impl(); match ID2D1Factory1_Impl::CreateGdiMetafile(this, windows_core::from_raw_borrowed(&metafilestream)) { Ok(ok__) => { - core::ptr::write(metafile, core::mem::transmute(ok__)); + metafile.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2829,7 +2829,7 @@ impl ID2D1Factory1_Vtbl { let this = (*this).get_impl(); match ID2D1Factory1_Impl::GetEffectProperties(this, core::mem::transmute_copy(&effectid)) { Ok(ok__) => { - core::ptr::write(properties, core::mem::transmute(ok__)); + properties.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2867,7 +2867,7 @@ impl ID2D1Factory2_Vtbl { let this = (*this).get_impl(); match ID2D1Factory2_Impl::CreateDevice(this, windows_core::from_raw_borrowed(&dxgidevice)) { Ok(ok__) => { - core::ptr::write(d2ddevice1, core::mem::transmute(ok__)); + d2ddevice1.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2893,7 +2893,7 @@ impl ID2D1Factory3_Vtbl { let this = (*this).get_impl(); match ID2D1Factory3_Impl::CreateDevice(this, windows_core::from_raw_borrowed(&dxgidevice)) { Ok(ok__) => { - core::ptr::write(d2ddevice2, core::mem::transmute(ok__)); + d2ddevice2.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2919,7 +2919,7 @@ impl ID2D1Factory4_Vtbl { let this = (*this).get_impl(); match ID2D1Factory4_Impl::CreateDevice(this, windows_core::from_raw_borrowed(&dxgidevice)) { Ok(ok__) => { - core::ptr::write(d2ddevice3, core::mem::transmute(ok__)); + d2ddevice3.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2945,7 +2945,7 @@ impl ID2D1Factory5_Vtbl { let this = (*this).get_impl(); match ID2D1Factory5_Impl::CreateDevice(this, windows_core::from_raw_borrowed(&dxgidevice)) { Ok(ok__) => { - core::ptr::write(d2ddevice4, core::mem::transmute(ok__)); + d2ddevice4.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2971,7 +2971,7 @@ impl ID2D1Factory6_Vtbl { let this = (*this).get_impl(); match ID2D1Factory6_Impl::CreateDevice(this, windows_core::from_raw_borrowed(&dxgidevice)) { Ok(ok__) => { - core::ptr::write(d2ddevice5, core::mem::transmute(ok__)); + d2ddevice5.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2997,7 +2997,7 @@ impl ID2D1Factory7_Vtbl { let this = (*this).get_impl(); match ID2D1Factory7_Impl::CreateDevice(this, windows_core::from_raw_borrowed(&dxgidevice)) { Ok(ok__) => { - core::ptr::write(d2ddevice6, core::mem::transmute(ok__)); + d2ddevice6.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3023,7 +3023,7 @@ impl ID2D1Factory8_Vtbl { let this = (*this).get_impl(); match ID2D1Factory8_Impl::CreateDevice(this, windows_core::from_raw_borrowed(&dxgidevice)) { Ok(ok__) => { - core::ptr::write(d2ddevice6, core::mem::transmute(ok__)); + d2ddevice6.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3050,7 +3050,7 @@ impl ID2D1GdiInteropRenderTarget_Vtbl { let this = (*this).get_impl(); match ID2D1GdiInteropRenderTarget_Impl::GetDC(this, core::mem::transmute_copy(&mode)) { Ok(ok__) => { - core::ptr::write(hdc, core::mem::transmute(ok__)); + hdc.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3091,7 +3091,7 @@ impl ID2D1GdiMetafile_Vtbl { let this = (*this).get_impl(); match ID2D1GdiMetafile_Impl::GetBounds(this) { Ok(ok__) => { - core::ptr::write(bounds, core::mem::transmute(ok__)); + bounds.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3127,7 +3127,7 @@ impl ID2D1GdiMetafile1_Vtbl { let this = (*this).get_impl(); match ID2D1GdiMetafile1_Impl::GetSourceBounds(this) { Ok(ok__) => { - core::ptr::write(bounds, core::mem::transmute(ok__)); + bounds.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3203,7 +3203,7 @@ impl ID2D1Geometry_Vtbl { let this = (*this).get_impl(); match ID2D1Geometry_Impl::GetBounds(this, core::mem::transmute_copy(&worldtransform)) { Ok(ok__) => { - core::ptr::write(bounds, core::mem::transmute(ok__)); + bounds.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3214,7 +3214,7 @@ impl ID2D1Geometry_Vtbl { let this = (*this).get_impl(); match ID2D1Geometry_Impl::GetWidenedBounds(this, core::mem::transmute_copy(&strokewidth), windows_core::from_raw_borrowed(&strokestyle), core::mem::transmute_copy(&worldtransform), core::mem::transmute_copy(&flatteningtolerance)) { Ok(ok__) => { - core::ptr::write(bounds, core::mem::transmute(ok__)); + bounds.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3225,7 +3225,7 @@ impl ID2D1Geometry_Vtbl { let this = (*this).get_impl(); match ID2D1Geometry_Impl::StrokeContainsPoint(this, core::mem::transmute(&point), core::mem::transmute_copy(&strokewidth), windows_core::from_raw_borrowed(&strokestyle), core::mem::transmute_copy(&worldtransform), core::mem::transmute_copy(&flatteningtolerance)) { Ok(ok__) => { - core::ptr::write(contains, core::mem::transmute(ok__)); + contains.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3236,7 +3236,7 @@ impl ID2D1Geometry_Vtbl { let this = (*this).get_impl(); match ID2D1Geometry_Impl::FillContainsPoint(this, core::mem::transmute(&point), core::mem::transmute_copy(&worldtransform), core::mem::transmute_copy(&flatteningtolerance)) { Ok(ok__) => { - core::ptr::write(contains, core::mem::transmute(ok__)); + contains.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3247,7 +3247,7 @@ impl ID2D1Geometry_Vtbl { let this = (*this).get_impl(); match ID2D1Geometry_Impl::CompareWithGeometry(this, windows_core::from_raw_borrowed(&inputgeometry), core::mem::transmute_copy(&inputgeometrytransform), core::mem::transmute_copy(&flatteningtolerance)) { Ok(ok__) => { - core::ptr::write(relation, core::mem::transmute(ok__)); + relation.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3278,7 +3278,7 @@ impl ID2D1Geometry_Vtbl { let this = (*this).get_impl(); match ID2D1Geometry_Impl::ComputeArea(this, core::mem::transmute_copy(&worldtransform), core::mem::transmute_copy(&flatteningtolerance)) { Ok(ok__) => { - core::ptr::write(area, core::mem::transmute(ok__)); + area.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3289,7 +3289,7 @@ impl ID2D1Geometry_Vtbl { let this = (*this).get_impl(); match ID2D1Geometry_Impl::ComputeLength(this, core::mem::transmute_copy(&worldtransform), core::mem::transmute_copy(&flatteningtolerance)) { Ok(ok__) => { - core::ptr::write(length, core::mem::transmute(ok__)); + length.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3699,7 +3699,7 @@ impl ID2D1ImageSource_Vtbl { let this = (*this).get_impl(); match ID2D1ImageSource_Impl::TryReclaimResources(this) { Ok(ok__) => { - core::ptr::write(resourcesdiscarded, core::mem::transmute(ok__)); + resourcesdiscarded.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3820,7 +3820,7 @@ impl ID2D1Ink_Vtbl { let this = (*this).get_impl(); match ID2D1Ink_Impl::GetBounds(this, windows_core::from_raw_borrowed(&inkstyle), core::mem::transmute_copy(&worldtransform)) { Ok(ok__) => { - core::ptr::write(bounds, core::mem::transmute(ok__)); + bounds.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3980,7 +3980,7 @@ impl ID2D1Mesh_Vtbl { let this = (*this).get_impl(); match ID2D1Mesh_Impl::Open(this) { Ok(ok__) => { - core::ptr::write(tessellationsink, core::mem::transmute(ok__)); + tessellationsink.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4070,7 +4070,7 @@ impl ID2D1PathGeometry_Vtbl { let this = (*this).get_impl(); match ID2D1PathGeometry_Impl::Open(this) { Ok(ok__) => { - core::ptr::write(geometrysink, core::mem::transmute(ok__)); + geometrysink.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4086,7 +4086,7 @@ impl ID2D1PathGeometry_Vtbl { let this = (*this).get_impl(); match ID2D1PathGeometry_Impl::GetSegmentCount(this) { Ok(ok__) => { - core::ptr::write(count, core::mem::transmute(ok__)); + count.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4097,7 +4097,7 @@ impl ID2D1PathGeometry_Vtbl { let this = (*this).get_impl(); match ID2D1PathGeometry_Impl::GetFigureCount(this) { Ok(ok__) => { - core::ptr::write(count, core::mem::transmute(ok__)); + count.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4239,7 +4239,7 @@ impl ID2D1Properties_Vtbl { let this = (*this).get_impl(); match ID2D1Properties_Impl::GetSubProperties(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(subproperties, core::mem::transmute(ok__)); + subproperties.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4470,7 +4470,7 @@ impl ID2D1RenderTarget_Vtbl { let this = (*this).get_impl(); match ID2D1RenderTarget_Impl::CreateBitmap(this, core::mem::transmute(&size), core::mem::transmute_copy(&srcdata), core::mem::transmute_copy(&pitch), core::mem::transmute_copy(&bitmapproperties)) { Ok(ok__) => { - core::ptr::write(bitmap, core::mem::transmute(ok__)); + bitmap.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4481,7 +4481,7 @@ impl ID2D1RenderTarget_Vtbl { let this = (*this).get_impl(); match ID2D1RenderTarget_Impl::CreateBitmapFromWicBitmap(this, windows_core::from_raw_borrowed(&wicbitmapsource), core::mem::transmute_copy(&bitmapproperties)) { Ok(ok__) => { - core::ptr::write(bitmap, core::mem::transmute(ok__)); + bitmap.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4497,7 +4497,7 @@ impl ID2D1RenderTarget_Vtbl { let this = (*this).get_impl(); match ID2D1RenderTarget_Impl::CreateBitmapBrush(this, windows_core::from_raw_borrowed(&bitmap), core::mem::transmute_copy(&bitmapbrushproperties), core::mem::transmute_copy(&brushproperties)) { Ok(ok__) => { - core::ptr::write(bitmapbrush, core::mem::transmute(ok__)); + bitmapbrush.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4508,7 +4508,7 @@ impl ID2D1RenderTarget_Vtbl { let this = (*this).get_impl(); match ID2D1RenderTarget_Impl::CreateSolidColorBrush(this, core::mem::transmute_copy(&color), core::mem::transmute_copy(&brushproperties)) { Ok(ok__) => { - core::ptr::write(solidcolorbrush, core::mem::transmute(ok__)); + solidcolorbrush.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4519,7 +4519,7 @@ impl ID2D1RenderTarget_Vtbl { let this = (*this).get_impl(); match ID2D1RenderTarget_Impl::CreateGradientStopCollection(this, core::mem::transmute_copy(&gradientstops), core::mem::transmute_copy(&gradientstopscount), core::mem::transmute_copy(&colorinterpolationgamma), core::mem::transmute_copy(&extendmode)) { Ok(ok__) => { - core::ptr::write(gradientstopcollection, core::mem::transmute(ok__)); + gradientstopcollection.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4530,7 +4530,7 @@ impl ID2D1RenderTarget_Vtbl { let this = (*this).get_impl(); match ID2D1RenderTarget_Impl::CreateLinearGradientBrush(this, core::mem::transmute_copy(&lineargradientbrushproperties), core::mem::transmute_copy(&brushproperties), windows_core::from_raw_borrowed(&gradientstopcollection)) { Ok(ok__) => { - core::ptr::write(lineargradientbrush, core::mem::transmute(ok__)); + lineargradientbrush.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4541,7 +4541,7 @@ impl ID2D1RenderTarget_Vtbl { let this = (*this).get_impl(); match ID2D1RenderTarget_Impl::CreateRadialGradientBrush(this, core::mem::transmute_copy(&radialgradientbrushproperties), core::mem::transmute_copy(&brushproperties), windows_core::from_raw_borrowed(&gradientstopcollection)) { Ok(ok__) => { - core::ptr::write(radialgradientbrush, core::mem::transmute(ok__)); + radialgradientbrush.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4552,7 +4552,7 @@ impl ID2D1RenderTarget_Vtbl { let this = (*this).get_impl(); match ID2D1RenderTarget_Impl::CreateCompatibleRenderTarget(this, core::mem::transmute_copy(&desiredsize), core::mem::transmute_copy(&desiredpixelsize), core::mem::transmute_copy(&desiredformat), core::mem::transmute_copy(&options)) { Ok(ok__) => { - core::ptr::write(bitmaprendertarget, core::mem::transmute(ok__)); + bitmaprendertarget.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4563,7 +4563,7 @@ impl ID2D1RenderTarget_Vtbl { let this = (*this).get_impl(); match ID2D1RenderTarget_Impl::CreateLayer(this, core::mem::transmute_copy(&size)) { Ok(ok__) => { - core::ptr::write(layer, core::mem::transmute(ok__)); + layer.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4574,7 +4574,7 @@ impl ID2D1RenderTarget_Vtbl { let this = (*this).get_impl(); match ID2D1RenderTarget_Impl::CreateMesh(this) { Ok(ok__) => { - core::ptr::write(mesh, core::mem::transmute(ok__)); + mesh.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5126,7 +5126,7 @@ impl ID2D1SvgAttribute_Vtbl { let this = (*this).get_impl(); match ID2D1SvgAttribute_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(attribute, core::mem::transmute(ok__)); + attribute.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5186,7 +5186,7 @@ impl ID2D1SvgDocument_Vtbl { let this = (*this).get_impl(); match ID2D1SvgDocument_Impl::FindElementById(this, core::mem::transmute(&id)) { Ok(ok__) => { - core::ptr::write(svgelement, core::mem::transmute(ok__)); + svgelement.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5202,7 +5202,7 @@ impl ID2D1SvgDocument_Vtbl { let this = (*this).get_impl(); match ID2D1SvgDocument_Impl::Deserialize(this, windows_core::from_raw_borrowed(&inputxmlstream)) { Ok(ok__) => { - core::ptr::write(subtree, core::mem::transmute(ok__)); + subtree.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5213,7 +5213,7 @@ impl ID2D1SvgDocument_Vtbl { let this = (*this).get_impl(); match ID2D1SvgDocument_Impl::CreatePaint(this, core::mem::transmute_copy(&painttype), core::mem::transmute_copy(&color), core::mem::transmute(&id)) { Ok(ok__) => { - core::ptr::write(paint, core::mem::transmute(ok__)); + paint.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5224,7 +5224,7 @@ impl ID2D1SvgDocument_Vtbl { let this = (*this).get_impl(); match ID2D1SvgDocument_Impl::CreateStrokeDashArray(this, core::mem::transmute_copy(&dashes), core::mem::transmute_copy(&dashescount)) { Ok(ok__) => { - core::ptr::write(strokedasharray, core::mem::transmute(ok__)); + strokedasharray.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5235,7 +5235,7 @@ impl ID2D1SvgDocument_Vtbl { let this = (*this).get_impl(); match ID2D1SvgDocument_Impl::CreatePointCollection(this, core::mem::transmute_copy(&points), core::mem::transmute_copy(&pointscount)) { Ok(ok__) => { - core::ptr::write(pointcollection, core::mem::transmute(ok__)); + pointcollection.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5246,7 +5246,7 @@ impl ID2D1SvgDocument_Vtbl { let this = (*this).get_impl(); match ID2D1SvgDocument_Impl::CreatePathData(this, core::mem::transmute_copy(&segmentdata), core::mem::transmute_copy(&segmentdatacount), core::mem::transmute_copy(&commands), core::mem::transmute_copy(&commandscount)) { Ok(ok__) => { - core::ptr::write(pathdata, core::mem::transmute(ok__)); + pathdata.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5351,7 +5351,7 @@ impl ID2D1SvgElement_Vtbl { let this = (*this).get_impl(); match ID2D1SvgElement_Impl::GetPreviousChild(this, windows_core::from_raw_borrowed(&referencechild)) { Ok(ok__) => { - core::ptr::write(previouschild, core::mem::transmute(ok__)); + previouschild.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5362,7 +5362,7 @@ impl ID2D1SvgElement_Vtbl { let this = (*this).get_impl(); match ID2D1SvgElement_Impl::GetNextChild(this, windows_core::from_raw_borrowed(&referencechild)) { Ok(ok__) => { - core::ptr::write(nextchild, core::mem::transmute(ok__)); + nextchild.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5393,7 +5393,7 @@ impl ID2D1SvgElement_Vtbl { let this = (*this).get_impl(); match ID2D1SvgElement_Impl::CreateChild(this, core::mem::transmute(&tagname)) { Ok(ok__) => { - core::ptr::write(newchild, core::mem::transmute(ok__)); + newchild.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5474,7 +5474,7 @@ impl ID2D1SvgElement_Vtbl { let this = (*this).get_impl(); match ID2D1SvgElement_Impl::GetAttributeValueLength(this, core::mem::transmute(&name), core::mem::transmute_copy(&r#type)) { Ok(ok__) => { - core::ptr::write(valuelength, core::mem::transmute(ok__)); + valuelength.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5693,7 +5693,7 @@ impl ID2D1SvgPathData_Vtbl { let this = (*this).get_impl(); match ID2D1SvgPathData_Impl::CreatePathGeometry(this, core::mem::transmute_copy(&fillmode)) { Ok(ok__) => { - core::ptr::write(pathgeometry, core::mem::transmute(ok__)); + pathgeometry.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5868,7 +5868,7 @@ impl ID2D1Transform_Vtbl { let this = (*this).get_impl(); match ID2D1Transform_Impl::MapInvalidRect(this, core::mem::transmute_copy(&inputindex), core::mem::transmute(&invalidinputrect)) { Ok(ok__) => { - core::ptr::write(invalidoutputrect, core::mem::transmute(ok__)); + invalidoutputrect.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D/Dxc/impl.rs b/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D/Dxc/impl.rs index 9bae11e6ca..85e07e7488 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D/Dxc/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D/Dxc/impl.rs @@ -9,7 +9,7 @@ impl IDxcAssembler_Vtbl { let this = (*this).get_impl(); match IDxcAssembler_Impl::AssembleToContainer(this, windows_core::from_raw_borrowed(&pshader)) { Ok(ok__) => { - core::ptr::write(ppresult, core::mem::transmute(ok__)); + ppresult.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -132,7 +132,7 @@ impl IDxcCompiler_Vtbl { let this = (*this).get_impl(); match IDxcCompiler_Impl::Compile(this, windows_core::from_raw_borrowed(&psource), core::mem::transmute(&psourcename), core::mem::transmute(&pentrypoint), core::mem::transmute(&ptargetprofile), core::mem::transmute_copy(&parguments), core::mem::transmute_copy(&argcount), core::mem::transmute_copy(&pdefines), core::mem::transmute_copy(&definecount), windows_core::from_raw_borrowed(&pincludehandler)) { Ok(ok__) => { - core::ptr::write(ppresult, core::mem::transmute(ok__)); + ppresult.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -143,7 +143,7 @@ impl IDxcCompiler_Vtbl { let this = (*this).get_impl(); match IDxcCompiler_Impl::Preprocess(this, windows_core::from_raw_borrowed(&psource), core::mem::transmute(&psourcename), core::mem::transmute_copy(&parguments), core::mem::transmute_copy(&argcount), core::mem::transmute_copy(&pdefines), core::mem::transmute_copy(&definecount), windows_core::from_raw_borrowed(&pincludehandler)) { Ok(ok__) => { - core::ptr::write(ppresult, core::mem::transmute(ok__)); + ppresult.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -154,7 +154,7 @@ impl IDxcCompiler_Vtbl { let this = (*this).get_impl(); match IDxcCompiler_Impl::Disassemble(this, windows_core::from_raw_borrowed(&psource)) { Ok(ok__) => { - core::ptr::write(ppdisassembly, core::mem::transmute(ok__)); + ppdisassembly.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -307,7 +307,7 @@ impl IDxcContainerBuilder_Vtbl { let this = (*this).get_impl(); match IDxcContainerBuilder_Impl::SerializeContainer(this) { Ok(ok__) => { - core::ptr::write(ppresult, core::mem::transmute(ok__)); + ppresult.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -346,7 +346,7 @@ impl IDxcContainerReflection_Vtbl { let this = (*this).get_impl(); match IDxcContainerReflection_Impl::GetPartCount(this) { Ok(ok__) => { - core::ptr::write(presult, core::mem::transmute(ok__)); + presult.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -357,7 +357,7 @@ impl IDxcContainerReflection_Vtbl { let this = (*this).get_impl(); match IDxcContainerReflection_Impl::GetPartKind(this, core::mem::transmute_copy(&idx)) { Ok(ok__) => { - core::ptr::write(presult, core::mem::transmute(ok__)); + presult.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -368,7 +368,7 @@ impl IDxcContainerReflection_Vtbl { let this = (*this).get_impl(); match IDxcContainerReflection_Impl::GetPartContent(this, core::mem::transmute_copy(&idx)) { Ok(ok__) => { - core::ptr::write(ppresult, core::mem::transmute(ok__)); + ppresult.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -379,7 +379,7 @@ impl IDxcContainerReflection_Vtbl { let this = (*this).get_impl(); match IDxcContainerReflection_Impl::FindFirstPartKind(this, core::mem::transmute_copy(&kind)) { Ok(ok__) => { - core::ptr::write(presult, core::mem::transmute(ok__)); + presult.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -442,7 +442,7 @@ impl IDxcIncludeHandler_Vtbl { let this = (*this).get_impl(); match IDxcIncludeHandler_Impl::LoadSource(this, core::mem::transmute(&pfilename)) { Ok(ok__) => { - core::ptr::write(ppincludesource, core::mem::transmute(ok__)); + ppincludesource.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -482,7 +482,7 @@ impl IDxcLibrary_Vtbl { let this = (*this).get_impl(); match IDxcLibrary_Impl::CreateBlobFromBlob(this, windows_core::from_raw_borrowed(&pblob), core::mem::transmute_copy(&offset), core::mem::transmute_copy(&length)) { Ok(ok__) => { - core::ptr::write(ppresult, core::mem::transmute(ok__)); + ppresult.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -493,7 +493,7 @@ impl IDxcLibrary_Vtbl { let this = (*this).get_impl(); match IDxcLibrary_Impl::CreateBlobFromFile(this, core::mem::transmute(&pfilename), core::mem::transmute_copy(&codepage)) { Ok(ok__) => { - core::ptr::write(pblobencoding, core::mem::transmute(ok__)); + pblobencoding.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -504,7 +504,7 @@ impl IDxcLibrary_Vtbl { let this = (*this).get_impl(); match IDxcLibrary_Impl::CreateBlobWithEncodingFromPinned(this, core::mem::transmute_copy(&ptext), core::mem::transmute_copy(&size), core::mem::transmute_copy(&codepage)) { Ok(ok__) => { - core::ptr::write(pblobencoding, core::mem::transmute(ok__)); + pblobencoding.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -515,7 +515,7 @@ impl IDxcLibrary_Vtbl { let this = (*this).get_impl(); match IDxcLibrary_Impl::CreateBlobWithEncodingOnHeapCopy(this, core::mem::transmute_copy(&ptext), core::mem::transmute_copy(&size), core::mem::transmute_copy(&codepage)) { Ok(ok__) => { - core::ptr::write(pblobencoding, core::mem::transmute(ok__)); + pblobencoding.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -526,7 +526,7 @@ impl IDxcLibrary_Vtbl { let this = (*this).get_impl(); match IDxcLibrary_Impl::CreateBlobWithEncodingOnMalloc(this, core::mem::transmute_copy(&ptext), windows_core::from_raw_borrowed(&pimalloc), core::mem::transmute_copy(&size), core::mem::transmute_copy(&codepage)) { Ok(ok__) => { - core::ptr::write(pblobencoding, core::mem::transmute(ok__)); + pblobencoding.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -537,7 +537,7 @@ impl IDxcLibrary_Vtbl { let this = (*this).get_impl(); match IDxcLibrary_Impl::CreateIncludeHandler(this) { Ok(ok__) => { - core::ptr::write(ppresult, core::mem::transmute(ok__)); + ppresult.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -548,7 +548,7 @@ impl IDxcLibrary_Vtbl { let this = (*this).get_impl(); match IDxcLibrary_Impl::CreateStreamFromBlobReadOnly(this, windows_core::from_raw_borrowed(&pblob)) { Ok(ok__) => { - core::ptr::write(ppstream, core::mem::transmute(ok__)); + ppstream.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -559,7 +559,7 @@ impl IDxcLibrary_Vtbl { let this = (*this).get_impl(); match IDxcLibrary_Impl::GetBlobAsUtf8(this, windows_core::from_raw_borrowed(&pblob)) { Ok(ok__) => { - core::ptr::write(pblobencoding, core::mem::transmute(ok__)); + pblobencoding.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -570,7 +570,7 @@ impl IDxcLibrary_Vtbl { let this = (*this).get_impl(); match IDxcLibrary_Impl::GetBlobAsUtf16(this, windows_core::from_raw_borrowed(&pblob)) { Ok(ok__) => { - core::ptr::write(pblobencoding, core::mem::transmute(ok__)); + pblobencoding.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -611,7 +611,7 @@ impl IDxcLinker_Vtbl { let this = (*this).get_impl(); match IDxcLinker_Impl::Link(this, core::mem::transmute(&pentryname), core::mem::transmute(&ptargetprofile), core::mem::transmute_copy(&plibnames), core::mem::transmute_copy(&libcount), core::mem::transmute_copy(&parguments), core::mem::transmute_copy(&argcount)) { Ok(ok__) => { - core::ptr::write(ppresult, core::mem::transmute(ok__)); + ppresult.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -640,7 +640,7 @@ impl IDxcOperationResult_Vtbl { let this = (*this).get_impl(); match IDxcOperationResult_Impl::GetStatus(this) { Ok(ok__) => { - core::ptr::write(pstatus, core::mem::transmute(ok__)); + pstatus.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -651,7 +651,7 @@ impl IDxcOperationResult_Vtbl { let this = (*this).get_impl(); match IDxcOperationResult_Impl::GetResult(this) { Ok(ok__) => { - core::ptr::write(ppresult, core::mem::transmute(ok__)); + ppresult.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -662,7 +662,7 @@ impl IDxcOperationResult_Vtbl { let this = (*this).get_impl(); match IDxcOperationResult_Impl::GetErrorBuffer(this) { Ok(ok__) => { - core::ptr::write(pperrors, core::mem::transmute(ok__)); + pperrors.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -692,7 +692,7 @@ impl IDxcOptimizer_Vtbl { let this = (*this).get_impl(); match IDxcOptimizer_Impl::GetAvailablePassCount(this) { Ok(ok__) => { - core::ptr::write(pcount, core::mem::transmute(ok__)); + pcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -703,7 +703,7 @@ impl IDxcOptimizer_Vtbl { let this = (*this).get_impl(); match IDxcOptimizer_Impl::GetAvailablePass(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(ppresult, core::mem::transmute(ok__)); + ppresult.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -740,7 +740,7 @@ impl IDxcOptimizerPass_Vtbl { let this = (*this).get_impl(); match IDxcOptimizerPass_Impl::GetOptionName(this) { Ok(ok__) => { - core::ptr::write(ppresult, core::mem::transmute(ok__)); + ppresult.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -751,7 +751,7 @@ impl IDxcOptimizerPass_Vtbl { let this = (*this).get_impl(); match IDxcOptimizerPass_Impl::GetDescription(this) { Ok(ok__) => { - core::ptr::write(ppresult, core::mem::transmute(ok__)); + ppresult.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -762,7 +762,7 @@ impl IDxcOptimizerPass_Vtbl { let this = (*this).get_impl(); match IDxcOptimizerPass_Impl::GetOptionArgCount(this) { Ok(ok__) => { - core::ptr::write(pcount, core::mem::transmute(ok__)); + pcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -773,7 +773,7 @@ impl IDxcOptimizerPass_Vtbl { let this = (*this).get_impl(); match IDxcOptimizerPass_Impl::GetOptionArgName(this, core::mem::transmute_copy(&argindex)) { Ok(ok__) => { - core::ptr::write(ppresult, core::mem::transmute(ok__)); + ppresult.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -784,7 +784,7 @@ impl IDxcOptimizerPass_Vtbl { let this = (*this).get_impl(); match IDxcOptimizerPass_Impl::GetOptionArgDescription(this, core::mem::transmute_copy(&argindex)) { Ok(ok__) => { - core::ptr::write(ppresult, core::mem::transmute(ok__)); + ppresult.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -842,7 +842,7 @@ impl IDxcPdbUtils_Vtbl { let this = (*this).get_impl(); match IDxcPdbUtils_Impl::GetSourceCount(this) { Ok(ok__) => { - core::ptr::write(pcount, core::mem::transmute(ok__)); + pcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -853,7 +853,7 @@ impl IDxcPdbUtils_Vtbl { let this = (*this).get_impl(); match IDxcPdbUtils_Impl::GetSource(this, core::mem::transmute_copy(&uindex)) { Ok(ok__) => { - core::ptr::write(ppresult, core::mem::transmute(ok__)); + ppresult.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -864,7 +864,7 @@ impl IDxcPdbUtils_Vtbl { let this = (*this).get_impl(); match IDxcPdbUtils_Impl::GetSourceName(this, core::mem::transmute_copy(&uindex)) { Ok(ok__) => { - core::ptr::write(presult, core::mem::transmute(ok__)); + presult.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -875,7 +875,7 @@ impl IDxcPdbUtils_Vtbl { let this = (*this).get_impl(); match IDxcPdbUtils_Impl::GetFlagCount(this) { Ok(ok__) => { - core::ptr::write(pcount, core::mem::transmute(ok__)); + pcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -886,7 +886,7 @@ impl IDxcPdbUtils_Vtbl { let this = (*this).get_impl(); match IDxcPdbUtils_Impl::GetFlag(this, core::mem::transmute_copy(&uindex)) { Ok(ok__) => { - core::ptr::write(presult, core::mem::transmute(ok__)); + presult.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -897,7 +897,7 @@ impl IDxcPdbUtils_Vtbl { let this = (*this).get_impl(); match IDxcPdbUtils_Impl::GetArgCount(this) { Ok(ok__) => { - core::ptr::write(pcount, core::mem::transmute(ok__)); + pcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -908,7 +908,7 @@ impl IDxcPdbUtils_Vtbl { let this = (*this).get_impl(); match IDxcPdbUtils_Impl::GetArg(this, core::mem::transmute_copy(&uindex)) { Ok(ok__) => { - core::ptr::write(presult, core::mem::transmute(ok__)); + presult.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -919,7 +919,7 @@ impl IDxcPdbUtils_Vtbl { let this = (*this).get_impl(); match IDxcPdbUtils_Impl::GetArgPairCount(this) { Ok(ok__) => { - core::ptr::write(pcount, core::mem::transmute(ok__)); + pcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -935,7 +935,7 @@ impl IDxcPdbUtils_Vtbl { let this = (*this).get_impl(); match IDxcPdbUtils_Impl::GetDefineCount(this) { Ok(ok__) => { - core::ptr::write(pcount, core::mem::transmute(ok__)); + pcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -946,7 +946,7 @@ impl IDxcPdbUtils_Vtbl { let this = (*this).get_impl(); match IDxcPdbUtils_Impl::GetDefine(this, core::mem::transmute_copy(&uindex)) { Ok(ok__) => { - core::ptr::write(presult, core::mem::transmute(ok__)); + presult.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -957,7 +957,7 @@ impl IDxcPdbUtils_Vtbl { let this = (*this).get_impl(); match IDxcPdbUtils_Impl::GetTargetProfile(this) { Ok(ok__) => { - core::ptr::write(presult, core::mem::transmute(ok__)); + presult.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -968,7 +968,7 @@ impl IDxcPdbUtils_Vtbl { let this = (*this).get_impl(); match IDxcPdbUtils_Impl::GetEntryPoint(this) { Ok(ok__) => { - core::ptr::write(presult, core::mem::transmute(ok__)); + presult.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -979,7 +979,7 @@ impl IDxcPdbUtils_Vtbl { let this = (*this).get_impl(); match IDxcPdbUtils_Impl::GetMainFileName(this) { Ok(ok__) => { - core::ptr::write(presult, core::mem::transmute(ok__)); + presult.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -990,7 +990,7 @@ impl IDxcPdbUtils_Vtbl { let this = (*this).get_impl(); match IDxcPdbUtils_Impl::GetHash(this) { Ok(ok__) => { - core::ptr::write(ppresult, core::mem::transmute(ok__)); + ppresult.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1001,7 +1001,7 @@ impl IDxcPdbUtils_Vtbl { let this = (*this).get_impl(); match IDxcPdbUtils_Impl::GetName(this) { Ok(ok__) => { - core::ptr::write(presult, core::mem::transmute(ok__)); + presult.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1017,7 +1017,7 @@ impl IDxcPdbUtils_Vtbl { let this = (*this).get_impl(); match IDxcPdbUtils_Impl::GetFullPDB(this) { Ok(ok__) => { - core::ptr::write(ppfullpdb, core::mem::transmute(ok__)); + ppfullpdb.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1028,7 +1028,7 @@ impl IDxcPdbUtils_Vtbl { let this = (*this).get_impl(); match IDxcPdbUtils_Impl::GetVersionInfo(this) { Ok(ok__) => { - core::ptr::write(ppversioninfo, core::mem::transmute(ok__)); + ppversioninfo.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1044,7 +1044,7 @@ impl IDxcPdbUtils_Vtbl { let this = (*this).get_impl(); match IDxcPdbUtils_Impl::CompileForFullPDB(this) { Ok(ok__) => { - core::ptr::write(ppresult, core::mem::transmute(ok__)); + ppresult.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1166,7 +1166,7 @@ impl IDxcUtils_Vtbl { let this = (*this).get_impl(); match IDxcUtils_Impl::CreateBlobFromBlob(this, windows_core::from_raw_borrowed(&pblob), core::mem::transmute_copy(&offset), core::mem::transmute_copy(&length)) { Ok(ok__) => { - core::ptr::write(ppresult, core::mem::transmute(ok__)); + ppresult.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1177,7 +1177,7 @@ impl IDxcUtils_Vtbl { let this = (*this).get_impl(); match IDxcUtils_Impl::CreateBlobFromPinned(this, core::mem::transmute_copy(&pdata), core::mem::transmute_copy(&size), core::mem::transmute_copy(&codepage)) { Ok(ok__) => { - core::ptr::write(pblobencoding, core::mem::transmute(ok__)); + pblobencoding.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1188,7 +1188,7 @@ impl IDxcUtils_Vtbl { let this = (*this).get_impl(); match IDxcUtils_Impl::MoveToBlob(this, core::mem::transmute_copy(&pdata), windows_core::from_raw_borrowed(&pimalloc), core::mem::transmute_copy(&size), core::mem::transmute_copy(&codepage)) { Ok(ok__) => { - core::ptr::write(pblobencoding, core::mem::transmute(ok__)); + pblobencoding.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1199,7 +1199,7 @@ impl IDxcUtils_Vtbl { let this = (*this).get_impl(); match IDxcUtils_Impl::CreateBlob(this, core::mem::transmute_copy(&pdata), core::mem::transmute_copy(&size), core::mem::transmute_copy(&codepage)) { Ok(ok__) => { - core::ptr::write(pblobencoding, core::mem::transmute(ok__)); + pblobencoding.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1210,7 +1210,7 @@ impl IDxcUtils_Vtbl { let this = (*this).get_impl(); match IDxcUtils_Impl::LoadFile(this, core::mem::transmute(&pfilename), core::mem::transmute_copy(&pcodepage)) { Ok(ok__) => { - core::ptr::write(pblobencoding, core::mem::transmute(ok__)); + pblobencoding.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1221,7 +1221,7 @@ impl IDxcUtils_Vtbl { let this = (*this).get_impl(); match IDxcUtils_Impl::CreateReadOnlyStreamFromBlob(this, windows_core::from_raw_borrowed(&pblob)) { Ok(ok__) => { - core::ptr::write(ppstream, core::mem::transmute(ok__)); + ppstream.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1232,7 +1232,7 @@ impl IDxcUtils_Vtbl { let this = (*this).get_impl(); match IDxcUtils_Impl::CreateDefaultIncludeHandler(this) { Ok(ok__) => { - core::ptr::write(ppresult, core::mem::transmute(ok__)); + ppresult.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1243,7 +1243,7 @@ impl IDxcUtils_Vtbl { let this = (*this).get_impl(); match IDxcUtils_Impl::GetBlobAsUtf8(this, windows_core::from_raw_borrowed(&pblob)) { Ok(ok__) => { - core::ptr::write(pblobencoding, core::mem::transmute(ok__)); + pblobencoding.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1254,7 +1254,7 @@ impl IDxcUtils_Vtbl { let this = (*this).get_impl(); match IDxcUtils_Impl::GetBlobAsUtf16(this, windows_core::from_raw_borrowed(&pblob)) { Ok(ok__) => { - core::ptr::write(pblobencoding, core::mem::transmute(ok__)); + pblobencoding.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1275,7 +1275,7 @@ impl IDxcUtils_Vtbl { let this = (*this).get_impl(); match IDxcUtils_Impl::BuildArguments(this, core::mem::transmute(&psourcename), core::mem::transmute(&pentrypoint), core::mem::transmute(&ptargetprofile), core::mem::transmute_copy(&parguments), core::mem::transmute_copy(&argcount), core::mem::transmute_copy(&pdefines), core::mem::transmute_copy(&definecount)) { Ok(ok__) => { - core::ptr::write(ppargs, core::mem::transmute(ok__)); + ppargs.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1318,7 +1318,7 @@ impl IDxcValidator_Vtbl { let this = (*this).get_impl(); match IDxcValidator_Impl::Validate(this, windows_core::from_raw_borrowed(&pshader), core::mem::transmute_copy(&flags)) { Ok(ok__) => { - core::ptr::write(ppresult, core::mem::transmute(ok__)); + ppresult.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1341,7 +1341,7 @@ impl IDxcValidator2_Vtbl { let this = (*this).get_impl(); match IDxcValidator2_Impl::ValidateWithDebug(this, windows_core::from_raw_borrowed(&pshader), core::mem::transmute_copy(&flags), core::mem::transmute_copy(&poptdebugbitcode)) { Ok(ok__) => { - core::ptr::write(ppresult, core::mem::transmute(ok__)); + ppresult.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1370,7 +1370,7 @@ impl IDxcVersionInfo_Vtbl { let this = (*this).get_impl(); match IDxcVersionInfo_Impl::GetFlags(this) { Ok(ok__) => { - core::ptr::write(pflags, core::mem::transmute(ok__)); + pflags.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1414,7 +1414,7 @@ impl IDxcVersionInfo3_Vtbl { let this = (*this).get_impl(); match IDxcVersionInfo3_Impl::GetCustomVersionString(this) { Ok(ok__) => { - core::ptr::write(pversionstring, core::mem::transmute(ok__)); + pversionstring.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D/impl.rs b/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D/impl.rs index 80e36ea5e0..382411553e 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D/impl.rs @@ -37,7 +37,7 @@ impl ID3DDestructionNotifier_Vtbl { let this = (*this).get_impl(); match ID3DDestructionNotifier_Impl::RegisterDestructionCallback(this, core::mem::transmute_copy(&callbackfn), core::mem::transmute_copy(&pdata)) { Ok(ok__) => { - core::ptr::write(pcallbackid, core::mem::transmute(ok__)); + pcallbackid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D10/impl.rs b/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D10/impl.rs index 6bbbf52586..121e46cd63 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D10/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D10/impl.rs @@ -169,7 +169,7 @@ impl ID3D10Debug_Vtbl { let this = (*this).get_impl(); match ID3D10Debug_Impl::GetSwapChain(this) { Ok(ok__) => { - core::ptr::write(ppswapchain, core::mem::transmute(ok__)); + ppswapchain.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -685,7 +685,7 @@ impl ID3D10Device_Vtbl { let this = (*this).get_impl(); match ID3D10Device_Impl::CreateTexture1D(this, core::mem::transmute_copy(&pdesc), core::mem::transmute_copy(&pinitialdata)) { Ok(ok__) => { - core::ptr::write(pptexture1d, core::mem::transmute(ok__)); + pptexture1d.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -696,7 +696,7 @@ impl ID3D10Device_Vtbl { let this = (*this).get_impl(); match ID3D10Device_Impl::CreateTexture2D(this, core::mem::transmute_copy(&pdesc), core::mem::transmute_copy(&pinitialdata)) { Ok(ok__) => { - core::ptr::write(pptexture2d, core::mem::transmute(ok__)); + pptexture2d.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -707,7 +707,7 @@ impl ID3D10Device_Vtbl { let this = (*this).get_impl(); match ID3D10Device_Impl::CreateTexture3D(this, core::mem::transmute_copy(&pdesc), core::mem::transmute_copy(&pinitialdata)) { Ok(ok__) => { - core::ptr::write(pptexture3d, core::mem::transmute(ok__)); + pptexture3d.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -793,7 +793,7 @@ impl ID3D10Device_Vtbl { let this = (*this).get_impl(); match ID3D10Device_Impl::CheckFormatSupport(this, core::mem::transmute_copy(&format)) { Ok(ok__) => { - core::ptr::write(pformatsupport, core::mem::transmute(ok__)); + pformatsupport.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -804,7 +804,7 @@ impl ID3D10Device_Vtbl { let this = (*this).get_impl(); match ID3D10Device_Impl::CheckMultisampleQualityLevels(this, core::mem::transmute_copy(&format), core::mem::transmute_copy(&samplecount)) { Ok(ok__) => { - core::ptr::write(pnumqualitylevels, core::mem::transmute(ok__)); + pnumqualitylevels.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1054,7 +1054,7 @@ impl ID3D10Effect_Vtbl { let this = (*this).get_impl(); match ID3D10Effect_Impl::GetDevice(this) { Ok(ok__) => { - core::ptr::write(ppdevice, core::mem::transmute(ok__)); + ppdevice.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1142,7 +1142,7 @@ impl ID3D10EffectBlendVariable_Vtbl { let this = &*((*this).this as *const Impl); match ID3D10EffectBlendVariable_Impl::GetBlendState(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(ppblendstate, core::mem::transmute(ok__)); + ppblendstate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1186,7 +1186,7 @@ impl ID3D10EffectConstantBuffer_Vtbl { let this = &*((*this).this as *const Impl); match ID3D10EffectConstantBuffer_Impl::GetConstantBuffer(this) { Ok(ok__) => { - core::ptr::write(ppconstantbuffer, core::mem::transmute(ok__)); + ppconstantbuffer.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1202,7 +1202,7 @@ impl ID3D10EffectConstantBuffer_Vtbl { let this = &*((*this).this as *const Impl); match ID3D10EffectConstantBuffer_Impl::GetTextureBuffer(this) { Ok(ok__) => { - core::ptr::write(pptexturebuffer, core::mem::transmute(ok__)); + pptexturebuffer.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1240,7 +1240,7 @@ impl ID3D10EffectDepthStencilVariable_Vtbl { let this = &*((*this).this as *const Impl); match ID3D10EffectDepthStencilVariable_Impl::GetDepthStencilState(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(ppdepthstencilstate, core::mem::transmute(ok__)); + ppdepthstencilstate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1284,7 +1284,7 @@ impl ID3D10EffectDepthStencilViewVariable_Vtbl { let this = &*((*this).this as *const Impl); match ID3D10EffectDepthStencilViewVariable_Impl::GetDepthStencil(this) { Ok(ok__) => { - core::ptr::write(ppresource, core::mem::transmute(ok__)); + ppresource.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1509,7 +1509,7 @@ impl ID3D10EffectRasterizerVariable_Vtbl { let this = &*((*this).this as *const Impl); match ID3D10EffectRasterizerVariable_Impl::GetRasterizerState(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(pprasterizerstate, core::mem::transmute(ok__)); + pprasterizerstate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1553,7 +1553,7 @@ impl ID3D10EffectRenderTargetViewVariable_Vtbl { let this = &*((*this).this as *const Impl); match ID3D10EffectRenderTargetViewVariable_Impl::GetRenderTarget(this) { Ok(ok__) => { - core::ptr::write(ppresource, core::mem::transmute(ok__)); + ppresource.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1601,7 +1601,7 @@ impl ID3D10EffectSamplerVariable_Vtbl { let this = &*((*this).this as *const Impl); match ID3D10EffectSamplerVariable_Impl::GetSampler(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(ppsampler, core::mem::transmute(ok__)); + ppsampler.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1653,7 +1653,7 @@ impl ID3D10EffectScalarVariable_Vtbl { let this = &*((*this).this as *const Impl); match ID3D10EffectScalarVariable_Impl::GetFloat(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1679,7 +1679,7 @@ impl ID3D10EffectScalarVariable_Vtbl { let this = &*((*this).this as *const Impl); match ID3D10EffectScalarVariable_Impl::GetInt(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1705,7 +1705,7 @@ impl ID3D10EffectScalarVariable_Vtbl { let this = &*((*this).this as *const Impl); match ID3D10EffectScalarVariable_Impl::GetBool(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1768,7 +1768,7 @@ impl ID3D10EffectShaderResourceVariable_Vtbl { let this = &*((*this).this as *const Impl); match ID3D10EffectShaderResourceVariable_Impl::GetResource(this) { Ok(ok__) => { - core::ptr::write(ppresource, core::mem::transmute(ok__)); + ppresource.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1827,7 +1827,7 @@ impl ID3D10EffectShaderVariable_Vtbl { let this = &*((*this).this as *const Impl); match ID3D10EffectShaderVariable_Impl::GetVertexShader(this, core::mem::transmute_copy(&shaderindex)) { Ok(ok__) => { - core::ptr::write(ppvs, core::mem::transmute(ok__)); + ppvs.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1838,7 +1838,7 @@ impl ID3D10EffectShaderVariable_Vtbl { let this = &*((*this).this as *const Impl); match ID3D10EffectShaderVariable_Impl::GetGeometryShader(this, core::mem::transmute_copy(&shaderindex)) { Ok(ok__) => { - core::ptr::write(ppgs, core::mem::transmute(ok__)); + ppgs.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1849,7 +1849,7 @@ impl ID3D10EffectShaderVariable_Vtbl { let this = &*((*this).this as *const Impl); match ID3D10EffectShaderVariable_Impl::GetPixelShader(this, core::mem::transmute_copy(&shaderindex)) { Ok(ok__) => { - core::ptr::write(ppps, core::mem::transmute(ok__)); + ppps.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1902,7 +1902,7 @@ impl ID3D10EffectStringVariable_Vtbl { let this = &*((*this).this as *const Impl); match ID3D10EffectStringVariable_Impl::GetString(this) { Ok(ok__) => { - core::ptr::write(ppstring, core::mem::transmute(ok__)); + ppstring.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2941,7 +2941,7 @@ impl ID3D10ShaderReflection1_Vtbl { let this = (*this).get_impl(); match ID3D10ShaderReflection1_Impl::GetMovInstructionCount(this) { Ok(ok__) => { - core::ptr::write(pcount, core::mem::transmute(ok__)); + pcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2952,7 +2952,7 @@ impl ID3D10ShaderReflection1_Vtbl { let this = (*this).get_impl(); match ID3D10ShaderReflection1_Impl::GetMovcInstructionCount(this) { Ok(ok__) => { - core::ptr::write(pcount, core::mem::transmute(ok__)); + pcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2963,7 +2963,7 @@ impl ID3D10ShaderReflection1_Vtbl { let this = (*this).get_impl(); match ID3D10ShaderReflection1_Impl::GetConversionInstructionCount(this) { Ok(ok__) => { - core::ptr::write(pcount, core::mem::transmute(ok__)); + pcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2974,7 +2974,7 @@ impl ID3D10ShaderReflection1_Vtbl { let this = (*this).get_impl(); match ID3D10ShaderReflection1_Impl::GetBitwiseInstructionCount(this) { Ok(ok__) => { - core::ptr::write(pcount, core::mem::transmute(ok__)); + pcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2985,7 +2985,7 @@ impl ID3D10ShaderReflection1_Vtbl { let this = (*this).get_impl(); match ID3D10ShaderReflection1_Impl::GetGSInputPrimitive(this) { Ok(ok__) => { - core::ptr::write(pprim, core::mem::transmute(ok__)); + pprim.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2996,7 +2996,7 @@ impl ID3D10ShaderReflection1_Vtbl { let this = (*this).get_impl(); match ID3D10ShaderReflection1_Impl::IsLevel9Shader(this) { Ok(ok__) => { - core::ptr::write(pblevel9shader, core::mem::transmute(ok__)); + pblevel9shader.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3007,7 +3007,7 @@ impl ID3D10ShaderReflection1_Vtbl { let this = (*this).get_impl(); match ID3D10ShaderReflection1_Impl::IsSampleFrequencyShader(this) { Ok(ok__) => { - core::ptr::write(pbsamplefrequency, core::mem::transmute(ok__)); + pbsamplefrequency.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3231,7 +3231,7 @@ impl ID3D10StateBlock_Vtbl { let this = (*this).get_impl(); match ID3D10StateBlock_Impl::GetDevice(this) { Ok(ok__) => { - core::ptr::write(ppdevice, core::mem::transmute(ok__)); + ppdevice.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3329,7 +3329,7 @@ impl ID3D10Texture2D_Vtbl { let this = (*this).get_impl(); match ID3D10Texture2D_Impl::Map(this, core::mem::transmute_copy(&subresource), core::mem::transmute_copy(&maptype), core::mem::transmute_copy(&mapflags)) { Ok(ok__) => { - core::ptr::write(pmappedtex2d, core::mem::transmute(ok__)); + pmappedtex2d.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3372,7 +3372,7 @@ impl ID3D10Texture3D_Vtbl { let this = (*this).get_impl(); match ID3D10Texture3D_Impl::Map(this, core::mem::transmute_copy(&subresource), core::mem::transmute_copy(&maptype), core::mem::transmute_copy(&mapflags)) { Ok(ok__) => { - core::ptr::write(pmappedtex3d, core::mem::transmute(ok__)); + pmappedtex3d.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D11/impl.rs b/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D11/impl.rs index 6587e828fc..65bd9f668a 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D11/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D11/impl.rs @@ -28,7 +28,7 @@ impl ID3D11AuthenticatedChannel_Vtbl { let this = (*this).get_impl(); match ID3D11AuthenticatedChannel_Impl::GetCertificateSize(this) { Ok(ok__) => { - core::ptr::write(pcertificatesize, core::mem::transmute(ok__)); + pcertificatesize.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -159,7 +159,7 @@ impl ID3D11ClassLinkage_Vtbl { let this = (*this).get_impl(); match ID3D11ClassLinkage_Impl::GetClassInstance(this, core::mem::transmute(&pclassinstancename), core::mem::transmute_copy(&instanceindex)) { Ok(ok__) => { - core::ptr::write(ppinstance, core::mem::transmute(ok__)); + ppinstance.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -170,7 +170,7 @@ impl ID3D11ClassLinkage_Vtbl { let this = (*this).get_impl(); match ID3D11ClassLinkage_Impl::CreateClassInstance(this, core::mem::transmute(&pclasstypename), core::mem::transmute_copy(&constantbufferoffset), core::mem::transmute_copy(&constantvectoroffset), core::mem::transmute_copy(&textureoffset), core::mem::transmute_copy(&sampleroffset)) { Ok(ok__) => { - core::ptr::write(ppinstance, core::mem::transmute(ok__)); + ppinstance.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -255,7 +255,7 @@ impl ID3D11CryptoSession_Vtbl { let this = (*this).get_impl(); match ID3D11CryptoSession_Impl::GetCertificateSize(this) { Ok(ok__) => { - core::ptr::write(pcertificatesize, core::mem::transmute(ok__)); + pcertificatesize.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -331,7 +331,7 @@ impl ID3D11Debug_Vtbl { let this = (*this).get_impl(); match ID3D11Debug_Impl::GetSwapChain(this) { Ok(ok__) => { - core::ptr::write(ppswapchain, core::mem::transmute(ok__)); + ppswapchain.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -539,7 +539,7 @@ impl ID3D11Device_Vtbl { let this = (*this).get_impl(); match ID3D11Device_Impl::CreateClassLinkage(this) { Ok(ok__) => { - core::ptr::write(pplinkage, core::mem::transmute(ok__)); + pplinkage.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -595,7 +595,7 @@ impl ID3D11Device_Vtbl { let this = (*this).get_impl(); match ID3D11Device_Impl::CheckFormatSupport(this, core::mem::transmute_copy(&format)) { Ok(ok__) => { - core::ptr::write(pformatsupport, core::mem::transmute(ok__)); + pformatsupport.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -606,7 +606,7 @@ impl ID3D11Device_Vtbl { let this = (*this).get_impl(); match ID3D11Device_Impl::CheckMultisampleQualityLevels(this, core::mem::transmute_copy(&format), core::mem::transmute_copy(&samplecount)) { Ok(ok__) => { - core::ptr::write(pnumqualitylevels, core::mem::transmute(ok__)); + pnumqualitylevels.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -817,7 +817,7 @@ impl ID3D11Device2_Vtbl { let this = (*this).get_impl(); match ID3D11Device2_Impl::CheckMultisampleQualityLevels1(this, core::mem::transmute_copy(&format), core::mem::transmute_copy(&samplecount), core::mem::transmute_copy(&flags)) { Ok(ok__) => { - core::ptr::write(pnumqualitylevels, core::mem::transmute(ok__)); + pnumqualitylevels.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -943,7 +943,7 @@ impl ID3D11Device4_Vtbl { let this = (*this).get_impl(); match ID3D11Device4_Impl::RegisterDeviceRemovedEvent(this, core::mem::transmute_copy(&hevent)) { Ok(ok__) => { - core::ptr::write(pdwcookie, core::mem::transmute(ok__)); + pdwcookie.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2148,7 +2148,7 @@ impl ID3D11Fence_Vtbl { let this = (*this).get_impl(); match ID3D11Fence_Impl::CreateSharedHandle(this, core::mem::transmute_copy(&pattributes), core::mem::transmute_copy(&dwaccess), core::mem::transmute(&lpname)) { Ok(ok__) => { - core::ptr::write(phandle, core::mem::transmute(ok__)); + phandle.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2201,7 +2201,7 @@ impl ID3D11FunctionLinkingGraph_Vtbl { let this = (*this).get_impl(); match ID3D11FunctionLinkingGraph_Impl::SetInputSignature(this, core::mem::transmute_copy(&pinputparameters), core::mem::transmute_copy(&cinputparameters)) { Ok(ok__) => { - core::ptr::write(ppinputnode, core::mem::transmute(ok__)); + ppinputnode.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2212,7 +2212,7 @@ impl ID3D11FunctionLinkingGraph_Vtbl { let this = (*this).get_impl(); match ID3D11FunctionLinkingGraph_Impl::SetOutputSignature(this, core::mem::transmute_copy(&poutputparameters), core::mem::transmute_copy(&coutputparameters)) { Ok(ok__) => { - core::ptr::write(ppoutputnode, core::mem::transmute(ok__)); + ppoutputnode.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2223,7 +2223,7 @@ impl ID3D11FunctionLinkingGraph_Vtbl { let this = (*this).get_impl(); match ID3D11FunctionLinkingGraph_Impl::CallFunction(this, core::mem::transmute(&pmoduleinstancenamespace), windows_core::from_raw_borrowed(&pmodulewithfunctionprototype), core::mem::transmute(&pfunctionname)) { Ok(ok__) => { - core::ptr::write(ppcallnode, core::mem::transmute(ok__)); + ppcallnode.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2249,7 +2249,7 @@ impl ID3D11FunctionLinkingGraph_Vtbl { let this = (*this).get_impl(); match ID3D11FunctionLinkingGraph_Impl::GenerateHlsl(this, core::mem::transmute_copy(&uflags)) { Ok(ok__) => { - core::ptr::write(ppbuffer, core::mem::transmute(ok__)); + ppbuffer.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2675,7 +2675,7 @@ impl ID3D11LibraryReflection_Vtbl { let this = (*this).get_impl(); match ID3D11LibraryReflection_Impl::GetDesc(this) { Ok(ok__) => { - core::ptr::write(pdesc, core::mem::transmute(ok__)); + pdesc.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2754,7 +2754,7 @@ impl ID3D11Module_Vtbl { let this = (*this).get_impl(); match ID3D11Module_Impl::CreateInstance(this, core::mem::transmute(&pnamespace)) { Ok(ok__) => { - core::ptr::write(ppmoduleinstance, core::mem::transmute(ok__)); + ppmoduleinstance.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3232,7 +3232,7 @@ impl ID3D11ShaderReflection_Vtbl { let this = (*this).get_impl(); match ID3D11ShaderReflection_Impl::GetMinFeatureLevel(this) { Ok(ok__) => { - core::ptr::write(plevel, core::mem::transmute(ok__)); + plevel.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3582,7 +3582,7 @@ impl ID3D11ShaderTraceFactory_Vtbl { let this = (*this).get_impl(); match ID3D11ShaderTraceFactory_Impl::CreateShaderTrace(this, windows_core::from_raw_borrowed(&pshader), core::mem::transmute_copy(&ptracedesc)) { Ok(ok__) => { - core::ptr::write(ppshadertrace, core::mem::transmute(ok__)); + ppshadertrace.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4252,7 +4252,7 @@ impl ID3D11VideoContext1_Vtbl { let this = (*this).get_impl(); match ID3D11VideoContext1_Impl::GetDataForNewHardwareKey(this, windows_core::from_raw_borrowed(&pcryptosession), core::mem::transmute_copy(&privateinputsize), core::mem::transmute_copy(&pprivatinputdata)) { Ok(ok__) => { - core::ptr::write(pprivateoutputdata, core::mem::transmute(ok__)); + pprivateoutputdata.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4263,7 +4263,7 @@ impl ID3D11VideoContext1_Vtbl { let this = (*this).get_impl(); match ID3D11VideoContext1_Impl::CheckCryptoSessionStatus(this, windows_core::from_raw_borrowed(&pcryptosession)) { Ok(ok__) => { - core::ptr::write(pstatus, core::mem::transmute(ok__)); + pstatus.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4324,7 +4324,7 @@ impl ID3D11VideoContext1_Vtbl { let this = (*this).get_impl(); match ID3D11VideoContext1_Impl::VideoProcessorGetBehaviorHints(this, windows_core::from_raw_borrowed(&pvideoprocessor), core::mem::transmute_copy(&outputwidth), core::mem::transmute_copy(&outputheight), core::mem::transmute_copy(&outputformat), core::mem::transmute_copy(&streamcount), core::mem::transmute_copy(&pstreams)) { Ok(ok__) => { - core::ptr::write(pbehaviorhints, core::mem::transmute(ok__)); + pbehaviorhints.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4446,7 +4446,7 @@ impl ID3D11VideoDecoder_Vtbl { let this = (*this).get_impl(); match ID3D11VideoDecoder_Impl::GetDriverHandle(this) { Ok(ok__) => { - core::ptr::write(pdriverhandle, core::mem::transmute(ok__)); + pdriverhandle.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4509,7 +4509,7 @@ impl ID3D11VideoDevice_Vtbl { let this = (*this).get_impl(); match ID3D11VideoDevice_Impl::CreateVideoDecoder(this, core::mem::transmute_copy(&pvideodesc), core::mem::transmute_copy(&pconfig)) { Ok(ok__) => { - core::ptr::write(ppdecoder, core::mem::transmute(ok__)); + ppdecoder.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4520,7 +4520,7 @@ impl ID3D11VideoDevice_Vtbl { let this = (*this).get_impl(); match ID3D11VideoDevice_Impl::CreateVideoProcessor(this, windows_core::from_raw_borrowed(&penum), core::mem::transmute_copy(&rateconversionindex)) { Ok(ok__) => { - core::ptr::write(ppvideoprocessor, core::mem::transmute(ok__)); + ppvideoprocessor.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4531,7 +4531,7 @@ impl ID3D11VideoDevice_Vtbl { let this = (*this).get_impl(); match ID3D11VideoDevice_Impl::CreateAuthenticatedChannel(this, core::mem::transmute_copy(&channeltype)) { Ok(ok__) => { - core::ptr::write(ppauthenticatedchannel, core::mem::transmute(ok__)); + ppauthenticatedchannel.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4542,7 +4542,7 @@ impl ID3D11VideoDevice_Vtbl { let this = (*this).get_impl(); match ID3D11VideoDevice_Impl::CreateCryptoSession(this, core::mem::transmute_copy(&pcryptotype), core::mem::transmute_copy(&pdecoderprofile), core::mem::transmute_copy(&pkeyexchangetype)) { Ok(ok__) => { - core::ptr::write(ppcryptosession, core::mem::transmute(ok__)); + ppcryptosession.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4568,7 +4568,7 @@ impl ID3D11VideoDevice_Vtbl { let this = (*this).get_impl(); match ID3D11VideoDevice_Impl::CreateVideoProcessorEnumerator(this, core::mem::transmute_copy(&pdesc)) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4584,7 +4584,7 @@ impl ID3D11VideoDevice_Vtbl { let this = (*this).get_impl(); match ID3D11VideoDevice_Impl::GetVideoDecoderProfile(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(pdecoderprofile, core::mem::transmute(ok__)); + pdecoderprofile.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4595,7 +4595,7 @@ impl ID3D11VideoDevice_Vtbl { let this = (*this).get_impl(); match ID3D11VideoDevice_Impl::CheckVideoDecoderFormat(this, core::mem::transmute_copy(&pdecoderprofile), core::mem::transmute_copy(&format)) { Ok(ok__) => { - core::ptr::write(psupported, core::mem::transmute(ok__)); + psupported.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4606,7 +4606,7 @@ impl ID3D11VideoDevice_Vtbl { let this = (*this).get_impl(); match ID3D11VideoDevice_Impl::GetVideoDecoderConfigCount(this, core::mem::transmute_copy(&pdesc)) { Ok(ok__) => { - core::ptr::write(pcount, core::mem::transmute(ok__)); + pcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4627,7 +4627,7 @@ impl ID3D11VideoDevice_Vtbl { let this = (*this).get_impl(); match ID3D11VideoDevice_Impl::CheckCryptoKeyExchange(this, core::mem::transmute_copy(&pcryptotype), core::mem::transmute_copy(&pdecoderprofile), core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(pkeyexchangetype, core::mem::transmute(ok__)); + pkeyexchangetype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4690,7 +4690,7 @@ impl ID3D11VideoDevice1_Vtbl { let this = (*this).get_impl(); match ID3D11VideoDevice1_Impl::GetVideoDecoderCaps(this, core::mem::transmute_copy(&pdecoderprofile), core::mem::transmute_copy(&samplewidth), core::mem::transmute_copy(&sampleheight), core::mem::transmute_copy(&pframerate), core::mem::transmute_copy(&bitrate), core::mem::transmute_copy(&pcryptotype)) { Ok(ok__) => { - core::ptr::write(pdecodercaps, core::mem::transmute(ok__)); + pdecodercaps.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4706,7 +4706,7 @@ impl ID3D11VideoDevice1_Vtbl { let this = (*this).get_impl(); match ID3D11VideoDevice1_Impl::RecommendVideoDecoderDownsampleParameters(this, core::mem::transmute_copy(&pinputdesc), core::mem::transmute_copy(&inputcolorspace), core::mem::transmute_copy(&pinputconfig), core::mem::transmute_copy(&pframerate)) { Ok(ok__) => { - core::ptr::write(precommendedoutputdesc, core::mem::transmute(ok__)); + precommendedoutputdesc.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4808,7 +4808,7 @@ impl ID3D11VideoProcessorEnumerator_Vtbl { let this = (*this).get_impl(); match ID3D11VideoProcessorEnumerator_Impl::CheckVideoProcessorFormat(this, core::mem::transmute_copy(&format)) { Ok(ok__) => { - core::ptr::write(pflags, core::mem::transmute(ok__)); + pflags.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4834,7 +4834,7 @@ impl ID3D11VideoProcessorEnumerator_Vtbl { let this = (*this).get_impl(); match ID3D11VideoProcessorEnumerator_Impl::GetVideoProcessorFilterRange(this, core::mem::transmute_copy(&filter)) { Ok(ok__) => { - core::ptr::write(prange, core::mem::transmute(ok__)); + prange.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4868,7 +4868,7 @@ impl ID3D11VideoProcessorEnumerator1_Vtbl { let this = (*this).get_impl(); match ID3D11VideoProcessorEnumerator1_Impl::CheckVideoProcessorFormatConversion(this, core::mem::transmute_copy(&inputformat), core::mem::transmute_copy(&inputcolorspace), core::mem::transmute_copy(&outputformat), core::mem::transmute_copy(&outputcolorspace)) { Ok(ok__) => { - core::ptr::write(psupported, core::mem::transmute(ok__)); + psupported.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D12/impl.rs b/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D12/impl.rs index 43b507b30a..b47ffda9fc 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D12/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D12/impl.rs @@ -93,7 +93,7 @@ impl ID3D12CommandQueue_Vtbl { let this = (*this).get_impl(); match ID3D12CommandQueue_Impl::GetTimestampFrequency(this) { Ok(ok__) => { - core::ptr::write(pfrequency, core::mem::transmute(ok__)); + pfrequency.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -759,7 +759,7 @@ impl ID3D12Device_Vtbl { let this = (*this).get_impl(); match ID3D12Device_Impl::CreateSharedHandle(this, windows_core::from_raw_borrowed(&pobject), core::mem::transmute_copy(&pattributes), core::mem::transmute_copy(&access), core::mem::transmute(&name)) { Ok(ok__) => { - core::ptr::write(phandle, core::mem::transmute(ok__)); + phandle.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -775,7 +775,7 @@ impl ID3D12Device_Vtbl { let this = (*this).get_impl(); match ID3D12Device_Impl::OpenSharedHandleByName(this, core::mem::transmute(&name), core::mem::transmute_copy(&access)) { Ok(ok__) => { - core::ptr::write(pnthandle, core::mem::transmute(ok__)); + pnthandle.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1503,7 +1503,7 @@ impl ID3D12DeviceRemovedExtendedData_Vtbl { let this = (*this).get_impl(); match ID3D12DeviceRemovedExtendedData_Impl::GetAutoBreadcrumbsOutput(this) { Ok(ok__) => { - core::ptr::write(poutput, core::mem::transmute(ok__)); + poutput.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1514,7 +1514,7 @@ impl ID3D12DeviceRemovedExtendedData_Vtbl { let this = (*this).get_impl(); match ID3D12DeviceRemovedExtendedData_Impl::GetPageFaultAllocationOutput(this) { Ok(ok__) => { - core::ptr::write(poutput, core::mem::transmute(ok__)); + poutput.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1542,7 +1542,7 @@ impl ID3D12DeviceRemovedExtendedData1_Vtbl { let this = (*this).get_impl(); match ID3D12DeviceRemovedExtendedData1_Impl::GetAutoBreadcrumbsOutput1(this) { Ok(ok__) => { - core::ptr::write(poutput, core::mem::transmute(ok__)); + poutput.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1553,7 +1553,7 @@ impl ID3D12DeviceRemovedExtendedData1_Vtbl { let this = (*this).get_impl(); match ID3D12DeviceRemovedExtendedData1_Impl::GetPageFaultAllocationOutput1(this) { Ok(ok__) => { - core::ptr::write(poutput, core::mem::transmute(ok__)); + poutput.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2855,7 +2855,7 @@ impl ID3D12LibraryReflection_Vtbl { let this = (*this).get_impl(); match ID3D12LibraryReflection_Impl::GetDesc(this) { Ok(ok__) => { - core::ptr::write(pdesc, core::mem::transmute(ok__)); + pdesc.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3083,7 +3083,7 @@ impl ID3D12PipelineState_Vtbl { let this = (*this).get_impl(); match ID3D12PipelineState_Impl::GetCachedBlob(this) { Ok(ok__) => { - core::ptr::write(ppblob, core::mem::transmute(ok__)); + ppblob.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3495,7 +3495,7 @@ impl ID3D12ShaderReflection_Vtbl { let this = (*this).get_impl(); match ID3D12ShaderReflection_Impl::GetMinFeatureLevel(this) { Ok(ok__) => { - core::ptr::write(plevel, core::mem::transmute(ok__)); + plevel.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3897,7 +3897,7 @@ impl ID3D12VersionedRootSignatureDeserializer_Vtbl { let this = (*this).get_impl(); match ID3D12VersionedRootSignatureDeserializer_Impl::GetRootSignatureDescAtVersion(this, core::mem::transmute_copy(&converttoversion)) { Ok(ok__) => { - core::ptr::write(ppdesc, core::mem::transmute(ok__)); + ppdesc.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3930,7 +3930,7 @@ impl ID3D12VirtualizationGuestDevice_Vtbl { let this = (*this).get_impl(); match ID3D12VirtualizationGuestDevice_Impl::ShareWithHost(this, windows_core::from_raw_borrowed(&pobject)) { Ok(ok__) => { - core::ptr::write(phandle, core::mem::transmute(ok__)); + phandle.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3941,7 +3941,7 @@ impl ID3D12VirtualizationGuestDevice_Vtbl { let this = (*this).get_impl(); match ID3D12VirtualizationGuestDevice_Impl::CreateFenceFd(this, windows_core::from_raw_borrowed(&pfence), core::mem::transmute_copy(&fencevalue)) { Ok(ok__) => { - core::ptr::write(pfencefd, core::mem::transmute(ok__)); + pfencefd.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D9/impl.rs b/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D9/impl.rs index 0a73ee8c93..a655bb997f 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D9/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D9/impl.rs @@ -238,7 +238,7 @@ impl IDirect3DCubeTexture9_Vtbl { let this = (*this).get_impl(); match IDirect3DCubeTexture9_Impl::GetCubeMapSurface(this, core::mem::transmute_copy(&facetype), core::mem::transmute_copy(&level)) { Ok(ok__) => { - core::ptr::write(ppcubemapsurface, core::mem::transmute(ok__)); + ppcubemapsurface.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -416,7 +416,7 @@ impl IDirect3DDevice9_Vtbl { let this = (*this).get_impl(); match IDirect3DDevice9_Impl::GetDirect3D(this) { Ok(ok__) => { - core::ptr::write(ppd3d9, core::mem::transmute(ok__)); + ppd3d9.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -462,7 +462,7 @@ impl IDirect3DDevice9_Vtbl { let this = (*this).get_impl(); match IDirect3DDevice9_Impl::GetSwapChain(this, core::mem::transmute_copy(&iswapchain)) { Ok(ok__) => { - core::ptr::write(pswapchain, core::mem::transmute(ok__)); + pswapchain.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -488,7 +488,7 @@ impl IDirect3DDevice9_Vtbl { let this = (*this).get_impl(); match IDirect3DDevice9_Impl::GetBackBuffer(this, core::mem::transmute_copy(&iswapchain), core::mem::transmute_copy(&ibackbuffer), core::mem::transmute_copy(&r#type)) { Ok(ok__) => { - core::ptr::write(ppbackbuffer, core::mem::transmute(ok__)); + ppbackbuffer.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -594,7 +594,7 @@ impl IDirect3DDevice9_Vtbl { let this = (*this).get_impl(); match IDirect3DDevice9_Impl::GetRenderTarget(this, core::mem::transmute_copy(&rendertargetindex)) { Ok(ok__) => { - core::ptr::write(pprendertarget, core::mem::transmute(ok__)); + pprendertarget.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -610,7 +610,7 @@ impl IDirect3DDevice9_Vtbl { let this = (*this).get_impl(); match IDirect3DDevice9_Impl::GetDepthStencilSurface(this) { Ok(ok__) => { - core::ptr::write(ppzstencilsurface, core::mem::transmute(ok__)); + ppzstencilsurface.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -711,7 +711,7 @@ impl IDirect3DDevice9_Vtbl { let this = (*this).get_impl(); match IDirect3DDevice9_Impl::CreateStateBlock(this, core::mem::transmute_copy(&r#type)) { Ok(ok__) => { - core::ptr::write(ppsb, core::mem::transmute(ok__)); + ppsb.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -727,7 +727,7 @@ impl IDirect3DDevice9_Vtbl { let this = (*this).get_impl(); match IDirect3DDevice9_Impl::EndStateBlock(this) { Ok(ok__) => { - core::ptr::write(ppsb, core::mem::transmute(ok__)); + ppsb.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -748,7 +748,7 @@ impl IDirect3DDevice9_Vtbl { let this = (*this).get_impl(); match IDirect3DDevice9_Impl::GetTexture(this, core::mem::transmute_copy(&stage)) { Ok(ok__) => { - core::ptr::write(pptexture, core::mem::transmute(ok__)); + pptexture.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -864,7 +864,7 @@ impl IDirect3DDevice9_Vtbl { let this = (*this).get_impl(); match IDirect3DDevice9_Impl::CreateVertexDeclaration(this, core::mem::transmute_copy(&pvertexelements)) { Ok(ok__) => { - core::ptr::write(ppdecl, core::mem::transmute(ok__)); + ppdecl.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -880,7 +880,7 @@ impl IDirect3DDevice9_Vtbl { let this = (*this).get_impl(); match IDirect3DDevice9_Impl::GetVertexDeclaration(this) { Ok(ok__) => { - core::ptr::write(ppdecl, core::mem::transmute(ok__)); + ppdecl.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -901,7 +901,7 @@ impl IDirect3DDevice9_Vtbl { let this = (*this).get_impl(); match IDirect3DDevice9_Impl::CreateVertexShader(this, core::mem::transmute_copy(&pfunction)) { Ok(ok__) => { - core::ptr::write(ppshader, core::mem::transmute(ok__)); + ppshader.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -917,7 +917,7 @@ impl IDirect3DDevice9_Vtbl { let this = (*this).get_impl(); match IDirect3DDevice9_Impl::GetVertexShader(this) { Ok(ok__) => { - core::ptr::write(ppshader, core::mem::transmute(ok__)); + ppshader.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -983,7 +983,7 @@ impl IDirect3DDevice9_Vtbl { let this = (*this).get_impl(); match IDirect3DDevice9_Impl::GetIndices(this) { Ok(ok__) => { - core::ptr::write(ppindexdata, core::mem::transmute(ok__)); + ppindexdata.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -994,7 +994,7 @@ impl IDirect3DDevice9_Vtbl { let this = (*this).get_impl(); match IDirect3DDevice9_Impl::CreatePixelShader(this, core::mem::transmute_copy(&pfunction)) { Ok(ok__) => { - core::ptr::write(ppshader, core::mem::transmute(ok__)); + ppshader.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1010,7 +1010,7 @@ impl IDirect3DDevice9_Vtbl { let this = (*this).get_impl(); match IDirect3DDevice9_Impl::GetPixelShader(this) { Ok(ok__) => { - core::ptr::write(ppshader, core::mem::transmute(ok__)); + ppshader.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1066,7 +1066,7 @@ impl IDirect3DDevice9_Vtbl { let this = (*this).get_impl(); match IDirect3DDevice9_Impl::CreateQuery(this, core::mem::transmute_copy(&r#type)) { Ok(ok__) => { - core::ptr::write(ppquery, core::mem::transmute(ok__)); + ppquery.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1363,7 +1363,7 @@ impl IDirect3DPixelShader9_Vtbl { let this = (*this).get_impl(); match IDirect3DPixelShader9_Impl::GetDevice(this) { Ok(ok__) => { - core::ptr::write(ppdevice, core::mem::transmute(ok__)); + ppdevice.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1399,7 +1399,7 @@ impl IDirect3DQuery9_Vtbl { let this = (*this).get_impl(); match IDirect3DQuery9_Impl::GetDevice(this) { Ok(ok__) => { - core::ptr::write(ppdevice, core::mem::transmute(ok__)); + ppdevice.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1456,7 +1456,7 @@ impl IDirect3DResource9_Vtbl { let this = (*this).get_impl(); match IDirect3DResource9_Impl::GetDevice(this) { Ok(ok__) => { - core::ptr::write(ppdevice, core::mem::transmute(ok__)); + ppdevice.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1526,7 +1526,7 @@ impl IDirect3DStateBlock9_Vtbl { let this = (*this).get_impl(); match IDirect3DStateBlock9_Impl::GetDevice(this) { Ok(ok__) => { - core::ptr::write(ppdevice, core::mem::transmute(ok__)); + ppdevice.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1641,7 +1641,7 @@ impl IDirect3DSwapChain9_Vtbl { let this = (*this).get_impl(); match IDirect3DSwapChain9_Impl::GetBackBuffer(this, core::mem::transmute_copy(&ibackbuffer), core::mem::transmute_copy(&r#type)) { Ok(ok__) => { - core::ptr::write(ppbackbuffer, core::mem::transmute(ok__)); + ppbackbuffer.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1662,7 +1662,7 @@ impl IDirect3DSwapChain9_Vtbl { let this = (*this).get_impl(); match IDirect3DSwapChain9_Impl::GetDevice(this) { Ok(ok__) => { - core::ptr::write(ppdevice, core::mem::transmute(ok__)); + ppdevice.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1745,7 +1745,7 @@ impl IDirect3DTexture9_Vtbl { let this = (*this).get_impl(); match IDirect3DTexture9_Impl::GetSurfaceLevel(this, core::mem::transmute_copy(&level)) { Ok(ok__) => { - core::ptr::write(ppsurfacelevel, core::mem::transmute(ok__)); + ppsurfacelevel.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1825,7 +1825,7 @@ impl IDirect3DVertexDeclaration9_Vtbl { let this = (*this).get_impl(); match IDirect3DVertexDeclaration9_Impl::GetDevice(this) { Ok(ok__) => { - core::ptr::write(ppdevice, core::mem::transmute(ok__)); + ppdevice.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1858,7 +1858,7 @@ impl IDirect3DVertexShader9_Vtbl { let this = (*this).get_impl(); match IDirect3DVertexShader9_Impl::GetDevice(this) { Ok(ok__) => { - core::ptr::write(ppdevice, core::mem::transmute(ok__)); + ppdevice.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1897,7 +1897,7 @@ impl IDirect3DVolume9_Vtbl { let this = (*this).get_impl(); match IDirect3DVolume9_Impl::GetDevice(this) { Ok(ok__) => { - core::ptr::write(ppdevice, core::mem::transmute(ok__)); + ppdevice.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1974,7 +1974,7 @@ impl IDirect3DVolumeTexture9_Vtbl { let this = (*this).get_impl(); match IDirect3DVolumeTexture9_Impl::GetVolumeLevel(this, core::mem::transmute_copy(&level)) { Ok(ok__) => { - core::ptr::write(ppvolumelevel, core::mem::transmute(ok__)); + ppvolumelevel.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/DirectComposition/impl.rs b/crates/libs/windows/src/Windows/Win32/Graphics/DirectComposition/impl.rs index 31219b805e..18a63173f8 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/DirectComposition/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/DirectComposition/impl.rs @@ -408,7 +408,7 @@ impl IDCompositionDelegatedInkTrail_Vtbl { let this = (*this).get_impl(); match IDCompositionDelegatedInkTrail_Impl::AddTrailPoints(this, core::mem::transmute_copy(&inkpoints), core::mem::transmute_copy(&inkpointscount)) { Ok(ok__) => { - core::ptr::write(generationid, core::mem::transmute(ok__)); + generationid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -419,7 +419,7 @@ impl IDCompositionDelegatedInkTrail_Vtbl { let this = (*this).get_impl(); match IDCompositionDelegatedInkTrail_Impl::AddTrailPointsWithPrediction(this, core::mem::transmute_copy(&inkpoints), core::mem::transmute_copy(&inkpointscount), core::mem::transmute_copy(&predictedinkpoints), core::mem::transmute_copy(&predictedinkpointscount)) { Ok(ok__) => { - core::ptr::write(generationid, core::mem::transmute(ok__)); + generationid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -463,7 +463,7 @@ impl IDCompositionDesktopDevice_Vtbl { let this = (*this).get_impl(); match IDCompositionDesktopDevice_Impl::CreateTargetForHwnd(this, core::mem::transmute_copy(&hwnd), core::mem::transmute_copy(&topmost)) { Ok(ok__) => { - core::ptr::write(target, core::mem::transmute(ok__)); + target.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -474,7 +474,7 @@ impl IDCompositionDesktopDevice_Vtbl { let this = (*this).get_impl(); match IDCompositionDesktopDevice_Impl::CreateSurfaceFromHandle(this, core::mem::transmute_copy(&handle)) { Ok(ok__) => { - core::ptr::write(surface, core::mem::transmute(ok__)); + surface.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -485,7 +485,7 @@ impl IDCompositionDesktopDevice_Vtbl { let this = (*this).get_impl(); match IDCompositionDesktopDevice_Impl::CreateSurfaceFromHwnd(this, core::mem::transmute_copy(&hwnd)) { Ok(ok__) => { - core::ptr::write(surface, core::mem::transmute(ok__)); + surface.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -554,7 +554,7 @@ impl IDCompositionDevice_Vtbl { let this = (*this).get_impl(); match IDCompositionDevice_Impl::CreateTargetForHwnd(this, core::mem::transmute_copy(&hwnd), core::mem::transmute_copy(&topmost)) { Ok(ok__) => { - core::ptr::write(target, core::mem::transmute(ok__)); + target.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -565,7 +565,7 @@ impl IDCompositionDevice_Vtbl { let this = (*this).get_impl(); match IDCompositionDevice_Impl::CreateVisual(this) { Ok(ok__) => { - core::ptr::write(visual, core::mem::transmute(ok__)); + visual.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -576,7 +576,7 @@ impl IDCompositionDevice_Vtbl { let this = (*this).get_impl(); match IDCompositionDevice_Impl::CreateSurface(this, core::mem::transmute_copy(&width), core::mem::transmute_copy(&height), core::mem::transmute_copy(&pixelformat), core::mem::transmute_copy(&alphamode)) { Ok(ok__) => { - core::ptr::write(surface, core::mem::transmute(ok__)); + surface.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -587,7 +587,7 @@ impl IDCompositionDevice_Vtbl { let this = (*this).get_impl(); match IDCompositionDevice_Impl::CreateVirtualSurface(this, core::mem::transmute_copy(&initialwidth), core::mem::transmute_copy(&initialheight), core::mem::transmute_copy(&pixelformat), core::mem::transmute_copy(&alphamode)) { Ok(ok__) => { - core::ptr::write(virtualsurface, core::mem::transmute(ok__)); + virtualsurface.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -598,7 +598,7 @@ impl IDCompositionDevice_Vtbl { let this = (*this).get_impl(); match IDCompositionDevice_Impl::CreateSurfaceFromHandle(this, core::mem::transmute_copy(&handle)) { Ok(ok__) => { - core::ptr::write(surface, core::mem::transmute(ok__)); + surface.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -609,7 +609,7 @@ impl IDCompositionDevice_Vtbl { let this = (*this).get_impl(); match IDCompositionDevice_Impl::CreateSurfaceFromHwnd(this, core::mem::transmute_copy(&hwnd)) { Ok(ok__) => { - core::ptr::write(surface, core::mem::transmute(ok__)); + surface.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -620,7 +620,7 @@ impl IDCompositionDevice_Vtbl { let this = (*this).get_impl(); match IDCompositionDevice_Impl::CreateTranslateTransform(this) { Ok(ok__) => { - core::ptr::write(translatetransform, core::mem::transmute(ok__)); + translatetransform.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -631,7 +631,7 @@ impl IDCompositionDevice_Vtbl { let this = (*this).get_impl(); match IDCompositionDevice_Impl::CreateScaleTransform(this) { Ok(ok__) => { - core::ptr::write(scaletransform, core::mem::transmute(ok__)); + scaletransform.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -642,7 +642,7 @@ impl IDCompositionDevice_Vtbl { let this = (*this).get_impl(); match IDCompositionDevice_Impl::CreateRotateTransform(this) { Ok(ok__) => { - core::ptr::write(rotatetransform, core::mem::transmute(ok__)); + rotatetransform.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -653,7 +653,7 @@ impl IDCompositionDevice_Vtbl { let this = (*this).get_impl(); match IDCompositionDevice_Impl::CreateSkewTransform(this) { Ok(ok__) => { - core::ptr::write(skewtransform, core::mem::transmute(ok__)); + skewtransform.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -664,7 +664,7 @@ impl IDCompositionDevice_Vtbl { let this = (*this).get_impl(); match IDCompositionDevice_Impl::CreateMatrixTransform(this) { Ok(ok__) => { - core::ptr::write(matrixtransform, core::mem::transmute(ok__)); + matrixtransform.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -675,7 +675,7 @@ impl IDCompositionDevice_Vtbl { let this = (*this).get_impl(); match IDCompositionDevice_Impl::CreateTransformGroup(this, core::mem::transmute_copy(&transforms), core::mem::transmute_copy(&elements)) { Ok(ok__) => { - core::ptr::write(transformgroup, core::mem::transmute(ok__)); + transformgroup.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -686,7 +686,7 @@ impl IDCompositionDevice_Vtbl { let this = (*this).get_impl(); match IDCompositionDevice_Impl::CreateTranslateTransform3D(this) { Ok(ok__) => { - core::ptr::write(translatetransform3d, core::mem::transmute(ok__)); + translatetransform3d.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -697,7 +697,7 @@ impl IDCompositionDevice_Vtbl { let this = (*this).get_impl(); match IDCompositionDevice_Impl::CreateScaleTransform3D(this) { Ok(ok__) => { - core::ptr::write(scaletransform3d, core::mem::transmute(ok__)); + scaletransform3d.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -708,7 +708,7 @@ impl IDCompositionDevice_Vtbl { let this = (*this).get_impl(); match IDCompositionDevice_Impl::CreateRotateTransform3D(this) { Ok(ok__) => { - core::ptr::write(rotatetransform3d, core::mem::transmute(ok__)); + rotatetransform3d.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -719,7 +719,7 @@ impl IDCompositionDevice_Vtbl { let this = (*this).get_impl(); match IDCompositionDevice_Impl::CreateMatrixTransform3D(this) { Ok(ok__) => { - core::ptr::write(matrixtransform3d, core::mem::transmute(ok__)); + matrixtransform3d.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -730,7 +730,7 @@ impl IDCompositionDevice_Vtbl { let this = (*this).get_impl(); match IDCompositionDevice_Impl::CreateTransform3DGroup(this, core::mem::transmute_copy(&transforms3d), core::mem::transmute_copy(&elements)) { Ok(ok__) => { - core::ptr::write(transform3dgroup, core::mem::transmute(ok__)); + transform3dgroup.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -741,7 +741,7 @@ impl IDCompositionDevice_Vtbl { let this = (*this).get_impl(); match IDCompositionDevice_Impl::CreateEffectGroup(this) { Ok(ok__) => { - core::ptr::write(effectgroup, core::mem::transmute(ok__)); + effectgroup.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -752,7 +752,7 @@ impl IDCompositionDevice_Vtbl { let this = (*this).get_impl(); match IDCompositionDevice_Impl::CreateRectangleClip(this) { Ok(ok__) => { - core::ptr::write(clip, core::mem::transmute(ok__)); + clip.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -763,7 +763,7 @@ impl IDCompositionDevice_Vtbl { let this = (*this).get_impl(); match IDCompositionDevice_Impl::CreateAnimation(this) { Ok(ok__) => { - core::ptr::write(animation, core::mem::transmute(ok__)); + animation.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -774,7 +774,7 @@ impl IDCompositionDevice_Vtbl { let this = (*this).get_impl(); match IDCompositionDevice_Impl::CheckDeviceState(this) { Ok(ok__) => { - core::ptr::write(pfvalid, core::mem::transmute(ok__)); + pfvalid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -861,7 +861,7 @@ impl IDCompositionDevice2_Vtbl { let this = (*this).get_impl(); match IDCompositionDevice2_Impl::CreateVisual(this) { Ok(ok__) => { - core::ptr::write(visual, core::mem::transmute(ok__)); + visual.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -872,7 +872,7 @@ impl IDCompositionDevice2_Vtbl { let this = (*this).get_impl(); match IDCompositionDevice2_Impl::CreateSurfaceFactory(this, windows_core::from_raw_borrowed(&renderingdevice)) { Ok(ok__) => { - core::ptr::write(surfacefactory, core::mem::transmute(ok__)); + surfacefactory.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -883,7 +883,7 @@ impl IDCompositionDevice2_Vtbl { let this = (*this).get_impl(); match IDCompositionDevice2_Impl::CreateSurface(this, core::mem::transmute_copy(&width), core::mem::transmute_copy(&height), core::mem::transmute_copy(&pixelformat), core::mem::transmute_copy(&alphamode)) { Ok(ok__) => { - core::ptr::write(surface, core::mem::transmute(ok__)); + surface.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -894,7 +894,7 @@ impl IDCompositionDevice2_Vtbl { let this = (*this).get_impl(); match IDCompositionDevice2_Impl::CreateVirtualSurface(this, core::mem::transmute_copy(&initialwidth), core::mem::transmute_copy(&initialheight), core::mem::transmute_copy(&pixelformat), core::mem::transmute_copy(&alphamode)) { Ok(ok__) => { - core::ptr::write(virtualsurface, core::mem::transmute(ok__)); + virtualsurface.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -905,7 +905,7 @@ impl IDCompositionDevice2_Vtbl { let this = (*this).get_impl(); match IDCompositionDevice2_Impl::CreateTranslateTransform(this) { Ok(ok__) => { - core::ptr::write(translatetransform, core::mem::transmute(ok__)); + translatetransform.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -916,7 +916,7 @@ impl IDCompositionDevice2_Vtbl { let this = (*this).get_impl(); match IDCompositionDevice2_Impl::CreateScaleTransform(this) { Ok(ok__) => { - core::ptr::write(scaletransform, core::mem::transmute(ok__)); + scaletransform.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -927,7 +927,7 @@ impl IDCompositionDevice2_Vtbl { let this = (*this).get_impl(); match IDCompositionDevice2_Impl::CreateRotateTransform(this) { Ok(ok__) => { - core::ptr::write(rotatetransform, core::mem::transmute(ok__)); + rotatetransform.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -938,7 +938,7 @@ impl IDCompositionDevice2_Vtbl { let this = (*this).get_impl(); match IDCompositionDevice2_Impl::CreateSkewTransform(this) { Ok(ok__) => { - core::ptr::write(skewtransform, core::mem::transmute(ok__)); + skewtransform.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -949,7 +949,7 @@ impl IDCompositionDevice2_Vtbl { let this = (*this).get_impl(); match IDCompositionDevice2_Impl::CreateMatrixTransform(this) { Ok(ok__) => { - core::ptr::write(matrixtransform, core::mem::transmute(ok__)); + matrixtransform.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -960,7 +960,7 @@ impl IDCompositionDevice2_Vtbl { let this = (*this).get_impl(); match IDCompositionDevice2_Impl::CreateTransformGroup(this, core::mem::transmute_copy(&transforms), core::mem::transmute_copy(&elements)) { Ok(ok__) => { - core::ptr::write(transformgroup, core::mem::transmute(ok__)); + transformgroup.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -971,7 +971,7 @@ impl IDCompositionDevice2_Vtbl { let this = (*this).get_impl(); match IDCompositionDevice2_Impl::CreateTranslateTransform3D(this) { Ok(ok__) => { - core::ptr::write(translatetransform3d, core::mem::transmute(ok__)); + translatetransform3d.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -982,7 +982,7 @@ impl IDCompositionDevice2_Vtbl { let this = (*this).get_impl(); match IDCompositionDevice2_Impl::CreateScaleTransform3D(this) { Ok(ok__) => { - core::ptr::write(scaletransform3d, core::mem::transmute(ok__)); + scaletransform3d.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -993,7 +993,7 @@ impl IDCompositionDevice2_Vtbl { let this = (*this).get_impl(); match IDCompositionDevice2_Impl::CreateRotateTransform3D(this) { Ok(ok__) => { - core::ptr::write(rotatetransform3d, core::mem::transmute(ok__)); + rotatetransform3d.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1004,7 +1004,7 @@ impl IDCompositionDevice2_Vtbl { let this = (*this).get_impl(); match IDCompositionDevice2_Impl::CreateMatrixTransform3D(this) { Ok(ok__) => { - core::ptr::write(matrixtransform3d, core::mem::transmute(ok__)); + matrixtransform3d.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1015,7 +1015,7 @@ impl IDCompositionDevice2_Vtbl { let this = (*this).get_impl(); match IDCompositionDevice2_Impl::CreateTransform3DGroup(this, core::mem::transmute_copy(&transforms3d), core::mem::transmute_copy(&elements)) { Ok(ok__) => { - core::ptr::write(transform3dgroup, core::mem::transmute(ok__)); + transform3dgroup.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1026,7 +1026,7 @@ impl IDCompositionDevice2_Vtbl { let this = (*this).get_impl(); match IDCompositionDevice2_Impl::CreateEffectGroup(this) { Ok(ok__) => { - core::ptr::write(effectgroup, core::mem::transmute(ok__)); + effectgroup.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1037,7 +1037,7 @@ impl IDCompositionDevice2_Vtbl { let this = (*this).get_impl(); match IDCompositionDevice2_Impl::CreateRectangleClip(this) { Ok(ok__) => { - core::ptr::write(clip, core::mem::transmute(ok__)); + clip.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1048,7 +1048,7 @@ impl IDCompositionDevice2_Vtbl { let this = (*this).get_impl(); match IDCompositionDevice2_Impl::CreateAnimation(this) { Ok(ok__) => { - core::ptr::write(animation, core::mem::transmute(ok__)); + animation.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1109,7 +1109,7 @@ impl IDCompositionDevice3_Vtbl { let this = (*this).get_impl(); match IDCompositionDevice3_Impl::CreateGaussianBlurEffect(this) { Ok(ok__) => { - core::ptr::write(gaussianblureffect, core::mem::transmute(ok__)); + gaussianblureffect.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1120,7 +1120,7 @@ impl IDCompositionDevice3_Vtbl { let this = (*this).get_impl(); match IDCompositionDevice3_Impl::CreateBrightnessEffect(this) { Ok(ok__) => { - core::ptr::write(brightnesseffect, core::mem::transmute(ok__)); + brightnesseffect.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1131,7 +1131,7 @@ impl IDCompositionDevice3_Vtbl { let this = (*this).get_impl(); match IDCompositionDevice3_Impl::CreateColorMatrixEffect(this) { Ok(ok__) => { - core::ptr::write(colormatrixeffect, core::mem::transmute(ok__)); + colormatrixeffect.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1142,7 +1142,7 @@ impl IDCompositionDevice3_Vtbl { let this = (*this).get_impl(); match IDCompositionDevice3_Impl::CreateShadowEffect(this) { Ok(ok__) => { - core::ptr::write(shadoweffect, core::mem::transmute(ok__)); + shadoweffect.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1153,7 +1153,7 @@ impl IDCompositionDevice3_Vtbl { let this = (*this).get_impl(); match IDCompositionDevice3_Impl::CreateHueRotationEffect(this) { Ok(ok__) => { - core::ptr::write(huerotationeffect, core::mem::transmute(ok__)); + huerotationeffect.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1164,7 +1164,7 @@ impl IDCompositionDevice3_Vtbl { let this = (*this).get_impl(); match IDCompositionDevice3_Impl::CreateSaturationEffect(this) { Ok(ok__) => { - core::ptr::write(saturationeffect, core::mem::transmute(ok__)); + saturationeffect.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1175,7 +1175,7 @@ impl IDCompositionDevice3_Vtbl { let this = (*this).get_impl(); match IDCompositionDevice3_Impl::CreateTurbulenceEffect(this) { Ok(ok__) => { - core::ptr::write(turbulenceeffect, core::mem::transmute(ok__)); + turbulenceeffect.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1186,7 +1186,7 @@ impl IDCompositionDevice3_Vtbl { let this = (*this).get_impl(); match IDCompositionDevice3_Impl::CreateLinearTransferEffect(this) { Ok(ok__) => { - core::ptr::write(lineartransfereffect, core::mem::transmute(ok__)); + lineartransfereffect.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1197,7 +1197,7 @@ impl IDCompositionDevice3_Vtbl { let this = (*this).get_impl(); match IDCompositionDevice3_Impl::CreateTableTransferEffect(this) { Ok(ok__) => { - core::ptr::write(tabletransfereffect, core::mem::transmute(ok__)); + tabletransfereffect.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1208,7 +1208,7 @@ impl IDCompositionDevice3_Vtbl { let this = (*this).get_impl(); match IDCompositionDevice3_Impl::CreateCompositeEffect(this) { Ok(ok__) => { - core::ptr::write(compositeeffect, core::mem::transmute(ok__)); + compositeeffect.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1219,7 +1219,7 @@ impl IDCompositionDevice3_Vtbl { let this = (*this).get_impl(); match IDCompositionDevice3_Impl::CreateBlendEffect(this) { Ok(ok__) => { - core::ptr::write(blendeffect, core::mem::transmute(ok__)); + blendeffect.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1230,7 +1230,7 @@ impl IDCompositionDevice3_Vtbl { let this = (*this).get_impl(); match IDCompositionDevice3_Impl::CreateArithmeticCompositeEffect(this) { Ok(ok__) => { - core::ptr::write(arithmeticcompositeeffect, core::mem::transmute(ok__)); + arithmeticcompositeeffect.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1241,7 +1241,7 @@ impl IDCompositionDevice3_Vtbl { let this = (*this).get_impl(); match IDCompositionDevice3_Impl::CreateAffineTransform2DEffect(this) { Ok(ok__) => { - core::ptr::write(affinetransform2deffect, core::mem::transmute(ok__)); + affinetransform2deffect.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1283,7 +1283,7 @@ impl IDCompositionDevice4_Vtbl { let this = (*this).get_impl(); match IDCompositionDevice4_Impl::CheckCompositionTextureSupport(this, windows_core::from_raw_borrowed(&renderingdevice)) { Ok(ok__) => { - core::ptr::write(supportscompositiontextures, core::mem::transmute(ok__)); + supportscompositiontextures.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1294,7 +1294,7 @@ impl IDCompositionDevice4_Vtbl { let this = (*this).get_impl(); match IDCompositionDevice4_Impl::CreateCompositionTexture(this, windows_core::from_raw_borrowed(&d3dtexture)) { Ok(ok__) => { - core::ptr::write(compositiontexture, core::mem::transmute(ok__)); + compositiontexture.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1474,7 +1474,7 @@ impl IDCompositionInkTrailDevice_Vtbl { let this = (*this).get_impl(); match IDCompositionInkTrailDevice_Impl::CreateDelegatedInkTrail(this) { Ok(ok__) => { - core::ptr::write(inktrail, core::mem::transmute(ok__)); + inktrail.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1485,7 +1485,7 @@ impl IDCompositionInkTrailDevice_Vtbl { let this = (*this).get_impl(); match IDCompositionInkTrailDevice_Impl::CreateDelegatedInkTrailForSwapChain(this, windows_core::from_raw_borrowed(&swapchain)) { Ok(ok__) => { - core::ptr::write(inktrail, core::mem::transmute(ok__)); + inktrail.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2500,7 +2500,7 @@ impl IDCompositionSurfaceFactory_Vtbl { let this = (*this).get_impl(); match IDCompositionSurfaceFactory_Impl::CreateSurface(this, core::mem::transmute_copy(&width), core::mem::transmute_copy(&height), core::mem::transmute_copy(&pixelformat), core::mem::transmute_copy(&alphamode)) { Ok(ok__) => { - core::ptr::write(surface, core::mem::transmute(ok__)); + surface.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2511,7 +2511,7 @@ impl IDCompositionSurfaceFactory_Vtbl { let this = (*this).get_impl(); match IDCompositionSurfaceFactory_Impl::CreateVirtualSurface(this, core::mem::transmute_copy(&initialwidth), core::mem::transmute_copy(&initialheight), core::mem::transmute_copy(&pixelformat), core::mem::transmute_copy(&alphamode)) { Ok(ok__) => { - core::ptr::write(virtualsurface, core::mem::transmute(ok__)); + virtualsurface.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/DirectDraw/impl.rs b/crates/libs/windows/src/Windows/Win32/Graphics/DirectDraw/impl.rs index f2134f5195..8965c0cce5 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/DirectDraw/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/DirectDraw/impl.rs @@ -92,7 +92,7 @@ impl IDirectDraw_Vtbl { let this = (*this).get_impl(); match IDirectDraw_Impl::DuplicateSurface(this, windows_core::from_raw_borrowed(¶m0)) { Ok(ok__) => { - core::ptr::write(param1, core::mem::transmute(ok__)); + param1.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -133,7 +133,7 @@ impl IDirectDraw_Vtbl { let this = (*this).get_impl(); match IDirectDraw_Impl::GetGDISurface(this) { Ok(ok__) => { - core::ptr::write(param0, core::mem::transmute(ok__)); + param0.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -261,7 +261,7 @@ impl IDirectDraw2_Vtbl { let this = (*this).get_impl(); match IDirectDraw2_Impl::DuplicateSurface(this, windows_core::from_raw_borrowed(¶m0)) { Ok(ok__) => { - core::ptr::write(param1, core::mem::transmute(ok__)); + param1.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -302,7 +302,7 @@ impl IDirectDraw2_Vtbl { let this = (*this).get_impl(); match IDirectDraw2_Impl::GetGDISurface(this) { Ok(ok__) => { - core::ptr::write(param0, core::mem::transmute(ok__)); + param0.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -440,7 +440,7 @@ impl IDirectDraw4_Vtbl { let this = (*this).get_impl(); match IDirectDraw4_Impl::DuplicateSurface(this, windows_core::from_raw_borrowed(¶m0)) { Ok(ok__) => { - core::ptr::write(param1, core::mem::transmute(ok__)); + param1.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -481,7 +481,7 @@ impl IDirectDraw4_Vtbl { let this = (*this).get_impl(); match IDirectDraw4_Impl::GetGDISurface(this) { Ok(ok__) => { - core::ptr::write(param0, core::mem::transmute(ok__)); + param0.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -537,7 +537,7 @@ impl IDirectDraw4_Vtbl { let this = (*this).get_impl(); match IDirectDraw4_Impl::GetSurfaceFromDC(this, core::mem::transmute_copy(¶m0)) { Ok(ok__) => { - core::ptr::write(param1, core::mem::transmute(ok__)); + param1.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -651,7 +651,7 @@ impl IDirectDraw7_Vtbl { let this = (*this).get_impl(); match IDirectDraw7_Impl::DuplicateSurface(this, windows_core::from_raw_borrowed(¶m0)) { Ok(ok__) => { - core::ptr::write(param1, core::mem::transmute(ok__)); + param1.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -692,7 +692,7 @@ impl IDirectDraw7_Vtbl { let this = (*this).get_impl(); match IDirectDraw7_Impl::GetGDISurface(this) { Ok(ok__) => { - core::ptr::write(param0, core::mem::transmute(ok__)); + param0.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -748,7 +748,7 @@ impl IDirectDraw7_Vtbl { let this = (*this).get_impl(); match IDirectDraw7_Impl::GetSurfaceFromDC(this, core::mem::transmute_copy(¶m0)) { Ok(ok__) => { - core::ptr::write(param1, core::mem::transmute(ok__)); + param1.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1110,7 +1110,7 @@ impl IDirectDrawSurface_Vtbl { let this = (*this).get_impl(); match IDirectDrawSurface_Impl::GetClipper(this) { Ok(ok__) => { - core::ptr::write(param0, core::mem::transmute(ok__)); + param0.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1141,7 +1141,7 @@ impl IDirectDrawSurface_Vtbl { let this = (*this).get_impl(); match IDirectDrawSurface_Impl::GetPalette(this) { Ok(ok__) => { - core::ptr::write(param0, core::mem::transmute(ok__)); + param0.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1372,7 +1372,7 @@ impl IDirectDrawSurface2_Vtbl { let this = (*this).get_impl(); match IDirectDrawSurface2_Impl::GetClipper(this) { Ok(ok__) => { - core::ptr::write(param0, core::mem::transmute(ok__)); + param0.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1403,7 +1403,7 @@ impl IDirectDrawSurface2_Vtbl { let this = (*this).get_impl(); match IDirectDrawSurface2_Impl::GetPalette(this) { Ok(ok__) => { - core::ptr::write(param0, core::mem::transmute(ok__)); + param0.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1653,7 +1653,7 @@ impl IDirectDrawSurface3_Vtbl { let this = (*this).get_impl(); match IDirectDrawSurface3_Impl::GetClipper(this) { Ok(ok__) => { - core::ptr::write(param0, core::mem::transmute(ok__)); + param0.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1684,7 +1684,7 @@ impl IDirectDrawSurface3_Vtbl { let this = (*this).get_impl(); match IDirectDrawSurface3_Impl::GetPalette(this) { Ok(ok__) => { - core::ptr::write(param0, core::mem::transmute(ok__)); + param0.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1945,7 +1945,7 @@ impl IDirectDrawSurface4_Vtbl { let this = (*this).get_impl(); match IDirectDrawSurface4_Impl::GetClipper(this) { Ok(ok__) => { - core::ptr::write(param0, core::mem::transmute(ok__)); + param0.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1976,7 +1976,7 @@ impl IDirectDrawSurface4_Vtbl { let this = (*this).get_impl(); match IDirectDrawSurface4_Impl::GetPalette(this) { Ok(ok__) => { - core::ptr::write(param0, core::mem::transmute(ok__)); + param0.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2271,7 +2271,7 @@ impl IDirectDrawSurface7_Vtbl { let this = (*this).get_impl(); match IDirectDrawSurface7_Impl::GetClipper(this) { Ok(ok__) => { - core::ptr::write(param0, core::mem::transmute(ok__)); + param0.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2302,7 +2302,7 @@ impl IDirectDrawSurface7_Vtbl { let this = (*this).get_impl(); match IDirectDrawSurface7_Impl::GetPalette(this) { Ok(ok__) => { - core::ptr::write(param0, core::mem::transmute(ok__)); + param0.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/DirectManipulation/impl.rs b/crates/libs/windows/src/Windows/Win32/Graphics/DirectManipulation/impl.rs index 8c13fddd40..c6cd1541f6 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/DirectManipulation/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/DirectManipulation/impl.rs @@ -94,7 +94,7 @@ impl IDirectManipulationContent_Vtbl { let this = (*this).get_impl(); match IDirectManipulationContent_Impl::GetContentRect(this) { Ok(ok__) => { - core::ptr::write(contentsize, core::mem::transmute(ok__)); + contentsize.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -202,7 +202,7 @@ impl IDirectManipulationDragDropBehavior_Vtbl { let this = (*this).get_impl(); match IDirectManipulationDragDropBehavior_Impl::GetStatus(this) { Ok(ok__) => { - core::ptr::write(status, core::mem::transmute(ok__)); + status.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -304,7 +304,7 @@ impl IDirectManipulationManager_Vtbl { let this = (*this).get_impl(); match IDirectManipulationManager_Impl::ProcessInput(this, core::mem::transmute_copy(&message)) { Ok(ok__) => { - core::ptr::write(handled, core::mem::transmute(ok__)); + handled.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -486,7 +486,7 @@ impl IDirectManipulationUpdateManager_Vtbl { let this = (*this).get_impl(); match IDirectManipulationUpdateManager_Impl::RegisterWaitHandleCallback(this, core::mem::transmute_copy(&handle), windows_core::from_raw_borrowed(&eventhandler)) { Ok(ok__) => { - core::ptr::write(cookie, core::mem::transmute(ok__)); + cookie.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -576,7 +576,7 @@ impl IDirectManipulationViewport_Vtbl { let this = (*this).get_impl(); match IDirectManipulationViewport_Impl::GetStatus(this) { Ok(ok__) => { - core::ptr::write(status, core::mem::transmute(ok__)); + status.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -597,7 +597,7 @@ impl IDirectManipulationViewport_Vtbl { let this = (*this).get_impl(); match IDirectManipulationViewport_Impl::GetViewportRect(this) { Ok(ok__) => { - core::ptr::write(viewport, core::mem::transmute(ok__)); + viewport.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -673,7 +673,7 @@ impl IDirectManipulationViewport_Vtbl { let this = (*this).get_impl(); match IDirectManipulationViewport_Impl::AddEventHandler(this, core::mem::transmute_copy(&window), windows_core::from_raw_borrowed(&eventhandler)) { Ok(ok__) => { - core::ptr::write(cookie, core::mem::transmute(ok__)); + cookie.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -753,7 +753,7 @@ impl IDirectManipulationViewport2_Vtbl { let this = (*this).get_impl(); match IDirectManipulationViewport2_Impl::AddBehavior(this, windows_core::from_raw_borrowed(&behavior)) { Ok(ok__) => { - core::ptr::write(cookie, core::mem::transmute(ok__)); + cookie.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/DirectWrite/impl.rs b/crates/libs/windows/src/Windows/Win32/Graphics/DirectWrite/impl.rs index 951a8af33e..fdf3b1122e 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/DirectWrite/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/DirectWrite/impl.rs @@ -76,7 +76,7 @@ impl IDWriteBitmapRenderTarget_Vtbl { let this = (*this).get_impl(); match IDWriteBitmapRenderTarget_Impl::GetSize(this) { Ok(ok__) => { - core::ptr::write(size, core::mem::transmute(ok__)); + size.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -147,7 +147,7 @@ impl IDWriteBitmapRenderTarget2_Vtbl { let this = (*this).get_impl(); match IDWriteBitmapRenderTarget2_Impl::GetBitmapData(this) { Ok(ok__) => { - core::ptr::write(bitmapdata, core::mem::transmute(ok__)); + bitmapdata.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -208,7 +208,7 @@ impl IDWriteColorGlyphRunEnumerator_Vtbl { let this = (*this).get_impl(); match IDWriteColorGlyphRunEnumerator_Impl::MoveNext(this) { Ok(ok__) => { - core::ptr::write(hasrun, core::mem::transmute(ok__)); + hasrun.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -219,7 +219,7 @@ impl IDWriteColorGlyphRunEnumerator_Vtbl { let this = (*this).get_impl(); match IDWriteColorGlyphRunEnumerator_Impl::GetCurrentRun(this) { Ok(ok__) => { - core::ptr::write(colorglyphrun, core::mem::transmute(ok__)); + colorglyphrun.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -246,7 +246,7 @@ impl IDWriteColorGlyphRunEnumerator1_Vtbl { let this = (*this).get_impl(); match IDWriteColorGlyphRunEnumerator1_Impl::GetCurrentRun(this) { Ok(ok__) => { - core::ptr::write(colorglyphrun, core::mem::transmute(ok__)); + colorglyphrun.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -297,7 +297,7 @@ impl IDWriteFactory_Vtbl { let this = (*this).get_impl(); match IDWriteFactory_Impl::CreateCustomFontCollection(this, windows_core::from_raw_borrowed(&collectionloader), core::mem::transmute_copy(&collectionkey), core::mem::transmute_copy(&collectionkeysize)) { Ok(ok__) => { - core::ptr::write(fontcollection, core::mem::transmute(ok__)); + fontcollection.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -318,7 +318,7 @@ impl IDWriteFactory_Vtbl { let this = (*this).get_impl(); match IDWriteFactory_Impl::CreateFontFileReference(this, core::mem::transmute(&filepath), core::mem::transmute_copy(&lastwritetime)) { Ok(ok__) => { - core::ptr::write(fontfile, core::mem::transmute(ok__)); + fontfile.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -329,7 +329,7 @@ impl IDWriteFactory_Vtbl { let this = (*this).get_impl(); match IDWriteFactory_Impl::CreateCustomFontFileReference(this, core::mem::transmute_copy(&fontfilereferencekey), core::mem::transmute_copy(&fontfilereferencekeysize), windows_core::from_raw_borrowed(&fontfileloader)) { Ok(ok__) => { - core::ptr::write(fontfile, core::mem::transmute(ok__)); + fontfile.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -340,7 +340,7 @@ impl IDWriteFactory_Vtbl { let this = (*this).get_impl(); match IDWriteFactory_Impl::CreateFontFace(this, core::mem::transmute_copy(&fontfacetype), core::mem::transmute_copy(&numberoffiles), core::mem::transmute_copy(&fontfiles), core::mem::transmute_copy(&faceindex), core::mem::transmute_copy(&fontfacesimulationflags)) { Ok(ok__) => { - core::ptr::write(fontface, core::mem::transmute(ok__)); + fontface.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -351,7 +351,7 @@ impl IDWriteFactory_Vtbl { let this = (*this).get_impl(); match IDWriteFactory_Impl::CreateRenderingParams(this) { Ok(ok__) => { - core::ptr::write(renderingparams, core::mem::transmute(ok__)); + renderingparams.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -362,7 +362,7 @@ impl IDWriteFactory_Vtbl { let this = (*this).get_impl(); match IDWriteFactory_Impl::CreateMonitorRenderingParams(this, core::mem::transmute_copy(&monitor)) { Ok(ok__) => { - core::ptr::write(renderingparams, core::mem::transmute(ok__)); + renderingparams.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -373,7 +373,7 @@ impl IDWriteFactory_Vtbl { let this = (*this).get_impl(); match IDWriteFactory_Impl::CreateCustomRenderingParams(this, core::mem::transmute_copy(&gamma), core::mem::transmute_copy(&enhancedcontrast), core::mem::transmute_copy(&cleartypelevel), core::mem::transmute_copy(&pixelgeometry), core::mem::transmute_copy(&renderingmode)) { Ok(ok__) => { - core::ptr::write(renderingparams, core::mem::transmute(ok__)); + renderingparams.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -394,7 +394,7 @@ impl IDWriteFactory_Vtbl { let this = (*this).get_impl(); match IDWriteFactory_Impl::CreateTextFormat(this, core::mem::transmute(&fontfamilyname), windows_core::from_raw_borrowed(&fontcollection), core::mem::transmute_copy(&fontweight), core::mem::transmute_copy(&fontstyle), core::mem::transmute_copy(&fontstretch), core::mem::transmute_copy(&fontsize), core::mem::transmute(&localename)) { Ok(ok__) => { - core::ptr::write(textformat, core::mem::transmute(ok__)); + textformat.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -405,7 +405,7 @@ impl IDWriteFactory_Vtbl { let this = (*this).get_impl(); match IDWriteFactory_Impl::CreateTypography(this) { Ok(ok__) => { - core::ptr::write(typography, core::mem::transmute(ok__)); + typography.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -416,7 +416,7 @@ impl IDWriteFactory_Vtbl { let this = (*this).get_impl(); match IDWriteFactory_Impl::GetGdiInterop(this) { Ok(ok__) => { - core::ptr::write(gdiinterop, core::mem::transmute(ok__)); + gdiinterop.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -427,7 +427,7 @@ impl IDWriteFactory_Vtbl { let this = (*this).get_impl(); match IDWriteFactory_Impl::CreateTextLayout(this, core::mem::transmute(&string), core::mem::transmute_copy(&stringlength), windows_core::from_raw_borrowed(&textformat), core::mem::transmute_copy(&maxwidth), core::mem::transmute_copy(&maxheight)) { Ok(ok__) => { - core::ptr::write(textlayout, core::mem::transmute(ok__)); + textlayout.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -438,7 +438,7 @@ impl IDWriteFactory_Vtbl { let this = (*this).get_impl(); match IDWriteFactory_Impl::CreateGdiCompatibleTextLayout(this, core::mem::transmute(&string), core::mem::transmute_copy(&stringlength), windows_core::from_raw_borrowed(&textformat), core::mem::transmute_copy(&layoutwidth), core::mem::transmute_copy(&layoutheight), core::mem::transmute_copy(&pixelsperdip), core::mem::transmute_copy(&transform), core::mem::transmute_copy(&usegdinatural)) { Ok(ok__) => { - core::ptr::write(textlayout, core::mem::transmute(ok__)); + textlayout.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -449,7 +449,7 @@ impl IDWriteFactory_Vtbl { let this = (*this).get_impl(); match IDWriteFactory_Impl::CreateEllipsisTrimmingSign(this, windows_core::from_raw_borrowed(&textformat)) { Ok(ok__) => { - core::ptr::write(trimmingsign, core::mem::transmute(ok__)); + trimmingsign.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -460,7 +460,7 @@ impl IDWriteFactory_Vtbl { let this = (*this).get_impl(); match IDWriteFactory_Impl::CreateTextAnalyzer(this) { Ok(ok__) => { - core::ptr::write(textanalyzer, core::mem::transmute(ok__)); + textanalyzer.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -471,7 +471,7 @@ impl IDWriteFactory_Vtbl { let this = (*this).get_impl(); match IDWriteFactory_Impl::CreateNumberSubstitution(this, core::mem::transmute_copy(&substitutionmethod), core::mem::transmute(&localename), core::mem::transmute_copy(&ignoreuseroverride)) { Ok(ok__) => { - core::ptr::write(numbersubstitution, core::mem::transmute(ok__)); + numbersubstitution.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -482,7 +482,7 @@ impl IDWriteFactory_Vtbl { let this = (*this).get_impl(); match IDWriteFactory_Impl::CreateGlyphRunAnalysis(this, core::mem::transmute_copy(&glyphrun), core::mem::transmute_copy(&pixelsperdip), core::mem::transmute_copy(&transform), core::mem::transmute_copy(&renderingmode), core::mem::transmute_copy(&measuringmode), core::mem::transmute_copy(&baselineoriginx), core::mem::transmute_copy(&baselineoriginy)) { Ok(ok__) => { - core::ptr::write(glyphrunanalysis, core::mem::transmute(ok__)); + glyphrunanalysis.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -537,7 +537,7 @@ impl IDWriteFactory1_Vtbl { let this = (*this).get_impl(); match IDWriteFactory1_Impl::CreateCustomRenderingParams(this, core::mem::transmute_copy(&gamma), core::mem::transmute_copy(&enhancedcontrast), core::mem::transmute_copy(&enhancedcontrastgrayscale), core::mem::transmute_copy(&cleartypelevel), core::mem::transmute_copy(&pixelgeometry), core::mem::transmute_copy(&renderingmode)) { Ok(ok__) => { - core::ptr::write(renderingparams, core::mem::transmute(ok__)); + renderingparams.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -571,7 +571,7 @@ impl IDWriteFactory2_Vtbl { let this = (*this).get_impl(); match IDWriteFactory2_Impl::GetSystemFontFallback(this) { Ok(ok__) => { - core::ptr::write(fontfallback, core::mem::transmute(ok__)); + fontfallback.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -582,7 +582,7 @@ impl IDWriteFactory2_Vtbl { let this = (*this).get_impl(); match IDWriteFactory2_Impl::CreateFontFallbackBuilder(this) { Ok(ok__) => { - core::ptr::write(fontfallbackbuilder, core::mem::transmute(ok__)); + fontfallbackbuilder.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -593,7 +593,7 @@ impl IDWriteFactory2_Vtbl { let this = (*this).get_impl(); match IDWriteFactory2_Impl::TranslateColorGlyphRun(this, core::mem::transmute_copy(&baselineoriginx), core::mem::transmute_copy(&baselineoriginy), core::mem::transmute_copy(&glyphrun), core::mem::transmute_copy(&glyphrundescription), core::mem::transmute_copy(&measuringmode), core::mem::transmute_copy(&worldtodevicetransform), core::mem::transmute_copy(&colorpaletteindex)) { Ok(ok__) => { - core::ptr::write(colorlayers, core::mem::transmute(ok__)); + colorlayers.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -604,7 +604,7 @@ impl IDWriteFactory2_Vtbl { let this = (*this).get_impl(); match IDWriteFactory2_Impl::CreateCustomRenderingParams(this, core::mem::transmute_copy(&gamma), core::mem::transmute_copy(&enhancedcontrast), core::mem::transmute_copy(&grayscaleenhancedcontrast), core::mem::transmute_copy(&cleartypelevel), core::mem::transmute_copy(&pixelgeometry), core::mem::transmute_copy(&renderingmode), core::mem::transmute_copy(&gridfitmode)) { Ok(ok__) => { - core::ptr::write(renderingparams, core::mem::transmute(ok__)); + renderingparams.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -615,7 +615,7 @@ impl IDWriteFactory2_Vtbl { let this = (*this).get_impl(); match IDWriteFactory2_Impl::CreateGlyphRunAnalysis(this, core::mem::transmute_copy(&glyphrun), core::mem::transmute_copy(&transform), core::mem::transmute_copy(&renderingmode), core::mem::transmute_copy(&measuringmode), core::mem::transmute_copy(&gridfitmode), core::mem::transmute_copy(&antialiasmode), core::mem::transmute_copy(&baselineoriginx), core::mem::transmute_copy(&baselineoriginy)) { Ok(ok__) => { - core::ptr::write(glyphrunanalysis, core::mem::transmute(ok__)); + glyphrunanalysis.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -656,7 +656,7 @@ impl IDWriteFactory3_Vtbl { let this = (*this).get_impl(); match IDWriteFactory3_Impl::CreateGlyphRunAnalysis(this, core::mem::transmute_copy(&glyphrun), core::mem::transmute_copy(&transform), core::mem::transmute_copy(&renderingmode), core::mem::transmute_copy(&measuringmode), core::mem::transmute_copy(&gridfitmode), core::mem::transmute_copy(&antialiasmode), core::mem::transmute_copy(&baselineoriginx), core::mem::transmute_copy(&baselineoriginy)) { Ok(ok__) => { - core::ptr::write(glyphrunanalysis, core::mem::transmute(ok__)); + glyphrunanalysis.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -667,7 +667,7 @@ impl IDWriteFactory3_Vtbl { let this = (*this).get_impl(); match IDWriteFactory3_Impl::CreateCustomRenderingParams(this, core::mem::transmute_copy(&gamma), core::mem::transmute_copy(&enhancedcontrast), core::mem::transmute_copy(&grayscaleenhancedcontrast), core::mem::transmute_copy(&cleartypelevel), core::mem::transmute_copy(&pixelgeometry), core::mem::transmute_copy(&renderingmode), core::mem::transmute_copy(&gridfitmode)) { Ok(ok__) => { - core::ptr::write(renderingparams, core::mem::transmute(ok__)); + renderingparams.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -678,7 +678,7 @@ impl IDWriteFactory3_Vtbl { let this = (*this).get_impl(); match IDWriteFactory3_Impl::CreateFontFaceReference(this, windows_core::from_raw_borrowed(&fontfile), core::mem::transmute_copy(&faceindex), core::mem::transmute_copy(&fontsimulations)) { Ok(ok__) => { - core::ptr::write(fontfacereference, core::mem::transmute(ok__)); + fontfacereference.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -689,7 +689,7 @@ impl IDWriteFactory3_Vtbl { let this = (*this).get_impl(); match IDWriteFactory3_Impl::CreateFontFaceReference2(this, core::mem::transmute(&filepath), core::mem::transmute_copy(&lastwritetime), core::mem::transmute_copy(&faceindex), core::mem::transmute_copy(&fontsimulations)) { Ok(ok__) => { - core::ptr::write(fontfacereference, core::mem::transmute(ok__)); + fontfacereference.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -700,7 +700,7 @@ impl IDWriteFactory3_Vtbl { let this = (*this).get_impl(); match IDWriteFactory3_Impl::GetSystemFontSet(this) { Ok(ok__) => { - core::ptr::write(fontset, core::mem::transmute(ok__)); + fontset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -711,7 +711,7 @@ impl IDWriteFactory3_Vtbl { let this = (*this).get_impl(); match IDWriteFactory3_Impl::CreateFontSetBuilder(this) { Ok(ok__) => { - core::ptr::write(fontsetbuilder, core::mem::transmute(ok__)); + fontsetbuilder.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -722,7 +722,7 @@ impl IDWriteFactory3_Vtbl { let this = (*this).get_impl(); match IDWriteFactory3_Impl::CreateFontCollectionFromFontSet(this, windows_core::from_raw_borrowed(&fontset)) { Ok(ok__) => { - core::ptr::write(fontcollection, core::mem::transmute(ok__)); + fontcollection.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -738,7 +738,7 @@ impl IDWriteFactory3_Vtbl { let this = (*this).get_impl(); match IDWriteFactory3_Impl::GetFontDownloadQueue(this) { Ok(ok__) => { - core::ptr::write(fontdownloadqueue, core::mem::transmute(ok__)); + fontdownloadqueue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -777,7 +777,7 @@ impl IDWriteFactory4_Vtbl { let this = (*this).get_impl(); match IDWriteFactory4_Impl::TranslateColorGlyphRun(this, core::mem::transmute(&baselineorigin), core::mem::transmute_copy(&glyphrun), core::mem::transmute_copy(&glyphrundescription), core::mem::transmute_copy(&desiredglyphimageformats), core::mem::transmute_copy(&measuringmode), core::mem::transmute_copy(&worldanddpitransform), core::mem::transmute_copy(&colorpaletteindex)) { Ok(ok__) => { - core::ptr::write(colorlayers, core::mem::transmute(ok__)); + colorlayers.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -788,7 +788,7 @@ impl IDWriteFactory4_Vtbl { let this = (*this).get_impl(); match IDWriteFactory4_Impl::ComputeGlyphOrigins(this, core::mem::transmute_copy(&glyphrun), core::mem::transmute(&baselineorigin)) { Ok(ok__) => { - core::ptr::write(glyphorigins, core::mem::transmute(ok__)); + glyphorigins.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -799,7 +799,7 @@ impl IDWriteFactory4_Vtbl { let this = (*this).get_impl(); match IDWriteFactory4_Impl::ComputeGlyphOrigins2(this, core::mem::transmute_copy(&glyphrun), core::mem::transmute_copy(&measuringmode), core::mem::transmute(&baselineorigin), core::mem::transmute_copy(&worldanddpitransform)) { Ok(ok__) => { - core::ptr::write(glyphorigins, core::mem::transmute(ok__)); + glyphorigins.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -834,7 +834,7 @@ impl IDWriteFactory5_Vtbl { let this = (*this).get_impl(); match IDWriteFactory5_Impl::CreateFontSetBuilder(this) { Ok(ok__) => { - core::ptr::write(fontsetbuilder, core::mem::transmute(ok__)); + fontsetbuilder.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -845,7 +845,7 @@ impl IDWriteFactory5_Vtbl { let this = (*this).get_impl(); match IDWriteFactory5_Impl::CreateInMemoryFontFileLoader(this) { Ok(ok__) => { - core::ptr::write(newloader, core::mem::transmute(ok__)); + newloader.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -856,7 +856,7 @@ impl IDWriteFactory5_Vtbl { let this = (*this).get_impl(); match IDWriteFactory5_Impl::CreateHttpFontFileLoader(this, core::mem::transmute(&referrerurl), core::mem::transmute(&extraheaders)) { Ok(ok__) => { - core::ptr::write(newloader, core::mem::transmute(ok__)); + newloader.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -872,7 +872,7 @@ impl IDWriteFactory5_Vtbl { let this = (*this).get_impl(); match IDWriteFactory5_Impl::UnpackFontFile(this, core::mem::transmute_copy(&containertype), core::mem::transmute_copy(&filedata), core::mem::transmute_copy(&filedatasize)) { Ok(ok__) => { - core::ptr::write(unpackedfontstream, core::mem::transmute(ok__)); + unpackedfontstream.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -911,7 +911,7 @@ impl IDWriteFactory6_Vtbl { let this = (*this).get_impl(); match IDWriteFactory6_Impl::CreateFontFaceReference(this, windows_core::from_raw_borrowed(&fontfile), core::mem::transmute_copy(&faceindex), core::mem::transmute_copy(&fontsimulations), core::mem::transmute_copy(&fontaxisvalues), core::mem::transmute_copy(&fontaxisvaluecount)) { Ok(ok__) => { - core::ptr::write(fontfacereference, core::mem::transmute(ok__)); + fontfacereference.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -922,7 +922,7 @@ impl IDWriteFactory6_Vtbl { let this = (*this).get_impl(); match IDWriteFactory6_Impl::CreateFontResource(this, windows_core::from_raw_borrowed(&fontfile), core::mem::transmute_copy(&faceindex)) { Ok(ok__) => { - core::ptr::write(fontresource, core::mem::transmute(ok__)); + fontresource.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -933,7 +933,7 @@ impl IDWriteFactory6_Vtbl { let this = (*this).get_impl(); match IDWriteFactory6_Impl::GetSystemFontSet(this, core::mem::transmute_copy(&includedownloadablefonts)) { Ok(ok__) => { - core::ptr::write(fontset, core::mem::transmute(ok__)); + fontset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -944,7 +944,7 @@ impl IDWriteFactory6_Vtbl { let this = (*this).get_impl(); match IDWriteFactory6_Impl::GetSystemFontCollection(this, core::mem::transmute_copy(&includedownloadablefonts), core::mem::transmute_copy(&fontfamilymodel)) { Ok(ok__) => { - core::ptr::write(fontcollection, core::mem::transmute(ok__)); + fontcollection.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -955,7 +955,7 @@ impl IDWriteFactory6_Vtbl { let this = (*this).get_impl(); match IDWriteFactory6_Impl::CreateFontCollectionFromFontSet(this, windows_core::from_raw_borrowed(&fontset), core::mem::transmute_copy(&fontfamilymodel)) { Ok(ok__) => { - core::ptr::write(fontcollection, core::mem::transmute(ok__)); + fontcollection.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -966,7 +966,7 @@ impl IDWriteFactory6_Vtbl { let this = (*this).get_impl(); match IDWriteFactory6_Impl::CreateFontSetBuilder(this) { Ok(ok__) => { - core::ptr::write(fontsetbuilder, core::mem::transmute(ok__)); + fontsetbuilder.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -977,7 +977,7 @@ impl IDWriteFactory6_Vtbl { let this = (*this).get_impl(); match IDWriteFactory6_Impl::CreateTextFormat(this, core::mem::transmute(&fontfamilyname), windows_core::from_raw_borrowed(&fontcollection), core::mem::transmute_copy(&fontaxisvalues), core::mem::transmute_copy(&fontaxisvaluecount), core::mem::transmute_copy(&fontsize), core::mem::transmute(&localename)) { Ok(ok__) => { - core::ptr::write(textformat, core::mem::transmute(ok__)); + textformat.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1013,7 +1013,7 @@ impl IDWriteFactory7_Vtbl { let this = (*this).get_impl(); match IDWriteFactory7_Impl::GetSystemFontSet(this, core::mem::transmute_copy(&includedownloadablefonts)) { Ok(ok__) => { - core::ptr::write(fontset, core::mem::transmute(ok__)); + fontset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1024,7 +1024,7 @@ impl IDWriteFactory7_Vtbl { let this = (*this).get_impl(); match IDWriteFactory7_Impl::GetSystemFontCollection(this, core::mem::transmute_copy(&includedownloadablefonts), core::mem::transmute_copy(&fontfamilymodel)) { Ok(ok__) => { - core::ptr::write(fontcollection, core::mem::transmute(ok__)); + fontcollection.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1054,7 +1054,7 @@ impl IDWriteFactory8_Vtbl { let this = (*this).get_impl(); match IDWriteFactory8_Impl::TranslateColorGlyphRun(this, core::mem::transmute(&baselineorigin), core::mem::transmute_copy(&glyphrun), core::mem::transmute_copy(&glyphrundescription), core::mem::transmute_copy(&desiredglyphimageformats), core::mem::transmute_copy(&paintfeaturelevel), core::mem::transmute_copy(&measuringmode), core::mem::transmute_copy(&worldanddpitransform), core::mem::transmute_copy(&colorpaletteindex)) { Ok(ok__) => { - core::ptr::write(colorenumerator, core::mem::transmute(ok__)); + colorenumerator.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1087,7 +1087,7 @@ impl IDWriteFont_Vtbl { let this = (*this).get_impl(); match IDWriteFont_Impl::GetFontFamily(this) { Ok(ok__) => { - core::ptr::write(fontfamily, core::mem::transmute(ok__)); + fontfamily.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1118,7 +1118,7 @@ impl IDWriteFont_Vtbl { let this = (*this).get_impl(); match IDWriteFont_Impl::GetFaceNames(this) { Ok(ok__) => { - core::ptr::write(names, core::mem::transmute(ok__)); + names.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1144,7 +1144,7 @@ impl IDWriteFont_Vtbl { let this = (*this).get_impl(); match IDWriteFont_Impl::HasCharacter(this, core::mem::transmute_copy(&unicodevalue)) { Ok(ok__) => { - core::ptr::write(exists, core::mem::transmute(ok__)); + exists.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1155,7 +1155,7 @@ impl IDWriteFont_Vtbl { let this = (*this).get_impl(); match IDWriteFont_Impl::CreateFontFace(this) { Ok(ok__) => { - core::ptr::write(fontface, core::mem::transmute(ok__)); + fontface.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1253,7 +1253,7 @@ impl IDWriteFont3_Vtbl { let this = (*this).get_impl(); match IDWriteFont3_Impl::CreateFontFace(this) { Ok(ok__) => { - core::ptr::write(fontface, core::mem::transmute(ok__)); + fontface.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1269,7 +1269,7 @@ impl IDWriteFont3_Vtbl { let this = (*this).get_impl(); match IDWriteFont3_Impl::GetFontFaceReference(this) { Ok(ok__) => { - core::ptr::write(fontfacereference, core::mem::transmute(ok__)); + fontfacereference.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1317,7 +1317,7 @@ impl IDWriteFontCollection_Vtbl { let this = (*this).get_impl(); match IDWriteFontCollection_Impl::GetFontFamily(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(fontfamily, core::mem::transmute(ok__)); + fontfamily.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1333,7 +1333,7 @@ impl IDWriteFontCollection_Vtbl { let this = (*this).get_impl(); match IDWriteFontCollection_Impl::GetFontFromFontFace(this, windows_core::from_raw_borrowed(&fontface)) { Ok(ok__) => { - core::ptr::write(font, core::mem::transmute(ok__)); + font.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1363,7 +1363,7 @@ impl IDWriteFontCollection1_Vtbl { let this = (*this).get_impl(); match IDWriteFontCollection1_Impl::GetFontSet(this) { Ok(ok__) => { - core::ptr::write(fontset, core::mem::transmute(ok__)); + fontset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1374,7 +1374,7 @@ impl IDWriteFontCollection1_Vtbl { let this = (*this).get_impl(); match IDWriteFontCollection1_Impl::GetFontFamily(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(fontfamily, core::mem::transmute(ok__)); + fontfamily.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1404,7 +1404,7 @@ impl IDWriteFontCollection2_Vtbl { let this = (*this).get_impl(); match IDWriteFontCollection2_Impl::GetFontFamily(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(fontfamily, core::mem::transmute(ok__)); + fontfamily.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1415,7 +1415,7 @@ impl IDWriteFontCollection2_Vtbl { let this = (*this).get_impl(); match IDWriteFontCollection2_Impl::GetMatchingFonts(this, core::mem::transmute(&familyname), core::mem::transmute_copy(&fontaxisvalues), core::mem::transmute_copy(&fontaxisvaluecount)) { Ok(ok__) => { - core::ptr::write(fontlist, core::mem::transmute(ok__)); + fontlist.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1431,7 +1431,7 @@ impl IDWriteFontCollection2_Vtbl { let this = (*this).get_impl(); match IDWriteFontCollection2_Impl::GetFontSet(this) { Ok(ok__) => { - core::ptr::write(fontset, core::mem::transmute(ok__)); + fontset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1477,7 +1477,7 @@ impl IDWriteFontCollectionLoader_Vtbl { let this = (*this).get_impl(); match IDWriteFontCollectionLoader_Impl::CreateEnumeratorFromKey(this, windows_core::from_raw_borrowed(&factory), core::mem::transmute_copy(&collectionkey), core::mem::transmute_copy(&collectionkeysize)) { Ok(ok__) => { - core::ptr::write(fontfileenumerator, core::mem::transmute(ok__)); + fontfileenumerator.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1522,7 +1522,7 @@ impl IDWriteFontDownloadQueue_Vtbl { let this = (*this).get_impl(); match IDWriteFontDownloadQueue_Impl::AddListener(this, windows_core::from_raw_borrowed(&listener)) { Ok(ok__) => { - core::ptr::write(token, core::mem::transmute(ok__)); + token.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1655,7 +1655,7 @@ impl IDWriteFontFace_Vtbl { let this = (*this).get_impl(); match IDWriteFontFace_Impl::GetRecommendedRenderingMode(this, core::mem::transmute_copy(&emsize), core::mem::transmute_copy(&pixelsperdip), core::mem::transmute_copy(&measuringmode), windows_core::from_raw_borrowed(&renderingparams)) { Ok(ok__) => { - core::ptr::write(renderingmode, core::mem::transmute(ok__)); + renderingmode.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1764,7 +1764,7 @@ impl IDWriteFontFace1_Vtbl { let this = (*this).get_impl(); match IDWriteFontFace1_Impl::GetRecommendedRenderingMode(this, core::mem::transmute_copy(&fontemsize), core::mem::transmute_copy(&dpix), core::mem::transmute_copy(&dpiy), core::mem::transmute_copy(&transform), core::mem::transmute_copy(&issideways), core::mem::transmute_copy(&outlinethreshold), core::mem::transmute_copy(&measuringmode)) { Ok(ok__) => { - core::ptr::write(renderingmode, core::mem::transmute(ok__)); + renderingmode.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1878,7 +1878,7 @@ impl IDWriteFontFace3_Vtbl { let this = (*this).get_impl(); match IDWriteFontFace3_Impl::GetFontFaceReference(this) { Ok(ok__) => { - core::ptr::write(fontfacereference, core::mem::transmute(ok__)); + fontfacereference.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1909,7 +1909,7 @@ impl IDWriteFontFace3_Vtbl { let this = (*this).get_impl(); match IDWriteFontFace3_Impl::GetFamilyNames(this) { Ok(ok__) => { - core::ptr::write(names, core::mem::transmute(ok__)); + names.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1920,7 +1920,7 @@ impl IDWriteFontFace3_Vtbl { let this = (*this).get_impl(); match IDWriteFontFace3_Impl::GetFaceNames(this) { Ok(ok__) => { - core::ptr::write(names, core::mem::transmute(ok__)); + names.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1956,7 +1956,7 @@ impl IDWriteFontFace3_Vtbl { let this = (*this).get_impl(); match IDWriteFontFace3_Impl::AreCharactersLocal(this, core::mem::transmute(&characters), core::mem::transmute_copy(&charactercount), core::mem::transmute_copy(&enqueueifnotlocal)) { Ok(ok__) => { - core::ptr::write(islocal, core::mem::transmute(ok__)); + islocal.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1967,7 +1967,7 @@ impl IDWriteFontFace3_Vtbl { let this = (*this).get_impl(); match IDWriteFontFace3_Impl::AreGlyphsLocal(this, core::mem::transmute_copy(&glyphindices), core::mem::transmute_copy(&glyphcount), core::mem::transmute_copy(&enqueueifnotlocal)) { Ok(ok__) => { - core::ptr::write(islocal, core::mem::transmute(ok__)); + islocal.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2012,7 +2012,7 @@ impl IDWriteFontFace4_Vtbl { let this = (*this).get_impl(); match IDWriteFontFace4_Impl::GetGlyphImageFormats(this, core::mem::transmute_copy(&glyphid), core::mem::transmute_copy(&pixelsperemfirst), core::mem::transmute_copy(&pixelsperemlast)) { Ok(ok__) => { - core::ptr::write(glyphimageformats, core::mem::transmute(ok__)); + glyphimageformats.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2078,7 +2078,7 @@ impl IDWriteFontFace5_Vtbl { let this = (*this).get_impl(); match IDWriteFontFace5_Impl::GetFontResource(this) { Ok(ok__) => { - core::ptr::write(fontresource, core::mem::transmute(ok__)); + fontresource.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2117,7 +2117,7 @@ impl IDWriteFontFace6_Vtbl { let this = (*this).get_impl(); match IDWriteFontFace6_Impl::GetFamilyNames(this, core::mem::transmute_copy(&fontfamilymodel)) { Ok(ok__) => { - core::ptr::write(names, core::mem::transmute(ok__)); + names.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2128,7 +2128,7 @@ impl IDWriteFontFace6_Vtbl { let this = (*this).get_impl(); match IDWriteFontFace6_Impl::GetFaceNames(this, core::mem::transmute_copy(&fontfamilymodel)) { Ok(ok__) => { - core::ptr::write(names, core::mem::transmute(ok__)); + names.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2164,7 +2164,7 @@ impl IDWriteFontFace7_Vtbl { let this = (*this).get_impl(); match IDWriteFontFace7_Impl::CreatePaintReader(this, core::mem::transmute_copy(&glyphimageformat), core::mem::transmute_copy(&paintfeaturelevel)) { Ok(ok__) => { - core::ptr::write(paintreader, core::mem::transmute(ok__)); + paintreader.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2204,7 +2204,7 @@ impl IDWriteFontFaceReference_Vtbl { let this = (*this).get_impl(); match IDWriteFontFaceReference_Impl::CreateFontFace(this) { Ok(ok__) => { - core::ptr::write(fontface, core::mem::transmute(ok__)); + fontface.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2215,7 +2215,7 @@ impl IDWriteFontFaceReference_Vtbl { let this = (*this).get_impl(); match IDWriteFontFaceReference_Impl::CreateFontFaceWithSimulations(this, core::mem::transmute_copy(&fontfacesimulationflags)) { Ok(ok__) => { - core::ptr::write(fontface, core::mem::transmute(ok__)); + fontface.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2241,7 +2241,7 @@ impl IDWriteFontFaceReference_Vtbl { let this = (*this).get_impl(); match IDWriteFontFaceReference_Impl::GetFontFile(this) { Ok(ok__) => { - core::ptr::write(fontfile, core::mem::transmute(ok__)); + fontfile.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2262,7 +2262,7 @@ impl IDWriteFontFaceReference_Vtbl { let this = (*this).get_impl(); match IDWriteFontFaceReference_Impl::GetFileTime(this) { Ok(ok__) => { - core::ptr::write(lastwritetime, core::mem::transmute(ok__)); + lastwritetime.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2328,7 +2328,7 @@ impl IDWriteFontFaceReference1_Vtbl { let this = (*this).get_impl(); match IDWriteFontFaceReference1_Impl::CreateFontFace(this) { Ok(ok__) => { - core::ptr::write(fontface, core::mem::transmute(ok__)); + fontface.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2412,7 +2412,7 @@ impl IDWriteFontFallbackBuilder_Vtbl { let this = (*this).get_impl(); match IDWriteFontFallbackBuilder_Impl::CreateFontFallback(this) { Ok(ok__) => { - core::ptr::write(fontfallback, core::mem::transmute(ok__)); + fontfallback.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2442,7 +2442,7 @@ impl IDWriteFontFamily_Vtbl { let this = (*this).get_impl(); match IDWriteFontFamily_Impl::GetFamilyNames(this) { Ok(ok__) => { - core::ptr::write(names, core::mem::transmute(ok__)); + names.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2453,7 +2453,7 @@ impl IDWriteFontFamily_Vtbl { let this = (*this).get_impl(); match IDWriteFontFamily_Impl::GetFirstMatchingFont(this, core::mem::transmute_copy(&weight), core::mem::transmute_copy(&stretch), core::mem::transmute_copy(&style)) { Ok(ok__) => { - core::ptr::write(matchingfont, core::mem::transmute(ok__)); + matchingfont.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2464,7 +2464,7 @@ impl IDWriteFontFamily_Vtbl { let this = (*this).get_impl(); match IDWriteFontFamily_Impl::GetMatchingFonts(this, core::mem::transmute_copy(&weight), core::mem::transmute_copy(&stretch), core::mem::transmute_copy(&style)) { Ok(ok__) => { - core::ptr::write(matchingfonts, core::mem::transmute(ok__)); + matchingfonts.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2499,7 +2499,7 @@ impl IDWriteFontFamily1_Vtbl { let this = (*this).get_impl(); match IDWriteFontFamily1_Impl::GetFont(this, core::mem::transmute_copy(&listindex)) { Ok(ok__) => { - core::ptr::write(font, core::mem::transmute(ok__)); + font.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2510,7 +2510,7 @@ impl IDWriteFontFamily1_Vtbl { let this = (*this).get_impl(); match IDWriteFontFamily1_Impl::GetFontFaceReference(this, core::mem::transmute_copy(&listindex)) { Ok(ok__) => { - core::ptr::write(fontfacereference, core::mem::transmute(ok__)); + fontfacereference.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2539,7 +2539,7 @@ impl IDWriteFontFamily2_Vtbl { let this = (*this).get_impl(); match IDWriteFontFamily2_Impl::GetMatchingFonts(this, core::mem::transmute_copy(&fontaxisvalues), core::mem::transmute_copy(&fontaxisvaluecount)) { Ok(ok__) => { - core::ptr::write(matchingfonts, core::mem::transmute(ok__)); + matchingfonts.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2550,7 +2550,7 @@ impl IDWriteFontFamily2_Vtbl { let this = (*this).get_impl(); match IDWriteFontFamily2_Impl::GetFontSet(this) { Ok(ok__) => { - core::ptr::write(fontset, core::mem::transmute(ok__)); + fontset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2584,7 +2584,7 @@ impl IDWriteFontFile_Vtbl { let this = (*this).get_impl(); match IDWriteFontFile_Impl::GetLoader(this) { Ok(ok__) => { - core::ptr::write(fontfileloader, core::mem::transmute(ok__)); + fontfileloader.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2618,7 +2618,7 @@ impl IDWriteFontFileEnumerator_Vtbl { let this = (*this).get_impl(); match IDWriteFontFileEnumerator_Impl::MoveNext(this) { Ok(ok__) => { - core::ptr::write(hascurrentfile, core::mem::transmute(ok__)); + hascurrentfile.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2629,7 +2629,7 @@ impl IDWriteFontFileEnumerator_Vtbl { let this = (*this).get_impl(); match IDWriteFontFileEnumerator_Impl::GetCurrentFontFile(this) { Ok(ok__) => { - core::ptr::write(fontfile, core::mem::transmute(ok__)); + fontfile.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2656,7 +2656,7 @@ impl IDWriteFontFileLoader_Vtbl { let this = (*this).get_impl(); match IDWriteFontFileLoader_Impl::CreateStreamFromKey(this, core::mem::transmute_copy(&fontfilereferencekey), core::mem::transmute_copy(&fontfilereferencekeysize)) { Ok(ok__) => { - core::ptr::write(fontfilestream, core::mem::transmute(ok__)); + fontfilestream.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2692,7 +2692,7 @@ impl IDWriteFontFileStream_Vtbl { let this = (*this).get_impl(); match IDWriteFontFileStream_Impl::GetFileSize(this) { Ok(ok__) => { - core::ptr::write(filesize, core::mem::transmute(ok__)); + filesize.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2703,7 +2703,7 @@ impl IDWriteFontFileStream_Vtbl { let this = (*this).get_impl(); match IDWriteFontFileStream_Impl::GetLastWriteTime(this) { Ok(ok__) => { - core::ptr::write(lastwritetime, core::mem::transmute(ok__)); + lastwritetime.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2734,7 +2734,7 @@ impl IDWriteFontList_Vtbl { let this = (*this).get_impl(); match IDWriteFontList_Impl::GetFontCollection(this) { Ok(ok__) => { - core::ptr::write(fontcollection, core::mem::transmute(ok__)); + fontcollection.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2750,7 +2750,7 @@ impl IDWriteFontList_Vtbl { let this = (*this).get_impl(); match IDWriteFontList_Impl::GetFont(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(font, core::mem::transmute(ok__)); + font.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2785,7 +2785,7 @@ impl IDWriteFontList1_Vtbl { let this = (*this).get_impl(); match IDWriteFontList1_Impl::GetFont(this, core::mem::transmute_copy(&listindex)) { Ok(ok__) => { - core::ptr::write(font, core::mem::transmute(ok__)); + font.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2796,7 +2796,7 @@ impl IDWriteFontList1_Vtbl { let this = (*this).get_impl(); match IDWriteFontList1_Impl::GetFontFaceReference(this, core::mem::transmute_copy(&listindex)) { Ok(ok__) => { - core::ptr::write(fontfacereference, core::mem::transmute(ok__)); + fontfacereference.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2824,7 +2824,7 @@ impl IDWriteFontList2_Vtbl { let this = (*this).get_impl(); match IDWriteFontList2_Impl::GetFontSet(this) { Ok(ok__) => { - core::ptr::write(fontset, core::mem::transmute(ok__)); + fontset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2858,7 +2858,7 @@ impl IDWriteFontResource_Vtbl { let this = (*this).get_impl(); match IDWriteFontResource_Impl::GetFontFile(this) { Ok(ok__) => { - core::ptr::write(fontfile, core::mem::transmute(ok__)); + fontfile.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2894,7 +2894,7 @@ impl IDWriteFontResource_Vtbl { let this = (*this).get_impl(); match IDWriteFontResource_Impl::GetAxisNames(this, core::mem::transmute_copy(&axisindex)) { Ok(ok__) => { - core::ptr::write(names, core::mem::transmute(ok__)); + names.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2920,7 +2920,7 @@ impl IDWriteFontResource_Vtbl { let this = (*this).get_impl(); match IDWriteFontResource_Impl::CreateFontFace(this, core::mem::transmute_copy(&fontsimulations), core::mem::transmute_copy(&fontaxisvalues), core::mem::transmute_copy(&fontaxisvaluecount)) { Ok(ok__) => { - core::ptr::write(fontface, core::mem::transmute(ok__)); + fontface.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2931,7 +2931,7 @@ impl IDWriteFontResource_Vtbl { let this = (*this).get_impl(); match IDWriteFontResource_Impl::CreateFontFaceReference(this, core::mem::transmute_copy(&fontsimulations), core::mem::transmute_copy(&fontaxisvalues), core::mem::transmute_copy(&fontaxisvaluecount)) { Ok(ok__) => { - core::ptr::write(fontfacereference, core::mem::transmute(ok__)); + fontfacereference.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2982,7 +2982,7 @@ impl IDWriteFontSet_Vtbl { let this = (*this).get_impl(); match IDWriteFontSet_Impl::GetFontFaceReference(this, core::mem::transmute_copy(&listindex)) { Ok(ok__) => { - core::ptr::write(fontfacereference, core::mem::transmute(ok__)); + fontfacereference.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3003,7 +3003,7 @@ impl IDWriteFontSet_Vtbl { let this = (*this).get_impl(); match IDWriteFontSet_Impl::GetPropertyValues(this, core::mem::transmute_copy(&propertyid)) { Ok(ok__) => { - core::ptr::write(values, core::mem::transmute(ok__)); + values.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3014,7 +3014,7 @@ impl IDWriteFontSet_Vtbl { let this = (*this).get_impl(); match IDWriteFontSet_Impl::GetPropertyValues2(this, core::mem::transmute_copy(&propertyid), core::mem::transmute(&preferredlocalenames)) { Ok(ok__) => { - core::ptr::write(values, core::mem::transmute(ok__)); + values.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3030,7 +3030,7 @@ impl IDWriteFontSet_Vtbl { let this = (*this).get_impl(); match IDWriteFontSet_Impl::GetPropertyOccurrenceCount(this, core::mem::transmute_copy(&property)) { Ok(ok__) => { - core::ptr::write(propertyoccurrencecount, core::mem::transmute(ok__)); + propertyoccurrencecount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3041,7 +3041,7 @@ impl IDWriteFontSet_Vtbl { let this = (*this).get_impl(); match IDWriteFontSet_Impl::GetMatchingFonts(this, core::mem::transmute(&familyname), core::mem::transmute_copy(&fontweight), core::mem::transmute_copy(&fontstretch), core::mem::transmute_copy(&fontstyle)) { Ok(ok__) => { - core::ptr::write(filteredset, core::mem::transmute(ok__)); + filteredset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3052,7 +3052,7 @@ impl IDWriteFontSet_Vtbl { let this = (*this).get_impl(); match IDWriteFontSet_Impl::GetMatchingFonts2(this, core::mem::transmute_copy(&properties), core::mem::transmute_copy(&propertycount)) { Ok(ok__) => { - core::ptr::write(filteredset, core::mem::transmute(ok__)); + filteredset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3099,7 +3099,7 @@ impl IDWriteFontSet1_Vtbl { let this = (*this).get_impl(); match IDWriteFontSet1_Impl::GetMatchingFonts(this, core::mem::transmute_copy(&fontproperty), core::mem::transmute_copy(&fontaxisvalues), core::mem::transmute_copy(&fontaxisvaluecount)) { Ok(ok__) => { - core::ptr::write(matchingfonts, core::mem::transmute(ok__)); + matchingfonts.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3110,7 +3110,7 @@ impl IDWriteFontSet1_Vtbl { let this = (*this).get_impl(); match IDWriteFontSet1_Impl::GetFirstFontResources(this) { Ok(ok__) => { - core::ptr::write(filteredfontset, core::mem::transmute(ok__)); + filteredfontset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3121,7 +3121,7 @@ impl IDWriteFontSet1_Vtbl { let this = (*this).get_impl(); match IDWriteFontSet1_Impl::GetFilteredFonts(this, core::mem::transmute_copy(&indices), core::mem::transmute_copy(&indexcount)) { Ok(ok__) => { - core::ptr::write(filteredfontset, core::mem::transmute(ok__)); + filteredfontset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3132,7 +3132,7 @@ impl IDWriteFontSet1_Vtbl { let this = (*this).get_impl(); match IDWriteFontSet1_Impl::GetFilteredFonts2(this, core::mem::transmute_copy(&fontaxisranges), core::mem::transmute_copy(&fontaxisrangecount), core::mem::transmute_copy(&selectanyrange)) { Ok(ok__) => { - core::ptr::write(filteredfontset, core::mem::transmute(ok__)); + filteredfontset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3143,7 +3143,7 @@ impl IDWriteFontSet1_Vtbl { let this = (*this).get_impl(); match IDWriteFontSet1_Impl::GetFilteredFonts3(this, core::mem::transmute_copy(&properties), core::mem::transmute_copy(&propertycount), core::mem::transmute_copy(&selectanyproperty)) { Ok(ok__) => { - core::ptr::write(filteredfontset, core::mem::transmute(ok__)); + filteredfontset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3174,7 +3174,7 @@ impl IDWriteFontSet1_Vtbl { let this = (*this).get_impl(); match IDWriteFontSet1_Impl::GetFontFaceReference(this, core::mem::transmute_copy(&listindex)) { Ok(ok__) => { - core::ptr::write(fontfacereference, core::mem::transmute(ok__)); + fontfacereference.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3185,7 +3185,7 @@ impl IDWriteFontSet1_Vtbl { let this = (*this).get_impl(); match IDWriteFontSet1_Impl::CreateFontResource(this, core::mem::transmute_copy(&listindex)) { Ok(ok__) => { - core::ptr::write(fontresource, core::mem::transmute(ok__)); + fontresource.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3196,7 +3196,7 @@ impl IDWriteFontSet1_Vtbl { let this = (*this).get_impl(); match IDWriteFontSet1_Impl::CreateFontFace(this, core::mem::transmute_copy(&listindex)) { Ok(ok__) => { - core::ptr::write(fontface, core::mem::transmute(ok__)); + fontface.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3296,7 +3296,7 @@ impl IDWriteFontSet4_Vtbl { let this = (*this).get_impl(); match IDWriteFontSet4_Impl::GetMatchingFonts(this, core::mem::transmute(&familyname), core::mem::transmute_copy(&fontaxisvalues), core::mem::transmute_copy(&fontaxisvaluecount), core::mem::transmute_copy(&allowedsimulations)) { Ok(ok__) => { - core::ptr::write(matchingfonts, core::mem::transmute(ok__)); + matchingfonts.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3341,7 +3341,7 @@ impl IDWriteFontSetBuilder_Vtbl { let this = (*this).get_impl(); match IDWriteFontSetBuilder_Impl::CreateFontSet(this) { Ok(ok__) => { - core::ptr::write(fontset, core::mem::transmute(ok__)); + fontset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3421,7 +3421,7 @@ impl IDWriteGdiInterop_Vtbl { let this = (*this).get_impl(); match IDWriteGdiInterop_Impl::CreateFontFromLOGFONT(this, core::mem::transmute_copy(&logfont)) { Ok(ok__) => { - core::ptr::write(font, core::mem::transmute(ok__)); + font.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3442,7 +3442,7 @@ impl IDWriteGdiInterop_Vtbl { let this = (*this).get_impl(); match IDWriteGdiInterop_Impl::CreateFontFaceFromHdc(this, core::mem::transmute_copy(&hdc)) { Ok(ok__) => { - core::ptr::write(fontface, core::mem::transmute(ok__)); + fontface.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3453,7 +3453,7 @@ impl IDWriteGdiInterop_Vtbl { let this = (*this).get_impl(); match IDWriteGdiInterop_Impl::CreateBitmapRenderTarget(this, core::mem::transmute_copy(&hdc), core::mem::transmute_copy(&width), core::mem::transmute_copy(&height)) { Ok(ok__) => { - core::ptr::write(rendertarget, core::mem::transmute(ok__)); + rendertarget.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3489,7 +3489,7 @@ impl IDWriteGdiInterop1_Vtbl { let this = (*this).get_impl(); match IDWriteGdiInterop1_Impl::CreateFontFromLOGFONT(this, core::mem::transmute_copy(&logfont), windows_core::from_raw_borrowed(&fontcollection)) { Ok(ok__) => { - core::ptr::write(font, core::mem::transmute(ok__)); + font.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3510,7 +3510,7 @@ impl IDWriteGdiInterop1_Vtbl { let this = (*this).get_impl(); match IDWriteGdiInterop1_Impl::GetMatchingFontsByLOGFONT(this, core::mem::transmute_copy(&logfont), windows_core::from_raw_borrowed(&fontset)) { Ok(ok__) => { - core::ptr::write(filteredset, core::mem::transmute(ok__)); + filteredset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3541,7 +3541,7 @@ impl IDWriteGlyphRunAnalysis_Vtbl { let this = (*this).get_impl(); match IDWriteGlyphRunAnalysis_Impl::GetAlphaTextureBounds(this, core::mem::transmute_copy(&texturetype)) { Ok(ok__) => { - core::ptr::write(texturebounds, core::mem::transmute(ok__)); + texturebounds.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3580,7 +3580,7 @@ impl IDWriteInMemoryFontFileLoader_Vtbl { let this = (*this).get_impl(); match IDWriteInMemoryFontFileLoader_Impl::CreateInMemoryFontFileReference(this, windows_core::from_raw_borrowed(&factory), core::mem::transmute_copy(&fontdata), core::mem::transmute_copy(&fontdatasize), windows_core::from_raw_borrowed(&ownerobject)) { Ok(ok__) => { - core::ptr::write(fontfile, core::mem::transmute(ok__)); + fontfile.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3620,7 +3620,7 @@ impl IDWriteInlineObject_Vtbl { let this = (*this).get_impl(); match IDWriteInlineObject_Impl::GetMetrics(this) { Ok(ok__) => { - core::ptr::write(metrics, core::mem::transmute(ok__)); + metrics.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3631,7 +3631,7 @@ impl IDWriteInlineObject_Vtbl { let this = (*this).get_impl(); match IDWriteInlineObject_Impl::GetOverhangMetrics(this) { Ok(ok__) => { - core::ptr::write(overhangs, core::mem::transmute(ok__)); + overhangs.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3667,7 +3667,7 @@ impl IDWriteLocalFontFileLoader_Vtbl { let this = (*this).get_impl(); match IDWriteLocalFontFileLoader_Impl::GetFilePathLengthFromKey(this, core::mem::transmute_copy(&fontfilereferencekey), core::mem::transmute_copy(&fontfilereferencekeysize)) { Ok(ok__) => { - core::ptr::write(filepathlength, core::mem::transmute(ok__)); + filepathlength.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3683,7 +3683,7 @@ impl IDWriteLocalFontFileLoader_Vtbl { let this = (*this).get_impl(); match IDWriteLocalFontFileLoader_Impl::GetLastWriteTimeFromKey(this, core::mem::transmute_copy(&fontfilereferencekey), core::mem::transmute_copy(&fontfilereferencekeysize)) { Ok(ok__) => { - core::ptr::write(lastwritetime, core::mem::transmute(ok__)); + lastwritetime.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3726,7 +3726,7 @@ impl IDWriteLocalizedStrings_Vtbl { let this = (*this).get_impl(); match IDWriteLocalizedStrings_Impl::GetLocaleNameLength(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(length, core::mem::transmute(ok__)); + length.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3742,7 +3742,7 @@ impl IDWriteLocalizedStrings_Vtbl { let this = (*this).get_impl(); match IDWriteLocalizedStrings_Impl::GetStringLength(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(length, core::mem::transmute(ok__)); + length.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3869,7 +3869,7 @@ impl IDWritePixelSnapping_Vtbl { let this = (*this).get_impl(); match IDWritePixelSnapping_Impl::IsPixelSnappingDisabled(this, core::mem::transmute_copy(&clientdrawingcontext)) { Ok(ok__) => { - core::ptr::write(isdisabled, core::mem::transmute(ok__)); + isdisabled.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3885,7 +3885,7 @@ impl IDWritePixelSnapping_Vtbl { let this = (*this).get_impl(); match IDWritePixelSnapping_Impl::GetPixelsPerDip(this, core::mem::transmute_copy(&clientdrawingcontext)) { Ok(ok__) => { - core::ptr::write(pixelsperdip, core::mem::transmute(ok__)); + pixelsperdip.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3915,7 +3915,7 @@ impl IDWriteRemoteFontFileLoader_Vtbl { let this = (*this).get_impl(); match IDWriteRemoteFontFileLoader_Impl::CreateRemoteStreamFromKey(this, core::mem::transmute_copy(&fontfilereferencekey), core::mem::transmute_copy(&fontfilereferencekeysize)) { Ok(ok__) => { - core::ptr::write(fontfilestream, core::mem::transmute(ok__)); + fontfilestream.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3926,7 +3926,7 @@ impl IDWriteRemoteFontFileLoader_Vtbl { let this = (*this).get_impl(); match IDWriteRemoteFontFileLoader_Impl::GetLocalityFromKey(this, core::mem::transmute_copy(&fontfilereferencekey), core::mem::transmute_copy(&fontfilereferencekeysize)) { Ok(ok__) => { - core::ptr::write(locality, core::mem::transmute(ok__)); + locality.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3937,7 +3937,7 @@ impl IDWriteRemoteFontFileLoader_Vtbl { let this = (*this).get_impl(); match IDWriteRemoteFontFileLoader_Impl::CreateFontFileReferenceFromUrl(this, windows_core::from_raw_borrowed(&factory), core::mem::transmute(&baseurl), core::mem::transmute(&fontfileurl)) { Ok(ok__) => { - core::ptr::write(fontfile, core::mem::transmute(ok__)); + fontfile.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3968,7 +3968,7 @@ impl IDWriteRemoteFontFileStream_Vtbl { let this = (*this).get_impl(); match IDWriteRemoteFontFileStream_Impl::GetLocalFileSize(this) { Ok(ok__) => { - core::ptr::write(localfilesize, core::mem::transmute(ok__)); + localfilesize.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3989,7 +3989,7 @@ impl IDWriteRemoteFontFileStream_Vtbl { let this = (*this).get_impl(); match IDWriteRemoteFontFileStream_Impl::BeginDownload(this, core::mem::transmute_copy(&downloadoperationid), core::mem::transmute_copy(&filefragments), core::mem::transmute_copy(&fragmentcount)) { Ok(ok__) => { - core::ptr::write(asyncresult, core::mem::transmute(ok__)); + asyncresult.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4129,7 +4129,7 @@ impl IDWriteStringList_Vtbl { let this = (*this).get_impl(); match IDWriteStringList_Impl::GetLocaleNameLength(this, core::mem::transmute_copy(&listindex)) { Ok(ok__) => { - core::ptr::write(length, core::mem::transmute(ok__)); + length.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4145,7 +4145,7 @@ impl IDWriteStringList_Vtbl { let this = (*this).get_impl(); match IDWriteStringList_Impl::GetStringLength(this, core::mem::transmute_copy(&listindex)) { Ok(ok__) => { - core::ptr::write(length, core::mem::transmute(ok__)); + length.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4743,7 +4743,7 @@ impl IDWriteTextFormat_Vtbl { let this = (*this).get_impl(); match IDWriteTextFormat_Impl::GetFontCollection(this) { Ok(ok__) => { - core::ptr::write(fontcollection, core::mem::transmute(ok__)); + fontcollection.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4875,7 +4875,7 @@ impl IDWriteTextFormat1_Vtbl { let this = (*this).get_impl(); match IDWriteTextFormat1_Impl::GetFontFallback(this) { Ok(ok__) => { - core::ptr::write(fontfallback, core::mem::transmute(ok__)); + fontfallback.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5186,7 +5186,7 @@ impl IDWriteTextLayout_Vtbl { let this = (*this).get_impl(); match IDWriteTextLayout_Impl::GetOverhangMetrics(this) { Ok(ok__) => { - core::ptr::write(overhangs, core::mem::transmute(ok__)); + overhangs.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5202,7 +5202,7 @@ impl IDWriteTextLayout_Vtbl { let this = (*this).get_impl(); match IDWriteTextLayout_Impl::DetermineMinWidth(this) { Ok(ok__) => { - core::ptr::write(minwidth, core::mem::transmute(ok__)); + minwidth.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5370,7 +5370,7 @@ impl IDWriteTextLayout2_Vtbl { let this = (*this).get_impl(); match IDWriteTextLayout2_Impl::GetFontFallback(this) { Ok(ok__) => { - core::ptr::write(fontfallback, core::mem::transmute(ok__)); + fontfallback.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5587,7 +5587,7 @@ impl IDWriteTypography_Vtbl { let this = (*this).get_impl(); match IDWriteTypography_Impl::GetFontFeature(this, core::mem::transmute_copy(&fontfeatureindex)) { Ok(ok__) => { - core::ptr::write(fontfeature, core::mem::transmute(ok__)); + fontfeature.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/Dxgi/impl.rs b/crates/libs/windows/src/Windows/Win32/Graphics/Dxgi/impl.rs index c235d9088b..fe59305626 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/Dxgi/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/Dxgi/impl.rs @@ -11,7 +11,7 @@ impl IDXGIAdapter_Vtbl { let this = (*this).get_impl(); match IDXGIAdapter_Impl::EnumOutputs(this, core::mem::transmute_copy(&output)) { Ok(ok__) => { - core::ptr::write(ppoutput, core::mem::transmute(ok__)); + ppoutput.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -27,7 +27,7 @@ impl IDXGIAdapter_Vtbl { let this = (*this).get_impl(); match IDXGIAdapter_Impl::CheckInterfaceSupport(this, core::mem::transmute_copy(&interfacename)) { Ok(ok__) => { - core::ptr::write(pumdversion, core::mem::transmute(ok__)); + pumdversion.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -94,7 +94,7 @@ impl IDXGIAdapter3_Vtbl { let this = (*this).get_impl(); match IDXGIAdapter3_Impl::RegisterHardwareContentProtectionTeardownStatusEvent(this, core::mem::transmute_copy(&hevent)) { Ok(ok__) => { - core::ptr::write(pdwcookie, core::mem::transmute(ok__)); + pdwcookie.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -120,7 +120,7 @@ impl IDXGIAdapter3_Vtbl { let this = (*this).get_impl(); match IDXGIAdapter3_Impl::RegisterVideoMemoryBudgetChangeNotificationEvent(this, core::mem::transmute_copy(&hevent)) { Ok(ok__) => { - core::ptr::write(pdwcookie, core::mem::transmute(ok__)); + pdwcookie.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -252,7 +252,7 @@ impl IDXGIDecodeSwapChain_Vtbl { let this = (*this).get_impl(); match IDXGIDecodeSwapChain_Impl::GetSourceRect(this) { Ok(ok__) => { - core::ptr::write(prect, core::mem::transmute(ok__)); + prect.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -263,7 +263,7 @@ impl IDXGIDecodeSwapChain_Vtbl { let this = (*this).get_impl(); match IDXGIDecodeSwapChain_Impl::GetTargetRect(this) { Ok(ok__) => { - core::ptr::write(prect, core::mem::transmute(ok__)); + prect.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -319,7 +319,7 @@ impl IDXGIDevice_Vtbl { let this = (*this).get_impl(); match IDXGIDevice_Impl::GetAdapter(this) { Ok(ok__) => { - core::ptr::write(padapter, core::mem::transmute(ok__)); + padapter.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -345,7 +345,7 @@ impl IDXGIDevice_Vtbl { let this = (*this).get_impl(); match IDXGIDevice_Impl::GetGPUThreadPriority(this) { Ok(ok__) => { - core::ptr::write(ppriority, core::mem::transmute(ok__)); + ppriority.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -384,7 +384,7 @@ impl IDXGIDevice1_Vtbl { let this = (*this).get_impl(); match IDXGIDevice1_Impl::GetMaximumFrameLatency(this) { Ok(ok__) => { - core::ptr::write(pmaxlatency, core::mem::transmute(ok__)); + pmaxlatency.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -549,7 +549,7 @@ impl IDXGIFactory_Vtbl { let this = (*this).get_impl(); match IDXGIFactory_Impl::EnumAdapters(this, core::mem::transmute_copy(&adapter)) { Ok(ok__) => { - core::ptr::write(ppadapter, core::mem::transmute(ok__)); + ppadapter.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -565,7 +565,7 @@ impl IDXGIFactory_Vtbl { let this = (*this).get_impl(); match IDXGIFactory_Impl::GetWindowAssociation(this) { Ok(ok__) => { - core::ptr::write(pwindowhandle, core::mem::transmute(ok__)); + pwindowhandle.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -581,7 +581,7 @@ impl IDXGIFactory_Vtbl { let this = (*this).get_impl(); match IDXGIFactory_Impl::CreateSoftwareAdapter(this, core::mem::transmute_copy(&module)) { Ok(ok__) => { - core::ptr::write(ppadapter, core::mem::transmute(ok__)); + ppadapter.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -615,7 +615,7 @@ impl IDXGIFactory1_Vtbl { let this = (*this).get_impl(); match IDXGIFactory1_Impl::EnumAdapters1(this, core::mem::transmute_copy(&adapter)) { Ok(ok__) => { - core::ptr::write(ppadapter, core::mem::transmute(ok__)); + ppadapter.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -665,7 +665,7 @@ impl IDXGIFactory2_Vtbl { let this = (*this).get_impl(); match IDXGIFactory2_Impl::CreateSwapChainForHwnd(this, windows_core::from_raw_borrowed(&pdevice), core::mem::transmute_copy(&hwnd), core::mem::transmute_copy(&pdesc), core::mem::transmute_copy(&pfullscreendesc), windows_core::from_raw_borrowed(&prestricttooutput)) { Ok(ok__) => { - core::ptr::write(ppswapchain, core::mem::transmute(ok__)); + ppswapchain.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -676,7 +676,7 @@ impl IDXGIFactory2_Vtbl { let this = (*this).get_impl(); match IDXGIFactory2_Impl::CreateSwapChainForCoreWindow(this, windows_core::from_raw_borrowed(&pdevice), windows_core::from_raw_borrowed(&pwindow), core::mem::transmute_copy(&pdesc), windows_core::from_raw_borrowed(&prestricttooutput)) { Ok(ok__) => { - core::ptr::write(ppswapchain, core::mem::transmute(ok__)); + ppswapchain.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -687,7 +687,7 @@ impl IDXGIFactory2_Vtbl { let this = (*this).get_impl(); match IDXGIFactory2_Impl::GetSharedResourceAdapterLuid(this, core::mem::transmute_copy(&hresource)) { Ok(ok__) => { - core::ptr::write(pluid, core::mem::transmute(ok__)); + pluid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -698,7 +698,7 @@ impl IDXGIFactory2_Vtbl { let this = (*this).get_impl(); match IDXGIFactory2_Impl::RegisterStereoStatusWindow(this, core::mem::transmute_copy(&windowhandle), core::mem::transmute_copy(&wmsg)) { Ok(ok__) => { - core::ptr::write(pdwcookie, core::mem::transmute(ok__)); + pdwcookie.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -709,7 +709,7 @@ impl IDXGIFactory2_Vtbl { let this = (*this).get_impl(); match IDXGIFactory2_Impl::RegisterStereoStatusEvent(this, core::mem::transmute_copy(&hevent)) { Ok(ok__) => { - core::ptr::write(pdwcookie, core::mem::transmute(ok__)); + pdwcookie.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -725,7 +725,7 @@ impl IDXGIFactory2_Vtbl { let this = (*this).get_impl(); match IDXGIFactory2_Impl::RegisterOcclusionStatusWindow(this, core::mem::transmute_copy(&windowhandle), core::mem::transmute_copy(&wmsg)) { Ok(ok__) => { - core::ptr::write(pdwcookie, core::mem::transmute(ok__)); + pdwcookie.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -736,7 +736,7 @@ impl IDXGIFactory2_Vtbl { let this = (*this).get_impl(); match IDXGIFactory2_Impl::RegisterOcclusionStatusEvent(this, core::mem::transmute_copy(&hevent)) { Ok(ok__) => { - core::ptr::write(pdwcookie, core::mem::transmute(ok__)); + pdwcookie.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -752,7 +752,7 @@ impl IDXGIFactory2_Vtbl { let this = (*this).get_impl(); match IDXGIFactory2_Impl::CreateSwapChainForComposition(this, windows_core::from_raw_borrowed(&pdevice), core::mem::transmute_copy(&pdesc), windows_core::from_raw_borrowed(&prestricttooutput)) { Ok(ok__) => { - core::ptr::write(ppswapchain, core::mem::transmute(ok__)); + ppswapchain.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -882,7 +882,7 @@ impl IDXGIFactory7_Vtbl { let this = (*this).get_impl(); match IDXGIFactory7_Impl::RegisterAdaptersChangedEvent(this, core::mem::transmute_copy(&hevent)) { Ok(ok__) => { - core::ptr::write(pdwcookie, core::mem::transmute(ok__)); + pdwcookie.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -918,7 +918,7 @@ impl IDXGIFactoryMedia_Vtbl { let this = (*this).get_impl(); match IDXGIFactoryMedia_Impl::CreateSwapChainForCompositionSurfaceHandle(this, windows_core::from_raw_borrowed(&pdevice), core::mem::transmute_copy(&hsurface), core::mem::transmute_copy(&pdesc), windows_core::from_raw_borrowed(&prestricttooutput)) { Ok(ok__) => { - core::ptr::write(ppswapchain, core::mem::transmute(ok__)); + ppswapchain.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -929,7 +929,7 @@ impl IDXGIFactoryMedia_Vtbl { let this = (*this).get_impl(); match IDXGIFactoryMedia_Impl::CreateDecodeSwapChainForCompositionSurfaceHandle(this, windows_core::from_raw_borrowed(&pdevice), core::mem::transmute_copy(&hsurface), core::mem::transmute_copy(&pdesc), windows_core::from_raw_borrowed(&pyuvdecodebuffers), windows_core::from_raw_borrowed(&prestricttooutput)) { Ok(ok__) => { - core::ptr::write(ppswapchain, core::mem::transmute(ok__)); + ppswapchain.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1417,7 +1417,7 @@ impl IDXGIOutput1_Vtbl { let this = (*this).get_impl(); match IDXGIOutput1_Impl::DuplicateOutput(this, windows_core::from_raw_borrowed(&pdevice)) { Ok(ok__) => { - core::ptr::write(ppoutputduplication, core::mem::transmute(ok__)); + ppoutputduplication.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1469,7 +1469,7 @@ impl IDXGIOutput3_Vtbl { let this = (*this).get_impl(); match IDXGIOutput3_Impl::CheckOverlaySupport(this, core::mem::transmute_copy(&enumformat), windows_core::from_raw_borrowed(&pconcerneddevice)) { Ok(ok__) => { - core::ptr::write(pflags, core::mem::transmute(ok__)); + pflags.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1495,7 +1495,7 @@ impl IDXGIOutput4_Vtbl { let this = (*this).get_impl(); match IDXGIOutput4_Impl::CheckOverlayColorSpaceSupport(this, core::mem::transmute_copy(&format), core::mem::transmute_copy(&colorspace), windows_core::from_raw_borrowed(&pconcerneddevice)) { Ok(ok__) => { - core::ptr::write(pflags, core::mem::transmute(ok__)); + pflags.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1524,7 +1524,7 @@ impl IDXGIOutput5_Vtbl { let this = (*this).get_impl(); match IDXGIOutput5_Impl::DuplicateOutput1(this, windows_core::from_raw_borrowed(&pdevice), core::mem::transmute_copy(&flags), core::mem::transmute_copy(&supportedformatscount), core::mem::transmute_copy(&psupportedformats)) { Ok(ok__) => { - core::ptr::write(ppoutputduplication, core::mem::transmute(ok__)); + ppoutputduplication.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1556,7 +1556,7 @@ impl IDXGIOutput6_Vtbl { let this = (*this).get_impl(); match IDXGIOutput6_Impl::CheckHardwareCompositionSupport(this) { Ok(ok__) => { - core::ptr::write(pflags, core::mem::transmute(ok__)); + pflags.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1618,7 +1618,7 @@ impl IDXGIOutputDuplication_Vtbl { let this = (*this).get_impl(); match IDXGIOutputDuplication_Impl::MapDesktopSurface(this) { Ok(ok__) => { - core::ptr::write(plockedrect, core::mem::transmute(ok__)); + plockedrect.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1664,7 +1664,7 @@ impl IDXGIResource_Vtbl { let this = (*this).get_impl(); match IDXGIResource_Impl::GetSharedHandle(this) { Ok(ok__) => { - core::ptr::write(psharedhandle, core::mem::transmute(ok__)); + psharedhandle.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1675,7 +1675,7 @@ impl IDXGIResource_Vtbl { let this = (*this).get_impl(); match IDXGIResource_Impl::GetUsage(this) { Ok(ok__) => { - core::ptr::write(pusage, core::mem::transmute(ok__)); + pusage.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1691,7 +1691,7 @@ impl IDXGIResource_Vtbl { let this = (*this).get_impl(); match IDXGIResource_Impl::GetEvictionPriority(this) { Ok(ok__) => { - core::ptr::write(pevictionpriority, core::mem::transmute(ok__)); + pevictionpriority.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1724,7 +1724,7 @@ impl IDXGIResource1_Vtbl { let this = (*this).get_impl(); match IDXGIResource1_Impl::CreateSubresourceSurface(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(ppsurface, core::mem::transmute(ok__)); + ppsurface.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1735,7 +1735,7 @@ impl IDXGIResource1_Vtbl { let this = (*this).get_impl(); match IDXGIResource1_Impl::CreateSharedHandle(this, core::mem::transmute_copy(&pattributes), core::mem::transmute_copy(&dwaccess), core::mem::transmute(&lpname)) { Ok(ok__) => { - core::ptr::write(phandle, core::mem::transmute(ok__)); + phandle.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1803,7 +1803,7 @@ impl IDXGISurface1_Vtbl { let this = (*this).get_impl(); match IDXGISurface1_Impl::GetDC(this, core::mem::transmute_copy(&discard)) { Ok(ok__) => { - core::ptr::write(phdc, core::mem::transmute(ok__)); + phdc.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1902,7 +1902,7 @@ impl IDXGISwapChain_Vtbl { let this = (*this).get_impl(); match IDXGISwapChain_Impl::GetContainingOutput(this) { Ok(ok__) => { - core::ptr::write(ppoutput, core::mem::transmute(ok__)); + ppoutput.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1918,7 +1918,7 @@ impl IDXGISwapChain_Vtbl { let this = (*this).get_impl(); match IDXGISwapChain_Impl::GetLastPresentCount(this) { Ok(ok__) => { - core::ptr::write(plastpresentcount, core::mem::transmute(ok__)); + plastpresentcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1976,7 +1976,7 @@ impl IDXGISwapChain1_Vtbl { let this = (*this).get_impl(); match IDXGISwapChain1_Impl::GetHwnd(this) { Ok(ok__) => { - core::ptr::write(phwnd, core::mem::transmute(ok__)); + phwnd.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2002,7 +2002,7 @@ impl IDXGISwapChain1_Vtbl { let this = (*this).get_impl(); match IDXGISwapChain1_Impl::GetRestrictToOutput(this) { Ok(ok__) => { - core::ptr::write(pprestricttooutput, core::mem::transmute(ok__)); + pprestricttooutput.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2018,7 +2018,7 @@ impl IDXGISwapChain1_Vtbl { let this = (*this).get_impl(); match IDXGISwapChain1_Impl::GetBackgroundColor(this) { Ok(ok__) => { - core::ptr::write(pcolor, core::mem::transmute(ok__)); + pcolor.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2034,7 +2034,7 @@ impl IDXGISwapChain1_Vtbl { let this = (*this).get_impl(); match IDXGISwapChain1_Impl::GetRotation(this) { Ok(ok__) => { - core::ptr::write(protation, core::mem::transmute(ok__)); + protation.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2094,7 +2094,7 @@ impl IDXGISwapChain2_Vtbl { let this = (*this).get_impl(); match IDXGISwapChain2_Impl::GetMaximumFrameLatency(this) { Ok(ok__) => { - core::ptr::write(pmaxlatency, core::mem::transmute(ok__)); + pmaxlatency.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2152,7 +2152,7 @@ impl IDXGISwapChain3_Vtbl { let this = (*this).get_impl(); match IDXGISwapChain3_Impl::CheckColorSpaceSupport(this, core::mem::transmute_copy(&colorspace)) { Ok(ok__) => { - core::ptr::write(pcolorspacesupport, core::mem::transmute(ok__)); + pcolorspacesupport.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/Imaging/D2D/impl.rs b/crates/libs/windows/src/Windows/Win32/Graphics/Imaging/D2D/impl.rs index 1b45561469..04aa131bd0 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/Imaging/D2D/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/Imaging/D2D/impl.rs @@ -49,7 +49,7 @@ impl IWICImagingFactory2_Vtbl { let this = (*this).get_impl(); match IWICImagingFactory2_Impl::CreateImageEncoder(this, windows_core::from_raw_borrowed(&pd2ddevice)) { Ok(ok__) => { - core::ptr::write(ppwicimageencoder, core::mem::transmute(ok__)); + ppwicimageencoder.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/Imaging/impl.rs b/crates/libs/windows/src/Windows/Win32/Graphics/Imaging/impl.rs index 72641476c7..fd436a6305 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/Imaging/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/Imaging/impl.rs @@ -11,7 +11,7 @@ impl IWICBitmap_Vtbl { let this = (*this).get_impl(); match IWICBitmap_Impl::Lock(this, core::mem::transmute_copy(&prclock), core::mem::transmute_copy(&flags)) { Ok(ok__) => { - core::ptr::write(ppilock, core::mem::transmute(ok__)); + ppilock.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -77,7 +77,7 @@ impl IWICBitmapCodecInfo_Vtbl { let this = (*this).get_impl(); match IWICBitmapCodecInfo_Impl::GetContainerFormat(this) { Ok(ok__) => { - core::ptr::write(pguidcontainerformat, core::mem::transmute(ok__)); + pguidcontainerformat.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -118,7 +118,7 @@ impl IWICBitmapCodecInfo_Vtbl { let this = (*this).get_impl(); match IWICBitmapCodecInfo_Impl::DoesSupportAnimation(this) { Ok(ok__) => { - core::ptr::write(pfsupportanimation, core::mem::transmute(ok__)); + pfsupportanimation.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -129,7 +129,7 @@ impl IWICBitmapCodecInfo_Vtbl { let this = (*this).get_impl(); match IWICBitmapCodecInfo_Impl::DoesSupportChromakey(this) { Ok(ok__) => { - core::ptr::write(pfsupportchromakey, core::mem::transmute(ok__)); + pfsupportchromakey.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -140,7 +140,7 @@ impl IWICBitmapCodecInfo_Vtbl { let this = (*this).get_impl(); match IWICBitmapCodecInfo_Impl::DoesSupportLossless(this) { Ok(ok__) => { - core::ptr::write(pfsupportlossless, core::mem::transmute(ok__)); + pfsupportlossless.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -151,7 +151,7 @@ impl IWICBitmapCodecInfo_Vtbl { let this = (*this).get_impl(); match IWICBitmapCodecInfo_Impl::DoesSupportMultiframe(this) { Ok(ok__) => { - core::ptr::write(pfsupportmultiframe, core::mem::transmute(ok__)); + pfsupportmultiframe.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -162,7 +162,7 @@ impl IWICBitmapCodecInfo_Vtbl { let this = (*this).get_impl(); match IWICBitmapCodecInfo_Impl::MatchesMimeType(this, core::mem::transmute(&wzmimetype)) { Ok(ok__) => { - core::ptr::write(pfmatches, core::mem::transmute(ok__)); + pfmatches.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -232,7 +232,7 @@ impl IWICBitmapDecoder_Vtbl { let this = (*this).get_impl(); match IWICBitmapDecoder_Impl::QueryCapability(this, windows_core::from_raw_borrowed(&pistream)) { Ok(ok__) => { - core::ptr::write(pdwcapability, core::mem::transmute(ok__)); + pdwcapability.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -248,7 +248,7 @@ impl IWICBitmapDecoder_Vtbl { let this = (*this).get_impl(); match IWICBitmapDecoder_Impl::GetContainerFormat(this) { Ok(ok__) => { - core::ptr::write(pguidcontainerformat, core::mem::transmute(ok__)); + pguidcontainerformat.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -259,7 +259,7 @@ impl IWICBitmapDecoder_Vtbl { let this = (*this).get_impl(); match IWICBitmapDecoder_Impl::GetDecoderInfo(this) { Ok(ok__) => { - core::ptr::write(ppidecoderinfo, core::mem::transmute(ok__)); + ppidecoderinfo.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -275,7 +275,7 @@ impl IWICBitmapDecoder_Vtbl { let this = (*this).get_impl(); match IWICBitmapDecoder_Impl::GetMetadataQueryReader(this) { Ok(ok__) => { - core::ptr::write(ppimetadataqueryreader, core::mem::transmute(ok__)); + ppimetadataqueryreader.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -286,7 +286,7 @@ impl IWICBitmapDecoder_Vtbl { let this = (*this).get_impl(); match IWICBitmapDecoder_Impl::GetPreview(this) { Ok(ok__) => { - core::ptr::write(ppibitmapsource, core::mem::transmute(ok__)); + ppibitmapsource.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -302,7 +302,7 @@ impl IWICBitmapDecoder_Vtbl { let this = (*this).get_impl(); match IWICBitmapDecoder_Impl::GetThumbnail(this) { Ok(ok__) => { - core::ptr::write(ppithumbnail, core::mem::transmute(ok__)); + ppithumbnail.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -313,7 +313,7 @@ impl IWICBitmapDecoder_Vtbl { let this = (*this).get_impl(); match IWICBitmapDecoder_Impl::GetFrameCount(this) { Ok(ok__) => { - core::ptr::write(pcount, core::mem::transmute(ok__)); + pcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -324,7 +324,7 @@ impl IWICBitmapDecoder_Vtbl { let this = (*this).get_impl(); match IWICBitmapDecoder_Impl::GetFrame(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(ppibitmapframe, core::mem::transmute(ok__)); + ppibitmapframe.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -370,7 +370,7 @@ impl IWICBitmapDecoderInfo_Vtbl { let this = (*this).get_impl(); match IWICBitmapDecoderInfo_Impl::MatchesPattern(this, windows_core::from_raw_borrowed(&pistream)) { Ok(ok__) => { - core::ptr::write(pfmatches, core::mem::transmute(ok__)); + pfmatches.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -381,7 +381,7 @@ impl IWICBitmapDecoderInfo_Vtbl { let this = (*this).get_impl(); match IWICBitmapDecoderInfo_Impl::CreateInstance(this) { Ok(ok__) => { - core::ptr::write(ppibitmapdecoder, core::mem::transmute(ok__)); + ppibitmapdecoder.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -426,7 +426,7 @@ impl IWICBitmapEncoder_Vtbl { let this = (*this).get_impl(); match IWICBitmapEncoder_Impl::GetContainerFormat(this) { Ok(ok__) => { - core::ptr::write(pguidcontainerformat, core::mem::transmute(ok__)); + pguidcontainerformat.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -437,7 +437,7 @@ impl IWICBitmapEncoder_Vtbl { let this = (*this).get_impl(); match IWICBitmapEncoder_Impl::GetEncoderInfo(this) { Ok(ok__) => { - core::ptr::write(ppiencoderinfo, core::mem::transmute(ok__)); + ppiencoderinfo.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -478,7 +478,7 @@ impl IWICBitmapEncoder_Vtbl { let this = (*this).get_impl(); match IWICBitmapEncoder_Impl::GetMetadataQueryWriter(this) { Ok(ok__) => { - core::ptr::write(ppimetadataquerywriter, core::mem::transmute(ok__)); + ppimetadataquerywriter.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -513,7 +513,7 @@ impl IWICBitmapEncoderInfo_Vtbl { let this = (*this).get_impl(); match IWICBitmapEncoderInfo_Impl::CreateInstance(this) { Ok(ok__) => { - core::ptr::write(ppibitmapencoder, core::mem::transmute(ok__)); + ppibitmapencoder.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -555,7 +555,7 @@ impl IWICBitmapFrameDecode_Vtbl { let this = (*this).get_impl(); match IWICBitmapFrameDecode_Impl::GetMetadataQueryReader(this) { Ok(ok__) => { - core::ptr::write(ppimetadataqueryreader, core::mem::transmute(ok__)); + ppimetadataqueryreader.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -571,7 +571,7 @@ impl IWICBitmapFrameDecode_Vtbl { let this = (*this).get_impl(); match IWICBitmapFrameDecode_Impl::GetThumbnail(this) { Ok(ok__) => { - core::ptr::write(ppithumbnail, core::mem::transmute(ok__)); + ppithumbnail.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -662,7 +662,7 @@ impl IWICBitmapFrameEncode_Vtbl { let this = (*this).get_impl(); match IWICBitmapFrameEncode_Impl::GetMetadataQueryWriter(this) { Ok(ok__) => { - core::ptr::write(ppimetadataquerywriter, core::mem::transmute(ok__)); + ppimetadataquerywriter.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -706,7 +706,7 @@ impl IWICBitmapLock_Vtbl { let this = (*this).get_impl(); match IWICBitmapLock_Impl::GetStride(this) { Ok(ok__) => { - core::ptr::write(pcbstride, core::mem::transmute(ok__)); + pcbstride.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -722,7 +722,7 @@ impl IWICBitmapLock_Vtbl { let this = (*this).get_impl(); match IWICBitmapLock_Impl::GetPixelFormat(this) { Ok(ok__) => { - core::ptr::write(ppixelformat, core::mem::transmute(ok__)); + ppixelformat.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -777,7 +777,7 @@ impl IWICBitmapSource_Vtbl { let this = (*this).get_impl(); match IWICBitmapSource_Impl::GetPixelFormat(this) { Ok(ok__) => { - core::ptr::write(ppixelformat, core::mem::transmute(ok__)); + ppixelformat.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -840,7 +840,7 @@ impl IWICBitmapSourceTransform_Vtbl { let this = (*this).get_impl(); match IWICBitmapSourceTransform_Impl::DoesSupportTransform(this, core::mem::transmute_copy(&dsttransform)) { Ok(ok__) => { - core::ptr::write(pfissupported, core::mem::transmute(ok__)); + pfissupported.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -889,7 +889,7 @@ impl IWICColorContext_Vtbl { let this = (*this).get_impl(); match IWICColorContext_Impl::GetType(this) { Ok(ok__) => { - core::ptr::write(ptype, core::mem::transmute(ok__)); + ptype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -905,7 +905,7 @@ impl IWICColorContext_Vtbl { let this = (*this).get_impl(); match IWICColorContext_Impl::GetExifColorSpace(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -962,7 +962,7 @@ impl IWICComponentFactory_Vtbl { let this = (*this).get_impl(); match IWICComponentFactory_Impl::CreateMetadataReader(this, core::mem::transmute_copy(&guidmetadataformat), core::mem::transmute_copy(&pguidvendor), core::mem::transmute_copy(&dwoptions), windows_core::from_raw_borrowed(&pistream)) { Ok(ok__) => { - core::ptr::write(ppireader, core::mem::transmute(ok__)); + ppireader.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -973,7 +973,7 @@ impl IWICComponentFactory_Vtbl { let this = (*this).get_impl(); match IWICComponentFactory_Impl::CreateMetadataReaderFromContainer(this, core::mem::transmute_copy(&guidcontainerformat), core::mem::transmute_copy(&pguidvendor), core::mem::transmute_copy(&dwoptions), windows_core::from_raw_borrowed(&pistream)) { Ok(ok__) => { - core::ptr::write(ppireader, core::mem::transmute(ok__)); + ppireader.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -984,7 +984,7 @@ impl IWICComponentFactory_Vtbl { let this = (*this).get_impl(); match IWICComponentFactory_Impl::CreateMetadataWriter(this, core::mem::transmute_copy(&guidmetadataformat), core::mem::transmute_copy(&pguidvendor), core::mem::transmute_copy(&dwmetadataoptions)) { Ok(ok__) => { - core::ptr::write(ppiwriter, core::mem::transmute(ok__)); + ppiwriter.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -995,7 +995,7 @@ impl IWICComponentFactory_Vtbl { let this = (*this).get_impl(); match IWICComponentFactory_Impl::CreateMetadataWriterFromReader(this, windows_core::from_raw_borrowed(&pireader), core::mem::transmute_copy(&pguidvendor)) { Ok(ok__) => { - core::ptr::write(ppiwriter, core::mem::transmute(ok__)); + ppiwriter.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1006,7 +1006,7 @@ impl IWICComponentFactory_Vtbl { let this = (*this).get_impl(); match IWICComponentFactory_Impl::CreateQueryReaderFromBlockReader(this, windows_core::from_raw_borrowed(&piblockreader)) { Ok(ok__) => { - core::ptr::write(ppiqueryreader, core::mem::transmute(ok__)); + ppiqueryreader.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1017,7 +1017,7 @@ impl IWICComponentFactory_Vtbl { let this = (*this).get_impl(); match IWICComponentFactory_Impl::CreateQueryWriterFromBlockWriter(this, windows_core::from_raw_borrowed(&piblockwriter)) { Ok(ok__) => { - core::ptr::write(ppiquerywriter, core::mem::transmute(ok__)); + ppiquerywriter.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1028,7 +1028,7 @@ impl IWICComponentFactory_Vtbl { let this = (*this).get_impl(); match IWICComponentFactory_Impl::CreateEncoderPropertyBag(this, core::mem::transmute_copy(&ppropoptions), core::mem::transmute_copy(&ccount)) { Ok(ok__) => { - core::ptr::write(ppipropertybag, core::mem::transmute(ok__)); + ppipropertybag.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1067,7 +1067,7 @@ impl IWICComponentInfo_Vtbl { let this = (*this).get_impl(); match IWICComponentInfo_Impl::GetComponentType(this) { Ok(ok__) => { - core::ptr::write(ptype, core::mem::transmute(ok__)); + ptype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1078,7 +1078,7 @@ impl IWICComponentInfo_Vtbl { let this = (*this).get_impl(); match IWICComponentInfo_Impl::GetCLSID(this) { Ok(ok__) => { - core::ptr::write(pclsid, core::mem::transmute(ok__)); + pclsid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1089,7 +1089,7 @@ impl IWICComponentInfo_Vtbl { let this = (*this).get_impl(); match IWICComponentInfo_Impl::GetSigningStatus(this) { Ok(ok__) => { - core::ptr::write(pstatus, core::mem::transmute(ok__)); + pstatus.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1105,7 +1105,7 @@ impl IWICComponentInfo_Vtbl { let this = (*this).get_impl(); match IWICComponentInfo_Impl::GetVendorGUID(this) { Ok(ok__) => { - core::ptr::write(pguidvendor, core::mem::transmute(ok__)); + pguidvendor.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1162,7 +1162,7 @@ impl IWICDdsDecoder_Vtbl { let this = (*this).get_impl(); match IWICDdsDecoder_Impl::GetFrame(this, core::mem::transmute_copy(&arrayindex), core::mem::transmute_copy(&miplevel), core::mem::transmute_copy(&sliceindex)) { Ok(ok__) => { - core::ptr::write(ppibitmapframe, core::mem::transmute(ok__)); + ppibitmapframe.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1236,7 +1236,7 @@ impl IWICDdsFrameDecode_Vtbl { let this = (*this).get_impl(); match IWICDdsFrameDecode_Impl::GetFormatInfo(this) { Ok(ok__) => { - core::ptr::write(pformatinfo, core::mem::transmute(ok__)); + pformatinfo.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1313,7 +1313,7 @@ impl IWICDevelopRaw_Vtbl { let this = (*this).get_impl(); match IWICDevelopRaw_Impl::GetCurrentParameterSet(this) { Ok(ok__) => { - core::ptr::write(ppcurrentparameterset, core::mem::transmute(ok__)); + ppcurrentparameterset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1329,7 +1329,7 @@ impl IWICDevelopRaw_Vtbl { let this = (*this).get_impl(); match IWICDevelopRaw_Impl::GetExposureCompensation(this) { Ok(ok__) => { - core::ptr::write(pev, core::mem::transmute(ok__)); + pev.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1355,7 +1355,7 @@ impl IWICDevelopRaw_Vtbl { let this = (*this).get_impl(); match IWICDevelopRaw_Impl::GetNamedWhitePoint(this) { Ok(ok__) => { - core::ptr::write(pwhitepoint, core::mem::transmute(ok__)); + pwhitepoint.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1371,7 +1371,7 @@ impl IWICDevelopRaw_Vtbl { let this = (*this).get_impl(); match IWICDevelopRaw_Impl::GetWhitePointKelvin(this) { Ok(ok__) => { - core::ptr::write(pwhitepointkelvin, core::mem::transmute(ok__)); + pwhitepointkelvin.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1392,7 +1392,7 @@ impl IWICDevelopRaw_Vtbl { let this = (*this).get_impl(); match IWICDevelopRaw_Impl::GetContrast(this) { Ok(ok__) => { - core::ptr::write(pcontrast, core::mem::transmute(ok__)); + pcontrast.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1408,7 +1408,7 @@ impl IWICDevelopRaw_Vtbl { let this = (*this).get_impl(); match IWICDevelopRaw_Impl::GetGamma(this) { Ok(ok__) => { - core::ptr::write(pgamma, core::mem::transmute(ok__)); + pgamma.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1424,7 +1424,7 @@ impl IWICDevelopRaw_Vtbl { let this = (*this).get_impl(); match IWICDevelopRaw_Impl::GetSharpness(this) { Ok(ok__) => { - core::ptr::write(psharpness, core::mem::transmute(ok__)); + psharpness.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1440,7 +1440,7 @@ impl IWICDevelopRaw_Vtbl { let this = (*this).get_impl(); match IWICDevelopRaw_Impl::GetSaturation(this) { Ok(ok__) => { - core::ptr::write(psaturation, core::mem::transmute(ok__)); + psaturation.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1456,7 +1456,7 @@ impl IWICDevelopRaw_Vtbl { let this = (*this).get_impl(); match IWICDevelopRaw_Impl::GetTint(this) { Ok(ok__) => { - core::ptr::write(ptint, core::mem::transmute(ok__)); + ptint.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1472,7 +1472,7 @@ impl IWICDevelopRaw_Vtbl { let this = (*this).get_impl(); match IWICDevelopRaw_Impl::GetNoiseReduction(this) { Ok(ok__) => { - core::ptr::write(pnoisereduction, core::mem::transmute(ok__)); + pnoisereduction.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1503,7 +1503,7 @@ impl IWICDevelopRaw_Vtbl { let this = (*this).get_impl(); match IWICDevelopRaw_Impl::GetRotation(this) { Ok(ok__) => { - core::ptr::write(protation, core::mem::transmute(ok__)); + protation.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1519,7 +1519,7 @@ impl IWICDevelopRaw_Vtbl { let this = (*this).get_impl(); match IWICDevelopRaw_Impl::GetRenderMode(this) { Ok(ok__) => { - core::ptr::write(prendermode, core::mem::transmute(ok__)); + prendermode.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1616,7 +1616,7 @@ impl IWICEnumMetadataItem_Vtbl { let this = (*this).get_impl(); match IWICEnumMetadataItem_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppienummetadataitem, core::mem::transmute(ok__)); + ppienummetadataitem.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1651,7 +1651,7 @@ impl IWICFastMetadataEncoder_Vtbl { let this = (*this).get_impl(); match IWICFastMetadataEncoder_Impl::GetMetadataQueryWriter(this) { Ok(ok__) => { - core::ptr::write(ppimetadataquerywriter, core::mem::transmute(ok__)); + ppimetadataquerywriter.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1684,7 +1684,7 @@ impl IWICFormatConverter_Vtbl { let this = (*this).get_impl(); match IWICFormatConverter_Impl::CanConvert(this, core::mem::transmute_copy(&srcpixelformat), core::mem::transmute_copy(&dstpixelformat)) { Ok(ok__) => { - core::ptr::write(pfcanconvert, core::mem::transmute(ok__)); + pfcanconvert.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1717,7 +1717,7 @@ impl IWICFormatConverterInfo_Vtbl { let this = (*this).get_impl(); match IWICFormatConverterInfo_Impl::CreateInstance(this) { Ok(ok__) => { - core::ptr::write(ppiconverter, core::mem::transmute(ok__)); + ppiconverter.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1771,7 +1771,7 @@ impl IWICImagingFactory_Vtbl { let this = (*this).get_impl(); match IWICImagingFactory_Impl::CreateDecoderFromFilename(this, core::mem::transmute(&wzfilename), core::mem::transmute_copy(&pguidvendor), core::mem::transmute_copy(&dwdesiredaccess), core::mem::transmute_copy(&metadataoptions)) { Ok(ok__) => { - core::ptr::write(ppidecoder, core::mem::transmute(ok__)); + ppidecoder.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1782,7 +1782,7 @@ impl IWICImagingFactory_Vtbl { let this = (*this).get_impl(); match IWICImagingFactory_Impl::CreateDecoderFromStream(this, windows_core::from_raw_borrowed(&pistream), core::mem::transmute_copy(&pguidvendor), core::mem::transmute_copy(&metadataoptions)) { Ok(ok__) => { - core::ptr::write(ppidecoder, core::mem::transmute(ok__)); + ppidecoder.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1793,7 +1793,7 @@ impl IWICImagingFactory_Vtbl { let this = (*this).get_impl(); match IWICImagingFactory_Impl::CreateDecoderFromFileHandle(this, core::mem::transmute_copy(&hfile), core::mem::transmute_copy(&pguidvendor), core::mem::transmute_copy(&metadataoptions)) { Ok(ok__) => { - core::ptr::write(ppidecoder, core::mem::transmute(ok__)); + ppidecoder.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1804,7 +1804,7 @@ impl IWICImagingFactory_Vtbl { let this = (*this).get_impl(); match IWICImagingFactory_Impl::CreateComponentInfo(this, core::mem::transmute_copy(&clsidcomponent)) { Ok(ok__) => { - core::ptr::write(ppiinfo, core::mem::transmute(ok__)); + ppiinfo.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1815,7 +1815,7 @@ impl IWICImagingFactory_Vtbl { let this = (*this).get_impl(); match IWICImagingFactory_Impl::CreateDecoder(this, core::mem::transmute_copy(&guidcontainerformat), core::mem::transmute_copy(&pguidvendor)) { Ok(ok__) => { - core::ptr::write(ppidecoder, core::mem::transmute(ok__)); + ppidecoder.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1826,7 +1826,7 @@ impl IWICImagingFactory_Vtbl { let this = (*this).get_impl(); match IWICImagingFactory_Impl::CreateEncoder(this, core::mem::transmute_copy(&guidcontainerformat), core::mem::transmute_copy(&pguidvendor)) { Ok(ok__) => { - core::ptr::write(ppiencoder, core::mem::transmute(ok__)); + ppiencoder.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1837,7 +1837,7 @@ impl IWICImagingFactory_Vtbl { let this = (*this).get_impl(); match IWICImagingFactory_Impl::CreatePalette(this) { Ok(ok__) => { - core::ptr::write(ppipalette, core::mem::transmute(ok__)); + ppipalette.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1848,7 +1848,7 @@ impl IWICImagingFactory_Vtbl { let this = (*this).get_impl(); match IWICImagingFactory_Impl::CreateFormatConverter(this) { Ok(ok__) => { - core::ptr::write(ppiformatconverter, core::mem::transmute(ok__)); + ppiformatconverter.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1859,7 +1859,7 @@ impl IWICImagingFactory_Vtbl { let this = (*this).get_impl(); match IWICImagingFactory_Impl::CreateBitmapScaler(this) { Ok(ok__) => { - core::ptr::write(ppibitmapscaler, core::mem::transmute(ok__)); + ppibitmapscaler.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1870,7 +1870,7 @@ impl IWICImagingFactory_Vtbl { let this = (*this).get_impl(); match IWICImagingFactory_Impl::CreateBitmapClipper(this) { Ok(ok__) => { - core::ptr::write(ppibitmapclipper, core::mem::transmute(ok__)); + ppibitmapclipper.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1881,7 +1881,7 @@ impl IWICImagingFactory_Vtbl { let this = (*this).get_impl(); match IWICImagingFactory_Impl::CreateBitmapFlipRotator(this) { Ok(ok__) => { - core::ptr::write(ppibitmapfliprotator, core::mem::transmute(ok__)); + ppibitmapfliprotator.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1892,7 +1892,7 @@ impl IWICImagingFactory_Vtbl { let this = (*this).get_impl(); match IWICImagingFactory_Impl::CreateStream(this) { Ok(ok__) => { - core::ptr::write(ppiwicstream, core::mem::transmute(ok__)); + ppiwicstream.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1903,7 +1903,7 @@ impl IWICImagingFactory_Vtbl { let this = (*this).get_impl(); match IWICImagingFactory_Impl::CreateColorContext(this) { Ok(ok__) => { - core::ptr::write(ppiwiccolorcontext, core::mem::transmute(ok__)); + ppiwiccolorcontext.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1914,7 +1914,7 @@ impl IWICImagingFactory_Vtbl { let this = (*this).get_impl(); match IWICImagingFactory_Impl::CreateColorTransformer(this) { Ok(ok__) => { - core::ptr::write(ppiwiccolortransform, core::mem::transmute(ok__)); + ppiwiccolortransform.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1925,7 +1925,7 @@ impl IWICImagingFactory_Vtbl { let this = (*this).get_impl(); match IWICImagingFactory_Impl::CreateBitmap(this, core::mem::transmute_copy(&uiwidth), core::mem::transmute_copy(&uiheight), core::mem::transmute_copy(&pixelformat), core::mem::transmute_copy(&option)) { Ok(ok__) => { - core::ptr::write(ppibitmap, core::mem::transmute(ok__)); + ppibitmap.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1936,7 +1936,7 @@ impl IWICImagingFactory_Vtbl { let this = (*this).get_impl(); match IWICImagingFactory_Impl::CreateBitmapFromSource(this, windows_core::from_raw_borrowed(&pibitmapsource), core::mem::transmute_copy(&option)) { Ok(ok__) => { - core::ptr::write(ppibitmap, core::mem::transmute(ok__)); + ppibitmap.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1947,7 +1947,7 @@ impl IWICImagingFactory_Vtbl { let this = (*this).get_impl(); match IWICImagingFactory_Impl::CreateBitmapFromSourceRect(this, windows_core::from_raw_borrowed(&pibitmapsource), core::mem::transmute_copy(&x), core::mem::transmute_copy(&y), core::mem::transmute_copy(&width), core::mem::transmute_copy(&height)) { Ok(ok__) => { - core::ptr::write(ppibitmap, core::mem::transmute(ok__)); + ppibitmap.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1958,7 +1958,7 @@ impl IWICImagingFactory_Vtbl { let this = (*this).get_impl(); match IWICImagingFactory_Impl::CreateBitmapFromMemory(this, core::mem::transmute_copy(&uiwidth), core::mem::transmute_copy(&uiheight), core::mem::transmute_copy(&pixelformat), core::mem::transmute_copy(&cbstride), core::mem::transmute_copy(&cbbuffersize), core::mem::transmute_copy(&pbbuffer)) { Ok(ok__) => { - core::ptr::write(ppibitmap, core::mem::transmute(ok__)); + ppibitmap.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1969,7 +1969,7 @@ impl IWICImagingFactory_Vtbl { let this = (*this).get_impl(); match IWICImagingFactory_Impl::CreateBitmapFromHBITMAP(this, core::mem::transmute_copy(&hbitmap), core::mem::transmute_copy(&hpalette), core::mem::transmute_copy(&options)) { Ok(ok__) => { - core::ptr::write(ppibitmap, core::mem::transmute(ok__)); + ppibitmap.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1980,7 +1980,7 @@ impl IWICImagingFactory_Vtbl { let this = (*this).get_impl(); match IWICImagingFactory_Impl::CreateBitmapFromHICON(this, core::mem::transmute_copy(&hicon)) { Ok(ok__) => { - core::ptr::write(ppibitmap, core::mem::transmute(ok__)); + ppibitmap.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1991,7 +1991,7 @@ impl IWICImagingFactory_Vtbl { let this = (*this).get_impl(); match IWICImagingFactory_Impl::CreateComponentEnumerator(this, core::mem::transmute_copy(&componenttypes), core::mem::transmute_copy(&options)) { Ok(ok__) => { - core::ptr::write(ppienumunknown, core::mem::transmute(ok__)); + ppienumunknown.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2002,7 +2002,7 @@ impl IWICImagingFactory_Vtbl { let this = (*this).get_impl(); match IWICImagingFactory_Impl::CreateFastMetadataEncoderFromDecoder(this, windows_core::from_raw_borrowed(&pidecoder)) { Ok(ok__) => { - core::ptr::write(ppifastencoder, core::mem::transmute(ok__)); + ppifastencoder.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2013,7 +2013,7 @@ impl IWICImagingFactory_Vtbl { let this = (*this).get_impl(); match IWICImagingFactory_Impl::CreateFastMetadataEncoderFromFrameDecode(this, windows_core::from_raw_borrowed(&piframedecoder)) { Ok(ok__) => { - core::ptr::write(ppifastencoder, core::mem::transmute(ok__)); + ppifastencoder.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2024,7 +2024,7 @@ impl IWICImagingFactory_Vtbl { let this = (*this).get_impl(); match IWICImagingFactory_Impl::CreateQueryWriter(this, core::mem::transmute_copy(&guidmetadataformat), core::mem::transmute_copy(&pguidvendor)) { Ok(ok__) => { - core::ptr::write(ppiquerywriter, core::mem::transmute(ok__)); + ppiquerywriter.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2035,7 +2035,7 @@ impl IWICImagingFactory_Vtbl { let this = (*this).get_impl(); match IWICImagingFactory_Impl::CreateQueryWriterFromReader(this, windows_core::from_raw_borrowed(&piqueryreader), core::mem::transmute_copy(&pguidvendor)) { Ok(ok__) => { - core::ptr::write(ppiquerywriter, core::mem::transmute(ok__)); + ppiquerywriter.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2097,7 +2097,7 @@ impl IWICJpegFrameDecode_Vtbl { let this = (*this).get_impl(); match IWICJpegFrameDecode_Impl::DoesSupportIndexing(this) { Ok(ok__) => { - core::ptr::write(pfindexingsupported, core::mem::transmute(ok__)); + pfindexingsupported.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2227,7 +2227,7 @@ impl IWICMetadataBlockReader_Vtbl { let this = (*this).get_impl(); match IWICMetadataBlockReader_Impl::GetContainerFormat(this) { Ok(ok__) => { - core::ptr::write(pguidcontainerformat, core::mem::transmute(ok__)); + pguidcontainerformat.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2238,7 +2238,7 @@ impl IWICMetadataBlockReader_Vtbl { let this = (*this).get_impl(); match IWICMetadataBlockReader_Impl::GetCount(this) { Ok(ok__) => { - core::ptr::write(pccount, core::mem::transmute(ok__)); + pccount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2249,7 +2249,7 @@ impl IWICMetadataBlockReader_Vtbl { let this = (*this).get_impl(); match IWICMetadataBlockReader_Impl::GetReaderByIndex(this, core::mem::transmute_copy(&nindex)) { Ok(ok__) => { - core::ptr::write(ppimetadatareader, core::mem::transmute(ok__)); + ppimetadatareader.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2260,7 +2260,7 @@ impl IWICMetadataBlockReader_Vtbl { let this = (*this).get_impl(); match IWICMetadataBlockReader_Impl::GetEnumerator(this) { Ok(ok__) => { - core::ptr::write(ppienummetadata, core::mem::transmute(ok__)); + ppienummetadata.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2301,7 +2301,7 @@ impl IWICMetadataBlockWriter_Vtbl { let this = (*this).get_impl(); match IWICMetadataBlockWriter_Impl::GetWriterByIndex(this, core::mem::transmute_copy(&nindex)) { Ok(ok__) => { - core::ptr::write(ppimetadatawriter, core::mem::transmute(ok__)); + ppimetadatawriter.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2352,7 +2352,7 @@ impl IWICMetadataHandlerInfo_Vtbl { let this = (*this).get_impl(); match IWICMetadataHandlerInfo_Impl::GetMetadataFormat(this) { Ok(ok__) => { - core::ptr::write(pguidmetadataformat, core::mem::transmute(ok__)); + pguidmetadataformat.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2378,7 +2378,7 @@ impl IWICMetadataHandlerInfo_Vtbl { let this = (*this).get_impl(); match IWICMetadataHandlerInfo_Impl::DoesRequireFullStream(this) { Ok(ok__) => { - core::ptr::write(pfrequiresfullstream, core::mem::transmute(ok__)); + pfrequiresfullstream.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2389,7 +2389,7 @@ impl IWICMetadataHandlerInfo_Vtbl { let this = (*this).get_impl(); match IWICMetadataHandlerInfo_Impl::DoesSupportPadding(this) { Ok(ok__) => { - core::ptr::write(pfsupportspadding, core::mem::transmute(ok__)); + pfsupportspadding.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2400,7 +2400,7 @@ impl IWICMetadataHandlerInfo_Vtbl { let this = (*this).get_impl(); match IWICMetadataHandlerInfo_Impl::DoesRequireFixedSize(this) { Ok(ok__) => { - core::ptr::write(pffixedsize, core::mem::transmute(ok__)); + pffixedsize.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2438,7 +2438,7 @@ impl IWICMetadataQueryReader_Vtbl { let this = (*this).get_impl(); match IWICMetadataQueryReader_Impl::GetContainerFormat(this) { Ok(ok__) => { - core::ptr::write(pguidcontainerformat, core::mem::transmute(ok__)); + pguidcontainerformat.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2459,7 +2459,7 @@ impl IWICMetadataQueryReader_Vtbl { let this = (*this).get_impl(); match IWICMetadataQueryReader_Impl::GetEnumerator(this) { Ok(ok__) => { - core::ptr::write(ppienumstring, core::mem::transmute(ok__)); + ppienumstring.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2523,7 +2523,7 @@ impl IWICMetadataReader_Vtbl { let this = (*this).get_impl(); match IWICMetadataReader_Impl::GetMetadataFormat(this) { Ok(ok__) => { - core::ptr::write(pguidmetadataformat, core::mem::transmute(ok__)); + pguidmetadataformat.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2534,7 +2534,7 @@ impl IWICMetadataReader_Vtbl { let this = (*this).get_impl(); match IWICMetadataReader_Impl::GetMetadataHandlerInfo(this) { Ok(ok__) => { - core::ptr::write(ppihandler, core::mem::transmute(ok__)); + ppihandler.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2545,7 +2545,7 @@ impl IWICMetadataReader_Vtbl { let this = (*this).get_impl(); match IWICMetadataReader_Impl::GetCount(this) { Ok(ok__) => { - core::ptr::write(pccount, core::mem::transmute(ok__)); + pccount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2566,7 +2566,7 @@ impl IWICMetadataReader_Vtbl { let this = (*this).get_impl(); match IWICMetadataReader_Impl::GetEnumerator(this) { Ok(ok__) => { - core::ptr::write(ppienummetadata, core::mem::transmute(ok__)); + ppienummetadata.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2607,7 +2607,7 @@ impl IWICMetadataReaderInfo_Vtbl { let this = (*this).get_impl(); match IWICMetadataReaderInfo_Impl::MatchesPattern(this, core::mem::transmute_copy(&guidcontainerformat), windows_core::from_raw_borrowed(&pistream)) { Ok(ok__) => { - core::ptr::write(pfmatches, core::mem::transmute(ok__)); + pfmatches.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2618,7 +2618,7 @@ impl IWICMetadataReaderInfo_Vtbl { let this = (*this).get_impl(); match IWICMetadataReaderInfo_Impl::CreateInstance(this) { Ok(ok__) => { - core::ptr::write(ppireader, core::mem::transmute(ok__)); + ppireader.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2693,7 +2693,7 @@ impl IWICMetadataWriterInfo_Vtbl { let this = (*this).get_impl(); match IWICMetadataWriterInfo_Impl::CreateInstance(this) { Ok(ok__) => { - core::ptr::write(ppiwriter, core::mem::transmute(ok__)); + ppiwriter.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2749,7 +2749,7 @@ impl IWICPalette_Vtbl { let this = (*this).get_impl(); match IWICPalette_Impl::GetType(this) { Ok(ok__) => { - core::ptr::write(pepalettetype, core::mem::transmute(ok__)); + pepalettetype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2760,7 +2760,7 @@ impl IWICPalette_Vtbl { let this = (*this).get_impl(); match IWICPalette_Impl::GetColorCount(this) { Ok(ok__) => { - core::ptr::write(pccount, core::mem::transmute(ok__)); + pccount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2776,7 +2776,7 @@ impl IWICPalette_Vtbl { let this = (*this).get_impl(); match IWICPalette_Impl::IsBlackWhite(this) { Ok(ok__) => { - core::ptr::write(pfisblackwhite, core::mem::transmute(ok__)); + pfisblackwhite.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2787,7 +2787,7 @@ impl IWICPalette_Vtbl { let this = (*this).get_impl(); match IWICPalette_Impl::IsGrayscale(this) { Ok(ok__) => { - core::ptr::write(pfisgrayscale, core::mem::transmute(ok__)); + pfisgrayscale.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2798,7 +2798,7 @@ impl IWICPalette_Vtbl { let this = (*this).get_impl(); match IWICPalette_Impl::HasAlpha(this) { Ok(ok__) => { - core::ptr::write(pfhasalpha, core::mem::transmute(ok__)); + pfhasalpha.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2867,7 +2867,7 @@ impl IWICPixelFormatInfo_Vtbl { let this = (*this).get_impl(); match IWICPixelFormatInfo_Impl::GetFormatGUID(this) { Ok(ok__) => { - core::ptr::write(pformat, core::mem::transmute(ok__)); + pformat.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2878,7 +2878,7 @@ impl IWICPixelFormatInfo_Vtbl { let this = (*this).get_impl(); match IWICPixelFormatInfo_Impl::GetColorContext(this) { Ok(ok__) => { - core::ptr::write(ppicolorcontext, core::mem::transmute(ok__)); + ppicolorcontext.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2889,7 +2889,7 @@ impl IWICPixelFormatInfo_Vtbl { let this = (*this).get_impl(); match IWICPixelFormatInfo_Impl::GetBitsPerPixel(this) { Ok(ok__) => { - core::ptr::write(puibitsperpixel, core::mem::transmute(ok__)); + puibitsperpixel.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2900,7 +2900,7 @@ impl IWICPixelFormatInfo_Vtbl { let this = (*this).get_impl(); match IWICPixelFormatInfo_Impl::GetChannelCount(this) { Ok(ok__) => { - core::ptr::write(puichannelcount, core::mem::transmute(ok__)); + puichannelcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2936,7 +2936,7 @@ impl IWICPixelFormatInfo2_Vtbl { let this = (*this).get_impl(); match IWICPixelFormatInfo2_Impl::SupportsTransparency(this) { Ok(ok__) => { - core::ptr::write(pfsupportstransparency, core::mem::transmute(ok__)); + pfsupportstransparency.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2947,7 +2947,7 @@ impl IWICPixelFormatInfo2_Vtbl { let this = (*this).get_impl(); match IWICPixelFormatInfo2_Impl::GetNumericRepresentation(this) { Ok(ok__) => { - core::ptr::write(pnumericrepresentation, core::mem::transmute(ok__)); + pnumericrepresentation.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3034,7 +3034,7 @@ impl IWICPlanarFormatConverter_Vtbl { let this = (*this).get_impl(); match IWICPlanarFormatConverter_Impl::CanConvert(this, core::mem::transmute_copy(&psrcpixelformats), core::mem::transmute_copy(&csrcplanes), core::mem::transmute_copy(&dstpixelformat)) { Ok(ok__) => { - core::ptr::write(pfcanconvert, core::mem::transmute(ok__)); + pfcanconvert.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3080,7 +3080,7 @@ impl IWICProgressiveLevelControl_Vtbl { let this = (*this).get_impl(); match IWICProgressiveLevelControl_Impl::GetLevelCount(this) { Ok(ok__) => { - core::ptr::write(pclevels, core::mem::transmute(ok__)); + pclevels.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3091,7 +3091,7 @@ impl IWICProgressiveLevelControl_Vtbl { let this = (*this).get_impl(); match IWICProgressiveLevelControl_Impl::GetCurrentLevel(this) { Ok(ok__) => { - core::ptr::write(pnlevel, core::mem::transmute(ok__)); + pnlevel.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3174,7 +3174,7 @@ impl IWICStreamProvider_Vtbl { let this = (*this).get_impl(); match IWICStreamProvider_Impl::GetStream(this) { Ok(ok__) => { - core::ptr::write(ppistream, core::mem::transmute(ok__)); + ppistream.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3185,7 +3185,7 @@ impl IWICStreamProvider_Vtbl { let this = (*this).get_impl(); match IWICStreamProvider_Impl::GetPersistOptions(this) { Ok(ok__) => { - core::ptr::write(pdwpersistoptions, core::mem::transmute(ok__)); + pdwpersistoptions.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3196,7 +3196,7 @@ impl IWICStreamProvider_Vtbl { let this = (*this).get_impl(); match IWICStreamProvider_Impl::GetPreferredVendorGUID(this) { Ok(ok__) => { - core::ptr::write(pguidpreferredvendor, core::mem::transmute(ok__)); + pguidpreferredvendor.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/Printing/impl.rs b/crates/libs/windows/src/Windows/Win32/Graphics/Printing/impl.rs index 72c54c7056..034cdfe7ce 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/Printing/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/Printing/impl.rs @@ -122,7 +122,7 @@ impl IBidiRequest_Vtbl { let this = (*this).get_impl(); match IBidiRequest_Impl::GetResult(this) { Ok(ok__) => { - core::ptr::write(phr, core::mem::transmute(ok__)); + phr.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -138,7 +138,7 @@ impl IBidiRequest_Vtbl { let this = (*this).get_impl(); match IBidiRequest_Impl::GetEnumCount(this) { Ok(ok__) => { - core::ptr::write(pdwtotal, core::mem::transmute(ok__)); + pdwtotal.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -178,7 +178,7 @@ impl IBidiRequestContainer_Vtbl { let this = (*this).get_impl(); match IBidiRequestContainer_Impl::GetEnumObject(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -189,7 +189,7 @@ impl IBidiRequestContainer_Vtbl { let this = (*this).get_impl(); match IBidiRequestContainer_Impl::GetRequestCount(this) { Ok(ok__) => { - core::ptr::write(pucount, core::mem::transmute(ok__)); + pucount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -274,7 +274,7 @@ impl IBidiSpl2_Vtbl { let this = (*this).get_impl(); match IBidiSpl2_Impl::SendRecvXMLString(this, core::mem::transmute(&bstrrequest)) { Ok(ok__) => { - core::ptr::write(pbstrresponse, core::mem::transmute(ok__)); + pbstrresponse.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -285,7 +285,7 @@ impl IBidiSpl2_Vtbl { let this = (*this).get_impl(); match IBidiSpl2_Impl::SendRecvXMLStream(this, windows_core::from_raw_borrowed(&psrequest)) { Ok(ok__) => { - core::ptr::write(ppsresponse, core::mem::transmute(ok__)); + ppsresponse.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -316,7 +316,7 @@ impl IFixedDocument_Vtbl { let this = (*this).get_impl(); match IFixedDocument_Impl::GetUri(this) { Ok(ok__) => { - core::ptr::write(uri, core::mem::transmute(ok__)); + uri.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -327,7 +327,7 @@ impl IFixedDocument_Vtbl { let this = (*this).get_impl(); match IFixedDocument_Impl::GetPrintTicket(this) { Ok(ok__) => { - core::ptr::write(ppprintticket, core::mem::transmute(ok__)); + ppprintticket.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -362,7 +362,7 @@ impl IFixedDocumentSequence_Vtbl { let this = (*this).get_impl(); match IFixedDocumentSequence_Impl::GetUri(this) { Ok(ok__) => { - core::ptr::write(uri, core::mem::transmute(ok__)); + uri.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -373,7 +373,7 @@ impl IFixedDocumentSequence_Vtbl { let this = (*this).get_impl(); match IFixedDocumentSequence_Impl::GetPrintTicket(this) { Ok(ok__) => { - core::ptr::write(ppprintticket, core::mem::transmute(ok__)); + ppprintticket.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -412,7 +412,7 @@ impl IFixedPage_Vtbl { let this = (*this).get_impl(); match IFixedPage_Impl::GetPrintTicket(this) { Ok(ok__) => { - core::ptr::write(ppprintticket, core::mem::transmute(ok__)); + ppprintticket.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -423,7 +423,7 @@ impl IFixedPage_Vtbl { let this = (*this).get_impl(); match IFixedPage_Impl::GetPagePart(this, core::mem::transmute(&uri)) { Ok(ok__) => { - core::ptr::write(ppunk, core::mem::transmute(ok__)); + ppunk.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -434,7 +434,7 @@ impl IFixedPage_Vtbl { let this = (*this).get_impl(); match IFixedPage_Impl::GetWriteStream(this) { Ok(ok__) => { - core::ptr::write(ppwritestream, core::mem::transmute(ok__)); + ppwritestream.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -460,7 +460,7 @@ impl IFixedPage_Vtbl { let this = (*this).get_impl(); match IFixedPage_Impl::GetXpsPartIterator(this) { Ok(ok__) => { - core::ptr::write(pxpspartit, core::mem::transmute(ok__)); + pxpspartit.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -524,7 +524,7 @@ impl IImgErrorInfo_Vtbl { let this = (*this).get_impl(); match IImgErrorInfo_Impl::GetDeveloperDescription(this) { Ok(ok__) => { - core::ptr::write(pbstrdevdescription, core::mem::transmute(ok__)); + pbstrdevdescription.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -535,7 +535,7 @@ impl IImgErrorInfo_Vtbl { let this = (*this).get_impl(); match IImgErrorInfo_Impl::GetUserErrorId(this) { Ok(ok__) => { - core::ptr::write(perrorid, core::mem::transmute(ok__)); + perrorid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -546,7 +546,7 @@ impl IImgErrorInfo_Vtbl { let this = (*this).get_impl(); match IImgErrorInfo_Impl::GetUserParameterCount(this) { Ok(ok__) => { - core::ptr::write(pcuserparams, core::mem::transmute(ok__)); + pcuserparams.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -557,7 +557,7 @@ impl IImgErrorInfo_Vtbl { let this = (*this).get_impl(); match IImgErrorInfo_Impl::GetUserParameter(this, core::mem::transmute_copy(&cparam)) { Ok(ok__) => { - core::ptr::write(pbstrparam, core::mem::transmute(ok__)); + pbstrparam.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -568,7 +568,7 @@ impl IImgErrorInfo_Vtbl { let this = (*this).get_impl(); match IImgErrorInfo_Impl::GetUserFallback(this) { Ok(ok__) => { - core::ptr::write(pbstrfallback, core::mem::transmute(ok__)); + pbstrfallback.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -579,7 +579,7 @@ impl IImgErrorInfo_Vtbl { let this = (*this).get_impl(); match IImgErrorInfo_Impl::GetExceptionId(this) { Ok(ok__) => { - core::ptr::write(pexceptionid, core::mem::transmute(ok__)); + pexceptionid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -646,7 +646,7 @@ impl IPartBase_Vtbl { let this = (*this).get_impl(); match IPartBase_Impl::GetUri(this) { Ok(ok__) => { - core::ptr::write(uri, core::mem::transmute(ok__)); + uri.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -657,7 +657,7 @@ impl IPartBase_Vtbl { let this = (*this).get_impl(); match IPartBase_Impl::GetStream(this) { Ok(ok__) => { - core::ptr::write(ppstream, core::mem::transmute(ok__)); + ppstream.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -668,7 +668,7 @@ impl IPartBase_Vtbl { let this = (*this).get_impl(); match IPartBase_Impl::GetPartCompression(this) { Ok(ok__) => { - core::ptr::write(pcompression, core::mem::transmute(ok__)); + pcompression.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -763,7 +763,7 @@ impl IPartFont2_Vtbl { let this = (*this).get_impl(); match IPartFont2_Impl::GetFontRestriction(this) { Ok(ok__) => { - core::ptr::write(prestriction, core::mem::transmute(ok__)); + prestriction.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -787,7 +787,7 @@ impl IPartImage_Vtbl { let this = (*this).get_impl(); match IPartImage_Impl::GetImageProperties(this) { Ok(ok__) => { - core::ptr::write(pcontenttype, core::mem::transmute(ok__)); + pcontenttype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -840,7 +840,7 @@ impl IPartThumbnail_Vtbl { let this = (*this).get_impl(); match IPartThumbnail_Impl::GetThumbnailProperties(this) { Ok(ok__) => { - core::ptr::write(pcontenttype, core::mem::transmute(ok__)); + pcontenttype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -917,7 +917,7 @@ impl IPrintAsyncNotify_Vtbl { let this = (*this).get_impl(); match IPrintAsyncNotify_Impl::CreatePrintAsyncNotifyChannel(this, core::mem::transmute_copy(¶m0), core::mem::transmute_copy(¶m1), core::mem::transmute_copy(¶m2), core::mem::transmute_copy(¶m3), windows_core::from_raw_borrowed(¶m4)) { Ok(ok__) => { - core::ptr::write(param5, core::mem::transmute(ok__)); + param5.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -928,7 +928,7 @@ impl IPrintAsyncNotify_Vtbl { let this = (*this).get_impl(); match IPrintAsyncNotify_Impl::CreatePrintAsyncNotifyRegistration(this, core::mem::transmute_copy(¶m0), core::mem::transmute_copy(¶m1), core::mem::transmute_copy(¶m2), windows_core::from_raw_borrowed(¶m3)) { Ok(ok__) => { - core::ptr::write(param4, core::mem::transmute(ok__)); + param4.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1065,7 +1065,7 @@ impl IPrintAsyncNotifyServerReferral_Vtbl { let this = (*this).get_impl(); match IPrintAsyncNotifyServerReferral_Impl::GetServerReferral(this) { Ok(ok__) => { - core::ptr::write(param0, core::mem::transmute(ok__)); + param0.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1148,7 +1148,7 @@ impl IPrintCoreHelper_Vtbl { let this = (*this).get_impl(); match IPrintCoreHelper_Impl::GetOption(this, core::mem::transmute_copy(&pdevmode), core::mem::transmute_copy(&cbsize), core::mem::transmute(&pszfeaturerequested)) { Ok(ok__) => { - core::ptr::write(ppszoption, core::mem::transmute(ok__)); + ppszoption.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1268,7 +1268,7 @@ impl IPrintCoreHelperUni_Vtbl { let this = (*this).get_impl(); match IPrintCoreHelperUni_Impl::CreateDefaultGDLSnapshot(this, core::mem::transmute_copy(&dwflags)) { Ok(ok__) => { - core::ptr::write(ppsnapshotstream, core::mem::transmute(ok__)); + ppsnapshotstream.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1329,7 +1329,7 @@ impl IPrintCoreUI2_Vtbl { let this = (*this).get_impl(); match IPrintCoreUI2_Impl::SetOptions(this, core::mem::transmute_copy(&poemuiobj), core::mem::transmute_copy(&dwflags), core::mem::transmute_copy(&pmszfeatureoptionbuf), core::mem::transmute_copy(&cbin)) { Ok(ok__) => { - core::ptr::write(pdwresult, core::mem::transmute(ok__)); + pdwresult.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1410,7 +1410,7 @@ impl IPrintJob_Vtbl { let this = (*this).get_impl(); match IPrintJob_Impl::Name(this) { Ok(ok__) => { - core::ptr::write(pbstrname, core::mem::transmute(ok__)); + pbstrname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1421,7 +1421,7 @@ impl IPrintJob_Vtbl { let this = (*this).get_impl(); match IPrintJob_Impl::Id(this) { Ok(ok__) => { - core::ptr::write(pulid, core::mem::transmute(ok__)); + pulid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1432,7 +1432,7 @@ impl IPrintJob_Vtbl { let this = (*this).get_impl(); match IPrintJob_Impl::PrintedPages(this) { Ok(ok__) => { - core::ptr::write(pulpages, core::mem::transmute(ok__)); + pulpages.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1443,7 +1443,7 @@ impl IPrintJob_Vtbl { let this = (*this).get_impl(); match IPrintJob_Impl::TotalPages(this) { Ok(ok__) => { - core::ptr::write(pulpages, core::mem::transmute(ok__)); + pulpages.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1454,7 +1454,7 @@ impl IPrintJob_Vtbl { let this = (*this).get_impl(); match IPrintJob_Impl::Status(this) { Ok(ok__) => { - core::ptr::write(pstatus, core::mem::transmute(ok__)); + pstatus.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1465,7 +1465,7 @@ impl IPrintJob_Vtbl { let this = (*this).get_impl(); match IPrintJob_Impl::SubmissionTime(this) { Ok(ok__) => { - core::ptr::write(psubmissiontime, core::mem::transmute(ok__)); + psubmissiontime.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1507,7 +1507,7 @@ impl IPrintJobCollection_Vtbl { let this = (*this).get_impl(); match IPrintJobCollection_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(pulcount, core::mem::transmute(ok__)); + pulcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1518,7 +1518,7 @@ impl IPrintJobCollection_Vtbl { let this = (*this).get_impl(); match IPrintJobCollection_Impl::GetAt(this, core::mem::transmute_copy(&ulindex)) { Ok(ok__) => { - core::ptr::write(ppjob, core::mem::transmute(ok__)); + ppjob.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1529,7 +1529,7 @@ impl IPrintJobCollection_Vtbl { let this = (*this).get_impl(); match IPrintJobCollection_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(ppunk, core::mem::transmute(ok__)); + ppunk.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1883,7 +1883,7 @@ impl IPrintPipelinePropertyBag_Vtbl { let this = (*this).get_impl(); match IPrintPipelinePropertyBag_Impl::GetProperty(this, core::mem::transmute(&pszname)) { Ok(ok__) => { - core::ptr::write(pvar, core::mem::transmute(ok__)); + pvar.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1980,7 +1980,7 @@ impl IPrintReadStreamFactory_Vtbl { let this = (*this).get_impl(); match IPrintReadStreamFactory_Impl::GetStream(this) { Ok(ok__) => { - core::ptr::write(ppstream, core::mem::transmute(ok__)); + ppstream.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2062,7 +2062,7 @@ impl IPrintSchemaCapabilities_Vtbl { let this = (*this).get_impl(); match IPrintSchemaCapabilities_Impl::GetFeatureByKeyName(this, core::mem::transmute(&bstrkeyname)) { Ok(ok__) => { - core::ptr::write(ppfeature, core::mem::transmute(ok__)); + ppfeature.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2073,7 +2073,7 @@ impl IPrintSchemaCapabilities_Vtbl { let this = (*this).get_impl(); match IPrintSchemaCapabilities_Impl::GetFeature(this, core::mem::transmute(&bstrname), core::mem::transmute(&bstrnamespaceuri)) { Ok(ok__) => { - core::ptr::write(ppfeature, core::mem::transmute(ok__)); + ppfeature.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2084,7 +2084,7 @@ impl IPrintSchemaCapabilities_Vtbl { let this = (*this).get_impl(); match IPrintSchemaCapabilities_Impl::PageImageableSize(this) { Ok(ok__) => { - core::ptr::write(pppageimageablesize, core::mem::transmute(ok__)); + pppageimageablesize.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2095,7 +2095,7 @@ impl IPrintSchemaCapabilities_Vtbl { let this = (*this).get_impl(); match IPrintSchemaCapabilities_Impl::JobCopiesAllDocumentsMinValue(this) { Ok(ok__) => { - core::ptr::write(puljobcopiesalldocumentsminvalue, core::mem::transmute(ok__)); + puljobcopiesalldocumentsminvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2106,7 +2106,7 @@ impl IPrintSchemaCapabilities_Vtbl { let this = (*this).get_impl(); match IPrintSchemaCapabilities_Impl::JobCopiesAllDocumentsMaxValue(this) { Ok(ok__) => { - core::ptr::write(puljobcopiesalldocumentsmaxvalue, core::mem::transmute(ok__)); + puljobcopiesalldocumentsmaxvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2117,7 +2117,7 @@ impl IPrintSchemaCapabilities_Vtbl { let this = (*this).get_impl(); match IPrintSchemaCapabilities_Impl::GetSelectedOptionInPrintTicket(this, windows_core::from_raw_borrowed(&pfeature)) { Ok(ok__) => { - core::ptr::write(ppoption, core::mem::transmute(ok__)); + ppoption.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2128,7 +2128,7 @@ impl IPrintSchemaCapabilities_Vtbl { let this = (*this).get_impl(); match IPrintSchemaCapabilities_Impl::GetOptions(this, windows_core::from_raw_borrowed(&pfeature)) { Ok(ok__) => { - core::ptr::write(ppoptioncollection, core::mem::transmute(ok__)); + ppoptioncollection.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2163,7 +2163,7 @@ impl IPrintSchemaCapabilities2_Vtbl { let this = (*this).get_impl(); match IPrintSchemaCapabilities2_Impl::GetParameterDefinition(this, core::mem::transmute(&bstrname), core::mem::transmute(&bstrnamespaceuri)) { Ok(ok__) => { - core::ptr::write(ppparameterdefinition, core::mem::transmute(ok__)); + ppparameterdefinition.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2189,7 +2189,7 @@ impl IPrintSchemaDisplayableElement_Vtbl { let this = (*this).get_impl(); match IPrintSchemaDisplayableElement_Impl::DisplayName(this) { Ok(ok__) => { - core::ptr::write(pbstrdisplayname, core::mem::transmute(ok__)); + pbstrdisplayname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2217,7 +2217,7 @@ impl IPrintSchemaElement_Vtbl { let this = (*this).get_impl(); match IPrintSchemaElement_Impl::XmlNode(this) { Ok(ok__) => { - core::ptr::write(ppxmlnode, core::mem::transmute(ok__)); + ppxmlnode.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2228,7 +2228,7 @@ impl IPrintSchemaElement_Vtbl { let this = (*this).get_impl(); match IPrintSchemaElement_Impl::Name(this) { Ok(ok__) => { - core::ptr::write(pbstrname, core::mem::transmute(ok__)); + pbstrname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2239,7 +2239,7 @@ impl IPrintSchemaElement_Vtbl { let this = (*this).get_impl(); match IPrintSchemaElement_Impl::NamespaceUri(this) { Ok(ok__) => { - core::ptr::write(pbstrnamespaceuri, core::mem::transmute(ok__)); + pbstrnamespaceuri.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2274,7 +2274,7 @@ impl IPrintSchemaFeature_Vtbl { let this = (*this).get_impl(); match IPrintSchemaFeature_Impl::SelectedOption(this) { Ok(ok__) => { - core::ptr::write(ppoption, core::mem::transmute(ok__)); + ppoption.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2290,7 +2290,7 @@ impl IPrintSchemaFeature_Vtbl { let this = (*this).get_impl(); match IPrintSchemaFeature_Impl::SelectionType(this) { Ok(ok__) => { - core::ptr::write(pselectiontype, core::mem::transmute(ok__)); + pselectiontype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2301,7 +2301,7 @@ impl IPrintSchemaFeature_Vtbl { let this = (*this).get_impl(); match IPrintSchemaFeature_Impl::GetOption(this, core::mem::transmute(&bstrname), core::mem::transmute(&bstrnamespaceuri)) { Ok(ok__) => { - core::ptr::write(ppoption, core::mem::transmute(ok__)); + ppoption.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2312,7 +2312,7 @@ impl IPrintSchemaFeature_Vtbl { let this = (*this).get_impl(); match IPrintSchemaFeature_Impl::DisplayUI(this) { Ok(ok__) => { - core::ptr::write(pbshow, core::mem::transmute(ok__)); + pbshow.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2345,7 +2345,7 @@ impl IPrintSchemaNUpOption_Vtbl { let this = (*this).get_impl(); match IPrintSchemaNUpOption_Impl::PagesPerSheet(this) { Ok(ok__) => { - core::ptr::write(pulpagespersheet, core::mem::transmute(ok__)); + pulpagespersheet.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2373,7 +2373,7 @@ impl IPrintSchemaOption_Vtbl { let this = (*this).get_impl(); match IPrintSchemaOption_Impl::Selected(this) { Ok(ok__) => { - core::ptr::write(pbisselected, core::mem::transmute(ok__)); + pbisselected.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2384,7 +2384,7 @@ impl IPrintSchemaOption_Vtbl { let this = (*this).get_impl(); match IPrintSchemaOption_Impl::Constrained(this) { Ok(ok__) => { - core::ptr::write(psetting, core::mem::transmute(ok__)); + psetting.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2395,7 +2395,7 @@ impl IPrintSchemaOption_Vtbl { let this = (*this).get_impl(); match IPrintSchemaOption_Impl::GetPropertyValue(this, core::mem::transmute(&bstrname), core::mem::transmute(&bstrnamespaceuri)) { Ok(ok__) => { - core::ptr::write(ppxmlvaluenode, core::mem::transmute(ok__)); + ppxmlvaluenode.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2428,7 +2428,7 @@ impl IPrintSchemaOptionCollection_Vtbl { let this = (*this).get_impl(); match IPrintSchemaOptionCollection_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(pulcount, core::mem::transmute(ok__)); + pulcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2439,7 +2439,7 @@ impl IPrintSchemaOptionCollection_Vtbl { let this = (*this).get_impl(); match IPrintSchemaOptionCollection_Impl::GetAt(this, core::mem::transmute_copy(&ulindex)) { Ok(ok__) => { - core::ptr::write(ppoption, core::mem::transmute(ok__)); + ppoption.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2450,7 +2450,7 @@ impl IPrintSchemaOptionCollection_Vtbl { let this = (*this).get_impl(); match IPrintSchemaOptionCollection_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(ppunk, core::mem::transmute(ok__)); + ppunk.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2486,7 +2486,7 @@ impl IPrintSchemaPageImageableSize_Vtbl { let this = (*this).get_impl(); match IPrintSchemaPageImageableSize_Impl::ImageableSizeWidthInMicrons(this) { Ok(ok__) => { - core::ptr::write(pulimageablesizewidth, core::mem::transmute(ok__)); + pulimageablesizewidth.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2497,7 +2497,7 @@ impl IPrintSchemaPageImageableSize_Vtbl { let this = (*this).get_impl(); match IPrintSchemaPageImageableSize_Impl::ImageableSizeHeightInMicrons(this) { Ok(ok__) => { - core::ptr::write(pulimageablesizeheight, core::mem::transmute(ok__)); + pulimageablesizeheight.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2508,7 +2508,7 @@ impl IPrintSchemaPageImageableSize_Vtbl { let this = (*this).get_impl(); match IPrintSchemaPageImageableSize_Impl::OriginWidthInMicrons(this) { Ok(ok__) => { - core::ptr::write(puloriginwidth, core::mem::transmute(ok__)); + puloriginwidth.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2519,7 +2519,7 @@ impl IPrintSchemaPageImageableSize_Vtbl { let this = (*this).get_impl(); match IPrintSchemaPageImageableSize_Impl::OriginHeightInMicrons(this) { Ok(ok__) => { - core::ptr::write(puloriginheight, core::mem::transmute(ok__)); + puloriginheight.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2530,7 +2530,7 @@ impl IPrintSchemaPageImageableSize_Vtbl { let this = (*this).get_impl(); match IPrintSchemaPageImageableSize_Impl::ExtentWidthInMicrons(this) { Ok(ok__) => { - core::ptr::write(pulextentwidth, core::mem::transmute(ok__)); + pulextentwidth.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2541,7 +2541,7 @@ impl IPrintSchemaPageImageableSize_Vtbl { let this = (*this).get_impl(); match IPrintSchemaPageImageableSize_Impl::ExtentHeightInMicrons(this) { Ok(ok__) => { - core::ptr::write(pulextentheight, core::mem::transmute(ok__)); + pulextentheight.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2576,7 +2576,7 @@ impl IPrintSchemaPageMediaSizeOption_Vtbl { let this = (*this).get_impl(); match IPrintSchemaPageMediaSizeOption_Impl::WidthInMicrons(this) { Ok(ok__) => { - core::ptr::write(pulwidth, core::mem::transmute(ok__)); + pulwidth.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2587,7 +2587,7 @@ impl IPrintSchemaPageMediaSizeOption_Vtbl { let this = (*this).get_impl(); match IPrintSchemaPageMediaSizeOption_Impl::HeightInMicrons(this) { Ok(ok__) => { - core::ptr::write(pulheight, core::mem::transmute(ok__)); + pulheight.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2621,7 +2621,7 @@ impl IPrintSchemaParameterDefinition_Vtbl { let this = (*this).get_impl(); match IPrintSchemaParameterDefinition_Impl::UserInputRequired(this) { Ok(ok__) => { - core::ptr::write(pbisrequired, core::mem::transmute(ok__)); + pbisrequired.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2632,7 +2632,7 @@ impl IPrintSchemaParameterDefinition_Vtbl { let this = (*this).get_impl(); match IPrintSchemaParameterDefinition_Impl::UnitType(this) { Ok(ok__) => { - core::ptr::write(pbstrunittype, core::mem::transmute(ok__)); + pbstrunittype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2643,7 +2643,7 @@ impl IPrintSchemaParameterDefinition_Vtbl { let this = (*this).get_impl(); match IPrintSchemaParameterDefinition_Impl::DataType(this) { Ok(ok__) => { - core::ptr::write(pdatatype, core::mem::transmute(ok__)); + pdatatype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2654,7 +2654,7 @@ impl IPrintSchemaParameterDefinition_Vtbl { let this = (*this).get_impl(); match IPrintSchemaParameterDefinition_Impl::RangeMin(this) { Ok(ok__) => { - core::ptr::write(prangemin, core::mem::transmute(ok__)); + prangemin.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2665,7 +2665,7 @@ impl IPrintSchemaParameterDefinition_Vtbl { let this = (*this).get_impl(); match IPrintSchemaParameterDefinition_Impl::RangeMax(this) { Ok(ok__) => { - core::ptr::write(prangemax, core::mem::transmute(ok__)); + prangemax.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2699,7 +2699,7 @@ impl IPrintSchemaParameterInitializer_Vtbl { let this = (*this).get_impl(); match IPrintSchemaParameterInitializer_Impl::Value(this) { Ok(ok__) => { - core::ptr::write(pvar, core::mem::transmute(ok__)); + pvar.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2741,7 +2741,7 @@ impl IPrintSchemaTicket_Vtbl { let this = (*this).get_impl(); match IPrintSchemaTicket_Impl::GetFeatureByKeyName(this, core::mem::transmute(&bstrkeyname)) { Ok(ok__) => { - core::ptr::write(ppfeature, core::mem::transmute(ok__)); + ppfeature.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2752,7 +2752,7 @@ impl IPrintSchemaTicket_Vtbl { let this = (*this).get_impl(); match IPrintSchemaTicket_Impl::GetFeature(this, core::mem::transmute(&bstrname), core::mem::transmute(&bstrnamespaceuri)) { Ok(ok__) => { - core::ptr::write(ppfeature, core::mem::transmute(ok__)); + ppfeature.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2763,7 +2763,7 @@ impl IPrintSchemaTicket_Vtbl { let this = (*this).get_impl(); match IPrintSchemaTicket_Impl::ValidateAsync(this) { Ok(ok__) => { - core::ptr::write(ppasyncoperation, core::mem::transmute(ok__)); + ppasyncoperation.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2774,7 +2774,7 @@ impl IPrintSchemaTicket_Vtbl { let this = (*this).get_impl(); match IPrintSchemaTicket_Impl::CommitAsync(this, windows_core::from_raw_borrowed(&pprintticketcommit)) { Ok(ok__) => { - core::ptr::write(ppasyncoperation, core::mem::transmute(ok__)); + ppasyncoperation.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2790,7 +2790,7 @@ impl IPrintSchemaTicket_Vtbl { let this = (*this).get_impl(); match IPrintSchemaTicket_Impl::GetCapabilities(this) { Ok(ok__) => { - core::ptr::write(ppcapabilities, core::mem::transmute(ok__)); + ppcapabilities.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2801,7 +2801,7 @@ impl IPrintSchemaTicket_Vtbl { let this = (*this).get_impl(); match IPrintSchemaTicket_Impl::JobCopiesAllDocuments(this) { Ok(ok__) => { - core::ptr::write(puljobcopiesalldocuments, core::mem::transmute(ok__)); + puljobcopiesalldocuments.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2842,7 +2842,7 @@ impl IPrintSchemaTicket2_Vtbl { let this = (*this).get_impl(); match IPrintSchemaTicket2_Impl::GetParameterInitializer(this, core::mem::transmute(&bstrname), core::mem::transmute(&bstrnamespaceuri)) { Ok(ok__) => { - core::ptr::write(ppparameterinitializer, core::mem::transmute(ok__)); + ppparameterinitializer.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2899,7 +2899,7 @@ impl IPrintTicketProvider_Vtbl { let this = (*this).get_impl(); match IPrintTicketProvider_Impl::GetPrintCapabilities(this, windows_core::from_raw_borrowed(&pprintticket)) { Ok(ok__) => { - core::ptr::write(ppcapabilities, core::mem::transmute(ok__)); + ppcapabilities.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2940,7 +2940,7 @@ impl IPrintTicketProvider2_Vtbl { let this = (*this).get_impl(); match IPrintTicketProvider2_Impl::GetPrintDeviceCapabilities(this, windows_core::from_raw_borrowed(&pprintticket)) { Ok(ok__) => { - core::ptr::write(ppdevicecapabilities, core::mem::transmute(ok__)); + ppdevicecapabilities.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2951,7 +2951,7 @@ impl IPrintTicketProvider2_Vtbl { let this = (*this).get_impl(); match IPrintTicketProvider2_Impl::GetPrintDeviceResources(this, core::mem::transmute(&pszlocalename), windows_core::from_raw_borrowed(&pprintticket)) { Ok(ok__) => { - core::ptr::write(ppdeviceresources, core::mem::transmute(ok__)); + ppdeviceresources.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2999,7 +2999,7 @@ impl IPrintWriteStream_Vtbl { let this = (*this).get_impl(); match IPrintWriteStream_Impl::WriteBytes(this, core::mem::transmute_copy(&pvbuffer), core::mem::transmute_copy(&cbbuffer)) { Ok(ok__) => { - core::ptr::write(pcbwritten, core::mem::transmute(ok__)); + pcbwritten.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3088,7 +3088,7 @@ impl IPrinterExtensionContext_Vtbl { let this = (*this).get_impl(); match IPrinterExtensionContext_Impl::PrinterQueue(this) { Ok(ok__) => { - core::ptr::write(ppqueue, core::mem::transmute(ok__)); + ppqueue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3099,7 +3099,7 @@ impl IPrinterExtensionContext_Vtbl { let this = (*this).get_impl(); match IPrinterExtensionContext_Impl::PrintSchemaTicket(this) { Ok(ok__) => { - core::ptr::write(ppticket, core::mem::transmute(ok__)); + ppticket.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3110,7 +3110,7 @@ impl IPrinterExtensionContext_Vtbl { let this = (*this).get_impl(); match IPrinterExtensionContext_Impl::DriverProperties(this) { Ok(ok__) => { - core::ptr::write(pppropertybag, core::mem::transmute(ok__)); + pppropertybag.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3121,7 +3121,7 @@ impl IPrinterExtensionContext_Vtbl { let this = (*this).get_impl(); match IPrinterExtensionContext_Impl::UserProperties(this) { Ok(ok__) => { - core::ptr::write(pppropertybag, core::mem::transmute(ok__)); + pppropertybag.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3155,7 +3155,7 @@ impl IPrinterExtensionContextCollection_Vtbl { let this = (*this).get_impl(); match IPrinterExtensionContextCollection_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(pulcount, core::mem::transmute(ok__)); + pulcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3166,7 +3166,7 @@ impl IPrinterExtensionContextCollection_Vtbl { let this = (*this).get_impl(); match IPrinterExtensionContextCollection_Impl::GetAt(this, core::mem::transmute_copy(&ulindex)) { Ok(ok__) => { - core::ptr::write(ppcontext, core::mem::transmute(ok__)); + ppcontext.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3177,7 +3177,7 @@ impl IPrinterExtensionContextCollection_Vtbl { let this = (*this).get_impl(); match IPrinterExtensionContextCollection_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(ppunk, core::mem::transmute(ok__)); + ppunk.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3244,7 +3244,7 @@ impl IPrinterExtensionEventArgs_Vtbl { let this = (*this).get_impl(); match IPrinterExtensionEventArgs_Impl::BidiNotification(this) { Ok(ok__) => { - core::ptr::write(pbstrbidinotification, core::mem::transmute(ok__)); + pbstrbidinotification.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3255,7 +3255,7 @@ impl IPrinterExtensionEventArgs_Vtbl { let this = (*this).get_impl(); match IPrinterExtensionEventArgs_Impl::ReasonId(this) { Ok(ok__) => { - core::ptr::write(preasonid, core::mem::transmute(ok__)); + preasonid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3266,7 +3266,7 @@ impl IPrinterExtensionEventArgs_Vtbl { let this = (*this).get_impl(); match IPrinterExtensionEventArgs_Impl::Request(this) { Ok(ok__) => { - core::ptr::write(pprequest, core::mem::transmute(ok__)); + pprequest.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3277,7 +3277,7 @@ impl IPrinterExtensionEventArgs_Vtbl { let this = (*this).get_impl(); match IPrinterExtensionEventArgs_Impl::SourceApplication(this) { Ok(ok__) => { - core::ptr::write(pbstrapplication, core::mem::transmute(ok__)); + pbstrapplication.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3288,7 +3288,7 @@ impl IPrinterExtensionEventArgs_Vtbl { let this = (*this).get_impl(); match IPrinterExtensionEventArgs_Impl::DetailedReasonId(this) { Ok(ok__) => { - core::ptr::write(pdetailedreasonid, core::mem::transmute(ok__)); + pdetailedreasonid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3299,7 +3299,7 @@ impl IPrinterExtensionEventArgs_Vtbl { let this = (*this).get_impl(); match IPrinterExtensionEventArgs_Impl::WindowModal(this) { Ok(ok__) => { - core::ptr::write(pbmodal, core::mem::transmute(ok__)); + pbmodal.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3310,7 +3310,7 @@ impl IPrinterExtensionEventArgs_Vtbl { let this = (*this).get_impl(); match IPrinterExtensionEventArgs_Impl::WindowParent(this) { Ok(ok__) => { - core::ptr::write(phwndparent, core::mem::transmute(ok__)); + phwndparent.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3411,7 +3411,7 @@ impl IPrinterPropertyBag_Vtbl { let this = (*this).get_impl(); match IPrinterPropertyBag_Impl::GetBool(this, core::mem::transmute(&bstrname)) { Ok(ok__) => { - core::ptr::write(pbvalue, core::mem::transmute(ok__)); + pbvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3427,7 +3427,7 @@ impl IPrinterPropertyBag_Vtbl { let this = (*this).get_impl(); match IPrinterPropertyBag_Impl::GetInt32(this, core::mem::transmute(&bstrname)) { Ok(ok__) => { - core::ptr::write(pnvalue, core::mem::transmute(ok__)); + pnvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3443,7 +3443,7 @@ impl IPrinterPropertyBag_Vtbl { let this = (*this).get_impl(); match IPrinterPropertyBag_Impl::GetString(this, core::mem::transmute(&bstrname)) { Ok(ok__) => { - core::ptr::write(pbstrvalue, core::mem::transmute(ok__)); + pbstrvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3469,7 +3469,7 @@ impl IPrinterPropertyBag_Vtbl { let this = (*this).get_impl(); match IPrinterPropertyBag_Impl::GetReadStream(this, core::mem::transmute(&bstrname)) { Ok(ok__) => { - core::ptr::write(ppvalue, core::mem::transmute(ok__)); + ppvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3480,7 +3480,7 @@ impl IPrinterPropertyBag_Vtbl { let this = (*this).get_impl(); match IPrinterPropertyBag_Impl::GetWriteStream(this, core::mem::transmute(&bstrname)) { Ok(ok__) => { - core::ptr::write(ppvalue, core::mem::transmute(ok__)); + ppvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3521,7 +3521,7 @@ impl IPrinterQueue_Vtbl { let this = (*this).get_impl(); match IPrinterQueue_Impl::Handle(this) { Ok(ok__) => { - core::ptr::write(phprinter, core::mem::transmute(ok__)); + phprinter.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3532,7 +3532,7 @@ impl IPrinterQueue_Vtbl { let this = (*this).get_impl(); match IPrinterQueue_Impl::Name(this) { Ok(ok__) => { - core::ptr::write(pbstrname, core::mem::transmute(ok__)); + pbstrname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3548,7 +3548,7 @@ impl IPrinterQueue_Vtbl { let this = (*this).get_impl(); match IPrinterQueue_Impl::GetProperties(this) { Ok(ok__) => { - core::ptr::write(pppropertybag, core::mem::transmute(ok__)); + pppropertybag.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3581,7 +3581,7 @@ impl IPrinterQueue2_Vtbl { let this = (*this).get_impl(); match IPrinterQueue2_Impl::SendBidiSetRequestAsync(this, core::mem::transmute(&bstrbidirequest), windows_core::from_raw_borrowed(&pcallback)) { Ok(ok__) => { - core::ptr::write(ppasyncoperation, core::mem::transmute(ok__)); + ppasyncoperation.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3592,7 +3592,7 @@ impl IPrinterQueue2_Vtbl { let this = (*this).get_impl(); match IPrinterQueue2_Impl::GetPrinterQueueView(this, core::mem::transmute_copy(&ulviewoffset), core::mem::transmute_copy(&ulviewsize)) { Ok(ok__) => { - core::ptr::write(ppjobview, core::mem::transmute(ok__)); + ppjobview.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3687,7 +3687,7 @@ impl IPrinterScriptContext_Vtbl { let this = (*this).get_impl(); match IPrinterScriptContext_Impl::DriverProperties(this) { Ok(ok__) => { - core::ptr::write(pppropertybag, core::mem::transmute(ok__)); + pppropertybag.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3698,7 +3698,7 @@ impl IPrinterScriptContext_Vtbl { let this = (*this).get_impl(); match IPrinterScriptContext_Impl::QueueProperties(this) { Ok(ok__) => { - core::ptr::write(pppropertybag, core::mem::transmute(ok__)); + pppropertybag.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3709,7 +3709,7 @@ impl IPrinterScriptContext_Vtbl { let this = (*this).get_impl(); match IPrinterScriptContext_Impl::UserProperties(this) { Ok(ok__) => { - core::ptr::write(pppropertybag, core::mem::transmute(ok__)); + pppropertybag.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3749,7 +3749,7 @@ impl IPrinterScriptablePropertyBag_Vtbl { let this = (*this).get_impl(); match IPrinterScriptablePropertyBag_Impl::GetBool(this, core::mem::transmute(&bstrname)) { Ok(ok__) => { - core::ptr::write(pbvalue, core::mem::transmute(ok__)); + pbvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3765,7 +3765,7 @@ impl IPrinterScriptablePropertyBag_Vtbl { let this = (*this).get_impl(); match IPrinterScriptablePropertyBag_Impl::GetInt32(this, core::mem::transmute(&bstrname)) { Ok(ok__) => { - core::ptr::write(pnvalue, core::mem::transmute(ok__)); + pnvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3781,7 +3781,7 @@ impl IPrinterScriptablePropertyBag_Vtbl { let this = (*this).get_impl(); match IPrinterScriptablePropertyBag_Impl::GetString(this, core::mem::transmute(&bstrname)) { Ok(ok__) => { - core::ptr::write(pbstrvalue, core::mem::transmute(ok__)); + pbstrvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3797,7 +3797,7 @@ impl IPrinterScriptablePropertyBag_Vtbl { let this = (*this).get_impl(); match IPrinterScriptablePropertyBag_Impl::GetBytes(this, core::mem::transmute(&bstrname)) { Ok(ok__) => { - core::ptr::write(pparray, core::mem::transmute(ok__)); + pparray.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3813,7 +3813,7 @@ impl IPrinterScriptablePropertyBag_Vtbl { let this = (*this).get_impl(); match IPrinterScriptablePropertyBag_Impl::GetReadStream(this, core::mem::transmute(&bstrname)) { Ok(ok__) => { - core::ptr::write(ppstream, core::mem::transmute(ok__)); + ppstream.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3824,7 +3824,7 @@ impl IPrinterScriptablePropertyBag_Vtbl { let this = (*this).get_impl(); match IPrinterScriptablePropertyBag_Impl::GetWriteStream(this, core::mem::transmute(&bstrname)) { Ok(ok__) => { - core::ptr::write(ppstream, core::mem::transmute(ok__)); + ppstream.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3862,7 +3862,7 @@ impl IPrinterScriptablePropertyBag2_Vtbl { let this = (*this).get_impl(); match IPrinterScriptablePropertyBag2_Impl::GetReadStreamAsXML(this, core::mem::transmute(&bstrname)) { Ok(ok__) => { - core::ptr::write(ppxmlnode, core::mem::transmute(ok__)); + ppxmlnode.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3889,7 +3889,7 @@ impl IPrinterScriptableSequentialStream_Vtbl { let this = (*this).get_impl(); match IPrinterScriptableSequentialStream_Impl::Read(this, core::mem::transmute_copy(&cbread)) { Ok(ok__) => { - core::ptr::write(pparray, core::mem::transmute(ok__)); + pparray.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3900,7 +3900,7 @@ impl IPrinterScriptableSequentialStream_Vtbl { let this = (*this).get_impl(); match IPrinterScriptableSequentialStream_Impl::Write(this, windows_core::from_raw_borrowed(&parray)) { Ok(ok__) => { - core::ptr::write(pcbwritten, core::mem::transmute(ok__)); + pcbwritten.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3937,7 +3937,7 @@ impl IPrinterScriptableStream_Vtbl { let this = (*this).get_impl(); match IPrinterScriptableStream_Impl::Seek(this, core::mem::transmute_copy(&loffset), core::mem::transmute_copy(&streamseek)) { Ok(ok__) => { - core::ptr::write(plposition, core::mem::transmute(ok__)); + plposition.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3971,7 +3971,7 @@ impl IXpsDocument_Vtbl { let this = (*this).get_impl(); match IXpsDocument_Impl::GetThumbnail(this) { Ok(ok__) => { - core::ptr::write(ppthumbnail, core::mem::transmute(ok__)); + ppthumbnail.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4065,7 +4065,7 @@ impl IXpsDocumentProvider_Vtbl { let this = (*this).get_impl(); match IXpsDocumentProvider_Impl::GetXpsPart(this) { Ok(ok__) => { - core::ptr::write(ppixpspart, core::mem::transmute(ok__)); + ppixpspart.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4132,7 +4132,7 @@ impl IXpsRasterizationFactory_Vtbl { let this = (*this).get_impl(); match IXpsRasterizationFactory_Impl::CreateRasterizer(this, windows_core::from_raw_borrowed(&xpspage), core::mem::transmute_copy(&dpi), core::mem::transmute_copy(&nontextrenderingmode), core::mem::transmute_copy(&textrenderingmode)) { Ok(ok__) => { - core::ptr::write(ppixpsrasterizer, core::mem::transmute(ok__)); + ppixpsrasterizer.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4158,7 +4158,7 @@ impl IXpsRasterizationFactory1_Vtbl { let this = (*this).get_impl(); match IXpsRasterizationFactory1_Impl::CreateRasterizer(this, windows_core::from_raw_borrowed(&xpspage), core::mem::transmute_copy(&dpi), core::mem::transmute_copy(&nontextrenderingmode), core::mem::transmute_copy(&textrenderingmode), core::mem::transmute_copy(&pixelformat)) { Ok(ok__) => { - core::ptr::write(ppixpsrasterizer, core::mem::transmute(ok__)); + ppixpsrasterizer.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4184,7 +4184,7 @@ impl IXpsRasterizationFactory2_Vtbl { let this = (*this).get_impl(); match IXpsRasterizationFactory2_Impl::CreateRasterizer(this, windows_core::from_raw_borrowed(&xpspage), core::mem::transmute_copy(&dpix), core::mem::transmute_copy(&dpiy), core::mem::transmute_copy(&nontextrenderingmode), core::mem::transmute_copy(&textrenderingmode), core::mem::transmute_copy(&pixelformat), core::mem::transmute_copy(&backgroundcolor)) { Ok(ok__) => { - core::ptr::write(ppixpsrasterizer, core::mem::transmute(ok__)); + ppixpsrasterizer.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4211,7 +4211,7 @@ impl IXpsRasterizer_Vtbl { let this = (*this).get_impl(); match IXpsRasterizer_Impl::RasterizeRect(this, core::mem::transmute_copy(&x), core::mem::transmute_copy(&y), core::mem::transmute_copy(&width), core::mem::transmute_copy(&height), windows_core::from_raw_borrowed(¬ificationcallback)) { Ok(ok__) => { - core::ptr::write(bitmap, core::mem::transmute(ok__)); + bitmap.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/Win32/Media/Audio/Apo/impl.rs b/crates/libs/windows/src/Windows/Win32/Media/Audio/Apo/impl.rs index 4244f5474a..9bde2bed06 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/Audio/Apo/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/Audio/Apo/impl.rs @@ -31,7 +31,7 @@ impl IApoAuxiliaryInputConfiguration_Vtbl { let this = (*this).get_impl(); match IApoAuxiliaryInputConfiguration_Impl::IsInputFormatSupported(this, windows_core::from_raw_borrowed(&prequestedinputformat)) { Ok(ok__) => { - core::ptr::write(ppsupportedinputformat, core::mem::transmute(ok__)); + ppsupportedinputformat.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -99,7 +99,7 @@ impl IAudioMediaType_Vtbl { let this = (*this).get_impl(); match IAudioMediaType_Impl::IsCompressedFormat(this) { Ok(ok__) => { - core::ptr::write(pfcompressed, core::mem::transmute(ok__)); + pfcompressed.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -110,7 +110,7 @@ impl IAudioMediaType_Vtbl { let this = (*this).get_impl(); match IAudioMediaType_Impl::IsEqual(this, windows_core::from_raw_borrowed(&piaudiotype)) { Ok(ok__) => { - core::ptr::write(pdwflags, core::mem::transmute(ok__)); + pdwflags.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -160,7 +160,7 @@ impl IAudioProcessingObject_Vtbl { let this = (*this).get_impl(); match IAudioProcessingObject_Impl::GetLatency(this) { Ok(ok__) => { - core::ptr::write(ptime, core::mem::transmute(ok__)); + ptime.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -171,7 +171,7 @@ impl IAudioProcessingObject_Vtbl { let this = (*this).get_impl(); match IAudioProcessingObject_Impl::GetRegistrationProperties(this) { Ok(ok__) => { - core::ptr::write(ppregprops, core::mem::transmute(ok__)); + ppregprops.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -187,7 +187,7 @@ impl IAudioProcessingObject_Vtbl { let this = (*this).get_impl(); match IAudioProcessingObject_Impl::IsInputFormatSupported(this, windows_core::from_raw_borrowed(&poppositeformat), windows_core::from_raw_borrowed(&prequestedinputformat)) { Ok(ok__) => { - core::ptr::write(ppsupportedinputformat, core::mem::transmute(ok__)); + ppsupportedinputformat.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -198,7 +198,7 @@ impl IAudioProcessingObject_Vtbl { let this = (*this).get_impl(); match IAudioProcessingObject_Impl::IsOutputFormatSupported(this, windows_core::from_raw_borrowed(&poppositeformat), windows_core::from_raw_borrowed(&prequestedoutputformat)) { Ok(ok__) => { - core::ptr::write(ppsupportedoutputformat, core::mem::transmute(ok__)); + ppsupportedoutputformat.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -209,7 +209,7 @@ impl IAudioProcessingObject_Vtbl { let this = (*this).get_impl(); match IAudioProcessingObject_Impl::GetInputChannelCount(this) { Ok(ok__) => { - core::ptr::write(pu32channelcount, core::mem::transmute(ok__)); + pu32channelcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -372,7 +372,7 @@ impl IAudioProcessingObjectRTQueueService_Vtbl { let this = (*this).get_impl(); match IAudioProcessingObjectRTQueueService_Impl::GetRealTimeWorkQueue(this) { Ok(ok__) => { - core::ptr::write(workqueueid, core::mem::transmute(ok__)); + workqueueid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -396,7 +396,7 @@ impl IAudioProcessingObjectVBR_Vtbl { let this = (*this).get_impl(); match IAudioProcessingObjectVBR_Impl::CalcMaxInputFrames(this, core::mem::transmute_copy(&u32maxoutputframecount)) { Ok(ok__) => { - core::ptr::write(pu32inputframecount, core::mem::transmute(ok__)); + pu32inputframecount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -407,7 +407,7 @@ impl IAudioProcessingObjectVBR_Vtbl { let this = (*this).get_impl(); match IAudioProcessingObjectVBR_Impl::CalcMaxOutputFrames(this, core::mem::transmute_copy(&u32maxinputframecount)) { Ok(ok__) => { - core::ptr::write(pu32outputframecount, core::mem::transmute(ok__)); + pu32outputframecount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -490,7 +490,7 @@ impl IAudioSystemEffectsCustomFormats_Vtbl { let this = (*this).get_impl(); match IAudioSystemEffectsCustomFormats_Impl::GetFormatCount(this) { Ok(ok__) => { - core::ptr::write(pcformats, core::mem::transmute(ok__)); + pcformats.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -501,7 +501,7 @@ impl IAudioSystemEffectsCustomFormats_Vtbl { let this = (*this).get_impl(); match IAudioSystemEffectsCustomFormats_Impl::GetFormat(this, core::mem::transmute_copy(&nformat)) { Ok(ok__) => { - core::ptr::write(ppformat, core::mem::transmute(ok__)); + ppformat.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -512,7 +512,7 @@ impl IAudioSystemEffectsCustomFormats_Vtbl { let this = (*this).get_impl(); match IAudioSystemEffectsCustomFormats_Impl::GetFormatRepresentation(this, core::mem::transmute_copy(&nformat)) { Ok(ok__) => { - core::ptr::write(ppwstrformatrep, core::mem::transmute(ok__)); + ppwstrformatrep.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/Win32/Media/Audio/DirectMusic/impl.rs b/crates/libs/windows/src/Windows/Win32/Media/Audio/DirectMusic/impl.rs index a71a3e3379..1bfb4adecd 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/Audio/DirectMusic/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/Audio/DirectMusic/impl.rs @@ -213,7 +213,7 @@ impl IDirectMusicCollection_Vtbl { let this = (*this).get_impl(); match IDirectMusicCollection_Impl::GetInstrument(this, core::mem::transmute_copy(&dwpatch)) { Ok(ok__) => { - core::ptr::write(ppinstrument, core::mem::transmute(ok__)); + ppinstrument.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -343,7 +343,7 @@ impl IDirectMusicPort_Vtbl { let this = (*this).get_impl(); match IDirectMusicPort_Impl::GetLatencyClock(this) { Ok(ok__) => { - core::ptr::write(ppclock, core::mem::transmute(ok__)); + ppclock.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -445,7 +445,7 @@ impl IDirectMusicPortDownload_Vtbl { let this = (*this).get_impl(); match IDirectMusicPortDownload_Impl::GetBuffer(this, core::mem::transmute_copy(&dwdlid)) { Ok(ok__) => { - core::ptr::write(ppidmdownload, core::mem::transmute(ok__)); + ppidmdownload.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -456,7 +456,7 @@ impl IDirectMusicPortDownload_Vtbl { let this = (*this).get_impl(); match IDirectMusicPortDownload_Impl::AllocateBuffer(this, core::mem::transmute_copy(&dwsize)) { Ok(ok__) => { - core::ptr::write(ppidmdownload, core::mem::transmute(ok__)); + ppidmdownload.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -568,7 +568,7 @@ impl IDirectMusicSynth_Vtbl { let this = (*this).get_impl(); match IDirectMusicSynth_Impl::GetLatencyClock(this) { Ok(ok__) => { - core::ptr::write(ppclock, core::mem::transmute(ok__)); + ppclock.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -713,7 +713,7 @@ impl IDirectMusicSynthSink_Vtbl { let this = (*this).get_impl(); match IDirectMusicSynthSink_Impl::GetLatencyClock(this) { Ok(ok__) => { - core::ptr::write(ppclock, core::mem::transmute(ok__)); + ppclock.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/Win32/Media/Audio/DirectSound/impl.rs b/crates/libs/windows/src/Windows/Win32/Media/Audio/DirectSound/impl.rs index ea3316fb6a..ee883cd19a 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/Audio/DirectSound/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/Audio/DirectSound/impl.rs @@ -26,7 +26,7 @@ impl IDirectSound_Vtbl { let this = (*this).get_impl(); match IDirectSound_Impl::DuplicateSoundBuffer(this, windows_core::from_raw_borrowed(&pdsbufferoriginal)) { Ok(ok__) => { - core::ptr::write(ppdsbufferduplicate, core::mem::transmute(ok__)); + ppdsbufferduplicate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -47,7 +47,7 @@ impl IDirectSound_Vtbl { let this = (*this).get_impl(); match IDirectSound_Impl::GetSpeakerConfig(this) { Ok(ok__) => { - core::ptr::write(pdwspeakerconfig, core::mem::transmute(ok__)); + pdwspeakerconfig.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -120,7 +120,7 @@ impl IDirectSound3DBuffer_Vtbl { let this = (*this).get_impl(); match IDirectSound3DBuffer_Impl::GetConeOrientation(this) { Ok(ok__) => { - core::ptr::write(pvorientation, core::mem::transmute(ok__)); + pvorientation.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -131,7 +131,7 @@ impl IDirectSound3DBuffer_Vtbl { let this = (*this).get_impl(); match IDirectSound3DBuffer_Impl::GetConeOutsideVolume(this) { Ok(ok__) => { - core::ptr::write(plconeoutsidevolume, core::mem::transmute(ok__)); + plconeoutsidevolume.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -142,7 +142,7 @@ impl IDirectSound3DBuffer_Vtbl { let this = (*this).get_impl(); match IDirectSound3DBuffer_Impl::GetMaxDistance(this) { Ok(ok__) => { - core::ptr::write(pflmaxdistance, core::mem::transmute(ok__)); + pflmaxdistance.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -153,7 +153,7 @@ impl IDirectSound3DBuffer_Vtbl { let this = (*this).get_impl(); match IDirectSound3DBuffer_Impl::GetMinDistance(this) { Ok(ok__) => { - core::ptr::write(pflmindistance, core::mem::transmute(ok__)); + pflmindistance.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -164,7 +164,7 @@ impl IDirectSound3DBuffer_Vtbl { let this = (*this).get_impl(); match IDirectSound3DBuffer_Impl::GetMode(this) { Ok(ok__) => { - core::ptr::write(pdwmode, core::mem::transmute(ok__)); + pdwmode.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -175,7 +175,7 @@ impl IDirectSound3DBuffer_Vtbl { let this = (*this).get_impl(); match IDirectSound3DBuffer_Impl::GetPosition(this) { Ok(ok__) => { - core::ptr::write(pvposition, core::mem::transmute(ok__)); + pvposition.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -186,7 +186,7 @@ impl IDirectSound3DBuffer_Vtbl { let this = (*this).get_impl(); match IDirectSound3DBuffer_Impl::GetVelocity(this) { Ok(ok__) => { - core::ptr::write(pvvelocity, core::mem::transmute(ok__)); + pvvelocity.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -296,7 +296,7 @@ impl IDirectSound3DListener_Vtbl { let this = (*this).get_impl(); match IDirectSound3DListener_Impl::GetDistanceFactor(this) { Ok(ok__) => { - core::ptr::write(pfldistancefactor, core::mem::transmute(ok__)); + pfldistancefactor.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -307,7 +307,7 @@ impl IDirectSound3DListener_Vtbl { let this = (*this).get_impl(); match IDirectSound3DListener_Impl::GetDopplerFactor(this) { Ok(ok__) => { - core::ptr::write(pfldopplerfactor, core::mem::transmute(ok__)); + pfldopplerfactor.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -323,7 +323,7 @@ impl IDirectSound3DListener_Vtbl { let this = (*this).get_impl(); match IDirectSound3DListener_Impl::GetPosition(this) { Ok(ok__) => { - core::ptr::write(pvposition, core::mem::transmute(ok__)); + pvposition.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -334,7 +334,7 @@ impl IDirectSound3DListener_Vtbl { let this = (*this).get_impl(); match IDirectSound3DListener_Impl::GetRolloffFactor(this) { Ok(ok__) => { - core::ptr::write(pflrollofffactor, core::mem::transmute(ok__)); + pflrollofffactor.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -345,7 +345,7 @@ impl IDirectSound3DListener_Vtbl { let this = (*this).get_impl(); match IDirectSound3DListener_Impl::GetVelocity(this) { Ok(ok__) => { - core::ptr::write(pvvelocity, core::mem::transmute(ok__)); + pvvelocity.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -425,7 +425,7 @@ impl IDirectSound8_Vtbl { let this = (*this).get_impl(); match IDirectSound8_Impl::VerifyCertification(this) { Ok(ok__) => { - core::ptr::write(pdwcertified, core::mem::transmute(ok__)); + pdwcertified.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -480,7 +480,7 @@ impl IDirectSoundBuffer_Vtbl { let this = (*this).get_impl(); match IDirectSoundBuffer_Impl::GetVolume(this) { Ok(ok__) => { - core::ptr::write(plvolume, core::mem::transmute(ok__)); + plvolume.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -491,7 +491,7 @@ impl IDirectSoundBuffer_Vtbl { let this = (*this).get_impl(); match IDirectSoundBuffer_Impl::GetPan(this) { Ok(ok__) => { - core::ptr::write(plpan, core::mem::transmute(ok__)); + plpan.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -502,7 +502,7 @@ impl IDirectSoundBuffer_Vtbl { let this = (*this).get_impl(); match IDirectSoundBuffer_Impl::GetFrequency(this) { Ok(ok__) => { - core::ptr::write(pdwfrequency, core::mem::transmute(ok__)); + pdwfrequency.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -513,7 +513,7 @@ impl IDirectSoundBuffer_Vtbl { let this = (*this).get_impl(); match IDirectSoundBuffer_Impl::GetStatus(this) { Ok(ok__) => { - core::ptr::write(pdwstatus, core::mem::transmute(ok__)); + pdwstatus.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -652,7 +652,7 @@ impl IDirectSoundCapture_Vtbl { let this = (*this).get_impl(); match IDirectSoundCapture_Impl::GetCaps(this) { Ok(ok__) => { - core::ptr::write(pdsccaps, core::mem::transmute(ok__)); + pdsccaps.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -693,7 +693,7 @@ impl IDirectSoundCaptureBuffer_Vtbl { let this = (*this).get_impl(); match IDirectSoundCaptureBuffer_Impl::GetCaps(this) { Ok(ok__) => { - core::ptr::write(pdscbcaps, core::mem::transmute(ok__)); + pdscbcaps.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -714,7 +714,7 @@ impl IDirectSoundCaptureBuffer_Vtbl { let this = (*this).get_impl(); match IDirectSoundCaptureBuffer_Impl::GetStatus(this) { Ok(ok__) => { - core::ptr::write(pdwstatus, core::mem::transmute(ok__)); + pdwstatus.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -808,7 +808,7 @@ impl IDirectSoundCaptureFXAec_Vtbl { let this = (*this).get_impl(); match IDirectSoundCaptureFXAec_Impl::GetAllParameters(this) { Ok(ok__) => { - core::ptr::write(pdscfxaec, core::mem::transmute(ok__)); + pdscfxaec.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -819,7 +819,7 @@ impl IDirectSoundCaptureFXAec_Vtbl { let this = (*this).get_impl(); match IDirectSoundCaptureFXAec_Impl::GetStatus(this) { Ok(ok__) => { - core::ptr::write(pdwstatus, core::mem::transmute(ok__)); + pdwstatus.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -860,7 +860,7 @@ impl IDirectSoundCaptureFXNoiseSuppress_Vtbl { let this = (*this).get_impl(); match IDirectSoundCaptureFXNoiseSuppress_Impl::GetAllParameters(this) { Ok(ok__) => { - core::ptr::write(pdscfxnoisesuppress, core::mem::transmute(ok__)); + pdscfxnoisesuppress.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1034,7 +1034,7 @@ impl IDirectSoundFXGargle_Vtbl { let this = (*this).get_impl(); match IDirectSoundFXGargle_Impl::GetAllParameters(this) { Ok(ok__) => { - core::ptr::write(pdsfxgargle, core::mem::transmute(ok__)); + pdsfxgargle.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1081,7 +1081,7 @@ impl IDirectSoundFXI3DL2Reverb_Vtbl { let this = (*this).get_impl(); match IDirectSoundFXI3DL2Reverb_Impl::GetPreset(this) { Ok(ok__) => { - core::ptr::write(pdwpreset, core::mem::transmute(ok__)); + pdwpreset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1097,7 +1097,7 @@ impl IDirectSoundFXI3DL2Reverb_Vtbl { let this = (*this).get_impl(); match IDirectSoundFXI3DL2Reverb_Impl::GetQuality(this) { Ok(ok__) => { - core::ptr::write(plquality, core::mem::transmute(ok__)); + plquality.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1134,7 +1134,7 @@ impl IDirectSoundFXParamEq_Vtbl { let this = (*this).get_impl(); match IDirectSoundFXParamEq_Impl::GetAllParameters(this) { Ok(ok__) => { - core::ptr::write(pdsfxparameq, core::mem::transmute(ok__)); + pdsfxparameq.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1167,7 +1167,7 @@ impl IDirectSoundFXWavesReverb_Vtbl { let this = (*this).get_impl(); match IDirectSoundFXWavesReverb_Impl::GetAllParameters(this) { Ok(ok__) => { - core::ptr::write(pdsfxwavesreverb, core::mem::transmute(ok__)); + pdsfxwavesreverb.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/Win32/Media/Audio/Endpoints/impl.rs b/crates/libs/windows/src/Windows/Win32/Media/Audio/Endpoints/impl.rs index 7ce74fcdac..d5cc01de3e 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/Audio/Endpoints/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/Audio/Endpoints/impl.rs @@ -57,7 +57,7 @@ impl IAudioEndpointOffloadStreamMeter_Vtbl { let this = (*this).get_impl(); match IAudioEndpointOffloadStreamMeter_Impl::GetMeterChannelCount(this) { Ok(ok__) => { - core::ptr::write(pu32channelcount, core::mem::transmute(ok__)); + pu32channelcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -68,7 +68,7 @@ impl IAudioEndpointOffloadStreamMeter_Vtbl { let this = (*this).get_impl(); match IAudioEndpointOffloadStreamMeter_Impl::GetMeteringData(this, core::mem::transmute_copy(&u32channelcount)) { Ok(ok__) => { - core::ptr::write(pf32peakvalues, core::mem::transmute(ok__)); + pf32peakvalues.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -101,7 +101,7 @@ impl IAudioEndpointOffloadStreamMute_Vtbl { let this = (*this).get_impl(); match IAudioEndpointOffloadStreamMute_Impl::GetMute(this) { Ok(ok__) => { - core::ptr::write(pbmuted, core::mem::transmute(ok__)); + pbmuted.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -133,7 +133,7 @@ impl IAudioEndpointOffloadStreamVolume_Vtbl { let this = (*this).get_impl(); match IAudioEndpointOffloadStreamVolume_Impl::GetVolumeChannelCount(this) { Ok(ok__) => { - core::ptr::write(pu32channelcount, core::mem::transmute(ok__)); + pu32channelcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -149,7 +149,7 @@ impl IAudioEndpointOffloadStreamVolume_Vtbl { let this = (*this).get_impl(); match IAudioEndpointOffloadStreamVolume_Impl::GetChannelVolumes(this, core::mem::transmute_copy(&u32channelcount)) { Ok(ok__) => { - core::ptr::write(pf32volumes, core::mem::transmute(ok__)); + pf32volumes.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -204,7 +204,7 @@ impl IAudioEndpointVolume_Vtbl { let this = (*this).get_impl(); match IAudioEndpointVolume_Impl::GetChannelCount(this) { Ok(ok__) => { - core::ptr::write(pnchannelcount, core::mem::transmute(ok__)); + pnchannelcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -225,7 +225,7 @@ impl IAudioEndpointVolume_Vtbl { let this = (*this).get_impl(); match IAudioEndpointVolume_Impl::GetMasterVolumeLevel(this) { Ok(ok__) => { - core::ptr::write(pfleveldb, core::mem::transmute(ok__)); + pfleveldb.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -236,7 +236,7 @@ impl IAudioEndpointVolume_Vtbl { let this = (*this).get_impl(); match IAudioEndpointVolume_Impl::GetMasterVolumeLevelScalar(this) { Ok(ok__) => { - core::ptr::write(pflevel, core::mem::transmute(ok__)); + pflevel.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -257,7 +257,7 @@ impl IAudioEndpointVolume_Vtbl { let this = (*this).get_impl(); match IAudioEndpointVolume_Impl::GetChannelVolumeLevel(this, core::mem::transmute_copy(&nchannel)) { Ok(ok__) => { - core::ptr::write(pfleveldb, core::mem::transmute(ok__)); + pfleveldb.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -268,7 +268,7 @@ impl IAudioEndpointVolume_Vtbl { let this = (*this).get_impl(); match IAudioEndpointVolume_Impl::GetChannelVolumeLevelScalar(this, core::mem::transmute_copy(&nchannel)) { Ok(ok__) => { - core::ptr::write(pflevel, core::mem::transmute(ok__)); + pflevel.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -284,7 +284,7 @@ impl IAudioEndpointVolume_Vtbl { let this = (*this).get_impl(); match IAudioEndpointVolume_Impl::GetMute(this) { Ok(ok__) => { - core::ptr::write(pbmute, core::mem::transmute(ok__)); + pbmute.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -310,7 +310,7 @@ impl IAudioEndpointVolume_Vtbl { let this = (*this).get_impl(); match IAudioEndpointVolume_Impl::QueryHardwareSupport(this) { Ok(ok__) => { - core::ptr::write(pdwhardwaresupportmask, core::mem::transmute(ok__)); + pdwhardwaresupportmask.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -398,7 +398,7 @@ impl IAudioLfxControl_Vtbl { let this = (*this).get_impl(); match IAudioLfxControl_Impl::GetLocalEffectsState(this) { Ok(ok__) => { - core::ptr::write(pbenabled, core::mem::transmute(ok__)); + pbenabled.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -428,7 +428,7 @@ impl IAudioMeterInformation_Vtbl { let this = (*this).get_impl(); match IAudioMeterInformation_Impl::GetPeakValue(this) { Ok(ok__) => { - core::ptr::write(pfpeak, core::mem::transmute(ok__)); + pfpeak.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -439,7 +439,7 @@ impl IAudioMeterInformation_Vtbl { let this = (*this).get_impl(); match IAudioMeterInformation_Impl::GetMeteringChannelCount(this) { Ok(ok__) => { - core::ptr::write(pnchannelcount, core::mem::transmute(ok__)); + pnchannelcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -455,7 +455,7 @@ impl IAudioMeterInformation_Vtbl { let this = (*this).get_impl(); match IAudioMeterInformation_Impl::QueryHardwareSupport(this) { Ok(ok__) => { - core::ptr::write(pdwhardwaresupportmask, core::mem::transmute(ok__)); + pdwhardwaresupportmask.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -488,7 +488,7 @@ impl IHardwareAudioEngineBase_Vtbl { let this = (*this).get_impl(); match IHardwareAudioEngineBase_Impl::GetAvailableOffloadConnectorCount(this, core::mem::transmute(&_pwstrdeviceid), core::mem::transmute_copy(&_uconnectorid)) { Ok(ok__) => { - core::ptr::write(_pavailableconnectorinstancecount, core::mem::transmute(ok__)); + _pavailableconnectorinstancecount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -514,7 +514,7 @@ impl IHardwareAudioEngineBase_Vtbl { let this = (*this).get_impl(); match IHardwareAudioEngineBase_Impl::GetGfxState(this, windows_core::from_raw_borrowed(&pdevice)) { Ok(ok__) => { - core::ptr::write(_pbenable, core::mem::transmute(ok__)); + _pbenable.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/Win32/Media/Audio/XAudio2/impl.rs b/crates/libs/windows/src/Windows/Win32/Media/Audio/XAudio2/impl.rs index 622ae25d6b..e32c98d3ba 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/Audio/XAudio2/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/Audio/XAudio2/impl.rs @@ -18,7 +18,7 @@ impl IXAPO_Vtbl { let this = (*this).get_impl(); match IXAPO_Impl::GetRegistrationProperties(this) { Ok(ok__) => { - core::ptr::write(ppregistrationproperties, core::mem::transmute(ok__)); + ppregistrationproperties.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -312,7 +312,7 @@ impl IXAudio2MasteringVoice_Vtbl { let this = &*((*this).this as *const Impl); match IXAudio2MasteringVoice_Impl::GetChannelMask(this) { Ok(ok__) => { - core::ptr::write(pchannelmask, core::mem::transmute(ok__)); + pchannelmask.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/Win32/Media/Audio/impl.rs b/crates/libs/windows/src/Windows/Win32/Media/Audio/impl.rs index b6898dc5ed..49457e4a1e 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/Audio/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/Audio/impl.rs @@ -76,7 +76,7 @@ impl IAudioAmbisonicsControl_Vtbl { let this = (*this).get_impl(); match IAudioAmbisonicsControl_Impl::GetHeadTracking(this) { Ok(ok__) => { - core::ptr::write(pbenableheadtracking, core::mem::transmute(ok__)); + pbenableheadtracking.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -111,7 +111,7 @@ impl IAudioAutoGainControl_Vtbl { let this = (*this).get_impl(); match IAudioAutoGainControl_Impl::GetEnabled(this) { Ok(ok__) => { - core::ptr::write(pbenabled, core::mem::transmute(ok__)); + pbenabled.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -165,7 +165,7 @@ impl IAudioCaptureClient_Vtbl { let this = (*this).get_impl(); match IAudioCaptureClient_Impl::GetNextPacketSize(this) { Ok(ok__) => { - core::ptr::write(pnumframesinnextpacket, core::mem::transmute(ok__)); + pnumframesinnextpacket.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -199,7 +199,7 @@ impl IAudioChannelConfig_Vtbl { let this = (*this).get_impl(); match IAudioChannelConfig_Impl::GetChannelConfig(this) { Ok(ok__) => { - core::ptr::write(pdwconfig, core::mem::transmute(ok__)); + pdwconfig.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -242,7 +242,7 @@ impl IAudioClient_Vtbl { let this = (*this).get_impl(); match IAudioClient_Impl::GetBufferSize(this) { Ok(ok__) => { - core::ptr::write(pnumbufferframes, core::mem::transmute(ok__)); + pnumbufferframes.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -253,7 +253,7 @@ impl IAudioClient_Vtbl { let this = (*this).get_impl(); match IAudioClient_Impl::GetStreamLatency(this) { Ok(ok__) => { - core::ptr::write(phnslatency, core::mem::transmute(ok__)); + phnslatency.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -264,7 +264,7 @@ impl IAudioClient_Vtbl { let this = (*this).get_impl(); match IAudioClient_Impl::GetCurrentPadding(this) { Ok(ok__) => { - core::ptr::write(pnumpaddingframes, core::mem::transmute(ok__)); + pnumpaddingframes.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -280,7 +280,7 @@ impl IAudioClient_Vtbl { let this = (*this).get_impl(); match IAudioClient_Impl::GetMixFormat(this) { Ok(ok__) => { - core::ptr::write(ppdeviceformat, core::mem::transmute(ok__)); + ppdeviceformat.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -349,7 +349,7 @@ impl IAudioClient2_Vtbl { let this = (*this).get_impl(); match IAudioClient2_Impl::IsOffloadCapable(this, core::mem::transmute_copy(&category)) { Ok(ok__) => { - core::ptr::write(pboffloadcapable, core::mem::transmute(ok__)); + pboffloadcapable.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -443,7 +443,7 @@ impl IAudioClock_Vtbl { let this = (*this).get_impl(); match IAudioClock_Impl::GetFrequency(this) { Ok(ok__) => { - core::ptr::write(pu64frequency, core::mem::transmute(ok__)); + pu64frequency.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -459,7 +459,7 @@ impl IAudioClock_Vtbl { let this = (*this).get_impl(); match IAudioClock_Impl::GetCharacteristics(this) { Ok(ok__) => { - core::ptr::write(pdwcharacteristics, core::mem::transmute(ok__)); + pdwcharacteristics.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -580,7 +580,7 @@ impl IAudioFormatEnumerator_Vtbl { let this = (*this).get_impl(); match IAudioFormatEnumerator_Impl::GetCount(this) { Ok(ok__) => { - core::ptr::write(count, core::mem::transmute(ok__)); + count.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -591,7 +591,7 @@ impl IAudioFormatEnumerator_Vtbl { let this = (*this).get_impl(); match IAudioFormatEnumerator_Impl::GetFormat(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(format, core::mem::transmute(ok__)); + format.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -619,7 +619,7 @@ impl IAudioInputSelector_Vtbl { let this = (*this).get_impl(); match IAudioInputSelector_Impl::GetSelection(this) { Ok(ok__) => { - core::ptr::write(pnidselected, core::mem::transmute(ok__)); + pnidselected.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -652,7 +652,7 @@ impl IAudioLoudness_Vtbl { let this = (*this).get_impl(); match IAudioLoudness_Impl::GetEnabled(this) { Ok(ok__) => { - core::ptr::write(pbenabled, core::mem::transmute(ok__)); + pbenabled.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -700,7 +700,7 @@ impl IAudioMute_Vtbl { let this = (*this).get_impl(); match IAudioMute_Impl::GetMute(this) { Ok(ok__) => { - core::ptr::write(pbmuted, core::mem::transmute(ok__)); + pbmuted.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -728,7 +728,7 @@ impl IAudioOutputSelector_Vtbl { let this = (*this).get_impl(); match IAudioOutputSelector_Impl::GetSelection(this) { Ok(ok__) => { - core::ptr::write(pnidselected, core::mem::transmute(ok__)); + pnidselected.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -761,7 +761,7 @@ impl IAudioPeakMeter_Vtbl { let this = (*this).get_impl(); match IAudioPeakMeter_Impl::GetChannelCount(this) { Ok(ok__) => { - core::ptr::write(pcchannels, core::mem::transmute(ok__)); + pcchannels.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -772,7 +772,7 @@ impl IAudioPeakMeter_Vtbl { let this = (*this).get_impl(); match IAudioPeakMeter_Impl::GetLevel(this, core::mem::transmute_copy(&nchannel)) { Ok(ok__) => { - core::ptr::write(pflevel, core::mem::transmute(ok__)); + pflevel.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -800,7 +800,7 @@ impl IAudioRenderClient_Vtbl { let this = (*this).get_impl(); match IAudioRenderClient_Impl::GetBuffer(this, core::mem::transmute_copy(&numframesrequested)) { Ok(ok__) => { - core::ptr::write(ppdata, core::mem::transmute(ok__)); + ppdata.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -840,7 +840,7 @@ impl IAudioSessionControl_Vtbl { let this = (*this).get_impl(); match IAudioSessionControl_Impl::GetState(this) { Ok(ok__) => { - core::ptr::write(pretval, core::mem::transmute(ok__)); + pretval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -851,7 +851,7 @@ impl IAudioSessionControl_Vtbl { let this = (*this).get_impl(); match IAudioSessionControl_Impl::GetDisplayName(this) { Ok(ok__) => { - core::ptr::write(pretval, core::mem::transmute(ok__)); + pretval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -867,7 +867,7 @@ impl IAudioSessionControl_Vtbl { let this = (*this).get_impl(); match IAudioSessionControl_Impl::GetIconPath(this) { Ok(ok__) => { - core::ptr::write(pretval, core::mem::transmute(ok__)); + pretval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -883,7 +883,7 @@ impl IAudioSessionControl_Vtbl { let this = (*this).get_impl(); match IAudioSessionControl_Impl::GetGroupingParam(this) { Ok(ok__) => { - core::ptr::write(pretval, core::mem::transmute(ok__)); + pretval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -936,7 +936,7 @@ impl IAudioSessionControl2_Vtbl { let this = (*this).get_impl(); match IAudioSessionControl2_Impl::GetSessionIdentifier(this) { Ok(ok__) => { - core::ptr::write(pretval, core::mem::transmute(ok__)); + pretval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -947,7 +947,7 @@ impl IAudioSessionControl2_Vtbl { let this = (*this).get_impl(); match IAudioSessionControl2_Impl::GetSessionInstanceIdentifier(this) { Ok(ok__) => { - core::ptr::write(pretval, core::mem::transmute(ok__)); + pretval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -958,7 +958,7 @@ impl IAudioSessionControl2_Vtbl { let this = (*this).get_impl(); match IAudioSessionControl2_Impl::GetProcessId(this) { Ok(ok__) => { - core::ptr::write(pretval, core::mem::transmute(ok__)); + pretval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -999,7 +999,7 @@ impl IAudioSessionEnumerator_Vtbl { let this = (*this).get_impl(); match IAudioSessionEnumerator_Impl::GetCount(this) { Ok(ok__) => { - core::ptr::write(sessioncount, core::mem::transmute(ok__)); + sessioncount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1010,7 +1010,7 @@ impl IAudioSessionEnumerator_Vtbl { let this = (*this).get_impl(); match IAudioSessionEnumerator_Impl::GetSession(this, core::mem::transmute_copy(&sessioncount)) { Ok(ok__) => { - core::ptr::write(session, core::mem::transmute(ok__)); + session.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1100,7 +1100,7 @@ impl IAudioSessionManager_Vtbl { let this = (*this).get_impl(); match IAudioSessionManager_Impl::GetAudioSessionControl(this, core::mem::transmute_copy(&audiosessionguid), core::mem::transmute_copy(&streamflags)) { Ok(ok__) => { - core::ptr::write(sessioncontrol, core::mem::transmute(ok__)); + sessioncontrol.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1111,7 +1111,7 @@ impl IAudioSessionManager_Vtbl { let this = (*this).get_impl(); match IAudioSessionManager_Impl::GetSimpleAudioVolume(this, core::mem::transmute_copy(&audiosessionguid), core::mem::transmute_copy(&streamflags)) { Ok(ok__) => { - core::ptr::write(audiovolume, core::mem::transmute(ok__)); + audiovolume.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1142,7 +1142,7 @@ impl IAudioSessionManager2_Vtbl { let this = (*this).get_impl(); match IAudioSessionManager2_Impl::GetSessionEnumerator(this) { Ok(ok__) => { - core::ptr::write(sessionenum, core::mem::transmute(ok__)); + sessionenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1211,7 +1211,7 @@ impl IAudioStateMonitor_Vtbl { let this = (*this).get_impl(); match IAudioStateMonitor_Impl::RegisterCallback(this, core::mem::transmute_copy(&callback), core::mem::transmute_copy(&context)) { Ok(ok__) => { - core::ptr::write(registration, core::mem::transmute(ok__)); + registration.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1253,7 +1253,7 @@ impl IAudioStreamVolume_Vtbl { let this = (*this).get_impl(); match IAudioStreamVolume_Impl::GetChannelCount(this) { Ok(ok__) => { - core::ptr::write(pdwcount, core::mem::transmute(ok__)); + pdwcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1269,7 +1269,7 @@ impl IAudioStreamVolume_Vtbl { let this = (*this).get_impl(); match IAudioStreamVolume_Impl::GetChannelVolume(this, core::mem::transmute_copy(&dwindex)) { Ok(ok__) => { - core::ptr::write(pflevel, core::mem::transmute(ok__)); + pflevel.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1338,7 +1338,7 @@ impl IAudioSystemEffectsPropertyStore_Vtbl { let this = (*this).get_impl(); match IAudioSystemEffectsPropertyStore_Impl::OpenDefaultPropertyStore(this, core::mem::transmute_copy(&stgmaccess)) { Ok(ok__) => { - core::ptr::write(propstore, core::mem::transmute(ok__)); + propstore.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1349,7 +1349,7 @@ impl IAudioSystemEffectsPropertyStore_Vtbl { let this = (*this).get_impl(); match IAudioSystemEffectsPropertyStore_Impl::OpenUserPropertyStore(this, core::mem::transmute_copy(&stgmaccess)) { Ok(ok__) => { - core::ptr::write(propstore, core::mem::transmute(ok__)); + propstore.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1360,7 +1360,7 @@ impl IAudioSystemEffectsPropertyStore_Vtbl { let this = (*this).get_impl(); match IAudioSystemEffectsPropertyStore_Impl::OpenVolatilePropertyStore(this, core::mem::transmute_copy(&stgmaccess)) { Ok(ok__) => { - core::ptr::write(propstore, core::mem::transmute(ok__)); + propstore.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1480,7 +1480,7 @@ impl IChannelAudioVolume_Vtbl { let this = (*this).get_impl(); match IChannelAudioVolume_Impl::GetChannelCount(this) { Ok(ok__) => { - core::ptr::write(pdwcount, core::mem::transmute(ok__)); + pdwcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1496,7 +1496,7 @@ impl IChannelAudioVolume_Vtbl { let this = (*this).get_impl(); match IChannelAudioVolume_Impl::GetChannelVolume(this, core::mem::transmute_copy(&dwindex)) { Ok(ok__) => { - core::ptr::write(pflevel, core::mem::transmute(ok__)); + pflevel.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1543,7 +1543,7 @@ impl IConnector_Vtbl { let this = (*this).get_impl(); match IConnector_Impl::GetType(this) { Ok(ok__) => { - core::ptr::write(ptype, core::mem::transmute(ok__)); + ptype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1554,7 +1554,7 @@ impl IConnector_Vtbl { let this = (*this).get_impl(); match IConnector_Impl::GetDataFlow(this) { Ok(ok__) => { - core::ptr::write(pflow, core::mem::transmute(ok__)); + pflow.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1575,7 +1575,7 @@ impl IConnector_Vtbl { let this = (*this).get_impl(); match IConnector_Impl::IsConnected(this) { Ok(ok__) => { - core::ptr::write(pbconnected, core::mem::transmute(ok__)); + pbconnected.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1586,7 +1586,7 @@ impl IConnector_Vtbl { let this = (*this).get_impl(); match IConnector_Impl::GetConnectedTo(this) { Ok(ok__) => { - core::ptr::write(ppconto, core::mem::transmute(ok__)); + ppconto.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1597,7 +1597,7 @@ impl IConnector_Vtbl { let this = (*this).get_impl(); match IConnector_Impl::GetConnectorIdConnectedTo(this) { Ok(ok__) => { - core::ptr::write(ppwstrconnectorid, core::mem::transmute(ok__)); + ppwstrconnectorid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1608,7 +1608,7 @@ impl IConnector_Vtbl { let this = (*this).get_impl(); match IConnector_Impl::GetDeviceIdConnectedTo(this) { Ok(ok__) => { - core::ptr::write(ppwstrdeviceid, core::mem::transmute(ok__)); + ppwstrdeviceid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1659,7 +1659,7 @@ impl IControlInterface_Vtbl { let this = (*this).get_impl(); match IControlInterface_Impl::GetName(this) { Ok(ok__) => { - core::ptr::write(ppwstrname, core::mem::transmute(ok__)); + ppwstrname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1670,7 +1670,7 @@ impl IControlInterface_Vtbl { let this = (*this).get_impl(); match IControlInterface_Impl::GetIID(this) { Ok(ok__) => { - core::ptr::write(piid, core::mem::transmute(ok__)); + piid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1700,7 +1700,7 @@ impl IDeviceSpecificProperty_Vtbl { let this = (*this).get_impl(); match IDeviceSpecificProperty_Impl::GetType(this) { Ok(ok__) => { - core::ptr::write(pvtype, core::mem::transmute(ok__)); + pvtype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1750,7 +1750,7 @@ impl IDeviceTopology_Vtbl { let this = (*this).get_impl(); match IDeviceTopology_Impl::GetConnectorCount(this) { Ok(ok__) => { - core::ptr::write(pcount, core::mem::transmute(ok__)); + pcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1761,7 +1761,7 @@ impl IDeviceTopology_Vtbl { let this = (*this).get_impl(); match IDeviceTopology_Impl::GetConnector(this, core::mem::transmute_copy(&nindex)) { Ok(ok__) => { - core::ptr::write(ppconnector, core::mem::transmute(ok__)); + ppconnector.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1772,7 +1772,7 @@ impl IDeviceTopology_Vtbl { let this = (*this).get_impl(); match IDeviceTopology_Impl::GetSubunitCount(this) { Ok(ok__) => { - core::ptr::write(pcount, core::mem::transmute(ok__)); + pcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1783,7 +1783,7 @@ impl IDeviceTopology_Vtbl { let this = (*this).get_impl(); match IDeviceTopology_Impl::GetSubunit(this, core::mem::transmute_copy(&nindex)) { Ok(ok__) => { - core::ptr::write(ppsubunit, core::mem::transmute(ok__)); + ppsubunit.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1794,7 +1794,7 @@ impl IDeviceTopology_Vtbl { let this = (*this).get_impl(); match IDeviceTopology_Impl::GetPartById(this, core::mem::transmute_copy(&nid)) { Ok(ok__) => { - core::ptr::write(pppart, core::mem::transmute(ok__)); + pppart.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1805,7 +1805,7 @@ impl IDeviceTopology_Vtbl { let this = (*this).get_impl(); match IDeviceTopology_Impl::GetDeviceId(this) { Ok(ok__) => { - core::ptr::write(ppwstrdeviceid, core::mem::transmute(ok__)); + ppwstrdeviceid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1816,7 +1816,7 @@ impl IDeviceTopology_Vtbl { let this = (*this).get_impl(); match IDeviceTopology_Impl::GetSignalPath(this, windows_core::from_raw_borrowed(&pipartfrom), windows_core::from_raw_borrowed(&pipartto), core::mem::transmute_copy(&brejectmixedpaths)) { Ok(ok__) => { - core::ptr::write(ppparts, core::mem::transmute(ok__)); + ppparts.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1859,7 +1859,7 @@ impl IMMDevice_Vtbl { let this = (*this).get_impl(); match IMMDevice_Impl::OpenPropertyStore(this, core::mem::transmute_copy(&stgmaccess)) { Ok(ok__) => { - core::ptr::write(ppproperties, core::mem::transmute(ok__)); + ppproperties.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1870,7 +1870,7 @@ impl IMMDevice_Vtbl { let this = (*this).get_impl(); match IMMDevice_Impl::GetId(this) { Ok(ok__) => { - core::ptr::write(ppstrid, core::mem::transmute(ok__)); + ppstrid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1922,7 +1922,7 @@ impl IMMDeviceCollection_Vtbl { let this = (*this).get_impl(); match IMMDeviceCollection_Impl::GetCount(this) { Ok(ok__) => { - core::ptr::write(pcdevices, core::mem::transmute(ok__)); + pcdevices.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1933,7 +1933,7 @@ impl IMMDeviceCollection_Vtbl { let this = (*this).get_impl(); match IMMDeviceCollection_Impl::Item(this, core::mem::transmute_copy(&ndevice)) { Ok(ok__) => { - core::ptr::write(ppdevice, core::mem::transmute(ok__)); + ppdevice.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1964,7 +1964,7 @@ impl IMMDeviceEnumerator_Vtbl { let this = (*this).get_impl(); match IMMDeviceEnumerator_Impl::EnumAudioEndpoints(this, core::mem::transmute_copy(&dataflow), core::mem::transmute_copy(&dwstatemask)) { Ok(ok__) => { - core::ptr::write(ppdevices, core::mem::transmute(ok__)); + ppdevices.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1975,7 +1975,7 @@ impl IMMDeviceEnumerator_Vtbl { let this = (*this).get_impl(); match IMMDeviceEnumerator_Impl::GetDefaultAudioEndpoint(this, core::mem::transmute_copy(&dataflow), core::mem::transmute_copy(&role)) { Ok(ok__) => { - core::ptr::write(ppendpoint, core::mem::transmute(ok__)); + ppendpoint.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1986,7 +1986,7 @@ impl IMMDeviceEnumerator_Vtbl { let this = (*this).get_impl(); match IMMDeviceEnumerator_Impl::GetDevice(this, core::mem::transmute(&pwstrid)) { Ok(ok__) => { - core::ptr::write(ppdevice, core::mem::transmute(ok__)); + ppdevice.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2026,7 +2026,7 @@ impl IMMEndpoint_Vtbl { let this = (*this).get_impl(); match IMMEndpoint_Impl::GetDataFlow(this) { Ok(ok__) => { - core::ptr::write(pdataflow, core::mem::transmute(ok__)); + pdataflow.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2149,7 +2149,7 @@ impl IPart_Vtbl { let this = (*this).get_impl(); match IPart_Impl::GetName(this) { Ok(ok__) => { - core::ptr::write(ppwstrname, core::mem::transmute(ok__)); + ppwstrname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2160,7 +2160,7 @@ impl IPart_Vtbl { let this = (*this).get_impl(); match IPart_Impl::GetLocalId(this) { Ok(ok__) => { - core::ptr::write(pnid, core::mem::transmute(ok__)); + pnid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2171,7 +2171,7 @@ impl IPart_Vtbl { let this = (*this).get_impl(); match IPart_Impl::GetGlobalId(this) { Ok(ok__) => { - core::ptr::write(ppwstrglobalid, core::mem::transmute(ok__)); + ppwstrglobalid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2182,7 +2182,7 @@ impl IPart_Vtbl { let this = (*this).get_impl(); match IPart_Impl::GetPartType(this) { Ok(ok__) => { - core::ptr::write(pparttype, core::mem::transmute(ok__)); + pparttype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2193,7 +2193,7 @@ impl IPart_Vtbl { let this = (*this).get_impl(); match IPart_Impl::GetSubType(this) { Ok(ok__) => { - core::ptr::write(psubtype, core::mem::transmute(ok__)); + psubtype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2204,7 +2204,7 @@ impl IPart_Vtbl { let this = (*this).get_impl(); match IPart_Impl::GetControlInterfaceCount(this) { Ok(ok__) => { - core::ptr::write(pcount, core::mem::transmute(ok__)); + pcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2215,7 +2215,7 @@ impl IPart_Vtbl { let this = (*this).get_impl(); match IPart_Impl::GetControlInterface(this, core::mem::transmute_copy(&nindex)) { Ok(ok__) => { - core::ptr::write(ppinterfacedesc, core::mem::transmute(ok__)); + ppinterfacedesc.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2226,7 +2226,7 @@ impl IPart_Vtbl { let this = (*this).get_impl(); match IPart_Impl::EnumPartsIncoming(this) { Ok(ok__) => { - core::ptr::write(ppparts, core::mem::transmute(ok__)); + ppparts.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2237,7 +2237,7 @@ impl IPart_Vtbl { let this = (*this).get_impl(); match IPart_Impl::EnumPartsOutgoing(this) { Ok(ok__) => { - core::ptr::write(ppparts, core::mem::transmute(ok__)); + ppparts.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2248,7 +2248,7 @@ impl IPart_Vtbl { let this = (*this).get_impl(); match IPart_Impl::GetTopologyObject(this) { Ok(ok__) => { - core::ptr::write(pptopology, core::mem::transmute(ok__)); + pptopology.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2302,7 +2302,7 @@ impl IPartsList_Vtbl { let this = (*this).get_impl(); match IPartsList_Impl::GetCount(this) { Ok(ok__) => { - core::ptr::write(pcount, core::mem::transmute(ok__)); + pcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2313,7 +2313,7 @@ impl IPartsList_Vtbl { let this = (*this).get_impl(); match IPartsList_Impl::GetPart(this, core::mem::transmute_copy(&nindex)) { Ok(ok__) => { - core::ptr::write(pppart, core::mem::transmute(ok__)); + pppart.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2345,7 +2345,7 @@ impl IPerChannelDbLevel_Vtbl { let this = (*this).get_impl(); match IPerChannelDbLevel_Impl::GetChannelCount(this) { Ok(ok__) => { - core::ptr::write(pcchannels, core::mem::transmute(ok__)); + pcchannels.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2361,7 +2361,7 @@ impl IPerChannelDbLevel_Vtbl { let this = (*this).get_impl(); match IPerChannelDbLevel_Impl::GetLevel(this, core::mem::transmute_copy(&nchannel)) { Ok(ok__) => { - core::ptr::write(pfleveldb, core::mem::transmute(ok__)); + pfleveldb.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2415,7 +2415,7 @@ impl ISimpleAudioVolume_Vtbl { let this = (*this).get_impl(); match ISimpleAudioVolume_Impl::GetMasterVolume(this) { Ok(ok__) => { - core::ptr::write(pflevel, core::mem::transmute(ok__)); + pflevel.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2431,7 +2431,7 @@ impl ISimpleAudioVolume_Vtbl { let this = (*this).get_impl(); match ISimpleAudioVolume_Impl::GetMute(this) { Ok(ok__) => { - core::ptr::write(pbmute, core::mem::transmute(ok__)); + pbmute.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2472,7 +2472,7 @@ impl ISpatialAudioClient_Vtbl { let this = (*this).get_impl(); match ISpatialAudioClient_Impl::GetNativeStaticObjectTypeMask(this) { Ok(ok__) => { - core::ptr::write(mask, core::mem::transmute(ok__)); + mask.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2483,7 +2483,7 @@ impl ISpatialAudioClient_Vtbl { let this = (*this).get_impl(); match ISpatialAudioClient_Impl::GetMaxDynamicObjectCount(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2494,7 +2494,7 @@ impl ISpatialAudioClient_Vtbl { let this = (*this).get_impl(); match ISpatialAudioClient_Impl::GetSupportedAudioObjectFormatEnumerator(this) { Ok(ok__) => { - core::ptr::write(enumerator, core::mem::transmute(ok__)); + enumerator.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2505,7 +2505,7 @@ impl ISpatialAudioClient_Vtbl { let this = (*this).get_impl(); match ISpatialAudioClient_Impl::GetMaxFrameCount(this, core::mem::transmute_copy(&objectformat)) { Ok(ok__) => { - core::ptr::write(framecountperbuffer, core::mem::transmute(ok__)); + framecountperbuffer.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2554,7 +2554,7 @@ impl ISpatialAudioClient2_Vtbl { let this = (*this).get_impl(); match ISpatialAudioClient2_Impl::IsOffloadCapable(this, core::mem::transmute_copy(&category)) { Ok(ok__) => { - core::ptr::write(isoffloadcapable, core::mem::transmute(ok__)); + isoffloadcapable.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2565,7 +2565,7 @@ impl ISpatialAudioClient2_Vtbl { let this = (*this).get_impl(); match ISpatialAudioClient2_Impl::GetMaxFrameCountForCategory(this, core::mem::transmute_copy(&category), core::mem::transmute_copy(&offloadenabled), core::mem::transmute_copy(&objectformat)) { Ok(ok__) => { - core::ptr::write(framecountperbuffer, core::mem::transmute(ok__)); + framecountperbuffer.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2601,7 +2601,7 @@ impl ISpatialAudioMetadataClient_Vtbl { let this = (*this).get_impl(); match ISpatialAudioMetadataClient_Impl::GetSpatialAudioMetadataItemsBufferLength(this, core::mem::transmute_copy(&maxitemcount)) { Ok(ok__) => { - core::ptr::write(bufferlength, core::mem::transmute(ok__)); + bufferlength.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2612,7 +2612,7 @@ impl ISpatialAudioMetadataClient_Vtbl { let this = (*this).get_impl(); match ISpatialAudioMetadataClient_Impl::ActivateSpatialAudioMetadataWriter(this, core::mem::transmute_copy(&overflowmode)) { Ok(ok__) => { - core::ptr::write(metadatawriter, core::mem::transmute(ok__)); + metadatawriter.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2623,7 +2623,7 @@ impl ISpatialAudioMetadataClient_Vtbl { let this = (*this).get_impl(); match ISpatialAudioMetadataClient_Impl::ActivateSpatialAudioMetadataCopier(this) { Ok(ok__) => { - core::ptr::write(metadatacopier, core::mem::transmute(ok__)); + metadatacopier.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2634,7 +2634,7 @@ impl ISpatialAudioMetadataClient_Vtbl { let this = (*this).get_impl(); match ISpatialAudioMetadataClient_Impl::ActivateSpatialAudioMetadataReader(this) { Ok(ok__) => { - core::ptr::write(metadatareader, core::mem::transmute(ok__)); + metadatareader.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2671,7 +2671,7 @@ impl ISpatialAudioMetadataCopier_Vtbl { let this = (*this).get_impl(); match ISpatialAudioMetadataCopier_Impl::CopyMetadataForFrames(this, core::mem::transmute_copy(©framecount), core::mem::transmute_copy(©mode), windows_core::from_raw_borrowed(&dstmetadataitems)) { Ok(ok__) => { - core::ptr::write(itemscopied, core::mem::transmute(ok__)); + itemscopied.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2708,7 +2708,7 @@ impl ISpatialAudioMetadataItems_Vtbl { let this = (*this).get_impl(); match ISpatialAudioMetadataItems_Impl::GetFrameCount(this) { Ok(ok__) => { - core::ptr::write(framecount, core::mem::transmute(ok__)); + framecount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2719,7 +2719,7 @@ impl ISpatialAudioMetadataItems_Vtbl { let this = (*this).get_impl(); match ISpatialAudioMetadataItems_Impl::GetItemCount(this) { Ok(ok__) => { - core::ptr::write(itemcount, core::mem::transmute(ok__)); + itemcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2730,7 +2730,7 @@ impl ISpatialAudioMetadataItems_Vtbl { let this = (*this).get_impl(); match ISpatialAudioMetadataItems_Impl::GetMaxItemCount(this) { Ok(ok__) => { - core::ptr::write(maxitemcount, core::mem::transmute(ok__)); + maxitemcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2741,7 +2741,7 @@ impl ISpatialAudioMetadataItems_Vtbl { let this = (*this).get_impl(); match ISpatialAudioMetadataItems_Impl::GetMaxValueBufferLength(this) { Ok(ok__) => { - core::ptr::write(maxvaluebufferlength, core::mem::transmute(ok__)); + maxvaluebufferlength.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2752,7 +2752,7 @@ impl ISpatialAudioMetadataItems_Vtbl { let this = (*this).get_impl(); match ISpatialAudioMetadataItems_Impl::GetInfo(this) { Ok(ok__) => { - core::ptr::write(info, core::mem::transmute(ok__)); + info.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2938,7 +2938,7 @@ impl ISpatialAudioObjectBase_Vtbl { let this = (*this).get_impl(); match ISpatialAudioObjectBase_Impl::IsActive(this) { Ok(ok__) => { - core::ptr::write(isactive, core::mem::transmute(ok__)); + isactive.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2949,7 +2949,7 @@ impl ISpatialAudioObjectBase_Vtbl { let this = (*this).get_impl(); match ISpatialAudioObjectBase_Impl::GetAudioObjectType(this) { Ok(ok__) => { - core::ptr::write(audioobjecttype, core::mem::transmute(ok__)); + audioobjecttype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3053,7 +3053,7 @@ impl ISpatialAudioObjectForMetadataItems_Vtbl { let this = (*this).get_impl(); match ISpatialAudioObjectForMetadataItems_Impl::GetSpatialAudioMetadataItems(this) { Ok(ok__) => { - core::ptr::write(metadataitems, core::mem::transmute(ok__)); + metadataitems.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3079,7 +3079,7 @@ impl ISpatialAudioObjectRenderStream_Vtbl { let this = (*this).get_impl(); match ISpatialAudioObjectRenderStream_Impl::ActivateSpatialAudioObject(this, core::mem::transmute_copy(&r#type)) { Ok(ok__) => { - core::ptr::write(audioobject, core::mem::transmute(ok__)); + audioobject.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3111,7 +3111,7 @@ impl ISpatialAudioObjectRenderStreamBase_Vtbl { let this = (*this).get_impl(); match ISpatialAudioObjectRenderStreamBase_Impl::GetAvailableDynamicObjectCount(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3173,7 +3173,7 @@ impl ISpatialAudioObjectRenderStreamForHrtf_Vtbl { let this = (*this).get_impl(); match ISpatialAudioObjectRenderStreamForHrtf_Impl::ActivateSpatialAudioObjectForHrtf(this, core::mem::transmute_copy(&r#type)) { Ok(ok__) => { - core::ptr::write(audioobject, core::mem::transmute(ok__)); + audioobject.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3200,7 +3200,7 @@ impl ISpatialAudioObjectRenderStreamForMetadata_Vtbl { let this = (*this).get_impl(); match ISpatialAudioObjectRenderStreamForMetadata_Impl::ActivateSpatialAudioObjectForMetadataCommands(this, core::mem::transmute_copy(&r#type)) { Ok(ok__) => { - core::ptr::write(audioobject, core::mem::transmute(ok__)); + audioobject.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3211,7 +3211,7 @@ impl ISpatialAudioObjectRenderStreamForMetadata_Vtbl { let this = (*this).get_impl(); match ISpatialAudioObjectRenderStreamForMetadata_Impl::ActivateSpatialAudioObjectForMetadataItems(this, core::mem::transmute_copy(&r#type)) { Ok(ok__) => { - core::ptr::write(audioobject, core::mem::transmute(ok__)); + audioobject.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/Win32/Media/DeviceManager/impl.rs b/crates/libs/windows/src/Windows/Win32/Media/DeviceManager/impl.rs index e6680fbf52..a06c238164 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/DeviceManager/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/DeviceManager/impl.rs @@ -59,7 +59,7 @@ impl IMDSPDevice_Vtbl { let this = (*this).get_impl(); match IMDSPDevice_Impl::GetVersion(this) { Ok(ok__) => { - core::ptr::write(pdwversion, core::mem::transmute(ok__)); + pdwversion.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -70,7 +70,7 @@ impl IMDSPDevice_Vtbl { let this = (*this).get_impl(); match IMDSPDevice_Impl::GetType(this) { Ok(ok__) => { - core::ptr::write(pdwtype, core::mem::transmute(ok__)); + pdwtype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -91,7 +91,7 @@ impl IMDSPDevice_Vtbl { let this = (*this).get_impl(); match IMDSPDevice_Impl::GetStatus(this) { Ok(ok__) => { - core::ptr::write(pdwstatus, core::mem::transmute(ok__)); + pdwstatus.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -102,7 +102,7 @@ impl IMDSPDevice_Vtbl { let this = (*this).get_impl(); match IMDSPDevice_Impl::GetDeviceIcon(this) { Ok(ok__) => { - core::ptr::write(hicon, core::mem::transmute(ok__)); + hicon.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -113,7 +113,7 @@ impl IMDSPDevice_Vtbl { let this = (*this).get_impl(); match IMDSPDevice_Impl::EnumStorage(this) { Ok(ok__) => { - core::ptr::write(ppenumstorage, core::mem::transmute(ok__)); + ppenumstorage.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -165,7 +165,7 @@ impl IMDSPDevice2_Vtbl { let this = (*this).get_impl(); match IMDSPDevice2_Impl::GetStorage(this, core::mem::transmute(&pszstoragename)) { Ok(ok__) => { - core::ptr::write(ppstorage, core::mem::transmute(ok__)); + ppstorage.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -216,7 +216,7 @@ impl IMDSPDevice3_Vtbl { let this = (*this).get_impl(); match IMDSPDevice3_Impl::GetProperty(this, core::mem::transmute(&pwszpropname)) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -232,7 +232,7 @@ impl IMDSPDevice3_Vtbl { let this = (*this).get_impl(); match IMDSPDevice3_Impl::GetFormatCapability(this, core::mem::transmute_copy(&format)) { Ok(ok__) => { - core::ptr::write(pformatsupport, core::mem::transmute(ok__)); + pformatsupport.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -248,7 +248,7 @@ impl IMDSPDevice3_Vtbl { let this = (*this).get_impl(); match IMDSPDevice3_Impl::FindStorage(this, core::mem::transmute_copy(&findscope), core::mem::transmute(&pwszuniqueid)) { Ok(ok__) => { - core::ptr::write(ppstorage, core::mem::transmute(ok__)); + ppstorage.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -288,7 +288,7 @@ impl IMDSPDeviceControl_Vtbl { let this = (*this).get_impl(); match IMDSPDeviceControl_Impl::GetDCStatus(this) { Ok(ok__) => { - core::ptr::write(pdwstatus, core::mem::transmute(ok__)); + pdwstatus.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -299,7 +299,7 @@ impl IMDSPDeviceControl_Vtbl { let this = (*this).get_impl(); match IMDSPDeviceControl_Impl::GetCapabilities(this) { Ok(ok__) => { - core::ptr::write(pdwcapabilitiesmask, core::mem::transmute(ok__)); + pdwcapabilitiesmask.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -362,7 +362,7 @@ impl IMDSPDirectTransfer_Vtbl { let this = (*this).get_impl(); match IMDSPDirectTransfer_Impl::TransferToDevice(this, core::mem::transmute(&pwszsourcefilepath), windows_core::from_raw_borrowed(&psourceoperation), core::mem::transmute_copy(&fuflags), core::mem::transmute(&pwszdestinationname), windows_core::from_raw_borrowed(&psourcemetadata), windows_core::from_raw_borrowed(&ptransferprogress)) { Ok(ok__) => { - core::ptr::write(ppnewobject, core::mem::transmute(ok__)); + ppnewobject.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -393,7 +393,7 @@ impl IMDSPEnumDevice_Vtbl { let this = (*this).get_impl(); match IMDSPEnumDevice_Impl::Skip(this, core::mem::transmute_copy(&celt)) { Ok(ok__) => { - core::ptr::write(pceltfetched, core::mem::transmute(ok__)); + pceltfetched.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -409,7 +409,7 @@ impl IMDSPEnumDevice_Vtbl { let this = (*this).get_impl(); match IMDSPEnumDevice_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppenumdevice, core::mem::transmute(ok__)); + ppenumdevice.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -446,7 +446,7 @@ impl IMDSPEnumStorage_Vtbl { let this = (*this).get_impl(); match IMDSPEnumStorage_Impl::Skip(this, core::mem::transmute_copy(&celt)) { Ok(ok__) => { - core::ptr::write(pceltfetched, core::mem::transmute(ok__)); + pceltfetched.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -462,7 +462,7 @@ impl IMDSPEnumStorage_Vtbl { let this = (*this).get_impl(); match IMDSPEnumStorage_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppenumstorage, core::mem::transmute(ok__)); + ppenumstorage.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -593,7 +593,7 @@ impl IMDSPObjectInfo_Vtbl { let this = (*this).get_impl(); match IMDSPObjectInfo_Impl::GetPlayLength(this) { Ok(ok__) => { - core::ptr::write(pdwlength, core::mem::transmute(ok__)); + pdwlength.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -609,7 +609,7 @@ impl IMDSPObjectInfo_Vtbl { let this = (*this).get_impl(); match IMDSPObjectInfo_Impl::GetPlayOffset(this) { Ok(ok__) => { - core::ptr::write(pdwoffset, core::mem::transmute(ok__)); + pdwoffset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -625,7 +625,7 @@ impl IMDSPObjectInfo_Vtbl { let this = (*this).get_impl(); match IMDSPObjectInfo_Impl::GetTotalLength(this) { Ok(ok__) => { - core::ptr::write(pdwlength, core::mem::transmute(ok__)); + pdwlength.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -636,7 +636,7 @@ impl IMDSPObjectInfo_Vtbl { let this = (*this).get_impl(); match IMDSPObjectInfo_Impl::GetLastPlayPosition(this) { Ok(ok__) => { - core::ptr::write(pdwlastpos, core::mem::transmute(ok__)); + pdwlastpos.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -647,7 +647,7 @@ impl IMDSPObjectInfo_Vtbl { let this = (*this).get_impl(); match IMDSPObjectInfo_Impl::GetLongestPlayPosition(this) { Ok(ok__) => { - core::ptr::write(pdwlongestpos, core::mem::transmute(ok__)); + pdwlongestpos.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -713,7 +713,7 @@ impl IMDSPStorage_Vtbl { let this = (*this).get_impl(); match IMDSPStorage_Impl::GetStorageGlobals(this) { Ok(ok__) => { - core::ptr::write(ppstorageglobals, core::mem::transmute(ok__)); + ppstorageglobals.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -734,7 +734,7 @@ impl IMDSPStorage_Vtbl { let this = (*this).get_impl(); match IMDSPStorage_Impl::GetDate(this) { Ok(ok__) => { - core::ptr::write(pdatetimeutc, core::mem::transmute(ok__)); + pdatetimeutc.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -755,7 +755,7 @@ impl IMDSPStorage_Vtbl { let this = (*this).get_impl(); match IMDSPStorage_Impl::CreateStorage(this, core::mem::transmute_copy(&dwattributes), core::mem::transmute_copy(&pformat), core::mem::transmute(&pwszname)) { Ok(ok__) => { - core::ptr::write(ppnewstorage, core::mem::transmute(ok__)); + ppnewstorage.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -766,7 +766,7 @@ impl IMDSPStorage_Vtbl { let this = (*this).get_impl(); match IMDSPStorage_Impl::EnumStorage(this) { Ok(ok__) => { - core::ptr::write(ppenumstorage, core::mem::transmute(ok__)); + ppenumstorage.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -812,7 +812,7 @@ impl IMDSPStorage2_Vtbl { let this = (*this).get_impl(); match IMDSPStorage2_Impl::GetStorage(this, core::mem::transmute(&pszstoragename)) { Ok(ok__) => { - core::ptr::write(ppstorage, core::mem::transmute(ok__)); + ppstorage.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -823,7 +823,7 @@ impl IMDSPStorage2_Vtbl { let this = (*this).get_impl(); match IMDSPStorage2_Impl::CreateStorage2(this, core::mem::transmute_copy(&dwattributes), core::mem::transmute_copy(&dwattributesex), core::mem::transmute_copy(&paudioformat), core::mem::transmute_copy(&pvideoformat), core::mem::transmute(&pwszname), core::mem::transmute_copy(&qwfilesize)) { Ok(ok__) => { - core::ptr::write(ppnewstorage, core::mem::transmute(ok__)); + ppnewstorage.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -910,7 +910,7 @@ impl IMDSPStorage4_Vtbl { let this = (*this).get_impl(); match IMDSPStorage4_Impl::CreateStorageWithMetadata(this, core::mem::transmute_copy(&dwattributes), core::mem::transmute(&pwszname), windows_core::from_raw_borrowed(&pmetadata), core::mem::transmute_copy(&qwfilesize)) { Ok(ok__) => { - core::ptr::write(ppnewstorage, core::mem::transmute(ok__)); + ppnewstorage.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -926,7 +926,7 @@ impl IMDSPStorage4_Vtbl { let this = (*this).get_impl(); match IMDSPStorage4_Impl::FindStorage(this, core::mem::transmute_copy(&findscope), core::mem::transmute(&pwszuniqueid)) { Ok(ok__) => { - core::ptr::write(ppstorage, core::mem::transmute(ok__)); + ppstorage.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -937,7 +937,7 @@ impl IMDSPStorage4_Vtbl { let this = (*this).get_impl(); match IMDSPStorage4_Impl::GetParent(this) { Ok(ok__) => { - core::ptr::write(ppstorage, core::mem::transmute(ok__)); + ppstorage.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -976,7 +976,7 @@ impl IMDSPStorageGlobals_Vtbl { let this = (*this).get_impl(); match IMDSPStorageGlobals_Impl::GetCapabilities(this) { Ok(ok__) => { - core::ptr::write(pdwcapabilities, core::mem::transmute(ok__)); + pdwcapabilities.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1007,7 +1007,7 @@ impl IMDSPStorageGlobals_Vtbl { let this = (*this).get_impl(); match IMDSPStorageGlobals_Impl::GetStatus(this) { Ok(ok__) => { - core::ptr::write(pdwstatus, core::mem::transmute(ok__)); + pdwstatus.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1023,7 +1023,7 @@ impl IMDSPStorageGlobals_Vtbl { let this = (*this).get_impl(); match IMDSPStorageGlobals_Impl::GetDevice(this) { Ok(ok__) => { - core::ptr::write(ppdevice, core::mem::transmute(ok__)); + ppdevice.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1034,7 +1034,7 @@ impl IMDSPStorageGlobals_Vtbl { let this = (*this).get_impl(); match IMDSPStorageGlobals_Impl::GetRootStorage(this) { Ok(ok__) => { - core::ptr::write(pproot, core::mem::transmute(ok__)); + pproot.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1069,7 +1069,7 @@ impl IMDServiceProvider_Vtbl { let this = (*this).get_impl(); match IMDServiceProvider_Impl::GetDeviceCount(this) { Ok(ok__) => { - core::ptr::write(pdwcount, core::mem::transmute(ok__)); + pdwcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1080,7 +1080,7 @@ impl IMDServiceProvider_Vtbl { let this = (*this).get_impl(); match IMDServiceProvider_Impl::EnumDevices(this) { Ok(ok__) => { - core::ptr::write(ppenumdevice, core::mem::transmute(ok__)); + ppenumdevice.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1141,7 +1141,7 @@ impl ISCPSecureAuthenticate_Vtbl { let this = (*this).get_impl(); match ISCPSecureAuthenticate_Impl::GetSecureQuery(this) { Ok(ok__) => { - core::ptr::write(ppsecurequery, core::mem::transmute(ok__)); + ppsecurequery.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1164,7 +1164,7 @@ impl ISCPSecureAuthenticate2_Vtbl { let this = (*this).get_impl(); match ISCPSecureAuthenticate2_Impl::GetSCPSession(this) { Ok(ok__) => { - core::ptr::write(ppscpsession, core::mem::transmute(ok__)); + ppscpsession.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1240,7 +1240,7 @@ impl ISCPSecureExchange3_Vtbl { let this = (*this).get_impl(); match ISCPSecureExchange3_Impl::TransferContainerDataOnClearChannel(this, windows_core::from_raw_borrowed(&pdevice), core::mem::transmute_copy(&pdata), core::mem::transmute_copy(&dwsize), windows_core::from_raw_borrowed(&pprogresscallback)) { Ok(ok__) => { - core::ptr::write(pfureadyflags, core::mem::transmute(ok__)); + pfureadyflags.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1417,7 +1417,7 @@ impl ISCPSession_Vtbl { let this = (*this).get_impl(); match ISCPSession_Impl::GetSecureQuery(this) { Ok(ok__) => { - core::ptr::write(ppsecurequery, core::mem::transmute(ok__)); + ppsecurequery.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1468,7 +1468,7 @@ impl IWMDMDevice_Vtbl { let this = (*this).get_impl(); match IWMDMDevice_Impl::GetVersion(this) { Ok(ok__) => { - core::ptr::write(pdwversion, core::mem::transmute(ok__)); + pdwversion.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1479,7 +1479,7 @@ impl IWMDMDevice_Vtbl { let this = (*this).get_impl(); match IWMDMDevice_Impl::GetType(this) { Ok(ok__) => { - core::ptr::write(pdwtype, core::mem::transmute(ok__)); + pdwtype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1500,7 +1500,7 @@ impl IWMDMDevice_Vtbl { let this = (*this).get_impl(); match IWMDMDevice_Impl::GetStatus(this) { Ok(ok__) => { - core::ptr::write(pdwstatus, core::mem::transmute(ok__)); + pdwstatus.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1511,7 +1511,7 @@ impl IWMDMDevice_Vtbl { let this = (*this).get_impl(); match IWMDMDevice_Impl::GetDeviceIcon(this) { Ok(ok__) => { - core::ptr::write(hicon, core::mem::transmute(ok__)); + hicon.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1522,7 +1522,7 @@ impl IWMDMDevice_Vtbl { let this = (*this).get_impl(); match IWMDMDevice_Impl::EnumStorage(this) { Ok(ok__) => { - core::ptr::write(ppenumstorage, core::mem::transmute(ok__)); + ppenumstorage.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1574,7 +1574,7 @@ impl IWMDMDevice2_Vtbl { let this = (*this).get_impl(); match IWMDMDevice2_Impl::GetStorage(this, core::mem::transmute(&pszstoragename)) { Ok(ok__) => { - core::ptr::write(ppstorage, core::mem::transmute(ok__)); + ppstorage.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1625,7 +1625,7 @@ impl IWMDMDevice3_Vtbl { let this = (*this).get_impl(); match IWMDMDevice3_Impl::GetProperty(this, core::mem::transmute(&pwszpropname)) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1641,7 +1641,7 @@ impl IWMDMDevice3_Vtbl { let this = (*this).get_impl(); match IWMDMDevice3_Impl::GetFormatCapability(this, core::mem::transmute_copy(&format)) { Ok(ok__) => { - core::ptr::write(pformatsupport, core::mem::transmute(ok__)); + pformatsupport.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1657,7 +1657,7 @@ impl IWMDMDevice3_Vtbl { let this = (*this).get_impl(); match IWMDMDevice3_Impl::FindStorage(this, core::mem::transmute_copy(&findscope), core::mem::transmute(&pwszuniqueid)) { Ok(ok__) => { - core::ptr::write(ppstorage, core::mem::transmute(ok__)); + ppstorage.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1697,7 +1697,7 @@ impl IWMDMDeviceControl_Vtbl { let this = (*this).get_impl(); match IWMDMDeviceControl_Impl::GetStatus(this) { Ok(ok__) => { - core::ptr::write(pdwstatus, core::mem::transmute(ok__)); + pdwstatus.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1708,7 +1708,7 @@ impl IWMDMDeviceControl_Vtbl { let this = (*this).get_impl(); match IWMDMDeviceControl_Impl::GetCapabilities(this) { Ok(ok__) => { - core::ptr::write(pdwcapabilitiesmask, core::mem::transmute(ok__)); + pdwcapabilitiesmask.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1806,7 +1806,7 @@ impl IWMDMEnumDevice_Vtbl { let this = (*this).get_impl(); match IWMDMEnumDevice_Impl::Skip(this, core::mem::transmute_copy(&celt)) { Ok(ok__) => { - core::ptr::write(pceltfetched, core::mem::transmute(ok__)); + pceltfetched.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1822,7 +1822,7 @@ impl IWMDMEnumDevice_Vtbl { let this = (*this).get_impl(); match IWMDMEnumDevice_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppenumdevice, core::mem::transmute(ok__)); + ppenumdevice.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1859,7 +1859,7 @@ impl IWMDMEnumStorage_Vtbl { let this = (*this).get_impl(); match IWMDMEnumStorage_Impl::Skip(this, core::mem::transmute_copy(&celt)) { Ok(ok__) => { - core::ptr::write(pceltfetched, core::mem::transmute(ok__)); + pceltfetched.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1875,7 +1875,7 @@ impl IWMDMEnumStorage_Vtbl { let this = (*this).get_impl(); match IWMDMEnumStorage_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppenumstorage, core::mem::transmute(ok__)); + ppenumstorage.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1912,7 +1912,7 @@ impl IWMDMLogger_Vtbl { let this = (*this).get_impl(); match IWMDMLogger_Impl::IsEnabled(this) { Ok(ok__) => { - core::ptr::write(pfenabled, core::mem::transmute(ok__)); + pfenabled.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2004,7 +2004,7 @@ impl IWMDMMetaData_Vtbl { let this = (*this).get_impl(); match IWMDMMetaData_Impl::GetItemCount(this) { Ok(ok__) => { - core::ptr::write(icount, core::mem::transmute(ok__)); + icount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2056,7 +2056,7 @@ impl IWMDMObjectInfo_Vtbl { let this = (*this).get_impl(); match IWMDMObjectInfo_Impl::GetPlayLength(this) { Ok(ok__) => { - core::ptr::write(pdwlength, core::mem::transmute(ok__)); + pdwlength.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2072,7 +2072,7 @@ impl IWMDMObjectInfo_Vtbl { let this = (*this).get_impl(); match IWMDMObjectInfo_Impl::GetPlayOffset(this) { Ok(ok__) => { - core::ptr::write(pdwoffset, core::mem::transmute(ok__)); + pdwoffset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2088,7 +2088,7 @@ impl IWMDMObjectInfo_Vtbl { let this = (*this).get_impl(); match IWMDMObjectInfo_Impl::GetTotalLength(this) { Ok(ok__) => { - core::ptr::write(pdwlength, core::mem::transmute(ok__)); + pdwlength.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2099,7 +2099,7 @@ impl IWMDMObjectInfo_Vtbl { let this = (*this).get_impl(); match IWMDMObjectInfo_Impl::GetLastPlayPosition(this) { Ok(ok__) => { - core::ptr::write(pdwlastpos, core::mem::transmute(ok__)); + pdwlastpos.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2110,7 +2110,7 @@ impl IWMDMObjectInfo_Vtbl { let this = (*this).get_impl(); match IWMDMObjectInfo_Impl::GetLongestPlayPosition(this) { Ok(ok__) => { - core::ptr::write(pdwlongestpos, core::mem::transmute(ok__)); + pdwlongestpos.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2399,7 +2399,7 @@ impl IWMDMStorage_Vtbl { let this = (*this).get_impl(); match IWMDMStorage_Impl::GetStorageGlobals(this) { Ok(ok__) => { - core::ptr::write(ppstorageglobals, core::mem::transmute(ok__)); + ppstorageglobals.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2420,7 +2420,7 @@ impl IWMDMStorage_Vtbl { let this = (*this).get_impl(); match IWMDMStorage_Impl::GetDate(this) { Ok(ok__) => { - core::ptr::write(pdatetimeutc, core::mem::transmute(ok__)); + pdatetimeutc.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2441,7 +2441,7 @@ impl IWMDMStorage_Vtbl { let this = (*this).get_impl(); match IWMDMStorage_Impl::EnumStorage(this) { Ok(ok__) => { - core::ptr::write(penumstorage, core::mem::transmute(ok__)); + penumstorage.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2485,7 +2485,7 @@ impl IWMDMStorage2_Vtbl { let this = (*this).get_impl(); match IWMDMStorage2_Impl::GetStorage(this, core::mem::transmute(&pszstoragename)) { Ok(ok__) => { - core::ptr::write(ppstorage, core::mem::transmute(ok__)); + ppstorage.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2529,7 +2529,7 @@ impl IWMDMStorage3_Vtbl { let this = (*this).get_impl(); match IWMDMStorage3_Impl::GetMetadata(this) { Ok(ok__) => { - core::ptr::write(ppmetadata, core::mem::transmute(ok__)); + ppmetadata.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2545,7 +2545,7 @@ impl IWMDMStorage3_Vtbl { let this = (*this).get_impl(); match IWMDMStorage3_Impl::CreateEmptyMetadataObject(this) { Ok(ok__) => { - core::ptr::write(ppmetadata, core::mem::transmute(ok__)); + ppmetadata.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2602,7 +2602,7 @@ impl IWMDMStorage4_Vtbl { let this = (*this).get_impl(); match IWMDMStorage4_Impl::GetSpecifiedMetadata(this, core::mem::transmute_copy(&cproperties), core::mem::transmute_copy(&ppwszpropnames)) { Ok(ok__) => { - core::ptr::write(ppmetadata, core::mem::transmute(ok__)); + ppmetadata.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2613,7 +2613,7 @@ impl IWMDMStorage4_Vtbl { let this = (*this).get_impl(); match IWMDMStorage4_Impl::FindStorage(this, core::mem::transmute_copy(&findscope), core::mem::transmute(&pwszuniqueid)) { Ok(ok__) => { - core::ptr::write(ppstorage, core::mem::transmute(ok__)); + ppstorage.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2624,7 +2624,7 @@ impl IWMDMStorage4_Vtbl { let this = (*this).get_impl(); match IWMDMStorage4_Impl::GetParent(this) { Ok(ok__) => { - core::ptr::write(ppstorage, core::mem::transmute(ok__)); + ppstorage.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2659,7 +2659,7 @@ impl IWMDMStorageControl_Vtbl { let this = (*this).get_impl(); match IWMDMStorageControl_Impl::Insert(this, core::mem::transmute_copy(&fumode), core::mem::transmute(&pwszfile), windows_core::from_raw_borrowed(&poperation), windows_core::from_raw_borrowed(&pprogress)) { Ok(ok__) => { - core::ptr::write(ppnewobject, core::mem::transmute(ok__)); + ppnewobject.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2749,7 +2749,7 @@ impl IWMDMStorageGlobals_Vtbl { let this = (*this).get_impl(); match IWMDMStorageGlobals_Impl::GetCapabilities(this) { Ok(ok__) => { - core::ptr::write(pdwcapabilities, core::mem::transmute(ok__)); + pdwcapabilities.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2780,7 +2780,7 @@ impl IWMDMStorageGlobals_Vtbl { let this = (*this).get_impl(); match IWMDMStorageGlobals_Impl::GetStatus(this) { Ok(ok__) => { - core::ptr::write(pdwstatus, core::mem::transmute(ok__)); + pdwstatus.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2819,7 +2819,7 @@ impl IWMDeviceManager_Vtbl { let this = (*this).get_impl(); match IWMDeviceManager_Impl::GetRevision(this) { Ok(ok__) => { - core::ptr::write(pdwrevision, core::mem::transmute(ok__)); + pdwrevision.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2830,7 +2830,7 @@ impl IWMDeviceManager_Vtbl { let this = (*this).get_impl(); match IWMDeviceManager_Impl::GetDeviceCount(this) { Ok(ok__) => { - core::ptr::write(pdwcount, core::mem::transmute(ok__)); + pdwcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2841,7 +2841,7 @@ impl IWMDeviceManager_Vtbl { let this = (*this).get_impl(); match IWMDeviceManager_Impl::EnumDevices(this) { Ok(ok__) => { - core::ptr::write(ppenumdevice, core::mem::transmute(ok__)); + ppenumdevice.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2871,7 +2871,7 @@ impl IWMDeviceManager2_Vtbl { let this = (*this).get_impl(); match IWMDeviceManager2_Impl::GetDeviceFromCanonicalName(this, core::mem::transmute(&pwszcanonicalname)) { Ok(ok__) => { - core::ptr::write(ppdevice, core::mem::transmute(ok__)); + ppdevice.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2882,7 +2882,7 @@ impl IWMDeviceManager2_Vtbl { let this = (*this).get_impl(); match IWMDeviceManager2_Impl::EnumDevices2(this) { Ok(ok__) => { - core::ptr::write(ppenumdevice, core::mem::transmute(ok__)); + ppenumdevice.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/Win32/Media/DirectShow/Tv/impl.rs b/crates/libs/windows/src/Windows/Win32/Media/DirectShow/Tv/impl.rs index b68438d64b..b9158b4843 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/DirectShow/Tv/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/DirectShow/Tv/impl.rs @@ -13,7 +13,7 @@ impl IATSCChannelTuneRequest_Vtbl { let this = (*this).get_impl(); match IATSCChannelTuneRequest_Impl::MinorChannel(this) { Ok(ok__) => { - core::ptr::write(minorchannel, core::mem::transmute(ok__)); + minorchannel.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -49,7 +49,7 @@ impl IATSCComponentType_Vtbl { let this = (*this).get_impl(); match IATSCComponentType_Impl::Flags(this) { Ok(ok__) => { - core::ptr::write(flags, core::mem::transmute(ok__)); + flags.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -87,7 +87,7 @@ impl IATSCLocator_Vtbl { let this = (*this).get_impl(); match IATSCLocator_Impl::PhysicalChannel(this) { Ok(ok__) => { - core::ptr::write(physicalchannel, core::mem::transmute(ok__)); + physicalchannel.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -103,7 +103,7 @@ impl IATSCLocator_Vtbl { let this = (*this).get_impl(); match IATSCLocator_Impl::TSID(this) { Ok(ok__) => { - core::ptr::write(tsid, core::mem::transmute(ok__)); + tsid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -141,7 +141,7 @@ impl IATSCLocator2_Vtbl { let this = (*this).get_impl(); match IATSCLocator2_Impl::ProgramNumber(this) { Ok(ok__) => { - core::ptr::write(programnumber, core::mem::transmute(ok__)); + programnumber.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -183,7 +183,7 @@ impl IATSCTuningSpace_Vtbl { let this = (*this).get_impl(); match IATSCTuningSpace_Impl::MinMinorChannel(this) { Ok(ok__) => { - core::ptr::write(minminorchannelval, core::mem::transmute(ok__)); + minminorchannelval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -199,7 +199,7 @@ impl IATSCTuningSpace_Vtbl { let this = (*this).get_impl(); match IATSCTuningSpace_Impl::MaxMinorChannel(this) { Ok(ok__) => { - core::ptr::write(maxminorchannelval, core::mem::transmute(ok__)); + maxminorchannelval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -215,7 +215,7 @@ impl IATSCTuningSpace_Vtbl { let this = (*this).get_impl(); match IATSCTuningSpace_Impl::MinPhysicalChannel(this) { Ok(ok__) => { - core::ptr::write(minphysicalchannelval, core::mem::transmute(ok__)); + minphysicalchannelval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -231,7 +231,7 @@ impl IATSCTuningSpace_Vtbl { let this = (*this).get_impl(); match IATSCTuningSpace_Impl::MaxPhysicalChannel(this) { Ok(ok__) => { - core::ptr::write(maxphysicalchannelval, core::mem::transmute(ok__)); + maxphysicalchannelval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -286,7 +286,7 @@ impl IATSC_EIT_Vtbl { let this = (*this).get_impl(); match IATSC_EIT_Impl::GetVersionNumber(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -297,7 +297,7 @@ impl IATSC_EIT_Vtbl { let this = (*this).get_impl(); match IATSC_EIT_Impl::GetSourceId(this) { Ok(ok__) => { - core::ptr::write(pwval, core::mem::transmute(ok__)); + pwval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -308,7 +308,7 @@ impl IATSC_EIT_Vtbl { let this = (*this).get_impl(); match IATSC_EIT_Impl::GetProtocolVersion(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -319,7 +319,7 @@ impl IATSC_EIT_Vtbl { let this = (*this).get_impl(); match IATSC_EIT_Impl::GetCountOfRecords(this) { Ok(ok__) => { - core::ptr::write(pdwval, core::mem::transmute(ok__)); + pdwval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -330,7 +330,7 @@ impl IATSC_EIT_Vtbl { let this = (*this).get_impl(); match IATSC_EIT_Impl::GetRecordEventId(this, core::mem::transmute_copy(&dwrecordindex)) { Ok(ok__) => { - core::ptr::write(pwval, core::mem::transmute(ok__)); + pwval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -341,7 +341,7 @@ impl IATSC_EIT_Vtbl { let this = (*this).get_impl(); match IATSC_EIT_Impl::GetRecordStartTime(this, core::mem::transmute_copy(&dwrecordindex)) { Ok(ok__) => { - core::ptr::write(pmdtval, core::mem::transmute(ok__)); + pmdtval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -352,7 +352,7 @@ impl IATSC_EIT_Vtbl { let this = (*this).get_impl(); match IATSC_EIT_Impl::GetRecordEtmLocation(this, core::mem::transmute_copy(&dwrecordindex)) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -363,7 +363,7 @@ impl IATSC_EIT_Vtbl { let this = (*this).get_impl(); match IATSC_EIT_Impl::GetRecordDuration(this, core::mem::transmute_copy(&dwrecordindex)) { Ok(ok__) => { - core::ptr::write(pmdval, core::mem::transmute(ok__)); + pmdval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -379,7 +379,7 @@ impl IATSC_EIT_Vtbl { let this = (*this).get_impl(); match IATSC_EIT_Impl::GetRecordCountOfDescriptors(this, core::mem::transmute_copy(&dwrecordindex)) { Ok(ok__) => { - core::ptr::write(pdwval, core::mem::transmute(ok__)); + pdwval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -390,7 +390,7 @@ impl IATSC_EIT_Vtbl { let this = (*this).get_impl(); match IATSC_EIT_Impl::GetRecordDescriptorByIndex(this, core::mem::transmute_copy(&dwrecordindex), core::mem::transmute_copy(&dwindex)) { Ok(ok__) => { - core::ptr::write(ppdescriptor, core::mem::transmute(ok__)); + ppdescriptor.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -442,7 +442,7 @@ impl IATSC_ETT_Vtbl { let this = (*this).get_impl(); match IATSC_ETT_Impl::GetVersionNumber(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -453,7 +453,7 @@ impl IATSC_ETT_Vtbl { let this = (*this).get_impl(); match IATSC_ETT_Impl::GetProtocolVersion(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -464,7 +464,7 @@ impl IATSC_ETT_Vtbl { let this = (*this).get_impl(); match IATSC_ETT_Impl::GetEtmId(this) { Ok(ok__) => { - core::ptr::write(pdwval, core::mem::transmute(ok__)); + pdwval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -516,7 +516,7 @@ impl IATSC_MGT_Vtbl { let this = (*this).get_impl(); match IATSC_MGT_Impl::GetVersionNumber(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -527,7 +527,7 @@ impl IATSC_MGT_Vtbl { let this = (*this).get_impl(); match IATSC_MGT_Impl::GetProtocolVersion(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -538,7 +538,7 @@ impl IATSC_MGT_Vtbl { let this = (*this).get_impl(); match IATSC_MGT_Impl::GetCountOfRecords(this) { Ok(ok__) => { - core::ptr::write(pdwval, core::mem::transmute(ok__)); + pdwval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -549,7 +549,7 @@ impl IATSC_MGT_Vtbl { let this = (*this).get_impl(); match IATSC_MGT_Impl::GetRecordType(this, core::mem::transmute_copy(&dwrecordindex)) { Ok(ok__) => { - core::ptr::write(pwval, core::mem::transmute(ok__)); + pwval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -560,7 +560,7 @@ impl IATSC_MGT_Vtbl { let this = (*this).get_impl(); match IATSC_MGT_Impl::GetRecordTypePid(this, core::mem::transmute_copy(&dwrecordindex)) { Ok(ok__) => { - core::ptr::write(ppidval, core::mem::transmute(ok__)); + ppidval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -571,7 +571,7 @@ impl IATSC_MGT_Vtbl { let this = (*this).get_impl(); match IATSC_MGT_Impl::GetRecordVersionNumber(this, core::mem::transmute_copy(&dwrecordindex)) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -582,7 +582,7 @@ impl IATSC_MGT_Vtbl { let this = (*this).get_impl(); match IATSC_MGT_Impl::GetRecordCountOfDescriptors(this, core::mem::transmute_copy(&dwrecordindex)) { Ok(ok__) => { - core::ptr::write(pdwval, core::mem::transmute(ok__)); + pdwval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -593,7 +593,7 @@ impl IATSC_MGT_Vtbl { let this = (*this).get_impl(); match IATSC_MGT_Impl::GetRecordDescriptorByIndex(this, core::mem::transmute_copy(&dwrecordindex), core::mem::transmute_copy(&dwindex)) { Ok(ok__) => { - core::ptr::write(ppdescriptor, core::mem::transmute(ok__)); + ppdescriptor.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -614,7 +614,7 @@ impl IATSC_MGT_Vtbl { let this = (*this).get_impl(); match IATSC_MGT_Impl::GetTableDescriptorByIndex(this, core::mem::transmute_copy(&dwindex)) { Ok(ok__) => { - core::ptr::write(ppdescriptor, core::mem::transmute(ok__)); + ppdescriptor.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -669,7 +669,7 @@ impl IATSC_STT_Vtbl { let this = (*this).get_impl(); match IATSC_STT_Impl::GetProtocolVersion(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -680,7 +680,7 @@ impl IATSC_STT_Vtbl { let this = (*this).get_impl(); match IATSC_STT_Impl::GetSystemTime(this) { Ok(ok__) => { - core::ptr::write(pmdtsystemtime, core::mem::transmute(ok__)); + pmdtsystemtime.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -691,7 +691,7 @@ impl IATSC_STT_Vtbl { let this = (*this).get_impl(); match IATSC_STT_Impl::GetGpsUtcOffset(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -702,7 +702,7 @@ impl IATSC_STT_Vtbl { let this = (*this).get_impl(); match IATSC_STT_Impl::GetDaylightSavings(this) { Ok(ok__) => { - core::ptr::write(pwval, core::mem::transmute(ok__)); + pwval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -713,7 +713,7 @@ impl IATSC_STT_Vtbl { let this = (*this).get_impl(); match IATSC_STT_Impl::GetCountOfTableDescriptors(this) { Ok(ok__) => { - core::ptr::write(pdwval, core::mem::transmute(ok__)); + pdwval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -724,7 +724,7 @@ impl IATSC_STT_Vtbl { let this = (*this).get_impl(); match IATSC_STT_Impl::GetTableDescriptorByIndex(this, core::mem::transmute_copy(&dwindex)) { Ok(ok__) => { - core::ptr::write(ppdescriptor, core::mem::transmute(ok__)); + ppdescriptor.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -792,7 +792,7 @@ impl IATSC_VCT_Vtbl { let this = (*this).get_impl(); match IATSC_VCT_Impl::GetVersionNumber(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -803,7 +803,7 @@ impl IATSC_VCT_Vtbl { let this = (*this).get_impl(); match IATSC_VCT_Impl::GetTransportStreamId(this) { Ok(ok__) => { - core::ptr::write(pwval, core::mem::transmute(ok__)); + pwval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -814,7 +814,7 @@ impl IATSC_VCT_Vtbl { let this = (*this).get_impl(); match IATSC_VCT_Impl::GetProtocolVersion(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -825,7 +825,7 @@ impl IATSC_VCT_Vtbl { let this = (*this).get_impl(); match IATSC_VCT_Impl::GetCountOfRecords(this) { Ok(ok__) => { - core::ptr::write(pdwval, core::mem::transmute(ok__)); + pdwval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -836,7 +836,7 @@ impl IATSC_VCT_Vtbl { let this = (*this).get_impl(); match IATSC_VCT_Impl::GetRecordName(this, core::mem::transmute_copy(&dwrecordindex)) { Ok(ok__) => { - core::ptr::write(pwsname, core::mem::transmute(ok__)); + pwsname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -847,7 +847,7 @@ impl IATSC_VCT_Vtbl { let this = (*this).get_impl(); match IATSC_VCT_Impl::GetRecordMajorChannelNumber(this, core::mem::transmute_copy(&dwrecordindex)) { Ok(ok__) => { - core::ptr::write(pwval, core::mem::transmute(ok__)); + pwval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -858,7 +858,7 @@ impl IATSC_VCT_Vtbl { let this = (*this).get_impl(); match IATSC_VCT_Impl::GetRecordMinorChannelNumber(this, core::mem::transmute_copy(&dwrecordindex)) { Ok(ok__) => { - core::ptr::write(pwval, core::mem::transmute(ok__)); + pwval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -869,7 +869,7 @@ impl IATSC_VCT_Vtbl { let this = (*this).get_impl(); match IATSC_VCT_Impl::GetRecordModulationMode(this, core::mem::transmute_copy(&dwrecordindex)) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -880,7 +880,7 @@ impl IATSC_VCT_Vtbl { let this = (*this).get_impl(); match IATSC_VCT_Impl::GetRecordCarrierFrequency(this, core::mem::transmute_copy(&dwrecordindex)) { Ok(ok__) => { - core::ptr::write(pdwval, core::mem::transmute(ok__)); + pdwval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -891,7 +891,7 @@ impl IATSC_VCT_Vtbl { let this = (*this).get_impl(); match IATSC_VCT_Impl::GetRecordTransportStreamId(this, core::mem::transmute_copy(&dwrecordindex)) { Ok(ok__) => { - core::ptr::write(pwval, core::mem::transmute(ok__)); + pwval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -902,7 +902,7 @@ impl IATSC_VCT_Vtbl { let this = (*this).get_impl(); match IATSC_VCT_Impl::GetRecordProgramNumber(this, core::mem::transmute_copy(&dwrecordindex)) { Ok(ok__) => { - core::ptr::write(pwval, core::mem::transmute(ok__)); + pwval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -913,7 +913,7 @@ impl IATSC_VCT_Vtbl { let this = (*this).get_impl(); match IATSC_VCT_Impl::GetRecordEtmLocation(this, core::mem::transmute_copy(&dwrecordindex)) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -924,7 +924,7 @@ impl IATSC_VCT_Vtbl { let this = (*this).get_impl(); match IATSC_VCT_Impl::GetRecordIsAccessControlledBitSet(this, core::mem::transmute_copy(&dwrecordindex)) { Ok(ok__) => { - core::ptr::write(pfval, core::mem::transmute(ok__)); + pfval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -935,7 +935,7 @@ impl IATSC_VCT_Vtbl { let this = (*this).get_impl(); match IATSC_VCT_Impl::GetRecordIsHiddenBitSet(this, core::mem::transmute_copy(&dwrecordindex)) { Ok(ok__) => { - core::ptr::write(pfval, core::mem::transmute(ok__)); + pfval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -946,7 +946,7 @@ impl IATSC_VCT_Vtbl { let this = (*this).get_impl(); match IATSC_VCT_Impl::GetRecordIsPathSelectBitSet(this, core::mem::transmute_copy(&dwrecordindex)) { Ok(ok__) => { - core::ptr::write(pfval, core::mem::transmute(ok__)); + pfval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -957,7 +957,7 @@ impl IATSC_VCT_Vtbl { let this = (*this).get_impl(); match IATSC_VCT_Impl::GetRecordIsOutOfBandBitSet(this, core::mem::transmute_copy(&dwrecordindex)) { Ok(ok__) => { - core::ptr::write(pfval, core::mem::transmute(ok__)); + pfval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -968,7 +968,7 @@ impl IATSC_VCT_Vtbl { let this = (*this).get_impl(); match IATSC_VCT_Impl::GetRecordIsHideGuideBitSet(this, core::mem::transmute_copy(&dwrecordindex)) { Ok(ok__) => { - core::ptr::write(pfval, core::mem::transmute(ok__)); + pfval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -979,7 +979,7 @@ impl IATSC_VCT_Vtbl { let this = (*this).get_impl(); match IATSC_VCT_Impl::GetRecordServiceType(this, core::mem::transmute_copy(&dwrecordindex)) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -990,7 +990,7 @@ impl IATSC_VCT_Vtbl { let this = (*this).get_impl(); match IATSC_VCT_Impl::GetRecordSourceId(this, core::mem::transmute_copy(&dwrecordindex)) { Ok(ok__) => { - core::ptr::write(pwval, core::mem::transmute(ok__)); + pwval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1001,7 +1001,7 @@ impl IATSC_VCT_Vtbl { let this = (*this).get_impl(); match IATSC_VCT_Impl::GetRecordCountOfDescriptors(this, core::mem::transmute_copy(&dwrecordindex)) { Ok(ok__) => { - core::ptr::write(pdwval, core::mem::transmute(ok__)); + pdwval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1012,7 +1012,7 @@ impl IATSC_VCT_Vtbl { let this = (*this).get_impl(); match IATSC_VCT_Impl::GetRecordDescriptorByIndex(this, core::mem::transmute_copy(&dwrecordindex), core::mem::transmute_copy(&dwindex)) { Ok(ok__) => { - core::ptr::write(ppdescriptor, core::mem::transmute(ok__)); + ppdescriptor.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1033,7 +1033,7 @@ impl IATSC_VCT_Vtbl { let this = (*this).get_impl(); match IATSC_VCT_Impl::GetTableDescriptorByIndex(this, core::mem::transmute_copy(&dwindex)) { Ok(ok__) => { - core::ptr::write(ppdescriptor, core::mem::transmute(ok__)); + ppdescriptor.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1093,7 +1093,7 @@ impl IAnalogAudioComponentType_Vtbl { let this = (*this).get_impl(); match IAnalogAudioComponentType_Impl::AnalogAudioMode(this) { Ok(ok__) => { - core::ptr::write(mode, core::mem::transmute(ok__)); + mode.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1129,7 +1129,7 @@ impl IAnalogLocator_Vtbl { let this = (*this).get_impl(); match IAnalogLocator_Impl::VideoStandard(this) { Ok(ok__) => { - core::ptr::write(avs, core::mem::transmute(ok__)); + avs.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1169,7 +1169,7 @@ impl IAnalogRadioTuningSpace_Vtbl { let this = (*this).get_impl(); match IAnalogRadioTuningSpace_Impl::MinFrequency(this) { Ok(ok__) => { - core::ptr::write(minfrequencyval, core::mem::transmute(ok__)); + minfrequencyval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1185,7 +1185,7 @@ impl IAnalogRadioTuningSpace_Vtbl { let this = (*this).get_impl(); match IAnalogRadioTuningSpace_Impl::MaxFrequency(this) { Ok(ok__) => { - core::ptr::write(maxfrequencyval, core::mem::transmute(ok__)); + maxfrequencyval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1201,7 +1201,7 @@ impl IAnalogRadioTuningSpace_Vtbl { let this = (*this).get_impl(); match IAnalogRadioTuningSpace_Impl::Step(this) { Ok(ok__) => { - core::ptr::write(stepval, core::mem::transmute(ok__)); + stepval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1241,7 +1241,7 @@ impl IAnalogRadioTuningSpace2_Vtbl { let this = (*this).get_impl(); match IAnalogRadioTuningSpace2_Impl::CountryCode(this) { Ok(ok__) => { - core::ptr::write(countrycodeval, core::mem::transmute(ok__)); + countrycodeval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1283,7 +1283,7 @@ impl IAnalogTVTuningSpace_Vtbl { let this = (*this).get_impl(); match IAnalogTVTuningSpace_Impl::MinChannel(this) { Ok(ok__) => { - core::ptr::write(minchannelval, core::mem::transmute(ok__)); + minchannelval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1299,7 +1299,7 @@ impl IAnalogTVTuningSpace_Vtbl { let this = (*this).get_impl(); match IAnalogTVTuningSpace_Impl::MaxChannel(this) { Ok(ok__) => { - core::ptr::write(maxchannelval, core::mem::transmute(ok__)); + maxchannelval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1315,7 +1315,7 @@ impl IAnalogTVTuningSpace_Vtbl { let this = (*this).get_impl(); match IAnalogTVTuningSpace_Impl::InputType(this) { Ok(ok__) => { - core::ptr::write(inputtypeval, core::mem::transmute(ok__)); + inputtypeval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1331,7 +1331,7 @@ impl IAnalogTVTuningSpace_Vtbl { let this = (*this).get_impl(); match IAnalogTVTuningSpace_Impl::CountryCode(this) { Ok(ok__) => { - core::ptr::write(countrycodeval, core::mem::transmute(ok__)); + countrycodeval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1376,7 +1376,7 @@ impl IAtscContentAdvisoryDescriptor_Vtbl { let this = (*this).get_impl(); match IAtscContentAdvisoryDescriptor_Impl::GetTag(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1387,7 +1387,7 @@ impl IAtscContentAdvisoryDescriptor_Vtbl { let this = (*this).get_impl(); match IAtscContentAdvisoryDescriptor_Impl::GetLength(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1398,7 +1398,7 @@ impl IAtscContentAdvisoryDescriptor_Vtbl { let this = (*this).get_impl(); match IAtscContentAdvisoryDescriptor_Impl::GetRatingRegionCount(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1409,7 +1409,7 @@ impl IAtscContentAdvisoryDescriptor_Vtbl { let this = (*this).get_impl(); match IAtscContentAdvisoryDescriptor_Impl::GetRecordRatingRegion(this, core::mem::transmute_copy(&bindex)) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1420,7 +1420,7 @@ impl IAtscContentAdvisoryDescriptor_Vtbl { let this = (*this).get_impl(); match IAtscContentAdvisoryDescriptor_Impl::GetRecordRatedDimensions(this, core::mem::transmute_copy(&bindex)) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1431,7 +1431,7 @@ impl IAtscContentAdvisoryDescriptor_Vtbl { let this = (*this).get_impl(); match IAtscContentAdvisoryDescriptor_Impl::GetRecordRatingDimension(this, core::mem::transmute_copy(&bindexouter), core::mem::transmute_copy(&bindexinner)) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1442,7 +1442,7 @@ impl IAtscContentAdvisoryDescriptor_Vtbl { let this = (*this).get_impl(); match IAtscContentAdvisoryDescriptor_Impl::GetRecordRatingValue(this, core::mem::transmute_copy(&bindexouter), core::mem::transmute_copy(&bindexinner)) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1495,7 +1495,7 @@ impl IAtscPsipParser_Vtbl { let this = (*this).get_impl(); match IAtscPsipParser_Impl::GetPAT(this) { Ok(ok__) => { - core::ptr::write(pppat, core::mem::transmute(ok__)); + pppat.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1506,7 +1506,7 @@ impl IAtscPsipParser_Vtbl { let this = (*this).get_impl(); match IAtscPsipParser_Impl::GetCAT(this, core::mem::transmute_copy(&dwtimeout)) { Ok(ok__) => { - core::ptr::write(ppcat, core::mem::transmute(ok__)); + ppcat.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1517,7 +1517,7 @@ impl IAtscPsipParser_Vtbl { let this = (*this).get_impl(); match IAtscPsipParser_Impl::GetPMT(this, core::mem::transmute_copy(&pid), core::mem::transmute_copy(&pwprogramnumber)) { Ok(ok__) => { - core::ptr::write(pppmt, core::mem::transmute(ok__)); + pppmt.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1528,7 +1528,7 @@ impl IAtscPsipParser_Vtbl { let this = (*this).get_impl(); match IAtscPsipParser_Impl::GetTSDT(this) { Ok(ok__) => { - core::ptr::write(pptsdt, core::mem::transmute(ok__)); + pptsdt.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1539,7 +1539,7 @@ impl IAtscPsipParser_Vtbl { let this = (*this).get_impl(); match IAtscPsipParser_Impl::GetMGT(this) { Ok(ok__) => { - core::ptr::write(ppmgt, core::mem::transmute(ok__)); + ppmgt.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1550,7 +1550,7 @@ impl IAtscPsipParser_Vtbl { let this = (*this).get_impl(); match IAtscPsipParser_Impl::GetVCT(this, core::mem::transmute_copy(&tableid), core::mem::transmute_copy(&fgetnexttable)) { Ok(ok__) => { - core::ptr::write(ppvct, core::mem::transmute(ok__)); + ppvct.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1561,7 +1561,7 @@ impl IAtscPsipParser_Vtbl { let this = (*this).get_impl(); match IAtscPsipParser_Impl::GetEIT(this, core::mem::transmute_copy(&pid), core::mem::transmute_copy(&pwsourceid), core::mem::transmute_copy(&dwtimeout)) { Ok(ok__) => { - core::ptr::write(ppeit, core::mem::transmute(ok__)); + ppeit.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1572,7 +1572,7 @@ impl IAtscPsipParser_Vtbl { let this = (*this).get_impl(); match IAtscPsipParser_Impl::GetETT(this, core::mem::transmute_copy(&pid), core::mem::transmute_copy(&wsourceid), core::mem::transmute_copy(&pweventid)) { Ok(ok__) => { - core::ptr::write(ppett, core::mem::transmute(ok__)); + ppett.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1583,7 +1583,7 @@ impl IAtscPsipParser_Vtbl { let this = (*this).get_impl(); match IAtscPsipParser_Impl::GetSTT(this) { Ok(ok__) => { - core::ptr::write(ppstt, core::mem::transmute(ok__)); + ppstt.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1594,7 +1594,7 @@ impl IAtscPsipParser_Vtbl { let this = (*this).get_impl(); match IAtscPsipParser_Impl::GetEAS(this, core::mem::transmute_copy(&pid)) { Ok(ok__) => { - core::ptr::write(ppeas, core::mem::transmute(ok__)); + ppeas.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1632,7 +1632,7 @@ impl IAttributeGet_Vtbl { let this = (*this).get_impl(); match IAttributeGet_Impl::GetCount(this) { Ok(ok__) => { - core::ptr::write(plcount, core::mem::transmute(ok__)); + plcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1704,7 +1704,7 @@ impl IAuxInTuningSpace2_Vtbl { let this = (*this).get_impl(); match IAuxInTuningSpace2_Impl::CountryCode(this) { Ok(ok__) => { - core::ptr::write(countrycodeval, core::mem::transmute(ok__)); + countrycodeval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1744,7 +1744,7 @@ impl IBDAComparable_Vtbl { let this = (*this).get_impl(); match IBDAComparable_Impl::CompareExact(this, windows_core::from_raw_borrowed(&compareto)) { Ok(ok__) => { - core::ptr::write(result, core::mem::transmute(ok__)); + result.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1755,7 +1755,7 @@ impl IBDAComparable_Vtbl { let this = (*this).get_impl(); match IBDAComparable_Impl::CompareEquivalent(this, windows_core::from_raw_borrowed(&compareto), core::mem::transmute_copy(&dwflags)) { Ok(ok__) => { - core::ptr::write(result, core::mem::transmute(ok__)); + result.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1766,7 +1766,7 @@ impl IBDAComparable_Vtbl { let this = (*this).get_impl(); match IBDAComparable_Impl::HashExact(this) { Ok(ok__) => { - core::ptr::write(result, core::mem::transmute(ok__)); + result.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1777,7 +1777,7 @@ impl IBDAComparable_Vtbl { let this = (*this).get_impl(); match IBDAComparable_Impl::HashExactIncremental(this, core::mem::transmute_copy(&partialresult)) { Ok(ok__) => { - core::ptr::write(result, core::mem::transmute(ok__)); + result.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1788,7 +1788,7 @@ impl IBDAComparable_Vtbl { let this = (*this).get_impl(); match IBDAComparable_Impl::HashEquivalent(this, core::mem::transmute_copy(&dwflags)) { Ok(ok__) => { - core::ptr::write(result, core::mem::transmute(ok__)); + result.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1799,7 +1799,7 @@ impl IBDAComparable_Vtbl { let this = (*this).get_impl(); match IBDAComparable_Impl::HashEquivalentIncremental(this, core::mem::transmute_copy(&partialresult), core::mem::transmute_copy(&dwflags)) { Ok(ok__) => { - core::ptr::write(result, core::mem::transmute(ok__)); + result.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1833,7 +1833,7 @@ impl IBDACreateTuneRequestEx_Vtbl { let this = (*this).get_impl(); match IBDACreateTuneRequestEx_Impl::CreateTuneRequestEx(this, core::mem::transmute_copy(&tunerequestiid)) { Ok(ok__) => { - core::ptr::write(tunerequest, core::mem::transmute(ok__)); + tunerequest.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1896,7 +1896,7 @@ impl ICAT_Vtbl { let this = (*this).get_impl(); match ICAT_Impl::GetVersionNumber(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1907,7 +1907,7 @@ impl ICAT_Vtbl { let this = (*this).get_impl(); match ICAT_Impl::GetCountOfTableDescriptors(this) { Ok(ok__) => { - core::ptr::write(pdwval, core::mem::transmute(ok__)); + pdwval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1918,7 +1918,7 @@ impl ICAT_Vtbl { let this = (*this).get_impl(); match ICAT_Impl::GetTableDescriptorByIndex(this, core::mem::transmute_copy(&dwindex)) { Ok(ok__) => { - core::ptr::write(ppdescriptor, core::mem::transmute(ok__)); + ppdescriptor.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1939,7 +1939,7 @@ impl ICAT_Vtbl { let this = (*this).get_impl(); match ICAT_Impl::GetNextTable(this, core::mem::transmute_copy(&dwtimeout)) { Ok(ok__) => { - core::ptr::write(ppcat, core::mem::transmute(ok__)); + ppcat.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1988,7 +1988,7 @@ impl ICaptionServiceDescriptor_Vtbl { let this = (*this).get_impl(); match ICaptionServiceDescriptor_Impl::GetNumberOfServices(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2004,7 +2004,7 @@ impl ICaptionServiceDescriptor_Vtbl { let this = (*this).get_impl(); match ICaptionServiceDescriptor_Impl::GetCaptionServiceNumber(this, core::mem::transmute_copy(&bindex)) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2015,7 +2015,7 @@ impl ICaptionServiceDescriptor_Vtbl { let this = (*this).get_impl(); match ICaptionServiceDescriptor_Impl::GetCCType(this, core::mem::transmute_copy(&bindex)) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2026,7 +2026,7 @@ impl ICaptionServiceDescriptor_Vtbl { let this = (*this).get_impl(); match ICaptionServiceDescriptor_Impl::GetEasyReader(this, core::mem::transmute_copy(&bindex)) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2037,7 +2037,7 @@ impl ICaptionServiceDescriptor_Vtbl { let this = (*this).get_impl(); match ICaptionServiceDescriptor_Impl::GetWideAspectRatio(this, core::mem::transmute_copy(&bindex)) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2072,7 +2072,7 @@ impl IChannelIDTuneRequest_Vtbl { let this = (*this).get_impl(); match IChannelIDTuneRequest_Impl::ChannelID(this) { Ok(ok__) => { - core::ptr::write(channelid, core::mem::transmute(ok__)); + channelid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2108,7 +2108,7 @@ impl IChannelTuneRequest_Vtbl { let this = (*this).get_impl(); match IChannelTuneRequest_Impl::Channel(this) { Ok(ok__) => { - core::ptr::write(channel, core::mem::transmute(ok__)); + channel.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2151,7 +2151,7 @@ impl IComponent_Vtbl { let this = (*this).get_impl(); match IComponent_Impl::Type(this) { Ok(ok__) => { - core::ptr::write(ct, core::mem::transmute(ok__)); + ct.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2167,7 +2167,7 @@ impl IComponent_Vtbl { let this = (*this).get_impl(); match IComponent_Impl::DescLangID(this) { Ok(ok__) => { - core::ptr::write(langid, core::mem::transmute(ok__)); + langid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2183,7 +2183,7 @@ impl IComponent_Vtbl { let this = (*this).get_impl(); match IComponent_Impl::Status(this) { Ok(ok__) => { - core::ptr::write(status, core::mem::transmute(ok__)); + status.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2199,7 +2199,7 @@ impl IComponent_Vtbl { let this = (*this).get_impl(); match IComponent_Impl::Description(this) { Ok(ok__) => { - core::ptr::write(description, core::mem::transmute(ok__)); + description.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2215,7 +2215,7 @@ impl IComponent_Vtbl { let this = (*this).get_impl(); match IComponent_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(newcomponent, core::mem::transmute(ok__)); + newcomponent.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2268,7 +2268,7 @@ impl IComponentType_Vtbl { let this = (*this).get_impl(); match IComponentType_Impl::Category(this) { Ok(ok__) => { - core::ptr::write(category, core::mem::transmute(ok__)); + category.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2284,7 +2284,7 @@ impl IComponentType_Vtbl { let this = (*this).get_impl(); match IComponentType_Impl::MediaMajorType(this) { Ok(ok__) => { - core::ptr::write(mediamajortype, core::mem::transmute(ok__)); + mediamajortype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2300,7 +2300,7 @@ impl IComponentType_Vtbl { let this = (*this).get_impl(); match IComponentType_Impl::_MediaMajorType(this) { Ok(ok__) => { - core::ptr::write(mediamajortypeguid, core::mem::transmute(ok__)); + mediamajortypeguid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2316,7 +2316,7 @@ impl IComponentType_Vtbl { let this = (*this).get_impl(); match IComponentType_Impl::MediaSubType(this) { Ok(ok__) => { - core::ptr::write(mediasubtype, core::mem::transmute(ok__)); + mediasubtype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2332,7 +2332,7 @@ impl IComponentType_Vtbl { let this = (*this).get_impl(); match IComponentType_Impl::_MediaSubType(this) { Ok(ok__) => { - core::ptr::write(mediasubtypeguid, core::mem::transmute(ok__)); + mediasubtypeguid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2348,7 +2348,7 @@ impl IComponentType_Vtbl { let this = (*this).get_impl(); match IComponentType_Impl::MediaFormatType(this) { Ok(ok__) => { - core::ptr::write(mediaformattype, core::mem::transmute(ok__)); + mediaformattype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2364,7 +2364,7 @@ impl IComponentType_Vtbl { let this = (*this).get_impl(); match IComponentType_Impl::_MediaFormatType(this) { Ok(ok__) => { - core::ptr::write(mediaformattypeguid, core::mem::transmute(ok__)); + mediaformattypeguid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2380,7 +2380,7 @@ impl IComponentType_Vtbl { let this = (*this).get_impl(); match IComponentType_Impl::MediaType(this) { Ok(ok__) => { - core::ptr::write(mediatype, core::mem::transmute(ok__)); + mediatype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2396,7 +2396,7 @@ impl IComponentType_Vtbl { let this = (*this).get_impl(); match IComponentType_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(newct, core::mem::transmute(ok__)); + newct.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2448,7 +2448,7 @@ impl IComponentTypes_Vtbl { let this = (*this).get_impl(); match IComponentTypes_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(count, core::mem::transmute(ok__)); + count.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2459,7 +2459,7 @@ impl IComponentTypes_Vtbl { let this = (*this).get_impl(); match IComponentTypes_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(ppnewenum, core::mem::transmute(ok__)); + ppnewenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2470,7 +2470,7 @@ impl IComponentTypes_Vtbl { let this = (*this).get_impl(); match IComponentTypes_Impl::EnumComponentTypes(this) { Ok(ok__) => { - core::ptr::write(ppnewenum, core::mem::transmute(ok__)); + ppnewenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2481,7 +2481,7 @@ impl IComponentTypes_Vtbl { let this = (*this).get_impl(); match IComponentTypes_Impl::get_Item(this, core::mem::transmute(&index)) { Ok(ok__) => { - core::ptr::write(componenttype, core::mem::transmute(ok__)); + componenttype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2497,7 +2497,7 @@ impl IComponentTypes_Vtbl { let this = (*this).get_impl(); match IComponentTypes_Impl::Add(this, windows_core::from_raw_borrowed(&componenttype)) { Ok(ok__) => { - core::ptr::write(newindex, core::mem::transmute(ok__)); + newindex.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2513,7 +2513,7 @@ impl IComponentTypes_Vtbl { let this = (*this).get_impl(); match IComponentTypes_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(newlist, core::mem::transmute(ok__)); + newlist.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2556,7 +2556,7 @@ impl IComponents_Vtbl { let this = (*this).get_impl(); match IComponents_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(count, core::mem::transmute(ok__)); + count.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2567,7 +2567,7 @@ impl IComponents_Vtbl { let this = (*this).get_impl(); match IComponents_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(ppnewenum, core::mem::transmute(ok__)); + ppnewenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2578,7 +2578,7 @@ impl IComponents_Vtbl { let this = (*this).get_impl(); match IComponents_Impl::EnumComponents(this) { Ok(ok__) => { - core::ptr::write(ppnewenum, core::mem::transmute(ok__)); + ppnewenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2589,7 +2589,7 @@ impl IComponents_Vtbl { let this = (*this).get_impl(); match IComponents_Impl::get_Item(this, core::mem::transmute(&index)) { Ok(ok__) => { - core::ptr::write(ppcomponent, core::mem::transmute(ok__)); + ppcomponent.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2600,7 +2600,7 @@ impl IComponents_Vtbl { let this = (*this).get_impl(); match IComponents_Impl::Add(this, windows_core::from_raw_borrowed(&component)) { Ok(ok__) => { - core::ptr::write(newindex, core::mem::transmute(ok__)); + newindex.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2616,7 +2616,7 @@ impl IComponents_Vtbl { let this = (*this).get_impl(); match IComponents_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(newlist, core::mem::transmute(ok__)); + newlist.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2663,7 +2663,7 @@ impl IComponentsOld_Vtbl { let this = (*this).get_impl(); match IComponentsOld_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(count, core::mem::transmute(ok__)); + count.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2674,7 +2674,7 @@ impl IComponentsOld_Vtbl { let this = (*this).get_impl(); match IComponentsOld_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(ppnewenum, core::mem::transmute(ok__)); + ppnewenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2685,7 +2685,7 @@ impl IComponentsOld_Vtbl { let this = (*this).get_impl(); match IComponentsOld_Impl::EnumComponents(this) { Ok(ok__) => { - core::ptr::write(ppnewenum, core::mem::transmute(ok__)); + ppnewenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2696,7 +2696,7 @@ impl IComponentsOld_Vtbl { let this = (*this).get_impl(); match IComponentsOld_Impl::get_Item(this, core::mem::transmute(&index)) { Ok(ok__) => { - core::ptr::write(ppcomponent, core::mem::transmute(ok__)); + ppcomponent.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2707,7 +2707,7 @@ impl IComponentsOld_Vtbl { let this = (*this).get_impl(); match IComponentsOld_Impl::Add(this, windows_core::from_raw_borrowed(&component)) { Ok(ok__) => { - core::ptr::write(newindex, core::mem::transmute(ok__)); + newindex.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2723,7 +2723,7 @@ impl IComponentsOld_Vtbl { let this = (*this).get_impl(); match IComponentsOld_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(newlist, core::mem::transmute(ok__)); + newlist.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2782,7 +2782,7 @@ impl IDTFilter_Vtbl { let this = (*this).get_impl(); match IDTFilter_Impl::EvalRatObjOK(this) { Ok(ok__) => { - core::ptr::write(phrcocreateretval, core::mem::transmute(ok__)); + phrcocreateretval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2798,7 +2798,7 @@ impl IDTFilter_Vtbl { let this = (*this).get_impl(); match IDTFilter_Impl::get_BlockedRatingAttributes(this, core::mem::transmute_copy(&ensystem), core::mem::transmute_copy(&enlevel)) { Ok(ok__) => { - core::ptr::write(plbfenattr, core::mem::transmute(ok__)); + plbfenattr.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2814,7 +2814,7 @@ impl IDTFilter_Vtbl { let this = (*this).get_impl(); match IDTFilter_Impl::BlockUnRated(this) { Ok(ok__) => { - core::ptr::write(pfblockunratedshows, core::mem::transmute(ok__)); + pfblockunratedshows.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2830,7 +2830,7 @@ impl IDTFilter_Vtbl { let this = (*this).get_impl(); match IDTFilter_Impl::BlockUnRatedDelay(this) { Ok(ok__) => { - core::ptr::write(pmsecsdelaybeforeblock, core::mem::transmute(ok__)); + pmsecsdelaybeforeblock.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2870,7 +2870,7 @@ impl IDTFilter2_Vtbl { let this = (*this).get_impl(); match IDTFilter2_Impl::ChallengeUrl(this) { Ok(ok__) => { - core::ptr::write(pbstrchallengeurl, core::mem::transmute(ok__)); + pbstrchallengeurl.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2881,7 +2881,7 @@ impl IDTFilter2_Vtbl { let this = (*this).get_impl(); match IDTFilter2_Impl::GetCurrLicenseExpDate(this, core::mem::transmute_copy(&prottype)) { Ok(ok__) => { - core::ptr::write(lpdatetime, core::mem::transmute(ok__)); + lpdatetime.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2916,7 +2916,7 @@ impl IDTFilter3_Vtbl { let this = (*this).get_impl(); match IDTFilter3_Impl::GetProtectionType(this) { Ok(ok__) => { - core::ptr::write(pprotectiontype, core::mem::transmute(ok__)); + pprotectiontype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2927,7 +2927,7 @@ impl IDTFilter3_Vtbl { let this = (*this).get_impl(); match IDTFilter3_Impl::LicenseHasExpirationDate(this) { Ok(ok__) => { - core::ptr::write(pflicensehasexpirationdate, core::mem::transmute(ok__)); + pflicensehasexpirationdate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2960,7 +2960,7 @@ impl IDTFilterConfig_Vtbl { let this = (*this).get_impl(); match IDTFilterConfig_Impl::GetSecureChannelObject(this) { Ok(ok__) => { - core::ptr::write(ppunkdrmsecurechannel, core::mem::transmute(ok__)); + ppunkdrmsecurechannel.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3038,7 +3038,7 @@ impl IDVBSLocator_Vtbl { let this = (*this).get_impl(); match IDVBSLocator_Impl::SignalPolarisation(this) { Ok(ok__) => { - core::ptr::write(polarisationval, core::mem::transmute(ok__)); + polarisationval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3054,7 +3054,7 @@ impl IDVBSLocator_Vtbl { let this = (*this).get_impl(); match IDVBSLocator_Impl::WestPosition(this) { Ok(ok__) => { - core::ptr::write(westlongitude, core::mem::transmute(ok__)); + westlongitude.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3070,7 +3070,7 @@ impl IDVBSLocator_Vtbl { let this = (*this).get_impl(); match IDVBSLocator_Impl::OrbitalPosition(this) { Ok(ok__) => { - core::ptr::write(longitude, core::mem::transmute(ok__)); + longitude.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3086,7 +3086,7 @@ impl IDVBSLocator_Vtbl { let this = (*this).get_impl(); match IDVBSLocator_Impl::Azimuth(this) { Ok(ok__) => { - core::ptr::write(azimuth, core::mem::transmute(ok__)); + azimuth.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3102,7 +3102,7 @@ impl IDVBSLocator_Vtbl { let this = (*this).get_impl(); match IDVBSLocator_Impl::Elevation(this) { Ok(ok__) => { - core::ptr::write(elevation, core::mem::transmute(ok__)); + elevation.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3158,7 +3158,7 @@ impl IDVBSLocator2_Vtbl { let this = (*this).get_impl(); match IDVBSLocator2_Impl::DiseqLNBSource(this) { Ok(ok__) => { - core::ptr::write(diseqlnbsourceval, core::mem::transmute(ok__)); + diseqlnbsourceval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3174,7 +3174,7 @@ impl IDVBSLocator2_Vtbl { let this = (*this).get_impl(); match IDVBSLocator2_Impl::LocalOscillatorOverrideLow(this) { Ok(ok__) => { - core::ptr::write(localoscillatoroverridelowval, core::mem::transmute(ok__)); + localoscillatoroverridelowval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3190,7 +3190,7 @@ impl IDVBSLocator2_Vtbl { let this = (*this).get_impl(); match IDVBSLocator2_Impl::LocalOscillatorOverrideHigh(this) { Ok(ok__) => { - core::ptr::write(localoscillatoroverridehighval, core::mem::transmute(ok__)); + localoscillatoroverridehighval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3206,7 +3206,7 @@ impl IDVBSLocator2_Vtbl { let this = (*this).get_impl(); match IDVBSLocator2_Impl::LocalLNBSwitchOverride(this) { Ok(ok__) => { - core::ptr::write(locallnbswitchoverrideval, core::mem::transmute(ok__)); + locallnbswitchoverrideval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3222,7 +3222,7 @@ impl IDVBSLocator2_Vtbl { let this = (*this).get_impl(); match IDVBSLocator2_Impl::LocalSpectralInversionOverride(this) { Ok(ok__) => { - core::ptr::write(localspectralinversionoverrideval, core::mem::transmute(ok__)); + localspectralinversionoverrideval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3238,7 +3238,7 @@ impl IDVBSLocator2_Vtbl { let this = (*this).get_impl(); match IDVBSLocator2_Impl::SignalRollOff(this) { Ok(ok__) => { - core::ptr::write(rolloffval, core::mem::transmute(ok__)); + rolloffval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3254,7 +3254,7 @@ impl IDVBSLocator2_Vtbl { let this = (*this).get_impl(); match IDVBSLocator2_Impl::SignalPilot(this) { Ok(ok__) => { - core::ptr::write(pilotval, core::mem::transmute(ok__)); + pilotval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3310,7 +3310,7 @@ impl IDVBSTuningSpace_Vtbl { let this = (*this).get_impl(); match IDVBSTuningSpace_Impl::LowOscillator(this) { Ok(ok__) => { - core::ptr::write(lowoscillator, core::mem::transmute(ok__)); + lowoscillator.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3326,7 +3326,7 @@ impl IDVBSTuningSpace_Vtbl { let this = (*this).get_impl(); match IDVBSTuningSpace_Impl::HighOscillator(this) { Ok(ok__) => { - core::ptr::write(highoscillator, core::mem::transmute(ok__)); + highoscillator.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3342,7 +3342,7 @@ impl IDVBSTuningSpace_Vtbl { let this = (*this).get_impl(); match IDVBSTuningSpace_Impl::LNBSwitch(this) { Ok(ok__) => { - core::ptr::write(lnbswitch, core::mem::transmute(ok__)); + lnbswitch.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3358,7 +3358,7 @@ impl IDVBSTuningSpace_Vtbl { let this = (*this).get_impl(); match IDVBSTuningSpace_Impl::InputRange(this) { Ok(ok__) => { - core::ptr::write(inputrange, core::mem::transmute(ok__)); + inputrange.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3374,7 +3374,7 @@ impl IDVBSTuningSpace_Vtbl { let this = (*this).get_impl(); match IDVBSTuningSpace_Impl::SpectralInversion(this) { Ok(ok__) => { - core::ptr::write(spectralinversionval, core::mem::transmute(ok__)); + spectralinversionval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3430,7 +3430,7 @@ impl IDVBTLocator_Vtbl { let this = (*this).get_impl(); match IDVBTLocator_Impl::Bandwidth(this) { Ok(ok__) => { - core::ptr::write(bandwidthval, core::mem::transmute(ok__)); + bandwidthval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3446,7 +3446,7 @@ impl IDVBTLocator_Vtbl { let this = (*this).get_impl(); match IDVBTLocator_Impl::LPInnerFEC(this) { Ok(ok__) => { - core::ptr::write(fec, core::mem::transmute(ok__)); + fec.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3462,7 +3462,7 @@ impl IDVBTLocator_Vtbl { let this = (*this).get_impl(); match IDVBTLocator_Impl::LPInnerFECRate(this) { Ok(ok__) => { - core::ptr::write(fec, core::mem::transmute(ok__)); + fec.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3478,7 +3478,7 @@ impl IDVBTLocator_Vtbl { let this = (*this).get_impl(); match IDVBTLocator_Impl::HAlpha(this) { Ok(ok__) => { - core::ptr::write(alpha, core::mem::transmute(ok__)); + alpha.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3494,7 +3494,7 @@ impl IDVBTLocator_Vtbl { let this = (*this).get_impl(); match IDVBTLocator_Impl::Guard(this) { Ok(ok__) => { - core::ptr::write(gi, core::mem::transmute(ok__)); + gi.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3510,7 +3510,7 @@ impl IDVBTLocator_Vtbl { let this = (*this).get_impl(); match IDVBTLocator_Impl::Mode(this) { Ok(ok__) => { - core::ptr::write(mode, core::mem::transmute(ok__)); + mode.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3526,7 +3526,7 @@ impl IDVBTLocator_Vtbl { let this = (*this).get_impl(); match IDVBTLocator_Impl::OtherFrequencyInUse(this) { Ok(ok__) => { - core::ptr::write(otherfrequencyinuseval, core::mem::transmute(ok__)); + otherfrequencyinuseval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3574,7 +3574,7 @@ impl IDVBTLocator2_Vtbl { let this = (*this).get_impl(); match IDVBTLocator2_Impl::PhysicalLayerPipeId(this) { Ok(ok__) => { - core::ptr::write(physicallayerpipeidval, core::mem::transmute(ok__)); + physicallayerpipeidval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3614,7 +3614,7 @@ impl IDVBTuneRequest_Vtbl { let this = (*this).get_impl(); match IDVBTuneRequest_Impl::ONID(this) { Ok(ok__) => { - core::ptr::write(onid, core::mem::transmute(ok__)); + onid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3630,7 +3630,7 @@ impl IDVBTuneRequest_Vtbl { let this = (*this).get_impl(); match IDVBTuneRequest_Impl::TSID(this) { Ok(ok__) => { - core::ptr::write(tsid, core::mem::transmute(ok__)); + tsid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3646,7 +3646,7 @@ impl IDVBTuneRequest_Vtbl { let this = (*this).get_impl(); match IDVBTuneRequest_Impl::SID(this) { Ok(ok__) => { - core::ptr::write(sid, core::mem::transmute(ok__)); + sid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3686,7 +3686,7 @@ impl IDVBTuningSpace_Vtbl { let this = (*this).get_impl(); match IDVBTuningSpace_Impl::SystemType(this) { Ok(ok__) => { - core::ptr::write(systype, core::mem::transmute(ok__)); + systype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3722,7 +3722,7 @@ impl IDVBTuningSpace2_Vtbl { let this = (*this).get_impl(); match IDVBTuningSpace2_Impl::NetworkID(this) { Ok(ok__) => { - core::ptr::write(networkid, core::mem::transmute(ok__)); + networkid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3774,7 +3774,7 @@ impl IDVB_BAT_Vtbl { let this = (*this).get_impl(); match IDVB_BAT_Impl::GetVersionNumber(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3785,7 +3785,7 @@ impl IDVB_BAT_Vtbl { let this = (*this).get_impl(); match IDVB_BAT_Impl::GetBouquetId(this) { Ok(ok__) => { - core::ptr::write(pwval, core::mem::transmute(ok__)); + pwval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3796,7 +3796,7 @@ impl IDVB_BAT_Vtbl { let this = (*this).get_impl(); match IDVB_BAT_Impl::GetCountOfTableDescriptors(this) { Ok(ok__) => { - core::ptr::write(pdwval, core::mem::transmute(ok__)); + pdwval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3817,7 +3817,7 @@ impl IDVB_BAT_Vtbl { let this = (*this).get_impl(); match IDVB_BAT_Impl::GetCountOfRecords(this) { Ok(ok__) => { - core::ptr::write(pdwval, core::mem::transmute(ok__)); + pdwval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3828,7 +3828,7 @@ impl IDVB_BAT_Vtbl { let this = (*this).get_impl(); match IDVB_BAT_Impl::GetRecordTransportStreamId(this, core::mem::transmute_copy(&dwrecordindex)) { Ok(ok__) => { - core::ptr::write(pwval, core::mem::transmute(ok__)); + pwval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3839,7 +3839,7 @@ impl IDVB_BAT_Vtbl { let this = (*this).get_impl(); match IDVB_BAT_Impl::GetRecordOriginalNetworkId(this, core::mem::transmute_copy(&dwrecordindex)) { Ok(ok__) => { - core::ptr::write(pwval, core::mem::transmute(ok__)); + pwval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3850,7 +3850,7 @@ impl IDVB_BAT_Vtbl { let this = (*this).get_impl(); match IDVB_BAT_Impl::GetRecordCountOfDescriptors(this, core::mem::transmute_copy(&dwrecordindex)) { Ok(ok__) => { - core::ptr::write(pdwval, core::mem::transmute(ok__)); + pdwval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3861,7 +3861,7 @@ impl IDVB_BAT_Vtbl { let this = (*this).get_impl(); match IDVB_BAT_Impl::GetRecordDescriptorByIndex(this, core::mem::transmute_copy(&dwrecordindex), core::mem::transmute_copy(&dwindex)) { Ok(ok__) => { - core::ptr::write(ppdescriptor, core::mem::transmute(ok__)); + ppdescriptor.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3882,7 +3882,7 @@ impl IDVB_BAT_Vtbl { let this = (*this).get_impl(); match IDVB_BAT_Impl::GetNextTable(this) { Ok(ok__) => { - core::ptr::write(ppbat, core::mem::transmute(ok__)); + ppbat.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3939,7 +3939,7 @@ impl IDVB_DIT_Vtbl { let this = (*this).get_impl(); match IDVB_DIT_Impl::GetTransitionFlag(this) { Ok(ok__) => { - core::ptr::write(pfval, core::mem::transmute(ok__)); + pfval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3991,7 +3991,7 @@ impl IDVB_EIT_Vtbl { let this = (*this).get_impl(); match IDVB_EIT_Impl::GetVersionNumber(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4002,7 +4002,7 @@ impl IDVB_EIT_Vtbl { let this = (*this).get_impl(); match IDVB_EIT_Impl::GetServiceId(this) { Ok(ok__) => { - core::ptr::write(pwval, core::mem::transmute(ok__)); + pwval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4013,7 +4013,7 @@ impl IDVB_EIT_Vtbl { let this = (*this).get_impl(); match IDVB_EIT_Impl::GetTransportStreamId(this) { Ok(ok__) => { - core::ptr::write(pwval, core::mem::transmute(ok__)); + pwval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4024,7 +4024,7 @@ impl IDVB_EIT_Vtbl { let this = (*this).get_impl(); match IDVB_EIT_Impl::GetOriginalNetworkId(this) { Ok(ok__) => { - core::ptr::write(pwval, core::mem::transmute(ok__)); + pwval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4035,7 +4035,7 @@ impl IDVB_EIT_Vtbl { let this = (*this).get_impl(); match IDVB_EIT_Impl::GetSegmentLastSectionNumber(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4046,7 +4046,7 @@ impl IDVB_EIT_Vtbl { let this = (*this).get_impl(); match IDVB_EIT_Impl::GetLastTableId(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4057,7 +4057,7 @@ impl IDVB_EIT_Vtbl { let this = (*this).get_impl(); match IDVB_EIT_Impl::GetCountOfRecords(this) { Ok(ok__) => { - core::ptr::write(pdwval, core::mem::transmute(ok__)); + pdwval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4068,7 +4068,7 @@ impl IDVB_EIT_Vtbl { let this = (*this).get_impl(); match IDVB_EIT_Impl::GetRecordEventId(this, core::mem::transmute_copy(&dwrecordindex)) { Ok(ok__) => { - core::ptr::write(pwval, core::mem::transmute(ok__)); + pwval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4079,7 +4079,7 @@ impl IDVB_EIT_Vtbl { let this = (*this).get_impl(); match IDVB_EIT_Impl::GetRecordStartTime(this, core::mem::transmute_copy(&dwrecordindex)) { Ok(ok__) => { - core::ptr::write(pmdtval, core::mem::transmute(ok__)); + pmdtval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4090,7 +4090,7 @@ impl IDVB_EIT_Vtbl { let this = (*this).get_impl(); match IDVB_EIT_Impl::GetRecordDuration(this, core::mem::transmute_copy(&dwrecordindex)) { Ok(ok__) => { - core::ptr::write(pmdval, core::mem::transmute(ok__)); + pmdval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4101,7 +4101,7 @@ impl IDVB_EIT_Vtbl { let this = (*this).get_impl(); match IDVB_EIT_Impl::GetRecordRunningStatus(this, core::mem::transmute_copy(&dwrecordindex)) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4112,7 +4112,7 @@ impl IDVB_EIT_Vtbl { let this = (*this).get_impl(); match IDVB_EIT_Impl::GetRecordFreeCAMode(this, core::mem::transmute_copy(&dwrecordindex)) { Ok(ok__) => { - core::ptr::write(pfval, core::mem::transmute(ok__)); + pfval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4123,7 +4123,7 @@ impl IDVB_EIT_Vtbl { let this = (*this).get_impl(); match IDVB_EIT_Impl::GetRecordCountOfDescriptors(this, core::mem::transmute_copy(&dwrecordindex)) { Ok(ok__) => { - core::ptr::write(pdwval, core::mem::transmute(ok__)); + pdwval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4134,7 +4134,7 @@ impl IDVB_EIT_Vtbl { let this = (*this).get_impl(); match IDVB_EIT_Impl::GetRecordDescriptorByIndex(this, core::mem::transmute_copy(&dwrecordindex), core::mem::transmute_copy(&dwindex)) { Ok(ok__) => { - core::ptr::write(ppdescriptor, core::mem::transmute(ok__)); + ppdescriptor.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4155,7 +4155,7 @@ impl IDVB_EIT_Vtbl { let this = (*this).get_impl(); match IDVB_EIT_Impl::GetNextTable(this) { Ok(ok__) => { - core::ptr::write(ppeit, core::mem::transmute(ok__)); + ppeit.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4176,7 +4176,7 @@ impl IDVB_EIT_Vtbl { let this = (*this).get_impl(); match IDVB_EIT_Impl::GetVersionHash(this) { Ok(ok__) => { - core::ptr::write(pdwversionhash, core::mem::transmute(ok__)); + pdwversionhash.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4228,7 +4228,7 @@ impl IDVB_EIT2_Vtbl { let this = (*this).get_impl(); match IDVB_EIT2_Impl::GetRecordSection(this, core::mem::transmute_copy(&dwrecordindex)) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4276,7 +4276,7 @@ impl IDVB_NIT_Vtbl { let this = (*this).get_impl(); match IDVB_NIT_Impl::GetVersionNumber(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4287,7 +4287,7 @@ impl IDVB_NIT_Vtbl { let this = (*this).get_impl(); match IDVB_NIT_Impl::GetNetworkId(this) { Ok(ok__) => { - core::ptr::write(pwval, core::mem::transmute(ok__)); + pwval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4298,7 +4298,7 @@ impl IDVB_NIT_Vtbl { let this = (*this).get_impl(); match IDVB_NIT_Impl::GetCountOfTableDescriptors(this) { Ok(ok__) => { - core::ptr::write(pdwval, core::mem::transmute(ok__)); + pdwval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4309,7 +4309,7 @@ impl IDVB_NIT_Vtbl { let this = (*this).get_impl(); match IDVB_NIT_Impl::GetTableDescriptorByIndex(this, core::mem::transmute_copy(&dwindex)) { Ok(ok__) => { - core::ptr::write(ppdescriptor, core::mem::transmute(ok__)); + ppdescriptor.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4325,7 +4325,7 @@ impl IDVB_NIT_Vtbl { let this = (*this).get_impl(); match IDVB_NIT_Impl::GetCountOfRecords(this) { Ok(ok__) => { - core::ptr::write(pdwval, core::mem::transmute(ok__)); + pdwval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4336,7 +4336,7 @@ impl IDVB_NIT_Vtbl { let this = (*this).get_impl(); match IDVB_NIT_Impl::GetRecordTransportStreamId(this, core::mem::transmute_copy(&dwrecordindex)) { Ok(ok__) => { - core::ptr::write(pwval, core::mem::transmute(ok__)); + pwval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4347,7 +4347,7 @@ impl IDVB_NIT_Vtbl { let this = (*this).get_impl(); match IDVB_NIT_Impl::GetRecordOriginalNetworkId(this, core::mem::transmute_copy(&dwrecordindex)) { Ok(ok__) => { - core::ptr::write(pwval, core::mem::transmute(ok__)); + pwval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4358,7 +4358,7 @@ impl IDVB_NIT_Vtbl { let this = (*this).get_impl(); match IDVB_NIT_Impl::GetRecordCountOfDescriptors(this, core::mem::transmute_copy(&dwrecordindex)) { Ok(ok__) => { - core::ptr::write(pdwval, core::mem::transmute(ok__)); + pdwval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4369,7 +4369,7 @@ impl IDVB_NIT_Vtbl { let this = (*this).get_impl(); match IDVB_NIT_Impl::GetRecordDescriptorByIndex(this, core::mem::transmute_copy(&dwrecordindex), core::mem::transmute_copy(&dwindex)) { Ok(ok__) => { - core::ptr::write(ppdescriptor, core::mem::transmute(ok__)); + ppdescriptor.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4390,7 +4390,7 @@ impl IDVB_NIT_Vtbl { let this = (*this).get_impl(); match IDVB_NIT_Impl::GetNextTable(this) { Ok(ok__) => { - core::ptr::write(ppnit, core::mem::transmute(ok__)); + ppnit.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4411,7 +4411,7 @@ impl IDVB_NIT_Vtbl { let this = (*this).get_impl(); match IDVB_NIT_Impl::GetVersionHash(this) { Ok(ok__) => { - core::ptr::write(pdwversionhash, core::mem::transmute(ok__)); + pdwversionhash.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4464,7 +4464,7 @@ impl IDVB_RST_Vtbl { let this = (*this).get_impl(); match IDVB_RST_Impl::GetCountOfRecords(this) { Ok(ok__) => { - core::ptr::write(pdwval, core::mem::transmute(ok__)); + pdwval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4475,7 +4475,7 @@ impl IDVB_RST_Vtbl { let this = (*this).get_impl(); match IDVB_RST_Impl::GetRecordTransportStreamId(this, core::mem::transmute_copy(&dwrecordindex)) { Ok(ok__) => { - core::ptr::write(pwval, core::mem::transmute(ok__)); + pwval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4486,7 +4486,7 @@ impl IDVB_RST_Vtbl { let this = (*this).get_impl(); match IDVB_RST_Impl::GetRecordOriginalNetworkId(this, core::mem::transmute_copy(&dwrecordindex)) { Ok(ok__) => { - core::ptr::write(pwval, core::mem::transmute(ok__)); + pwval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4497,7 +4497,7 @@ impl IDVB_RST_Vtbl { let this = (*this).get_impl(); match IDVB_RST_Impl::GetRecordServiceId(this, core::mem::transmute_copy(&dwrecordindex)) { Ok(ok__) => { - core::ptr::write(pwval, core::mem::transmute(ok__)); + pwval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4508,7 +4508,7 @@ impl IDVB_RST_Vtbl { let this = (*this).get_impl(); match IDVB_RST_Impl::GetRecordEventId(this, core::mem::transmute_copy(&dwrecordindex)) { Ok(ok__) => { - core::ptr::write(pwval, core::mem::transmute(ok__)); + pwval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4519,7 +4519,7 @@ impl IDVB_RST_Vtbl { let this = (*this).get_impl(); match IDVB_RST_Impl::GetRecordRunningStatus(this, core::mem::transmute_copy(&dwrecordindex)) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4573,7 +4573,7 @@ impl IDVB_SDT_Vtbl { let this = (*this).get_impl(); match IDVB_SDT_Impl::GetVersionNumber(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4584,7 +4584,7 @@ impl IDVB_SDT_Vtbl { let this = (*this).get_impl(); match IDVB_SDT_Impl::GetTransportStreamId(this) { Ok(ok__) => { - core::ptr::write(pwval, core::mem::transmute(ok__)); + pwval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4595,7 +4595,7 @@ impl IDVB_SDT_Vtbl { let this = (*this).get_impl(); match IDVB_SDT_Impl::GetOriginalNetworkId(this) { Ok(ok__) => { - core::ptr::write(pwval, core::mem::transmute(ok__)); + pwval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4606,7 +4606,7 @@ impl IDVB_SDT_Vtbl { let this = (*this).get_impl(); match IDVB_SDT_Impl::GetCountOfRecords(this) { Ok(ok__) => { - core::ptr::write(pdwval, core::mem::transmute(ok__)); + pdwval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4617,7 +4617,7 @@ impl IDVB_SDT_Vtbl { let this = (*this).get_impl(); match IDVB_SDT_Impl::GetRecordServiceId(this, core::mem::transmute_copy(&dwrecordindex)) { Ok(ok__) => { - core::ptr::write(pwval, core::mem::transmute(ok__)); + pwval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4628,7 +4628,7 @@ impl IDVB_SDT_Vtbl { let this = (*this).get_impl(); match IDVB_SDT_Impl::GetRecordEITScheduleFlag(this, core::mem::transmute_copy(&dwrecordindex)) { Ok(ok__) => { - core::ptr::write(pfval, core::mem::transmute(ok__)); + pfval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4639,7 +4639,7 @@ impl IDVB_SDT_Vtbl { let this = (*this).get_impl(); match IDVB_SDT_Impl::GetRecordEITPresentFollowingFlag(this, core::mem::transmute_copy(&dwrecordindex)) { Ok(ok__) => { - core::ptr::write(pfval, core::mem::transmute(ok__)); + pfval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4650,7 +4650,7 @@ impl IDVB_SDT_Vtbl { let this = (*this).get_impl(); match IDVB_SDT_Impl::GetRecordRunningStatus(this, core::mem::transmute_copy(&dwrecordindex)) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4661,7 +4661,7 @@ impl IDVB_SDT_Vtbl { let this = (*this).get_impl(); match IDVB_SDT_Impl::GetRecordFreeCAMode(this, core::mem::transmute_copy(&dwrecordindex)) { Ok(ok__) => { - core::ptr::write(pfval, core::mem::transmute(ok__)); + pfval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4672,7 +4672,7 @@ impl IDVB_SDT_Vtbl { let this = (*this).get_impl(); match IDVB_SDT_Impl::GetRecordCountOfDescriptors(this, core::mem::transmute_copy(&dwrecordindex)) { Ok(ok__) => { - core::ptr::write(pdwval, core::mem::transmute(ok__)); + pdwval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4683,7 +4683,7 @@ impl IDVB_SDT_Vtbl { let this = (*this).get_impl(); match IDVB_SDT_Impl::GetRecordDescriptorByIndex(this, core::mem::transmute_copy(&dwrecordindex), core::mem::transmute_copy(&dwindex)) { Ok(ok__) => { - core::ptr::write(ppdescriptor, core::mem::transmute(ok__)); + ppdescriptor.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4704,7 +4704,7 @@ impl IDVB_SDT_Vtbl { let this = (*this).get_impl(); match IDVB_SDT_Impl::GetNextTable(this) { Ok(ok__) => { - core::ptr::write(ppsdt, core::mem::transmute(ok__)); + ppsdt.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4725,7 +4725,7 @@ impl IDVB_SDT_Vtbl { let this = (*this).get_impl(); match IDVB_SDT_Impl::GetVersionHash(this) { Ok(ok__) => { - core::ptr::write(pdwversionhash, core::mem::transmute(ok__)); + pdwversionhash.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4787,7 +4787,7 @@ impl IDVB_SIT_Vtbl { let this = (*this).get_impl(); match IDVB_SIT_Impl::GetVersionNumber(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4798,7 +4798,7 @@ impl IDVB_SIT_Vtbl { let this = (*this).get_impl(); match IDVB_SIT_Impl::GetCountOfTableDescriptors(this) { Ok(ok__) => { - core::ptr::write(pdwval, core::mem::transmute(ok__)); + pdwval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4809,7 +4809,7 @@ impl IDVB_SIT_Vtbl { let this = (*this).get_impl(); match IDVB_SIT_Impl::GetTableDescriptorByIndex(this, core::mem::transmute_copy(&dwindex)) { Ok(ok__) => { - core::ptr::write(ppdescriptor, core::mem::transmute(ok__)); + ppdescriptor.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4825,7 +4825,7 @@ impl IDVB_SIT_Vtbl { let this = (*this).get_impl(); match IDVB_SIT_Impl::GetCountOfRecords(this) { Ok(ok__) => { - core::ptr::write(pdwval, core::mem::transmute(ok__)); + pdwval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4836,7 +4836,7 @@ impl IDVB_SIT_Vtbl { let this = (*this).get_impl(); match IDVB_SIT_Impl::GetRecordServiceId(this, core::mem::transmute_copy(&dwrecordindex)) { Ok(ok__) => { - core::ptr::write(pwval, core::mem::transmute(ok__)); + pwval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4847,7 +4847,7 @@ impl IDVB_SIT_Vtbl { let this = (*this).get_impl(); match IDVB_SIT_Impl::GetRecordRunningStatus(this, core::mem::transmute_copy(&dwrecordindex)) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4858,7 +4858,7 @@ impl IDVB_SIT_Vtbl { let this = (*this).get_impl(); match IDVB_SIT_Impl::GetRecordCountOfDescriptors(this, core::mem::transmute_copy(&dwrecordindex)) { Ok(ok__) => { - core::ptr::write(pdwval, core::mem::transmute(ok__)); + pdwval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4869,7 +4869,7 @@ impl IDVB_SIT_Vtbl { let this = (*this).get_impl(); match IDVB_SIT_Impl::GetRecordDescriptorByIndex(this, core::mem::transmute_copy(&dwrecordindex), core::mem::transmute_copy(&dwindex)) { Ok(ok__) => { - core::ptr::write(ppdescriptor, core::mem::transmute(ok__)); + ppdescriptor.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4890,7 +4890,7 @@ impl IDVB_SIT_Vtbl { let this = (*this).get_impl(); match IDVB_SIT_Impl::GetNextTable(this, core::mem::transmute_copy(&dwtimeout)) { Ok(ok__) => { - core::ptr::write(ppsit, core::mem::transmute(ok__)); + ppsit.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4947,7 +4947,7 @@ impl IDVB_ST_Vtbl { let this = (*this).get_impl(); match IDVB_ST_Impl::GetDataLength(this) { Ok(ok__) => { - core::ptr::write(pwval, core::mem::transmute(ok__)); + pwval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4958,7 +4958,7 @@ impl IDVB_ST_Vtbl { let this = (*this).get_impl(); match IDVB_ST_Impl::GetData(this) { Ok(ok__) => { - core::ptr::write(ppdata, core::mem::transmute(ok__)); + ppdata.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4992,7 +4992,7 @@ impl IDVB_TDT_Vtbl { let this = (*this).get_impl(); match IDVB_TDT_Impl::GetUTCTime(this) { Ok(ok__) => { - core::ptr::write(pmdtval, core::mem::transmute(ok__)); + pmdtval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5028,7 +5028,7 @@ impl IDVB_TOT_Vtbl { let this = (*this).get_impl(); match IDVB_TOT_Impl::GetUTCTime(this) { Ok(ok__) => { - core::ptr::write(pmdtval, core::mem::transmute(ok__)); + pmdtval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5039,7 +5039,7 @@ impl IDVB_TOT_Vtbl { let this = (*this).get_impl(); match IDVB_TOT_Impl::GetCountOfTableDescriptors(this) { Ok(ok__) => { - core::ptr::write(pdwval, core::mem::transmute(ok__)); + pdwval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5050,7 +5050,7 @@ impl IDVB_TOT_Vtbl { let this = (*this).get_impl(); match IDVB_TOT_Impl::GetTableDescriptorByIndex(this, core::mem::transmute_copy(&dwindex)) { Ok(ok__) => { - core::ptr::write(ppdescriptor, core::mem::transmute(ok__)); + ppdescriptor.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5104,7 +5104,7 @@ impl IDigitalCableTuneRequest_Vtbl { let this = (*this).get_impl(); match IDigitalCableTuneRequest_Impl::MajorChannel(this) { Ok(ok__) => { - core::ptr::write(pmajorchannel, core::mem::transmute(ok__)); + pmajorchannel.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5120,7 +5120,7 @@ impl IDigitalCableTuneRequest_Vtbl { let this = (*this).get_impl(); match IDigitalCableTuneRequest_Impl::SourceID(this) { Ok(ok__) => { - core::ptr::write(psourceid, core::mem::transmute(ok__)); + psourceid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5164,7 +5164,7 @@ impl IDigitalCableTuningSpace_Vtbl { let this = (*this).get_impl(); match IDigitalCableTuningSpace_Impl::MinMajorChannel(this) { Ok(ok__) => { - core::ptr::write(minmajorchannelval, core::mem::transmute(ok__)); + minmajorchannelval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5180,7 +5180,7 @@ impl IDigitalCableTuningSpace_Vtbl { let this = (*this).get_impl(); match IDigitalCableTuningSpace_Impl::MaxMajorChannel(this) { Ok(ok__) => { - core::ptr::write(maxmajorchannelval, core::mem::transmute(ok__)); + maxmajorchannelval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5196,7 +5196,7 @@ impl IDigitalCableTuningSpace_Vtbl { let this = (*this).get_impl(); match IDigitalCableTuningSpace_Impl::MinSourceID(this) { Ok(ok__) => { - core::ptr::write(minsourceidval, core::mem::transmute(ok__)); + minsourceidval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5212,7 +5212,7 @@ impl IDigitalCableTuningSpace_Vtbl { let this = (*this).get_impl(); match IDigitalCableTuningSpace_Impl::MaxSourceID(this) { Ok(ok__) => { - core::ptr::write(maxsourceidval, core::mem::transmute(ok__)); + maxsourceidval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5269,7 +5269,7 @@ impl IDvbCableDeliverySystemDescriptor_Vtbl { let this = (*this).get_impl(); match IDvbCableDeliverySystemDescriptor_Impl::GetTag(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5280,7 +5280,7 @@ impl IDvbCableDeliverySystemDescriptor_Vtbl { let this = (*this).get_impl(); match IDvbCableDeliverySystemDescriptor_Impl::GetLength(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5291,7 +5291,7 @@ impl IDvbCableDeliverySystemDescriptor_Vtbl { let this = (*this).get_impl(); match IDvbCableDeliverySystemDescriptor_Impl::GetFrequency(this) { Ok(ok__) => { - core::ptr::write(pdwval, core::mem::transmute(ok__)); + pdwval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5302,7 +5302,7 @@ impl IDvbCableDeliverySystemDescriptor_Vtbl { let this = (*this).get_impl(); match IDvbCableDeliverySystemDescriptor_Impl::GetFECOuter(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5313,7 +5313,7 @@ impl IDvbCableDeliverySystemDescriptor_Vtbl { let this = (*this).get_impl(); match IDvbCableDeliverySystemDescriptor_Impl::GetModulation(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5324,7 +5324,7 @@ impl IDvbCableDeliverySystemDescriptor_Vtbl { let this = (*this).get_impl(); match IDvbCableDeliverySystemDescriptor_Impl::GetSymbolRate(this) { Ok(ok__) => { - core::ptr::write(pdwval, core::mem::transmute(ok__)); + pdwval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5335,7 +5335,7 @@ impl IDvbCableDeliverySystemDescriptor_Vtbl { let this = (*this).get_impl(); match IDvbCableDeliverySystemDescriptor_Impl::GetFECInner(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5373,7 +5373,7 @@ impl IDvbComponentDescriptor_Vtbl { let this = (*this).get_impl(); match IDvbComponentDescriptor_Impl::GetTag(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5384,7 +5384,7 @@ impl IDvbComponentDescriptor_Vtbl { let this = (*this).get_impl(); match IDvbComponentDescriptor_Impl::GetLength(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5395,7 +5395,7 @@ impl IDvbComponentDescriptor_Vtbl { let this = (*this).get_impl(); match IDvbComponentDescriptor_Impl::GetStreamContent(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5406,7 +5406,7 @@ impl IDvbComponentDescriptor_Vtbl { let this = (*this).get_impl(); match IDvbComponentDescriptor_Impl::GetComponentType(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5417,7 +5417,7 @@ impl IDvbComponentDescriptor_Vtbl { let this = (*this).get_impl(); match IDvbComponentDescriptor_Impl::GetComponentTag(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5433,7 +5433,7 @@ impl IDvbComponentDescriptor_Vtbl { let this = (*this).get_impl(); match IDvbComponentDescriptor_Impl::GetTextW(this, core::mem::transmute_copy(&convmode)) { Ok(ok__) => { - core::ptr::write(pbstrtext, core::mem::transmute(ok__)); + pbstrtext.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5469,7 +5469,7 @@ impl IDvbContentDescriptor_Vtbl { let this = (*this).get_impl(); match IDvbContentDescriptor_Impl::GetTag(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5480,7 +5480,7 @@ impl IDvbContentDescriptor_Vtbl { let this = (*this).get_impl(); match IDvbContentDescriptor_Impl::GetLength(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5491,7 +5491,7 @@ impl IDvbContentDescriptor_Vtbl { let this = (*this).get_impl(); match IDvbContentDescriptor_Impl::GetCountOfRecords(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5534,7 +5534,7 @@ impl IDvbContentIdentifierDescriptor_Vtbl { let this = (*this).get_impl(); match IDvbContentIdentifierDescriptor_Impl::GetTag(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5545,7 +5545,7 @@ impl IDvbContentIdentifierDescriptor_Vtbl { let this = (*this).get_impl(); match IDvbContentIdentifierDescriptor_Impl::GetLength(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5556,7 +5556,7 @@ impl IDvbContentIdentifierDescriptor_Vtbl { let this = (*this).get_impl(); match IDvbContentIdentifierDescriptor_Impl::GetCountOfRecords(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5598,7 +5598,7 @@ impl IDvbDataBroadcastDescriptor_Vtbl { let this = (*this).get_impl(); match IDvbDataBroadcastDescriptor_Impl::GetTag(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5609,7 +5609,7 @@ impl IDvbDataBroadcastDescriptor_Vtbl { let this = (*this).get_impl(); match IDvbDataBroadcastDescriptor_Impl::GetLength(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5620,7 +5620,7 @@ impl IDvbDataBroadcastDescriptor_Vtbl { let this = (*this).get_impl(); match IDvbDataBroadcastDescriptor_Impl::GetDataBroadcastID(this) { Ok(ok__) => { - core::ptr::write(pwval, core::mem::transmute(ok__)); + pwval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5631,7 +5631,7 @@ impl IDvbDataBroadcastDescriptor_Vtbl { let this = (*this).get_impl(); match IDvbDataBroadcastDescriptor_Impl::GetComponentTag(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5642,7 +5642,7 @@ impl IDvbDataBroadcastDescriptor_Vtbl { let this = (*this).get_impl(); match IDvbDataBroadcastDescriptor_Impl::GetSelectorLength(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5658,7 +5658,7 @@ impl IDvbDataBroadcastDescriptor_Vtbl { let this = (*this).get_impl(); match IDvbDataBroadcastDescriptor_Impl::GetLangID(this) { Ok(ok__) => { - core::ptr::write(pulval, core::mem::transmute(ok__)); + pulval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5669,7 +5669,7 @@ impl IDvbDataBroadcastDescriptor_Vtbl { let this = (*this).get_impl(); match IDvbDataBroadcastDescriptor_Impl::GetTextLength(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5711,7 +5711,7 @@ impl IDvbDataBroadcastIDDescriptor_Vtbl { let this = (*this).get_impl(); match IDvbDataBroadcastIDDescriptor_Impl::GetTag(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5722,7 +5722,7 @@ impl IDvbDataBroadcastIDDescriptor_Vtbl { let this = (*this).get_impl(); match IDvbDataBroadcastIDDescriptor_Impl::GetLength(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5733,7 +5733,7 @@ impl IDvbDataBroadcastIDDescriptor_Vtbl { let this = (*this).get_impl(); match IDvbDataBroadcastIDDescriptor_Impl::GetDataBroadcastID(this) { Ok(ok__) => { - core::ptr::write(pwval, core::mem::transmute(ok__)); + pwval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5769,7 +5769,7 @@ impl IDvbDefaultAuthorityDescriptor_Vtbl { let this = (*this).get_impl(); match IDvbDefaultAuthorityDescriptor_Impl::GetTag(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5780,7 +5780,7 @@ impl IDvbDefaultAuthorityDescriptor_Vtbl { let this = (*this).get_impl(); match IDvbDefaultAuthorityDescriptor_Impl::GetLength(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5823,7 +5823,7 @@ impl IDvbExtendedEventDescriptor_Vtbl { let this = (*this).get_impl(); match IDvbExtendedEventDescriptor_Impl::GetTag(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5834,7 +5834,7 @@ impl IDvbExtendedEventDescriptor_Vtbl { let this = (*this).get_impl(); match IDvbExtendedEventDescriptor_Impl::GetLength(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5845,7 +5845,7 @@ impl IDvbExtendedEventDescriptor_Vtbl { let this = (*this).get_impl(); match IDvbExtendedEventDescriptor_Impl::GetDescriptorNumber(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5856,7 +5856,7 @@ impl IDvbExtendedEventDescriptor_Vtbl { let this = (*this).get_impl(); match IDvbExtendedEventDescriptor_Impl::GetLastDescriptorNumber(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5872,7 +5872,7 @@ impl IDvbExtendedEventDescriptor_Vtbl { let this = (*this).get_impl(); match IDvbExtendedEventDescriptor_Impl::GetCountOfRecords(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5893,7 +5893,7 @@ impl IDvbExtendedEventDescriptor_Vtbl { let this = (*this).get_impl(); match IDvbExtendedEventDescriptor_Impl::GetTextW(this, core::mem::transmute_copy(&convmode)) { Ok(ok__) => { - core::ptr::write(pbstrtext, core::mem::transmute(ok__)); + pbstrtext.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5904,7 +5904,7 @@ impl IDvbExtendedEventDescriptor_Vtbl { let this = (*this).get_impl(); match IDvbExtendedEventDescriptor_Impl::GetConcatenatedTextW(this, windows_core::from_raw_borrowed(&followingdescriptor), core::mem::transmute_copy(&convmode)) { Ok(ok__) => { - core::ptr::write(pbstrtext, core::mem::transmute(ok__)); + pbstrtext.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5949,7 +5949,7 @@ impl IDvbFrequencyListDescriptor_Vtbl { let this = (*this).get_impl(); match IDvbFrequencyListDescriptor_Impl::GetTag(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5960,7 +5960,7 @@ impl IDvbFrequencyListDescriptor_Vtbl { let this = (*this).get_impl(); match IDvbFrequencyListDescriptor_Impl::GetLength(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5971,7 +5971,7 @@ impl IDvbFrequencyListDescriptor_Vtbl { let this = (*this).get_impl(); match IDvbFrequencyListDescriptor_Impl::GetCodingType(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5982,7 +5982,7 @@ impl IDvbFrequencyListDescriptor_Vtbl { let this = (*this).get_impl(); match IDvbFrequencyListDescriptor_Impl::GetCountOfRecords(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5993,7 +5993,7 @@ impl IDvbFrequencyListDescriptor_Vtbl { let this = (*this).get_impl(); match IDvbFrequencyListDescriptor_Impl::GetRecordCentreFrequency(this, core::mem::transmute_copy(&brecordindex)) { Ok(ok__) => { - core::ptr::write(pdwval, core::mem::transmute(ok__)); + pdwval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6040,7 +6040,7 @@ impl IDvbLinkageDescriptor_Vtbl { let this = (*this).get_impl(); match IDvbLinkageDescriptor_Impl::GetTag(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6051,7 +6051,7 @@ impl IDvbLinkageDescriptor_Vtbl { let this = (*this).get_impl(); match IDvbLinkageDescriptor_Impl::GetLength(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6062,7 +6062,7 @@ impl IDvbLinkageDescriptor_Vtbl { let this = (*this).get_impl(); match IDvbLinkageDescriptor_Impl::GetTSId(this) { Ok(ok__) => { - core::ptr::write(pwval, core::mem::transmute(ok__)); + pwval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6073,7 +6073,7 @@ impl IDvbLinkageDescriptor_Vtbl { let this = (*this).get_impl(); match IDvbLinkageDescriptor_Impl::GetONId(this) { Ok(ok__) => { - core::ptr::write(pwval, core::mem::transmute(ok__)); + pwval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6084,7 +6084,7 @@ impl IDvbLinkageDescriptor_Vtbl { let this = (*this).get_impl(); match IDvbLinkageDescriptor_Impl::GetServiceId(this) { Ok(ok__) => { - core::ptr::write(pwval, core::mem::transmute(ok__)); + pwval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6095,7 +6095,7 @@ impl IDvbLinkageDescriptor_Vtbl { let this = (*this).get_impl(); match IDvbLinkageDescriptor_Impl::GetLinkageType(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6106,7 +6106,7 @@ impl IDvbLinkageDescriptor_Vtbl { let this = (*this).get_impl(); match IDvbLinkageDescriptor_Impl::GetPrivateDataLength(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6151,7 +6151,7 @@ impl IDvbLogicalChannel2Descriptor_Vtbl { let this = (*this).get_impl(); match IDvbLogicalChannel2Descriptor_Impl::GetCountOfLists(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6162,7 +6162,7 @@ impl IDvbLogicalChannel2Descriptor_Vtbl { let this = (*this).get_impl(); match IDvbLogicalChannel2Descriptor_Impl::GetListId(this, core::mem::transmute_copy(&blistindex)) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6173,7 +6173,7 @@ impl IDvbLogicalChannel2Descriptor_Vtbl { let this = (*this).get_impl(); match IDvbLogicalChannel2Descriptor_Impl::GetListNameW(this, core::mem::transmute_copy(&blistindex), core::mem::transmute_copy(&convmode)) { Ok(ok__) => { - core::ptr::write(pbstrname, core::mem::transmute(ok__)); + pbstrname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6189,7 +6189,7 @@ impl IDvbLogicalChannel2Descriptor_Vtbl { let this = (*this).get_impl(); match IDvbLogicalChannel2Descriptor_Impl::GetListCountOfRecords(this, core::mem::transmute_copy(&bchannellistindex)) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6200,7 +6200,7 @@ impl IDvbLogicalChannel2Descriptor_Vtbl { let this = (*this).get_impl(); match IDvbLogicalChannel2Descriptor_Impl::GetListRecordServiceId(this, core::mem::transmute_copy(&blistindex), core::mem::transmute_copy(&brecordindex)) { Ok(ok__) => { - core::ptr::write(pwval, core::mem::transmute(ok__)); + pwval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6211,7 +6211,7 @@ impl IDvbLogicalChannel2Descriptor_Vtbl { let this = (*this).get_impl(); match IDvbLogicalChannel2Descriptor_Impl::GetListRecordLogicalChannelNumber(this, core::mem::transmute_copy(&blistindex), core::mem::transmute_copy(&brecordindex)) { Ok(ok__) => { - core::ptr::write(pwval, core::mem::transmute(ok__)); + pwval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6222,7 +6222,7 @@ impl IDvbLogicalChannel2Descriptor_Vtbl { let this = (*this).get_impl(); match IDvbLogicalChannel2Descriptor_Impl::GetListRecordLogicalChannelAndVisibility(this, core::mem::transmute_copy(&blistindex), core::mem::transmute_copy(&brecordindex)) { Ok(ok__) => { - core::ptr::write(pwval, core::mem::transmute(ok__)); + pwval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6259,7 +6259,7 @@ impl IDvbLogicalChannelDescriptor_Vtbl { let this = (*this).get_impl(); match IDvbLogicalChannelDescriptor_Impl::GetTag(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6270,7 +6270,7 @@ impl IDvbLogicalChannelDescriptor_Vtbl { let this = (*this).get_impl(); match IDvbLogicalChannelDescriptor_Impl::GetLength(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6281,7 +6281,7 @@ impl IDvbLogicalChannelDescriptor_Vtbl { let this = (*this).get_impl(); match IDvbLogicalChannelDescriptor_Impl::GetCountOfRecords(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6292,7 +6292,7 @@ impl IDvbLogicalChannelDescriptor_Vtbl { let this = (*this).get_impl(); match IDvbLogicalChannelDescriptor_Impl::GetRecordServiceId(this, core::mem::transmute_copy(&brecordindex)) { Ok(ok__) => { - core::ptr::write(pwval, core::mem::transmute(ok__)); + pwval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6303,7 +6303,7 @@ impl IDvbLogicalChannelDescriptor_Vtbl { let this = (*this).get_impl(); match IDvbLogicalChannelDescriptor_Impl::GetRecordLogicalChannelNumber(this, core::mem::transmute_copy(&brecordindex)) { Ok(ok__) => { - core::ptr::write(pwval, core::mem::transmute(ok__)); + pwval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6333,7 +6333,7 @@ impl IDvbLogicalChannelDescriptor2_Vtbl { let this = (*this).get_impl(); match IDvbLogicalChannelDescriptor2_Impl::GetRecordLogicalChannelAndVisibility(this, core::mem::transmute_copy(&brecordindex)) { Ok(ok__) => { - core::ptr::write(pwval, core::mem::transmute(ok__)); + pwval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6364,7 +6364,7 @@ impl IDvbMultilingualServiceNameDescriptor_Vtbl { let this = (*this).get_impl(); match IDvbMultilingualServiceNameDescriptor_Impl::GetTag(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6375,7 +6375,7 @@ impl IDvbMultilingualServiceNameDescriptor_Vtbl { let this = (*this).get_impl(); match IDvbMultilingualServiceNameDescriptor_Impl::GetLength(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6386,7 +6386,7 @@ impl IDvbMultilingualServiceNameDescriptor_Vtbl { let this = (*this).get_impl(); match IDvbMultilingualServiceNameDescriptor_Impl::GetCountOfRecords(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6397,7 +6397,7 @@ impl IDvbMultilingualServiceNameDescriptor_Vtbl { let this = (*this).get_impl(); match IDvbMultilingualServiceNameDescriptor_Impl::GetRecordLangId(this, core::mem::transmute_copy(&brecordindex)) { Ok(ok__) => { - core::ptr::write(ulval, core::mem::transmute(ok__)); + ulval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6408,7 +6408,7 @@ impl IDvbMultilingualServiceNameDescriptor_Vtbl { let this = (*this).get_impl(); match IDvbMultilingualServiceNameDescriptor_Impl::GetRecordServiceProviderNameW(this, core::mem::transmute_copy(&brecordindex), core::mem::transmute_copy(&convmode)) { Ok(ok__) => { - core::ptr::write(pbstrname, core::mem::transmute(ok__)); + pbstrname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6419,7 +6419,7 @@ impl IDvbMultilingualServiceNameDescriptor_Vtbl { let this = (*this).get_impl(); match IDvbMultilingualServiceNameDescriptor_Impl::GetRecordServiceNameW(this, core::mem::transmute_copy(&brecordindex), core::mem::transmute_copy(&convmode)) { Ok(ok__) => { - core::ptr::write(pbstrname, core::mem::transmute(ok__)); + pbstrname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6453,7 +6453,7 @@ impl IDvbNetworkNameDescriptor_Vtbl { let this = (*this).get_impl(); match IDvbNetworkNameDescriptor_Impl::GetTag(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6464,7 +6464,7 @@ impl IDvbNetworkNameDescriptor_Vtbl { let this = (*this).get_impl(); match IDvbNetworkNameDescriptor_Impl::GetLength(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6475,7 +6475,7 @@ impl IDvbNetworkNameDescriptor_Vtbl { let this = (*this).get_impl(); match IDvbNetworkNameDescriptor_Impl::GetNetworkName(this) { Ok(ok__) => { - core::ptr::write(pszname, core::mem::transmute(ok__)); + pszname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6486,7 +6486,7 @@ impl IDvbNetworkNameDescriptor_Vtbl { let this = (*this).get_impl(); match IDvbNetworkNameDescriptor_Impl::GetNetworkNameW(this, core::mem::transmute_copy(&convmode)) { Ok(ok__) => { - core::ptr::write(pbstrname, core::mem::transmute(ok__)); + pbstrname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6518,7 +6518,7 @@ impl IDvbParentalRatingDescriptor_Vtbl { let this = (*this).get_impl(); match IDvbParentalRatingDescriptor_Impl::GetTag(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6529,7 +6529,7 @@ impl IDvbParentalRatingDescriptor_Vtbl { let this = (*this).get_impl(); match IDvbParentalRatingDescriptor_Impl::GetLength(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6540,7 +6540,7 @@ impl IDvbParentalRatingDescriptor_Vtbl { let this = (*this).get_impl(); match IDvbParentalRatingDescriptor_Impl::GetCountOfRecords(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6576,7 +6576,7 @@ impl IDvbPrivateDataSpecifierDescriptor_Vtbl { let this = (*this).get_impl(); match IDvbPrivateDataSpecifierDescriptor_Impl::GetTag(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6587,7 +6587,7 @@ impl IDvbPrivateDataSpecifierDescriptor_Vtbl { let this = (*this).get_impl(); match IDvbPrivateDataSpecifierDescriptor_Impl::GetLength(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6598,7 +6598,7 @@ impl IDvbPrivateDataSpecifierDescriptor_Vtbl { let this = (*this).get_impl(); match IDvbPrivateDataSpecifierDescriptor_Impl::GetPrivateDataSpecifier(this) { Ok(ok__) => { - core::ptr::write(pdwval, core::mem::transmute(ok__)); + pdwval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6634,7 +6634,7 @@ impl IDvbSatelliteDeliverySystemDescriptor_Vtbl { let this = (*this).get_impl(); match IDvbSatelliteDeliverySystemDescriptor_Impl::GetTag(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6645,7 +6645,7 @@ impl IDvbSatelliteDeliverySystemDescriptor_Vtbl { let this = (*this).get_impl(); match IDvbSatelliteDeliverySystemDescriptor_Impl::GetLength(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6656,7 +6656,7 @@ impl IDvbSatelliteDeliverySystemDescriptor_Vtbl { let this = (*this).get_impl(); match IDvbSatelliteDeliverySystemDescriptor_Impl::GetFrequency(this) { Ok(ok__) => { - core::ptr::write(pdwval, core::mem::transmute(ok__)); + pdwval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6667,7 +6667,7 @@ impl IDvbSatelliteDeliverySystemDescriptor_Vtbl { let this = (*this).get_impl(); match IDvbSatelliteDeliverySystemDescriptor_Impl::GetOrbitalPosition(this) { Ok(ok__) => { - core::ptr::write(pwval, core::mem::transmute(ok__)); + pwval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6678,7 +6678,7 @@ impl IDvbSatelliteDeliverySystemDescriptor_Vtbl { let this = (*this).get_impl(); match IDvbSatelliteDeliverySystemDescriptor_Impl::GetWestEastFlag(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6689,7 +6689,7 @@ impl IDvbSatelliteDeliverySystemDescriptor_Vtbl { let this = (*this).get_impl(); match IDvbSatelliteDeliverySystemDescriptor_Impl::GetPolarization(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6700,7 +6700,7 @@ impl IDvbSatelliteDeliverySystemDescriptor_Vtbl { let this = (*this).get_impl(); match IDvbSatelliteDeliverySystemDescriptor_Impl::GetModulation(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6711,7 +6711,7 @@ impl IDvbSatelliteDeliverySystemDescriptor_Vtbl { let this = (*this).get_impl(); match IDvbSatelliteDeliverySystemDescriptor_Impl::GetSymbolRate(this) { Ok(ok__) => { - core::ptr::write(pdwval, core::mem::transmute(ok__)); + pdwval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6722,7 +6722,7 @@ impl IDvbSatelliteDeliverySystemDescriptor_Vtbl { let this = (*this).get_impl(); match IDvbSatelliteDeliverySystemDescriptor_Impl::GetFECInner(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6761,7 +6761,7 @@ impl IDvbServiceAttributeDescriptor_Vtbl { let this = (*this).get_impl(); match IDvbServiceAttributeDescriptor_Impl::GetTag(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6772,7 +6772,7 @@ impl IDvbServiceAttributeDescriptor_Vtbl { let this = (*this).get_impl(); match IDvbServiceAttributeDescriptor_Impl::GetLength(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6783,7 +6783,7 @@ impl IDvbServiceAttributeDescriptor_Vtbl { let this = (*this).get_impl(); match IDvbServiceAttributeDescriptor_Impl::GetCountOfRecords(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6794,7 +6794,7 @@ impl IDvbServiceAttributeDescriptor_Vtbl { let this = (*this).get_impl(); match IDvbServiceAttributeDescriptor_Impl::GetRecordServiceId(this, core::mem::transmute_copy(&brecordindex)) { Ok(ok__) => { - core::ptr::write(pwval, core::mem::transmute(ok__)); + pwval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6805,7 +6805,7 @@ impl IDvbServiceAttributeDescriptor_Vtbl { let this = (*this).get_impl(); match IDvbServiceAttributeDescriptor_Impl::GetRecordNumericSelectionFlag(this, core::mem::transmute_copy(&brecordindex)) { Ok(ok__) => { - core::ptr::write(pfval, core::mem::transmute(ok__)); + pfval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6816,7 +6816,7 @@ impl IDvbServiceAttributeDescriptor_Vtbl { let this = (*this).get_impl(); match IDvbServiceAttributeDescriptor_Impl::GetRecordVisibleServiceFlag(this, core::mem::transmute_copy(&brecordindex)) { Ok(ok__) => { - core::ptr::write(pfval, core::mem::transmute(ok__)); + pfval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6854,7 +6854,7 @@ impl IDvbServiceDescriptor_Vtbl { let this = (*this).get_impl(); match IDvbServiceDescriptor_Impl::GetTag(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6865,7 +6865,7 @@ impl IDvbServiceDescriptor_Vtbl { let this = (*this).get_impl(); match IDvbServiceDescriptor_Impl::GetLength(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6876,7 +6876,7 @@ impl IDvbServiceDescriptor_Vtbl { let this = (*this).get_impl(); match IDvbServiceDescriptor_Impl::GetServiceType(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6887,7 +6887,7 @@ impl IDvbServiceDescriptor_Vtbl { let this = (*this).get_impl(); match IDvbServiceDescriptor_Impl::GetServiceProviderName(this) { Ok(ok__) => { - core::ptr::write(pszname, core::mem::transmute(ok__)); + pszname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6898,7 +6898,7 @@ impl IDvbServiceDescriptor_Vtbl { let this = (*this).get_impl(); match IDvbServiceDescriptor_Impl::GetServiceProviderNameW(this) { Ok(ok__) => { - core::ptr::write(pbstrname, core::mem::transmute(ok__)); + pbstrname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6909,7 +6909,7 @@ impl IDvbServiceDescriptor_Vtbl { let this = (*this).get_impl(); match IDvbServiceDescriptor_Impl::GetServiceName(this) { Ok(ok__) => { - core::ptr::write(pszname, core::mem::transmute(ok__)); + pszname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6920,7 +6920,7 @@ impl IDvbServiceDescriptor_Vtbl { let this = (*this).get_impl(); match IDvbServiceDescriptor_Impl::GetProcessedServiceName(this) { Ok(ok__) => { - core::ptr::write(pbstrname, core::mem::transmute(ok__)); + pbstrname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6931,7 +6931,7 @@ impl IDvbServiceDescriptor_Vtbl { let this = (*this).get_impl(); match IDvbServiceDescriptor_Impl::GetServiceNameEmphasized(this) { Ok(ok__) => { - core::ptr::write(pbstrname, core::mem::transmute(ok__)); + pbstrname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6965,7 +6965,7 @@ impl IDvbServiceDescriptor2_Vtbl { let this = (*this).get_impl(); match IDvbServiceDescriptor2_Impl::GetServiceProviderNameW(this, core::mem::transmute_copy(&convmode)) { Ok(ok__) => { - core::ptr::write(pbstrname, core::mem::transmute(ok__)); + pbstrname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6976,7 +6976,7 @@ impl IDvbServiceDescriptor2_Vtbl { let this = (*this).get_impl(); match IDvbServiceDescriptor2_Impl::GetServiceNameW(this, core::mem::transmute_copy(&convmode)) { Ok(ok__) => { - core::ptr::write(pbstrname, core::mem::transmute(ok__)); + pbstrname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7007,7 +7007,7 @@ impl IDvbServiceListDescriptor_Vtbl { let this = (*this).get_impl(); match IDvbServiceListDescriptor_Impl::GetTag(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7018,7 +7018,7 @@ impl IDvbServiceListDescriptor_Vtbl { let this = (*this).get_impl(); match IDvbServiceListDescriptor_Impl::GetLength(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7029,7 +7029,7 @@ impl IDvbServiceListDescriptor_Vtbl { let this = (*this).get_impl(); match IDvbServiceListDescriptor_Impl::GetCountOfRecords(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7040,7 +7040,7 @@ impl IDvbServiceListDescriptor_Vtbl { let this = (*this).get_impl(); match IDvbServiceListDescriptor_Impl::GetRecordServiceId(this, core::mem::transmute_copy(&brecordindex)) { Ok(ok__) => { - core::ptr::write(pwval, core::mem::transmute(ok__)); + pwval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7051,7 +7051,7 @@ impl IDvbServiceListDescriptor_Vtbl { let this = (*this).get_impl(); match IDvbServiceListDescriptor_Impl::GetRecordServiceType(this, core::mem::transmute_copy(&brecordindex)) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7085,7 +7085,7 @@ impl IDvbShortEventDescriptor_Vtbl { let this = (*this).get_impl(); match IDvbShortEventDescriptor_Impl::GetTag(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7096,7 +7096,7 @@ impl IDvbShortEventDescriptor_Vtbl { let this = (*this).get_impl(); match IDvbShortEventDescriptor_Impl::GetLength(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7112,7 +7112,7 @@ impl IDvbShortEventDescriptor_Vtbl { let this = (*this).get_impl(); match IDvbShortEventDescriptor_Impl::GetEventNameW(this, core::mem::transmute_copy(&convmode)) { Ok(ok__) => { - core::ptr::write(pbstrname, core::mem::transmute(ok__)); + pbstrname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7123,7 +7123,7 @@ impl IDvbShortEventDescriptor_Vtbl { let this = (*this).get_impl(); match IDvbShortEventDescriptor_Impl::GetTextW(this, core::mem::transmute_copy(&convmode)) { Ok(ok__) => { - core::ptr::write(pbstrtext, core::mem::transmute(ok__)); + pbstrtext.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7172,7 +7172,7 @@ impl IDvbSiParser_Vtbl { let this = (*this).get_impl(); match IDvbSiParser_Impl::GetPAT(this) { Ok(ok__) => { - core::ptr::write(pppat, core::mem::transmute(ok__)); + pppat.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7183,7 +7183,7 @@ impl IDvbSiParser_Vtbl { let this = (*this).get_impl(); match IDvbSiParser_Impl::GetCAT(this, core::mem::transmute_copy(&dwtimeout)) { Ok(ok__) => { - core::ptr::write(ppcat, core::mem::transmute(ok__)); + ppcat.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7194,7 +7194,7 @@ impl IDvbSiParser_Vtbl { let this = (*this).get_impl(); match IDvbSiParser_Impl::GetPMT(this, core::mem::transmute_copy(&pid), core::mem::transmute_copy(&pwprogramnumber)) { Ok(ok__) => { - core::ptr::write(pppmt, core::mem::transmute(ok__)); + pppmt.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7205,7 +7205,7 @@ impl IDvbSiParser_Vtbl { let this = (*this).get_impl(); match IDvbSiParser_Impl::GetTSDT(this) { Ok(ok__) => { - core::ptr::write(pptsdt, core::mem::transmute(ok__)); + pptsdt.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7216,7 +7216,7 @@ impl IDvbSiParser_Vtbl { let this = (*this).get_impl(); match IDvbSiParser_Impl::GetNIT(this, core::mem::transmute_copy(&tableid), core::mem::transmute_copy(&pwnetworkid)) { Ok(ok__) => { - core::ptr::write(ppnit, core::mem::transmute(ok__)); + ppnit.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7227,7 +7227,7 @@ impl IDvbSiParser_Vtbl { let this = (*this).get_impl(); match IDvbSiParser_Impl::GetSDT(this, core::mem::transmute_copy(&tableid), core::mem::transmute_copy(&pwtransportstreamid)) { Ok(ok__) => { - core::ptr::write(ppsdt, core::mem::transmute(ok__)); + ppsdt.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7238,7 +7238,7 @@ impl IDvbSiParser_Vtbl { let this = (*this).get_impl(); match IDvbSiParser_Impl::GetEIT(this, core::mem::transmute_copy(&tableid), core::mem::transmute_copy(&pwserviceid)) { Ok(ok__) => { - core::ptr::write(ppeit, core::mem::transmute(ok__)); + ppeit.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7249,7 +7249,7 @@ impl IDvbSiParser_Vtbl { let this = (*this).get_impl(); match IDvbSiParser_Impl::GetBAT(this, core::mem::transmute_copy(&pwbouquetid)) { Ok(ok__) => { - core::ptr::write(ppbat, core::mem::transmute(ok__)); + ppbat.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7260,7 +7260,7 @@ impl IDvbSiParser_Vtbl { let this = (*this).get_impl(); match IDvbSiParser_Impl::GetRST(this, core::mem::transmute_copy(&dwtimeout)) { Ok(ok__) => { - core::ptr::write(pprst, core::mem::transmute(ok__)); + pprst.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7271,7 +7271,7 @@ impl IDvbSiParser_Vtbl { let this = (*this).get_impl(); match IDvbSiParser_Impl::GetST(this, core::mem::transmute_copy(&pid), core::mem::transmute_copy(&dwtimeout)) { Ok(ok__) => { - core::ptr::write(ppst, core::mem::transmute(ok__)); + ppst.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7282,7 +7282,7 @@ impl IDvbSiParser_Vtbl { let this = (*this).get_impl(); match IDvbSiParser_Impl::GetTDT(this) { Ok(ok__) => { - core::ptr::write(pptdt, core::mem::transmute(ok__)); + pptdt.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7293,7 +7293,7 @@ impl IDvbSiParser_Vtbl { let this = (*this).get_impl(); match IDvbSiParser_Impl::GetTOT(this) { Ok(ok__) => { - core::ptr::write(pptot, core::mem::transmute(ok__)); + pptot.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7304,7 +7304,7 @@ impl IDvbSiParser_Vtbl { let this = (*this).get_impl(); match IDvbSiParser_Impl::GetDIT(this, core::mem::transmute_copy(&dwtimeout)) { Ok(ok__) => { - core::ptr::write(ppdit, core::mem::transmute(ok__)); + ppdit.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7315,7 +7315,7 @@ impl IDvbSiParser_Vtbl { let this = (*this).get_impl(); match IDvbSiParser_Impl::GetSIT(this, core::mem::transmute_copy(&dwtimeout)) { Ok(ok__) => { - core::ptr::write(ppsit, core::mem::transmute(ok__)); + ppsit.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7355,7 +7355,7 @@ impl IDvbSiParser2_Vtbl { let this = (*this).get_impl(); match IDvbSiParser2_Impl::GetEIT2(this, core::mem::transmute_copy(&tableid), core::mem::transmute_copy(&pwserviceid), core::mem::transmute_copy(&pbsegment)) { Ok(ok__) => { - core::ptr::write(ppeit, core::mem::transmute(ok__)); + ppeit.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7384,7 +7384,7 @@ impl IDvbSubtitlingDescriptor_Vtbl { let this = (*this).get_impl(); match IDvbSubtitlingDescriptor_Impl::GetTag(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7395,7 +7395,7 @@ impl IDvbSubtitlingDescriptor_Vtbl { let this = (*this).get_impl(); match IDvbSubtitlingDescriptor_Impl::GetLength(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7406,7 +7406,7 @@ impl IDvbSubtitlingDescriptor_Vtbl { let this = (*this).get_impl(); match IDvbSubtitlingDescriptor_Impl::GetCountOfRecords(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7417,7 +7417,7 @@ impl IDvbSubtitlingDescriptor_Vtbl { let this = (*this).get_impl(); match IDvbSubtitlingDescriptor_Impl::GetRecordLangId(this, core::mem::transmute_copy(&brecordindex)) { Ok(ok__) => { - core::ptr::write(pulval, core::mem::transmute(ok__)); + pulval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7428,7 +7428,7 @@ impl IDvbSubtitlingDescriptor_Vtbl { let this = (*this).get_impl(); match IDvbSubtitlingDescriptor_Impl::GetRecordSubtitlingType(this, core::mem::transmute_copy(&brecordindex)) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7439,7 +7439,7 @@ impl IDvbSubtitlingDescriptor_Vtbl { let this = (*this).get_impl(); match IDvbSubtitlingDescriptor_Impl::GetRecordCompositionPageID(this, core::mem::transmute_copy(&brecordindex)) { Ok(ok__) => { - core::ptr::write(pwval, core::mem::transmute(ok__)); + pwval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7450,7 +7450,7 @@ impl IDvbSubtitlingDescriptor_Vtbl { let this = (*this).get_impl(); match IDvbSubtitlingDescriptor_Impl::GetRecordAncillaryPageID(this, core::mem::transmute_copy(&brecordindex)) { Ok(ok__) => { - core::ptr::write(pwval, core::mem::transmute(ok__)); + pwval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7488,7 +7488,7 @@ impl IDvbTeletextDescriptor_Vtbl { let this = (*this).get_impl(); match IDvbTeletextDescriptor_Impl::GetTag(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7499,7 +7499,7 @@ impl IDvbTeletextDescriptor_Vtbl { let this = (*this).get_impl(); match IDvbTeletextDescriptor_Impl::GetLength(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7510,7 +7510,7 @@ impl IDvbTeletextDescriptor_Vtbl { let this = (*this).get_impl(); match IDvbTeletextDescriptor_Impl::GetCountOfRecords(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7521,7 +7521,7 @@ impl IDvbTeletextDescriptor_Vtbl { let this = (*this).get_impl(); match IDvbTeletextDescriptor_Impl::GetRecordLangId(this, core::mem::transmute_copy(&brecordindex)) { Ok(ok__) => { - core::ptr::write(pulval, core::mem::transmute(ok__)); + pulval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7532,7 +7532,7 @@ impl IDvbTeletextDescriptor_Vtbl { let this = (*this).get_impl(); match IDvbTeletextDescriptor_Impl::GetRecordTeletextType(this, core::mem::transmute_copy(&brecordindex)) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7543,7 +7543,7 @@ impl IDvbTeletextDescriptor_Vtbl { let this = (*this).get_impl(); match IDvbTeletextDescriptor_Impl::GetRecordMagazineNumber(this, core::mem::transmute_copy(&brecordindex)) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7554,7 +7554,7 @@ impl IDvbTeletextDescriptor_Vtbl { let this = (*this).get_impl(); match IDvbTeletextDescriptor_Impl::GetRecordPageNumber(this, core::mem::transmute_copy(&brecordindex)) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7598,7 +7598,7 @@ impl IDvbTerrestrial2DeliverySystemDescriptor_Vtbl { let this = (*this).get_impl(); match IDvbTerrestrial2DeliverySystemDescriptor_Impl::GetTag(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7609,7 +7609,7 @@ impl IDvbTerrestrial2DeliverySystemDescriptor_Vtbl { let this = (*this).get_impl(); match IDvbTerrestrial2DeliverySystemDescriptor_Impl::GetLength(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7620,7 +7620,7 @@ impl IDvbTerrestrial2DeliverySystemDescriptor_Vtbl { let this = (*this).get_impl(); match IDvbTerrestrial2DeliverySystemDescriptor_Impl::GetTagExtension(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7631,7 +7631,7 @@ impl IDvbTerrestrial2DeliverySystemDescriptor_Vtbl { let this = (*this).get_impl(); match IDvbTerrestrial2DeliverySystemDescriptor_Impl::GetCentreFrequency(this) { Ok(ok__) => { - core::ptr::write(pdwval, core::mem::transmute(ok__)); + pdwval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7642,7 +7642,7 @@ impl IDvbTerrestrial2DeliverySystemDescriptor_Vtbl { let this = (*this).get_impl(); match IDvbTerrestrial2DeliverySystemDescriptor_Impl::GetPLPId(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7653,7 +7653,7 @@ impl IDvbTerrestrial2DeliverySystemDescriptor_Vtbl { let this = (*this).get_impl(); match IDvbTerrestrial2DeliverySystemDescriptor_Impl::GetT2SystemId(this) { Ok(ok__) => { - core::ptr::write(pwval, core::mem::transmute(ok__)); + pwval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7664,7 +7664,7 @@ impl IDvbTerrestrial2DeliverySystemDescriptor_Vtbl { let this = (*this).get_impl(); match IDvbTerrestrial2DeliverySystemDescriptor_Impl::GetMultipleInputMode(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7675,7 +7675,7 @@ impl IDvbTerrestrial2DeliverySystemDescriptor_Vtbl { let this = (*this).get_impl(); match IDvbTerrestrial2DeliverySystemDescriptor_Impl::GetBandwidth(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7686,7 +7686,7 @@ impl IDvbTerrestrial2DeliverySystemDescriptor_Vtbl { let this = (*this).get_impl(); match IDvbTerrestrial2DeliverySystemDescriptor_Impl::GetGuardInterval(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7697,7 +7697,7 @@ impl IDvbTerrestrial2DeliverySystemDescriptor_Vtbl { let this = (*this).get_impl(); match IDvbTerrestrial2DeliverySystemDescriptor_Impl::GetTransmissionMode(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7708,7 +7708,7 @@ impl IDvbTerrestrial2DeliverySystemDescriptor_Vtbl { let this = (*this).get_impl(); match IDvbTerrestrial2DeliverySystemDescriptor_Impl::GetCellId(this) { Ok(ok__) => { - core::ptr::write(pwval, core::mem::transmute(ok__)); + pwval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7719,7 +7719,7 @@ impl IDvbTerrestrial2DeliverySystemDescriptor_Vtbl { let this = (*this).get_impl(); match IDvbTerrestrial2DeliverySystemDescriptor_Impl::GetOtherFrequencyFlag(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7730,7 +7730,7 @@ impl IDvbTerrestrial2DeliverySystemDescriptor_Vtbl { let this = (*this).get_impl(); match IDvbTerrestrial2DeliverySystemDescriptor_Impl::GetTFSFlag(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7778,7 +7778,7 @@ impl IDvbTerrestrialDeliverySystemDescriptor_Vtbl { let this = (*this).get_impl(); match IDvbTerrestrialDeliverySystemDescriptor_Impl::GetTag(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7789,7 +7789,7 @@ impl IDvbTerrestrialDeliverySystemDescriptor_Vtbl { let this = (*this).get_impl(); match IDvbTerrestrialDeliverySystemDescriptor_Impl::GetLength(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7800,7 +7800,7 @@ impl IDvbTerrestrialDeliverySystemDescriptor_Vtbl { let this = (*this).get_impl(); match IDvbTerrestrialDeliverySystemDescriptor_Impl::GetCentreFrequency(this) { Ok(ok__) => { - core::ptr::write(pdwval, core::mem::transmute(ok__)); + pdwval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7811,7 +7811,7 @@ impl IDvbTerrestrialDeliverySystemDescriptor_Vtbl { let this = (*this).get_impl(); match IDvbTerrestrialDeliverySystemDescriptor_Impl::GetBandwidth(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7822,7 +7822,7 @@ impl IDvbTerrestrialDeliverySystemDescriptor_Vtbl { let this = (*this).get_impl(); match IDvbTerrestrialDeliverySystemDescriptor_Impl::GetConstellation(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7833,7 +7833,7 @@ impl IDvbTerrestrialDeliverySystemDescriptor_Vtbl { let this = (*this).get_impl(); match IDvbTerrestrialDeliverySystemDescriptor_Impl::GetHierarchyInformation(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7844,7 +7844,7 @@ impl IDvbTerrestrialDeliverySystemDescriptor_Vtbl { let this = (*this).get_impl(); match IDvbTerrestrialDeliverySystemDescriptor_Impl::GetCodeRateHPStream(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7855,7 +7855,7 @@ impl IDvbTerrestrialDeliverySystemDescriptor_Vtbl { let this = (*this).get_impl(); match IDvbTerrestrialDeliverySystemDescriptor_Impl::GetCodeRateLPStream(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7866,7 +7866,7 @@ impl IDvbTerrestrialDeliverySystemDescriptor_Vtbl { let this = (*this).get_impl(); match IDvbTerrestrialDeliverySystemDescriptor_Impl::GetGuardInterval(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7877,7 +7877,7 @@ impl IDvbTerrestrialDeliverySystemDescriptor_Vtbl { let this = (*this).get_impl(); match IDvbTerrestrialDeliverySystemDescriptor_Impl::GetTransmissionMode(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7888,7 +7888,7 @@ impl IDvbTerrestrialDeliverySystemDescriptor_Vtbl { let this = (*this).get_impl(); match IDvbTerrestrialDeliverySystemDescriptor_Impl::GetOtherFrequencyFlag(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7927,7 +7927,7 @@ impl IESCloseMmiEvent_Vtbl { let this = (*this).get_impl(); match IESCloseMmiEvent_Impl::GetDialogNumber(this) { Ok(ok__) => { - core::ptr::write(pdialognumber, core::mem::transmute(ok__)); + pdialognumber.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7950,7 +7950,7 @@ impl IESEventFactory_Vtbl { let this = (*this).get_impl(); match IESEventFactory_Impl::CreateESEvent(this, windows_core::from_raw_borrowed(&pserviceprovider), core::mem::transmute_copy(&dweventid), core::mem::transmute(&guideventtype), core::mem::transmute_copy(&dweventdatalength), core::mem::transmute_copy(&peventdata), core::mem::transmute(&bstrbaseurl), windows_core::from_raw_borrowed(&pinitcontext)) { Ok(ok__) => { - core::ptr::write(ppesevent, core::mem::transmute(ok__)); + ppesevent.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8053,7 +8053,7 @@ impl IESFileExpiryDateEvent_Vtbl { let this = (*this).get_impl(); match IESFileExpiryDateEvent_Impl::GetTunerId(this) { Ok(ok__) => { - core::ptr::write(pguidtunerid, core::mem::transmute(ok__)); + pguidtunerid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8064,7 +8064,7 @@ impl IESFileExpiryDateEvent_Vtbl { let this = (*this).get_impl(); match IESFileExpiryDateEvent_Impl::GetExpiryDate(this) { Ok(ok__) => { - core::ptr::write(pqwexpirydate, core::mem::transmute(ok__)); + pqwexpirydate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8075,7 +8075,7 @@ impl IESFileExpiryDateEvent_Vtbl { let this = (*this).get_impl(); match IESFileExpiryDateEvent_Impl::GetFinalExpiryDate(this) { Ok(ok__) => { - core::ptr::write(pqwexpirydate, core::mem::transmute(ok__)); + pqwexpirydate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8086,7 +8086,7 @@ impl IESFileExpiryDateEvent_Vtbl { let this = (*this).get_impl(); match IESFileExpiryDateEvent_Impl::GetMaxRenewalCount(this) { Ok(ok__) => { - core::ptr::write(dwmaxrenewalcount, core::mem::transmute(ok__)); + dwmaxrenewalcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8097,7 +8097,7 @@ impl IESFileExpiryDateEvent_Vtbl { let this = (*this).get_impl(); match IESFileExpiryDateEvent_Impl::IsEntitlementTokenPresent(this) { Ok(ok__) => { - core::ptr::write(pfenttokenpresent, core::mem::transmute(ok__)); + pfenttokenpresent.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8108,7 +8108,7 @@ impl IESFileExpiryDateEvent_Vtbl { let this = (*this).get_impl(); match IESFileExpiryDateEvent_Impl::DoesExpireAfterFirstUse(this) { Ok(ok__) => { - core::ptr::write(pfexpireafterfirstuse, core::mem::transmute(ok__)); + pfexpireafterfirstuse.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8145,7 +8145,7 @@ impl IESIsdbCasResponseEvent_Vtbl { let this = (*this).get_impl(); match IESIsdbCasResponseEvent_Impl::GetRequestId(this) { Ok(ok__) => { - core::ptr::write(prequestid, core::mem::transmute(ok__)); + prequestid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8156,7 +8156,7 @@ impl IESIsdbCasResponseEvent_Vtbl { let this = (*this).get_impl(); match IESIsdbCasResponseEvent_Impl::GetStatus(this) { Ok(ok__) => { - core::ptr::write(pstatus, core::mem::transmute(ok__)); + pstatus.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8167,7 +8167,7 @@ impl IESIsdbCasResponseEvent_Vtbl { let this = (*this).get_impl(); match IESIsdbCasResponseEvent_Impl::GetDataLength(this) { Ok(ok__) => { - core::ptr::write(prequestlength, core::mem::transmute(ok__)); + prequestlength.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8178,7 +8178,7 @@ impl IESIsdbCasResponseEvent_Vtbl { let this = (*this).get_impl(); match IESIsdbCasResponseEvent_Impl::GetResponseData(this) { Ok(ok__) => { - core::ptr::write(pbdata, core::mem::transmute(ok__)); + pbdata.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8220,7 +8220,7 @@ impl IESLicenseRenewalResultEvent_Vtbl { let this = (*this).get_impl(); match IESLicenseRenewalResultEvent_Impl::GetCallersId(this) { Ok(ok__) => { - core::ptr::write(pdwcallersid, core::mem::transmute(ok__)); + pdwcallersid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8231,7 +8231,7 @@ impl IESLicenseRenewalResultEvent_Vtbl { let this = (*this).get_impl(); match IESLicenseRenewalResultEvent_Impl::GetFileName(this) { Ok(ok__) => { - core::ptr::write(pbstrfilename, core::mem::transmute(ok__)); + pbstrfilename.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8242,7 +8242,7 @@ impl IESLicenseRenewalResultEvent_Vtbl { let this = (*this).get_impl(); match IESLicenseRenewalResultEvent_Impl::IsRenewalSuccessful(this) { Ok(ok__) => { - core::ptr::write(pfrenewalsuccessful, core::mem::transmute(ok__)); + pfrenewalsuccessful.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8253,7 +8253,7 @@ impl IESLicenseRenewalResultEvent_Vtbl { let this = (*this).get_impl(); match IESLicenseRenewalResultEvent_Impl::IsCheckEntitlementCallRequired(this) { Ok(ok__) => { - core::ptr::write(pfcheckenttokencallneeded, core::mem::transmute(ok__)); + pfcheckenttokencallneeded.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8264,7 +8264,7 @@ impl IESLicenseRenewalResultEvent_Vtbl { let this = (*this).get_impl(); match IESLicenseRenewalResultEvent_Impl::GetDescrambledStatus(this) { Ok(ok__) => { - core::ptr::write(pdescrambledstatus, core::mem::transmute(ok__)); + pdescrambledstatus.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8275,7 +8275,7 @@ impl IESLicenseRenewalResultEvent_Vtbl { let this = (*this).get_impl(); match IESLicenseRenewalResultEvent_Impl::GetRenewalResultCode(this) { Ok(ok__) => { - core::ptr::write(pdwrenewalresultcode, core::mem::transmute(ok__)); + pdwrenewalresultcode.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8286,7 +8286,7 @@ impl IESLicenseRenewalResultEvent_Vtbl { let this = (*this).get_impl(); match IESLicenseRenewalResultEvent_Impl::GetCASFailureCode(this) { Ok(ok__) => { - core::ptr::write(pdwcasfailurecode, core::mem::transmute(ok__)); + pdwcasfailurecode.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8297,7 +8297,7 @@ impl IESLicenseRenewalResultEvent_Vtbl { let this = (*this).get_impl(); match IESLicenseRenewalResultEvent_Impl::GetRenewalHResult(this) { Ok(ok__) => { - core::ptr::write(phr, core::mem::transmute(ok__)); + phr.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8308,7 +8308,7 @@ impl IESLicenseRenewalResultEvent_Vtbl { let this = (*this).get_impl(); match IESLicenseRenewalResultEvent_Impl::GetEntitlementTokenLength(this) { Ok(ok__) => { - core::ptr::write(pdwlength, core::mem::transmute(ok__)); + pdwlength.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8319,7 +8319,7 @@ impl IESLicenseRenewalResultEvent_Vtbl { let this = (*this).get_impl(); match IESLicenseRenewalResultEvent_Impl::GetEntitlementToken(this) { Ok(ok__) => { - core::ptr::write(pbdata, core::mem::transmute(ok__)); + pbdata.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8330,7 +8330,7 @@ impl IESLicenseRenewalResultEvent_Vtbl { let this = (*this).get_impl(); match IESLicenseRenewalResultEvent_Impl::GetExpiryDate(this) { Ok(ok__) => { - core::ptr::write(pqwexpirydate, core::mem::transmute(ok__)); + pqwexpirydate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8372,7 +8372,7 @@ impl IESOpenMmiEvent_Vtbl { let this = (*this).get_impl(); match IESOpenMmiEvent_Impl::GetDialogNumber(this, core::mem::transmute_copy(&pdialogrequest)) { Ok(ok__) => { - core::ptr::write(pdialognumber, core::mem::transmute(ok__)); + pdialognumber.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8383,7 +8383,7 @@ impl IESOpenMmiEvent_Vtbl { let this = (*this).get_impl(); match IESOpenMmiEvent_Impl::GetDialogType(this) { Ok(ok__) => { - core::ptr::write(guiddialogtype, core::mem::transmute(ok__)); + guiddialogtype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8394,7 +8394,7 @@ impl IESOpenMmiEvent_Vtbl { let this = (*this).get_impl(); match IESOpenMmiEvent_Impl::GetDialogData(this) { Ok(ok__) => { - core::ptr::write(pbdata, core::mem::transmute(ok__)); + pbdata.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8405,7 +8405,7 @@ impl IESOpenMmiEvent_Vtbl { let this = (*this).get_impl(); match IESOpenMmiEvent_Impl::GetDialogStringData(this, core::mem::transmute_copy(&pbstrbaseurl)) { Ok(ok__) => { - core::ptr::write(pbstrdata, core::mem::transmute(ok__)); + pbstrdata.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8440,7 +8440,7 @@ impl IESRequestTunerEvent_Vtbl { let this = (*this).get_impl(); match IESRequestTunerEvent_Impl::GetPriority(this) { Ok(ok__) => { - core::ptr::write(pbypriority, core::mem::transmute(ok__)); + pbypriority.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8451,7 +8451,7 @@ impl IESRequestTunerEvent_Vtbl { let this = (*this).get_impl(); match IESRequestTunerEvent_Impl::GetReason(this) { Ok(ok__) => { - core::ptr::write(pbyreason, core::mem::transmute(ok__)); + pbyreason.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8462,7 +8462,7 @@ impl IESRequestTunerEvent_Vtbl { let this = (*this).get_impl(); match IESRequestTunerEvent_Impl::GetConsequences(this) { Ok(ok__) => { - core::ptr::write(pbyconsequences, core::mem::transmute(ok__)); + pbyconsequences.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8473,7 +8473,7 @@ impl IESRequestTunerEvent_Vtbl { let this = (*this).get_impl(); match IESRequestTunerEvent_Impl::GetEstimatedTime(this) { Ok(ok__) => { - core::ptr::write(pdwestimatedtime, core::mem::transmute(ok__)); + pdwestimatedtime.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8505,7 +8505,7 @@ impl IESValueUpdatedEvent_Vtbl { let this = (*this).get_impl(); match IESValueUpdatedEvent_Impl::GetValueNames(this) { Ok(ok__) => { - core::ptr::write(pbstrnames, core::mem::transmute(ok__)); + pbstrnames.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8532,7 +8532,7 @@ impl IETFilter_Vtbl { let this = (*this).get_impl(); match IETFilter_Impl::EvalRatObjOK(this) { Ok(ok__) => { - core::ptr::write(phrcocreateretval, core::mem::transmute(ok__)); + phrcocreateretval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8548,7 +8548,7 @@ impl IETFilter_Vtbl { let this = (*this).get_impl(); match IETFilter_Impl::GetCurrLicenseExpDate(this, core::mem::transmute_copy(&prottype)) { Ok(ok__) => { - core::ptr::write(lpdatetime, core::mem::transmute(ok__)); + lpdatetime.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8594,7 +8594,7 @@ impl IETFilterConfig_Vtbl { let this = (*this).get_impl(); match IETFilterConfig_Impl::GetSecureChannelObject(this) { Ok(ok__) => { - core::ptr::write(ppunkdrmsecurechannel, core::mem::transmute(ok__)); + ppunkdrmsecurechannel.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8655,7 +8655,7 @@ impl IEnumComponentTypes_Vtbl { let this = (*this).get_impl(); match IEnumComponentTypes_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8705,7 +8705,7 @@ impl IEnumComponents_Vtbl { let this = (*this).get_impl(); match IEnumComponents_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8752,7 +8752,7 @@ impl IEnumGuideDataProperties_Vtbl { let this = (*this).get_impl(); match IEnumGuideDataProperties_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8802,7 +8802,7 @@ impl IEnumMSVidGraphSegment_Vtbl { let this = (*this).get_impl(); match IEnumMSVidGraphSegment_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8849,7 +8849,7 @@ impl IEnumStreamBufferRecordingAttrib_Vtbl { let this = (*this).get_impl(); match IEnumStreamBufferRecordingAttrib_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppienumstreambufferattrib, core::mem::transmute(ok__)); + ppienumstreambufferattrib.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8899,7 +8899,7 @@ impl IEnumTuneRequests_Vtbl { let this = (*this).get_impl(); match IEnumTuneRequests_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8949,7 +8949,7 @@ impl IEnumTuningSpaces_Vtbl { let this = (*this).get_impl(); match IEnumTuningSpaces_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8986,7 +8986,7 @@ impl IEvalRat_Vtbl { let this = (*this).get_impl(); match IEvalRat_Impl::get_BlockedRatingAttributes(this, core::mem::transmute_copy(&ensystem), core::mem::transmute_copy(&enlevel)) { Ok(ok__) => { - core::ptr::write(plbfattrs, core::mem::transmute(ok__)); + plbfattrs.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9002,7 +9002,7 @@ impl IEvalRat_Vtbl { let this = (*this).get_impl(); match IEvalRat_Impl::BlockUnRated(this) { Ok(ok__) => { - core::ptr::write(pfblockunratedshows, core::mem::transmute(ok__)); + pfblockunratedshows.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9056,7 +9056,7 @@ impl IGenericDescriptor_Vtbl { let this = (*this).get_impl(); match IGenericDescriptor_Impl::GetTag(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9067,7 +9067,7 @@ impl IGenericDescriptor_Vtbl { let this = (*this).get_impl(); match IGenericDescriptor_Impl::GetLength(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9078,7 +9078,7 @@ impl IGenericDescriptor_Vtbl { let this = (*this).get_impl(); match IGenericDescriptor_Impl::GetBody(this) { Ok(ok__) => { - core::ptr::write(ppbval, core::mem::transmute(ok__)); + ppbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9113,7 +9113,7 @@ impl IGenericDescriptor2_Vtbl { let this = (*this).get_impl(); match IGenericDescriptor2_Impl::GetLength(this) { Ok(ok__) => { - core::ptr::write(pwval, core::mem::transmute(ok__)); + pwval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9140,7 +9140,7 @@ impl IGpnvsCommonBase_Vtbl { let this = (*this).get_impl(); match IGpnvsCommonBase_Impl::GetValueUpdateName(this) { Ok(ok__) => { - core::ptr::write(pbstrname, core::mem::transmute(ok__)); + pbstrname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9171,7 +9171,7 @@ impl IGuideData_Vtbl { let this = (*this).get_impl(); match IGuideData_Impl::GetServices(this) { Ok(ok__) => { - core::ptr::write(ppenumtunerequests, core::mem::transmute(ok__)); + ppenumtunerequests.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9182,7 +9182,7 @@ impl IGuideData_Vtbl { let this = (*this).get_impl(); match IGuideData_Impl::GetServiceProperties(this, windows_core::from_raw_borrowed(&ptunerequest)) { Ok(ok__) => { - core::ptr::write(ppenumproperties, core::mem::transmute(ok__)); + ppenumproperties.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9193,7 +9193,7 @@ impl IGuideData_Vtbl { let this = (*this).get_impl(); match IGuideData_Impl::GetGuideProgramIDs(this) { Ok(ok__) => { - core::ptr::write(penumprograms, core::mem::transmute(ok__)); + penumprograms.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9204,7 +9204,7 @@ impl IGuideData_Vtbl { let this = (*this).get_impl(); match IGuideData_Impl::GetProgramProperties(this, core::mem::transmute(&varprogramdescriptionid)) { Ok(ok__) => { - core::ptr::write(ppenumproperties, core::mem::transmute(ok__)); + ppenumproperties.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9215,7 +9215,7 @@ impl IGuideData_Vtbl { let this = (*this).get_impl(); match IGuideData_Impl::GetScheduleEntryIDs(this) { Ok(ok__) => { - core::ptr::write(penumscheduleentries, core::mem::transmute(ok__)); + penumscheduleentries.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9226,7 +9226,7 @@ impl IGuideData_Vtbl { let this = (*this).get_impl(); match IGuideData_Impl::GetScheduleEntryProperties(this, core::mem::transmute(&varscheduleentrydescriptionid)) { Ok(ok__) => { - core::ptr::write(ppenumproperties, core::mem::transmute(ok__)); + ppenumproperties.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9348,7 +9348,7 @@ impl IGuideDataProperty_Vtbl { let this = (*this).get_impl(); match IGuideDataProperty_Impl::Name(this) { Ok(ok__) => { - core::ptr::write(pbstrname, core::mem::transmute(ok__)); + pbstrname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9359,7 +9359,7 @@ impl IGuideDataProperty_Vtbl { let this = (*this).get_impl(); match IGuideDataProperty_Impl::Language(this) { Ok(ok__) => { - core::ptr::write(idlang, core::mem::transmute(ok__)); + idlang.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9370,7 +9370,7 @@ impl IGuideDataProperty_Vtbl { let this = (*this).get_impl(); match IGuideDataProperty_Impl::Value(this) { Ok(ok__) => { - core::ptr::write(pvar, core::mem::transmute(ok__)); + pvar.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9428,7 +9428,7 @@ impl IISDB_BIT_Vtbl { let this = (*this).get_impl(); match IISDB_BIT_Impl::GetVersionNumber(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9439,7 +9439,7 @@ impl IISDB_BIT_Vtbl { let this = (*this).get_impl(); match IISDB_BIT_Impl::GetOriginalNetworkId(this) { Ok(ok__) => { - core::ptr::write(pwval, core::mem::transmute(ok__)); + pwval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9450,7 +9450,7 @@ impl IISDB_BIT_Vtbl { let this = (*this).get_impl(); match IISDB_BIT_Impl::GetBroadcastViewPropriety(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9461,7 +9461,7 @@ impl IISDB_BIT_Vtbl { let this = (*this).get_impl(); match IISDB_BIT_Impl::GetCountOfTableDescriptors(this) { Ok(ok__) => { - core::ptr::write(pdwval, core::mem::transmute(ok__)); + pdwval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9472,7 +9472,7 @@ impl IISDB_BIT_Vtbl { let this = (*this).get_impl(); match IISDB_BIT_Impl::GetTableDescriptorByIndex(this, core::mem::transmute_copy(&dwindex)) { Ok(ok__) => { - core::ptr::write(ppdescriptor, core::mem::transmute(ok__)); + ppdescriptor.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9488,7 +9488,7 @@ impl IISDB_BIT_Vtbl { let this = (*this).get_impl(); match IISDB_BIT_Impl::GetCountOfRecords(this) { Ok(ok__) => { - core::ptr::write(pdwval, core::mem::transmute(ok__)); + pdwval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9499,7 +9499,7 @@ impl IISDB_BIT_Vtbl { let this = (*this).get_impl(); match IISDB_BIT_Impl::GetRecordBroadcasterId(this, core::mem::transmute_copy(&dwrecordindex)) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9510,7 +9510,7 @@ impl IISDB_BIT_Vtbl { let this = (*this).get_impl(); match IISDB_BIT_Impl::GetRecordCountOfDescriptors(this, core::mem::transmute_copy(&dwrecordindex)) { Ok(ok__) => { - core::ptr::write(pdwval, core::mem::transmute(ok__)); + pdwval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9521,7 +9521,7 @@ impl IISDB_BIT_Vtbl { let this = (*this).get_impl(); match IISDB_BIT_Impl::GetRecordDescriptorByIndex(this, core::mem::transmute_copy(&dwrecordindex), core::mem::transmute_copy(&dwindex)) { Ok(ok__) => { - core::ptr::write(ppdescriptor, core::mem::transmute(ok__)); + ppdescriptor.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9537,7 +9537,7 @@ impl IISDB_BIT_Vtbl { let this = (*this).get_impl(); match IISDB_BIT_Impl::GetVersionHash(this) { Ok(ok__) => { - core::ptr::write(pdwversionhash, core::mem::transmute(ok__)); + pdwversionhash.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9591,7 +9591,7 @@ impl IISDB_CDT_Vtbl { let this = (*this).get_impl(); match IISDB_CDT_Impl::GetVersionNumber(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9602,7 +9602,7 @@ impl IISDB_CDT_Vtbl { let this = (*this).get_impl(); match IISDB_CDT_Impl::GetDownloadDataId(this) { Ok(ok__) => { - core::ptr::write(pwval, core::mem::transmute(ok__)); + pwval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9613,7 +9613,7 @@ impl IISDB_CDT_Vtbl { let this = (*this).get_impl(); match IISDB_CDT_Impl::GetSectionNumber(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9624,7 +9624,7 @@ impl IISDB_CDT_Vtbl { let this = (*this).get_impl(); match IISDB_CDT_Impl::GetOriginalNetworkId(this) { Ok(ok__) => { - core::ptr::write(pwval, core::mem::transmute(ok__)); + pwval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9635,7 +9635,7 @@ impl IISDB_CDT_Vtbl { let this = (*this).get_impl(); match IISDB_CDT_Impl::GetDataType(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9646,7 +9646,7 @@ impl IISDB_CDT_Vtbl { let this = (*this).get_impl(); match IISDB_CDT_Impl::GetCountOfTableDescriptors(this) { Ok(ok__) => { - core::ptr::write(pdwval, core::mem::transmute(ok__)); + pdwval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9657,7 +9657,7 @@ impl IISDB_CDT_Vtbl { let this = (*this).get_impl(); match IISDB_CDT_Impl::GetTableDescriptorByIndex(this, core::mem::transmute_copy(&dwindex)) { Ok(ok__) => { - core::ptr::write(ppdescriptor, core::mem::transmute(ok__)); + ppdescriptor.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9673,7 +9673,7 @@ impl IISDB_CDT_Vtbl { let this = (*this).get_impl(); match IISDB_CDT_Impl::GetSizeOfDataModule(this) { Ok(ok__) => { - core::ptr::write(pdwval, core::mem::transmute(ok__)); + pdwval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9684,7 +9684,7 @@ impl IISDB_CDT_Vtbl { let this = (*this).get_impl(); match IISDB_CDT_Impl::GetDataModule(this) { Ok(ok__) => { - core::ptr::write(pbdata, core::mem::transmute(ok__)); + pbdata.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9695,7 +9695,7 @@ impl IISDB_CDT_Vtbl { let this = (*this).get_impl(); match IISDB_CDT_Impl::GetVersionHash(this) { Ok(ok__) => { - core::ptr::write(pdwversionhash, core::mem::transmute(ok__)); + pdwversionhash.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9743,7 +9743,7 @@ impl IISDB_EMM_Vtbl { let this = (*this).get_impl(); match IISDB_EMM_Impl::GetVersionNumber(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9754,7 +9754,7 @@ impl IISDB_EMM_Vtbl { let this = (*this).get_impl(); match IISDB_EMM_Impl::GetTableIdExtension(this) { Ok(ok__) => { - core::ptr::write(pwval, core::mem::transmute(ok__)); + pwval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9780,7 +9780,7 @@ impl IISDB_EMM_Vtbl { let this = (*this).get_impl(); match IISDB_EMM_Impl::GetVersionHash(this) { Ok(ok__) => { - core::ptr::write(pdwversionhash, core::mem::transmute(ok__)); + pdwversionhash.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9827,7 +9827,7 @@ impl IISDB_LDT_Vtbl { let this = (*this).get_impl(); match IISDB_LDT_Impl::GetVersionNumber(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9838,7 +9838,7 @@ impl IISDB_LDT_Vtbl { let this = (*this).get_impl(); match IISDB_LDT_Impl::GetOriginalServiceId(this) { Ok(ok__) => { - core::ptr::write(pwval, core::mem::transmute(ok__)); + pwval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9849,7 +9849,7 @@ impl IISDB_LDT_Vtbl { let this = (*this).get_impl(); match IISDB_LDT_Impl::GetTransportStreamId(this) { Ok(ok__) => { - core::ptr::write(pwval, core::mem::transmute(ok__)); + pwval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9860,7 +9860,7 @@ impl IISDB_LDT_Vtbl { let this = (*this).get_impl(); match IISDB_LDT_Impl::GetOriginalNetworkId(this) { Ok(ok__) => { - core::ptr::write(pwval, core::mem::transmute(ok__)); + pwval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9871,7 +9871,7 @@ impl IISDB_LDT_Vtbl { let this = (*this).get_impl(); match IISDB_LDT_Impl::GetCountOfRecords(this) { Ok(ok__) => { - core::ptr::write(pdwval, core::mem::transmute(ok__)); + pdwval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9882,7 +9882,7 @@ impl IISDB_LDT_Vtbl { let this = (*this).get_impl(); match IISDB_LDT_Impl::GetRecordDescriptionId(this, core::mem::transmute_copy(&dwrecordindex)) { Ok(ok__) => { - core::ptr::write(pwval, core::mem::transmute(ok__)); + pwval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9893,7 +9893,7 @@ impl IISDB_LDT_Vtbl { let this = (*this).get_impl(); match IISDB_LDT_Impl::GetRecordCountOfDescriptors(this, core::mem::transmute_copy(&dwrecordindex)) { Ok(ok__) => { - core::ptr::write(pdwval, core::mem::transmute(ok__)); + pdwval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9904,7 +9904,7 @@ impl IISDB_LDT_Vtbl { let this = (*this).get_impl(); match IISDB_LDT_Impl::GetRecordDescriptorByIndex(this, core::mem::transmute_copy(&dwrecordindex), core::mem::transmute_copy(&dwindex)) { Ok(ok__) => { - core::ptr::write(ppdescriptor, core::mem::transmute(ok__)); + ppdescriptor.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9920,7 +9920,7 @@ impl IISDB_LDT_Vtbl { let this = (*this).get_impl(); match IISDB_LDT_Impl::GetVersionHash(this) { Ok(ok__) => { - core::ptr::write(pdwversionhash, core::mem::transmute(ok__)); + pdwversionhash.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9975,7 +9975,7 @@ impl IISDB_NBIT_Vtbl { let this = (*this).get_impl(); match IISDB_NBIT_Impl::GetVersionNumber(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9986,7 +9986,7 @@ impl IISDB_NBIT_Vtbl { let this = (*this).get_impl(); match IISDB_NBIT_Impl::GetOriginalNetworkId(this) { Ok(ok__) => { - core::ptr::write(pwval, core::mem::transmute(ok__)); + pwval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9997,7 +9997,7 @@ impl IISDB_NBIT_Vtbl { let this = (*this).get_impl(); match IISDB_NBIT_Impl::GetCountOfRecords(this) { Ok(ok__) => { - core::ptr::write(pdwval, core::mem::transmute(ok__)); + pdwval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10008,7 +10008,7 @@ impl IISDB_NBIT_Vtbl { let this = (*this).get_impl(); match IISDB_NBIT_Impl::GetRecordInformationId(this, core::mem::transmute_copy(&dwrecordindex)) { Ok(ok__) => { - core::ptr::write(pwval, core::mem::transmute(ok__)); + pwval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10019,7 +10019,7 @@ impl IISDB_NBIT_Vtbl { let this = (*this).get_impl(); match IISDB_NBIT_Impl::GetRecordInformationType(this, core::mem::transmute_copy(&dwrecordindex)) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10030,7 +10030,7 @@ impl IISDB_NBIT_Vtbl { let this = (*this).get_impl(); match IISDB_NBIT_Impl::GetRecordDescriptionBodyLocation(this, core::mem::transmute_copy(&dwrecordindex)) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10041,7 +10041,7 @@ impl IISDB_NBIT_Vtbl { let this = (*this).get_impl(); match IISDB_NBIT_Impl::GetRecordMessageSectionNumber(this, core::mem::transmute_copy(&dwrecordindex)) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10052,7 +10052,7 @@ impl IISDB_NBIT_Vtbl { let this = (*this).get_impl(); match IISDB_NBIT_Impl::GetRecordUserDefined(this, core::mem::transmute_copy(&dwrecordindex)) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10063,7 +10063,7 @@ impl IISDB_NBIT_Vtbl { let this = (*this).get_impl(); match IISDB_NBIT_Impl::GetRecordNumberOfKeys(this, core::mem::transmute_copy(&dwrecordindex)) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10074,7 +10074,7 @@ impl IISDB_NBIT_Vtbl { let this = (*this).get_impl(); match IISDB_NBIT_Impl::GetRecordKeys(this, core::mem::transmute_copy(&dwrecordindex)) { Ok(ok__) => { - core::ptr::write(pbkeys, core::mem::transmute(ok__)); + pbkeys.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10085,7 +10085,7 @@ impl IISDB_NBIT_Vtbl { let this = (*this).get_impl(); match IISDB_NBIT_Impl::GetRecordCountOfDescriptors(this, core::mem::transmute_copy(&dwrecordindex)) { Ok(ok__) => { - core::ptr::write(pdwval, core::mem::transmute(ok__)); + pdwval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10096,7 +10096,7 @@ impl IISDB_NBIT_Vtbl { let this = (*this).get_impl(); match IISDB_NBIT_Impl::GetRecordDescriptorByIndex(this, core::mem::transmute_copy(&dwrecordindex), core::mem::transmute_copy(&dwindex)) { Ok(ok__) => { - core::ptr::write(ppdescriptor, core::mem::transmute(ok__)); + ppdescriptor.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10112,7 +10112,7 @@ impl IISDB_NBIT_Vtbl { let this = (*this).get_impl(); match IISDB_NBIT_Impl::GetVersionHash(this) { Ok(ok__) => { - core::ptr::write(pdwversionhash, core::mem::transmute(ok__)); + pdwversionhash.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10152,7 +10152,7 @@ impl IISDB_SDT_Vtbl { let this = (*this).get_impl(); match IISDB_SDT_Impl::GetRecordEITUserDefinedFlags(this, core::mem::transmute_copy(&dwrecordindex)) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10199,7 +10199,7 @@ impl IISDB_SDTT_Vtbl { let this = (*this).get_impl(); match IISDB_SDTT_Impl::GetVersionNumber(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10210,7 +10210,7 @@ impl IISDB_SDTT_Vtbl { let this = (*this).get_impl(); match IISDB_SDTT_Impl::GetTableIdExt(this) { Ok(ok__) => { - core::ptr::write(pwval, core::mem::transmute(ok__)); + pwval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10221,7 +10221,7 @@ impl IISDB_SDTT_Vtbl { let this = (*this).get_impl(); match IISDB_SDTT_Impl::GetTransportStreamId(this) { Ok(ok__) => { - core::ptr::write(pwval, core::mem::transmute(ok__)); + pwval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10232,7 +10232,7 @@ impl IISDB_SDTT_Vtbl { let this = (*this).get_impl(); match IISDB_SDTT_Impl::GetOriginalNetworkId(this) { Ok(ok__) => { - core::ptr::write(pwval, core::mem::transmute(ok__)); + pwval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10243,7 +10243,7 @@ impl IISDB_SDTT_Vtbl { let this = (*this).get_impl(); match IISDB_SDTT_Impl::GetServiceId(this) { Ok(ok__) => { - core::ptr::write(pwval, core::mem::transmute(ok__)); + pwval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10254,7 +10254,7 @@ impl IISDB_SDTT_Vtbl { let this = (*this).get_impl(); match IISDB_SDTT_Impl::GetCountOfRecords(this) { Ok(ok__) => { - core::ptr::write(pdwval, core::mem::transmute(ok__)); + pdwval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10265,7 +10265,7 @@ impl IISDB_SDTT_Vtbl { let this = (*this).get_impl(); match IISDB_SDTT_Impl::GetRecordGroup(this, core::mem::transmute_copy(&dwrecordindex)) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10276,7 +10276,7 @@ impl IISDB_SDTT_Vtbl { let this = (*this).get_impl(); match IISDB_SDTT_Impl::GetRecordTargetVersion(this, core::mem::transmute_copy(&dwrecordindex)) { Ok(ok__) => { - core::ptr::write(pwval, core::mem::transmute(ok__)); + pwval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10287,7 +10287,7 @@ impl IISDB_SDTT_Vtbl { let this = (*this).get_impl(); match IISDB_SDTT_Impl::GetRecordNewVersion(this, core::mem::transmute_copy(&dwrecordindex)) { Ok(ok__) => { - core::ptr::write(pwval, core::mem::transmute(ok__)); + pwval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10298,7 +10298,7 @@ impl IISDB_SDTT_Vtbl { let this = (*this).get_impl(); match IISDB_SDTT_Impl::GetRecordDownloadLevel(this, core::mem::transmute_copy(&dwrecordindex)) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10309,7 +10309,7 @@ impl IISDB_SDTT_Vtbl { let this = (*this).get_impl(); match IISDB_SDTT_Impl::GetRecordVersionIndicator(this, core::mem::transmute_copy(&dwrecordindex)) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10320,7 +10320,7 @@ impl IISDB_SDTT_Vtbl { let this = (*this).get_impl(); match IISDB_SDTT_Impl::GetRecordScheduleTimeShiftInformation(this, core::mem::transmute_copy(&dwrecordindex)) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10331,7 +10331,7 @@ impl IISDB_SDTT_Vtbl { let this = (*this).get_impl(); match IISDB_SDTT_Impl::GetRecordCountOfSchedules(this, core::mem::transmute_copy(&dwrecordindex)) { Ok(ok__) => { - core::ptr::write(pdwval, core::mem::transmute(ok__)); + pdwval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10342,7 +10342,7 @@ impl IISDB_SDTT_Vtbl { let this = (*this).get_impl(); match IISDB_SDTT_Impl::GetRecordStartTimeByIndex(this, core::mem::transmute_copy(&dwrecordindex), core::mem::transmute_copy(&dwindex)) { Ok(ok__) => { - core::ptr::write(pmdtval, core::mem::transmute(ok__)); + pmdtval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10353,7 +10353,7 @@ impl IISDB_SDTT_Vtbl { let this = (*this).get_impl(); match IISDB_SDTT_Impl::GetRecordDurationByIndex(this, core::mem::transmute_copy(&dwrecordindex), core::mem::transmute_copy(&dwindex)) { Ok(ok__) => { - core::ptr::write(pmdval, core::mem::transmute(ok__)); + pmdval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10364,7 +10364,7 @@ impl IISDB_SDTT_Vtbl { let this = (*this).get_impl(); match IISDB_SDTT_Impl::GetRecordCountOfDescriptors(this, core::mem::transmute_copy(&dwrecordindex)) { Ok(ok__) => { - core::ptr::write(pdwval, core::mem::transmute(ok__)); + pdwval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10375,7 +10375,7 @@ impl IISDB_SDTT_Vtbl { let this = (*this).get_impl(); match IISDB_SDTT_Impl::GetRecordDescriptorByIndex(this, core::mem::transmute_copy(&dwrecordindex), core::mem::transmute_copy(&dwindex)) { Ok(ok__) => { - core::ptr::write(ppdescriptor, core::mem::transmute(ok__)); + ppdescriptor.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10391,7 +10391,7 @@ impl IISDB_SDTT_Vtbl { let this = (*this).get_impl(); match IISDB_SDTT_Impl::GetVersionHash(this) { Ok(ok__) => { - core::ptr::write(pdwversionhash, core::mem::transmute(ok__)); + pdwversionhash.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10449,7 +10449,7 @@ impl IIsdbAudioComponentDescriptor_Vtbl { let this = (*this).get_impl(); match IIsdbAudioComponentDescriptor_Impl::GetTag(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10460,7 +10460,7 @@ impl IIsdbAudioComponentDescriptor_Vtbl { let this = (*this).get_impl(); match IIsdbAudioComponentDescriptor_Impl::GetLength(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10471,7 +10471,7 @@ impl IIsdbAudioComponentDescriptor_Vtbl { let this = (*this).get_impl(); match IIsdbAudioComponentDescriptor_Impl::GetStreamContent(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10482,7 +10482,7 @@ impl IIsdbAudioComponentDescriptor_Vtbl { let this = (*this).get_impl(); match IIsdbAudioComponentDescriptor_Impl::GetComponentType(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10493,7 +10493,7 @@ impl IIsdbAudioComponentDescriptor_Vtbl { let this = (*this).get_impl(); match IIsdbAudioComponentDescriptor_Impl::GetComponentTag(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10504,7 +10504,7 @@ impl IIsdbAudioComponentDescriptor_Vtbl { let this = (*this).get_impl(); match IIsdbAudioComponentDescriptor_Impl::GetStreamType(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10515,7 +10515,7 @@ impl IIsdbAudioComponentDescriptor_Vtbl { let this = (*this).get_impl(); match IIsdbAudioComponentDescriptor_Impl::GetSimulcastGroupTag(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10526,7 +10526,7 @@ impl IIsdbAudioComponentDescriptor_Vtbl { let this = (*this).get_impl(); match IIsdbAudioComponentDescriptor_Impl::GetESMultiLingualFlag(this) { Ok(ok__) => { - core::ptr::write(pfval, core::mem::transmute(ok__)); + pfval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10537,7 +10537,7 @@ impl IIsdbAudioComponentDescriptor_Vtbl { let this = (*this).get_impl(); match IIsdbAudioComponentDescriptor_Impl::GetMainComponentFlag(this) { Ok(ok__) => { - core::ptr::write(pfval, core::mem::transmute(ok__)); + pfval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10548,7 +10548,7 @@ impl IIsdbAudioComponentDescriptor_Vtbl { let this = (*this).get_impl(); match IIsdbAudioComponentDescriptor_Impl::GetQualityIndicator(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10559,7 +10559,7 @@ impl IIsdbAudioComponentDescriptor_Vtbl { let this = (*this).get_impl(); match IIsdbAudioComponentDescriptor_Impl::GetSamplingRate(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10580,7 +10580,7 @@ impl IIsdbAudioComponentDescriptor_Vtbl { let this = (*this).get_impl(); match IIsdbAudioComponentDescriptor_Impl::GetTextW(this, core::mem::transmute_copy(&convmode)) { Ok(ok__) => { - core::ptr::write(pbstrtext, core::mem::transmute(ok__)); + pbstrtext.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10627,7 +10627,7 @@ impl IIsdbCAContractInformationDescriptor_Vtbl { let this = (*this).get_impl(); match IIsdbCAContractInformationDescriptor_Impl::GetTag(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10638,7 +10638,7 @@ impl IIsdbCAContractInformationDescriptor_Vtbl { let this = (*this).get_impl(); match IIsdbCAContractInformationDescriptor_Impl::GetLength(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10649,7 +10649,7 @@ impl IIsdbCAContractInformationDescriptor_Vtbl { let this = (*this).get_impl(); match IIsdbCAContractInformationDescriptor_Impl::GetCASystemId(this) { Ok(ok__) => { - core::ptr::write(pwval, core::mem::transmute(ok__)); + pwval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10660,7 +10660,7 @@ impl IIsdbCAContractInformationDescriptor_Vtbl { let this = (*this).get_impl(); match IIsdbCAContractInformationDescriptor_Impl::GetCAUnitId(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10671,7 +10671,7 @@ impl IIsdbCAContractInformationDescriptor_Vtbl { let this = (*this).get_impl(); match IIsdbCAContractInformationDescriptor_Impl::GetCountOfRecords(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10682,7 +10682,7 @@ impl IIsdbCAContractInformationDescriptor_Vtbl { let this = (*this).get_impl(); match IIsdbCAContractInformationDescriptor_Impl::GetRecordComponentTag(this, core::mem::transmute_copy(&brecordindex)) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10693,7 +10693,7 @@ impl IIsdbCAContractInformationDescriptor_Vtbl { let this = (*this).get_impl(); match IIsdbCAContractInformationDescriptor_Impl::GetContractVerificationInfoLength(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10704,7 +10704,7 @@ impl IIsdbCAContractInformationDescriptor_Vtbl { let this = (*this).get_impl(); match IIsdbCAContractInformationDescriptor_Impl::GetContractVerificationInfo(this, core::mem::transmute_copy(&bbuflength)) { Ok(ok__) => { - core::ptr::write(pbbuf, core::mem::transmute(ok__)); + pbbuf.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10715,7 +10715,7 @@ impl IIsdbCAContractInformationDescriptor_Vtbl { let this = (*this).get_impl(); match IIsdbCAContractInformationDescriptor_Impl::GetFeeNameW(this, core::mem::transmute_copy(&convmode)) { Ok(ok__) => { - core::ptr::write(pbstrname, core::mem::transmute(ok__)); + pbstrname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10754,7 +10754,7 @@ impl IIsdbCADescriptor_Vtbl { let this = (*this).get_impl(); match IIsdbCADescriptor_Impl::GetTag(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10765,7 +10765,7 @@ impl IIsdbCADescriptor_Vtbl { let this = (*this).get_impl(); match IIsdbCADescriptor_Impl::GetLength(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10776,7 +10776,7 @@ impl IIsdbCADescriptor_Vtbl { let this = (*this).get_impl(); match IIsdbCADescriptor_Impl::GetCASystemId(this) { Ok(ok__) => { - core::ptr::write(pwval, core::mem::transmute(ok__)); + pwval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10787,7 +10787,7 @@ impl IIsdbCADescriptor_Vtbl { let this = (*this).get_impl(); match IIsdbCADescriptor_Impl::GetReservedBits(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10798,7 +10798,7 @@ impl IIsdbCADescriptor_Vtbl { let this = (*this).get_impl(); match IIsdbCADescriptor_Impl::GetCAPID(this) { Ok(ok__) => { - core::ptr::write(pwval, core::mem::transmute(ok__)); + pwval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10839,7 +10839,7 @@ impl IIsdbCAServiceDescriptor_Vtbl { let this = (*this).get_impl(); match IIsdbCAServiceDescriptor_Impl::GetTag(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10850,7 +10850,7 @@ impl IIsdbCAServiceDescriptor_Vtbl { let this = (*this).get_impl(); match IIsdbCAServiceDescriptor_Impl::GetLength(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10861,7 +10861,7 @@ impl IIsdbCAServiceDescriptor_Vtbl { let this = (*this).get_impl(); match IIsdbCAServiceDescriptor_Impl::GetCASystemId(this) { Ok(ok__) => { - core::ptr::write(pwval, core::mem::transmute(ok__)); + pwval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10872,7 +10872,7 @@ impl IIsdbCAServiceDescriptor_Vtbl { let this = (*this).get_impl(); match IIsdbCAServiceDescriptor_Impl::GetCABroadcasterGroupId(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10883,7 +10883,7 @@ impl IIsdbCAServiceDescriptor_Vtbl { let this = (*this).get_impl(); match IIsdbCAServiceDescriptor_Impl::GetMessageControl(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10929,7 +10929,7 @@ impl IIsdbComponentGroupDescriptor_Vtbl { let this = (*this).get_impl(); match IIsdbComponentGroupDescriptor_Impl::GetTag(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10940,7 +10940,7 @@ impl IIsdbComponentGroupDescriptor_Vtbl { let this = (*this).get_impl(); match IIsdbComponentGroupDescriptor_Impl::GetLength(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10951,7 +10951,7 @@ impl IIsdbComponentGroupDescriptor_Vtbl { let this = (*this).get_impl(); match IIsdbComponentGroupDescriptor_Impl::GetComponentGroupType(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10962,7 +10962,7 @@ impl IIsdbComponentGroupDescriptor_Vtbl { let this = (*this).get_impl(); match IIsdbComponentGroupDescriptor_Impl::GetCountOfRecords(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10973,7 +10973,7 @@ impl IIsdbComponentGroupDescriptor_Vtbl { let this = (*this).get_impl(); match IIsdbComponentGroupDescriptor_Impl::GetRecordGroupId(this, core::mem::transmute_copy(&brecordindex)) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10984,7 +10984,7 @@ impl IIsdbComponentGroupDescriptor_Vtbl { let this = (*this).get_impl(); match IIsdbComponentGroupDescriptor_Impl::GetRecordNumberOfCAUnit(this, core::mem::transmute_copy(&brecordindex)) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10995,7 +10995,7 @@ impl IIsdbComponentGroupDescriptor_Vtbl { let this = (*this).get_impl(); match IIsdbComponentGroupDescriptor_Impl::GetRecordCAUnitCAUnitId(this, core::mem::transmute_copy(&brecordindex), core::mem::transmute_copy(&bcaunitindex)) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11006,7 +11006,7 @@ impl IIsdbComponentGroupDescriptor_Vtbl { let this = (*this).get_impl(); match IIsdbComponentGroupDescriptor_Impl::GetRecordCAUnitNumberOfComponents(this, core::mem::transmute_copy(&brecordindex), core::mem::transmute_copy(&bcaunitindex)) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11017,7 +11017,7 @@ impl IIsdbComponentGroupDescriptor_Vtbl { let this = (*this).get_impl(); match IIsdbComponentGroupDescriptor_Impl::GetRecordCAUnitComponentTag(this, core::mem::transmute_copy(&brecordindex), core::mem::transmute_copy(&bcaunitindex), core::mem::transmute_copy(&bcomponentindex)) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11028,7 +11028,7 @@ impl IIsdbComponentGroupDescriptor_Vtbl { let this = (*this).get_impl(); match IIsdbComponentGroupDescriptor_Impl::GetRecordTotalBitRate(this, core::mem::transmute_copy(&brecordindex)) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11039,7 +11039,7 @@ impl IIsdbComponentGroupDescriptor_Vtbl { let this = (*this).get_impl(); match IIsdbComponentGroupDescriptor_Impl::GetRecordTextW(this, core::mem::transmute_copy(&brecordindex), core::mem::transmute_copy(&convmode)) { Ok(ok__) => { - core::ptr::write(pbstrtext, core::mem::transmute(ok__)); + pbstrtext.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11084,7 +11084,7 @@ impl IIsdbDataContentDescriptor_Vtbl { let this = (*this).get_impl(); match IIsdbDataContentDescriptor_Impl::GetTag(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11095,7 +11095,7 @@ impl IIsdbDataContentDescriptor_Vtbl { let this = (*this).get_impl(); match IIsdbDataContentDescriptor_Impl::GetLength(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11106,7 +11106,7 @@ impl IIsdbDataContentDescriptor_Vtbl { let this = (*this).get_impl(); match IIsdbDataContentDescriptor_Impl::GetDataComponentId(this) { Ok(ok__) => { - core::ptr::write(pwval, core::mem::transmute(ok__)); + pwval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11117,7 +11117,7 @@ impl IIsdbDataContentDescriptor_Vtbl { let this = (*this).get_impl(); match IIsdbDataContentDescriptor_Impl::GetEntryComponent(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11128,7 +11128,7 @@ impl IIsdbDataContentDescriptor_Vtbl { let this = (*this).get_impl(); match IIsdbDataContentDescriptor_Impl::GetSelectorLength(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11139,7 +11139,7 @@ impl IIsdbDataContentDescriptor_Vtbl { let this = (*this).get_impl(); match IIsdbDataContentDescriptor_Impl::GetSelectorBytes(this, core::mem::transmute_copy(&bbuflength)) { Ok(ok__) => { - core::ptr::write(pbbuf, core::mem::transmute(ok__)); + pbbuf.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11150,7 +11150,7 @@ impl IIsdbDataContentDescriptor_Vtbl { let this = (*this).get_impl(); match IIsdbDataContentDescriptor_Impl::GetCountOfRecords(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11161,7 +11161,7 @@ impl IIsdbDataContentDescriptor_Vtbl { let this = (*this).get_impl(); match IIsdbDataContentDescriptor_Impl::GetRecordComponentRef(this, core::mem::transmute_copy(&brecordindex)) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11177,7 +11177,7 @@ impl IIsdbDataContentDescriptor_Vtbl { let this = (*this).get_impl(); match IIsdbDataContentDescriptor_Impl::GetTextW(this, core::mem::transmute_copy(&convmode)) { Ok(ok__) => { - core::ptr::write(pbstrtext, core::mem::transmute(ok__)); + pbstrtext.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11216,7 +11216,7 @@ impl IIsdbDigitalCopyControlDescriptor_Vtbl { let this = (*this).get_impl(); match IIsdbDigitalCopyControlDescriptor_Impl::GetTag(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11227,7 +11227,7 @@ impl IIsdbDigitalCopyControlDescriptor_Vtbl { let this = (*this).get_impl(); match IIsdbDigitalCopyControlDescriptor_Impl::GetLength(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11243,7 +11243,7 @@ impl IIsdbDigitalCopyControlDescriptor_Vtbl { let this = (*this).get_impl(); match IIsdbDigitalCopyControlDescriptor_Impl::GetCountOfRecords(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11294,7 +11294,7 @@ impl IIsdbDownloadContentDescriptor_Vtbl { let this = (*this).get_impl(); match IIsdbDownloadContentDescriptor_Impl::GetTag(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11305,7 +11305,7 @@ impl IIsdbDownloadContentDescriptor_Vtbl { let this = (*this).get_impl(); match IIsdbDownloadContentDescriptor_Impl::GetLength(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11321,7 +11321,7 @@ impl IIsdbDownloadContentDescriptor_Vtbl { let this = (*this).get_impl(); match IIsdbDownloadContentDescriptor_Impl::GetComponentSize(this) { Ok(ok__) => { - core::ptr::write(pdwval, core::mem::transmute(ok__)); + pdwval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11332,7 +11332,7 @@ impl IIsdbDownloadContentDescriptor_Vtbl { let this = (*this).get_impl(); match IIsdbDownloadContentDescriptor_Impl::GetDownloadId(this) { Ok(ok__) => { - core::ptr::write(pdwval, core::mem::transmute(ok__)); + pdwval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11343,7 +11343,7 @@ impl IIsdbDownloadContentDescriptor_Vtbl { let this = (*this).get_impl(); match IIsdbDownloadContentDescriptor_Impl::GetTimeOutValueDII(this) { Ok(ok__) => { - core::ptr::write(pdwval, core::mem::transmute(ok__)); + pdwval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11354,7 +11354,7 @@ impl IIsdbDownloadContentDescriptor_Vtbl { let this = (*this).get_impl(); match IIsdbDownloadContentDescriptor_Impl::GetLeakRate(this) { Ok(ok__) => { - core::ptr::write(pdwval, core::mem::transmute(ok__)); + pdwval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11365,7 +11365,7 @@ impl IIsdbDownloadContentDescriptor_Vtbl { let this = (*this).get_impl(); match IIsdbDownloadContentDescriptor_Impl::GetComponentTag(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11376,7 +11376,7 @@ impl IIsdbDownloadContentDescriptor_Vtbl { let this = (*this).get_impl(); match IIsdbDownloadContentDescriptor_Impl::GetCompatiblityDescriptorLength(this) { Ok(ok__) => { - core::ptr::write(pwlength, core::mem::transmute(ok__)); + pwlength.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11387,7 +11387,7 @@ impl IIsdbDownloadContentDescriptor_Vtbl { let this = (*this).get_impl(); match IIsdbDownloadContentDescriptor_Impl::GetCompatiblityDescriptor(this) { Ok(ok__) => { - core::ptr::write(ppbdata, core::mem::transmute(ok__)); + ppbdata.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11398,7 +11398,7 @@ impl IIsdbDownloadContentDescriptor_Vtbl { let this = (*this).get_impl(); match IIsdbDownloadContentDescriptor_Impl::GetCountOfRecords(this) { Ok(ok__) => { - core::ptr::write(pwval, core::mem::transmute(ok__)); + pwval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11409,7 +11409,7 @@ impl IIsdbDownloadContentDescriptor_Vtbl { let this = (*this).get_impl(); match IIsdbDownloadContentDescriptor_Impl::GetRecordModuleId(this, core::mem::transmute_copy(&wrecordindex)) { Ok(ok__) => { - core::ptr::write(pwval, core::mem::transmute(ok__)); + pwval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11420,7 +11420,7 @@ impl IIsdbDownloadContentDescriptor_Vtbl { let this = (*this).get_impl(); match IIsdbDownloadContentDescriptor_Impl::GetRecordModuleSize(this, core::mem::transmute_copy(&wrecordindex)) { Ok(ok__) => { - core::ptr::write(pdwval, core::mem::transmute(ok__)); + pdwval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11431,7 +11431,7 @@ impl IIsdbDownloadContentDescriptor_Vtbl { let this = (*this).get_impl(); match IIsdbDownloadContentDescriptor_Impl::GetRecordModuleInfoLength(this, core::mem::transmute_copy(&wrecordindex)) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11442,7 +11442,7 @@ impl IIsdbDownloadContentDescriptor_Vtbl { let this = (*this).get_impl(); match IIsdbDownloadContentDescriptor_Impl::GetRecordModuleInfo(this, core::mem::transmute_copy(&wrecordindex)) { Ok(ok__) => { - core::ptr::write(ppbdata, core::mem::transmute(ok__)); + ppbdata.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11458,7 +11458,7 @@ impl IIsdbDownloadContentDescriptor_Vtbl { let this = (*this).get_impl(); match IIsdbDownloadContentDescriptor_Impl::GetTextW(this, core::mem::transmute_copy(&convmode)) { Ok(ok__) => { - core::ptr::write(pbstrname, core::mem::transmute(ok__)); + pbstrname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11506,7 +11506,7 @@ impl IIsdbEmergencyInformationDescriptor_Vtbl { let this = (*this).get_impl(); match IIsdbEmergencyInformationDescriptor_Impl::GetTag(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11517,7 +11517,7 @@ impl IIsdbEmergencyInformationDescriptor_Vtbl { let this = (*this).get_impl(); match IIsdbEmergencyInformationDescriptor_Impl::GetLength(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11528,7 +11528,7 @@ impl IIsdbEmergencyInformationDescriptor_Vtbl { let this = (*this).get_impl(); match IIsdbEmergencyInformationDescriptor_Impl::GetCountOfRecords(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11539,7 +11539,7 @@ impl IIsdbEmergencyInformationDescriptor_Vtbl { let this = (*this).get_impl(); match IIsdbEmergencyInformationDescriptor_Impl::GetServiceId(this, core::mem::transmute_copy(&brecordindex)) { Ok(ok__) => { - core::ptr::write(pwval, core::mem::transmute(ok__)); + pwval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11550,7 +11550,7 @@ impl IIsdbEmergencyInformationDescriptor_Vtbl { let this = (*this).get_impl(); match IIsdbEmergencyInformationDescriptor_Impl::GetStartEndFlag(this, core::mem::transmute_copy(&brecordindex)) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11561,7 +11561,7 @@ impl IIsdbEmergencyInformationDescriptor_Vtbl { let this = (*this).get_impl(); match IIsdbEmergencyInformationDescriptor_Impl::GetSignalLevel(this, core::mem::transmute_copy(&brecordindex)) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11604,7 +11604,7 @@ impl IIsdbEventGroupDescriptor_Vtbl { let this = (*this).get_impl(); match IIsdbEventGroupDescriptor_Impl::GetTag(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11615,7 +11615,7 @@ impl IIsdbEventGroupDescriptor_Vtbl { let this = (*this).get_impl(); match IIsdbEventGroupDescriptor_Impl::GetLength(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11626,7 +11626,7 @@ impl IIsdbEventGroupDescriptor_Vtbl { let this = (*this).get_impl(); match IIsdbEventGroupDescriptor_Impl::GetGroupType(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11637,7 +11637,7 @@ impl IIsdbEventGroupDescriptor_Vtbl { let this = (*this).get_impl(); match IIsdbEventGroupDescriptor_Impl::GetCountOfRecords(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11653,7 +11653,7 @@ impl IIsdbEventGroupDescriptor_Vtbl { let this = (*this).get_impl(); match IIsdbEventGroupDescriptor_Impl::GetCountOfRefRecords(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11695,7 +11695,7 @@ impl IIsdbHierarchicalTransmissionDescriptor_Vtbl { let this = (*this).get_impl(); match IIsdbHierarchicalTransmissionDescriptor_Impl::GetTag(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11706,7 +11706,7 @@ impl IIsdbHierarchicalTransmissionDescriptor_Vtbl { let this = (*this).get_impl(); match IIsdbHierarchicalTransmissionDescriptor_Impl::GetLength(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11717,7 +11717,7 @@ impl IIsdbHierarchicalTransmissionDescriptor_Vtbl { let this = (*this).get_impl(); match IIsdbHierarchicalTransmissionDescriptor_Impl::GetFutureUse1(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11728,7 +11728,7 @@ impl IIsdbHierarchicalTransmissionDescriptor_Vtbl { let this = (*this).get_impl(); match IIsdbHierarchicalTransmissionDescriptor_Impl::GetQualityLevel(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11739,7 +11739,7 @@ impl IIsdbHierarchicalTransmissionDescriptor_Vtbl { let this = (*this).get_impl(); match IIsdbHierarchicalTransmissionDescriptor_Impl::GetFutureUse2(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11750,7 +11750,7 @@ impl IIsdbHierarchicalTransmissionDescriptor_Vtbl { let this = (*this).get_impl(); match IIsdbHierarchicalTransmissionDescriptor_Impl::GetReferencePid(this) { Ok(ok__) => { - core::ptr::write(pwval, core::mem::transmute(ok__)); + pwval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11787,7 +11787,7 @@ impl IIsdbLogoTransmissionDescriptor_Vtbl { let this = (*this).get_impl(); match IIsdbLogoTransmissionDescriptor_Impl::GetTag(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11798,7 +11798,7 @@ impl IIsdbLogoTransmissionDescriptor_Vtbl { let this = (*this).get_impl(); match IIsdbLogoTransmissionDescriptor_Impl::GetLength(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11809,7 +11809,7 @@ impl IIsdbLogoTransmissionDescriptor_Vtbl { let this = (*this).get_impl(); match IIsdbLogoTransmissionDescriptor_Impl::GetLogoTransmissionType(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11820,7 +11820,7 @@ impl IIsdbLogoTransmissionDescriptor_Vtbl { let this = (*this).get_impl(); match IIsdbLogoTransmissionDescriptor_Impl::GetLogoId(this) { Ok(ok__) => { - core::ptr::write(pwval, core::mem::transmute(ok__)); + pwval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11831,7 +11831,7 @@ impl IIsdbLogoTransmissionDescriptor_Vtbl { let this = (*this).get_impl(); match IIsdbLogoTransmissionDescriptor_Impl::GetLogoVersion(this) { Ok(ok__) => { - core::ptr::write(pwval, core::mem::transmute(ok__)); + pwval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11842,7 +11842,7 @@ impl IIsdbLogoTransmissionDescriptor_Vtbl { let this = (*this).get_impl(); match IIsdbLogoTransmissionDescriptor_Impl::GetDownloadDataId(this) { Ok(ok__) => { - core::ptr::write(pwval, core::mem::transmute(ok__)); + pwval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11853,7 +11853,7 @@ impl IIsdbLogoTransmissionDescriptor_Vtbl { let this = (*this).get_impl(); match IIsdbLogoTransmissionDescriptor_Impl::GetLogoCharW(this, core::mem::transmute_copy(&convmode)) { Ok(ok__) => { - core::ptr::write(pbstrchar, core::mem::transmute(ok__)); + pbstrchar.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11892,7 +11892,7 @@ impl IIsdbSIParameterDescriptor_Vtbl { let this = (*this).get_impl(); match IIsdbSIParameterDescriptor_Impl::GetTag(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11903,7 +11903,7 @@ impl IIsdbSIParameterDescriptor_Vtbl { let this = (*this).get_impl(); match IIsdbSIParameterDescriptor_Impl::GetLength(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11914,7 +11914,7 @@ impl IIsdbSIParameterDescriptor_Vtbl { let this = (*this).get_impl(); match IIsdbSIParameterDescriptor_Impl::GetParameterVersion(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11925,7 +11925,7 @@ impl IIsdbSIParameterDescriptor_Vtbl { let this = (*this).get_impl(); match IIsdbSIParameterDescriptor_Impl::GetUpdateTime(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11936,7 +11936,7 @@ impl IIsdbSIParameterDescriptor_Vtbl { let this = (*this).get_impl(); match IIsdbSIParameterDescriptor_Impl::GetRecordNumberOfTable(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11947,7 +11947,7 @@ impl IIsdbSIParameterDescriptor_Vtbl { let this = (*this).get_impl(); match IIsdbSIParameterDescriptor_Impl::GetTableId(this, core::mem::transmute_copy(&brecordindex)) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11958,7 +11958,7 @@ impl IIsdbSIParameterDescriptor_Vtbl { let this = (*this).get_impl(); match IIsdbSIParameterDescriptor_Impl::GetTableDescriptionLength(this, core::mem::transmute_copy(&brecordindex)) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12004,7 +12004,7 @@ impl IIsdbSeriesDescriptor_Vtbl { let this = (*this).get_impl(); match IIsdbSeriesDescriptor_Impl::GetTag(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12015,7 +12015,7 @@ impl IIsdbSeriesDescriptor_Vtbl { let this = (*this).get_impl(); match IIsdbSeriesDescriptor_Impl::GetLength(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12026,7 +12026,7 @@ impl IIsdbSeriesDescriptor_Vtbl { let this = (*this).get_impl(); match IIsdbSeriesDescriptor_Impl::GetSeriesId(this) { Ok(ok__) => { - core::ptr::write(pwval, core::mem::transmute(ok__)); + pwval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12037,7 +12037,7 @@ impl IIsdbSeriesDescriptor_Vtbl { let this = (*this).get_impl(); match IIsdbSeriesDescriptor_Impl::GetRepeatLabel(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12048,7 +12048,7 @@ impl IIsdbSeriesDescriptor_Vtbl { let this = (*this).get_impl(); match IIsdbSeriesDescriptor_Impl::GetProgramPattern(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12064,7 +12064,7 @@ impl IIsdbSeriesDescriptor_Vtbl { let this = (*this).get_impl(); match IIsdbSeriesDescriptor_Impl::GetEpisodeNumber(this) { Ok(ok__) => { - core::ptr::write(pwval, core::mem::transmute(ok__)); + pwval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12075,7 +12075,7 @@ impl IIsdbSeriesDescriptor_Vtbl { let this = (*this).get_impl(); match IIsdbSeriesDescriptor_Impl::GetLastEpisodeNumber(this) { Ok(ok__) => { - core::ptr::write(pwval, core::mem::transmute(ok__)); + pwval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12086,7 +12086,7 @@ impl IIsdbSeriesDescriptor_Vtbl { let this = (*this).get_impl(); match IIsdbSeriesDescriptor_Impl::GetSeriesNameW(this, core::mem::transmute_copy(&convmode)) { Ok(ok__) => { - core::ptr::write(pbstrname, core::mem::transmute(ok__)); + pbstrname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12126,7 +12126,7 @@ impl IIsdbSiParser2_Vtbl { let this = (*this).get_impl(); match IIsdbSiParser2_Impl::GetSDT(this, core::mem::transmute_copy(&tableid), core::mem::transmute_copy(&pwtransportstreamid)) { Ok(ok__) => { - core::ptr::write(ppsdt, core::mem::transmute(ok__)); + ppsdt.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12137,7 +12137,7 @@ impl IIsdbSiParser2_Vtbl { let this = (*this).get_impl(); match IIsdbSiParser2_Impl::GetBIT(this, core::mem::transmute_copy(&tableid), core::mem::transmute_copy(&pworiginalnetworkid)) { Ok(ok__) => { - core::ptr::write(ppbit, core::mem::transmute(ok__)); + ppbit.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12148,7 +12148,7 @@ impl IIsdbSiParser2_Vtbl { let this = (*this).get_impl(); match IIsdbSiParser2_Impl::GetNBIT(this, core::mem::transmute_copy(&tableid), core::mem::transmute_copy(&pworiginalnetworkid)) { Ok(ok__) => { - core::ptr::write(ppnbit, core::mem::transmute(ok__)); + ppnbit.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12159,7 +12159,7 @@ impl IIsdbSiParser2_Vtbl { let this = (*this).get_impl(); match IIsdbSiParser2_Impl::GetLDT(this, core::mem::transmute_copy(&tableid), core::mem::transmute_copy(&pworiginalserviceid)) { Ok(ok__) => { - core::ptr::write(ppldt, core::mem::transmute(ok__)); + ppldt.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12170,7 +12170,7 @@ impl IIsdbSiParser2_Vtbl { let this = (*this).get_impl(); match IIsdbSiParser2_Impl::GetSDTT(this, core::mem::transmute_copy(&tableid), core::mem::transmute_copy(&pwtableidext)) { Ok(ok__) => { - core::ptr::write(ppsdtt, core::mem::transmute(ok__)); + ppsdtt.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12181,7 +12181,7 @@ impl IIsdbSiParser2_Vtbl { let this = (*this).get_impl(); match IIsdbSiParser2_Impl::GetCDT(this, core::mem::transmute_copy(&tableid), core::mem::transmute_copy(&bsectionnumber), core::mem::transmute_copy(&pwdownloaddataid)) { Ok(ok__) => { - core::ptr::write(ppcdt, core::mem::transmute(ok__)); + ppcdt.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12192,7 +12192,7 @@ impl IIsdbSiParser2_Vtbl { let this = (*this).get_impl(); match IIsdbSiParser2_Impl::GetEMM(this, core::mem::transmute_copy(&pid), core::mem::transmute_copy(&wtableidext)) { Ok(ok__) => { - core::ptr::write(ppemm, core::mem::transmute(ok__)); + ppemm.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12231,7 +12231,7 @@ impl IIsdbTSInformationDescriptor_Vtbl { let this = (*this).get_impl(); match IIsdbTSInformationDescriptor_Impl::GetTag(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12242,7 +12242,7 @@ impl IIsdbTSInformationDescriptor_Vtbl { let this = (*this).get_impl(); match IIsdbTSInformationDescriptor_Impl::GetLength(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12253,7 +12253,7 @@ impl IIsdbTSInformationDescriptor_Vtbl { let this = (*this).get_impl(); match IIsdbTSInformationDescriptor_Impl::GetRemoteControlKeyId(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12264,7 +12264,7 @@ impl IIsdbTSInformationDescriptor_Vtbl { let this = (*this).get_impl(); match IIsdbTSInformationDescriptor_Impl::GetTSNameW(this, core::mem::transmute_copy(&convmode)) { Ok(ok__) => { - core::ptr::write(pbstrname, core::mem::transmute(ok__)); + pbstrname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12275,7 +12275,7 @@ impl IIsdbTSInformationDescriptor_Vtbl { let this = (*this).get_impl(); match IIsdbTSInformationDescriptor_Impl::GetCountOfRecords(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12286,7 +12286,7 @@ impl IIsdbTSInformationDescriptor_Vtbl { let this = (*this).get_impl(); match IIsdbTSInformationDescriptor_Impl::GetRecordTransmissionTypeInfo(this, core::mem::transmute_copy(&brecordindex)) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12297,7 +12297,7 @@ impl IIsdbTSInformationDescriptor_Vtbl { let this = (*this).get_impl(); match IIsdbTSInformationDescriptor_Impl::GetRecordNumberOfServices(this, core::mem::transmute_copy(&brecordindex)) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12308,7 +12308,7 @@ impl IIsdbTSInformationDescriptor_Vtbl { let this = (*this).get_impl(); match IIsdbTSInformationDescriptor_Impl::GetRecordServiceIdByIndex(this, core::mem::transmute_copy(&brecordindex), core::mem::transmute_copy(&bserviceindex)) { Ok(ok__) => { - core::ptr::write(pdwval, core::mem::transmute(ok__)); + pdwval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12347,7 +12347,7 @@ impl IIsdbTerrestrialDeliverySystemDescriptor_Vtbl { let this = (*this).get_impl(); match IIsdbTerrestrialDeliverySystemDescriptor_Impl::GetTag(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12358,7 +12358,7 @@ impl IIsdbTerrestrialDeliverySystemDescriptor_Vtbl { let this = (*this).get_impl(); match IIsdbTerrestrialDeliverySystemDescriptor_Impl::GetLength(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12369,7 +12369,7 @@ impl IIsdbTerrestrialDeliverySystemDescriptor_Vtbl { let this = (*this).get_impl(); match IIsdbTerrestrialDeliverySystemDescriptor_Impl::GetAreaCode(this) { Ok(ok__) => { - core::ptr::write(pwval, core::mem::transmute(ok__)); + pwval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12380,7 +12380,7 @@ impl IIsdbTerrestrialDeliverySystemDescriptor_Vtbl { let this = (*this).get_impl(); match IIsdbTerrestrialDeliverySystemDescriptor_Impl::GetGuardInterval(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12391,7 +12391,7 @@ impl IIsdbTerrestrialDeliverySystemDescriptor_Vtbl { let this = (*this).get_impl(); match IIsdbTerrestrialDeliverySystemDescriptor_Impl::GetTransmissionMode(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12402,7 +12402,7 @@ impl IIsdbTerrestrialDeliverySystemDescriptor_Vtbl { let this = (*this).get_impl(); match IIsdbTerrestrialDeliverySystemDescriptor_Impl::GetCountOfRecords(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12413,7 +12413,7 @@ impl IIsdbTerrestrialDeliverySystemDescriptor_Vtbl { let this = (*this).get_impl(); match IIsdbTerrestrialDeliverySystemDescriptor_Impl::GetRecordFrequency(this, core::mem::transmute_copy(&brecordindex)) { Ok(ok__) => { - core::ptr::write(pdwval, core::mem::transmute(ok__)); + pdwval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12449,7 +12449,7 @@ impl ILanguageComponentType_Vtbl { let this = (*this).get_impl(); match ILanguageComponentType_Impl::LangID(this) { Ok(ok__) => { - core::ptr::write(langid, core::mem::transmute(ok__)); + langid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12498,7 +12498,7 @@ impl ILocator_Vtbl { let this = (*this).get_impl(); match ILocator_Impl::CarrierFrequency(this) { Ok(ok__) => { - core::ptr::write(frequency, core::mem::transmute(ok__)); + frequency.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12514,7 +12514,7 @@ impl ILocator_Vtbl { let this = (*this).get_impl(); match ILocator_Impl::InnerFEC(this) { Ok(ok__) => { - core::ptr::write(fec, core::mem::transmute(ok__)); + fec.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12530,7 +12530,7 @@ impl ILocator_Vtbl { let this = (*this).get_impl(); match ILocator_Impl::InnerFECRate(this) { Ok(ok__) => { - core::ptr::write(fec, core::mem::transmute(ok__)); + fec.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12546,7 +12546,7 @@ impl ILocator_Vtbl { let this = (*this).get_impl(); match ILocator_Impl::OuterFEC(this) { Ok(ok__) => { - core::ptr::write(fec, core::mem::transmute(ok__)); + fec.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12562,7 +12562,7 @@ impl ILocator_Vtbl { let this = (*this).get_impl(); match ILocator_Impl::OuterFECRate(this) { Ok(ok__) => { - core::ptr::write(fec, core::mem::transmute(ok__)); + fec.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12578,7 +12578,7 @@ impl ILocator_Vtbl { let this = (*this).get_impl(); match ILocator_Impl::Modulation(this) { Ok(ok__) => { - core::ptr::write(modulation, core::mem::transmute(ok__)); + modulation.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12594,7 +12594,7 @@ impl ILocator_Vtbl { let this = (*this).get_impl(); match ILocator_Impl::SymbolRate(this) { Ok(ok__) => { - core::ptr::write(rate, core::mem::transmute(ok__)); + rate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12610,7 +12610,7 @@ impl ILocator_Vtbl { let this = (*this).get_impl(); match ILocator_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(newlocator, core::mem::transmute(ok__)); + newlocator.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12658,7 +12658,7 @@ impl IMPEG2Component_Vtbl { let this = (*this).get_impl(); match IMPEG2Component_Impl::PID(this) { Ok(ok__) => { - core::ptr::write(pid, core::mem::transmute(ok__)); + pid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12674,7 +12674,7 @@ impl IMPEG2Component_Vtbl { let this = (*this).get_impl(); match IMPEG2Component_Impl::PCRPID(this) { Ok(ok__) => { - core::ptr::write(pcrpid, core::mem::transmute(ok__)); + pcrpid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12690,7 +12690,7 @@ impl IMPEG2Component_Vtbl { let this = (*this).get_impl(); match IMPEG2Component_Impl::ProgramNumber(this) { Ok(ok__) => { - core::ptr::write(programnumber, core::mem::transmute(ok__)); + programnumber.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12730,7 +12730,7 @@ impl IMPEG2ComponentType_Vtbl { let this = (*this).get_impl(); match IMPEG2ComponentType_Impl::StreamType(this) { Ok(ok__) => { - core::ptr::write(mp2streamtype, core::mem::transmute(ok__)); + mp2streamtype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12768,7 +12768,7 @@ impl IMPEG2TuneRequest_Vtbl { let this = (*this).get_impl(); match IMPEG2TuneRequest_Impl::TSID(this) { Ok(ok__) => { - core::ptr::write(tsid, core::mem::transmute(ok__)); + tsid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12784,7 +12784,7 @@ impl IMPEG2TuneRequest_Vtbl { let this = (*this).get_impl(); match IMPEG2TuneRequest_Impl::ProgNo(this) { Ok(ok__) => { - core::ptr::write(progno, core::mem::transmute(ok__)); + progno.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12821,7 +12821,7 @@ impl IMPEG2TuneRequestFactory_Vtbl { let this = (*this).get_impl(); match IMPEG2TuneRequestFactory_Impl::CreateTuneRequest(this, windows_core::from_raw_borrowed(&tuningspace)) { Ok(ok__) => { - core::ptr::write(tunerequest, core::mem::transmute(ok__)); + tunerequest.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12882,7 +12882,7 @@ impl IMPEG2_TIF_CONTROL_Vtbl { let this = (*this).get_impl(); match IMPEG2_TIF_CONTROL_Impl::GetPIDCount(this) { Ok(ok__) => { - core::ptr::write(pulcpids, core::mem::transmute(ok__)); + pulcpids.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12922,7 +12922,7 @@ impl IMSEventBinder_Vtbl { let this = (*this).get_impl(); match IMSEventBinder_Impl::Bind(this, windows_core::from_raw_borrowed(&peventobject), core::mem::transmute(&eventname), core::mem::transmute(&eventhandler)) { Ok(ok__) => { - core::ptr::write(cancelid, core::mem::transmute(ok__)); + cancelid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12965,7 +12965,7 @@ impl IMSVidAnalogTuner_Vtbl { let this = (*this).get_impl(); match IMSVidAnalogTuner_Impl::Channel(this) { Ok(ok__) => { - core::ptr::write(channel, core::mem::transmute(ok__)); + channel.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12981,7 +12981,7 @@ impl IMSVidAnalogTuner_Vtbl { let this = (*this).get_impl(); match IMSVidAnalogTuner_Impl::VideoFrequency(this) { Ok(ok__) => { - core::ptr::write(lcc, core::mem::transmute(ok__)); + lcc.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12992,7 +12992,7 @@ impl IMSVidAnalogTuner_Vtbl { let this = (*this).get_impl(); match IMSVidAnalogTuner_Impl::AudioFrequency(this) { Ok(ok__) => { - core::ptr::write(lcc, core::mem::transmute(ok__)); + lcc.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13003,7 +13003,7 @@ impl IMSVidAnalogTuner_Vtbl { let this = (*this).get_impl(); match IMSVidAnalogTuner_Impl::CountryCode(this) { Ok(ok__) => { - core::ptr::write(lcc, core::mem::transmute(ok__)); + lcc.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13019,7 +13019,7 @@ impl IMSVidAnalogTuner_Vtbl { let this = (*this).get_impl(); match IMSVidAnalogTuner_Impl::SAP(this) { Ok(ok__) => { - core::ptr::write(pfsapon, core::mem::transmute(ok__)); + pfsapon.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13035,7 +13035,7 @@ impl IMSVidAnalogTuner_Vtbl { let this = (*this).get_impl(); match IMSVidAnalogTuner_Impl::ChannelAvailable(this, core::mem::transmute_copy(&nchannel), core::mem::transmute_copy(&signalstrength)) { Ok(ok__) => { - core::ptr::write(fsignalpresent, core::mem::transmute(ok__)); + fsignalpresent.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13074,7 +13074,7 @@ impl IMSVidAnalogTuner2_Vtbl { let this = (*this).get_impl(); match IMSVidAnalogTuner2_Impl::TVFormats(this) { Ok(ok__) => { - core::ptr::write(formats, core::mem::transmute(ok__)); + formats.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13085,7 +13085,7 @@ impl IMSVidAnalogTuner2_Vtbl { let this = (*this).get_impl(); match IMSVidAnalogTuner2_Impl::TunerModes(this) { Ok(ok__) => { - core::ptr::write(modes, core::mem::transmute(ok__)); + modes.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13096,7 +13096,7 @@ impl IMSVidAnalogTuner2_Vtbl { let this = (*this).get_impl(); match IMSVidAnalogTuner2_Impl::NumAuxInputs(this) { Ok(ok__) => { - core::ptr::write(inputs, core::mem::transmute(ok__)); + inputs.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13148,7 +13148,7 @@ impl IMSVidAudioRenderer_Vtbl { let this = (*this).get_impl(); match IMSVidAudioRenderer_Impl::Volume(this) { Ok(ok__) => { - core::ptr::write(lvol, core::mem::transmute(ok__)); + lvol.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13164,7 +13164,7 @@ impl IMSVidAudioRenderer_Vtbl { let this = (*this).get_impl(); match IMSVidAudioRenderer_Impl::Balance(this) { Ok(ok__) => { - core::ptr::write(lbal, core::mem::transmute(ok__)); + lbal.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13200,7 +13200,7 @@ impl IMSVidAudioRendererDevices_Vtbl { let this = (*this).get_impl(); match IMSVidAudioRendererDevices_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(lcount, core::mem::transmute(ok__)); + lcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13211,7 +13211,7 @@ impl IMSVidAudioRendererDevices_Vtbl { let this = (*this).get_impl(); match IMSVidAudioRendererDevices_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(pd, core::mem::transmute(ok__)); + pd.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13222,7 +13222,7 @@ impl IMSVidAudioRendererDevices_Vtbl { let this = (*this).get_impl(); match IMSVidAudioRendererDevices_Impl::get_Item(this, core::mem::transmute(&v)) { Ok(ok__) => { - core::ptr::write(pdb, core::mem::transmute(ok__)); + pdb.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13351,7 +13351,7 @@ impl IMSVidClosedCaptioning_Vtbl { let this = (*this).get_impl(); match IMSVidClosedCaptioning_Impl::Enable(this) { Ok(ok__) => { - core::ptr::write(on, core::mem::transmute(ok__)); + on.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13387,7 +13387,7 @@ impl IMSVidClosedCaptioning2_Vtbl { let this = (*this).get_impl(); match IMSVidClosedCaptioning2_Impl::Service(this) { Ok(ok__) => { - core::ptr::write(on, core::mem::transmute(ok__)); + on.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13422,7 +13422,7 @@ impl IMSVidClosedCaptioning3_Vtbl { let this = (*this).get_impl(); match IMSVidClosedCaptioning3_Impl::TeleTextFilter(this) { Ok(ok__) => { - core::ptr::write(punkttfilter, core::mem::transmute(ok__)); + punkttfilter.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13455,7 +13455,7 @@ impl IMSVidCompositionSegment_Vtbl { let this = (*this).get_impl(); match IMSVidCompositionSegment_Impl::Up(this) { Ok(ok__) => { - core::ptr::write(upstream, core::mem::transmute(ok__)); + upstream.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13466,7 +13466,7 @@ impl IMSVidCompositionSegment_Vtbl { let this = (*this).get_impl(); match IMSVidCompositionSegment_Impl::Down(this) { Ok(ok__) => { - core::ptr::write(downstream, core::mem::transmute(ok__)); + downstream.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13539,7 +13539,7 @@ impl IMSVidCtl_Vtbl { let this = (*this).get_impl(); match IMSVidCtl_Impl::AutoSize(this) { Ok(ok__) => { - core::ptr::write(pbool, core::mem::transmute(ok__)); + pbool.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13555,7 +13555,7 @@ impl IMSVidCtl_Vtbl { let this = (*this).get_impl(); match IMSVidCtl_Impl::BackColor(this) { Ok(ok__) => { - core::ptr::write(backcolor, core::mem::transmute(ok__)); + backcolor.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13571,7 +13571,7 @@ impl IMSVidCtl_Vtbl { let this = (*this).get_impl(); match IMSVidCtl_Impl::Enabled(this) { Ok(ok__) => { - core::ptr::write(pbool, core::mem::transmute(ok__)); + pbool.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13587,7 +13587,7 @@ impl IMSVidCtl_Vtbl { let this = (*this).get_impl(); match IMSVidCtl_Impl::TabStop(this) { Ok(ok__) => { - core::ptr::write(pbool, core::mem::transmute(ok__)); + pbool.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13603,7 +13603,7 @@ impl IMSVidCtl_Vtbl { let this = (*this).get_impl(); match IMSVidCtl_Impl::Window(this) { Ok(ok__) => { - core::ptr::write(phwnd, core::mem::transmute(ok__)); + phwnd.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13619,7 +13619,7 @@ impl IMSVidCtl_Vtbl { let this = (*this).get_impl(); match IMSVidCtl_Impl::DisplaySize(this) { Ok(ok__) => { - core::ptr::write(currentvalue, core::mem::transmute(ok__)); + currentvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13635,7 +13635,7 @@ impl IMSVidCtl_Vtbl { let this = (*this).get_impl(); match IMSVidCtl_Impl::MaintainAspectRatio(this) { Ok(ok__) => { - core::ptr::write(currentvalue, core::mem::transmute(ok__)); + currentvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13651,7 +13651,7 @@ impl IMSVidCtl_Vtbl { let this = (*this).get_impl(); match IMSVidCtl_Impl::ColorKey(this) { Ok(ok__) => { - core::ptr::write(currentvalue, core::mem::transmute(ok__)); + currentvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13667,7 +13667,7 @@ impl IMSVidCtl_Vtbl { let this = (*this).get_impl(); match IMSVidCtl_Impl::get_InputsAvailable(this, core::mem::transmute(&categoryguid)) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13678,7 +13678,7 @@ impl IMSVidCtl_Vtbl { let this = (*this).get_impl(); match IMSVidCtl_Impl::get_OutputsAvailable(this, core::mem::transmute(&categoryguid)) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13689,7 +13689,7 @@ impl IMSVidCtl_Vtbl { let this = (*this).get_impl(); match IMSVidCtl_Impl::get__InputsAvailable(this, core::mem::transmute_copy(&categoryguid)) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13700,7 +13700,7 @@ impl IMSVidCtl_Vtbl { let this = (*this).get_impl(); match IMSVidCtl_Impl::get__OutputsAvailable(this, core::mem::transmute_copy(&categoryguid)) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13711,7 +13711,7 @@ impl IMSVidCtl_Vtbl { let this = (*this).get_impl(); match IMSVidCtl_Impl::VideoRenderersAvailable(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13722,7 +13722,7 @@ impl IMSVidCtl_Vtbl { let this = (*this).get_impl(); match IMSVidCtl_Impl::AudioRenderersAvailable(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13733,7 +13733,7 @@ impl IMSVidCtl_Vtbl { let this = (*this).get_impl(); match IMSVidCtl_Impl::FeaturesAvailable(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13744,7 +13744,7 @@ impl IMSVidCtl_Vtbl { let this = (*this).get_impl(); match IMSVidCtl_Impl::InputActive(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13760,7 +13760,7 @@ impl IMSVidCtl_Vtbl { let this = (*this).get_impl(); match IMSVidCtl_Impl::OutputsActive(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13776,7 +13776,7 @@ impl IMSVidCtl_Vtbl { let this = (*this).get_impl(); match IMSVidCtl_Impl::VideoRendererActive(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13792,7 +13792,7 @@ impl IMSVidCtl_Vtbl { let this = (*this).get_impl(); match IMSVidCtl_Impl::AudioRendererActive(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13808,7 +13808,7 @@ impl IMSVidCtl_Vtbl { let this = (*this).get_impl(); match IMSVidCtl_Impl::FeaturesActive(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13824,7 +13824,7 @@ impl IMSVidCtl_Vtbl { let this = (*this).get_impl(); match IMSVidCtl_Impl::State(this) { Ok(ok__) => { - core::ptr::write(lstate, core::mem::transmute(ok__)); + lstate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13974,7 +13974,7 @@ impl IMSVidDevice_Vtbl { let this = (*this).get_impl(); match IMSVidDevice_Impl::Name(this) { Ok(ok__) => { - core::ptr::write(name, core::mem::transmute(ok__)); + name.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13985,7 +13985,7 @@ impl IMSVidDevice_Vtbl { let this = (*this).get_impl(); match IMSVidDevice_Impl::Status(this) { Ok(ok__) => { - core::ptr::write(status, core::mem::transmute(ok__)); + status.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -14001,7 +14001,7 @@ impl IMSVidDevice_Vtbl { let this = (*this).get_impl(); match IMSVidDevice_Impl::Power(this) { Ok(ok__) => { - core::ptr::write(power, core::mem::transmute(ok__)); + power.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -14012,7 +14012,7 @@ impl IMSVidDevice_Vtbl { let this = (*this).get_impl(); match IMSVidDevice_Impl::Category(this) { Ok(ok__) => { - core::ptr::write(guid, core::mem::transmute(ok__)); + guid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -14023,7 +14023,7 @@ impl IMSVidDevice_Vtbl { let this = (*this).get_impl(); match IMSVidDevice_Impl::ClassID(this) { Ok(ok__) => { - core::ptr::write(clsid, core::mem::transmute(ok__)); + clsid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -14034,7 +14034,7 @@ impl IMSVidDevice_Vtbl { let this = (*this).get_impl(); match IMSVidDevice_Impl::_Category(this) { Ok(ok__) => { - core::ptr::write(guid, core::mem::transmute(ok__)); + guid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -14045,7 +14045,7 @@ impl IMSVidDevice_Vtbl { let this = (*this).get_impl(); match IMSVidDevice_Impl::_ClassID(this) { Ok(ok__) => { - core::ptr::write(clsid, core::mem::transmute(ok__)); + clsid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -14056,7 +14056,7 @@ impl IMSVidDevice_Vtbl { let this = (*this).get_impl(); match IMSVidDevice_Impl::IsEqualDevice(this, windows_core::from_raw_borrowed(&device)) { Ok(ok__) => { - core::ptr::write(isequal, core::mem::transmute(ok__)); + isequal.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -14090,7 +14090,7 @@ impl IMSVidDevice2_Vtbl { let this = (*this).get_impl(); match IMSVidDevice2_Impl::DevicePath(this) { Ok(ok__) => { - core::ptr::write(devpath, core::mem::transmute(ok__)); + devpath.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -14139,7 +14139,7 @@ impl IMSVidEVR_Vtbl { let this = (*this).get_impl(); match IMSVidEVR_Impl::Presenter(this) { Ok(ok__) => { - core::ptr::write(ppallocpresent, core::mem::transmute(ok__)); + ppallocpresent.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -14160,7 +14160,7 @@ impl IMSVidEVR_Vtbl { let this = (*this).get_impl(); match IMSVidEVR_Impl::SuppressEffects(this) { Ok(ok__) => { - core::ptr::write(bsuppress, core::mem::transmute(ok__)); + bsuppress.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -14213,7 +14213,7 @@ impl IMSVidEncoder_Vtbl { let this = (*this).get_impl(); match IMSVidEncoder_Impl::VideoEncoderInterface(this) { Ok(ok__) => { - core::ptr::write(ppencint, core::mem::transmute(ok__)); + ppencint.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -14224,7 +14224,7 @@ impl IMSVidEncoder_Vtbl { let this = (*this).get_impl(); match IMSVidEncoder_Impl::AudioEncoderInterface(this) { Ok(ok__) => { - core::ptr::write(ppencint, core::mem::transmute(ok__)); + ppencint.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -14284,7 +14284,7 @@ impl IMSVidFeatures_Vtbl { let this = (*this).get_impl(); match IMSVidFeatures_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(lcount, core::mem::transmute(ok__)); + lcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -14295,7 +14295,7 @@ impl IMSVidFeatures_Vtbl { let this = (*this).get_impl(); match IMSVidFeatures_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(pd, core::mem::transmute(ok__)); + pd.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -14306,7 +14306,7 @@ impl IMSVidFeatures_Vtbl { let this = (*this).get_impl(); match IMSVidFeatures_Impl::get_Item(this, core::mem::transmute(&v)) { Ok(ok__) => { - core::ptr::write(pdb, core::mem::transmute(ok__)); + pdb.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -14350,7 +14350,7 @@ impl IMSVidFilePlayback_Vtbl { let this = (*this).get_impl(); match IMSVidFilePlayback_Impl::FileName(this) { Ok(ok__) => { - core::ptr::write(filename, core::mem::transmute(ok__)); + filename.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -14435,7 +14435,7 @@ impl IMSVidGenericSink_Vtbl { let this = (*this).get_impl(); match IMSVidGenericSink_Impl::SinkStreams(this) { Ok(ok__) => { - core::ptr::write(pstreams, core::mem::transmute(ok__)); + pstreams.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -14515,7 +14515,7 @@ impl IMSVidGraphSegment_Vtbl { let this = (*this).get_impl(); match IMSVidGraphSegment_Impl::Init(this) { Ok(ok__) => { - core::ptr::write(pinit, core::mem::transmute(ok__)); + pinit.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -14531,7 +14531,7 @@ impl IMSVidGraphSegment_Vtbl { let this = (*this).get_impl(); match IMSVidGraphSegment_Impl::EnumFilters(this) { Ok(ok__) => { - core::ptr::write(pnewenum, core::mem::transmute(ok__)); + pnewenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -14542,7 +14542,7 @@ impl IMSVidGraphSegment_Vtbl { let this = (*this).get_impl(); match IMSVidGraphSegment_Impl::Container(this) { Ok(ok__) => { - core::ptr::write(ppctl, core::mem::transmute(ok__)); + ppctl.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -14558,7 +14558,7 @@ impl IMSVidGraphSegment_Vtbl { let this = (*this).get_impl(); match IMSVidGraphSegment_Impl::Type(this) { Ok(ok__) => { - core::ptr::write(ptype, core::mem::transmute(ok__)); + ptype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -14569,7 +14569,7 @@ impl IMSVidGraphSegment_Vtbl { let this = (*this).get_impl(); match IMSVidGraphSegment_Impl::Category(this) { Ok(ok__) => { - core::ptr::write(pguid, core::mem::transmute(ok__)); + pguid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -14662,7 +14662,7 @@ impl IMSVidGraphSegmentContainer_Vtbl { let this = (*this).get_impl(); match IMSVidGraphSegmentContainer_Impl::Graph(this) { Ok(ok__) => { - core::ptr::write(ppgraph, core::mem::transmute(ok__)); + ppgraph.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -14673,7 +14673,7 @@ impl IMSVidGraphSegmentContainer_Vtbl { let this = (*this).get_impl(); match IMSVidGraphSegmentContainer_Impl::Input(this) { Ok(ok__) => { - core::ptr::write(ppinput, core::mem::transmute(ok__)); + ppinput.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -14684,7 +14684,7 @@ impl IMSVidGraphSegmentContainer_Vtbl { let this = (*this).get_impl(); match IMSVidGraphSegmentContainer_Impl::Outputs(this) { Ok(ok__) => { - core::ptr::write(ppoutputs, core::mem::transmute(ok__)); + ppoutputs.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -14695,7 +14695,7 @@ impl IMSVidGraphSegmentContainer_Vtbl { let this = (*this).get_impl(); match IMSVidGraphSegmentContainer_Impl::VideoRenderer(this) { Ok(ok__) => { - core::ptr::write(ppvr, core::mem::transmute(ok__)); + ppvr.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -14706,7 +14706,7 @@ impl IMSVidGraphSegmentContainer_Vtbl { let this = (*this).get_impl(); match IMSVidGraphSegmentContainer_Impl::AudioRenderer(this) { Ok(ok__) => { - core::ptr::write(ppar, core::mem::transmute(ok__)); + ppar.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -14717,7 +14717,7 @@ impl IMSVidGraphSegmentContainer_Vtbl { let this = (*this).get_impl(); match IMSVidGraphSegmentContainer_Impl::Features(this) { Ok(ok__) => { - core::ptr::write(ppfeatures, core::mem::transmute(ok__)); + ppfeatures.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -14728,7 +14728,7 @@ impl IMSVidGraphSegmentContainer_Vtbl { let this = (*this).get_impl(); match IMSVidGraphSegmentContainer_Impl::Composites(this) { Ok(ok__) => { - core::ptr::write(ppcomposites, core::mem::transmute(ok__)); + ppcomposites.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -14739,7 +14739,7 @@ impl IMSVidGraphSegmentContainer_Vtbl { let this = (*this).get_impl(); match IMSVidGraphSegmentContainer_Impl::ParentContainer(this) { Ok(ok__) => { - core::ptr::write(ppcontainer, core::mem::transmute(ok__)); + ppcontainer.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -14863,7 +14863,7 @@ impl IMSVidInputDevice_Vtbl { let this = (*this).get_impl(); match IMSVidInputDevice_Impl::IsViewable(this, core::mem::transmute_copy(&v)) { Ok(ok__) => { - core::ptr::write(pfviewable, core::mem::transmute(ok__)); + pfviewable.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -14915,7 +14915,7 @@ impl IMSVidInputDevices_Vtbl { let this = (*this).get_impl(); match IMSVidInputDevices_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(lcount, core::mem::transmute(ok__)); + lcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -14926,7 +14926,7 @@ impl IMSVidInputDevices_Vtbl { let this = (*this).get_impl(); match IMSVidInputDevices_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(pd, core::mem::transmute(ok__)); + pd.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -14937,7 +14937,7 @@ impl IMSVidInputDevices_Vtbl { let this = (*this).get_impl(); match IMSVidInputDevices_Impl::get_Item(this, core::mem::transmute(&v)) { Ok(ok__) => { - core::ptr::write(pdb, core::mem::transmute(ok__)); + pdb.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -15010,7 +15010,7 @@ impl IMSVidOutputDevices_Vtbl { let this = (*this).get_impl(); match IMSVidOutputDevices_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(lcount, core::mem::transmute(ok__)); + lcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -15021,7 +15021,7 @@ impl IMSVidOutputDevices_Vtbl { let this = (*this).get_impl(); match IMSVidOutputDevices_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(pd, core::mem::transmute(ok__)); + pd.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -15032,7 +15032,7 @@ impl IMSVidOutputDevices_Vtbl { let this = (*this).get_impl(); match IMSVidOutputDevices_Impl::get_Item(this, core::mem::transmute(&v)) { Ok(ok__) => { - core::ptr::write(pdb, core::mem::transmute(ok__)); + pdb.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -15088,7 +15088,7 @@ impl IMSVidPlayback_Vtbl { let this = (*this).get_impl(); match IMSVidPlayback_Impl::EnableResetOnStop(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -15119,7 +15119,7 @@ impl IMSVidPlayback_Vtbl { let this = (*this).get_impl(); match IMSVidPlayback_Impl::get_CanStep(this, core::mem::transmute_copy(&fbackwards)) { Ok(ok__) => { - core::ptr::write(pfcan, core::mem::transmute(ok__)); + pfcan.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -15140,7 +15140,7 @@ impl IMSVidPlayback_Vtbl { let this = (*this).get_impl(); match IMSVidPlayback_Impl::Rate(this) { Ok(ok__) => { - core::ptr::write(plrate, core::mem::transmute(ok__)); + plrate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -15156,7 +15156,7 @@ impl IMSVidPlayback_Vtbl { let this = (*this).get_impl(); match IMSVidPlayback_Impl::CurrentPosition(this) { Ok(ok__) => { - core::ptr::write(lposition, core::mem::transmute(ok__)); + lposition.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -15172,7 +15172,7 @@ impl IMSVidPlayback_Vtbl { let this = (*this).get_impl(); match IMSVidPlayback_Impl::PositionMode(this) { Ok(ok__) => { - core::ptr::write(lpositionmode, core::mem::transmute(ok__)); + lpositionmode.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -15183,7 +15183,7 @@ impl IMSVidPlayback_Vtbl { let this = (*this).get_impl(); match IMSVidPlayback_Impl::Length(this) { Ok(ok__) => { - core::ptr::write(llength, core::mem::transmute(ok__)); + llength.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -15255,7 +15255,7 @@ impl IMSVidRect_Vtbl { let this = (*this).get_impl(); match IMSVidRect_Impl::Top(this) { Ok(ok__) => { - core::ptr::write(topval, core::mem::transmute(ok__)); + topval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -15271,7 +15271,7 @@ impl IMSVidRect_Vtbl { let this = (*this).get_impl(); match IMSVidRect_Impl::Left(this) { Ok(ok__) => { - core::ptr::write(leftval, core::mem::transmute(ok__)); + leftval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -15287,7 +15287,7 @@ impl IMSVidRect_Vtbl { let this = (*this).get_impl(); match IMSVidRect_Impl::Width(this) { Ok(ok__) => { - core::ptr::write(widthval, core::mem::transmute(ok__)); + widthval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -15303,7 +15303,7 @@ impl IMSVidRect_Vtbl { let this = (*this).get_impl(); match IMSVidRect_Impl::Height(this) { Ok(ok__) => { - core::ptr::write(heightval, core::mem::transmute(ok__)); + heightval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -15319,7 +15319,7 @@ impl IMSVidRect_Vtbl { let this = (*this).get_impl(); match IMSVidRect_Impl::HWnd(this) { Ok(ok__) => { - core::ptr::write(hwndval, core::mem::transmute(ok__)); + hwndval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -15375,7 +15375,7 @@ impl IMSVidStreamBufferRecordingControl_Vtbl { let this = (*this).get_impl(); match IMSVidStreamBufferRecordingControl_Impl::StartTime(this) { Ok(ok__) => { - core::ptr::write(rtstart, core::mem::transmute(ok__)); + rtstart.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -15391,7 +15391,7 @@ impl IMSVidStreamBufferRecordingControl_Vtbl { let this = (*this).get_impl(); match IMSVidStreamBufferRecordingControl_Impl::StopTime(this) { Ok(ok__) => { - core::ptr::write(rtstop, core::mem::transmute(ok__)); + rtstop.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -15407,7 +15407,7 @@ impl IMSVidStreamBufferRecordingControl_Vtbl { let this = (*this).get_impl(); match IMSVidStreamBufferRecordingControl_Impl::RecordingStopped(this) { Ok(ok__) => { - core::ptr::write(phresult, core::mem::transmute(ok__)); + phresult.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -15418,7 +15418,7 @@ impl IMSVidStreamBufferRecordingControl_Vtbl { let this = (*this).get_impl(); match IMSVidStreamBufferRecordingControl_Impl::RecordingStarted(this) { Ok(ok__) => { - core::ptr::write(phresult, core::mem::transmute(ok__)); + phresult.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -15429,7 +15429,7 @@ impl IMSVidStreamBufferRecordingControl_Vtbl { let this = (*this).get_impl(); match IMSVidStreamBufferRecordingControl_Impl::RecordingType(this) { Ok(ok__) => { - core::ptr::write(dwtype, core::mem::transmute(ok__)); + dwtype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -15440,7 +15440,7 @@ impl IMSVidStreamBufferRecordingControl_Vtbl { let this = (*this).get_impl(); match IMSVidStreamBufferRecordingControl_Impl::RecordingAttribute(this) { Ok(ok__) => { - core::ptr::write(precordingattribute, core::mem::transmute(ok__)); + precordingattribute.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -15481,7 +15481,7 @@ impl IMSVidStreamBufferSink_Vtbl { let this = (*this).get_impl(); match IMSVidStreamBufferSink_Impl::get_ContentRecorder(this, core::mem::transmute(&pszfilename)) { Ok(ok__) => { - core::ptr::write(precordingiunknown, core::mem::transmute(ok__)); + precordingiunknown.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -15492,7 +15492,7 @@ impl IMSVidStreamBufferSink_Vtbl { let this = (*this).get_impl(); match IMSVidStreamBufferSink_Impl::get_ReferenceRecorder(this, core::mem::transmute(&pszfilename)) { Ok(ok__) => { - core::ptr::write(precordingiunknown, core::mem::transmute(ok__)); + precordingiunknown.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -15503,7 +15503,7 @@ impl IMSVidStreamBufferSink_Vtbl { let this = (*this).get_impl(); match IMSVidStreamBufferSink_Impl::SinkName(this) { Ok(ok__) => { - core::ptr::write(pname, core::mem::transmute(ok__)); + pname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -15524,7 +15524,7 @@ impl IMSVidStreamBufferSink_Vtbl { let this = (*this).get_impl(); match IMSVidStreamBufferSink_Impl::SBESink(this) { Ok(ok__) => { - core::ptr::write(sbeconfig, core::mem::transmute(ok__)); + sbeconfig.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -15595,7 +15595,7 @@ impl IMSVidStreamBufferSink3_Vtbl { let this = (*this).get_impl(); match IMSVidStreamBufferSink3_Impl::SetMinSeek(this) { Ok(ok__) => { - core::ptr::write(pdwmin, core::mem::transmute(ok__)); + pdwmin.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -15606,7 +15606,7 @@ impl IMSVidStreamBufferSink3_Vtbl { let this = (*this).get_impl(); match IMSVidStreamBufferSink3_Impl::AudioCounter(this) { Ok(ok__) => { - core::ptr::write(ppunk, core::mem::transmute(ok__)); + ppunk.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -15617,7 +15617,7 @@ impl IMSVidStreamBufferSink3_Vtbl { let this = (*this).get_impl(); match IMSVidStreamBufferSink3_Impl::VideoCounter(this) { Ok(ok__) => { - core::ptr::write(ppunk, core::mem::transmute(ok__)); + ppunk.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -15628,7 +15628,7 @@ impl IMSVidStreamBufferSink3_Vtbl { let this = (*this).get_impl(); match IMSVidStreamBufferSink3_Impl::CCCounter(this) { Ok(ok__) => { - core::ptr::write(ppunk, core::mem::transmute(ok__)); + ppunk.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -15639,7 +15639,7 @@ impl IMSVidStreamBufferSink3_Vtbl { let this = (*this).get_impl(); match IMSVidStreamBufferSink3_Impl::WSTCounter(this) { Ok(ok__) => { - core::ptr::write(ppunk, core::mem::transmute(ok__)); + ppunk.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -15655,7 +15655,7 @@ impl IMSVidStreamBufferSink3_Vtbl { let this = (*this).get_impl(); match IMSVidStreamBufferSink3_Impl::AudioAnalysisFilter(this) { Ok(ok__) => { - core::ptr::write(pszclsid, core::mem::transmute(ok__)); + pszclsid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -15671,7 +15671,7 @@ impl IMSVidStreamBufferSink3_Vtbl { let this = (*this).get_impl(); match IMSVidStreamBufferSink3_Impl::_AudioAnalysisFilter(this) { Ok(ok__) => { - core::ptr::write(pguid, core::mem::transmute(ok__)); + pguid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -15687,7 +15687,7 @@ impl IMSVidStreamBufferSink3_Vtbl { let this = (*this).get_impl(); match IMSVidStreamBufferSink3_Impl::VideoAnalysisFilter(this) { Ok(ok__) => { - core::ptr::write(pszclsid, core::mem::transmute(ok__)); + pszclsid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -15703,7 +15703,7 @@ impl IMSVidStreamBufferSink3_Vtbl { let this = (*this).get_impl(); match IMSVidStreamBufferSink3_Impl::_VideoAnalysisFilter(this) { Ok(ok__) => { - core::ptr::write(pguid, core::mem::transmute(ok__)); + pguid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -15719,7 +15719,7 @@ impl IMSVidStreamBufferSink3_Vtbl { let this = (*this).get_impl(); match IMSVidStreamBufferSink3_Impl::DataAnalysisFilter(this) { Ok(ok__) => { - core::ptr::write(pszclsid, core::mem::transmute(ok__)); + pszclsid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -15735,7 +15735,7 @@ impl IMSVidStreamBufferSink3_Vtbl { let this = (*this).get_impl(); match IMSVidStreamBufferSink3_Impl::_DataAnalysisFilter(this) { Ok(ok__) => { - core::ptr::write(pguid, core::mem::transmute(ok__)); + pguid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -15746,7 +15746,7 @@ impl IMSVidStreamBufferSink3_Vtbl { let this = (*this).get_impl(); match IMSVidStreamBufferSink3_Impl::LicenseErrorCode(this) { Ok(ok__) => { - core::ptr::write(hres, core::mem::transmute(ok__)); + hres.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -15905,7 +15905,7 @@ impl IMSVidStreamBufferSource_Vtbl { let this = (*this).get_impl(); match IMSVidStreamBufferSource_Impl::Start(this) { Ok(ok__) => { - core::ptr::write(lstart, core::mem::transmute(ok__)); + lstart.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -15916,7 +15916,7 @@ impl IMSVidStreamBufferSource_Vtbl { let this = (*this).get_impl(); match IMSVidStreamBufferSource_Impl::RecordingAttribute(this) { Ok(ok__) => { - core::ptr::write(precordingattribute, core::mem::transmute(ok__)); + precordingattribute.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -15947,7 +15947,7 @@ impl IMSVidStreamBufferSource_Vtbl { let this = (*this).get_impl(); match IMSVidStreamBufferSource_Impl::SBESource(this) { Ok(ok__) => { - core::ptr::write(sbefilter, core::mem::transmute(ok__)); + sbefilter.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -15991,7 +15991,7 @@ impl IMSVidStreamBufferSource2_Vtbl { let this = (*this).get_impl(); match IMSVidStreamBufferSource2_Impl::AudioCounter(this) { Ok(ok__) => { - core::ptr::write(ppunk, core::mem::transmute(ok__)); + ppunk.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -16002,7 +16002,7 @@ impl IMSVidStreamBufferSource2_Vtbl { let this = (*this).get_impl(); match IMSVidStreamBufferSource2_Impl::VideoCounter(this) { Ok(ok__) => { - core::ptr::write(ppunk, core::mem::transmute(ok__)); + ppunk.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -16013,7 +16013,7 @@ impl IMSVidStreamBufferSource2_Vtbl { let this = (*this).get_impl(); match IMSVidStreamBufferSource2_Impl::CCCounter(this) { Ok(ok__) => { - core::ptr::write(ppunk, core::mem::transmute(ok__)); + ppunk.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -16024,7 +16024,7 @@ impl IMSVidStreamBufferSource2_Vtbl { let this = (*this).get_impl(); match IMSVidStreamBufferSource2_Impl::WSTCounter(this) { Ok(ok__) => { - core::ptr::write(ppunk, core::mem::transmute(ok__)); + ppunk.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -16289,7 +16289,7 @@ impl IMSVidTuner_Vtbl { let this = (*this).get_impl(); match IMSVidTuner_Impl::Tune(this) { Ok(ok__) => { - core::ptr::write(pptr, core::mem::transmute(ok__)); + pptr.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -16305,7 +16305,7 @@ impl IMSVidTuner_Vtbl { let this = (*this).get_impl(); match IMSVidTuner_Impl::TuningSpace(this) { Ok(ok__) => { - core::ptr::write(plts, core::mem::transmute(ok__)); + plts.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -16366,7 +16366,7 @@ impl IMSVidVMR9_Vtbl { let this = (*this).get_impl(); match IMSVidVMR9_Impl::Allocator_ID(this) { Ok(ok__) => { - core::ptr::write(id, core::mem::transmute(ok__)); + id.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -16387,7 +16387,7 @@ impl IMSVidVMR9_Vtbl { let this = (*this).get_impl(); match IMSVidVMR9_Impl::SuppressEffects(this) { Ok(ok__) => { - core::ptr::write(bsuppress, core::mem::transmute(ok__)); + bsuppress.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -16398,7 +16398,7 @@ impl IMSVidVMR9_Vtbl { let this = (*this).get_impl(); match IMSVidVMR9_Impl::Allocator(this) { Ok(ok__) => { - core::ptr::write(allocpresent, core::mem::transmute(ok__)); + allocpresent.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -16461,7 +16461,7 @@ impl IMSVidVRGraphSegment_Vtbl { let this = (*this).get_impl(); match IMSVidVRGraphSegment_Impl::Owner(this) { Ok(ok__) => { - core::ptr::write(window, core::mem::transmute(ok__)); + window.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -16472,7 +16472,7 @@ impl IMSVidVRGraphSegment_Vtbl { let this = (*this).get_impl(); match IMSVidVRGraphSegment_Impl::UseOverlay(this) { Ok(ok__) => { - core::ptr::write(useoverlayval, core::mem::transmute(ok__)); + useoverlayval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -16488,7 +16488,7 @@ impl IMSVidVRGraphSegment_Vtbl { let this = (*this).get_impl(); match IMSVidVRGraphSegment_Impl::Visible(this) { Ok(ok__) => { - core::ptr::write(visible, core::mem::transmute(ok__)); + visible.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -16504,7 +16504,7 @@ impl IMSVidVRGraphSegment_Vtbl { let this = (*this).get_impl(); match IMSVidVRGraphSegment_Impl::ColorKey(this) { Ok(ok__) => { - core::ptr::write(colorkey, core::mem::transmute(ok__)); + colorkey.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -16520,7 +16520,7 @@ impl IMSVidVRGraphSegment_Vtbl { let this = (*this).get_impl(); match IMSVidVRGraphSegment_Impl::Source(this) { Ok(ok__) => { - core::ptr::write(r, core::mem::transmute(ok__)); + r.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -16536,7 +16536,7 @@ impl IMSVidVRGraphSegment_Vtbl { let this = (*this).get_impl(); match IMSVidVRGraphSegment_Impl::Destination(this) { Ok(ok__) => { - core::ptr::write(r, core::mem::transmute(ok__)); + r.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -16557,7 +16557,7 @@ impl IMSVidVRGraphSegment_Vtbl { let this = (*this).get_impl(); match IMSVidVRGraphSegment_Impl::BorderColor(this) { Ok(ok__) => { - core::ptr::write(color, core::mem::transmute(ok__)); + color.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -16573,7 +16573,7 @@ impl IMSVidVRGraphSegment_Vtbl { let this = (*this).get_impl(); match IMSVidVRGraphSegment_Impl::MaintainAspectRatio(this) { Ok(ok__) => { - core::ptr::write(fmaintain, core::mem::transmute(ok__)); + fmaintain.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -16684,7 +16684,7 @@ impl IMSVidVideoRenderer_Vtbl { let this = (*this).get_impl(); match IMSVidVideoRenderer_Impl::CustomCompositorClass(this) { Ok(ok__) => { - core::ptr::write(compositorclsid, core::mem::transmute(ok__)); + compositorclsid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -16700,7 +16700,7 @@ impl IMSVidVideoRenderer_Vtbl { let this = (*this).get_impl(); match IMSVidVideoRenderer_Impl::_CustomCompositorClass(this) { Ok(ok__) => { - core::ptr::write(compositorclsid, core::mem::transmute(ok__)); + compositorclsid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -16716,7 +16716,7 @@ impl IMSVidVideoRenderer_Vtbl { let this = (*this).get_impl(); match IMSVidVideoRenderer_Impl::_CustomCompositor(this) { Ok(ok__) => { - core::ptr::write(compositor, core::mem::transmute(ok__)); + compositor.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -16732,7 +16732,7 @@ impl IMSVidVideoRenderer_Vtbl { let this = (*this).get_impl(); match IMSVidVideoRenderer_Impl::MixerBitmap(this) { Ok(ok__) => { - core::ptr::write(mixerpicturedisp, core::mem::transmute(ok__)); + mixerpicturedisp.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -16743,7 +16743,7 @@ impl IMSVidVideoRenderer_Vtbl { let this = (*this).get_impl(); match IMSVidVideoRenderer_Impl::_MixerBitmap(this) { Ok(ok__) => { - core::ptr::write(mixerpicture, core::mem::transmute(ok__)); + mixerpicture.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -16764,7 +16764,7 @@ impl IMSVidVideoRenderer_Vtbl { let this = (*this).get_impl(); match IMSVidVideoRenderer_Impl::MixerBitmapPositionRect(this) { Ok(ok__) => { - core::ptr::write(rdest, core::mem::transmute(ok__)); + rdest.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -16780,7 +16780,7 @@ impl IMSVidVideoRenderer_Vtbl { let this = (*this).get_impl(); match IMSVidVideoRenderer_Impl::MixerBitmapOpacity(this) { Ok(ok__) => { - core::ptr::write(opacity, core::mem::transmute(ok__)); + opacity.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -16801,7 +16801,7 @@ impl IMSVidVideoRenderer_Vtbl { let this = (*this).get_impl(); match IMSVidVideoRenderer_Impl::SourceSize(this) { Ok(ok__) => { - core::ptr::write(currentsize, core::mem::transmute(ok__)); + currentsize.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -16817,7 +16817,7 @@ impl IMSVidVideoRenderer_Vtbl { let this = (*this).get_impl(); match IMSVidVideoRenderer_Impl::OverScan(this) { Ok(ok__) => { - core::ptr::write(plpercent, core::mem::transmute(ok__)); + plpercent.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -16833,7 +16833,7 @@ impl IMSVidVideoRenderer_Vtbl { let this = (*this).get_impl(); match IMSVidVideoRenderer_Impl::AvailableSourceRect(this) { Ok(ok__) => { - core::ptr::write(prect, core::mem::transmute(ok__)); + prect.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -16844,7 +16844,7 @@ impl IMSVidVideoRenderer_Vtbl { let this = (*this).get_impl(); match IMSVidVideoRenderer_Impl::MaxVidRect(this) { Ok(ok__) => { - core::ptr::write(ppvidrect, core::mem::transmute(ok__)); + ppvidrect.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -16855,7 +16855,7 @@ impl IMSVidVideoRenderer_Vtbl { let this = (*this).get_impl(); match IMSVidVideoRenderer_Impl::MinVidRect(this) { Ok(ok__) => { - core::ptr::write(ppvidrect, core::mem::transmute(ok__)); + ppvidrect.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -16866,7 +16866,7 @@ impl IMSVidVideoRenderer_Vtbl { let this = (*this).get_impl(); match IMSVidVideoRenderer_Impl::ClippedSourceRect(this) { Ok(ok__) => { - core::ptr::write(prect, core::mem::transmute(ok__)); + prect.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -16882,7 +16882,7 @@ impl IMSVidVideoRenderer_Vtbl { let this = (*this).get_impl(); match IMSVidVideoRenderer_Impl::UsingOverlay(this) { Ok(ok__) => { - core::ptr::write(useoverlayval, core::mem::transmute(ok__)); + useoverlayval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -16898,7 +16898,7 @@ impl IMSVidVideoRenderer_Vtbl { let this = (*this).get_impl(); match IMSVidVideoRenderer_Impl::Capture(this) { Ok(ok__) => { - core::ptr::write(currentimage, core::mem::transmute(ok__)); + currentimage.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -16909,7 +16909,7 @@ impl IMSVidVideoRenderer_Vtbl { let this = (*this).get_impl(); match IMSVidVideoRenderer_Impl::FramesPerSecond(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -16920,7 +16920,7 @@ impl IMSVidVideoRenderer_Vtbl { let this = (*this).get_impl(); match IMSVidVideoRenderer_Impl::DecimateInput(this) { Ok(ok__) => { - core::ptr::write(pdeci, core::mem::transmute(ok__)); + pdeci.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -16989,7 +16989,7 @@ impl IMSVidVideoRenderer2_Vtbl { let this = (*this).get_impl(); match IMSVidVideoRenderer2_Impl::Allocator(this) { Ok(ok__) => { - core::ptr::write(allocpresent, core::mem::transmute(ok__)); + allocpresent.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -17000,7 +17000,7 @@ impl IMSVidVideoRenderer2_Vtbl { let this = (*this).get_impl(); match IMSVidVideoRenderer2_Impl::_Allocator(this) { Ok(ok__) => { - core::ptr::write(allocpresent, core::mem::transmute(ok__)); + allocpresent.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -17011,7 +17011,7 @@ impl IMSVidVideoRenderer2_Vtbl { let this = (*this).get_impl(); match IMSVidVideoRenderer2_Impl::Allocator_ID(this) { Ok(ok__) => { - core::ptr::write(id, core::mem::transmute(ok__)); + id.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -17037,7 +17037,7 @@ impl IMSVidVideoRenderer2_Vtbl { let this = (*this).get_impl(); match IMSVidVideoRenderer2_Impl::SuppressEffects(this) { Ok(ok__) => { - core::ptr::write(bsuppress, core::mem::transmute(ok__)); + bsuppress.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -17076,7 +17076,7 @@ impl IMSVidVideoRendererDevices_Vtbl { let this = (*this).get_impl(); match IMSVidVideoRendererDevices_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(lcount, core::mem::transmute(ok__)); + lcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -17087,7 +17087,7 @@ impl IMSVidVideoRendererDevices_Vtbl { let this = (*this).get_impl(); match IMSVidVideoRendererDevices_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(pd, core::mem::transmute(ok__)); + pd.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -17098,7 +17098,7 @@ impl IMSVidVideoRendererDevices_Vtbl { let this = (*this).get_impl(); match IMSVidVideoRendererDevices_Impl::get_Item(this, core::mem::transmute(&v)) { Ok(ok__) => { - core::ptr::write(pdb, core::mem::transmute(ok__)); + pdb.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -17335,7 +17335,7 @@ impl IMSVidWebDVD_Vtbl { let this = (*this).get_impl(); match IMSVidWebDVD_Impl::get_AudioLanguage(this, core::mem::transmute_copy(&lstream), core::mem::transmute_copy(&fformat)) { Ok(ok__) => { - core::ptr::write(straudiolang, core::mem::transmute(ok__)); + straudiolang.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -17361,7 +17361,7 @@ impl IMSVidWebDVD_Vtbl { let this = (*this).get_impl(); match IMSVidWebDVD_Impl::ButtonsAvailable(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -17372,7 +17372,7 @@ impl IMSVidWebDVD_Vtbl { let this = (*this).get_impl(); match IMSVidWebDVD_Impl::CurrentButton(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -17423,7 +17423,7 @@ impl IMSVidWebDVD_Vtbl { let this = (*this).get_impl(); match IMSVidWebDVD_Impl::get_ButtonAtPosition(this, core::mem::transmute_copy(&xpos), core::mem::transmute_copy(&ypos)) { Ok(ok__) => { - core::ptr::write(plbutton, core::mem::transmute(ok__)); + plbutton.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -17434,7 +17434,7 @@ impl IMSVidWebDVD_Vtbl { let this = (*this).get_impl(); match IMSVidWebDVD_Impl::get_NumberOfChapters(this, core::mem::transmute_copy(<itle)) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -17445,7 +17445,7 @@ impl IMSVidWebDVD_Vtbl { let this = (*this).get_impl(); match IMSVidWebDVD_Impl::TotalTitleTime(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -17456,7 +17456,7 @@ impl IMSVidWebDVD_Vtbl { let this = (*this).get_impl(); match IMSVidWebDVD_Impl::TitlesAvailable(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -17467,7 +17467,7 @@ impl IMSVidWebDVD_Vtbl { let this = (*this).get_impl(); match IMSVidWebDVD_Impl::VolumesAvailable(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -17478,7 +17478,7 @@ impl IMSVidWebDVD_Vtbl { let this = (*this).get_impl(); match IMSVidWebDVD_Impl::CurrentVolume(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -17489,7 +17489,7 @@ impl IMSVidWebDVD_Vtbl { let this = (*this).get_impl(); match IMSVidWebDVD_Impl::CurrentDiscSide(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -17500,7 +17500,7 @@ impl IMSVidWebDVD_Vtbl { let this = (*this).get_impl(); match IMSVidWebDVD_Impl::CurrentDomain(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -17511,7 +17511,7 @@ impl IMSVidWebDVD_Vtbl { let this = (*this).get_impl(); match IMSVidWebDVD_Impl::CurrentChapter(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -17522,7 +17522,7 @@ impl IMSVidWebDVD_Vtbl { let this = (*this).get_impl(); match IMSVidWebDVD_Impl::CurrentTitle(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -17533,7 +17533,7 @@ impl IMSVidWebDVD_Vtbl { let this = (*this).get_impl(); match IMSVidWebDVD_Impl::CurrentTime(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -17544,7 +17544,7 @@ impl IMSVidWebDVD_Vtbl { let this = (*this).get_impl(); match IMSVidWebDVD_Impl::DVDTimeCode2bstr(this, core::mem::transmute_copy(&timecode)) { Ok(ok__) => { - core::ptr::write(ptimestr, core::mem::transmute(ok__)); + ptimestr.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -17555,7 +17555,7 @@ impl IMSVidWebDVD_Vtbl { let this = (*this).get_impl(); match IMSVidWebDVD_Impl::DVDDirectory(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -17571,7 +17571,7 @@ impl IMSVidWebDVD_Vtbl { let this = (*this).get_impl(); match IMSVidWebDVD_Impl::IsSubpictureStreamEnabled(this, core::mem::transmute_copy(&lstream)) { Ok(ok__) => { - core::ptr::write(fenabled, core::mem::transmute(ok__)); + fenabled.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -17582,7 +17582,7 @@ impl IMSVidWebDVD_Vtbl { let this = (*this).get_impl(); match IMSVidWebDVD_Impl::IsAudioStreamEnabled(this, core::mem::transmute_copy(&lstream)) { Ok(ok__) => { - core::ptr::write(fenabled, core::mem::transmute(ok__)); + fenabled.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -17593,7 +17593,7 @@ impl IMSVidWebDVD_Vtbl { let this = (*this).get_impl(); match IMSVidWebDVD_Impl::CurrentSubpictureStream(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -17609,7 +17609,7 @@ impl IMSVidWebDVD_Vtbl { let this = (*this).get_impl(); match IMSVidWebDVD_Impl::get_SubpictureLanguage(this, core::mem::transmute_copy(&lstream)) { Ok(ok__) => { - core::ptr::write(strlanguage, core::mem::transmute(ok__)); + strlanguage.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -17620,7 +17620,7 @@ impl IMSVidWebDVD_Vtbl { let this = (*this).get_impl(); match IMSVidWebDVD_Impl::CurrentAudioStream(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -17636,7 +17636,7 @@ impl IMSVidWebDVD_Vtbl { let this = (*this).get_impl(); match IMSVidWebDVD_Impl::AudioStreamsAvailable(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -17647,7 +17647,7 @@ impl IMSVidWebDVD_Vtbl { let this = (*this).get_impl(); match IMSVidWebDVD_Impl::AnglesAvailable(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -17658,7 +17658,7 @@ impl IMSVidWebDVD_Vtbl { let this = (*this).get_impl(); match IMSVidWebDVD_Impl::CurrentAngle(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -17674,7 +17674,7 @@ impl IMSVidWebDVD_Vtbl { let this = (*this).get_impl(); match IMSVidWebDVD_Impl::SubpictureStreamsAvailable(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -17685,7 +17685,7 @@ impl IMSVidWebDVD_Vtbl { let this = (*this).get_impl(); match IMSVidWebDVD_Impl::SubpictureOn(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -17701,7 +17701,7 @@ impl IMSVidWebDVD_Vtbl { let this = (*this).get_impl(); match IMSVidWebDVD_Impl::DVDUniqueID(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -17732,7 +17732,7 @@ impl IMSVidWebDVD_Vtbl { let this = (*this).get_impl(); match IMSVidWebDVD_Impl::get_TitleParentalLevels(this, core::mem::transmute_copy(<itle)) { Ok(ok__) => { - core::ptr::write(plparentallevels, core::mem::transmute(ok__)); + plparentallevels.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -17743,7 +17743,7 @@ impl IMSVidWebDVD_Vtbl { let this = (*this).get_impl(); match IMSVidWebDVD_Impl::PlayerParentalCountry(this) { Ok(ok__) => { - core::ptr::write(plcountrycode, core::mem::transmute(ok__)); + plcountrycode.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -17754,7 +17754,7 @@ impl IMSVidWebDVD_Vtbl { let this = (*this).get_impl(); match IMSVidWebDVD_Impl::PlayerParentalLevel(this) { Ok(ok__) => { - core::ptr::write(plparentallevel, core::mem::transmute(ok__)); + plparentallevel.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -17770,7 +17770,7 @@ impl IMSVidWebDVD_Vtbl { let this = (*this).get_impl(); match IMSVidWebDVD_Impl::UOPValid(this, core::mem::transmute_copy(&luop)) { Ok(ok__) => { - core::ptr::write(pfvalid, core::mem::transmute(ok__)); + pfvalid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -17781,7 +17781,7 @@ impl IMSVidWebDVD_Vtbl { let this = (*this).get_impl(); match IMSVidWebDVD_Impl::get_SPRM(this, core::mem::transmute_copy(&lindex)) { Ok(ok__) => { - core::ptr::write(pssprm, core::mem::transmute(ok__)); + pssprm.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -17792,7 +17792,7 @@ impl IMSVidWebDVD_Vtbl { let this = (*this).get_impl(); match IMSVidWebDVD_Impl::get_GPRM(this, core::mem::transmute_copy(&lindex)) { Ok(ok__) => { - core::ptr::write(pssprm, core::mem::transmute(ok__)); + pssprm.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -17808,7 +17808,7 @@ impl IMSVidWebDVD_Vtbl { let this = (*this).get_impl(); match IMSVidWebDVD_Impl::get_DVDTextStringType(this, core::mem::transmute_copy(&llangindex), core::mem::transmute_copy(&lstringindex)) { Ok(ok__) => { - core::ptr::write(ptype, core::mem::transmute(ok__)); + ptype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -17819,7 +17819,7 @@ impl IMSVidWebDVD_Vtbl { let this = (*this).get_impl(); match IMSVidWebDVD_Impl::get_DVDTextString(this, core::mem::transmute_copy(&llangindex), core::mem::transmute_copy(&lstringindex)) { Ok(ok__) => { - core::ptr::write(pstrtext, core::mem::transmute(ok__)); + pstrtext.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -17830,7 +17830,7 @@ impl IMSVidWebDVD_Vtbl { let this = (*this).get_impl(); match IMSVidWebDVD_Impl::get_DVDTextNumberOfStrings(this, core::mem::transmute_copy(&llangindex)) { Ok(ok__) => { - core::ptr::write(plnumofstrings, core::mem::transmute(ok__)); + plnumofstrings.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -17841,7 +17841,7 @@ impl IMSVidWebDVD_Vtbl { let this = (*this).get_impl(); match IMSVidWebDVD_Impl::DVDTextNumberOfLanguages(this) { Ok(ok__) => { - core::ptr::write(plnumoflangs, core::mem::transmute(ok__)); + plnumoflangs.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -17852,7 +17852,7 @@ impl IMSVidWebDVD_Vtbl { let this = (*this).get_impl(); match IMSVidWebDVD_Impl::get_DVDTextLanguageLCID(this, core::mem::transmute_copy(&llangindex)) { Ok(ok__) => { - core::ptr::write(lcid, core::mem::transmute(ok__)); + lcid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -17868,7 +17868,7 @@ impl IMSVidWebDVD_Vtbl { let this = (*this).get_impl(); match IMSVidWebDVD_Impl::DVDAdm(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -17904,7 +17904,7 @@ impl IMSVidWebDVD_Vtbl { let this = (*this).get_impl(); match IMSVidWebDVD_Impl::PreferredSubpictureStream(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -17915,7 +17915,7 @@ impl IMSVidWebDVD_Vtbl { let this = (*this).get_impl(); match IMSVidWebDVD_Impl::DefaultMenuLanguage(this) { Ok(ok__) => { - core::ptr::write(lang, core::mem::transmute(ok__)); + lang.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -17931,7 +17931,7 @@ impl IMSVidWebDVD_Vtbl { let this = (*this).get_impl(); match IMSVidWebDVD_Impl::DefaultSubpictureLanguage(this) { Ok(ok__) => { - core::ptr::write(lang, core::mem::transmute(ok__)); + lang.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -17942,7 +17942,7 @@ impl IMSVidWebDVD_Vtbl { let this = (*this).get_impl(); match IMSVidWebDVD_Impl::DefaultAudioLanguage(this) { Ok(ok__) => { - core::ptr::write(lang, core::mem::transmute(ok__)); + lang.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -17953,7 +17953,7 @@ impl IMSVidWebDVD_Vtbl { let this = (*this).get_impl(); match IMSVidWebDVD_Impl::DefaultSubpictureLanguageExt(this) { Ok(ok__) => { - core::ptr::write(ext, core::mem::transmute(ok__)); + ext.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -17964,7 +17964,7 @@ impl IMSVidWebDVD_Vtbl { let this = (*this).get_impl(); match IMSVidWebDVD_Impl::DefaultAudioLanguageExt(this) { Ok(ok__) => { - core::ptr::write(ext, core::mem::transmute(ok__)); + ext.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -17975,7 +17975,7 @@ impl IMSVidWebDVD_Vtbl { let this = (*this).get_impl(); match IMSVidWebDVD_Impl::get_LanguageFromLCID(this, core::mem::transmute_copy(&lcid)) { Ok(ok__) => { - core::ptr::write(lang, core::mem::transmute(ok__)); + lang.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -17986,7 +17986,7 @@ impl IMSVidWebDVD_Vtbl { let this = (*this).get_impl(); match IMSVidWebDVD_Impl::KaraokeAudioPresentationMode(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -18002,7 +18002,7 @@ impl IMSVidWebDVD_Vtbl { let this = (*this).get_impl(); match IMSVidWebDVD_Impl::get_KaraokeChannelContent(this, core::mem::transmute_copy(&lstream), core::mem::transmute_copy(&lchan)) { Ok(ok__) => { - core::ptr::write(lcontent, core::mem::transmute(ok__)); + lcontent.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -18013,7 +18013,7 @@ impl IMSVidWebDVD_Vtbl { let this = (*this).get_impl(); match IMSVidWebDVD_Impl::get_KaraokeChannelAssignment(this, core::mem::transmute_copy(&lstream)) { Ok(ok__) => { - core::ptr::write(lchannelassignment, core::mem::transmute(ok__)); + lchannelassignment.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -18029,7 +18029,7 @@ impl IMSVidWebDVD_Vtbl { let this = (*this).get_impl(); match IMSVidWebDVD_Impl::get_ButtonRect(this, core::mem::transmute_copy(&lbutton)) { Ok(ok__) => { - core::ptr::write(prect, core::mem::transmute(ok__)); + prect.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -18040,7 +18040,7 @@ impl IMSVidWebDVD_Vtbl { let this = (*this).get_impl(); match IMSVidWebDVD_Impl::DVDScreenInMouseCoordinates(this) { Ok(ok__) => { - core::ptr::write(pprect, core::mem::transmute(ok__)); + pprect.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -18226,7 +18226,7 @@ impl IMSVidWebDVDAdm_Vtbl { let this = (*this).get_impl(); match IMSVidWebDVDAdm_Impl::ConfirmPassword(this, core::mem::transmute(&strusername), core::mem::transmute(&strpassword)) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -18237,7 +18237,7 @@ impl IMSVidWebDVDAdm_Vtbl { let this = (*this).get_impl(); match IMSVidWebDVDAdm_Impl::GetParentalLevel(this) { Ok(ok__) => { - core::ptr::write(llevel, core::mem::transmute(ok__)); + llevel.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -18248,7 +18248,7 @@ impl IMSVidWebDVDAdm_Vtbl { let this = (*this).get_impl(); match IMSVidWebDVDAdm_Impl::GetParentalCountry(this) { Ok(ok__) => { - core::ptr::write(lcountry, core::mem::transmute(ok__)); + lcountry.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -18259,7 +18259,7 @@ impl IMSVidWebDVDAdm_Vtbl { let this = (*this).get_impl(); match IMSVidWebDVDAdm_Impl::DefaultAudioLCID(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -18275,7 +18275,7 @@ impl IMSVidWebDVDAdm_Vtbl { let this = (*this).get_impl(); match IMSVidWebDVDAdm_Impl::DefaultSubpictureLCID(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -18291,7 +18291,7 @@ impl IMSVidWebDVDAdm_Vtbl { let this = (*this).get_impl(); match IMSVidWebDVDAdm_Impl::DefaultMenuLCID(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -18307,7 +18307,7 @@ impl IMSVidWebDVDAdm_Vtbl { let this = (*this).get_impl(); match IMSVidWebDVDAdm_Impl::BookmarkOnStop(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -18531,7 +18531,7 @@ impl IMSVidXDS_Vtbl { let this = (*this).get_impl(); match IMSVidXDS_Impl::ChannelChangeInterface(this) { Ok(ok__) => { - core::ptr::write(punkcc, core::mem::transmute(ok__)); + punkcc.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -18593,7 +18593,7 @@ impl IMpeg2Data_Vtbl { let this = (*this).get_impl(); match IMpeg2Data_Impl::GetSection(this, core::mem::transmute_copy(&pid), core::mem::transmute_copy(&tid), core::mem::transmute_copy(&pfilter), core::mem::transmute_copy(&dwtimeout)) { Ok(ok__) => { - core::ptr::write(ppsectionlist, core::mem::transmute(ok__)); + ppsectionlist.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -18604,7 +18604,7 @@ impl IMpeg2Data_Vtbl { let this = (*this).get_impl(); match IMpeg2Data_Impl::GetTable(this, core::mem::transmute_copy(&pid), core::mem::transmute_copy(&tid), core::mem::transmute_copy(&pfilter), core::mem::transmute_copy(&dwtimeout)) { Ok(ok__) => { - core::ptr::write(ppsectionlist, core::mem::transmute(ok__)); + ppsectionlist.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -18615,7 +18615,7 @@ impl IMpeg2Data_Vtbl { let this = (*this).get_impl(); match IMpeg2Data_Impl::GetStreamOfSections(this, core::mem::transmute_copy(&pid), core::mem::transmute_copy(&tid), core::mem::transmute_copy(&pfilter), core::mem::transmute_copy(&hdatareadyevent)) { Ok(ok__) => { - core::ptr::write(ppmpegstream, core::mem::transmute(ok__)); + ppmpegstream.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -18740,7 +18740,7 @@ impl IPAT_Vtbl { let this = (*this).get_impl(); match IPAT_Impl::GetTransportStreamId(this) { Ok(ok__) => { - core::ptr::write(pwval, core::mem::transmute(ok__)); + pwval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -18751,7 +18751,7 @@ impl IPAT_Vtbl { let this = (*this).get_impl(); match IPAT_Impl::GetVersionNumber(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -18762,7 +18762,7 @@ impl IPAT_Vtbl { let this = (*this).get_impl(); match IPAT_Impl::GetCountOfRecords(this) { Ok(ok__) => { - core::ptr::write(pdwval, core::mem::transmute(ok__)); + pdwval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -18773,7 +18773,7 @@ impl IPAT_Vtbl { let this = (*this).get_impl(); match IPAT_Impl::GetRecordProgramNumber(this, core::mem::transmute_copy(&dwindex)) { Ok(ok__) => { - core::ptr::write(pwval, core::mem::transmute(ok__)); + pwval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -18784,7 +18784,7 @@ impl IPAT_Vtbl { let this = (*this).get_impl(); match IPAT_Impl::GetRecordProgramMapPid(this, core::mem::transmute_copy(&dwindex)) { Ok(ok__) => { - core::ptr::write(pwval, core::mem::transmute(ok__)); + pwval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -18795,7 +18795,7 @@ impl IPAT_Vtbl { let this = (*this).get_impl(); match IPAT_Impl::FindRecordProgramMapPid(this, core::mem::transmute_copy(&wprogramnumber)) { Ok(ok__) => { - core::ptr::write(pwval, core::mem::transmute(ok__)); + pwval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -18811,7 +18811,7 @@ impl IPAT_Vtbl { let this = (*this).get_impl(); match IPAT_Impl::GetNextTable(this) { Ok(ok__) => { - core::ptr::write(pppat, core::mem::transmute(ok__)); + pppat.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -18859,7 +18859,7 @@ impl IPBDAAttributesDescriptor_Vtbl { let this = (*this).get_impl(); match IPBDAAttributesDescriptor_Impl::GetTag(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -18870,7 +18870,7 @@ impl IPBDAAttributesDescriptor_Vtbl { let this = (*this).get_impl(); match IPBDAAttributesDescriptor_Impl::GetLength(this) { Ok(ok__) => { - core::ptr::write(pwval, core::mem::transmute(ok__)); + pwval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -18905,7 +18905,7 @@ impl IPBDAEntitlementDescriptor_Vtbl { let this = (*this).get_impl(); match IPBDAEntitlementDescriptor_Impl::GetTag(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -18916,7 +18916,7 @@ impl IPBDAEntitlementDescriptor_Vtbl { let this = (*this).get_impl(); match IPBDAEntitlementDescriptor_Impl::GetLength(this) { Ok(ok__) => { - core::ptr::write(pwval, core::mem::transmute(ok__)); + pwval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -18956,7 +18956,7 @@ impl IPBDASiParser_Vtbl { let this = (*this).get_impl(); match IPBDASiParser_Impl::GetEIT(this, core::mem::transmute_copy(&dwsize), core::mem::transmute_copy(&pbuffer)) { Ok(ok__) => { - core::ptr::write(ppeit, core::mem::transmute(ok__)); + ppeit.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -18967,7 +18967,7 @@ impl IPBDASiParser_Vtbl { let this = (*this).get_impl(); match IPBDASiParser_Impl::GetServices(this, core::mem::transmute_copy(&dwsize), core::mem::transmute_copy(&pbuffer)) { Ok(ok__) => { - core::ptr::write(ppservices, core::mem::transmute(ok__)); + ppservices.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -19010,7 +19010,7 @@ impl IPBDA_EIT_Vtbl { let this = (*this).get_impl(); match IPBDA_EIT_Impl::GetTableId(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -19021,7 +19021,7 @@ impl IPBDA_EIT_Vtbl { let this = (*this).get_impl(); match IPBDA_EIT_Impl::GetVersionNumber(this) { Ok(ok__) => { - core::ptr::write(pwval, core::mem::transmute(ok__)); + pwval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -19032,7 +19032,7 @@ impl IPBDA_EIT_Vtbl { let this = (*this).get_impl(); match IPBDA_EIT_Impl::GetServiceIdx(this) { Ok(ok__) => { - core::ptr::write(plwval, core::mem::transmute(ok__)); + plwval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -19043,7 +19043,7 @@ impl IPBDA_EIT_Vtbl { let this = (*this).get_impl(); match IPBDA_EIT_Impl::GetCountOfRecords(this) { Ok(ok__) => { - core::ptr::write(pdwval, core::mem::transmute(ok__)); + pdwval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -19054,7 +19054,7 @@ impl IPBDA_EIT_Vtbl { let this = (*this).get_impl(); match IPBDA_EIT_Impl::GetRecordEventId(this, core::mem::transmute_copy(&dwrecordindex)) { Ok(ok__) => { - core::ptr::write(plwval, core::mem::transmute(ok__)); + plwval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -19065,7 +19065,7 @@ impl IPBDA_EIT_Vtbl { let this = (*this).get_impl(); match IPBDA_EIT_Impl::GetRecordStartTime(this, core::mem::transmute_copy(&dwrecordindex)) { Ok(ok__) => { - core::ptr::write(pmdtval, core::mem::transmute(ok__)); + pmdtval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -19076,7 +19076,7 @@ impl IPBDA_EIT_Vtbl { let this = (*this).get_impl(); match IPBDA_EIT_Impl::GetRecordDuration(this, core::mem::transmute_copy(&dwrecordindex)) { Ok(ok__) => { - core::ptr::write(pmdval, core::mem::transmute(ok__)); + pmdval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -19087,7 +19087,7 @@ impl IPBDA_EIT_Vtbl { let this = (*this).get_impl(); match IPBDA_EIT_Impl::GetRecordCountOfDescriptors(this, core::mem::transmute_copy(&dwrecordindex)) { Ok(ok__) => { - core::ptr::write(pdwval, core::mem::transmute(ok__)); + pdwval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -19098,7 +19098,7 @@ impl IPBDA_EIT_Vtbl { let this = (*this).get_impl(); match IPBDA_EIT_Impl::GetRecordDescriptorByIndex(this, core::mem::transmute_copy(&dwrecordindex), core::mem::transmute_copy(&dwindex)) { Ok(ok__) => { - core::ptr::write(ppdescriptor, core::mem::transmute(ok__)); + ppdescriptor.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -19146,7 +19146,7 @@ impl IPBDA_Services_Vtbl { let this = (*this).get_impl(); match IPBDA_Services_Impl::GetCountOfRecords(this) { Ok(ok__) => { - core::ptr::write(pdwval, core::mem::transmute(ok__)); + pdwval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -19157,7 +19157,7 @@ impl IPBDA_Services_Vtbl { let this = (*this).get_impl(); match IPBDA_Services_Impl::GetRecordByIndex(this, core::mem::transmute_copy(&dwrecordindex)) { Ok(ok__) => { - core::ptr::write(pul64serviceidx, core::mem::transmute(ok__)); + pul64serviceidx.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -19208,7 +19208,7 @@ impl IPMT_Vtbl { let this = (*this).get_impl(); match IPMT_Impl::GetProgramNumber(this) { Ok(ok__) => { - core::ptr::write(pwval, core::mem::transmute(ok__)); + pwval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -19219,7 +19219,7 @@ impl IPMT_Vtbl { let this = (*this).get_impl(); match IPMT_Impl::GetVersionNumber(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -19230,7 +19230,7 @@ impl IPMT_Vtbl { let this = (*this).get_impl(); match IPMT_Impl::GetPcrPid(this) { Ok(ok__) => { - core::ptr::write(ppidval, core::mem::transmute(ok__)); + ppidval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -19241,7 +19241,7 @@ impl IPMT_Vtbl { let this = (*this).get_impl(); match IPMT_Impl::GetCountOfTableDescriptors(this) { Ok(ok__) => { - core::ptr::write(pdwval, core::mem::transmute(ok__)); + pdwval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -19252,7 +19252,7 @@ impl IPMT_Vtbl { let this = (*this).get_impl(); match IPMT_Impl::GetTableDescriptorByIndex(this, core::mem::transmute_copy(&dwindex)) { Ok(ok__) => { - core::ptr::write(ppdescriptor, core::mem::transmute(ok__)); + ppdescriptor.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -19268,7 +19268,7 @@ impl IPMT_Vtbl { let this = (*this).get_impl(); match IPMT_Impl::GetCountOfRecords(this) { Ok(ok__) => { - core::ptr::write(pwval, core::mem::transmute(ok__)); + pwval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -19279,7 +19279,7 @@ impl IPMT_Vtbl { let this = (*this).get_impl(); match IPMT_Impl::GetRecordStreamType(this, core::mem::transmute_copy(&dwrecordindex)) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -19290,7 +19290,7 @@ impl IPMT_Vtbl { let this = (*this).get_impl(); match IPMT_Impl::GetRecordElementaryPid(this, core::mem::transmute_copy(&dwrecordindex)) { Ok(ok__) => { - core::ptr::write(ppidval, core::mem::transmute(ok__)); + ppidval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -19301,7 +19301,7 @@ impl IPMT_Vtbl { let this = (*this).get_impl(); match IPMT_Impl::GetRecordCountOfDescriptors(this, core::mem::transmute_copy(&dwrecordindex)) { Ok(ok__) => { - core::ptr::write(pdwval, core::mem::transmute(ok__)); + pdwval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -19312,7 +19312,7 @@ impl IPMT_Vtbl { let this = (*this).get_impl(); match IPMT_Impl::GetRecordDescriptorByIndex(this, core::mem::transmute_copy(&dwrecordindex), core::mem::transmute_copy(&dwdescindex)) { Ok(ok__) => { - core::ptr::write(ppdescriptor, core::mem::transmute(ok__)); + ppdescriptor.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -19343,7 +19343,7 @@ impl IPMT_Vtbl { let this = (*this).get_impl(); match IPMT_Impl::GetNextTable(this) { Ok(ok__) => { - core::ptr::write(pppmt, core::mem::transmute(ok__)); + pppmt.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -19397,7 +19397,7 @@ impl IPSITables_Vtbl { let this = (*this).get_impl(); match IPSITables_Impl::GetTable(this, core::mem::transmute_copy(&dwtsid), core::mem::transmute_copy(&dwtid_pid), core::mem::transmute_copy(&dwhashedver), core::mem::transmute_copy(&dwpara4)) { Ok(ok__) => { - core::ptr::write(ppiunknown, core::mem::transmute(ok__)); + ppiunknown.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -19462,7 +19462,7 @@ impl IPersistTuneXml_Vtbl { let this = (*this).get_impl(); match IPersistTuneXml_Impl::Save(this) { Ok(ok__) => { - core::ptr::write(pvarfragment, core::mem::transmute(ok__)); + pvarfragment.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -19490,7 +19490,7 @@ impl IPersistTuneXmlUtility_Vtbl { let this = (*this).get_impl(); match IPersistTuneXmlUtility_Impl::Deserialize(this, core::mem::transmute(&varvalue)) { Ok(ok__) => { - core::ptr::write(ppobject, core::mem::transmute(ok__)); + ppobject.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -19516,7 +19516,7 @@ impl IPersistTuneXmlUtility2_Vtbl { let this = (*this).get_impl(); match IPersistTuneXmlUtility2_Impl::Serialize(this, windows_core::from_raw_borrowed(&pitunerequest)) { Ok(ok__) => { - core::ptr::write(pstring, core::mem::transmute(ok__)); + pstring.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -19574,7 +19574,7 @@ impl ISBE2Crossbar_Vtbl { let this = (*this).get_impl(); match ISBE2Crossbar_Impl::GetInitialProfile(this) { Ok(ok__) => { - core::ptr::write(ppprofile, core::mem::transmute(ok__)); + ppprofile.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -19590,7 +19590,7 @@ impl ISBE2Crossbar_Vtbl { let this = (*this).get_impl(); match ISBE2Crossbar_Impl::EnumStreams(this) { Ok(ok__) => { - core::ptr::write(ppstreams, core::mem::transmute(ok__)); + ppstreams.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -19637,7 +19637,7 @@ impl ISBE2EnumStream_Vtbl { let this = (*this).get_impl(); match ISBE2EnumStream_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppienumstream, core::mem::transmute(ok__)); + ppienumstream.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -19723,7 +19723,7 @@ impl ISBE2MediaTypeProfile_Vtbl { let this = (*this).get_impl(); match ISBE2MediaTypeProfile_Impl::GetStreamCount(this) { Ok(ok__) => { - core::ptr::write(pcount, core::mem::transmute(ok__)); + pcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -19734,7 +19734,7 @@ impl ISBE2MediaTypeProfile_Vtbl { let this = (*this).get_impl(); match ISBE2MediaTypeProfile_Impl::GetStream(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(ppmediatype, core::mem::transmute(ok__)); + ppmediatype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -19802,7 +19802,7 @@ impl ISBE2StreamMap_Vtbl { let this = (*this).get_impl(); match ISBE2StreamMap_Impl::EnumMappedStreams(this) { Ok(ok__) => { - core::ptr::write(ppstreams, core::mem::transmute(ok__)); + ppstreams.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -19863,7 +19863,7 @@ impl ISCTE_EAS_Vtbl { let this = (*this).get_impl(); match ISCTE_EAS_Impl::GetVersionNumber(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -19874,7 +19874,7 @@ impl ISCTE_EAS_Vtbl { let this = (*this).get_impl(); match ISCTE_EAS_Impl::GetSequencyNumber(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -19885,7 +19885,7 @@ impl ISCTE_EAS_Vtbl { let this = (*this).get_impl(); match ISCTE_EAS_Impl::GetProtocolVersion(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -19896,7 +19896,7 @@ impl ISCTE_EAS_Vtbl { let this = (*this).get_impl(); match ISCTE_EAS_Impl::GetEASEventID(this) { Ok(ok__) => { - core::ptr::write(pwval, core::mem::transmute(ok__)); + pwval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -19907,7 +19907,7 @@ impl ISCTE_EAS_Vtbl { let this = (*this).get_impl(); match ISCTE_EAS_Impl::GetOriginatorCode(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -19918,7 +19918,7 @@ impl ISCTE_EAS_Vtbl { let this = (*this).get_impl(); match ISCTE_EAS_Impl::GetEASEventCodeLen(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -19929,7 +19929,7 @@ impl ISCTE_EAS_Vtbl { let this = (*this).get_impl(); match ISCTE_EAS_Impl::GetEASEventCode(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -19940,7 +19940,7 @@ impl ISCTE_EAS_Vtbl { let this = (*this).get_impl(); match ISCTE_EAS_Impl::GetRawNatureOfActivationTextLen(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -19951,7 +19951,7 @@ impl ISCTE_EAS_Vtbl { let this = (*this).get_impl(); match ISCTE_EAS_Impl::GetRawNatureOfActivationText(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -19962,7 +19962,7 @@ impl ISCTE_EAS_Vtbl { let this = (*this).get_impl(); match ISCTE_EAS_Impl::GetNatureOfActivationText(this, core::mem::transmute(&bstris0639code)) { Ok(ok__) => { - core::ptr::write(pbstrstring, core::mem::transmute(ok__)); + pbstrstring.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -19973,7 +19973,7 @@ impl ISCTE_EAS_Vtbl { let this = (*this).get_impl(); match ISCTE_EAS_Impl::GetTimeRemaining(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -19984,7 +19984,7 @@ impl ISCTE_EAS_Vtbl { let this = (*this).get_impl(); match ISCTE_EAS_Impl::GetStartTime(this) { Ok(ok__) => { - core::ptr::write(pdwval, core::mem::transmute(ok__)); + pdwval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -19995,7 +19995,7 @@ impl ISCTE_EAS_Vtbl { let this = (*this).get_impl(); match ISCTE_EAS_Impl::GetDuration(this) { Ok(ok__) => { - core::ptr::write(pwval, core::mem::transmute(ok__)); + pwval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -20006,7 +20006,7 @@ impl ISCTE_EAS_Vtbl { let this = (*this).get_impl(); match ISCTE_EAS_Impl::GetAlertPriority(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -20017,7 +20017,7 @@ impl ISCTE_EAS_Vtbl { let this = (*this).get_impl(); match ISCTE_EAS_Impl::GetDetailsOOBSourceID(this) { Ok(ok__) => { - core::ptr::write(pwval, core::mem::transmute(ok__)); + pwval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -20028,7 +20028,7 @@ impl ISCTE_EAS_Vtbl { let this = (*this).get_impl(); match ISCTE_EAS_Impl::GetDetailsMajor(this) { Ok(ok__) => { - core::ptr::write(pwval, core::mem::transmute(ok__)); + pwval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -20039,7 +20039,7 @@ impl ISCTE_EAS_Vtbl { let this = (*this).get_impl(); match ISCTE_EAS_Impl::GetDetailsMinor(this) { Ok(ok__) => { - core::ptr::write(pwval, core::mem::transmute(ok__)); + pwval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -20050,7 +20050,7 @@ impl ISCTE_EAS_Vtbl { let this = (*this).get_impl(); match ISCTE_EAS_Impl::GetDetailsAudioOOBSourceID(this) { Ok(ok__) => { - core::ptr::write(pwval, core::mem::transmute(ok__)); + pwval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -20061,7 +20061,7 @@ impl ISCTE_EAS_Vtbl { let this = (*this).get_impl(); match ISCTE_EAS_Impl::GetAlertText(this, core::mem::transmute(&bstris0639code)) { Ok(ok__) => { - core::ptr::write(pbstrstring, core::mem::transmute(ok__)); + pbstrstring.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -20072,7 +20072,7 @@ impl ISCTE_EAS_Vtbl { let this = (*this).get_impl(); match ISCTE_EAS_Impl::GetRawAlertTextLen(this) { Ok(ok__) => { - core::ptr::write(pwval, core::mem::transmute(ok__)); + pwval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -20083,7 +20083,7 @@ impl ISCTE_EAS_Vtbl { let this = (*this).get_impl(); match ISCTE_EAS_Impl::GetRawAlertText(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -20094,7 +20094,7 @@ impl ISCTE_EAS_Vtbl { let this = (*this).get_impl(); match ISCTE_EAS_Impl::GetLocationCount(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -20110,7 +20110,7 @@ impl ISCTE_EAS_Vtbl { let this = (*this).get_impl(); match ISCTE_EAS_Impl::GetExceptionCount(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -20126,7 +20126,7 @@ impl ISCTE_EAS_Vtbl { let this = (*this).get_impl(); match ISCTE_EAS_Impl::GetCountOfTableDescriptors(this) { Ok(ok__) => { - core::ptr::write(pdwval, core::mem::transmute(ok__)); + pdwval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -20137,7 +20137,7 @@ impl ISCTE_EAS_Vtbl { let this = (*this).get_impl(); match ISCTE_EAS_Impl::GetTableDescriptorByIndex(this, core::mem::transmute_copy(&dwindex)) { Ok(ok__) => { - core::ptr::write(ppdescriptor, core::mem::transmute(ok__)); + ppdescriptor.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -20208,7 +20208,7 @@ impl ISIInbandEPG_Vtbl { let this = (*this).get_impl(); match ISIInbandEPG_Impl::IsSIEPGScanRunning(this) { Ok(ok__) => { - core::ptr::write(brunning, core::mem::transmute(ok__)); + brunning.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -20324,7 +20324,7 @@ impl IScanningTunerEx_Vtbl { let this = (*this).get_impl(); match IScanningTunerEx_Impl::TerminateCurrentScan(this) { Ok(ok__) => { - core::ptr::write(pcurrentfreq, core::mem::transmute(ok__)); + pcurrentfreq.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -20403,7 +20403,7 @@ impl ISectionList_Vtbl { let this = (*this).get_impl(); match ISectionList_Impl::GetNumberOfSections(this) { Ok(ok__) => { - core::ptr::write(pcount, core::mem::transmute(ok__)); + pcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -20454,7 +20454,7 @@ impl IServiceLocationDescriptor_Vtbl { let this = (*this).get_impl(); match IServiceLocationDescriptor_Impl::GetPCR_PID(this) { Ok(ok__) => { - core::ptr::write(pwval, core::mem::transmute(ok__)); + pwval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -20465,7 +20465,7 @@ impl IServiceLocationDescriptor_Vtbl { let this = (*this).get_impl(); match IServiceLocationDescriptor_Impl::GetNumberOfElements(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -20476,7 +20476,7 @@ impl IServiceLocationDescriptor_Vtbl { let this = (*this).get_impl(); match IServiceLocationDescriptor_Impl::GetElementStreamType(this, core::mem::transmute_copy(&bindex)) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -20487,7 +20487,7 @@ impl IServiceLocationDescriptor_Vtbl { let this = (*this).get_impl(); match IServiceLocationDescriptor_Impl::GetElementPID(this, core::mem::transmute_copy(&bindex)) { Ok(ok__) => { - core::ptr::write(pwval, core::mem::transmute(ok__)); + pwval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -20532,7 +20532,7 @@ impl IStreamBufferConfigure_Vtbl { let this = (*this).get_impl(); match IStreamBufferConfigure_Impl::GetDirectory(this) { Ok(ok__) => { - core::ptr::write(ppszdirectoryname, core::mem::transmute(ok__)); + ppszdirectoryname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -20558,7 +20558,7 @@ impl IStreamBufferConfigure_Vtbl { let this = (*this).get_impl(); match IStreamBufferConfigure_Impl::GetBackingFileDuration(this) { Ok(ok__) => { - core::ptr::write(pdwseconds, core::mem::transmute(ok__)); + pdwseconds.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -20597,7 +20597,7 @@ impl IStreamBufferConfigure2_Vtbl { let this = (*this).get_impl(); match IStreamBufferConfigure2_Impl::GetMultiplexedPacketSize(this) { Ok(ok__) => { - core::ptr::write(pcbbytesperpacket, core::mem::transmute(ok__)); + pcbbytesperpacket.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -20644,7 +20644,7 @@ impl IStreamBufferConfigure3_Vtbl { let this = (*this).get_impl(); match IStreamBufferConfigure3_Impl::GetStartRecConfig(this) { Ok(ok__) => { - core::ptr::write(pfstartstopscur, core::mem::transmute(ok__)); + pfstartstopscur.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -20660,7 +20660,7 @@ impl IStreamBufferConfigure3_Vtbl { let this = (*this).get_impl(); match IStreamBufferConfigure3_Impl::GetNamespace(this) { Ok(ok__) => { - core::ptr::write(ppsznamespace, core::mem::transmute(ok__)); + ppsznamespace.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -20793,7 +20793,7 @@ impl IStreamBufferRecComp_Vtbl { let this = (*this).get_impl(); match IStreamBufferRecComp_Impl::GetCurrentLength(this) { Ok(ok__) => { - core::ptr::write(pcseconds, core::mem::transmute(ok__)); + pcseconds.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -20877,7 +20877,7 @@ impl IStreamBufferRecordingAttribute_Vtbl { let this = (*this).get_impl(); match IStreamBufferRecordingAttribute_Impl::GetAttributeCount(this, core::mem::transmute_copy(&ulreserved)) { Ok(ok__) => { - core::ptr::write(pcattributes, core::mem::transmute(ok__)); + pcattributes.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -20898,7 +20898,7 @@ impl IStreamBufferRecordingAttribute_Vtbl { let this = (*this).get_impl(); match IStreamBufferRecordingAttribute_Impl::EnumAttributes(this) { Ok(ok__) => { - core::ptr::write(ppienumstreambufferattrib, core::mem::transmute(ok__)); + ppienumstreambufferattrib.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -20935,7 +20935,7 @@ impl IStreamBufferSink_Vtbl { let this = (*this).get_impl(); match IStreamBufferSink_Impl::CreateRecorder(this, core::mem::transmute(&pszfilename), core::mem::transmute_copy(&dwrecordtype)) { Ok(ok__) => { - core::ptr::write(precordingiunknown, core::mem::transmute(ok__)); + precordingiunknown.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -21032,7 +21032,7 @@ impl ITSDT_Vtbl { let this = (*this).get_impl(); match ITSDT_Impl::GetVersionNumber(this) { Ok(ok__) => { - core::ptr::write(pbval, core::mem::transmute(ok__)); + pbval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -21043,7 +21043,7 @@ impl ITSDT_Vtbl { let this = (*this).get_impl(); match ITSDT_Impl::GetCountOfTableDescriptors(this) { Ok(ok__) => { - core::ptr::write(pdwval, core::mem::transmute(ok__)); + pdwval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -21054,7 +21054,7 @@ impl ITSDT_Vtbl { let this = (*this).get_impl(); match ITSDT_Impl::GetTableDescriptorByIndex(this, core::mem::transmute_copy(&dwindex)) { Ok(ok__) => { - core::ptr::write(ppdescriptor, core::mem::transmute(ok__)); + ppdescriptor.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -21075,7 +21075,7 @@ impl ITSDT_Vtbl { let this = (*this).get_impl(); match ITSDT_Impl::GetNextTable(this) { Ok(ok__) => { - core::ptr::write(pptsdt, core::mem::transmute(ok__)); + pptsdt.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -21126,7 +21126,7 @@ impl ITuneRequest_Vtbl { let this = (*this).get_impl(); match ITuneRequest_Impl::TuningSpace(this) { Ok(ok__) => { - core::ptr::write(tuningspace, core::mem::transmute(ok__)); + tuningspace.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -21137,7 +21137,7 @@ impl ITuneRequest_Vtbl { let this = (*this).get_impl(); match ITuneRequest_Impl::Components(this) { Ok(ok__) => { - core::ptr::write(components, core::mem::transmute(ok__)); + components.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -21148,7 +21148,7 @@ impl ITuneRequest_Vtbl { let this = (*this).get_impl(); match ITuneRequest_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(newtunerequest, core::mem::transmute(ok__)); + newtunerequest.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -21159,7 +21159,7 @@ impl ITuneRequest_Vtbl { let this = (*this).get_impl(); match ITuneRequest_Impl::Locator(this) { Ok(ok__) => { - core::ptr::write(locator, core::mem::transmute(ok__)); + locator.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -21218,7 +21218,7 @@ impl ITuneRequestInfo_Vtbl { let this = (*this).get_impl(); match ITuneRequestInfo_Impl::GetNextProgram(this, windows_core::from_raw_borrowed(¤trequest)) { Ok(ok__) => { - core::ptr::write(tunerequest, core::mem::transmute(ok__)); + tunerequest.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -21229,7 +21229,7 @@ impl ITuneRequestInfo_Vtbl { let this = (*this).get_impl(); match ITuneRequestInfo_Impl::GetPreviousProgram(this, windows_core::from_raw_borrowed(¤trequest)) { Ok(ok__) => { - core::ptr::write(tunerequest, core::mem::transmute(ok__)); + tunerequest.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -21240,7 +21240,7 @@ impl ITuneRequestInfo_Vtbl { let this = (*this).get_impl(); match ITuneRequestInfo_Impl::GetNextLocator(this, windows_core::from_raw_borrowed(¤trequest)) { Ok(ok__) => { - core::ptr::write(tunerequest, core::mem::transmute(ok__)); + tunerequest.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -21251,7 +21251,7 @@ impl ITuneRequestInfo_Vtbl { let this = (*this).get_impl(); match ITuneRequestInfo_Impl::GetPreviousLocator(this, windows_core::from_raw_borrowed(¤trequest)) { Ok(ok__) => { - core::ptr::write(tunerequest, core::mem::transmute(ok__)); + tunerequest.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -21286,7 +21286,7 @@ impl ITuneRequestInfoEx_Vtbl { let this = (*this).get_impl(); match ITuneRequestInfoEx_Impl::CreateComponentListEx(this, windows_core::from_raw_borrowed(¤trequest)) { Ok(ok__) => { - core::ptr::write(ppcurpmt, core::mem::transmute(ok__)); + ppcurpmt.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -21321,7 +21321,7 @@ impl ITuner_Vtbl { let this = (*this).get_impl(); match ITuner_Impl::TuningSpace(this) { Ok(ok__) => { - core::ptr::write(tuningspace, core::mem::transmute(ok__)); + tuningspace.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -21337,7 +21337,7 @@ impl ITuner_Vtbl { let this = (*this).get_impl(); match ITuner_Impl::EnumTuningSpaces(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -21348,7 +21348,7 @@ impl ITuner_Vtbl { let this = (*this).get_impl(); match ITuner_Impl::TuneRequest(this) { Ok(ok__) => { - core::ptr::write(tunerequest, core::mem::transmute(ok__)); + tunerequest.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -21369,7 +21369,7 @@ impl ITuner_Vtbl { let this = (*this).get_impl(); match ITuner_Impl::PreferredComponentTypes(this) { Ok(ok__) => { - core::ptr::write(componenttypes, core::mem::transmute(ok__)); + componenttypes.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -21385,7 +21385,7 @@ impl ITuner_Vtbl { let this = (*this).get_impl(); match ITuner_Impl::SignalStrength(this) { Ok(ok__) => { - core::ptr::write(strength, core::mem::transmute(ok__)); + strength.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -21459,7 +21459,7 @@ impl ITunerCapEx_Vtbl { let this = (*this).get_impl(); match ITunerCapEx_Impl::Has608_708Caption(this) { Ok(ok__) => { - core::ptr::write(pbhascaption, core::mem::transmute(ok__)); + pbhascaption.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -21503,7 +21503,7 @@ impl ITuningSpace_Vtbl { let this = (*this).get_impl(); match ITuningSpace_Impl::UniqueName(this) { Ok(ok__) => { - core::ptr::write(name, core::mem::transmute(ok__)); + name.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -21519,7 +21519,7 @@ impl ITuningSpace_Vtbl { let this = (*this).get_impl(); match ITuningSpace_Impl::FriendlyName(this) { Ok(ok__) => { - core::ptr::write(name, core::mem::transmute(ok__)); + name.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -21535,7 +21535,7 @@ impl ITuningSpace_Vtbl { let this = (*this).get_impl(); match ITuningSpace_Impl::CLSID(this) { Ok(ok__) => { - core::ptr::write(spaceclsid, core::mem::transmute(ok__)); + spaceclsid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -21546,7 +21546,7 @@ impl ITuningSpace_Vtbl { let this = (*this).get_impl(); match ITuningSpace_Impl::NetworkType(this) { Ok(ok__) => { - core::ptr::write(networktypeguid, core::mem::transmute(ok__)); + networktypeguid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -21562,7 +21562,7 @@ impl ITuningSpace_Vtbl { let this = (*this).get_impl(); match ITuningSpace_Impl::_NetworkType(this) { Ok(ok__) => { - core::ptr::write(networktypeguid, core::mem::transmute(ok__)); + networktypeguid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -21578,7 +21578,7 @@ impl ITuningSpace_Vtbl { let this = (*this).get_impl(); match ITuningSpace_Impl::CreateTuneRequest(this) { Ok(ok__) => { - core::ptr::write(tunerequest, core::mem::transmute(ok__)); + tunerequest.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -21589,7 +21589,7 @@ impl ITuningSpace_Vtbl { let this = (*this).get_impl(); match ITuningSpace_Impl::EnumCategoryGUIDs(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -21600,7 +21600,7 @@ impl ITuningSpace_Vtbl { let this = (*this).get_impl(); match ITuningSpace_Impl::EnumDeviceMonikers(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -21611,7 +21611,7 @@ impl ITuningSpace_Vtbl { let this = (*this).get_impl(); match ITuningSpace_Impl::DefaultPreferredComponentTypes(this) { Ok(ok__) => { - core::ptr::write(componenttypes, core::mem::transmute(ok__)); + componenttypes.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -21627,7 +21627,7 @@ impl ITuningSpace_Vtbl { let this = (*this).get_impl(); match ITuningSpace_Impl::FrequencyMapping(this) { Ok(ok__) => { - core::ptr::write(pmapping, core::mem::transmute(ok__)); + pmapping.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -21643,7 +21643,7 @@ impl ITuningSpace_Vtbl { let this = (*this).get_impl(); match ITuningSpace_Impl::DefaultLocator(this) { Ok(ok__) => { - core::ptr::write(locatorval, core::mem::transmute(ok__)); + locatorval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -21659,7 +21659,7 @@ impl ITuningSpace_Vtbl { let this = (*this).get_impl(); match ITuningSpace_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(newts, core::mem::transmute(ok__)); + newts.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -21718,7 +21718,7 @@ impl ITuningSpaceContainer_Vtbl { let this = (*this).get_impl(); match ITuningSpaceContainer_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(count, core::mem::transmute(ok__)); + count.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -21729,7 +21729,7 @@ impl ITuningSpaceContainer_Vtbl { let this = (*this).get_impl(); match ITuningSpaceContainer_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(newenum, core::mem::transmute(ok__)); + newenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -21740,7 +21740,7 @@ impl ITuningSpaceContainer_Vtbl { let this = (*this).get_impl(); match ITuningSpaceContainer_Impl::get_Item(this, core::mem::transmute(&varindex)) { Ok(ok__) => { - core::ptr::write(tuningspace, core::mem::transmute(ok__)); + tuningspace.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -21756,7 +21756,7 @@ impl ITuningSpaceContainer_Vtbl { let this = (*this).get_impl(); match ITuningSpaceContainer_Impl::TuningSpacesForCLSID(this, core::mem::transmute(&spaceclsid)) { Ok(ok__) => { - core::ptr::write(newcoll, core::mem::transmute(ok__)); + newcoll.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -21767,7 +21767,7 @@ impl ITuningSpaceContainer_Vtbl { let this = (*this).get_impl(); match ITuningSpaceContainer_Impl::_TuningSpacesForCLSID2(this, core::mem::transmute_copy(&spaceclsid)) { Ok(ok__) => { - core::ptr::write(newcoll, core::mem::transmute(ok__)); + newcoll.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -21778,7 +21778,7 @@ impl ITuningSpaceContainer_Vtbl { let this = (*this).get_impl(); match ITuningSpaceContainer_Impl::TuningSpacesForName(this, core::mem::transmute(&name)) { Ok(ok__) => { - core::ptr::write(newcoll, core::mem::transmute(ok__)); + newcoll.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -21789,7 +21789,7 @@ impl ITuningSpaceContainer_Vtbl { let this = (*this).get_impl(); match ITuningSpaceContainer_Impl::FindID(this, windows_core::from_raw_borrowed(&tuningspace)) { Ok(ok__) => { - core::ptr::write(id, core::mem::transmute(ok__)); + id.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -21800,7 +21800,7 @@ impl ITuningSpaceContainer_Vtbl { let this = (*this).get_impl(); match ITuningSpaceContainer_Impl::Add(this, windows_core::from_raw_borrowed(&tuningspace)) { Ok(ok__) => { - core::ptr::write(newindex, core::mem::transmute(ok__)); + newindex.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -21811,7 +21811,7 @@ impl ITuningSpaceContainer_Vtbl { let this = (*this).get_impl(); match ITuningSpaceContainer_Impl::EnumTuningSpaces(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -21827,7 +21827,7 @@ impl ITuningSpaceContainer_Vtbl { let this = (*this).get_impl(); match ITuningSpaceContainer_Impl::MaxCount(this) { Ok(ok__) => { - core::ptr::write(maxcount, core::mem::transmute(ok__)); + maxcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -21876,7 +21876,7 @@ impl ITuningSpaces_Vtbl { let this = (*this).get_impl(); match ITuningSpaces_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(count, core::mem::transmute(ok__)); + count.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -21887,7 +21887,7 @@ impl ITuningSpaces_Vtbl { let this = (*this).get_impl(); match ITuningSpaces_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(newenum, core::mem::transmute(ok__)); + newenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -21898,7 +21898,7 @@ impl ITuningSpaces_Vtbl { let this = (*this).get_impl(); match ITuningSpaces_Impl::get_Item(this, core::mem::transmute(&varindex)) { Ok(ok__) => { - core::ptr::write(tuningspace, core::mem::transmute(ok__)); + tuningspace.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -21909,7 +21909,7 @@ impl ITuningSpaces_Vtbl { let this = (*this).get_impl(); match ITuningSpaces_Impl::EnumTuningSpaces(this) { Ok(ok__) => { - core::ptr::write(newenum, core::mem::transmute(ok__)); + newenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -21944,7 +21944,7 @@ impl IXDSCodec_Vtbl { let this = (*this).get_impl(); match IXDSCodec_Impl::XDSToRatObjOK(this) { Ok(ok__) => { - core::ptr::write(phrcocreateretval, core::mem::transmute(ok__)); + phrcocreateretval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -21960,7 +21960,7 @@ impl IXDSCodec_Vtbl { let this = (*this).get_impl(); match IXDSCodec_Impl::CCSubstreamService(this) { Ok(ok__) => { - core::ptr::write(psubstreammask, core::mem::transmute(ok__)); + psubstreammask.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -21981,7 +21981,7 @@ impl IXDSCodec_Vtbl { let this = (*this).get_impl(); match IXDSCodec_Impl::GetCurrLicenseExpDate(this, core::mem::transmute_copy(&prottype)) { Ok(ok__) => { - core::ptr::write(lpdatetime, core::mem::transmute(ok__)); + lpdatetime.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -22019,7 +22019,7 @@ impl IXDSCodecConfig_Vtbl { let this = (*this).get_impl(); match IXDSCodecConfig_Impl::GetSecureChannelObject(this) { Ok(ok__) => { - core::ptr::write(ppunkdrmsecurechannel, core::mem::transmute(ok__)); + ppunkdrmsecurechannel.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/Win32/Media/DirectShow/impl.rs b/crates/libs/windows/src/Windows/Win32/Media/DirectShow/impl.rs index 05e3d26e81..d9b6851022 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/DirectShow/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/DirectShow/impl.rs @@ -17,7 +17,7 @@ impl IAMAnalogVideoDecoder_Vtbl { let this = (*this).get_impl(); match IAMAnalogVideoDecoder_Impl::AvailableTVFormats(this) { Ok(ok__) => { - core::ptr::write(lanalogvideostandard, core::mem::transmute(ok__)); + lanalogvideostandard.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -33,7 +33,7 @@ impl IAMAnalogVideoDecoder_Vtbl { let this = (*this).get_impl(); match IAMAnalogVideoDecoder_Impl::TVFormat(this) { Ok(ok__) => { - core::ptr::write(planalogvideostandard, core::mem::transmute(ok__)); + planalogvideostandard.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -44,7 +44,7 @@ impl IAMAnalogVideoDecoder_Vtbl { let this = (*this).get_impl(); match IAMAnalogVideoDecoder_Impl::HorizontalLocked(this) { Ok(ok__) => { - core::ptr::write(pllocked, core::mem::transmute(ok__)); + pllocked.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -60,7 +60,7 @@ impl IAMAnalogVideoDecoder_Vtbl { let this = (*this).get_impl(); match IAMAnalogVideoDecoder_Impl::VCRHorizontalLocking(this) { Ok(ok__) => { - core::ptr::write(plvcrhorizontallocking, core::mem::transmute(ok__)); + plvcrhorizontallocking.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -71,7 +71,7 @@ impl IAMAnalogVideoDecoder_Vtbl { let this = (*this).get_impl(); match IAMAnalogVideoDecoder_Impl::NumberOfLines(this) { Ok(ok__) => { - core::ptr::write(plnumberoflines, core::mem::transmute(ok__)); + plnumberoflines.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -87,7 +87,7 @@ impl IAMAnalogVideoDecoder_Vtbl { let this = (*this).get_impl(); match IAMAnalogVideoDecoder_Impl::OutputEnable(this) { Ok(ok__) => { - core::ptr::write(ploutputenable, core::mem::transmute(ok__)); + ploutputenable.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -127,7 +127,7 @@ impl IAMAnalogVideoEncoder_Vtbl { let this = (*this).get_impl(); match IAMAnalogVideoEncoder_Impl::AvailableTVFormats(this) { Ok(ok__) => { - core::ptr::write(lanalogvideostandard, core::mem::transmute(ok__)); + lanalogvideostandard.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -143,7 +143,7 @@ impl IAMAnalogVideoEncoder_Vtbl { let this = (*this).get_impl(); match IAMAnalogVideoEncoder_Impl::TVFormat(this) { Ok(ok__) => { - core::ptr::write(planalogvideostandard, core::mem::transmute(ok__)); + planalogvideostandard.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -159,7 +159,7 @@ impl IAMAnalogVideoEncoder_Vtbl { let this = (*this).get_impl(); match IAMAnalogVideoEncoder_Impl::CopyProtection(this) { Ok(ok__) => { - core::ptr::write(lvideocopyprotection, core::mem::transmute(ok__)); + lvideocopyprotection.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -175,7 +175,7 @@ impl IAMAnalogVideoEncoder_Vtbl { let this = (*this).get_impl(); match IAMAnalogVideoEncoder_Impl::CCEnable(this) { Ok(ok__) => { - core::ptr::write(lccenable, core::mem::transmute(ok__)); + lccenable.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -208,7 +208,7 @@ impl IAMAsyncReaderTimestampScaling_Vtbl { let this = (*this).get_impl(); match IAMAsyncReaderTimestampScaling_Impl::GetTimestampMode(this) { Ok(ok__) => { - core::ptr::write(pfraw, core::mem::transmute(ok__)); + pfraw.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -260,7 +260,7 @@ impl IAMAudioInputMixer_Vtbl { let this = (*this).get_impl(); match IAMAudioInputMixer_Impl::Enable(this) { Ok(ok__) => { - core::ptr::write(pfenable, core::mem::transmute(ok__)); + pfenable.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -276,7 +276,7 @@ impl IAMAudioInputMixer_Vtbl { let this = (*this).get_impl(); match IAMAudioInputMixer_Impl::Mono(this) { Ok(ok__) => { - core::ptr::write(pfmono, core::mem::transmute(ok__)); + pfmono.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -292,7 +292,7 @@ impl IAMAudioInputMixer_Vtbl { let this = (*this).get_impl(); match IAMAudioInputMixer_Impl::MixLevel(this) { Ok(ok__) => { - core::ptr::write(plevel, core::mem::transmute(ok__)); + plevel.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -308,7 +308,7 @@ impl IAMAudioInputMixer_Vtbl { let this = (*this).get_impl(); match IAMAudioInputMixer_Impl::Pan(this) { Ok(ok__) => { - core::ptr::write(ppan, core::mem::transmute(ok__)); + ppan.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -324,7 +324,7 @@ impl IAMAudioInputMixer_Vtbl { let this = (*this).get_impl(); match IAMAudioInputMixer_Impl::Loudness(this) { Ok(ok__) => { - core::ptr::write(pfloudness, core::mem::transmute(ok__)); + pfloudness.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -340,7 +340,7 @@ impl IAMAudioInputMixer_Vtbl { let this = (*this).get_impl(); match IAMAudioInputMixer_Impl::Treble(this) { Ok(ok__) => { - core::ptr::write(ptreble, core::mem::transmute(ok__)); + ptreble.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -351,7 +351,7 @@ impl IAMAudioInputMixer_Vtbl { let this = (*this).get_impl(); match IAMAudioInputMixer_Impl::TrebleRange(this) { Ok(ok__) => { - core::ptr::write(prange, core::mem::transmute(ok__)); + prange.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -367,7 +367,7 @@ impl IAMAudioInputMixer_Vtbl { let this = (*this).get_impl(); match IAMAudioInputMixer_Impl::Bass(this) { Ok(ok__) => { - core::ptr::write(pbass, core::mem::transmute(ok__)); + pbass.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -378,7 +378,7 @@ impl IAMAudioInputMixer_Vtbl { let this = (*this).get_impl(); match IAMAudioInputMixer_Impl::BassRange(this) { Ok(ok__) => { - core::ptr::write(prange, core::mem::transmute(ok__)); + prange.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -442,7 +442,7 @@ impl IAMBufferNegotiation_Vtbl { let this = (*this).get_impl(); match IAMBufferNegotiation_Impl::GetAllocatorProperties(this) { Ok(ok__) => { - core::ptr::write(pprop, core::mem::transmute(ok__)); + pprop.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -625,7 +625,7 @@ impl IAMClockSlave_Vtbl { let this = (*this).get_impl(); match IAMClockSlave_Impl::GetErrorTolerance(this) { Ok(ok__) => { - core::ptr::write(pdwtolerance, core::mem::transmute(ok__)); + pdwtolerance.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -657,7 +657,7 @@ impl IAMCollection_Vtbl { let this = (*this).get_impl(); match IAMCollection_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(plcount, core::mem::transmute(ok__)); + plcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -668,7 +668,7 @@ impl IAMCollection_Vtbl { let this = (*this).get_impl(); match IAMCollection_Impl::Item(this, core::mem::transmute_copy(&litem)) { Ok(ok__) => { - core::ptr::write(ppunk, core::mem::transmute(ok__)); + ppunk.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -679,7 +679,7 @@ impl IAMCollection_Vtbl { let this = (*this).get_impl(); match IAMCollection_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(ppunk, core::mem::transmute(ok__)); + ppunk.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -743,7 +743,7 @@ impl IAMCrossbar_Vtbl { let this = (*this).get_impl(); match IAMCrossbar_Impl::get_IsRoutedTo(this, core::mem::transmute_copy(&outputpinindex)) { Ok(ok__) => { - core::ptr::write(inputpinindex, core::mem::transmute(ok__)); + inputpinindex.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -778,7 +778,7 @@ impl IAMDecoderCaps_Vtbl { let this = (*this).get_impl(); match IAMDecoderCaps_Impl::GetDecoderCaps(this, core::mem::transmute_copy(&dwcapindex)) { Ok(ok__) => { - core::ptr::write(lpdwcap, core::mem::transmute(ok__)); + lpdwcap.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -861,7 +861,7 @@ impl IAMDevMemoryControl_Vtbl { let this = (*this).get_impl(); match IAMDevMemoryControl_Impl::GetDevId(this) { Ok(ok__) => { - core::ptr::write(pdwdevid, core::mem::transmute(ok__)); + pdwdevid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -933,7 +933,7 @@ impl IAMDirectSound_Vtbl { let this = (*this).get_impl(); match IAMDirectSound_Impl::GetDirectSoundInterface(this) { Ok(ok__) => { - core::ptr::write(lplpds, core::mem::transmute(ok__)); + lplpds.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -944,7 +944,7 @@ impl IAMDirectSound_Vtbl { let this = (*this).get_impl(); match IAMDirectSound_Impl::GetPrimaryBufferInterface(this) { Ok(ok__) => { - core::ptr::write(lplpdsb, core::mem::transmute(ok__)); + lplpdsb.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -955,7 +955,7 @@ impl IAMDirectSound_Vtbl { let this = (*this).get_impl(); match IAMDirectSound_Impl::GetSecondaryBufferInterface(this) { Ok(ok__) => { - core::ptr::write(lplpdsb, core::mem::transmute(ok__)); + lplpdsb.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1016,7 +1016,7 @@ impl IAMDroppedFrames_Vtbl { let this = (*this).get_impl(); match IAMDroppedFrames_Impl::GetNumDropped(this) { Ok(ok__) => { - core::ptr::write(pldropped, core::mem::transmute(ok__)); + pldropped.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1027,7 +1027,7 @@ impl IAMDroppedFrames_Vtbl { let this = (*this).get_impl(); match IAMDroppedFrames_Impl::GetNumNotDropped(this) { Ok(ok__) => { - core::ptr::write(plnotdropped, core::mem::transmute(ok__)); + plnotdropped.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1043,7 +1043,7 @@ impl IAMDroppedFrames_Vtbl { let this = (*this).get_impl(); match IAMDroppedFrames_Impl::GetAverageFrameSize(this) { Ok(ok__) => { - core::ptr::write(plaveragesize, core::mem::transmute(ok__)); + plaveragesize.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1084,7 +1084,7 @@ impl IAMExtDevice_Vtbl { let this = (*this).get_impl(); match IAMExtDevice_Impl::ExternalDeviceID(this) { Ok(ok__) => { - core::ptr::write(ppszdata, core::mem::transmute(ok__)); + ppszdata.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1095,7 +1095,7 @@ impl IAMExtDevice_Vtbl { let this = (*this).get_impl(); match IAMExtDevice_Impl::ExternalDeviceVersion(this) { Ok(ok__) => { - core::ptr::write(ppszdata, core::mem::transmute(ok__)); + ppszdata.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1111,7 +1111,7 @@ impl IAMExtDevice_Vtbl { let this = (*this).get_impl(); match IAMExtDevice_Impl::DevicePower(this) { Ok(ok__) => { - core::ptr::write(ppowermode, core::mem::transmute(ok__)); + ppowermode.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1122,7 +1122,7 @@ impl IAMExtDevice_Vtbl { let this = (*this).get_impl(); match IAMExtDevice_Impl::Calibrate(this, core::mem::transmute_copy(&hevent), core::mem::transmute_copy(&mode)) { Ok(ok__) => { - core::ptr::write(pstatus, core::mem::transmute(ok__)); + pstatus.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1138,7 +1138,7 @@ impl IAMExtDevice_Vtbl { let this = (*this).get_impl(); match IAMExtDevice_Impl::DevicePort(this) { Ok(ok__) => { - core::ptr::write(pdeviceport, core::mem::transmute(ok__)); + pdeviceport.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1208,7 +1208,7 @@ impl IAMExtTransport_Vtbl { let this = (*this).get_impl(); match IAMExtTransport_Impl::MediaState(this) { Ok(ok__) => { - core::ptr::write(pstate, core::mem::transmute(ok__)); + pstate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1224,7 +1224,7 @@ impl IAMExtTransport_Vtbl { let this = (*this).get_impl(); match IAMExtTransport_Impl::LocalControl(this) { Ok(ok__) => { - core::ptr::write(pstate, core::mem::transmute(ok__)); + pstate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1235,7 +1235,7 @@ impl IAMExtTransport_Vtbl { let this = (*this).get_impl(); match IAMExtTransport_Impl::GetStatus(this, core::mem::transmute_copy(&statusitem)) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1256,7 +1256,7 @@ impl IAMExtTransport_Vtbl { let this = (*this).get_impl(); match IAMExtTransport_Impl::GetTransportVideoParameters(this, core::mem::transmute_copy(¶m)) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1272,7 +1272,7 @@ impl IAMExtTransport_Vtbl { let this = (*this).get_impl(); match IAMExtTransport_Impl::GetTransportAudioParameters(this, core::mem::transmute_copy(¶m)) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1293,7 +1293,7 @@ impl IAMExtTransport_Vtbl { let this = (*this).get_impl(); match IAMExtTransport_Impl::Mode(this) { Ok(ok__) => { - core::ptr::write(pmode, core::mem::transmute(ok__)); + pmode.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1309,7 +1309,7 @@ impl IAMExtTransport_Vtbl { let this = (*this).get_impl(); match IAMExtTransport_Impl::Rate(this) { Ok(ok__) => { - core::ptr::write(pdblrate, core::mem::transmute(ok__)); + pdblrate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1340,7 +1340,7 @@ impl IAMExtTransport_Vtbl { let this = (*this).get_impl(); match IAMExtTransport_Impl::AntiClogControl(this) { Ok(ok__) => { - core::ptr::write(penabled, core::mem::transmute(ok__)); + penabled.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1356,7 +1356,7 @@ impl IAMExtTransport_Vtbl { let this = (*this).get_impl(); match IAMExtTransport_Impl::GetEditPropertySet(this, core::mem::transmute_copy(&editid)) { Ok(ok__) => { - core::ptr::write(pstate, core::mem::transmute(ok__)); + pstate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1372,7 +1372,7 @@ impl IAMExtTransport_Vtbl { let this = (*this).get_impl(); match IAMExtTransport_Impl::GetEditProperty(this, core::mem::transmute_copy(&editid), core::mem::transmute_copy(¶m)) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1388,7 +1388,7 @@ impl IAMExtTransport_Vtbl { let this = (*this).get_impl(); match IAMExtTransport_Impl::EditStart(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1646,7 +1646,7 @@ impl IAMLatency_Vtbl { let this = (*this).get_impl(); match IAMLatency_Impl::GetLatency(this) { Ok(ok__) => { - core::ptr::write(prtlatency, core::mem::transmute(ok__)); + prtlatency.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1995,7 +1995,7 @@ impl IAMMediaTypeSample_Vtbl { let this = (*this).get_impl(); match IAMMediaTypeSample_Impl::GetPointer(this) { Ok(ok__) => { - core::ptr::write(ppbuffer, core::mem::transmute(ok__)); + ppbuffer.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2051,7 +2051,7 @@ impl IAMMediaTypeSample_Vtbl { let this = (*this).get_impl(); match IAMMediaTypeSample_Impl::GetMediaType(this) { Ok(ok__) => { - core::ptr::write(ppmediatype, core::mem::transmute(ok__)); + ppmediatype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2135,7 +2135,7 @@ impl IAMMediaTypeStream_Vtbl { let this = (*this).get_impl(); match IAMMediaTypeStream_Impl::CreateSample(this, core::mem::transmute_copy(&lsamplesize), core::mem::transmute_copy(&pbbuffer), core::mem::transmute_copy(&dwflags), windows_core::from_raw_borrowed(&punkouter)) { Ok(ok__) => { - core::ptr::write(ppammediatypesample, core::mem::transmute(ok__)); + ppammediatypesample.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2146,7 +2146,7 @@ impl IAMMediaTypeStream_Vtbl { let this = (*this).get_impl(); match IAMMediaTypeStream_Impl::GetStreamAllocatorRequirements(this) { Ok(ok__) => { - core::ptr::write(pprops, core::mem::transmute(ok__)); + pprops.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2195,7 +2195,7 @@ impl IAMMultiMediaStream_Vtbl { let this = (*this).get_impl(); match IAMMultiMediaStream_Impl::GetFilterGraph(this) { Ok(ok__) => { - core::ptr::write(ppgraphbuilder, core::mem::transmute(ok__)); + ppgraphbuilder.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2206,7 +2206,7 @@ impl IAMMultiMediaStream_Vtbl { let this = (*this).get_impl(); match IAMMultiMediaStream_Impl::GetFilter(this) { Ok(ok__) => { - core::ptr::write(ppfilter, core::mem::transmute(ok__)); + ppfilter.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2217,7 +2217,7 @@ impl IAMMultiMediaStream_Vtbl { let this = (*this).get_impl(); match IAMMultiMediaStream_Impl::AddMediaStream(this, windows_core::from_raw_borrowed(&pstreamobject), core::mem::transmute_copy(&purposeid), core::mem::transmute(&dwflags)) { Ok(ok__) => { - core::ptr::write(ppnewstream, core::mem::transmute(ok__)); + ppnewstream.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2637,7 +2637,7 @@ impl IAMOverlayFX_Vtbl { let this = (*this).get_impl(); match IAMOverlayFX_Impl::QueryOverlayFXCaps(this) { Ok(ok__) => { - core::ptr::write(lpdwoverlayfxcaps, core::mem::transmute(ok__)); + lpdwoverlayfxcaps.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2653,7 +2653,7 @@ impl IAMOverlayFX_Vtbl { let this = (*this).get_impl(); match IAMOverlayFX_Impl::GetOverlayFX(this) { Ok(ok__) => { - core::ptr::write(lpdwoverlayfx, core::mem::transmute(ok__)); + lpdwoverlayfx.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2683,7 +2683,7 @@ impl IAMParse_Vtbl { let this = (*this).get_impl(); match IAMParse_Impl::GetParseTime(this) { Ok(ok__) => { - core::ptr::write(prtcurrent, core::mem::transmute(ok__)); + prtcurrent.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2742,7 +2742,7 @@ impl IAMPlayList_Vtbl { let this = (*this).get_impl(); match IAMPlayList_Impl::GetFlags(this) { Ok(ok__) => { - core::ptr::write(pdwflags, core::mem::transmute(ok__)); + pdwflags.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2753,7 +2753,7 @@ impl IAMPlayList_Vtbl { let this = (*this).get_impl(); match IAMPlayList_Impl::GetItemCount(this) { Ok(ok__) => { - core::ptr::write(pdwitems, core::mem::transmute(ok__)); + pdwitems.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2764,7 +2764,7 @@ impl IAMPlayList_Vtbl { let this = (*this).get_impl(); match IAMPlayList_Impl::GetItem(this, core::mem::transmute_copy(&dwitemindex)) { Ok(ok__) => { - core::ptr::write(ppitem, core::mem::transmute(ok__)); + ppitem.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2814,7 +2814,7 @@ impl IAMPlayListItem_Vtbl { let this = (*this).get_impl(); match IAMPlayListItem_Impl::GetFlags(this) { Ok(ok__) => { - core::ptr::write(pdwflags, core::mem::transmute(ok__)); + pdwflags.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2825,7 +2825,7 @@ impl IAMPlayListItem_Vtbl { let this = (*this).get_impl(); match IAMPlayListItem_Impl::GetSourceCount(this) { Ok(ok__) => { - core::ptr::write(pdwsources, core::mem::transmute(ok__)); + pdwsources.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2836,7 +2836,7 @@ impl IAMPlayListItem_Vtbl { let this = (*this).get_impl(); match IAMPlayListItem_Impl::GetSourceURL(this, core::mem::transmute_copy(&dwsourceindex)) { Ok(ok__) => { - core::ptr::write(pbstrurl, core::mem::transmute(ok__)); + pbstrurl.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2847,7 +2847,7 @@ impl IAMPlayListItem_Vtbl { let this = (*this).get_impl(); match IAMPlayListItem_Impl::GetSourceStart(this, core::mem::transmute_copy(&dwsourceindex)) { Ok(ok__) => { - core::ptr::write(prtstart, core::mem::transmute(ok__)); + prtstart.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2858,7 +2858,7 @@ impl IAMPlayListItem_Vtbl { let this = (*this).get_impl(); match IAMPlayListItem_Impl::GetSourceDuration(this, core::mem::transmute_copy(&dwsourceindex)) { Ok(ok__) => { - core::ptr::write(prtduration, core::mem::transmute(ok__)); + prtduration.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2869,7 +2869,7 @@ impl IAMPlayListItem_Vtbl { let this = (*this).get_impl(); match IAMPlayListItem_Impl::GetSourceStartMarker(this, core::mem::transmute_copy(&dwsourceindex)) { Ok(ok__) => { - core::ptr::write(pdwmarker, core::mem::transmute(ok__)); + pdwmarker.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2880,7 +2880,7 @@ impl IAMPlayListItem_Vtbl { let this = (*this).get_impl(); match IAMPlayListItem_Impl::GetSourceEndMarker(this, core::mem::transmute_copy(&dwsourceindex)) { Ok(ok__) => { - core::ptr::write(pdwmarker, core::mem::transmute(ok__)); + pdwmarker.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2891,7 +2891,7 @@ impl IAMPlayListItem_Vtbl { let this = (*this).get_impl(); match IAMPlayListItem_Impl::GetSourceStartMarkerName(this, core::mem::transmute_copy(&dwsourceindex)) { Ok(ok__) => { - core::ptr::write(pbstrstartmarker, core::mem::transmute(ok__)); + pbstrstartmarker.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2902,7 +2902,7 @@ impl IAMPlayListItem_Vtbl { let this = (*this).get_impl(); match IAMPlayListItem_Impl::GetSourceEndMarkerName(this, core::mem::transmute_copy(&dwsourceindex)) { Ok(ok__) => { - core::ptr::write(pbstrendmarker, core::mem::transmute(ok__)); + pbstrendmarker.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2913,7 +2913,7 @@ impl IAMPlayListItem_Vtbl { let this = (*this).get_impl(); match IAMPlayListItem_Impl::GetLinkURL(this) { Ok(ok__) => { - core::ptr::write(pbstrurl, core::mem::transmute(ok__)); + pbstrurl.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2924,7 +2924,7 @@ impl IAMPlayListItem_Vtbl { let this = (*this).get_impl(); match IAMPlayListItem_Impl::GetScanDuration(this, core::mem::transmute_copy(&dwsourceindex)) { Ok(ok__) => { - core::ptr::write(prtscanduration, core::mem::transmute(ok__)); + prtscanduration.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2966,7 +2966,7 @@ impl IAMPluginControl_Vtbl { let this = (*this).get_impl(); match IAMPluginControl_Impl::GetPreferredClsid(this, core::mem::transmute_copy(&subtype)) { Ok(ok__) => { - core::ptr::write(clsid, core::mem::transmute(ok__)); + clsid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2992,7 +2992,7 @@ impl IAMPluginControl_Vtbl { let this = (*this).get_impl(); match IAMPluginControl_Impl::GetDisabledByIndex(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(clsid, core::mem::transmute(ok__)); + clsid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3039,7 +3039,7 @@ impl IAMPushSource_Vtbl { let this = (*this).get_impl(); match IAMPushSource_Impl::GetPushSourceFlags(this) { Ok(ok__) => { - core::ptr::write(pflags, core::mem::transmute(ok__)); + pflags.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3060,7 +3060,7 @@ impl IAMPushSource_Vtbl { let this = (*this).get_impl(); match IAMPushSource_Impl::GetStreamOffset(this) { Ok(ok__) => { - core::ptr::write(prtoffset, core::mem::transmute(ok__)); + prtoffset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3071,7 +3071,7 @@ impl IAMPushSource_Vtbl { let this = (*this).get_impl(); match IAMPushSource_Impl::GetMaxStreamOffset(this) { Ok(ok__) => { - core::ptr::write(prtmaxoffset, core::mem::transmute(ok__)); + prtmaxoffset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3154,7 +3154,7 @@ impl IAMStats_Vtbl { let this = (*this).get_impl(); match IAMStats_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(plcount, core::mem::transmute(ok__)); + plcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3175,7 +3175,7 @@ impl IAMStats_Vtbl { let this = (*this).get_impl(); match IAMStats_Impl::GetIndex(this, core::mem::transmute(&szname), core::mem::transmute_copy(&lcreate)) { Ok(ok__) => { - core::ptr::write(plindex, core::mem::transmute(ok__)); + plindex.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3222,7 +3222,7 @@ impl IAMStreamConfig_Vtbl { let this = (*this).get_impl(); match IAMStreamConfig_Impl::GetFormat(this) { Ok(ok__) => { - core::ptr::write(ppmt, core::mem::transmute(ok__)); + ppmt.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3300,7 +3300,7 @@ impl IAMStreamSelect_Vtbl { let this = (*this).get_impl(); match IAMStreamSelect_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(pcstreams, core::mem::transmute(ok__)); + pcstreams.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3343,7 +3343,7 @@ impl IAMTVAudio_Vtbl { let this = (*this).get_impl(); match IAMTVAudio_Impl::GetHardwareSupportedTVAudioModes(this) { Ok(ok__) => { - core::ptr::write(plmodes, core::mem::transmute(ok__)); + plmodes.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3354,7 +3354,7 @@ impl IAMTVAudio_Vtbl { let this = (*this).get_impl(); match IAMTVAudio_Impl::GetAvailableTVAudioModes(this) { Ok(ok__) => { - core::ptr::write(plmodes, core::mem::transmute(ok__)); + plmodes.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3365,7 +3365,7 @@ impl IAMTVAudio_Vtbl { let this = (*this).get_impl(); match IAMTVAudio_Impl::TVAudioMode(this) { Ok(ok__) => { - core::ptr::write(plmode, core::mem::transmute(ok__)); + plmode.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3438,7 +3438,7 @@ impl IAMTVTuner_Vtbl { let this = (*this).get_impl(); match IAMTVTuner_Impl::AvailableTVFormats(this) { Ok(ok__) => { - core::ptr::write(lanalogvideostandard, core::mem::transmute(ok__)); + lanalogvideostandard.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3449,7 +3449,7 @@ impl IAMTVTuner_Vtbl { let this = (*this).get_impl(); match IAMTVTuner_Impl::TVFormat(this) { Ok(ok__) => { - core::ptr::write(planalogvideostandard, core::mem::transmute(ok__)); + planalogvideostandard.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3460,7 +3460,7 @@ impl IAMTVTuner_Vtbl { let this = (*this).get_impl(); match IAMTVTuner_Impl::AutoTune(this, core::mem::transmute_copy(&lchannel)) { Ok(ok__) => { - core::ptr::write(plfoundsignal, core::mem::transmute(ok__)); + plfoundsignal.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3476,7 +3476,7 @@ impl IAMTVTuner_Vtbl { let this = (*this).get_impl(); match IAMTVTuner_Impl::NumInputConnections(this) { Ok(ok__) => { - core::ptr::write(plnuminputconnections, core::mem::transmute(ok__)); + plnuminputconnections.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3492,7 +3492,7 @@ impl IAMTVTuner_Vtbl { let this = (*this).get_impl(); match IAMTVTuner_Impl::get_InputType(this, core::mem::transmute_copy(&lindex)) { Ok(ok__) => { - core::ptr::write(pinputtype, core::mem::transmute(ok__)); + pinputtype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3508,7 +3508,7 @@ impl IAMTVTuner_Vtbl { let this = (*this).get_impl(); match IAMTVTuner_Impl::ConnectInput(this) { Ok(ok__) => { - core::ptr::write(plindex, core::mem::transmute(ok__)); + plindex.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3519,7 +3519,7 @@ impl IAMTVTuner_Vtbl { let this = (*this).get_impl(); match IAMTVTuner_Impl::VideoFrequency(this) { Ok(ok__) => { - core::ptr::write(lfreq, core::mem::transmute(ok__)); + lfreq.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3530,7 +3530,7 @@ impl IAMTVTuner_Vtbl { let this = (*this).get_impl(); match IAMTVTuner_Impl::AudioFrequency(this) { Ok(ok__) => { - core::ptr::write(lfreq, core::mem::transmute(ok__)); + lfreq.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3569,7 +3569,7 @@ impl IAMTimecodeDisplay_Vtbl { let this = (*this).get_impl(); match IAMTimecodeDisplay_Impl::GetTCDisplayEnable(this) { Ok(ok__) => { - core::ptr::write(pstate, core::mem::transmute(ok__)); + pstate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3585,7 +3585,7 @@ impl IAMTimecodeDisplay_Vtbl { let this = (*this).get_impl(); match IAMTimecodeDisplay_Impl::GetTCDisplay(this, core::mem::transmute_copy(¶m)) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3624,7 +3624,7 @@ impl IAMTimecodeGenerator_Vtbl { let this = (*this).get_impl(); match IAMTimecodeGenerator_Impl::GetTCGMode(this, core::mem::transmute_copy(¶m)) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3645,7 +3645,7 @@ impl IAMTimecodeGenerator_Vtbl { let this = (*this).get_impl(); match IAMTimecodeGenerator_Impl::VITCLine(this) { Ok(ok__) => { - core::ptr::write(pline, core::mem::transmute(ok__)); + pline.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3690,7 +3690,7 @@ impl IAMTimecodeReader_Vtbl { let this = (*this).get_impl(); match IAMTimecodeReader_Impl::GetTCRMode(this, core::mem::transmute_copy(¶m)) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3711,7 +3711,7 @@ impl IAMTimecodeReader_Vtbl { let this = (*this).get_impl(); match IAMTimecodeReader_Impl::VITCLine(this) { Ok(ok__) => { - core::ptr::write(pline, core::mem::transmute(ok__)); + pline.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3780,7 +3780,7 @@ impl IAMTuner_Vtbl { let this = (*this).get_impl(); match IAMTuner_Impl::CountryCode(this) { Ok(ok__) => { - core::ptr::write(plcountrycode, core::mem::transmute(ok__)); + plcountrycode.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3796,7 +3796,7 @@ impl IAMTuner_Vtbl { let this = (*this).get_impl(); match IAMTuner_Impl::TuningSpace(this) { Ok(ok__) => { - core::ptr::write(pltuningspace, core::mem::transmute(ok__)); + pltuningspace.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3817,7 +3817,7 @@ impl IAMTuner_Vtbl { let this = (*this).get_impl(); match IAMTuner_Impl::SignalPresent(this) { Ok(ok__) => { - core::ptr::write(plsignalstrength, core::mem::transmute(ok__)); + plsignalstrength.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3833,7 +3833,7 @@ impl IAMTuner_Vtbl { let this = (*this).get_impl(); match IAMTuner_Impl::Mode(this) { Ok(ok__) => { - core::ptr::write(plmode, core::mem::transmute(ok__)); + plmode.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3844,7 +3844,7 @@ impl IAMTuner_Vtbl { let this = (*this).get_impl(); match IAMTuner_Impl::GetAvailableModes(this) { Ok(ok__) => { - core::ptr::write(plmodes, core::mem::transmute(ok__)); + plmodes.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4138,7 +4138,7 @@ impl IAMVideoCompression_Vtbl { let this = (*this).get_impl(); match IAMVideoCompression_Impl::KeyFrameRate(this) { Ok(ok__) => { - core::ptr::write(pkeyframerate, core::mem::transmute(ok__)); + pkeyframerate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4154,7 +4154,7 @@ impl IAMVideoCompression_Vtbl { let this = (*this).get_impl(); match IAMVideoCompression_Impl::PFramesPerKeyFrame(this) { Ok(ok__) => { - core::ptr::write(ppframesperkeyframe, core::mem::transmute(ok__)); + ppframesperkeyframe.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4170,7 +4170,7 @@ impl IAMVideoCompression_Vtbl { let this = (*this).get_impl(); match IAMVideoCompression_Impl::Quality(this) { Ok(ok__) => { - core::ptr::write(pquality, core::mem::transmute(ok__)); + pquality.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4186,7 +4186,7 @@ impl IAMVideoCompression_Vtbl { let this = (*this).get_impl(); match IAMVideoCompression_Impl::WindowSize(this) { Ok(ok__) => { - core::ptr::write(pwindowsize, core::mem::transmute(ok__)); + pwindowsize.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4242,7 +4242,7 @@ impl IAMVideoControl_Vtbl { let this = (*this).get_impl(); match IAMVideoControl_Impl::GetCaps(this, windows_core::from_raw_borrowed(&ppin)) { Ok(ok__) => { - core::ptr::write(pcapsflags, core::mem::transmute(ok__)); + pcapsflags.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4258,7 +4258,7 @@ impl IAMVideoControl_Vtbl { let this = (*this).get_impl(); match IAMVideoControl_Impl::GetMode(this, windows_core::from_raw_borrowed(&ppin)) { Ok(ok__) => { - core::ptr::write(mode, core::mem::transmute(ok__)); + mode.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4269,7 +4269,7 @@ impl IAMVideoControl_Vtbl { let this = (*this).get_impl(); match IAMVideoControl_Impl::GetCurrentActualFrameRate(this, windows_core::from_raw_borrowed(&ppin)) { Ok(ok__) => { - core::ptr::write(actualframerate, core::mem::transmute(ok__)); + actualframerate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4280,7 +4280,7 @@ impl IAMVideoControl_Vtbl { let this = (*this).get_impl(); match IAMVideoControl_Impl::GetMaxAvailableFrameRate(this, windows_core::from_raw_borrowed(&ppin), core::mem::transmute_copy(&iindex), core::mem::transmute(&dimensions)) { Ok(ok__) => { - core::ptr::write(maxavailableframerate, core::mem::transmute(ok__)); + maxavailableframerate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4317,7 +4317,7 @@ impl IAMVideoDecimationProperties_Vtbl { let this = (*this).get_impl(); match IAMVideoDecimationProperties_Impl::QueryDecimationUsage(this) { Ok(ok__) => { - core::ptr::write(lpusage, core::mem::transmute(ok__)); + lpusage.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4596,7 +4596,7 @@ impl IAsyncReader_Vtbl { let this = (*this).get_impl(); match IAsyncReader_Impl::RequestAllocator(this, windows_core::from_raw_borrowed(&ppreferred), core::mem::transmute_copy(&pprops)) { Ok(ok__) => { - core::ptr::write(ppactual, core::mem::transmute(ok__)); + ppactual.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4709,7 +4709,7 @@ impl IAudioMediaStream_Vtbl { let this = (*this).get_impl(); match IAudioMediaStream_Impl::CreateSample(this, windows_core::from_raw_borrowed(&paudiodata), core::mem::transmute_copy(&dwflags)) { Ok(ok__) => { - core::ptr::write(ppsample, core::mem::transmute(ok__)); + ppsample.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4737,7 +4737,7 @@ impl IAudioStreamSample_Vtbl { let this = (*this).get_impl(); match IAudioStreamSample_Impl::GetAudioData(this) { Ok(ok__) => { - core::ptr::write(ppaudio, core::mem::transmute(ok__)); + ppaudio.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4761,7 +4761,7 @@ impl IBDA_AUX_Vtbl { let this = (*this).get_impl(); match IBDA_AUX_Impl::QueryCapabilities(this) { Ok(ok__) => { - core::ptr::write(pdwnumauxinputsbstr, core::mem::transmute(ok__)); + pdwnumauxinputsbstr.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4868,7 +4868,7 @@ impl IBDA_ConditionalAccess_Vtbl { let this = (*this).get_impl(); match IBDA_ConditionalAccess_Impl::get_Entitlement(this, core::mem::transmute_copy(&usvirtualchannel)) { Ok(ok__) => { - core::ptr::write(pentitlement, core::mem::transmute(ok__)); + pentitlement.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4899,7 +4899,7 @@ impl IBDA_ConditionalAccess_Vtbl { let this = (*this).get_impl(); match IBDA_ConditionalAccess_Impl::GetModuleUI(this, core::mem::transmute_copy(&bydialognumber)) { Ok(ok__) => { - core::ptr::write(pbstrurl, core::mem::transmute(ok__)); + pbstrurl.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4943,7 +4943,7 @@ impl IBDA_ConditionalAccessEx_Vtbl { let this = (*this).get_impl(); match IBDA_ConditionalAccessEx_Impl::CheckEntitlementToken(this, core::mem::transmute_copy(&uldialogrequest), core::mem::transmute(&bstrlanguage), core::mem::transmute_copy(&requesttype), core::mem::transmute_copy(&ulcbentitlementtokenlen), core::mem::transmute_copy(&pbentitlementtoken)) { Ok(ok__) => { - core::ptr::write(puldescramblestatus, core::mem::transmute(ok__)); + puldescramblestatus.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4964,7 +4964,7 @@ impl IBDA_ConditionalAccessEx_Vtbl { let this = (*this).get_impl(); match IBDA_ConditionalAccessEx_Impl::CloseMmiDialog(this, core::mem::transmute_copy(&uldialogrequest), core::mem::transmute(&bstrlanguage), core::mem::transmute_copy(&uldialognumber), core::mem::transmute_copy(&reasoncode)) { Ok(ok__) => { - core::ptr::write(pulsessionresult, core::mem::transmute(ok__)); + pulsessionresult.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4975,7 +4975,7 @@ impl IBDA_ConditionalAccessEx_Vtbl { let this = (*this).get_impl(); match IBDA_ConditionalAccessEx_Impl::CreateDialogRequestNumber(this) { Ok(ok__) => { - core::ptr::write(puldialogrequestnumber, core::mem::transmute(ok__)); + puldialogrequestnumber.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5596,7 +5596,7 @@ impl IBDA_EthernetFilter_Vtbl { let this = (*this).get_impl(); match IBDA_EthernetFilter_Impl::GetMulticastMode(this) { Ok(ok__) => { - core::ptr::write(pulmodemask, core::mem::transmute(ok__)); + pulmodemask.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5659,7 +5659,7 @@ impl IBDA_FDC_Vtbl { let this = (*this).get_impl(); match IBDA_FDC_Impl::AddPid(this, core::mem::transmute(&pidstoadd)) { Ok(ok__) => { - core::ptr::write(remainingfilterentries, core::mem::transmute(ok__)); + remainingfilterentries.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5675,7 +5675,7 @@ impl IBDA_FDC_Vtbl { let this = (*this).get_impl(); match IBDA_FDC_Impl::AddTid(this, core::mem::transmute(&tidstoadd)) { Ok(ok__) => { - core::ptr::write(currenttidlist, core::mem::transmute(ok__)); + currenttidlist.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5819,7 +5819,7 @@ impl IBDA_GuideDataDeliveryService_Vtbl { let this = (*this).get_impl(); match IBDA_GuideDataDeliveryService_Impl::GetGuideDataType(this) { Ok(ok__) => { - core::ptr::write(pguiddatatype, core::mem::transmute(ok__)); + pguiddatatype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5840,7 +5840,7 @@ impl IBDA_GuideDataDeliveryService_Vtbl { let this = (*this).get_impl(); match IBDA_GuideDataDeliveryService_Impl::GetTuneXmlFromServiceIdx(this, core::mem::transmute_copy(&ul64serviceidx)) { Ok(ok__) => { - core::ptr::write(pbstrtunexml, core::mem::transmute(ok__)); + pbstrtunexml.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5856,7 +5856,7 @@ impl IBDA_GuideDataDeliveryService_Vtbl { let this = (*this).get_impl(); match IBDA_GuideDataDeliveryService_Impl::GetServiceInfoFromTuneXml(this, core::mem::transmute(&bstrtunexml)) { Ok(ok__) => { - core::ptr::write(pbstrservicedescription, core::mem::transmute(ok__)); + pbstrservicedescription.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5921,7 +5921,7 @@ impl IBDA_IPSinkInfo_Vtbl { let this = (*this).get_impl(); match IBDA_IPSinkInfo_Impl::AdapterIPAddress(this) { Ok(ok__) => { - core::ptr::write(pbstrbuffer, core::mem::transmute(ok__)); + pbstrbuffer.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5932,7 +5932,7 @@ impl IBDA_IPSinkInfo_Vtbl { let this = (*this).get_impl(); match IBDA_IPSinkInfo_Impl::AdapterDescription(this) { Ok(ok__) => { - core::ptr::write(pbstrbuffer, core::mem::transmute(ok__)); + pbstrbuffer.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5984,7 +5984,7 @@ impl IBDA_IPV4Filter_Vtbl { let this = (*this).get_impl(); match IBDA_IPV4Filter_Impl::GetMulticastMode(this) { Ok(ok__) => { - core::ptr::write(pulmodemask, core::mem::transmute(ok__)); + pulmodemask.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6038,7 +6038,7 @@ impl IBDA_IPV6Filter_Vtbl { let this = (*this).get_impl(); match IBDA_IPV6Filter_Impl::GetMulticastMode(this) { Ok(ok__) => { - core::ptr::write(pulmodemask, core::mem::transmute(ok__)); + pulmodemask.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6169,7 +6169,7 @@ impl IBDA_NameValueService_Vtbl { let this = (*this).get_impl(); match IBDA_NameValueService_Impl::GetValueNameByIndex(this, core::mem::transmute_copy(&ulindex)) { Ok(ok__) => { - core::ptr::write(pbstrname, core::mem::transmute(ok__)); + pbstrname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6180,7 +6180,7 @@ impl IBDA_NameValueService_Vtbl { let this = (*this).get_impl(); match IBDA_NameValueService_Impl::GetValue(this, core::mem::transmute(&bstrname), core::mem::transmute(&bstrlanguage)) { Ok(ok__) => { - core::ptr::write(pbstrvalue, core::mem::transmute(ok__)); + pbstrvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6563,7 +6563,7 @@ impl IBDA_TransportStreamInfo_Vtbl { let this = (*this).get_impl(); match IBDA_TransportStreamInfo_Impl::PatTableTickCount(this) { Ok(ok__) => { - core::ptr::write(ppattickcount, core::mem::transmute(ok__)); + ppattickcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6620,7 +6620,7 @@ impl IBDA_UserActivityService_Vtbl { let this = (*this).get_impl(); match IBDA_UserActivityService_Impl::GetUserActivityInterval(this) { Ok(ok__) => { - core::ptr::write(pdwactivityinterval, core::mem::transmute(ok__)); + pdwactivityinterval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6765,7 +6765,7 @@ impl IBDA_WMDRMTuner_Vtbl { let this = (*this).get_impl(); match IBDA_WMDRMTuner_Impl::GetPidProtection(this, core::mem::transmute_copy(&pulpid)) { Ok(ok__) => { - core::ptr::write(uuidkey, core::mem::transmute(ok__)); + uuidkey.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6847,7 +6847,7 @@ impl IBaseFilter_Vtbl { let this = (*this).get_impl(); match IBaseFilter_Impl::EnumPins(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6858,7 +6858,7 @@ impl IBaseFilter_Vtbl { let this = (*this).get_impl(); match IBaseFilter_Impl::FindPin(this, core::mem::transmute(&id)) { Ok(ok__) => { - core::ptr::write(pppin, core::mem::transmute(ok__)); + pppin.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6879,7 +6879,7 @@ impl IBaseFilter_Vtbl { let this = (*this).get_impl(); match IBaseFilter_Impl::QueryVendorInfo(this) { Ok(ok__) => { - core::ptr::write(pvendorinfo, core::mem::transmute(ok__)); + pvendorinfo.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6920,7 +6920,7 @@ impl IBaseVideoMixer_Vtbl { let this = (*this).get_impl(); match IBaseVideoMixer_Impl::GetLeadPin(this) { Ok(ok__) => { - core::ptr::write(pipin, core::mem::transmute(ok__)); + pipin.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6931,7 +6931,7 @@ impl IBaseVideoMixer_Vtbl { let this = (*this).get_impl(); match IBaseVideoMixer_Impl::GetInputPinCount(this) { Ok(ok__) => { - core::ptr::write(pipincount, core::mem::transmute(ok__)); + pipincount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6942,7 +6942,7 @@ impl IBaseVideoMixer_Vtbl { let this = (*this).get_impl(); match IBaseVideoMixer_Impl::IsUsingClock(this) { Ok(ok__) => { - core::ptr::write(pbvalue, core::mem::transmute(ok__)); + pbvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6958,7 +6958,7 @@ impl IBaseVideoMixer_Vtbl { let this = (*this).get_impl(); match IBaseVideoMixer_Impl::GetClockPeriod(this) { Ok(ok__) => { - core::ptr::write(pbvalue, core::mem::transmute(ok__)); + pbvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7006,7 +7006,7 @@ impl IBasicAudio_Vtbl { let this = (*this).get_impl(); match IBasicAudio_Impl::Volume(this) { Ok(ok__) => { - core::ptr::write(plvolume, core::mem::transmute(ok__)); + plvolume.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7022,7 +7022,7 @@ impl IBasicAudio_Vtbl { let this = (*this).get_impl(); match IBasicAudio_Impl::Balance(this) { Ok(ok__) => { - core::ptr::write(plbalance, core::mem::transmute(ok__)); + plbalance.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7085,7 +7085,7 @@ impl IBasicVideo_Vtbl { let this = (*this).get_impl(); match IBasicVideo_Impl::AvgTimePerFrame(this) { Ok(ok__) => { - core::ptr::write(pavgtimeperframe, core::mem::transmute(ok__)); + pavgtimeperframe.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7096,7 +7096,7 @@ impl IBasicVideo_Vtbl { let this = (*this).get_impl(); match IBasicVideo_Impl::BitRate(this) { Ok(ok__) => { - core::ptr::write(pbitrate, core::mem::transmute(ok__)); + pbitrate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7107,7 +7107,7 @@ impl IBasicVideo_Vtbl { let this = (*this).get_impl(); match IBasicVideo_Impl::BitErrorRate(this) { Ok(ok__) => { - core::ptr::write(pbiterrorrate, core::mem::transmute(ok__)); + pbiterrorrate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7118,7 +7118,7 @@ impl IBasicVideo_Vtbl { let this = (*this).get_impl(); match IBasicVideo_Impl::VideoWidth(this) { Ok(ok__) => { - core::ptr::write(pvideowidth, core::mem::transmute(ok__)); + pvideowidth.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7129,7 +7129,7 @@ impl IBasicVideo_Vtbl { let this = (*this).get_impl(); match IBasicVideo_Impl::VideoHeight(this) { Ok(ok__) => { - core::ptr::write(pvideoheight, core::mem::transmute(ok__)); + pvideoheight.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7145,7 +7145,7 @@ impl IBasicVideo_Vtbl { let this = (*this).get_impl(); match IBasicVideo_Impl::SourceLeft(this) { Ok(ok__) => { - core::ptr::write(psourceleft, core::mem::transmute(ok__)); + psourceleft.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7161,7 +7161,7 @@ impl IBasicVideo_Vtbl { let this = (*this).get_impl(); match IBasicVideo_Impl::SourceWidth(this) { Ok(ok__) => { - core::ptr::write(psourcewidth, core::mem::transmute(ok__)); + psourcewidth.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7177,7 +7177,7 @@ impl IBasicVideo_Vtbl { let this = (*this).get_impl(); match IBasicVideo_Impl::SourceTop(this) { Ok(ok__) => { - core::ptr::write(psourcetop, core::mem::transmute(ok__)); + psourcetop.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7193,7 +7193,7 @@ impl IBasicVideo_Vtbl { let this = (*this).get_impl(); match IBasicVideo_Impl::SourceHeight(this) { Ok(ok__) => { - core::ptr::write(psourceheight, core::mem::transmute(ok__)); + psourceheight.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7209,7 +7209,7 @@ impl IBasicVideo_Vtbl { let this = (*this).get_impl(); match IBasicVideo_Impl::DestinationLeft(this) { Ok(ok__) => { - core::ptr::write(pdestinationleft, core::mem::transmute(ok__)); + pdestinationleft.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7225,7 +7225,7 @@ impl IBasicVideo_Vtbl { let this = (*this).get_impl(); match IBasicVideo_Impl::DestinationWidth(this) { Ok(ok__) => { - core::ptr::write(pdestinationwidth, core::mem::transmute(ok__)); + pdestinationwidth.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7241,7 +7241,7 @@ impl IBasicVideo_Vtbl { let this = (*this).get_impl(); match IBasicVideo_Impl::DestinationTop(this) { Ok(ok__) => { - core::ptr::write(pdestinationtop, core::mem::transmute(ok__)); + pdestinationtop.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7257,7 +7257,7 @@ impl IBasicVideo_Vtbl { let this = (*this).get_impl(); match IBasicVideo_Impl::DestinationHeight(this) { Ok(ok__) => { - core::ptr::write(pdestinationheight, core::mem::transmute(ok__)); + pdestinationheight.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7451,7 +7451,7 @@ impl ICCSubStreamFiltering_Vtbl { let this = (*this).get_impl(); match ICCSubStreamFiltering_Impl::SubstreamTypes(this) { Ok(ok__) => { - core::ptr::write(ptypes, core::mem::transmute(ok__)); + ptypes.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7868,7 +7868,7 @@ impl ICaptureGraphBuilder_Vtbl { let this = (*this).get_impl(); match ICaptureGraphBuilder_Impl::GetFiltergraph(this) { Ok(ok__) => { - core::ptr::write(ppfg, core::mem::transmute(ok__)); + ppfg.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7947,7 +7947,7 @@ impl ICaptureGraphBuilder2_Vtbl { let this = (*this).get_impl(); match ICaptureGraphBuilder2_Impl::GetFiltergraph(this) { Ok(ok__) => { - core::ptr::write(ppfg, core::mem::transmute(ok__)); + ppfg.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7988,7 +7988,7 @@ impl ICaptureGraphBuilder2_Vtbl { let this = (*this).get_impl(); match ICaptureGraphBuilder2_Impl::FindPin(this, windows_core::from_raw_borrowed(&psource), core::mem::transmute_copy(&pindir), core::mem::transmute_copy(&pcategory), core::mem::transmute_copy(&ptype), core::mem::transmute_copy(&funconnected), core::mem::transmute_copy(&num)) { Ok(ok__) => { - core::ptr::write(pppin, core::mem::transmute(ok__)); + pppin.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8037,7 +8037,7 @@ impl IConfigAsfWriter_Vtbl { let this = (*this).get_impl(); match IConfigAsfWriter_Impl::GetCurrentProfileId(this) { Ok(ok__) => { - core::ptr::write(pdwprofileid, core::mem::transmute(ok__)); + pdwprofileid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8053,7 +8053,7 @@ impl IConfigAsfWriter_Vtbl { let this = (*this).get_impl(); match IConfigAsfWriter_Impl::GetCurrentProfileGuid(this) { Ok(ok__) => { - core::ptr::write(pprofileguid, core::mem::transmute(ok__)); + pprofileguid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8069,7 +8069,7 @@ impl IConfigAsfWriter_Vtbl { let this = (*this).get_impl(); match IConfigAsfWriter_Impl::GetCurrentProfile(this) { Ok(ok__) => { - core::ptr::write(ppprofile, core::mem::transmute(ok__)); + ppprofile.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8085,7 +8085,7 @@ impl IConfigAsfWriter_Vtbl { let this = (*this).get_impl(); match IConfigAsfWriter_Impl::GetIndexMode(this) { Ok(ok__) => { - core::ptr::write(pbindexfile, core::mem::transmute(ok__)); + pbindexfile.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8124,7 +8124,7 @@ impl IConfigAsfWriter2_Vtbl { let this = (*this).get_impl(); match IConfigAsfWriter2_Impl::StreamNumFromPin(this, windows_core::from_raw_borrowed(&ppin)) { Ok(ok__) => { - core::ptr::write(pwstreamnum, core::mem::transmute(ok__)); + pwstreamnum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8176,7 +8176,7 @@ impl IConfigAviMux_Vtbl { let this = (*this).get_impl(); match IConfigAviMux_Impl::GetMasterStream(this) { Ok(ok__) => { - core::ptr::write(pstream, core::mem::transmute(ok__)); + pstream.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8192,7 +8192,7 @@ impl IConfigAviMux_Vtbl { let this = (*this).get_impl(); match IConfigAviMux_Impl::GetOutputCompatibilityIndex(this) { Ok(ok__) => { - core::ptr::write(pfoldindex, core::mem::transmute(ok__)); + pfoldindex.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8229,7 +8229,7 @@ impl IConfigInterleaving_Vtbl { let this = (*this).get_impl(); match IConfigInterleaving_Impl::Mode(this) { Ok(ok__) => { - core::ptr::write(pmode, core::mem::transmute(ok__)); + pmode.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8530,7 +8530,7 @@ impl IDeferredCommand_Vtbl { let this = (*this).get_impl(); match IDeferredCommand_Impl::Confidence(this) { Ok(ok__) => { - core::ptr::write(pconfidence, core::mem::transmute(ok__)); + pconfidence.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8546,7 +8546,7 @@ impl IDeferredCommand_Vtbl { let this = (*this).get_impl(); match IDeferredCommand_Impl::GetHResult(this) { Ok(ok__) => { - core::ptr::write(phrresult, core::mem::transmute(ok__)); + phrresult.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8608,7 +8608,7 @@ impl IDirectDrawMediaSampleAllocator_Vtbl { let this = (*this).get_impl(); match IDirectDrawMediaSampleAllocator_Impl::GetDirectDraw(this) { Ok(ok__) => { - core::ptr::write(ppdirectdraw, core::mem::transmute(ok__)); + ppdirectdraw.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8649,7 +8649,7 @@ impl IDirectDrawMediaStream_Vtbl { let this = (*this).get_impl(); match IDirectDrawMediaStream_Impl::GetDirectDraw(this) { Ok(ok__) => { - core::ptr::write(ppdirectdraw, core::mem::transmute(ok__)); + ppdirectdraw.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8665,7 +8665,7 @@ impl IDirectDrawMediaStream_Vtbl { let this = (*this).get_impl(); match IDirectDrawMediaStream_Impl::CreateSample(this, windows_core::from_raw_borrowed(&psurface), core::mem::transmute_copy(&prect), core::mem::transmute_copy(&dwflags)) { Ok(ok__) => { - core::ptr::write(ppsample, core::mem::transmute(ok__)); + ppsample.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8676,7 +8676,7 @@ impl IDirectDrawMediaStream_Vtbl { let this = (*this).get_impl(); match IDirectDrawMediaStream_Impl::GetTimePerFrame(this) { Ok(ok__) => { - core::ptr::write(pframetime, core::mem::transmute(ok__)); + pframetime.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8755,7 +8755,7 @@ impl IDirectDrawVideo_Vtbl { let this = (*this).get_impl(); match IDirectDrawVideo_Impl::GetSwitches(this) { Ok(ok__) => { - core::ptr::write(pswitches, core::mem::transmute(ok__)); + pswitches.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8796,7 +8796,7 @@ impl IDirectDrawVideo_Vtbl { let this = (*this).get_impl(); match IDirectDrawVideo_Impl::GetDirectDraw(this) { Ok(ok__) => { - core::ptr::write(ppdirectdraw, core::mem::transmute(ok__)); + ppdirectdraw.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8807,7 +8807,7 @@ impl IDirectDrawVideo_Vtbl { let this = (*this).get_impl(); match IDirectDrawVideo_Impl::GetSurfaceType(this) { Ok(ok__) => { - core::ptr::write(psurfacetype, core::mem::transmute(ok__)); + psurfacetype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8828,7 +8828,7 @@ impl IDirectDrawVideo_Vtbl { let this = (*this).get_impl(); match IDirectDrawVideo_Impl::CanUseScanLine(this) { Ok(ok__) => { - core::ptr::write(usescanline, core::mem::transmute(ok__)); + usescanline.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8844,7 +8844,7 @@ impl IDirectDrawVideo_Vtbl { let this = (*this).get_impl(); match IDirectDrawVideo_Impl::CanUseOverlayStretch(this) { Ok(ok__) => { - core::ptr::write(useoverlaystretch, core::mem::transmute(ok__)); + useoverlaystretch.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8860,7 +8860,7 @@ impl IDirectDrawVideo_Vtbl { let this = (*this).get_impl(); match IDirectDrawVideo_Impl::WillUseFullScreen(this) { Ok(ok__) => { - core::ptr::write(usewhenfullscreen, core::mem::transmute(ok__)); + usewhenfullscreen.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9310,7 +9310,7 @@ impl IDvdControl2_Vtbl { let this = (*this).get_impl(); match IDvdControl2_Impl::PlayTitle(this, core::mem::transmute_copy(&ultitle), core::mem::transmute_copy(&dwflags)) { Ok(ok__) => { - core::ptr::write(ppcmd, core::mem::transmute(ok__)); + ppcmd.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9321,7 +9321,7 @@ impl IDvdControl2_Vtbl { let this = (*this).get_impl(); match IDvdControl2_Impl::PlayChapterInTitle(this, core::mem::transmute_copy(&ultitle), core::mem::transmute_copy(&ulchapter), core::mem::transmute_copy(&dwflags)) { Ok(ok__) => { - core::ptr::write(ppcmd, core::mem::transmute(ok__)); + ppcmd.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9332,7 +9332,7 @@ impl IDvdControl2_Vtbl { let this = (*this).get_impl(); match IDvdControl2_Impl::PlayAtTimeInTitle(this, core::mem::transmute_copy(&ultitle), core::mem::transmute_copy(&pstarttime), core::mem::transmute_copy(&dwflags)) { Ok(ok__) => { - core::ptr::write(ppcmd, core::mem::transmute(ok__)); + ppcmd.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9348,7 +9348,7 @@ impl IDvdControl2_Vtbl { let this = (*this).get_impl(); match IDvdControl2_Impl::ReturnFromSubmenu(this, core::mem::transmute_copy(&dwflags)) { Ok(ok__) => { - core::ptr::write(ppcmd, core::mem::transmute(ok__)); + ppcmd.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9359,7 +9359,7 @@ impl IDvdControl2_Vtbl { let this = (*this).get_impl(); match IDvdControl2_Impl::PlayAtTime(this, core::mem::transmute_copy(&ptime), core::mem::transmute_copy(&dwflags)) { Ok(ok__) => { - core::ptr::write(ppcmd, core::mem::transmute(ok__)); + ppcmd.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9370,7 +9370,7 @@ impl IDvdControl2_Vtbl { let this = (*this).get_impl(); match IDvdControl2_Impl::PlayChapter(this, core::mem::transmute_copy(&ulchapter), core::mem::transmute_copy(&dwflags)) { Ok(ok__) => { - core::ptr::write(ppcmd, core::mem::transmute(ok__)); + ppcmd.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9381,7 +9381,7 @@ impl IDvdControl2_Vtbl { let this = (*this).get_impl(); match IDvdControl2_Impl::PlayPrevChapter(this, core::mem::transmute_copy(&dwflags)) { Ok(ok__) => { - core::ptr::write(ppcmd, core::mem::transmute(ok__)); + ppcmd.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9392,7 +9392,7 @@ impl IDvdControl2_Vtbl { let this = (*this).get_impl(); match IDvdControl2_Impl::ReplayChapter(this, core::mem::transmute_copy(&dwflags)) { Ok(ok__) => { - core::ptr::write(ppcmd, core::mem::transmute(ok__)); + ppcmd.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9403,7 +9403,7 @@ impl IDvdControl2_Vtbl { let this = (*this).get_impl(); match IDvdControl2_Impl::PlayNextChapter(this, core::mem::transmute_copy(&dwflags)) { Ok(ok__) => { - core::ptr::write(ppcmd, core::mem::transmute(ok__)); + ppcmd.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9414,7 +9414,7 @@ impl IDvdControl2_Vtbl { let this = (*this).get_impl(); match IDvdControl2_Impl::PlayForwards(this, core::mem::transmute_copy(&dspeed), core::mem::transmute_copy(&dwflags)) { Ok(ok__) => { - core::ptr::write(ppcmd, core::mem::transmute(ok__)); + ppcmd.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9425,7 +9425,7 @@ impl IDvdControl2_Vtbl { let this = (*this).get_impl(); match IDvdControl2_Impl::PlayBackwards(this, core::mem::transmute_copy(&dspeed), core::mem::transmute_copy(&dwflags)) { Ok(ok__) => { - core::ptr::write(ppcmd, core::mem::transmute(ok__)); + ppcmd.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9436,7 +9436,7 @@ impl IDvdControl2_Vtbl { let this = (*this).get_impl(); match IDvdControl2_Impl::ShowMenu(this, core::mem::transmute_copy(&menuid), core::mem::transmute_copy(&dwflags)) { Ok(ok__) => { - core::ptr::write(ppcmd, core::mem::transmute(ok__)); + ppcmd.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9447,7 +9447,7 @@ impl IDvdControl2_Vtbl { let this = (*this).get_impl(); match IDvdControl2_Impl::Resume(this, core::mem::transmute_copy(&dwflags)) { Ok(ok__) => { - core::ptr::write(ppcmd, core::mem::transmute(ok__)); + ppcmd.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9488,7 +9488,7 @@ impl IDvdControl2_Vtbl { let this = (*this).get_impl(); match IDvdControl2_Impl::SelectAudioStream(this, core::mem::transmute_copy(&ulaudio), core::mem::transmute_copy(&dwflags)) { Ok(ok__) => { - core::ptr::write(ppcmd, core::mem::transmute(ok__)); + ppcmd.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9499,7 +9499,7 @@ impl IDvdControl2_Vtbl { let this = (*this).get_impl(); match IDvdControl2_Impl::SelectSubpictureStream(this, core::mem::transmute_copy(&ulsubpicture), core::mem::transmute_copy(&dwflags)) { Ok(ok__) => { - core::ptr::write(ppcmd, core::mem::transmute(ok__)); + ppcmd.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9510,7 +9510,7 @@ impl IDvdControl2_Vtbl { let this = (*this).get_impl(); match IDvdControl2_Impl::SetSubpictureState(this, core::mem::transmute_copy(&bstate), core::mem::transmute_copy(&dwflags)) { Ok(ok__) => { - core::ptr::write(ppcmd, core::mem::transmute(ok__)); + ppcmd.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9521,7 +9521,7 @@ impl IDvdControl2_Vtbl { let this = (*this).get_impl(); match IDvdControl2_Impl::SelectAngle(this, core::mem::transmute_copy(&ulangle), core::mem::transmute_copy(&dwflags)) { Ok(ok__) => { - core::ptr::write(ppcmd, core::mem::transmute(ok__)); + ppcmd.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9567,7 +9567,7 @@ impl IDvdControl2_Vtbl { let this = (*this).get_impl(); match IDvdControl2_Impl::PlayChaptersAutoStop(this, core::mem::transmute_copy(&ultitle), core::mem::transmute_copy(&ulchapter), core::mem::transmute_copy(&ulchapterstoplay), core::mem::transmute_copy(&dwflags)) { Ok(ok__) => { - core::ptr::write(ppcmd, core::mem::transmute(ok__)); + ppcmd.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9588,7 +9588,7 @@ impl IDvdControl2_Vtbl { let this = (*this).get_impl(); match IDvdControl2_Impl::SetState(this, windows_core::from_raw_borrowed(&pstate), core::mem::transmute_copy(&dwflags)) { Ok(ok__) => { - core::ptr::write(ppcmd, core::mem::transmute(ok__)); + ppcmd.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9599,7 +9599,7 @@ impl IDvdControl2_Vtbl { let this = (*this).get_impl(); match IDvdControl2_Impl::PlayPeriodInTitleAutoStop(this, core::mem::transmute_copy(&ultitle), core::mem::transmute_copy(&pstarttime), core::mem::transmute_copy(&pendtime), core::mem::transmute_copy(&dwflags)) { Ok(ok__) => { - core::ptr::write(ppcmd, core::mem::transmute(ok__)); + ppcmd.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9610,7 +9610,7 @@ impl IDvdControl2_Vtbl { let this = (*this).get_impl(); match IDvdControl2_Impl::SetGPRM(this, core::mem::transmute_copy(&ulindex), core::mem::transmute_copy(&wvalue), core::mem::transmute_copy(&dwflags)) { Ok(ok__) => { - core::ptr::write(ppcmd, core::mem::transmute(ok__)); + ppcmd.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9692,7 +9692,7 @@ impl IDvdGraphBuilder_Vtbl { let this = (*this).get_impl(); match IDvdGraphBuilder_Impl::GetFiltergraph(this) { Ok(ok__) => { - core::ptr::write(ppgb, core::mem::transmute(ok__)); + ppgb.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9752,7 +9752,7 @@ impl IDvdInfo_Vtbl { let this = (*this).get_impl(); match IDvdInfo_Impl::GetCurrentDomain(this) { Ok(ok__) => { - core::ptr::write(pdomain, core::mem::transmute(ok__)); + pdomain.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9763,7 +9763,7 @@ impl IDvdInfo_Vtbl { let this = (*this).get_impl(); match IDvdInfo_Impl::GetCurrentLocation(this) { Ok(ok__) => { - core::ptr::write(plocation, core::mem::transmute(ok__)); + plocation.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9774,7 +9774,7 @@ impl IDvdInfo_Vtbl { let this = (*this).get_impl(); match IDvdInfo_Impl::GetTotalTitleTime(this) { Ok(ok__) => { - core::ptr::write(pultotaltime, core::mem::transmute(ok__)); + pultotaltime.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9805,7 +9805,7 @@ impl IDvdInfo_Vtbl { let this = (*this).get_impl(); match IDvdInfo_Impl::GetCurrentUOPS(this) { Ok(ok__) => { - core::ptr::write(puop, core::mem::transmute(ok__)); + puop.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9816,7 +9816,7 @@ impl IDvdInfo_Vtbl { let this = (*this).get_impl(); match IDvdInfo_Impl::GetAllSPRMs(this) { Ok(ok__) => { - core::ptr::write(pregisterarray, core::mem::transmute(ok__)); + pregisterarray.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9827,7 +9827,7 @@ impl IDvdInfo_Vtbl { let this = (*this).get_impl(); match IDvdInfo_Impl::GetAllGPRMs(this) { Ok(ok__) => { - core::ptr::write(pregisterarray, core::mem::transmute(ok__)); + pregisterarray.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9838,7 +9838,7 @@ impl IDvdInfo_Vtbl { let this = (*this).get_impl(); match IDvdInfo_Impl::GetAudioLanguage(this, core::mem::transmute_copy(&ulstream)) { Ok(ok__) => { - core::ptr::write(planguage, core::mem::transmute(ok__)); + planguage.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9849,7 +9849,7 @@ impl IDvdInfo_Vtbl { let this = (*this).get_impl(); match IDvdInfo_Impl::GetSubpictureLanguage(this, core::mem::transmute_copy(&ulstream)) { Ok(ok__) => { - core::ptr::write(planguage, core::mem::transmute(ok__)); + planguage.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9870,7 +9870,7 @@ impl IDvdInfo_Vtbl { let this = (*this).get_impl(); match IDvdInfo_Impl::GetCurrentVideoAttributes(this) { Ok(ok__) => { - core::ptr::write(patr, core::mem::transmute(ok__)); + patr.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9881,7 +9881,7 @@ impl IDvdInfo_Vtbl { let this = (*this).get_impl(); match IDvdInfo_Impl::GetCurrentAudioAttributes(this) { Ok(ok__) => { - core::ptr::write(patr, core::mem::transmute(ok__)); + patr.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9892,7 +9892,7 @@ impl IDvdInfo_Vtbl { let this = (*this).get_impl(); match IDvdInfo_Impl::GetCurrentSubpictureAttributes(this) { Ok(ok__) => { - core::ptr::write(patr, core::mem::transmute(ok__)); + patr.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9918,7 +9918,7 @@ impl IDvdInfo_Vtbl { let this = (*this).get_impl(); match IDvdInfo_Impl::GetNumberOfChapters(this, core::mem::transmute_copy(&ultitle)) { Ok(ok__) => { - core::ptr::write(pulnumberofchapters, core::mem::transmute(ok__)); + pulnumberofchapters.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9929,7 +9929,7 @@ impl IDvdInfo_Vtbl { let this = (*this).get_impl(); match IDvdInfo_Impl::GetTitleParentalLevels(this, core::mem::transmute_copy(&ultitle)) { Ok(ok__) => { - core::ptr::write(pulparentallevels, core::mem::transmute(ok__)); + pulparentallevels.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10020,7 +10020,7 @@ impl IDvdInfo2_Vtbl { let this = (*this).get_impl(); match IDvdInfo2_Impl::GetCurrentDomain(this) { Ok(ok__) => { - core::ptr::write(pdomain, core::mem::transmute(ok__)); + pdomain.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10031,7 +10031,7 @@ impl IDvdInfo2_Vtbl { let this = (*this).get_impl(); match IDvdInfo2_Impl::GetCurrentLocation(this) { Ok(ok__) => { - core::ptr::write(plocation, core::mem::transmute(ok__)); + plocation.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10067,7 +10067,7 @@ impl IDvdInfo2_Vtbl { let this = (*this).get_impl(); match IDvdInfo2_Impl::GetCurrentUOPS(this) { Ok(ok__) => { - core::ptr::write(puluops, core::mem::transmute(ok__)); + puluops.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10078,7 +10078,7 @@ impl IDvdInfo2_Vtbl { let this = (*this).get_impl(); match IDvdInfo2_Impl::GetAllSPRMs(this) { Ok(ok__) => { - core::ptr::write(pregisterarray, core::mem::transmute(ok__)); + pregisterarray.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10089,7 +10089,7 @@ impl IDvdInfo2_Vtbl { let this = (*this).get_impl(); match IDvdInfo2_Impl::GetAllGPRMs(this) { Ok(ok__) => { - core::ptr::write(pregisterarray, core::mem::transmute(ok__)); + pregisterarray.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10100,7 +10100,7 @@ impl IDvdInfo2_Vtbl { let this = (*this).get_impl(); match IDvdInfo2_Impl::GetAudioLanguage(this, core::mem::transmute_copy(&ulstream)) { Ok(ok__) => { - core::ptr::write(planguage, core::mem::transmute(ok__)); + planguage.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10111,7 +10111,7 @@ impl IDvdInfo2_Vtbl { let this = (*this).get_impl(); match IDvdInfo2_Impl::GetSubpictureLanguage(this, core::mem::transmute_copy(&ulstream)) { Ok(ok__) => { - core::ptr::write(planguage, core::mem::transmute(ok__)); + planguage.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10147,7 +10147,7 @@ impl IDvdInfo2_Vtbl { let this = (*this).get_impl(); match IDvdInfo2_Impl::GetSubpictureAttributes(this, core::mem::transmute_copy(&ulstream)) { Ok(ok__) => { - core::ptr::write(patr, core::mem::transmute(ok__)); + patr.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10163,7 +10163,7 @@ impl IDvdInfo2_Vtbl { let this = (*this).get_impl(); match IDvdInfo2_Impl::GetDVDTextNumberOfLanguages(this) { Ok(ok__) => { - core::ptr::write(pulnumoflangs, core::mem::transmute(ok__)); + pulnumoflangs.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10194,7 +10194,7 @@ impl IDvdInfo2_Vtbl { let this = (*this).get_impl(); match IDvdInfo2_Impl::GetNumberOfChapters(this, core::mem::transmute_copy(&ultitle)) { Ok(ok__) => { - core::ptr::write(pulnumofchapters, core::mem::transmute(ok__)); + pulnumofchapters.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10205,7 +10205,7 @@ impl IDvdInfo2_Vtbl { let this = (*this).get_impl(); match IDvdInfo2_Impl::GetTitleParentalLevels(this, core::mem::transmute_copy(&ultitle)) { Ok(ok__) => { - core::ptr::write(pulparentallevels, core::mem::transmute(ok__)); + pulparentallevels.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10221,7 +10221,7 @@ impl IDvdInfo2_Vtbl { let this = (*this).get_impl(); match IDvdInfo2_Impl::IsAudioStreamEnabled(this, core::mem::transmute_copy(&ulstreamnum)) { Ok(ok__) => { - core::ptr::write(pbenabled, core::mem::transmute(ok__)); + pbenabled.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10232,7 +10232,7 @@ impl IDvdInfo2_Vtbl { let this = (*this).get_impl(); match IDvdInfo2_Impl::GetDiscID(this, core::mem::transmute(&pszwpath)) { Ok(ok__) => { - core::ptr::write(pulldiscid, core::mem::transmute(ok__)); + pulldiscid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10243,7 +10243,7 @@ impl IDvdInfo2_Vtbl { let this = (*this).get_impl(); match IDvdInfo2_Impl::GetState(this) { Ok(ok__) => { - core::ptr::write(pstatedata, core::mem::transmute(ok__)); + pstatedata.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10259,7 +10259,7 @@ impl IDvdInfo2_Vtbl { let this = (*this).get_impl(); match IDvdInfo2_Impl::GetButtonAtPosition(this, core::mem::transmute(&point)) { Ok(ok__) => { - core::ptr::write(pulbuttonindex, core::mem::transmute(ok__)); + pulbuttonindex.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10270,7 +10270,7 @@ impl IDvdInfo2_Vtbl { let this = (*this).get_impl(); match IDvdInfo2_Impl::GetCmdFromEvent(this, core::mem::transmute_copy(&lparam1)) { Ok(ok__) => { - core::ptr::write(pcmdobj, core::mem::transmute(ok__)); + pcmdobj.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10281,7 +10281,7 @@ impl IDvdInfo2_Vtbl { let this = (*this).get_impl(); match IDvdInfo2_Impl::GetDefaultMenuLanguage(this) { Ok(ok__) => { - core::ptr::write(planguage, core::mem::transmute(ok__)); + planguage.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10307,7 +10307,7 @@ impl IDvdInfo2_Vtbl { let this = (*this).get_impl(); match IDvdInfo2_Impl::GetButtonRect(this, core::mem::transmute_copy(&ulbutton)) { Ok(ok__) => { - core::ptr::write(prect, core::mem::transmute(ok__)); + prect.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10318,7 +10318,7 @@ impl IDvdInfo2_Vtbl { let this = (*this).get_impl(); match IDvdInfo2_Impl::IsSubpictureStreamEnabled(this, core::mem::transmute_copy(&ulstreamnum)) { Ok(ok__) => { - core::ptr::write(pbenabled, core::mem::transmute(ok__)); + pbenabled.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10383,7 +10383,7 @@ impl IDvdState_Vtbl { let this = (*this).get_impl(); match IDvdState_Impl::GetDiscID(this) { Ok(ok__) => { - core::ptr::write(pulluniqueid, core::mem::transmute(ok__)); + pulluniqueid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10394,7 +10394,7 @@ impl IDvdState_Vtbl { let this = (*this).get_impl(); match IDvdState_Impl::GetParentalLevel(this) { Ok(ok__) => { - core::ptr::write(pulparentallevel, core::mem::transmute(ok__)); + pulparentallevel.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10428,7 +10428,7 @@ impl IESEvent_Vtbl { let this = (*this).get_impl(); match IESEvent_Impl::GetEventId(this) { Ok(ok__) => { - core::ptr::write(pdweventid, core::mem::transmute(ok__)); + pdweventid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10439,7 +10439,7 @@ impl IESEvent_Vtbl { let this = (*this).get_impl(); match IESEvent_Impl::GetEventType(this) { Ok(ok__) => { - core::ptr::write(pguideventtype, core::mem::transmute(ok__)); + pguideventtype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10455,7 +10455,7 @@ impl IESEvent_Vtbl { let this = (*this).get_impl(); match IESEvent_Impl::GetData(this) { Ok(ok__) => { - core::ptr::write(pbdata, core::mem::transmute(ok__)); + pbdata.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10466,7 +10466,7 @@ impl IESEvent_Vtbl { let this = (*this).get_impl(); match IESEvent_Impl::GetStringData(this) { Ok(ok__) => { - core::ptr::write(pbstrdata, core::mem::transmute(ok__)); + pbstrdata.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10539,7 +10539,7 @@ impl IEncoderAPI_Vtbl { let this = (*this).get_impl(); match IEncoderAPI_Impl::GetDefaultValue(this, core::mem::transmute_copy(&api)) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10550,7 +10550,7 @@ impl IEncoderAPI_Vtbl { let this = (*this).get_impl(); match IEncoderAPI_Impl::GetValue(this, core::mem::transmute_copy(&api)) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10608,7 +10608,7 @@ impl IEnumFilters_Vtbl { let this = (*this).get_impl(); match IEnumFilters_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10658,7 +10658,7 @@ impl IEnumMediaTypes_Vtbl { let this = (*this).get_impl(); match IEnumMediaTypes_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10705,7 +10705,7 @@ impl IEnumPIDMap_Vtbl { let this = (*this).get_impl(); match IEnumPIDMap_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppienumpidmap, core::mem::transmute(ok__)); + ppienumpidmap.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10752,7 +10752,7 @@ impl IEnumPins_Vtbl { let this = (*this).get_impl(); match IEnumPins_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10799,7 +10799,7 @@ impl IEnumRegFilters_Vtbl { let this = (*this).get_impl(); match IEnumRegFilters_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10846,7 +10846,7 @@ impl IEnumStreamIdMap_Vtbl { let this = (*this).get_impl(); match IEnumStreamIdMap_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppienumstreamidmap, core::mem::transmute(ok__)); + ppienumstreamidmap.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10914,7 +10914,7 @@ impl IFileSinkFilter2_Vtbl { let this = (*this).get_impl(); match IFileSinkFilter2_Impl::GetMode(this) { Ok(ok__) => { - core::ptr::write(pdwflags, core::mem::transmute(ok__)); + pdwflags.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11035,7 +11035,7 @@ impl IFilterGraph_Vtbl { let this = (*this).get_impl(); match IFilterGraph_Impl::EnumFilters(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11046,7 +11046,7 @@ impl IFilterGraph_Vtbl { let this = (*this).get_impl(); match IFilterGraph_Impl::FindFilterByName(this, core::mem::transmute(&pname)) { Ok(ok__) => { - core::ptr::write(ppfilter, core::mem::transmute(ok__)); + ppfilter.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11104,7 +11104,7 @@ impl IFilterGraph2_Vtbl { let this = (*this).get_impl(); match IFilterGraph2_Impl::AddSourceFilterForMoniker(this, windows_core::from_raw_borrowed(&pmoniker), windows_core::from_raw_borrowed(&pctx), core::mem::transmute(&lpcwstrfiltername)) { Ok(ok__) => { - core::ptr::write(ppfilter, core::mem::transmute(ok__)); + ppfilter.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11172,7 +11172,7 @@ impl IFilterInfo_Vtbl { let this = (*this).get_impl(); match IFilterInfo_Impl::FindPin(this, core::mem::transmute(&strpinid)) { Ok(ok__) => { - core::ptr::write(ppunk, core::mem::transmute(ok__)); + ppunk.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11183,7 +11183,7 @@ impl IFilterInfo_Vtbl { let this = (*this).get_impl(); match IFilterInfo_Impl::Name(this) { Ok(ok__) => { - core::ptr::write(strname, core::mem::transmute(ok__)); + strname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11194,7 +11194,7 @@ impl IFilterInfo_Vtbl { let this = (*this).get_impl(); match IFilterInfo_Impl::VendorInfo(this) { Ok(ok__) => { - core::ptr::write(strvendorinfo, core::mem::transmute(ok__)); + strvendorinfo.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11205,7 +11205,7 @@ impl IFilterInfo_Vtbl { let this = (*this).get_impl(); match IFilterInfo_Impl::Filter(this) { Ok(ok__) => { - core::ptr::write(ppunk, core::mem::transmute(ok__)); + ppunk.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11216,7 +11216,7 @@ impl IFilterInfo_Vtbl { let this = (*this).get_impl(); match IFilterInfo_Impl::Pins(this) { Ok(ok__) => { - core::ptr::write(ppunk, core::mem::transmute(ok__)); + ppunk.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11227,7 +11227,7 @@ impl IFilterInfo_Vtbl { let this = (*this).get_impl(); match IFilterInfo_Impl::IsFileSource(this) { Ok(ok__) => { - core::ptr::write(pbissource, core::mem::transmute(ok__)); + pbissource.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11238,7 +11238,7 @@ impl IFilterInfo_Vtbl { let this = (*this).get_impl(); match IFilterInfo_Impl::Filename(this) { Ok(ok__) => { - core::ptr::write(pstrfilename, core::mem::transmute(ok__)); + pstrfilename.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11288,7 +11288,7 @@ impl IFilterMapper_Vtbl { let this = (*this).get_impl(); match IFilterMapper_Impl::RegisterFilterInstance(this, core::mem::transmute(&clsid), core::mem::transmute(&name)) { Ok(ok__) => { - core::ptr::write(mrid, core::mem::transmute(ok__)); + mrid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11416,7 +11416,7 @@ impl IFilterMapper3_Vtbl { let this = (*this).get_impl(); match IFilterMapper3_Impl::GetICreateDevEnum(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11454,7 +11454,7 @@ impl IFrequencyMap_Vtbl { let this = (*this).get_impl(); match IFrequencyMap_Impl::CountryCode(this) { Ok(ok__) => { - core::ptr::write(pulcountrycode, core::mem::transmute(ok__)); + pulcountrycode.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11516,7 +11516,7 @@ impl IFullScreenVideo_Vtbl { let this = (*this).get_impl(); match IFullScreenVideo_Impl::CountModes(this) { Ok(ok__) => { - core::ptr::write(pmodes, core::mem::transmute(ok__)); + pmodes.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11532,7 +11532,7 @@ impl IFullScreenVideo_Vtbl { let this = (*this).get_impl(); match IFullScreenVideo_Impl::GetCurrentMode(this) { Ok(ok__) => { - core::ptr::write(pmode, core::mem::transmute(ok__)); + pmode.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11558,7 +11558,7 @@ impl IFullScreenVideo_Vtbl { let this = (*this).get_impl(); match IFullScreenVideo_Impl::GetClipFactor(this) { Ok(ok__) => { - core::ptr::write(pclipfactor, core::mem::transmute(ok__)); + pclipfactor.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11579,7 +11579,7 @@ impl IFullScreenVideo_Vtbl { let this = (*this).get_impl(); match IFullScreenVideo_Impl::GetMessageDrain(this) { Ok(ok__) => { - core::ptr::write(hwnd, core::mem::transmute(ok__)); + hwnd.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11595,7 +11595,7 @@ impl IFullScreenVideo_Vtbl { let this = (*this).get_impl(); match IFullScreenVideo_Impl::GetMonitor(this) { Ok(ok__) => { - core::ptr::write(monitor, core::mem::transmute(ok__)); + monitor.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11621,7 +11621,7 @@ impl IFullScreenVideo_Vtbl { let this = (*this).get_impl(); match IFullScreenVideo_Impl::GetCaption(this) { Ok(ok__) => { - core::ptr::write(pstrcaption, core::mem::transmute(ok__)); + pstrcaption.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11689,7 +11689,7 @@ impl IFullScreenVideoEx_Vtbl { let this = (*this).get_impl(); match IFullScreenVideoEx_Impl::IsKeepPixelAspectRatio(this) { Ok(ok__) => { - core::ptr::write(pkeepaspect, core::mem::transmute(ok__)); + pkeepaspect.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11721,7 +11721,7 @@ impl IGetCapabilitiesKey_Vtbl { let this = (*this).get_impl(); match IGetCapabilitiesKey_Impl::GetCapabilitiesKey(this) { Ok(ok__) => { - core::ptr::write(phkey, core::mem::transmute(ok__)); + phkey.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11768,7 +11768,7 @@ impl IGraphBuilder_Vtbl { let this = (*this).get_impl(); match IGraphBuilder_Impl::AddSourceFilter(this, core::mem::transmute(&lpcwstrfilename), core::mem::transmute(&lpcwstrfiltername)) { Ok(ok__) => { - core::ptr::write(ppfilter, core::mem::transmute(ok__)); + ppfilter.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11842,7 +11842,7 @@ impl IGraphConfig_Vtbl { let this = (*this).get_impl(); match IGraphConfig_Impl::EnumCacheFilter(this) { Ok(ok__) => { - core::ptr::write(penum, core::mem::transmute(ok__)); + penum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11858,7 +11858,7 @@ impl IGraphConfig_Vtbl { let this = (*this).get_impl(); match IGraphConfig_Impl::GetStartTime(this) { Ok(ok__) => { - core::ptr::write(prtstart, core::mem::transmute(ok__)); + prtstart.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11879,7 +11879,7 @@ impl IGraphConfig_Vtbl { let this = (*this).get_impl(); match IGraphConfig_Impl::GetFilterFlags(this, windows_core::from_raw_borrowed(&pfilter)) { Ok(ok__) => { - core::ptr::write(pdwflags, core::mem::transmute(ok__)); + pdwflags.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11936,7 +11936,7 @@ impl IGraphVersion_Vtbl { let this = (*this).get_impl(); match IGraphVersion_Impl::QueryVersion(this) { Ok(ok__) => { - core::ptr::write(pversion, core::mem::transmute(ok__)); + pversion.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11960,7 +11960,7 @@ impl IIPDVDec_Vtbl { let this = (*this).get_impl(); match IIPDVDec_Impl::IPDisplay(this) { Ok(ok__) => { - core::ptr::write(displaypix, core::mem::transmute(ok__)); + displaypix.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12004,7 +12004,7 @@ impl IMPEG2PIDMap_Vtbl { let this = (*this).get_impl(); match IMPEG2PIDMap_Impl::EnumPIDMap(this) { Ok(ok__) => { - core::ptr::write(pienumpidmap, core::mem::transmute(ok__)); + pienumpidmap.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12044,7 +12044,7 @@ impl IMPEG2StreamIdMap_Vtbl { let this = (*this).get_impl(); match IMPEG2StreamIdMap_Impl::EnumStreamIdMap(this) { Ok(ok__) => { - core::ptr::write(ppienumstreamidmap, core::mem::transmute(ok__)); + ppienumstreamidmap.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12098,7 +12098,7 @@ impl IMediaControl_Vtbl { let this = (*this).get_impl(); match IMediaControl_Impl::GetState(this, core::mem::transmute_copy(&mstimeout)) { Ok(ok__) => { - core::ptr::write(pfs, core::mem::transmute(ok__)); + pfs.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12114,7 +12114,7 @@ impl IMediaControl_Vtbl { let this = (*this).get_impl(); match IMediaControl_Impl::AddSourceFilter(this, core::mem::transmute(&strfilename)) { Ok(ok__) => { - core::ptr::write(ppunk, core::mem::transmute(ok__)); + ppunk.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12125,7 +12125,7 @@ impl IMediaControl_Vtbl { let this = (*this).get_impl(); match IMediaControl_Impl::FilterCollection(this) { Ok(ok__) => { - core::ptr::write(ppunk, core::mem::transmute(ok__)); + ppunk.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12136,7 +12136,7 @@ impl IMediaControl_Vtbl { let this = (*this).get_impl(); match IMediaControl_Impl::RegFilterCollection(this) { Ok(ok__) => { - core::ptr::write(ppunk, core::mem::transmute(ok__)); + ppunk.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12183,7 +12183,7 @@ impl IMediaEvent_Vtbl { let this = (*this).get_impl(); match IMediaEvent_Impl::GetEventHandle(this) { Ok(ok__) => { - core::ptr::write(hevent, core::mem::transmute(ok__)); + hevent.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12199,7 +12199,7 @@ impl IMediaEvent_Vtbl { let this = (*this).get_impl(); match IMediaEvent_Impl::WaitForCompletion(this, core::mem::transmute_copy(&mstimeout)) { Ok(ok__) => { - core::ptr::write(pevcode, core::mem::transmute(ok__)); + pevcode.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12260,7 +12260,7 @@ impl IMediaEventEx_Vtbl { let this = (*this).get_impl(); match IMediaEventEx_Impl::GetNotifyFlags(this) { Ok(ok__) => { - core::ptr::write(lplnonotifyflags, core::mem::transmute(ok__)); + lplnonotifyflags.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12328,7 +12328,7 @@ impl IMediaFilter_Vtbl { let this = (*this).get_impl(); match IMediaFilter_Impl::GetState(this, core::mem::transmute_copy(&dwmillisecstimeout)) { Ok(ok__) => { - core::ptr::write(state, core::mem::transmute(ok__)); + state.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12344,7 +12344,7 @@ impl IMediaFilter_Vtbl { let this = (*this).get_impl(); match IMediaFilter_Impl::GetSyncSource(this) { Ok(ok__) => { - core::ptr::write(pclock, core::mem::transmute(ok__)); + pclock.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12380,7 +12380,7 @@ impl IMediaParamInfo_Vtbl { let this = (*this).get_impl(); match IMediaParamInfo_Impl::GetParamCount(this) { Ok(ok__) => { - core::ptr::write(pdwparams, core::mem::transmute(ok__)); + pdwparams.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12396,7 +12396,7 @@ impl IMediaParamInfo_Vtbl { let this = (*this).get_impl(); match IMediaParamInfo_Impl::GetParamText(this, core::mem::transmute_copy(&dwparamindex)) { Ok(ok__) => { - core::ptr::write(ppwchtext, core::mem::transmute(ok__)); + ppwchtext.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12407,7 +12407,7 @@ impl IMediaParamInfo_Vtbl { let this = (*this).get_impl(); match IMediaParamInfo_Impl::GetNumTimeFormats(this) { Ok(ok__) => { - core::ptr::write(pdwnumtimeformats, core::mem::transmute(ok__)); + pdwnumtimeformats.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12418,7 +12418,7 @@ impl IMediaParamInfo_Vtbl { let this = (*this).get_impl(); match IMediaParamInfo_Impl::GetSupportedTimeFormat(this, core::mem::transmute_copy(&dwformatindex)) { Ok(ok__) => { - core::ptr::write(pguidtimeformat, core::mem::transmute(ok__)); + pguidtimeformat.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12458,7 +12458,7 @@ impl IMediaParams_Vtbl { let this = (*this).get_impl(); match IMediaParams_Impl::GetParam(this, core::mem::transmute_copy(&dwparamindex)) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12521,7 +12521,7 @@ impl IMediaPosition_Vtbl { let this = (*this).get_impl(); match IMediaPosition_Impl::Duration(this) { Ok(ok__) => { - core::ptr::write(plength, core::mem::transmute(ok__)); + plength.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12537,7 +12537,7 @@ impl IMediaPosition_Vtbl { let this = (*this).get_impl(); match IMediaPosition_Impl::CurrentPosition(this) { Ok(ok__) => { - core::ptr::write(plltime, core::mem::transmute(ok__)); + plltime.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12548,7 +12548,7 @@ impl IMediaPosition_Vtbl { let this = (*this).get_impl(); match IMediaPosition_Impl::StopTime(this) { Ok(ok__) => { - core::ptr::write(plltime, core::mem::transmute(ok__)); + plltime.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12564,7 +12564,7 @@ impl IMediaPosition_Vtbl { let this = (*this).get_impl(); match IMediaPosition_Impl::PrerollTime(this) { Ok(ok__) => { - core::ptr::write(plltime, core::mem::transmute(ok__)); + plltime.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12585,7 +12585,7 @@ impl IMediaPosition_Vtbl { let this = (*this).get_impl(); match IMediaPosition_Impl::Rate(this) { Ok(ok__) => { - core::ptr::write(pdrate, core::mem::transmute(ok__)); + pdrate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12596,7 +12596,7 @@ impl IMediaPosition_Vtbl { let this = (*this).get_impl(); match IMediaPosition_Impl::CanSeekForward(this) { Ok(ok__) => { - core::ptr::write(pcanseekforward, core::mem::transmute(ok__)); + pcanseekforward.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12607,7 +12607,7 @@ impl IMediaPosition_Vtbl { let this = (*this).get_impl(); match IMediaPosition_Impl::CanSeekBackward(this) { Ok(ok__) => { - core::ptr::write(pcanseekbackward, core::mem::transmute(ok__)); + pcanseekbackward.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12684,7 +12684,7 @@ impl IMediaSample_Vtbl { let this = (*this).get_impl(); match IMediaSample_Impl::GetPointer(this) { Ok(ok__) => { - core::ptr::write(ppbuffer, core::mem::transmute(ok__)); + ppbuffer.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12740,7 +12740,7 @@ impl IMediaSample_Vtbl { let this = (*this).get_impl(); match IMediaSample_Impl::GetMediaType(this) { Ok(ok__) => { - core::ptr::write(ppmediatype, core::mem::transmute(ok__)); + ppmediatype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12836,7 +12836,7 @@ impl IMediaSample2Config_Vtbl { let this = (*this).get_impl(); match IMediaSample2Config_Impl::GetSurface(this) { Ok(ok__) => { - core::ptr::write(ppdirect3dsurface9, core::mem::transmute(ok__)); + ppdirect3dsurface9.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12875,7 +12875,7 @@ impl IMediaSeeking_Vtbl { let this = (*this).get_impl(); match IMediaSeeking_Impl::GetCapabilities(this) { Ok(ok__) => { - core::ptr::write(pcapabilities, core::mem::transmute(ok__)); + pcapabilities.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12896,7 +12896,7 @@ impl IMediaSeeking_Vtbl { let this = (*this).get_impl(); match IMediaSeeking_Impl::QueryPreferredFormat(this) { Ok(ok__) => { - core::ptr::write(pformat, core::mem::transmute(ok__)); + pformat.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12907,7 +12907,7 @@ impl IMediaSeeking_Vtbl { let this = (*this).get_impl(); match IMediaSeeking_Impl::GetTimeFormat(this) { Ok(ok__) => { - core::ptr::write(pformat, core::mem::transmute(ok__)); + pformat.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12928,7 +12928,7 @@ impl IMediaSeeking_Vtbl { let this = (*this).get_impl(); match IMediaSeeking_Impl::GetDuration(this) { Ok(ok__) => { - core::ptr::write(pduration, core::mem::transmute(ok__)); + pduration.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12939,7 +12939,7 @@ impl IMediaSeeking_Vtbl { let this = (*this).get_impl(); match IMediaSeeking_Impl::GetStopPosition(this) { Ok(ok__) => { - core::ptr::write(pstop, core::mem::transmute(ok__)); + pstop.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12950,7 +12950,7 @@ impl IMediaSeeking_Vtbl { let this = (*this).get_impl(); match IMediaSeeking_Impl::GetCurrentPosition(this) { Ok(ok__) => { - core::ptr::write(pcurrent, core::mem::transmute(ok__)); + pcurrent.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12986,7 +12986,7 @@ impl IMediaSeeking_Vtbl { let this = (*this).get_impl(); match IMediaSeeking_Impl::GetRate(this) { Ok(ok__) => { - core::ptr::write(pdrate, core::mem::transmute(ok__)); + pdrate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12997,7 +12997,7 @@ impl IMediaSeeking_Vtbl { let this = (*this).get_impl(); match IMediaSeeking_Impl::GetPreroll(this) { Ok(ok__) => { - core::ptr::write(pllpreroll, core::mem::transmute(ok__)); + pllpreroll.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13044,7 +13044,7 @@ impl IMediaStream_Vtbl { let this = (*this).get_impl(); match IMediaStream_Impl::GetMultiMediaStream(this) { Ok(ok__) => { - core::ptr::write(ppmultimediastream, core::mem::transmute(ok__)); + ppmultimediastream.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13065,7 +13065,7 @@ impl IMediaStream_Vtbl { let this = (*this).get_impl(); match IMediaStream_Impl::AllocateSample(this, core::mem::transmute_copy(&dwflags)) { Ok(ok__) => { - core::ptr::write(ppsample, core::mem::transmute(ok__)); + ppsample.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13076,7 +13076,7 @@ impl IMediaStream_Vtbl { let this = (*this).get_impl(); match IMediaStream_Impl::CreateSharedSample(this, windows_core::from_raw_borrowed(&pexistingsample), core::mem::transmute_copy(&dwflags)) { Ok(ok__) => { - core::ptr::write(ppnewsample, core::mem::transmute(ok__)); + ppnewsample.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13128,7 +13128,7 @@ impl IMediaStreamFilter_Vtbl { let this = (*this).get_impl(); match IMediaStreamFilter_Impl::GetMediaStream(this, core::mem::transmute_copy(&idpurpose)) { Ok(ok__) => { - core::ptr::write(ppmediastream, core::mem::transmute(ok__)); + ppmediastream.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13139,7 +13139,7 @@ impl IMediaStreamFilter_Vtbl { let this = (*this).get_impl(); match IMediaStreamFilter_Impl::EnumMediaStreams(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(ppmediastream, core::mem::transmute(ok__)); + ppmediastream.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13160,7 +13160,7 @@ impl IMediaStreamFilter_Vtbl { let this = (*this).get_impl(); match IMediaStreamFilter_Impl::GetCurrentStreamTime(this) { Ok(ok__) => { - core::ptr::write(pcurrentstreamtime, core::mem::transmute(ok__)); + pcurrentstreamtime.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13213,7 +13213,7 @@ impl IMediaTypeInfo_Vtbl { let this = (*this).get_impl(); match IMediaTypeInfo_Impl::Type(this) { Ok(ok__) => { - core::ptr::write(strtype, core::mem::transmute(ok__)); + strtype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13224,7 +13224,7 @@ impl IMediaTypeInfo_Vtbl { let this = (*this).get_impl(); match IMediaTypeInfo_Impl::Subtype(this) { Ok(ok__) => { - core::ptr::write(strtype, core::mem::transmute(ok__)); + strtype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13256,7 +13256,7 @@ impl IMemAllocator_Vtbl { let this = (*this).get_impl(); match IMemAllocator_Impl::SetProperties(this, core::mem::transmute_copy(&prequest)) { Ok(ok__) => { - core::ptr::write(pactual, core::mem::transmute(ok__)); + pactual.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13267,7 +13267,7 @@ impl IMemAllocator_Vtbl { let this = (*this).get_impl(); match IMemAllocator_Impl::GetProperties(this) { Ok(ok__) => { - core::ptr::write(pprops, core::mem::transmute(ok__)); + pprops.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13324,7 +13324,7 @@ impl IMemAllocatorCallbackTemp_Vtbl { let this = (*this).get_impl(); match IMemAllocatorCallbackTemp_Impl::GetFreeCount(this) { Ok(ok__) => { - core::ptr::write(plbuffersfree, core::mem::transmute(ok__)); + plbuffersfree.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13373,7 +13373,7 @@ impl IMemInputPin_Vtbl { let this = (*this).get_impl(); match IMemInputPin_Impl::GetAllocator(this) { Ok(ok__) => { - core::ptr::write(ppallocator, core::mem::transmute(ok__)); + ppallocator.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13389,7 +13389,7 @@ impl IMemInputPin_Vtbl { let this = (*this).get_impl(); match IMemInputPin_Impl::GetAllocatorRequirements(this) { Ok(ok__) => { - core::ptr::write(pprops, core::mem::transmute(ok__)); + pprops.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13405,7 +13405,7 @@ impl IMemInputPin_Vtbl { let this = (*this).get_impl(); match IMemInputPin_Impl::ReceiveMultiple(this, core::mem::transmute_copy(&psamples), core::mem::transmute_copy(&nsamples)) { Ok(ok__) => { - core::ptr::write(nsamplesprocessed, core::mem::transmute(ok__)); + nsamplesprocessed.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13500,7 +13500,7 @@ impl IMixerOCX_Vtbl { let this = (*this).get_impl(); match IMixerOCX_Impl::GetStatus(this) { Ok(ok__) => { - core::ptr::write(pdwstatus, core::mem::transmute(ok__)); + pdwstatus.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13719,7 +13719,7 @@ impl IMpeg2Demultiplexer_Vtbl { let this = (*this).get_impl(); match IMpeg2Demultiplexer_Impl::CreateOutputPin(this, core::mem::transmute_copy(&pmediatype), core::mem::transmute(&pszpinname)) { Ok(ok__) => { - core::ptr::write(ppipin, core::mem::transmute(ok__)); + ppipin.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13772,7 +13772,7 @@ impl IMpegAudioDecoder_Vtbl { let this = (*this).get_impl(); match IMpegAudioDecoder_Impl::FrequencyDivider(this) { Ok(ok__) => { - core::ptr::write(pdivider, core::mem::transmute(ok__)); + pdivider.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13788,7 +13788,7 @@ impl IMpegAudioDecoder_Vtbl { let this = (*this).get_impl(); match IMpegAudioDecoder_Impl::DecoderAccuracy(this) { Ok(ok__) => { - core::ptr::write(paccuracy, core::mem::transmute(ok__)); + paccuracy.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13804,7 +13804,7 @@ impl IMpegAudioDecoder_Vtbl { let this = (*this).get_impl(); match IMpegAudioDecoder_Impl::Stereo(this) { Ok(ok__) => { - core::ptr::write(pstereo, core::mem::transmute(ok__)); + pstereo.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13820,7 +13820,7 @@ impl IMpegAudioDecoder_Vtbl { let this = (*this).get_impl(); match IMpegAudioDecoder_Impl::DecoderWordSize(this) { Ok(ok__) => { - core::ptr::write(pwordsize, core::mem::transmute(ok__)); + pwordsize.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13836,7 +13836,7 @@ impl IMpegAudioDecoder_Vtbl { let this = (*this).get_impl(); match IMpegAudioDecoder_Impl::IntegerDecode(this) { Ok(ok__) => { - core::ptr::write(pintdecode, core::mem::transmute(ok__)); + pintdecode.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13907,7 +13907,7 @@ impl IMultiMediaStream_Vtbl { let this = (*this).get_impl(); match IMultiMediaStream_Impl::GetMediaStream(this, core::mem::transmute_copy(&idpurpose)) { Ok(ok__) => { - core::ptr::write(ppmediastream, core::mem::transmute(ok__)); + ppmediastream.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13918,7 +13918,7 @@ impl IMultiMediaStream_Vtbl { let this = (*this).get_impl(); match IMultiMediaStream_Impl::EnumMediaStreams(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(ppmediastream, core::mem::transmute(ok__)); + ppmediastream.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13929,7 +13929,7 @@ impl IMultiMediaStream_Vtbl { let this = (*this).get_impl(); match IMultiMediaStream_Impl::GetState(this) { Ok(ok__) => { - core::ptr::write(pcurrentstate, core::mem::transmute(ok__)); + pcurrentstate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13945,7 +13945,7 @@ impl IMultiMediaStream_Vtbl { let this = (*this).get_impl(); match IMultiMediaStream_Impl::GetTime(this) { Ok(ok__) => { - core::ptr::write(pcurrenttime, core::mem::transmute(ok__)); + pcurrenttime.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13956,7 +13956,7 @@ impl IMultiMediaStream_Vtbl { let this = (*this).get_impl(); match IMultiMediaStream_Impl::GetDuration(this) { Ok(ok__) => { - core::ptr::write(pduration, core::mem::transmute(ok__)); + pduration.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13972,7 +13972,7 @@ impl IMultiMediaStream_Vtbl { let this = (*this).get_impl(); match IMultiMediaStream_Impl::GetEndOfStreamEventHandle(this) { Ok(ok__) => { - core::ptr::write(pheos, core::mem::transmute(ok__)); + pheos.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -14028,7 +14028,7 @@ impl IOverlay_Vtbl { let this = (*this).get_impl(); match IOverlay_Impl::GetDefaultColorKey(this) { Ok(ok__) => { - core::ptr::write(pcolorkey, core::mem::transmute(ok__)); + pcolorkey.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -14039,7 +14039,7 @@ impl IOverlay_Vtbl { let this = (*this).get_impl(); match IOverlay_Impl::GetColorKey(this) { Ok(ok__) => { - core::ptr::write(pcolorkey, core::mem::transmute(ok__)); + pcolorkey.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -14055,7 +14055,7 @@ impl IOverlay_Vtbl { let this = (*this).get_impl(); match IOverlay_Impl::GetWindowHandle(this) { Ok(ok__) => { - core::ptr::write(phwnd, core::mem::transmute(ok__)); + phwnd.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -14243,7 +14243,7 @@ impl IPin_Vtbl { let this = (*this).get_impl(); match IPin_Impl::ConnectedTo(this) { Ok(ok__) => { - core::ptr::write(ppin, core::mem::transmute(ok__)); + ppin.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -14264,7 +14264,7 @@ impl IPin_Vtbl { let this = (*this).get_impl(); match IPin_Impl::QueryDirection(this) { Ok(ok__) => { - core::ptr::write(ppindir, core::mem::transmute(ok__)); + ppindir.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -14275,7 +14275,7 @@ impl IPin_Vtbl { let this = (*this).get_impl(); match IPin_Impl::QueryId(this) { Ok(ok__) => { - core::ptr::write(id, core::mem::transmute(ok__)); + id.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -14291,7 +14291,7 @@ impl IPin_Vtbl { let this = (*this).get_impl(); match IPin_Impl::EnumMediaTypes(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -14432,7 +14432,7 @@ impl IPinInfo_Vtbl { let this = (*this).get_impl(); match IPinInfo_Impl::Pin(this) { Ok(ok__) => { - core::ptr::write(ppunk, core::mem::transmute(ok__)); + ppunk.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -14443,7 +14443,7 @@ impl IPinInfo_Vtbl { let this = (*this).get_impl(); match IPinInfo_Impl::ConnectedTo(this) { Ok(ok__) => { - core::ptr::write(ppunk, core::mem::transmute(ok__)); + ppunk.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -14454,7 +14454,7 @@ impl IPinInfo_Vtbl { let this = (*this).get_impl(); match IPinInfo_Impl::ConnectionMediaType(this) { Ok(ok__) => { - core::ptr::write(ppunk, core::mem::transmute(ok__)); + ppunk.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -14465,7 +14465,7 @@ impl IPinInfo_Vtbl { let this = (*this).get_impl(); match IPinInfo_Impl::FilterInfo(this) { Ok(ok__) => { - core::ptr::write(ppunk, core::mem::transmute(ok__)); + ppunk.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -14476,7 +14476,7 @@ impl IPinInfo_Vtbl { let this = (*this).get_impl(); match IPinInfo_Impl::Name(this) { Ok(ok__) => { - core::ptr::write(ppunk, core::mem::transmute(ok__)); + ppunk.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -14487,7 +14487,7 @@ impl IPinInfo_Vtbl { let this = (*this).get_impl(); match IPinInfo_Impl::Direction(this) { Ok(ok__) => { - core::ptr::write(ppdirection, core::mem::transmute(ok__)); + ppdirection.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -14498,7 +14498,7 @@ impl IPinInfo_Vtbl { let this = (*this).get_impl(); match IPinInfo_Impl::PinID(this) { Ok(ok__) => { - core::ptr::write(strpinid, core::mem::transmute(ok__)); + strpinid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -14509,7 +14509,7 @@ impl IPinInfo_Vtbl { let this = (*this).get_impl(); match IPinInfo_Impl::MediaTypes(this) { Ok(ok__) => { - core::ptr::write(ppunk, core::mem::transmute(ok__)); + ppunk.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -14577,7 +14577,7 @@ impl IQualProp_Vtbl { let this = (*this).get_impl(); match IQualProp_Impl::FramesDroppedInRenderer(this) { Ok(ok__) => { - core::ptr::write(pcframes, core::mem::transmute(ok__)); + pcframes.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -14588,7 +14588,7 @@ impl IQualProp_Vtbl { let this = (*this).get_impl(); match IQualProp_Impl::FramesDrawn(this) { Ok(ok__) => { - core::ptr::write(pcframesdrawn, core::mem::transmute(ok__)); + pcframesdrawn.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -14599,7 +14599,7 @@ impl IQualProp_Vtbl { let this = (*this).get_impl(); match IQualProp_Impl::AvgFrameRate(this) { Ok(ok__) => { - core::ptr::write(piavgframerate, core::mem::transmute(ok__)); + piavgframerate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -14610,7 +14610,7 @@ impl IQualProp_Vtbl { let this = (*this).get_impl(); match IQualProp_Impl::Jitter(this) { Ok(ok__) => { - core::ptr::write(ijitter, core::mem::transmute(ok__)); + ijitter.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -14621,7 +14621,7 @@ impl IQualProp_Vtbl { let this = (*this).get_impl(); match IQualProp_Impl::AvgSyncOffset(this) { Ok(ok__) => { - core::ptr::write(piavg, core::mem::transmute(ok__)); + piavg.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -14632,7 +14632,7 @@ impl IQualProp_Vtbl { let this = (*this).get_impl(); match IQualProp_Impl::DevSyncOffset(this) { Ok(ok__) => { - core::ptr::write(pidev, core::mem::transmute(ok__)); + pidev.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -14724,7 +14724,7 @@ impl IRegFilterInfo_Vtbl { let this = (*this).get_impl(); match IRegFilterInfo_Impl::Name(this) { Ok(ok__) => { - core::ptr::write(strname, core::mem::transmute(ok__)); + strname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -14735,7 +14735,7 @@ impl IRegFilterInfo_Vtbl { let this = (*this).get_impl(); match IRegFilterInfo_Impl::Filter(this) { Ok(ok__) => { - core::ptr::write(ppunk, core::mem::transmute(ok__)); + ppunk.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -14813,7 +14813,7 @@ impl IResourceManager_Vtbl { let this = (*this).get_impl(); match IResourceManager_Impl::Register(this, core::mem::transmute(&pname), core::mem::transmute_copy(&cresource)) { Ok(ok__) => { - core::ptr::write(pltoken, core::mem::transmute(ok__)); + pltoken.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -14824,7 +14824,7 @@ impl IResourceManager_Vtbl { let this = (*this).get_impl(); match IResourceManager_Impl::RegisterGroup(this, core::mem::transmute(&pname), core::mem::transmute_copy(&cresource), core::mem::transmute_copy(&paltokens)) { Ok(ok__) => { - core::ptr::write(pltoken, core::mem::transmute(ok__)); + pltoken.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -14906,7 +14906,7 @@ impl ISelector_Vtbl { let this = (*this).get_impl(); match ISelector_Impl::NumSources(this) { Ok(ok__) => { - core::ptr::write(pdwnumsources, core::mem::transmute(ok__)); + pdwnumsources.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -14917,7 +14917,7 @@ impl ISelector_Vtbl { let this = (*this).get_impl(); match ISelector_Impl::SourceNodeId(this) { Ok(ok__) => { - core::ptr::write(pdwpinid, core::mem::transmute(ok__)); + pdwpinid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -14953,7 +14953,7 @@ impl ISpecifyParticularPages_Vtbl { let this = (*this).get_impl(); match ISpecifyParticularPages_Impl::GetPages(this, core::mem::transmute_copy(&guidwhatpages)) { Ok(ok__) => { - core::ptr::write(ppages, core::mem::transmute(ok__)); + ppages.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -15052,7 +15052,7 @@ impl IVMRAspectRatioControl_Vtbl { let this = (*this).get_impl(); match IVMRAspectRatioControl_Impl::GetAspectRatioMode(this) { Ok(ok__) => { - core::ptr::write(lpdwarmode, core::mem::transmute(ok__)); + lpdwarmode.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -15085,7 +15085,7 @@ impl IVMRAspectRatioControl9_Vtbl { let this = (*this).get_impl(); match IVMRAspectRatioControl9_Impl::GetAspectRatioMode(this) { Ok(ok__) => { - core::ptr::write(lpdwarmode, core::mem::transmute(ok__)); + lpdwarmode.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -15133,7 +15133,7 @@ impl IVMRDeinterlaceControl_Vtbl { let this = (*this).get_impl(); match IVMRDeinterlaceControl_Impl::GetDeinterlaceMode(this, core::mem::transmute_copy(&dwstreamid)) { Ok(ok__) => { - core::ptr::write(lpdeinterlacemode, core::mem::transmute(ok__)); + lpdeinterlacemode.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -15149,7 +15149,7 @@ impl IVMRDeinterlaceControl_Vtbl { let this = (*this).get_impl(); match IVMRDeinterlaceControl_Impl::GetDeinterlacePrefs(this) { Ok(ok__) => { - core::ptr::write(lpdwdeinterlaceprefs, core::mem::transmute(ok__)); + lpdwdeinterlaceprefs.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -15165,7 +15165,7 @@ impl IVMRDeinterlaceControl_Vtbl { let this = (*this).get_impl(); match IVMRDeinterlaceControl_Impl::GetActualDeinterlaceMode(this, core::mem::transmute_copy(&dwstreamid)) { Ok(ok__) => { - core::ptr::write(lpdeinterlacemode, core::mem::transmute(ok__)); + lpdeinterlacemode.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -15213,7 +15213,7 @@ impl IVMRDeinterlaceControl9_Vtbl { let this = (*this).get_impl(); match IVMRDeinterlaceControl9_Impl::GetDeinterlaceMode(this, core::mem::transmute_copy(&dwstreamid)) { Ok(ok__) => { - core::ptr::write(lpdeinterlacemode, core::mem::transmute(ok__)); + lpdeinterlacemode.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -15229,7 +15229,7 @@ impl IVMRDeinterlaceControl9_Vtbl { let this = (*this).get_impl(); match IVMRDeinterlaceControl9_Impl::GetDeinterlacePrefs(this) { Ok(ok__) => { - core::ptr::write(lpdwdeinterlaceprefs, core::mem::transmute(ok__)); + lpdwdeinterlaceprefs.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -15245,7 +15245,7 @@ impl IVMRDeinterlaceControl9_Vtbl { let this = (*this).get_impl(); match IVMRDeinterlaceControl9_Impl::GetActualDeinterlaceMode(this, core::mem::transmute_copy(&dwstreamid)) { Ok(ok__) => { - core::ptr::write(lpdeinterlacemode, core::mem::transmute(ok__)); + lpdeinterlacemode.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -15293,7 +15293,7 @@ impl IVMRFilterConfig_Vtbl { let this = (*this).get_impl(); match IVMRFilterConfig_Impl::GetNumberOfStreams(this) { Ok(ok__) => { - core::ptr::write(pdwmaxstreams, core::mem::transmute(ok__)); + pdwmaxstreams.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -15309,7 +15309,7 @@ impl IVMRFilterConfig_Vtbl { let this = (*this).get_impl(); match IVMRFilterConfig_Impl::GetRenderingPrefs(this) { Ok(ok__) => { - core::ptr::write(pdwrenderflags, core::mem::transmute(ok__)); + pdwrenderflags.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -15325,7 +15325,7 @@ impl IVMRFilterConfig_Vtbl { let this = (*this).get_impl(); match IVMRFilterConfig_Impl::GetRenderingMode(this) { Ok(ok__) => { - core::ptr::write(pmode, core::mem::transmute(ok__)); + pmode.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -15373,7 +15373,7 @@ impl IVMRFilterConfig9_Vtbl { let this = (*this).get_impl(); match IVMRFilterConfig9_Impl::GetNumberOfStreams(this) { Ok(ok__) => { - core::ptr::write(pdwmaxstreams, core::mem::transmute(ok__)); + pdwmaxstreams.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -15389,7 +15389,7 @@ impl IVMRFilterConfig9_Vtbl { let this = (*this).get_impl(); match IVMRFilterConfig9_Impl::GetRenderingPrefs(this) { Ok(ok__) => { - core::ptr::write(pdwrenderflags, core::mem::transmute(ok__)); + pdwrenderflags.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -15405,7 +15405,7 @@ impl IVMRFilterConfig9_Vtbl { let this = (*this).get_impl(); match IVMRFilterConfig9_Impl::GetRenderingMode(this) { Ok(ok__) => { - core::ptr::write(pmode, core::mem::transmute(ok__)); + pmode.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -15605,7 +15605,7 @@ impl IVMRImagePresenterConfig_Vtbl { let this = (*this).get_impl(); match IVMRImagePresenterConfig_Impl::GetRenderingPrefs(this) { Ok(ok__) => { - core::ptr::write(dwrenderflags, core::mem::transmute(ok__)); + dwrenderflags.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -15638,7 +15638,7 @@ impl IVMRImagePresenterConfig9_Vtbl { let this = (*this).get_impl(); match IVMRImagePresenterConfig9_Impl::GetRenderingPrefs(this) { Ok(ok__) => { - core::ptr::write(dwrenderflags, core::mem::transmute(ok__)); + dwrenderflags.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -15783,7 +15783,7 @@ impl IVMRMixerControl_Vtbl { let this = (*this).get_impl(); match IVMRMixerControl_Impl::GetAlpha(this, core::mem::transmute_copy(&dwstreamid)) { Ok(ok__) => { - core::ptr::write(palpha, core::mem::transmute(ok__)); + palpha.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -15799,7 +15799,7 @@ impl IVMRMixerControl_Vtbl { let this = (*this).get_impl(); match IVMRMixerControl_Impl::GetZOrder(this, core::mem::transmute_copy(&dwstreamid)) { Ok(ok__) => { - core::ptr::write(pz, core::mem::transmute(ok__)); + pz.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -15815,7 +15815,7 @@ impl IVMRMixerControl_Vtbl { let this = (*this).get_impl(); match IVMRMixerControl_Impl::GetOutputRect(this, core::mem::transmute_copy(&dwstreamid)) { Ok(ok__) => { - core::ptr::write(prect, core::mem::transmute(ok__)); + prect.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -15841,7 +15841,7 @@ impl IVMRMixerControl_Vtbl { let this = (*this).get_impl(); match IVMRMixerControl_Impl::GetMixingPrefs(this) { Ok(ok__) => { - core::ptr::write(pdwmixerprefs, core::mem::transmute(ok__)); + pdwmixerprefs.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -15893,7 +15893,7 @@ impl IVMRMixerControl9_Vtbl { let this = (*this).get_impl(); match IVMRMixerControl9_Impl::GetAlpha(this, core::mem::transmute_copy(&dwstreamid)) { Ok(ok__) => { - core::ptr::write(palpha, core::mem::transmute(ok__)); + palpha.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -15909,7 +15909,7 @@ impl IVMRMixerControl9_Vtbl { let this = (*this).get_impl(); match IVMRMixerControl9_Impl::GetZOrder(this, core::mem::transmute_copy(&dwstreamid)) { Ok(ok__) => { - core::ptr::write(pz, core::mem::transmute(ok__)); + pz.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -15925,7 +15925,7 @@ impl IVMRMixerControl9_Vtbl { let this = (*this).get_impl(); match IVMRMixerControl9_Impl::GetOutputRect(this, core::mem::transmute_copy(&dwstreamid)) { Ok(ok__) => { - core::ptr::write(prect, core::mem::transmute(ok__)); + prect.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -15951,7 +15951,7 @@ impl IVMRMixerControl9_Vtbl { let this = (*this).get_impl(); match IVMRMixerControl9_Impl::GetMixingPrefs(this) { Ok(ok__) => { - core::ptr::write(pdwmixerprefs, core::mem::transmute(ok__)); + pdwmixerprefs.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -16067,7 +16067,7 @@ impl IVMRMonitorConfig9_Vtbl { let this = (*this).get_impl(); match IVMRMonitorConfig9_Impl::GetMonitor(this) { Ok(ok__) => { - core::ptr::write(pudev, core::mem::transmute(ok__)); + pudev.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -16083,7 +16083,7 @@ impl IVMRMonitorConfig9_Vtbl { let this = (*this).get_impl(); match IVMRMonitorConfig9_Impl::GetDefaultMonitor(this) { Ok(ok__) => { - core::ptr::write(pudev, core::mem::transmute(ok__)); + pudev.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -16129,7 +16129,7 @@ impl IVMRSurface_Vtbl { let this = (*this).get_impl(); match IVMRSurface_Impl::LockSurface(this) { Ok(ok__) => { - core::ptr::write(lpsurface, core::mem::transmute(ok__)); + lpsurface.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -16145,7 +16145,7 @@ impl IVMRSurface_Vtbl { let this = (*this).get_impl(); match IVMRSurface_Impl::GetSurface(this) { Ok(ok__) => { - core::ptr::write(lplpsurface, core::mem::transmute(ok__)); + lplpsurface.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -16185,7 +16185,7 @@ impl IVMRSurface9_Vtbl { let this = (*this).get_impl(); match IVMRSurface9_Impl::LockSurface(this) { Ok(ok__) => { - core::ptr::write(lpsurface, core::mem::transmute(ok__)); + lpsurface.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -16201,7 +16201,7 @@ impl IVMRSurface9_Vtbl { let this = (*this).get_impl(); match IVMRSurface9_Impl::GetSurface(this) { Ok(ok__) => { - core::ptr::write(lplpsurface, core::mem::transmute(ok__)); + lplpsurface.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -16290,7 +16290,7 @@ impl IVMRSurfaceAllocator9_Vtbl { let this = (*this).get_impl(); match IVMRSurfaceAllocator9_Impl::GetSurface(this, core::mem::transmute_copy(&dwuserid), core::mem::transmute_copy(&surfaceindex), core::mem::transmute_copy(&surfaceflags)) { Ok(ok__) => { - core::ptr::write(lplpsurface, core::mem::transmute(ok__)); + lplpsurface.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -16464,7 +16464,7 @@ impl IVMRVideoStreamControl_Vtbl { let this = (*this).get_impl(); match IVMRVideoStreamControl_Impl::GetColorKey(this) { Ok(ok__) => { - core::ptr::write(lpclrkey, core::mem::transmute(ok__)); + lpclrkey.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -16480,7 +16480,7 @@ impl IVMRVideoStreamControl_Vtbl { let this = (*this).get_impl(); match IVMRVideoStreamControl_Impl::GetStreamActiveState(this) { Ok(ok__) => { - core::ptr::write(lpfactive, core::mem::transmute(ok__)); + lpfactive.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -16515,7 +16515,7 @@ impl IVMRVideoStreamControl9_Vtbl { let this = (*this).get_impl(); match IVMRVideoStreamControl9_Impl::GetStreamActiveState(this) { Ok(ok__) => { - core::ptr::write(lpfactive, core::mem::transmute(ok__)); + lpfactive.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -16584,7 +16584,7 @@ impl IVMRWindowlessControl_Vtbl { let this = (*this).get_impl(); match IVMRWindowlessControl_Impl::GetAspectRatioMode(this) { Ok(ok__) => { - core::ptr::write(lpaspectratiomode, core::mem::transmute(ok__)); + lpaspectratiomode.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -16615,7 +16615,7 @@ impl IVMRWindowlessControl_Vtbl { let this = (*this).get_impl(); match IVMRWindowlessControl_Impl::GetCurrentImage(this) { Ok(ok__) => { - core::ptr::write(lpdib, core::mem::transmute(ok__)); + lpdib.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -16631,7 +16631,7 @@ impl IVMRWindowlessControl_Vtbl { let this = (*this).get_impl(); match IVMRWindowlessControl_Impl::GetBorderColor(this) { Ok(ok__) => { - core::ptr::write(lpclr, core::mem::transmute(ok__)); + lpclr.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -16647,7 +16647,7 @@ impl IVMRWindowlessControl_Vtbl { let this = (*this).get_impl(); match IVMRWindowlessControl_Impl::GetColorKey(this) { Ok(ok__) => { - core::ptr::write(lpclr, core::mem::transmute(ok__)); + lpclr.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -16727,7 +16727,7 @@ impl IVMRWindowlessControl9_Vtbl { let this = (*this).get_impl(); match IVMRWindowlessControl9_Impl::GetAspectRatioMode(this) { Ok(ok__) => { - core::ptr::write(lpaspectratiomode, core::mem::transmute(ok__)); + lpaspectratiomode.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -16758,7 +16758,7 @@ impl IVMRWindowlessControl9_Vtbl { let this = (*this).get_impl(); match IVMRWindowlessControl9_Impl::GetCurrentImage(this) { Ok(ok__) => { - core::ptr::write(lpdib, core::mem::transmute(ok__)); + lpdib.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -16774,7 +16774,7 @@ impl IVMRWindowlessControl9_Vtbl { let this = (*this).get_impl(); match IVMRWindowlessControl9_Impl::GetBorderColor(this) { Ok(ok__) => { - core::ptr::write(lpclr, core::mem::transmute(ok__)); + lpclr.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -16867,7 +16867,7 @@ impl IVPBaseConfig_Vtbl { let this = (*this).get_impl(); match IVPBaseConfig_Impl::GetOverlaySurface(this) { Ok(ok__) => { - core::ptr::write(ppddoverlaysurface, core::mem::transmute(ok__)); + ppddoverlaysurface.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -16978,7 +16978,7 @@ impl IVPManager_Vtbl { let this = (*this).get_impl(); match IVPManager_Impl::GetVideoPortIndex(this) { Ok(ok__) => { - core::ptr::write(pdwvideoportindex, core::mem::transmute(ok__)); + pdwvideoportindex.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -17458,7 +17458,7 @@ impl IVideoWindow_Vtbl { let this = (*this).get_impl(); match IVideoWindow_Impl::Caption(this) { Ok(ok__) => { - core::ptr::write(strcaption, core::mem::transmute(ok__)); + strcaption.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -17474,7 +17474,7 @@ impl IVideoWindow_Vtbl { let this = (*this).get_impl(); match IVideoWindow_Impl::WindowStyle(this) { Ok(ok__) => { - core::ptr::write(windowstyle, core::mem::transmute(ok__)); + windowstyle.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -17490,7 +17490,7 @@ impl IVideoWindow_Vtbl { let this = (*this).get_impl(); match IVideoWindow_Impl::WindowStyleEx(this) { Ok(ok__) => { - core::ptr::write(windowstyleex, core::mem::transmute(ok__)); + windowstyleex.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -17506,7 +17506,7 @@ impl IVideoWindow_Vtbl { let this = (*this).get_impl(); match IVideoWindow_Impl::AutoShow(this) { Ok(ok__) => { - core::ptr::write(autoshow, core::mem::transmute(ok__)); + autoshow.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -17522,7 +17522,7 @@ impl IVideoWindow_Vtbl { let this = (*this).get_impl(); match IVideoWindow_Impl::WindowState(this) { Ok(ok__) => { - core::ptr::write(windowstate, core::mem::transmute(ok__)); + windowstate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -17538,7 +17538,7 @@ impl IVideoWindow_Vtbl { let this = (*this).get_impl(); match IVideoWindow_Impl::BackgroundPalette(this) { Ok(ok__) => { - core::ptr::write(pbackgroundpalette, core::mem::transmute(ok__)); + pbackgroundpalette.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -17554,7 +17554,7 @@ impl IVideoWindow_Vtbl { let this = (*this).get_impl(); match IVideoWindow_Impl::Visible(this) { Ok(ok__) => { - core::ptr::write(pvisible, core::mem::transmute(ok__)); + pvisible.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -17570,7 +17570,7 @@ impl IVideoWindow_Vtbl { let this = (*this).get_impl(); match IVideoWindow_Impl::Left(this) { Ok(ok__) => { - core::ptr::write(pleft, core::mem::transmute(ok__)); + pleft.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -17586,7 +17586,7 @@ impl IVideoWindow_Vtbl { let this = (*this).get_impl(); match IVideoWindow_Impl::Width(this) { Ok(ok__) => { - core::ptr::write(pwidth, core::mem::transmute(ok__)); + pwidth.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -17602,7 +17602,7 @@ impl IVideoWindow_Vtbl { let this = (*this).get_impl(); match IVideoWindow_Impl::Top(this) { Ok(ok__) => { - core::ptr::write(ptop, core::mem::transmute(ok__)); + ptop.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -17618,7 +17618,7 @@ impl IVideoWindow_Vtbl { let this = (*this).get_impl(); match IVideoWindow_Impl::Height(this) { Ok(ok__) => { - core::ptr::write(pheight, core::mem::transmute(ok__)); + pheight.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -17634,7 +17634,7 @@ impl IVideoWindow_Vtbl { let this = (*this).get_impl(); match IVideoWindow_Impl::Owner(this) { Ok(ok__) => { - core::ptr::write(owner, core::mem::transmute(ok__)); + owner.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -17650,7 +17650,7 @@ impl IVideoWindow_Vtbl { let this = (*this).get_impl(); match IVideoWindow_Impl::MessageDrain(this) { Ok(ok__) => { - core::ptr::write(drain, core::mem::transmute(ok__)); + drain.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -17661,7 +17661,7 @@ impl IVideoWindow_Vtbl { let this = (*this).get_impl(); match IVideoWindow_Impl::BorderColor(this) { Ok(ok__) => { - core::ptr::write(color, core::mem::transmute(ok__)); + color.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -17677,7 +17677,7 @@ impl IVideoWindow_Vtbl { let this = (*this).get_impl(); match IVideoWindow_Impl::FullScreenMode(this) { Ok(ok__) => { - core::ptr::write(fullscreenmode, core::mem::transmute(ok__)); + fullscreenmode.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -17733,7 +17733,7 @@ impl IVideoWindow_Vtbl { let this = (*this).get_impl(); match IVideoWindow_Impl::IsCursorHidden(this) { Ok(ok__) => { - core::ptr::write(cursorhidden, core::mem::transmute(ok__)); + cursorhidden.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/Win32/Media/DxMediaObjects/impl.rs b/crates/libs/windows/src/Windows/Win32/Media/DxMediaObjects/impl.rs index 89ddf0ec52..77fe13fba2 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/DxMediaObjects/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/DxMediaObjects/impl.rs @@ -21,7 +21,7 @@ impl IDMOQualityControl_Vtbl { let this = (*this).get_impl(); match IDMOQualityControl_Impl::GetStatus(this) { Ok(ok__) => { - core::ptr::write(pdwflags, core::mem::transmute(ok__)); + pdwflags.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -52,7 +52,7 @@ impl IDMOVideoOutputOptimizations_Vtbl { let this = (*this).get_impl(); match IDMOVideoOutputOptimizations_Impl::QueryOperationModePreferences(this, core::mem::transmute_copy(&uloutputstreamindex)) { Ok(ok__) => { - core::ptr::write(pdwrequestedcapabilities, core::mem::transmute(ok__)); + pdwrequestedcapabilities.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -68,7 +68,7 @@ impl IDMOVideoOutputOptimizations_Vtbl { let this = (*this).get_impl(); match IDMOVideoOutputOptimizations_Impl::GetCurrentOperationMode(this, core::mem::transmute_copy(&uloutputstreamindex)) { Ok(ok__) => { - core::ptr::write(pdwenabledfeatures, core::mem::transmute(ok__)); + pdwenabledfeatures.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -79,7 +79,7 @@ impl IDMOVideoOutputOptimizations_Vtbl { let this = (*this).get_impl(); match IDMOVideoOutputOptimizations_Impl::GetCurrentSampleRequirements(this, core::mem::transmute_copy(&uloutputstreamindex)) { Ok(ok__) => { - core::ptr::write(pdwrequestedfeatures, core::mem::transmute(ok__)); + pdwrequestedfeatures.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -126,7 +126,7 @@ impl IEnumDMO_Vtbl { let this = (*this).get_impl(); match IEnumDMO_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -162,7 +162,7 @@ impl IMediaBuffer_Vtbl { let this = (*this).get_impl(); match IMediaBuffer_Impl::GetMaxLength(this) { Ok(ok__) => { - core::ptr::write(pcbmaxlength, core::mem::transmute(ok__)); + pcbmaxlength.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -220,7 +220,7 @@ impl IMediaObject_Vtbl { let this = (*this).get_impl(); match IMediaObject_Impl::GetInputStreamInfo(this, core::mem::transmute_copy(&dwinputstreamindex)) { Ok(ok__) => { - core::ptr::write(pdwflags, core::mem::transmute(ok__)); + pdwflags.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -231,7 +231,7 @@ impl IMediaObject_Vtbl { let this = (*this).get_impl(); match IMediaObject_Impl::GetOutputStreamInfo(this, core::mem::transmute_copy(&dwoutputstreamindex)) { Ok(ok__) => { - core::ptr::write(pdwflags, core::mem::transmute(ok__)); + pdwflags.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -282,7 +282,7 @@ impl IMediaObject_Vtbl { let this = (*this).get_impl(); match IMediaObject_Impl::GetInputMaxLatency(this, core::mem::transmute_copy(&dwinputstreamindex)) { Ok(ok__) => { - core::ptr::write(prtmaxlatency, core::mem::transmute(ok__)); + prtmaxlatency.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -318,7 +318,7 @@ impl IMediaObject_Vtbl { let this = (*this).get_impl(); match IMediaObject_Impl::GetInputStatus(this, core::mem::transmute_copy(&dwinputstreamindex)) { Ok(ok__) => { - core::ptr::write(dwflags, core::mem::transmute(ok__)); + dwflags.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -386,7 +386,7 @@ impl IMediaObjectInPlace_Vtbl { let this = (*this).get_impl(); match IMediaObjectInPlace_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppmediaobject, core::mem::transmute(ok__)); + ppmediaobject.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -397,7 +397,7 @@ impl IMediaObjectInPlace_Vtbl { let this = (*this).get_impl(); match IMediaObjectInPlace_Impl::GetLatency(this) { Ok(ok__) => { - core::ptr::write(platencytime, core::mem::transmute(ok__)); + platencytime.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/Win32/Media/KernelStreaming/impl.rs b/crates/libs/windows/src/Windows/Win32/Media/KernelStreaming/impl.rs index 6146952da5..2acb9706d0 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/KernelStreaming/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/KernelStreaming/impl.rs @@ -127,7 +127,7 @@ impl IKsClockPropertySet_Vtbl { let this = (*this).get_impl(); match IKsClockPropertySet_Impl::KsGetTime(this) { Ok(ok__) => { - core::ptr::write(time, core::mem::transmute(ok__)); + time.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -143,7 +143,7 @@ impl IKsClockPropertySet_Vtbl { let this = (*this).get_impl(); match IKsClockPropertySet_Impl::KsGetPhysicalTime(this) { Ok(ok__) => { - core::ptr::write(time, core::mem::transmute(ok__)); + time.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -159,7 +159,7 @@ impl IKsClockPropertySet_Vtbl { let this = (*this).get_impl(); match IKsClockPropertySet_Impl::KsGetCorrelatedTime(this) { Ok(ok__) => { - core::ptr::write(correlatedtime, core::mem::transmute(ok__)); + correlatedtime.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -175,7 +175,7 @@ impl IKsClockPropertySet_Vtbl { let this = (*this).get_impl(); match IKsClockPropertySet_Impl::KsGetCorrelatedPhysicalTime(this) { Ok(ok__) => { - core::ptr::write(correlatedtime, core::mem::transmute(ok__)); + correlatedtime.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -191,7 +191,7 @@ impl IKsClockPropertySet_Vtbl { let this = (*this).get_impl(); match IKsClockPropertySet_Impl::KsGetResolution(this) { Ok(ok__) => { - core::ptr::write(resolution, core::mem::transmute(ok__)); + resolution.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -202,7 +202,7 @@ impl IKsClockPropertySet_Vtbl { let this = (*this).get_impl(); match IKsClockPropertySet_Impl::KsGetState(this) { Ok(ok__) => { - core::ptr::write(state, core::mem::transmute(ok__)); + state.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -313,7 +313,7 @@ impl IKsDataTypeHandler_Vtbl { let this = (*this).get_impl(); match IKsDataTypeHandler_Impl::KsQueryExtendedSize(this) { Ok(ok__) => { - core::ptr::write(extendedsize, core::mem::transmute(ok__)); + extendedsize.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -354,7 +354,7 @@ impl IKsFormatSupport_Vtbl { let this = (*this).get_impl(); match IKsFormatSupport_Impl::GetDevicePreferredFormat(this) { Ok(ok__) => { - core::ptr::write(ppksformat, core::mem::transmute(ok__)); + ppksformat.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -418,7 +418,7 @@ impl IKsJackContainerId_Vtbl { let this = (*this).get_impl(); match IKsJackContainerId_Impl::GetJackContainerId(this) { Ok(ok__) => { - core::ptr::write(pjackcontainerid, core::mem::transmute(ok__)); + pjackcontainerid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -442,7 +442,7 @@ impl IKsJackDescription_Vtbl { let this = (*this).get_impl(); match IKsJackDescription_Impl::GetJackCount(this) { Ok(ok__) => { - core::ptr::write(pcjacks, core::mem::transmute(ok__)); + pcjacks.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -475,7 +475,7 @@ impl IKsJackDescription2_Vtbl { let this = (*this).get_impl(); match IKsJackDescription2_Impl::GetJackCount(this) { Ok(ok__) => { - core::ptr::write(pcjacks, core::mem::transmute(ok__)); + pcjacks.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -486,7 +486,7 @@ impl IKsJackDescription2_Vtbl { let this = (*this).get_impl(); match IKsJackDescription2_Impl::GetJackDescription2(this, core::mem::transmute_copy(&njack)) { Ok(ok__) => { - core::ptr::write(pdescription2, core::mem::transmute(ok__)); + pdescription2.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -514,7 +514,7 @@ impl IKsJackDescription3_Vtbl { let this = (*this).get_impl(); match IKsJackDescription3_Impl::GetJackCount(this) { Ok(ok__) => { - core::ptr::write(pcjacks, core::mem::transmute(ok__)); + pcjacks.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -525,7 +525,7 @@ impl IKsJackDescription3_Vtbl { let this = (*this).get_impl(); match IKsJackDescription3_Impl::GetJackDescription3(this, core::mem::transmute_copy(&njack)) { Ok(ok__) => { - core::ptr::write(pdescription3, core::mem::transmute(ok__)); + pdescription3.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -645,7 +645,7 @@ impl IKsPin_Vtbl { let this = (*this).get_impl(); match IKsPin_Impl::KsQueryMediums(this) { Ok(ok__) => { - core::ptr::write(mediumlist, core::mem::transmute(ok__)); + mediumlist.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -656,7 +656,7 @@ impl IKsPin_Vtbl { let this = (*this).get_impl(); match IKsPin_Impl::KsQueryInterfaces(this) { Ok(ok__) => { - core::ptr::write(interfacelist, core::mem::transmute(ok__)); + interfacelist.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -769,7 +769,7 @@ impl IKsPinFactory_Vtbl { let this = (*this).get_impl(); match IKsPinFactory_Impl::KsPinFactory(this) { Ok(ok__) => { - core::ptr::write(pinfactory, core::mem::transmute(ok__)); + pinfactory.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -897,7 +897,7 @@ impl IKsPropertySet_Vtbl { let this = (*this).get_impl(); match IKsPropertySet_Impl::QuerySupported(this, core::mem::transmute_copy(&guidpropset), core::mem::transmute_copy(&dwpropid)) { Ok(ok__) => { - core::ptr::write(ptypesupport, core::mem::transmute(ok__)); + ptypesupport.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -966,7 +966,7 @@ impl IKsTopologyInfo_Vtbl { let this = (*this).get_impl(); match IKsTopologyInfo_Impl::NumCategories(this) { Ok(ok__) => { - core::ptr::write(pdwnumcategories, core::mem::transmute(ok__)); + pdwnumcategories.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -977,7 +977,7 @@ impl IKsTopologyInfo_Vtbl { let this = (*this).get_impl(); match IKsTopologyInfo_Impl::get_Category(this, core::mem::transmute_copy(&dwindex)) { Ok(ok__) => { - core::ptr::write(pcategory, core::mem::transmute(ok__)); + pcategory.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -988,7 +988,7 @@ impl IKsTopologyInfo_Vtbl { let this = (*this).get_impl(); match IKsTopologyInfo_Impl::NumConnections(this) { Ok(ok__) => { - core::ptr::write(pdwnumconnections, core::mem::transmute(ok__)); + pdwnumconnections.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -999,7 +999,7 @@ impl IKsTopologyInfo_Vtbl { let this = (*this).get_impl(); match IKsTopologyInfo_Impl::get_ConnectionInfo(this, core::mem::transmute_copy(&dwindex)) { Ok(ok__) => { - core::ptr::write(pconnectioninfo, core::mem::transmute(ok__)); + pconnectioninfo.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1015,7 +1015,7 @@ impl IKsTopologyInfo_Vtbl { let this = (*this).get_impl(); match IKsTopologyInfo_Impl::NumNodes(this) { Ok(ok__) => { - core::ptr::write(pdwnumnodes, core::mem::transmute(ok__)); + pdwnumnodes.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1026,7 +1026,7 @@ impl IKsTopologyInfo_Vtbl { let this = (*this).get_impl(); match IKsTopologyInfo_Impl::get_NodeType(this, core::mem::transmute_copy(&dwnodeid)) { Ok(ok__) => { - core::ptr::write(pnodetype, core::mem::transmute(ok__)); + pnodetype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/Win32/Media/LibrarySharingServices/impl.rs b/crates/libs/windows/src/Windows/Win32/Media/LibrarySharingServices/impl.rs index 24de76668a..5da7b1bf83 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/LibrarySharingServices/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/LibrarySharingServices/impl.rs @@ -15,7 +15,7 @@ impl IWindowsMediaLibrarySharingDevice_Vtbl { let this = (*this).get_impl(); match IWindowsMediaLibrarySharingDevice_Impl::DeviceID(this) { Ok(ok__) => { - core::ptr::write(deviceid, core::mem::transmute(ok__)); + deviceid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -26,7 +26,7 @@ impl IWindowsMediaLibrarySharingDevice_Vtbl { let this = (*this).get_impl(); match IWindowsMediaLibrarySharingDevice_Impl::Authorization(this) { Ok(ok__) => { - core::ptr::write(authorization, core::mem::transmute(ok__)); + authorization.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -42,7 +42,7 @@ impl IWindowsMediaLibrarySharingDevice_Vtbl { let this = (*this).get_impl(); match IWindowsMediaLibrarySharingDevice_Impl::Properties(this) { Ok(ok__) => { - core::ptr::write(deviceproperties, core::mem::transmute(ok__)); + deviceproperties.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -76,7 +76,7 @@ impl IWindowsMediaLibrarySharingDeviceProperties_Vtbl { let this = (*this).get_impl(); match IWindowsMediaLibrarySharingDeviceProperties_Impl::get_Item(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(property, core::mem::transmute(ok__)); + property.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -87,7 +87,7 @@ impl IWindowsMediaLibrarySharingDeviceProperties_Vtbl { let this = (*this).get_impl(); match IWindowsMediaLibrarySharingDeviceProperties_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(count, core::mem::transmute(ok__)); + count.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -98,7 +98,7 @@ impl IWindowsMediaLibrarySharingDeviceProperties_Vtbl { let this = (*this).get_impl(); match IWindowsMediaLibrarySharingDeviceProperties_Impl::GetProperty(this, core::mem::transmute(&name)) { Ok(ok__) => { - core::ptr::write(property, core::mem::transmute(ok__)); + property.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -130,7 +130,7 @@ impl IWindowsMediaLibrarySharingDeviceProperty_Vtbl { let this = (*this).get_impl(); match IWindowsMediaLibrarySharingDeviceProperty_Impl::Name(this) { Ok(ok__) => { - core::ptr::write(name, core::mem::transmute(ok__)); + name.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -141,7 +141,7 @@ impl IWindowsMediaLibrarySharingDeviceProperty_Vtbl { let this = (*this).get_impl(); match IWindowsMediaLibrarySharingDeviceProperty_Impl::Value(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -173,7 +173,7 @@ impl IWindowsMediaLibrarySharingDevices_Vtbl { let this = (*this).get_impl(); match IWindowsMediaLibrarySharingDevices_Impl::get_Item(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(device, core::mem::transmute(ok__)); + device.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -184,7 +184,7 @@ impl IWindowsMediaLibrarySharingDevices_Vtbl { let this = (*this).get_impl(); match IWindowsMediaLibrarySharingDevices_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(count, core::mem::transmute(ok__)); + count.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -195,7 +195,7 @@ impl IWindowsMediaLibrarySharingDevices_Vtbl { let this = (*this).get_impl(); match IWindowsMediaLibrarySharingDevices_Impl::GetDevice(this, core::mem::transmute(&deviceid)) { Ok(ok__) => { - core::ptr::write(device, core::mem::transmute(ok__)); + device.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -249,7 +249,7 @@ impl IWindowsMediaLibrarySharingServices_Vtbl { let this = (*this).get_impl(); match IWindowsMediaLibrarySharingServices_Impl::userHomeMediaSharingState(this) { Ok(ok__) => { - core::ptr::write(sharingenabled, core::mem::transmute(ok__)); + sharingenabled.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -265,7 +265,7 @@ impl IWindowsMediaLibrarySharingServices_Vtbl { let this = (*this).get_impl(); match IWindowsMediaLibrarySharingServices_Impl::userHomeMediaSharingLibraryName(this) { Ok(ok__) => { - core::ptr::write(libraryname, core::mem::transmute(ok__)); + libraryname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -281,7 +281,7 @@ impl IWindowsMediaLibrarySharingServices_Vtbl { let this = (*this).get_impl(); match IWindowsMediaLibrarySharingServices_Impl::computerHomeMediaSharingAllowedState(this) { Ok(ok__) => { - core::ptr::write(sharingallowed, core::mem::transmute(ok__)); + sharingallowed.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -297,7 +297,7 @@ impl IWindowsMediaLibrarySharingServices_Vtbl { let this = (*this).get_impl(); match IWindowsMediaLibrarySharingServices_Impl::userInternetMediaSharingState(this) { Ok(ok__) => { - core::ptr::write(sharingenabled, core::mem::transmute(ok__)); + sharingenabled.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -313,7 +313,7 @@ impl IWindowsMediaLibrarySharingServices_Vtbl { let this = (*this).get_impl(); match IWindowsMediaLibrarySharingServices_Impl::computerInternetMediaSharingAllowedState(this) { Ok(ok__) => { - core::ptr::write(sharingallowed, core::mem::transmute(ok__)); + sharingallowed.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -329,7 +329,7 @@ impl IWindowsMediaLibrarySharingServices_Vtbl { let this = (*this).get_impl(); match IWindowsMediaLibrarySharingServices_Impl::internetMediaSharingSecurityGroup(this) { Ok(ok__) => { - core::ptr::write(securitygroup, core::mem::transmute(ok__)); + securitygroup.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -345,7 +345,7 @@ impl IWindowsMediaLibrarySharingServices_Vtbl { let this = (*this).get_impl(); match IWindowsMediaLibrarySharingServices_Impl::allowSharingToAllDevices(this) { Ok(ok__) => { - core::ptr::write(sharingenabled, core::mem::transmute(ok__)); + sharingenabled.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -371,7 +371,7 @@ impl IWindowsMediaLibrarySharingServices_Vtbl { let this = (*this).get_impl(); match IWindowsMediaLibrarySharingServices_Impl::getAllDevices(this) { Ok(ok__) => { - core::ptr::write(devices, core::mem::transmute(ok__)); + devices.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -382,7 +382,7 @@ impl IWindowsMediaLibrarySharingServices_Vtbl { let this = (*this).get_impl(); match IWindowsMediaLibrarySharingServices_Impl::customSettingsApplied(this) { Ok(ok__) => { - core::ptr::write(customsettingsapplied, core::mem::transmute(ok__)); + customsettingsapplied.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/Win32/Media/MediaFoundation/impl.rs b/crates/libs/windows/src/Windows/Win32/Media/MediaFoundation/impl.rs index 26af69af2f..b3b97a1569 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/MediaFoundation/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/MediaFoundation/impl.rs @@ -9,7 +9,7 @@ impl IAdvancedMediaCapture_Vtbl { let this = (*this).get_impl(); match IAdvancedMediaCapture_Impl::GetAdvancedMediaCaptureSettings(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -52,7 +52,7 @@ impl IAdvancedMediaCaptureSettings_Vtbl { let this = (*this).get_impl(); match IAdvancedMediaCaptureSettings_Impl::GetDirectxDeviceManager(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -98,7 +98,7 @@ impl IClusterDetector_Vtbl { let this = (*this).get_impl(); match IClusterDetector_Impl::Detect(this, core::mem::transmute_copy(&dwmaxnumclusters), core::mem::transmute_copy(&fminclusterduration), core::mem::transmute_copy(&fmaxclusterduration), windows_core::from_raw_borrowed(&psrctoc)) { Ok(ok__) => { - core::ptr::write(ppdsttoc, core::mem::transmute(ok__)); + ppdsttoc.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -162,7 +162,7 @@ impl ICodecAPI_Vtbl { let this = (*this).get_impl(); match ICodecAPI_Impl::GetDefaultValue(this, core::mem::transmute_copy(&api)) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -173,7 +173,7 @@ impl ICodecAPI_Vtbl { let this = (*this).get_impl(); match ICodecAPI_Impl::GetValue(this, core::mem::transmute_copy(&api)) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1416,7 +1416,7 @@ impl IDXVAHD_Device_Vtbl { let this = (*this).get_impl(); match IDXVAHD_Device_Impl::GetVideoProcessorFilterRange(this, core::mem::transmute_copy(&filter)) { Ok(ok__) => { - core::ptr::write(prange, core::mem::transmute(ok__)); + prange.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1427,7 +1427,7 @@ impl IDXVAHD_Device_Vtbl { let this = (*this).get_impl(); match IDXVAHD_Device_Impl::CreateVideoProcessor(this, core::mem::transmute_copy(&pvpguid)) { Ok(ok__) => { - core::ptr::write(ppvideoprocessor, core::mem::transmute(ok__)); + ppvideoprocessor.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1712,7 +1712,7 @@ impl IDirect3DDeviceManager9_Vtbl { let this = (*this).get_impl(); match IDirect3DDeviceManager9_Impl::OpenDeviceHandle(this) { Ok(ok__) => { - core::ptr::write(phdevice, core::mem::transmute(ok__)); + phdevice.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1798,7 +1798,7 @@ impl IDirectXVideoDecoder_Vtbl { let this = (*this).get_impl(); match IDirectXVideoDecoder_Impl::GetVideoDecoderService(this) { Ok(ok__) => { - core::ptr::write(ppservice, core::mem::transmute(ok__)); + ppservice.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1881,7 +1881,7 @@ impl IDirectXVideoDecoderService_Vtbl { let this = (*this).get_impl(); match IDirectXVideoDecoderService_Impl::CreateVideoDecoder(this, core::mem::transmute_copy(&guid), core::mem::transmute_copy(&pvideodesc), core::mem::transmute_copy(&pconfig), core::mem::transmute_copy(&ppdecoderrendertargets), core::mem::transmute_copy(&numrendertargets)) { Ok(ok__) => { - core::ptr::write(ppdecode, core::mem::transmute(ok__)); + ppdecode.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1911,7 +1911,7 @@ impl IDirectXVideoMemoryConfiguration_Vtbl { let this = (*this).get_impl(); match IDirectXVideoMemoryConfiguration_Impl::GetAvailableSurfaceTypeByIndex(this, core::mem::transmute_copy(&dwtypeindex)) { Ok(ok__) => { - core::ptr::write(pdwtype, core::mem::transmute(ok__)); + pdwtype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1951,7 +1951,7 @@ impl IDirectXVideoProcessor_Vtbl { let this = (*this).get_impl(); match IDirectXVideoProcessor_Impl::GetVideoProcessorService(this) { Ok(ok__) => { - core::ptr::write(ppservice, core::mem::transmute(ok__)); + ppservice.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1972,7 +1972,7 @@ impl IDirectXVideoProcessor_Vtbl { let this = (*this).get_impl(); match IDirectXVideoProcessor_Impl::GetProcAmpRange(this, core::mem::transmute_copy(&procampcap)) { Ok(ok__) => { - core::ptr::write(prange, core::mem::transmute(ok__)); + prange.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1983,7 +1983,7 @@ impl IDirectXVideoProcessor_Vtbl { let this = (*this).get_impl(); match IDirectXVideoProcessor_Impl::GetFilterPropertyRange(this, core::mem::transmute_copy(&filtersetting)) { Ok(ok__) => { - core::ptr::write(prange, core::mem::transmute(ok__)); + prange.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2054,7 +2054,7 @@ impl IDirectXVideoProcessorService_Vtbl { let this = (*this).get_impl(); match IDirectXVideoProcessorService_Impl::GetProcAmpRange(this, core::mem::transmute_copy(&videoprocdeviceguid), core::mem::transmute_copy(&pvideodesc), core::mem::transmute_copy(&rendertargetformat), core::mem::transmute_copy(&procampcap)) { Ok(ok__) => { - core::ptr::write(prange, core::mem::transmute(ok__)); + prange.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2065,7 +2065,7 @@ impl IDirectXVideoProcessorService_Vtbl { let this = (*this).get_impl(); match IDirectXVideoProcessorService_Impl::GetFilterPropertyRange(this, core::mem::transmute_copy(&videoprocdeviceguid), core::mem::transmute_copy(&pvideodesc), core::mem::transmute_copy(&rendertargetformat), core::mem::transmute_copy(&filtersetting)) { Ok(ok__) => { - core::ptr::write(prange, core::mem::transmute(ok__)); + prange.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2076,7 +2076,7 @@ impl IDirectXVideoProcessorService_Vtbl { let this = (*this).get_impl(); match IDirectXVideoProcessorService_Impl::CreateVideoProcessor(this, core::mem::transmute_copy(&videoprocdeviceguid), core::mem::transmute_copy(&pvideodesc), core::mem::transmute_copy(&rendertargetformat), core::mem::transmute_copy(&maxnumsubstreams)) { Ok(ok__) => { - core::ptr::write(ppvidprocess, core::mem::transmute(ok__)); + ppvidprocess.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2115,7 +2115,7 @@ impl IEVRFilterConfig_Vtbl { let this = (*this).get_impl(); match IEVRFilterConfig_Impl::GetNumberOfStreams(this) { Ok(ok__) => { - core::ptr::write(pdwmaxstreams, core::mem::transmute(ok__)); + pdwmaxstreams.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2148,7 +2148,7 @@ impl IEVRFilterConfigEx_Vtbl { let this = (*this).get_impl(); match IEVRFilterConfigEx_Impl::GetConfigPrefs(this) { Ok(ok__) => { - core::ptr::write(pdwconfigflags, core::mem::transmute(ok__)); + pdwconfigflags.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2178,7 +2178,7 @@ impl IEVRTrustedVideoPlugin_Vtbl { let this = (*this).get_impl(); match IEVRTrustedVideoPlugin_Impl::IsInTrustedVideoMode(this) { Ok(ok__) => { - core::ptr::write(pyes, core::mem::transmute(ok__)); + pyes.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2189,7 +2189,7 @@ impl IEVRTrustedVideoPlugin_Vtbl { let this = (*this).get_impl(); match IEVRTrustedVideoPlugin_Impl::CanConstrict(this) { Ok(ok__) => { - core::ptr::write(pyes, core::mem::transmute(ok__)); + pyes.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2234,7 +2234,7 @@ impl IEVRVideoStreamControl_Vtbl { let this = (*this).get_impl(); match IEVRVideoStreamControl_Impl::GetStreamActiveState(this) { Ok(ok__) => { - core::ptr::write(lpfactive, core::mem::transmute(ok__)); + lpfactive.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2399,7 +2399,7 @@ impl IMF2DBuffer_Vtbl { let this = (*this).get_impl(); match IMF2DBuffer_Impl::IsContiguousFormat(this) { Ok(ok__) => { - core::ptr::write(pfiscontiguous, core::mem::transmute(ok__)); + pfiscontiguous.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2410,7 +2410,7 @@ impl IMF2DBuffer_Vtbl { let this = (*this).get_impl(); match IMF2DBuffer_Impl::GetContiguousLength(this) { Ok(ok__) => { - core::ptr::write(pcblength, core::mem::transmute(ok__)); + pcblength.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2488,7 +2488,7 @@ impl IMFASFContentInfo_Vtbl { let this = (*this).get_impl(); match IMFASFContentInfo_Impl::GetHeaderSize(this, windows_core::from_raw_borrowed(&pistartofcontent)) { Ok(ok__) => { - core::ptr::write(cbheadersize, core::mem::transmute(ok__)); + cbheadersize.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2504,7 +2504,7 @@ impl IMFASFContentInfo_Vtbl { let this = (*this).get_impl(); match IMFASFContentInfo_Impl::GenerateHeader(this, windows_core::from_raw_borrowed(&piheader)) { Ok(ok__) => { - core::ptr::write(pcbheader, core::mem::transmute(ok__)); + pcbheader.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2515,7 +2515,7 @@ impl IMFASFContentInfo_Vtbl { let this = (*this).get_impl(); match IMFASFContentInfo_Impl::GetProfile(this) { Ok(ok__) => { - core::ptr::write(ppiprofile, core::mem::transmute(ok__)); + ppiprofile.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2531,7 +2531,7 @@ impl IMFASFContentInfo_Vtbl { let this = (*this).get_impl(); match IMFASFContentInfo_Impl::GeneratePresentationDescriptor(this) { Ok(ok__) => { - core::ptr::write(ppipresentationdescriptor, core::mem::transmute(ok__)); + ppipresentationdescriptor.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2542,7 +2542,7 @@ impl IMFASFContentInfo_Vtbl { let this = (*this).get_impl(); match IMFASFContentInfo_Impl::GetEncodingConfigurationPropertyStore(this, core::mem::transmute_copy(&wstreamnumber)) { Ok(ok__) => { - core::ptr::write(ppistore, core::mem::transmute(ok__)); + ppistore.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2591,7 +2591,7 @@ impl IMFASFIndexer_Vtbl { let this = (*this).get_impl(); match IMFASFIndexer_Impl::GetFlags(this) { Ok(ok__) => { - core::ptr::write(pdwflags, core::mem::transmute(ok__)); + pdwflags.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2607,7 +2607,7 @@ impl IMFASFIndexer_Vtbl { let this = (*this).get_impl(); match IMFASFIndexer_Impl::GetIndexPosition(this, windows_core::from_raw_borrowed(&picontentinfo)) { Ok(ok__) => { - core::ptr::write(pcbindexoffset, core::mem::transmute(ok__)); + pcbindexoffset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2623,7 +2623,7 @@ impl IMFASFIndexer_Vtbl { let this = (*this).get_impl(); match IMFASFIndexer_Impl::GetIndexByteStreamCount(this) { Ok(ok__) => { - core::ptr::write(pcbytestreams, core::mem::transmute(ok__)); + pcbytestreams.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2659,7 +2659,7 @@ impl IMFASFIndexer_Vtbl { let this = (*this).get_impl(); match IMFASFIndexer_Impl::GetIndexWriteSpace(this) { Ok(ok__) => { - core::ptr::write(pcbindexwritespace, core::mem::transmute(ok__)); + pcbindexwritespace.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2720,7 +2720,7 @@ impl IMFASFMultiplexer_Vtbl { let this = (*this).get_impl(); match IMFASFMultiplexer_Impl::GetFlags(this) { Ok(ok__) => { - core::ptr::write(pdwflags, core::mem::transmute(ok__)); + pdwflags.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2751,7 +2751,7 @@ impl IMFASFMultiplexer_Vtbl { let this = (*this).get_impl(); match IMFASFMultiplexer_Impl::GetStatistics(this, core::mem::transmute_copy(&wstreamnumber)) { Ok(ok__) => { - core::ptr::write(pmuxstats, core::mem::transmute(ok__)); + pmuxstats.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2798,7 +2798,7 @@ impl IMFASFMutualExclusion_Vtbl { let this = (*this).get_impl(); match IMFASFMutualExclusion_Impl::GetType(this) { Ok(ok__) => { - core::ptr::write(pguidtype, core::mem::transmute(ok__)); + pguidtype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2814,7 +2814,7 @@ impl IMFASFMutualExclusion_Vtbl { let this = (*this).get_impl(); match IMFASFMutualExclusion_Impl::GetRecordCount(this) { Ok(ok__) => { - core::ptr::write(pdwrecordcount, core::mem::transmute(ok__)); + pdwrecordcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2845,7 +2845,7 @@ impl IMFASFMutualExclusion_Vtbl { let this = (*this).get_impl(); match IMFASFMutualExclusion_Impl::AddRecord(this) { Ok(ok__) => { - core::ptr::write(pdwrecordnumber, core::mem::transmute(ok__)); + pdwrecordnumber.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2856,7 +2856,7 @@ impl IMFASFMutualExclusion_Vtbl { let this = (*this).get_impl(); match IMFASFMutualExclusion_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppimutex, core::mem::transmute(ok__)); + ppimutex.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2905,7 +2905,7 @@ impl IMFASFProfile_Vtbl { let this = (*this).get_impl(); match IMFASFProfile_Impl::GetStreamCount(this) { Ok(ok__) => { - core::ptr::write(pcstreams, core::mem::transmute(ok__)); + pcstreams.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2921,7 +2921,7 @@ impl IMFASFProfile_Vtbl { let this = (*this).get_impl(); match IMFASFProfile_Impl::GetStreamByNumber(this, core::mem::transmute_copy(&wstreamnumber)) { Ok(ok__) => { - core::ptr::write(ppistream, core::mem::transmute(ok__)); + ppistream.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2942,7 +2942,7 @@ impl IMFASFProfile_Vtbl { let this = (*this).get_impl(); match IMFASFProfile_Impl::CreateStream(this, windows_core::from_raw_borrowed(&pimediatype)) { Ok(ok__) => { - core::ptr::write(ppistream, core::mem::transmute(ok__)); + ppistream.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2953,7 +2953,7 @@ impl IMFASFProfile_Vtbl { let this = (*this).get_impl(); match IMFASFProfile_Impl::GetMutualExclusionCount(this) { Ok(ok__) => { - core::ptr::write(pcmutexs, core::mem::transmute(ok__)); + pcmutexs.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2964,7 +2964,7 @@ impl IMFASFProfile_Vtbl { let this = (*this).get_impl(); match IMFASFProfile_Impl::GetMutualExclusion(this, core::mem::transmute_copy(&dwmutexindex)) { Ok(ok__) => { - core::ptr::write(ppimutex, core::mem::transmute(ok__)); + ppimutex.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2985,7 +2985,7 @@ impl IMFASFProfile_Vtbl { let this = (*this).get_impl(); match IMFASFProfile_Impl::CreateMutualExclusion(this) { Ok(ok__) => { - core::ptr::write(ppimutex, core::mem::transmute(ok__)); + ppimutex.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2996,7 +2996,7 @@ impl IMFASFProfile_Vtbl { let this = (*this).get_impl(); match IMFASFProfile_Impl::GetStreamPrioritization(this) { Ok(ok__) => { - core::ptr::write(ppistreamprioritization, core::mem::transmute(ok__)); + ppistreamprioritization.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3017,7 +3017,7 @@ impl IMFASFProfile_Vtbl { let this = (*this).get_impl(); match IMFASFProfile_Impl::CreateStreamPrioritization(this) { Ok(ok__) => { - core::ptr::write(ppistreamprioritization, core::mem::transmute(ok__)); + ppistreamprioritization.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3028,7 +3028,7 @@ impl IMFASFProfile_Vtbl { let this = (*this).get_impl(); match IMFASFProfile_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppiprofile, core::mem::transmute(ok__)); + ppiprofile.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3087,7 +3087,7 @@ impl IMFASFSplitter_Vtbl { let this = (*this).get_impl(); match IMFASFSplitter_Impl::GetFlags(this) { Ok(ok__) => { - core::ptr::write(pdwflags, core::mem::transmute(ok__)); + pdwflags.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3123,7 +3123,7 @@ impl IMFASFSplitter_Vtbl { let this = (*this).get_impl(); match IMFASFSplitter_Impl::GetLastSendTime(this) { Ok(ok__) => { - core::ptr::write(pdwlastsendtime, core::mem::transmute(ok__)); + pdwlastsendtime.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3166,7 +3166,7 @@ impl IMFASFStreamConfig_Vtbl { let this = (*this).get_impl(); match IMFASFStreamConfig_Impl::GetStreamType(this) { Ok(ok__) => { - core::ptr::write(pguidstreamtype, core::mem::transmute(ok__)); + pguidstreamtype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3187,7 +3187,7 @@ impl IMFASFStreamConfig_Vtbl { let this = (*this).get_impl(); match IMFASFStreamConfig_Impl::GetMediaType(this) { Ok(ok__) => { - core::ptr::write(ppimediatype, core::mem::transmute(ok__)); + ppimediatype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3203,7 +3203,7 @@ impl IMFASFStreamConfig_Vtbl { let this = (*this).get_impl(); match IMFASFStreamConfig_Impl::GetPayloadExtensionCount(this) { Ok(ok__) => { - core::ptr::write(pcpayloadextensions, core::mem::transmute(ok__)); + pcpayloadextensions.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3229,7 +3229,7 @@ impl IMFASFStreamConfig_Vtbl { let this = (*this).get_impl(); match IMFASFStreamConfig_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppistreamconfig, core::mem::transmute(ok__)); + ppistreamconfig.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3268,7 +3268,7 @@ impl IMFASFStreamPrioritization_Vtbl { let this = (*this).get_impl(); match IMFASFStreamPrioritization_Impl::GetStreamCount(this) { Ok(ok__) => { - core::ptr::write(pdwstreamcount, core::mem::transmute(ok__)); + pdwstreamcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3294,7 +3294,7 @@ impl IMFASFStreamPrioritization_Vtbl { let this = (*this).get_impl(); match IMFASFStreamPrioritization_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppistreamprioritization, core::mem::transmute(ok__)); + ppistreamprioritization.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3337,7 +3337,7 @@ impl IMFASFStreamSelector_Vtbl { let this = (*this).get_impl(); match IMFASFStreamSelector_Impl::GetStreamCount(this) { Ok(ok__) => { - core::ptr::write(pcstreams, core::mem::transmute(ok__)); + pcstreams.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3348,7 +3348,7 @@ impl IMFASFStreamSelector_Vtbl { let this = (*this).get_impl(); match IMFASFStreamSelector_Impl::GetOutputCount(this) { Ok(ok__) => { - core::ptr::write(pcoutputs, core::mem::transmute(ok__)); + pcoutputs.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3359,7 +3359,7 @@ impl IMFASFStreamSelector_Vtbl { let this = (*this).get_impl(); match IMFASFStreamSelector_Impl::GetOutputStreamCount(this, core::mem::transmute_copy(&dwoutputnum)) { Ok(ok__) => { - core::ptr::write(pcstreams, core::mem::transmute(ok__)); + pcstreams.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3370,7 +3370,7 @@ impl IMFASFStreamSelector_Vtbl { let this = (*this).get_impl(); match IMFASFStreamSelector_Impl::GetOutputStreamNumbers(this, core::mem::transmute_copy(&dwoutputnum)) { Ok(ok__) => { - core::ptr::write(rgwstreamnumbers, core::mem::transmute(ok__)); + rgwstreamnumbers.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3381,7 +3381,7 @@ impl IMFASFStreamSelector_Vtbl { let this = (*this).get_impl(); match IMFASFStreamSelector_Impl::GetOutputFromStream(this, core::mem::transmute_copy(&wstreamnum)) { Ok(ok__) => { - core::ptr::write(pdwoutput, core::mem::transmute(ok__)); + pdwoutput.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3392,7 +3392,7 @@ impl IMFASFStreamSelector_Vtbl { let this = (*this).get_impl(); match IMFASFStreamSelector_Impl::GetOutputOverride(this, core::mem::transmute_copy(&dwoutputnum)) { Ok(ok__) => { - core::ptr::write(pselection, core::mem::transmute(ok__)); + pselection.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3408,7 +3408,7 @@ impl IMFASFStreamSelector_Vtbl { let this = (*this).get_impl(); match IMFASFStreamSelector_Impl::GetOutputMutexCount(this, core::mem::transmute_copy(&dwoutputnum)) { Ok(ok__) => { - core::ptr::write(pcmutexes, core::mem::transmute(ok__)); + pcmutexes.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3419,7 +3419,7 @@ impl IMFASFStreamSelector_Vtbl { let this = (*this).get_impl(); match IMFASFStreamSelector_Impl::GetOutputMutex(this, core::mem::transmute_copy(&dwoutputnum), core::mem::transmute_copy(&dwmutexnum)) { Ok(ok__) => { - core::ptr::write(ppmutex, core::mem::transmute(ok__)); + ppmutex.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3435,7 +3435,7 @@ impl IMFASFStreamSelector_Vtbl { let this = (*this).get_impl(); match IMFASFStreamSelector_Impl::GetBandwidthStepCount(this) { Ok(ok__) => { - core::ptr::write(pcstepcount, core::mem::transmute(ok__)); + pcstepcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3451,7 +3451,7 @@ impl IMFASFStreamSelector_Vtbl { let this = (*this).get_impl(); match IMFASFStreamSelector_Impl::BitrateToStepNumber(this, core::mem::transmute_copy(&dwbitrate)) { Ok(ok__) => { - core::ptr::write(pdwstepnum, core::mem::transmute(ok__)); + pdwstepnum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3587,7 +3587,7 @@ impl IMFAsyncResult_Vtbl { let this = (*this).get_impl(); match IMFAsyncResult_Impl::GetState(this) { Ok(ok__) => { - core::ptr::write(ppunkstate, core::mem::transmute(ok__)); + ppunkstate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3608,7 +3608,7 @@ impl IMFAsyncResult_Vtbl { let this = (*this).get_impl(); match IMFAsyncResult_Impl::GetObject(this) { Ok(ok__) => { - core::ptr::write(ppobject, core::mem::transmute(ok__)); + ppobject.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3677,7 +3677,7 @@ impl IMFAttributes_Vtbl { let this = (*this).get_impl(); match IMFAttributes_Impl::GetItemType(this, core::mem::transmute_copy(&guidkey)) { Ok(ok__) => { - core::ptr::write(ptype, core::mem::transmute(ok__)); + ptype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3688,7 +3688,7 @@ impl IMFAttributes_Vtbl { let this = (*this).get_impl(); match IMFAttributes_Impl::CompareItem(this, core::mem::transmute_copy(&guidkey), core::mem::transmute_copy(&value)) { Ok(ok__) => { - core::ptr::write(pbresult, core::mem::transmute(ok__)); + pbresult.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3699,7 +3699,7 @@ impl IMFAttributes_Vtbl { let this = (*this).get_impl(); match IMFAttributes_Impl::Compare(this, windows_core::from_raw_borrowed(&ptheirs), core::mem::transmute_copy(&matchtype)) { Ok(ok__) => { - core::ptr::write(pbresult, core::mem::transmute(ok__)); + pbresult.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3710,7 +3710,7 @@ impl IMFAttributes_Vtbl { let this = (*this).get_impl(); match IMFAttributes_Impl::GetUINT32(this, core::mem::transmute_copy(&guidkey)) { Ok(ok__) => { - core::ptr::write(punvalue, core::mem::transmute(ok__)); + punvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3721,7 +3721,7 @@ impl IMFAttributes_Vtbl { let this = (*this).get_impl(); match IMFAttributes_Impl::GetUINT64(this, core::mem::transmute_copy(&guidkey)) { Ok(ok__) => { - core::ptr::write(punvalue, core::mem::transmute(ok__)); + punvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3732,7 +3732,7 @@ impl IMFAttributes_Vtbl { let this = (*this).get_impl(); match IMFAttributes_Impl::GetDouble(this, core::mem::transmute_copy(&guidkey)) { Ok(ok__) => { - core::ptr::write(pfvalue, core::mem::transmute(ok__)); + pfvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3743,7 +3743,7 @@ impl IMFAttributes_Vtbl { let this = (*this).get_impl(); match IMFAttributes_Impl::GetGUID(this, core::mem::transmute_copy(&guidkey)) { Ok(ok__) => { - core::ptr::write(pguidvalue, core::mem::transmute(ok__)); + pguidvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3754,7 +3754,7 @@ impl IMFAttributes_Vtbl { let this = (*this).get_impl(); match IMFAttributes_Impl::GetStringLength(this, core::mem::transmute_copy(&guidkey)) { Ok(ok__) => { - core::ptr::write(pcchlength, core::mem::transmute(ok__)); + pcchlength.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3775,7 +3775,7 @@ impl IMFAttributes_Vtbl { let this = (*this).get_impl(); match IMFAttributes_Impl::GetBlobSize(this, core::mem::transmute_copy(&guidkey)) { Ok(ok__) => { - core::ptr::write(pcbblobsize, core::mem::transmute(ok__)); + pcbblobsize.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3861,7 +3861,7 @@ impl IMFAttributes_Vtbl { let this = (*this).get_impl(); match IMFAttributes_Impl::GetCount(this) { Ok(ok__) => { - core::ptr::write(pcitems, core::mem::transmute(ok__)); + pcitems.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3956,7 +3956,7 @@ impl IMFAudioPolicy_Vtbl { let this = (*this).get_impl(); match IMFAudioPolicy_Impl::GetGroupingParam(this) { Ok(ok__) => { - core::ptr::write(pguidclass, core::mem::transmute(ok__)); + pguidclass.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3972,7 +3972,7 @@ impl IMFAudioPolicy_Vtbl { let this = (*this).get_impl(); match IMFAudioPolicy_Impl::GetDisplayName(this) { Ok(ok__) => { - core::ptr::write(pszname, core::mem::transmute(ok__)); + pszname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3988,7 +3988,7 @@ impl IMFAudioPolicy_Vtbl { let this = (*this).get_impl(); match IMFAudioPolicy_Impl::GetIconPath(this) { Ok(ok__) => { - core::ptr::write(pszpath, core::mem::transmute(ok__)); + pszpath.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4023,7 +4023,7 @@ impl IMFAudioStreamVolume_Vtbl { let this = (*this).get_impl(); match IMFAudioStreamVolume_Impl::GetChannelCount(this) { Ok(ok__) => { - core::ptr::write(pdwcount, core::mem::transmute(ok__)); + pdwcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4039,7 +4039,7 @@ impl IMFAudioStreamVolume_Vtbl { let this = (*this).get_impl(); match IMFAudioStreamVolume_Impl::GetChannelVolume(this, core::mem::transmute_copy(&dwindex)) { Ok(ok__) => { - core::ptr::write(pflevel, core::mem::transmute(ok__)); + pflevel.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4120,7 +4120,7 @@ impl IMFByteStream_Vtbl { let this = (*this).get_impl(); match IMFByteStream_Impl::GetCapabilities(this) { Ok(ok__) => { - core::ptr::write(pdwcapabilities, core::mem::transmute(ok__)); + pdwcapabilities.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4131,7 +4131,7 @@ impl IMFByteStream_Vtbl { let this = (*this).get_impl(); match IMFByteStream_Impl::GetLength(this) { Ok(ok__) => { - core::ptr::write(pqwlength, core::mem::transmute(ok__)); + pqwlength.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4147,7 +4147,7 @@ impl IMFByteStream_Vtbl { let this = (*this).get_impl(); match IMFByteStream_Impl::GetCurrentPosition(this) { Ok(ok__) => { - core::ptr::write(pqwposition, core::mem::transmute(ok__)); + pqwposition.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4163,7 +4163,7 @@ impl IMFByteStream_Vtbl { let this = (*this).get_impl(); match IMFByteStream_Impl::IsEndOfStream(this) { Ok(ok__) => { - core::ptr::write(pfendofstream, core::mem::transmute(ok__)); + pfendofstream.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4184,7 +4184,7 @@ impl IMFByteStream_Vtbl { let this = (*this).get_impl(); match IMFByteStream_Impl::EndRead(this, windows_core::from_raw_borrowed(&presult)) { Ok(ok__) => { - core::ptr::write(pcbread, core::mem::transmute(ok__)); + pcbread.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4195,7 +4195,7 @@ impl IMFByteStream_Vtbl { let this = (*this).get_impl(); match IMFByteStream_Impl::Write(this, core::mem::transmute_copy(&pb), core::mem::transmute_copy(&cb)) { Ok(ok__) => { - core::ptr::write(pcbwritten, core::mem::transmute(ok__)); + pcbwritten.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4211,7 +4211,7 @@ impl IMFByteStream_Vtbl { let this = (*this).get_impl(); match IMFByteStream_Impl::EndWrite(this, windows_core::from_raw_borrowed(&presult)) { Ok(ok__) => { - core::ptr::write(pcbwritten, core::mem::transmute(ok__)); + pcbwritten.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4222,7 +4222,7 @@ impl IMFByteStream_Vtbl { let this = (*this).get_impl(); match IMFByteStream_Impl::Seek(this, core::mem::transmute_copy(&seekorigin), core::mem::transmute_copy(&llseekoffset), core::mem::transmute_copy(&dwseekflags)) { Ok(ok__) => { - core::ptr::write(pqwcurrentposition, core::mem::transmute(ok__)); + pqwcurrentposition.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4335,7 +4335,7 @@ impl IMFByteStreamCacheControl2_Vtbl { let this = (*this).get_impl(); match IMFByteStreamCacheControl2_Impl::IsBackgroundTransferActive(this) { Ok(ok__) => { - core::ptr::write(pfactive, core::mem::transmute(ok__)); + pfactive.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4384,7 +4384,7 @@ impl IMFByteStreamHandler_Vtbl { let this = (*this).get_impl(); match IMFByteStreamHandler_Impl::GetMaxNumberOfBytesRequiredForResolution(this) { Ok(ok__) => { - core::ptr::write(pqwbytes, core::mem::transmute(ok__)); + pqwbytes.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4432,7 +4432,7 @@ impl IMFByteStreamTimeSeek_Vtbl { let this = (*this).get_impl(); match IMFByteStreamTimeSeek_Impl::IsTimeSeekSupported(this) { Ok(ok__) => { - core::ptr::write(pftimeseekissupported, core::mem::transmute(ok__)); + pftimeseekissupported.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4472,7 +4472,7 @@ impl IMFCameraConfigurationManager_Vtbl { let this = (*this).get_impl(); match IMFCameraConfigurationManager_Impl::LoadDefaults(this, windows_core::from_raw_borrowed(&cameraattributes)) { Ok(ok__) => { - core::ptr::write(configurations, core::mem::transmute(ok__)); + configurations.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4518,7 +4518,7 @@ impl IMFCameraControlDefaults_Vtbl { let this = (*this).get_impl(); match IMFCameraControlDefaults_Impl::GetRangeInfo(this) { Ok(ok__) => { - core::ptr::write(rangeinfo, core::mem::transmute(ok__)); + rangeinfo.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4567,7 +4567,7 @@ impl IMFCameraControlDefaultsCollection_Vtbl { let this = (*this).get_impl(); match IMFCameraControlDefaultsCollection_Impl::GetControl(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(configuration, core::mem::transmute(ok__)); + configuration.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4578,7 +4578,7 @@ impl IMFCameraControlDefaultsCollection_Vtbl { let this = (*this).get_impl(); match IMFCameraControlDefaultsCollection_Impl::GetOrAddExtendedControl(this, core::mem::transmute_copy(&configtype), core::mem::transmute_copy(&constrolid), core::mem::transmute_copy(&streamid), core::mem::transmute_copy(&datasize)) { Ok(ok__) => { - core::ptr::write(defaults, core::mem::transmute(ok__)); + defaults.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4589,7 +4589,7 @@ impl IMFCameraControlDefaultsCollection_Vtbl { let this = (*this).get_impl(); match IMFCameraControlDefaultsCollection_Impl::GetOrAddControl(this, core::mem::transmute_copy(&configtype), core::mem::transmute_copy(&controlset), core::mem::transmute_copy(&constrolid), core::mem::transmute_copy(&controlsize), core::mem::transmute_copy(&datasize)) { Ok(ok__) => { - core::ptr::write(defaults, core::mem::transmute(ok__)); + defaults.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4739,7 +4739,7 @@ impl IMFCameraOcclusionStateReport_Vtbl { let this = (*this).get_impl(); match IMFCameraOcclusionStateReport_Impl::GetOcclusionState(this) { Ok(ok__) => { - core::ptr::write(occlusionstate, core::mem::transmute(ok__)); + occlusionstate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4843,7 +4843,7 @@ impl IMFCaptureEngine_Vtbl { let this = (*this).get_impl(); match IMFCaptureEngine_Impl::GetSink(this, core::mem::transmute_copy(&mfcaptureenginesinktype)) { Ok(ok__) => { - core::ptr::write(ppsink, core::mem::transmute(ok__)); + ppsink.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4854,7 +4854,7 @@ impl IMFCaptureEngine_Vtbl { let this = (*this).get_impl(); match IMFCaptureEngine_Impl::GetSource(this) { Ok(ok__) => { - core::ptr::write(ppsource, core::mem::transmute(ok__)); + ppsource.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4970,7 +4970,7 @@ impl IMFCapturePhotoConfirmation_Vtbl { let this = (*this).get_impl(); match IMFCapturePhotoConfirmation_Impl::GetPixelFormat(this) { Ok(ok__) => { - core::ptr::write(subtype, core::mem::transmute(ok__)); + subtype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5060,7 +5060,7 @@ impl IMFCapturePreviewSink_Vtbl { let this = (*this).get_impl(); match IMFCapturePreviewSink_Impl::GetMirrorState(this) { Ok(ok__) => { - core::ptr::write(pfmirrorstate, core::mem::transmute(ok__)); + pfmirrorstate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5076,7 +5076,7 @@ impl IMFCapturePreviewSink_Vtbl { let this = (*this).get_impl(); match IMFCapturePreviewSink_Impl::GetRotation(this, core::mem::transmute_copy(&dwstreamindex)) { Ok(ok__) => { - core::ptr::write(pdwrotationvalue, core::mem::transmute(ok__)); + pdwrotationvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5145,7 +5145,7 @@ impl IMFCaptureRecordSink_Vtbl { let this = (*this).get_impl(); match IMFCaptureRecordSink_Impl::GetRotation(this, core::mem::transmute_copy(&dwstreamindex)) { Ok(ok__) => { - core::ptr::write(pdwrotationvalue, core::mem::transmute(ok__)); + pdwrotationvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5299,7 +5299,7 @@ impl IMFCaptureSource_Vtbl { let this = (*this).get_impl(); match IMFCaptureSource_Impl::GetCurrentDeviceMediaType(this, core::mem::transmute_copy(&dwsourcestreamindex)) { Ok(ok__) => { - core::ptr::write(ppmediatype, core::mem::transmute(ok__)); + ppmediatype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5310,7 +5310,7 @@ impl IMFCaptureSource_Vtbl { let this = (*this).get_impl(); match IMFCaptureSource_Impl::GetDeviceStreamCount(this) { Ok(ok__) => { - core::ptr::write(pdwstreamcount, core::mem::transmute(ok__)); + pdwstreamcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5321,7 +5321,7 @@ impl IMFCaptureSource_Vtbl { let this = (*this).get_impl(); match IMFCaptureSource_Impl::GetDeviceStreamCategory(this, core::mem::transmute_copy(&dwsourcestreamindex)) { Ok(ok__) => { - core::ptr::write(pstreamcategory, core::mem::transmute(ok__)); + pstreamcategory.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5332,7 +5332,7 @@ impl IMFCaptureSource_Vtbl { let this = (*this).get_impl(); match IMFCaptureSource_Impl::GetMirrorState(this, core::mem::transmute_copy(&dwstreamindex)) { Ok(ok__) => { - core::ptr::write(pfmirrorstate, core::mem::transmute(ok__)); + pfmirrorstate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5348,7 +5348,7 @@ impl IMFCaptureSource_Vtbl { let this = (*this).get_impl(); match IMFCaptureSource_Impl::GetStreamIndexFromFriendlyName(this, core::mem::transmute_copy(&uifriendlyname)) { Ok(ok__) => { - core::ptr::write(pdwactualstreamindex, core::mem::transmute(ok__)); + pdwactualstreamindex.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5414,7 +5414,7 @@ impl IMFClock_Vtbl { let this = (*this).get_impl(); match IMFClock_Impl::GetClockCharacteristics(this) { Ok(ok__) => { - core::ptr::write(pdwcharacteristics, core::mem::transmute(ok__)); + pdwcharacteristics.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5430,7 +5430,7 @@ impl IMFClock_Vtbl { let this = (*this).get_impl(); match IMFClock_Impl::GetContinuityKey(this) { Ok(ok__) => { - core::ptr::write(pdwcontinuitykey, core::mem::transmute(ok__)); + pdwcontinuitykey.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5441,7 +5441,7 @@ impl IMFClock_Vtbl { let this = (*this).get_impl(); match IMFClock_Impl::GetState(this, core::mem::transmute_copy(&dwreserved)) { Ok(ok__) => { - core::ptr::write(peclockstate, core::mem::transmute(ok__)); + peclockstate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5482,7 +5482,7 @@ impl IMFClockConsumer_Vtbl { let this = (*this).get_impl(); match IMFClockConsumer_Impl::GetPresentationClock(this) { Ok(ok__) => { - core::ptr::write(pppresentationclock, core::mem::transmute(ok__)); + pppresentationclock.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5562,7 +5562,7 @@ impl IMFCollection_Vtbl { let this = (*this).get_impl(); match IMFCollection_Impl::GetElementCount(this) { Ok(ok__) => { - core::ptr::write(pcelements, core::mem::transmute(ok__)); + pcelements.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5573,7 +5573,7 @@ impl IMFCollection_Vtbl { let this = (*this).get_impl(); match IMFCollection_Impl::GetElement(this, core::mem::transmute_copy(&dwelementindex)) { Ok(ok__) => { - core::ptr::write(ppunkelement, core::mem::transmute(ok__)); + ppunkelement.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5589,7 +5589,7 @@ impl IMFCollection_Vtbl { let this = (*this).get_impl(); match IMFCollection_Impl::RemoveElement(this, core::mem::transmute_copy(&dwelementindex)) { Ok(ok__) => { - core::ptr::write(ppunkelement, core::mem::transmute(ok__)); + ppunkelement.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5641,7 +5641,7 @@ impl IMFContentDecryptionModule_Vtbl { let this = (*this).get_impl(); match IMFContentDecryptionModule_Impl::GetSuspendNotify(this) { Ok(ok__) => { - core::ptr::write(notify, core::mem::transmute(ok__)); + notify.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5657,7 +5657,7 @@ impl IMFContentDecryptionModule_Vtbl { let this = (*this).get_impl(); match IMFContentDecryptionModule_Impl::CreateSession(this, core::mem::transmute_copy(&sessiontype), windows_core::from_raw_borrowed(&callbacks)) { Ok(ok__) => { - core::ptr::write(session, core::mem::transmute(ok__)); + session.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5673,7 +5673,7 @@ impl IMFContentDecryptionModule_Vtbl { let this = (*this).get_impl(); match IMFContentDecryptionModule_Impl::CreateTrustedInput(this, core::mem::transmute_copy(&contentinitdata), core::mem::transmute_copy(&contentinitdatasize)) { Ok(ok__) => { - core::ptr::write(trustedinput, core::mem::transmute(ok__)); + trustedinput.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5715,7 +5715,7 @@ impl IMFContentDecryptionModuleAccess_Vtbl { let this = (*this).get_impl(); match IMFContentDecryptionModuleAccess_Impl::CreateContentDecryptionModule(this, windows_core::from_raw_borrowed(&contentdecryptionmoduleproperties)) { Ok(ok__) => { - core::ptr::write(contentdecryptionmodule, core::mem::transmute(ok__)); + contentdecryptionmodule.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5726,7 +5726,7 @@ impl IMFContentDecryptionModuleAccess_Vtbl { let this = (*this).get_impl(); match IMFContentDecryptionModuleAccess_Impl::GetConfiguration(this) { Ok(ok__) => { - core::ptr::write(configuration, core::mem::transmute(ok__)); + configuration.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5737,7 +5737,7 @@ impl IMFContentDecryptionModuleAccess_Vtbl { let this = (*this).get_impl(); match IMFContentDecryptionModuleAccess_Impl::GetKeySystem(this) { Ok(ok__) => { - core::ptr::write(keysystem, core::mem::transmute(ok__)); + keysystem.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5774,7 +5774,7 @@ impl IMFContentDecryptionModuleFactory_Vtbl { let this = (*this).get_impl(); match IMFContentDecryptionModuleFactory_Impl::CreateContentDecryptionModuleAccess(this, core::mem::transmute(&keysystem), core::mem::transmute_copy(&configurations), core::mem::transmute_copy(&numconfigurations)) { Ok(ok__) => { - core::ptr::write(contentdecryptionmoduleaccess, core::mem::transmute(ok__)); + contentdecryptionmoduleaccess.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5808,7 +5808,7 @@ impl IMFContentDecryptionModuleSession_Vtbl { let this = (*this).get_impl(); match IMFContentDecryptionModuleSession_Impl::GetSessionId(this) { Ok(ok__) => { - core::ptr::write(sessionid, core::mem::transmute(ok__)); + sessionid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5819,7 +5819,7 @@ impl IMFContentDecryptionModuleSession_Vtbl { let this = (*this).get_impl(); match IMFContentDecryptionModuleSession_Impl::GetExpiration(this) { Ok(ok__) => { - core::ptr::write(expiration, core::mem::transmute(ok__)); + expiration.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5835,7 +5835,7 @@ impl IMFContentDecryptionModuleSession_Vtbl { let this = (*this).get_impl(); match IMFContentDecryptionModuleSession_Impl::Load(this, core::mem::transmute(&sessionid)) { Ok(ok__) => { - core::ptr::write(loaded, core::mem::transmute(ok__)); + loaded.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5915,7 +5915,7 @@ impl IMFContentDecryptorContext_Vtbl { let this = (*this).get_impl(); match IMFContentDecryptorContext_Impl::InitializeHardwareKey(this, core::mem::transmute_copy(&inputprivatedatabytecount), core::mem::transmute_copy(&inputprivatedata)) { Ok(ok__) => { - core::ptr::write(outputprivatedata, core::mem::transmute(ok__)); + outputprivatedata.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5944,7 +5944,7 @@ impl IMFContentEnabler_Vtbl { let this = (*this).get_impl(); match IMFContentEnabler_Impl::GetEnableType(this) { Ok(ok__) => { - core::ptr::write(ptype, core::mem::transmute(ok__)); + ptype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5965,7 +5965,7 @@ impl IMFContentEnabler_Vtbl { let this = (*this).get_impl(); match IMFContentEnabler_Impl::IsAutomaticSupported(this) { Ok(ok__) => { - core::ptr::write(pfautomatic, core::mem::transmute(ok__)); + pfautomatic.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6189,7 +6189,7 @@ impl IMFDXGIBuffer_Vtbl { let this = (*this).get_impl(); match IMFDXGIBuffer_Impl::GetSubresourceIndex(this) { Ok(ok__) => { - core::ptr::write(pusubresource, core::mem::transmute(ok__)); + pusubresource.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6249,7 +6249,7 @@ impl IMFDXGIDeviceManager_Vtbl { let this = (*this).get_impl(); match IMFDXGIDeviceManager_Impl::OpenDeviceHandle(this) { Ok(ok__) => { - core::ptr::write(phdevice, core::mem::transmute(ok__)); + phdevice.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6296,7 +6296,7 @@ impl IMFDXGIDeviceManagerSource_Vtbl { let this = (*this).get_impl(); match IMFDXGIDeviceManagerSource_Impl::GetManager(this) { Ok(ok__) => { - core::ptr::write(ppmanager, core::mem::transmute(ok__)); + ppmanager.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6377,7 +6377,7 @@ impl IMFDeviceTransform_Vtbl { let this = (*this).get_impl(); match IMFDeviceTransform_Impl::GetInputAvailableType(this, core::mem::transmute_copy(&dwinputstreamid), core::mem::transmute_copy(&dwtypeindex)) { Ok(ok__) => { - core::ptr::write(pmediatype, core::mem::transmute(ok__)); + pmediatype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6388,7 +6388,7 @@ impl IMFDeviceTransform_Vtbl { let this = (*this).get_impl(); match IMFDeviceTransform_Impl::GetInputCurrentType(this, core::mem::transmute_copy(&dwinputstreamid)) { Ok(ok__) => { - core::ptr::write(pmediatype, core::mem::transmute(ok__)); + pmediatype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6399,7 +6399,7 @@ impl IMFDeviceTransform_Vtbl { let this = (*this).get_impl(); match IMFDeviceTransform_Impl::GetInputStreamAttributes(this, core::mem::transmute_copy(&dwinputstreamid)) { Ok(ok__) => { - core::ptr::write(ppattributes, core::mem::transmute(ok__)); + ppattributes.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6410,7 +6410,7 @@ impl IMFDeviceTransform_Vtbl { let this = (*this).get_impl(); match IMFDeviceTransform_Impl::GetOutputAvailableType(this, core::mem::transmute_copy(&dwoutputstreamid), core::mem::transmute_copy(&dwtypeindex)) { Ok(ok__) => { - core::ptr::write(pmediatype, core::mem::transmute(ok__)); + pmediatype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6421,7 +6421,7 @@ impl IMFDeviceTransform_Vtbl { let this = (*this).get_impl(); match IMFDeviceTransform_Impl::GetOutputCurrentType(this, core::mem::transmute_copy(&dwoutputstreamid)) { Ok(ok__) => { - core::ptr::write(pmediatype, core::mem::transmute(ok__)); + pmediatype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6432,7 +6432,7 @@ impl IMFDeviceTransform_Vtbl { let this = (*this).get_impl(); match IMFDeviceTransform_Impl::GetOutputStreamAttributes(this, core::mem::transmute_copy(&dwoutputstreamid)) { Ok(ok__) => { - core::ptr::write(ppattributes, core::mem::transmute(ok__)); + ppattributes.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6478,7 +6478,7 @@ impl IMFDeviceTransform_Vtbl { let this = (*this).get_impl(); match IMFDeviceTransform_Impl::GetInputStreamState(this, core::mem::transmute_copy(&dwstreamid)) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6494,7 +6494,7 @@ impl IMFDeviceTransform_Vtbl { let this = (*this).get_impl(); match IMFDeviceTransform_Impl::GetOutputStreamState(this, core::mem::transmute_copy(&dwstreamid)) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6626,7 +6626,7 @@ impl IMFExtendedCameraController_Vtbl { let this = (*this).get_impl(); match IMFExtendedCameraController_Impl::GetExtendedCameraControl(this, core::mem::transmute_copy(&dwstreamindex), core::mem::transmute_copy(&ulpropertyid)) { Ok(ok__) => { - core::ptr::write(ppcontrol, core::mem::transmute(ok__)); + ppcontrol.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6661,7 +6661,7 @@ impl IMFExtendedCameraIntrinsicModel_Vtbl { let this = (*this).get_impl(); match IMFExtendedCameraIntrinsicModel_Impl::GetDistortionModelType(this) { Ok(ok__) => { - core::ptr::write(pdistortionmodeltype, core::mem::transmute(ok__)); + pdistortionmodeltype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6699,7 +6699,7 @@ impl IMFExtendedCameraIntrinsics_Vtbl { let this = (*this).get_impl(); match IMFExtendedCameraIntrinsics_Impl::GetBufferSize(this) { Ok(ok__) => { - core::ptr::write(pdwbuffersize, core::mem::transmute(ok__)); + pdwbuffersize.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6715,7 +6715,7 @@ impl IMFExtendedCameraIntrinsics_Vtbl { let this = (*this).get_impl(); match IMFExtendedCameraIntrinsics_Impl::GetIntrinsicModelCount(this) { Ok(ok__) => { - core::ptr::write(pdwcount, core::mem::transmute(ok__)); + pdwcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6726,7 +6726,7 @@ impl IMFExtendedCameraIntrinsics_Vtbl { let this = (*this).get_impl(); match IMFExtendedCameraIntrinsics_Impl::GetIntrinsicModelByIndex(this, core::mem::transmute_copy(&dwindex)) { Ok(ok__) => { - core::ptr::write(ppintrinsicmodel, core::mem::transmute(ok__)); + ppintrinsicmodel.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6816,7 +6816,7 @@ impl IMFExtendedDRMTypeSupport_Vtbl { let this = (*this).get_impl(); match IMFExtendedDRMTypeSupport_Impl::IsTypeSupportedEx(this, core::mem::transmute(&r#type), core::mem::transmute(&keysystem)) { Ok(ok__) => { - core::ptr::write(panswer, core::mem::transmute(ok__)); + panswer.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6973,7 +6973,7 @@ impl IMFHttpDownloadRequest_Vtbl { let this = (*this).get_impl(); match IMFHttpDownloadRequest_Impl::QueryHeader(this, core::mem::transmute(&szheadername), core::mem::transmute_copy(&dwindex)) { Ok(ok__) => { - core::ptr::write(ppszheadervalue, core::mem::transmute(ok__)); + ppszheadervalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6984,7 +6984,7 @@ impl IMFHttpDownloadRequest_Vtbl { let this = (*this).get_impl(); match IMFHttpDownloadRequest_Impl::GetURL(this) { Ok(ok__) => { - core::ptr::write(ppszurl, core::mem::transmute(ok__)); + ppszurl.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6995,7 +6995,7 @@ impl IMFHttpDownloadRequest_Vtbl { let this = (*this).get_impl(); match IMFHttpDownloadRequest_Impl::HasNullSourceOrigin(this) { Ok(ok__) => { - core::ptr::write(pfnullsourceorigin, core::mem::transmute(ok__)); + pfnullsourceorigin.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7011,7 +7011,7 @@ impl IMFHttpDownloadRequest_Vtbl { let this = (*this).get_impl(); match IMFHttpDownloadRequest_Impl::GetHttpStatus(this) { Ok(ok__) => { - core::ptr::write(pdwhttpstatus, core::mem::transmute(ok__)); + pdwhttpstatus.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7022,7 +7022,7 @@ impl IMFHttpDownloadRequest_Vtbl { let this = (*this).get_impl(); match IMFHttpDownloadRequest_Impl::GetAtEndOfPayload(this) { Ok(ok__) => { - core::ptr::write(pfatendofpayload, core::mem::transmute(ok__)); + pfatendofpayload.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7033,7 +7033,7 @@ impl IMFHttpDownloadRequest_Vtbl { let this = (*this).get_impl(); match IMFHttpDownloadRequest_Impl::GetTotalLength(this) { Ok(ok__) => { - core::ptr::write(pqwtotallength, core::mem::transmute(ok__)); + pqwtotallength.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7044,7 +7044,7 @@ impl IMFHttpDownloadRequest_Vtbl { let this = (*this).get_impl(); match IMFHttpDownloadRequest_Impl::GetRangeEndOffset(this) { Ok(ok__) => { - core::ptr::write(pqwrangeend, core::mem::transmute(ok__)); + pqwrangeend.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7097,7 +7097,7 @@ impl IMFHttpDownloadSession_Vtbl { let this = (*this).get_impl(); match IMFHttpDownloadSession_Impl::CreateRequest(this, core::mem::transmute(&szobjectname), core::mem::transmute_copy(&fbypassproxycache), core::mem::transmute_copy(&fsecure), core::mem::transmute(&szverb), core::mem::transmute(&szreferrer)) { Ok(ok__) => { - core::ptr::write(pprequest, core::mem::transmute(ok__)); + pprequest.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7130,7 +7130,7 @@ impl IMFHttpDownloadSessionProvider_Vtbl { let this = (*this).get_impl(); match IMFHttpDownloadSessionProvider_Impl::CreateHttpDownloadSession(this, core::mem::transmute(&wszscheme)) { Ok(ok__) => { - core::ptr::write(ppdownloadsession, core::mem::transmute(ok__)); + ppdownloadsession.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7187,7 +7187,7 @@ impl IMFImageSharingEngineClassFactory_Vtbl { let this = (*this).get_impl(); match IMFImageSharingEngineClassFactory_Impl::CreateInstanceFromUDN(this, core::mem::transmute(&puniquedevicename)) { Ok(ok__) => { - core::ptr::write(ppengine, core::mem::transmute(ok__)); + ppengine.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7220,7 +7220,7 @@ impl IMFInputTrustAuthority_Vtbl { let this = (*this).get_impl(); match IMFInputTrustAuthority_Impl::RequestAccess(this, core::mem::transmute_copy(&action)) { Ok(ok__) => { - core::ptr::write(ppcontentenableractivate, core::mem::transmute(ok__)); + ppcontentenableractivate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7231,7 +7231,7 @@ impl IMFInputTrustAuthority_Vtbl { let this = (*this).get_impl(); match IMFInputTrustAuthority_Impl::GetPolicy(this, core::mem::transmute_copy(&action)) { Ok(ok__) => { - core::ptr::write(pppolicy, core::mem::transmute(ok__)); + pppolicy.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7308,7 +7308,7 @@ impl IMFMediaBuffer_Vtbl { let this = (*this).get_impl(); match IMFMediaBuffer_Impl::GetCurrentLength(this) { Ok(ok__) => { - core::ptr::write(pcbcurrentlength, core::mem::transmute(ok__)); + pcbcurrentlength.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7324,7 +7324,7 @@ impl IMFMediaBuffer_Vtbl { let this = (*this).get_impl(); match IMFMediaBuffer_Impl::GetMaxLength(this) { Ok(ok__) => { - core::ptr::write(pcbmaxlength, core::mem::transmute(ok__)); + pcbmaxlength.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7395,7 +7395,7 @@ impl IMFMediaEngine_Vtbl { let this = (*this).get_impl(); match IMFMediaEngine_Impl::GetError(this) { Ok(ok__) => { - core::ptr::write(pperror, core::mem::transmute(ok__)); + pperror.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7421,7 +7421,7 @@ impl IMFMediaEngine_Vtbl { let this = (*this).get_impl(); match IMFMediaEngine_Impl::GetCurrentSource(this) { Ok(ok__) => { - core::ptr::write(ppurl, core::mem::transmute(ok__)); + ppurl.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7447,7 +7447,7 @@ impl IMFMediaEngine_Vtbl { let this = (*this).get_impl(); match IMFMediaEngine_Impl::GetBuffered(this) { Ok(ok__) => { - core::ptr::write(ppbuffered, core::mem::transmute(ok__)); + ppbuffered.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7463,7 +7463,7 @@ impl IMFMediaEngine_Vtbl { let this = (*this).get_impl(); match IMFMediaEngine_Impl::CanPlayType(this, core::mem::transmute(&r#type)) { Ok(ok__) => { - core::ptr::write(panswer, core::mem::transmute(ok__)); + panswer.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7529,7 +7529,7 @@ impl IMFMediaEngine_Vtbl { let this = (*this).get_impl(); match IMFMediaEngine_Impl::GetPlayed(this) { Ok(ok__) => { - core::ptr::write(ppplayed, core::mem::transmute(ok__)); + ppplayed.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7540,7 +7540,7 @@ impl IMFMediaEngine_Vtbl { let this = (*this).get_impl(); match IMFMediaEngine_Impl::GetSeekable(this) { Ok(ok__) => { - core::ptr::write(ppseekable, core::mem::transmute(ok__)); + ppseekable.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7636,7 +7636,7 @@ impl IMFMediaEngine_Vtbl { let this = (*this).get_impl(); match IMFMediaEngine_Impl::OnVideoStreamTick(this) { Ok(ok__) => { - core::ptr::write(ppts, core::mem::transmute(ok__)); + ppts.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7709,7 +7709,7 @@ impl IMFMediaEngineAudioEndpointId_Vtbl { let this = (*this).get_impl(); match IMFMediaEngineAudioEndpointId_Impl::GetAudioEndpointId(this) { Ok(ok__) => { - core::ptr::write(ppszendpointid, core::mem::transmute(ok__)); + ppszendpointid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7738,7 +7738,7 @@ impl IMFMediaEngineClassFactory_Vtbl { let this = (*this).get_impl(); match IMFMediaEngineClassFactory_Impl::CreateInstance(this, core::mem::transmute_copy(&dwflags), windows_core::from_raw_borrowed(&pattr)) { Ok(ok__) => { - core::ptr::write(ppplayer, core::mem::transmute(ok__)); + ppplayer.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7749,7 +7749,7 @@ impl IMFMediaEngineClassFactory_Vtbl { let this = (*this).get_impl(); match IMFMediaEngineClassFactory_Impl::CreateTimeRange(this) { Ok(ok__) => { - core::ptr::write(pptimerange, core::mem::transmute(ok__)); + pptimerange.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7760,7 +7760,7 @@ impl IMFMediaEngineClassFactory_Vtbl { let this = (*this).get_impl(); match IMFMediaEngineClassFactory_Impl::CreateError(this) { Ok(ok__) => { - core::ptr::write(pperror, core::mem::transmute(ok__)); + pperror.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7788,7 +7788,7 @@ impl IMFMediaEngineClassFactory2_Vtbl { let this = (*this).get_impl(); match IMFMediaEngineClassFactory2_Impl::CreateMediaKeys2(this, core::mem::transmute(&keysystem), core::mem::transmute(&defaultcdmstorepath), core::mem::transmute(&inprivatecdmstorepath)) { Ok(ok__) => { - core::ptr::write(ppkeys, core::mem::transmute(ok__)); + ppkeys.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7814,7 +7814,7 @@ impl IMFMediaEngineClassFactory3_Vtbl { let this = (*this).get_impl(); match IMFMediaEngineClassFactory3_Impl::CreateMediaKeySystemAccess(this, core::mem::transmute(&keysystem), core::mem::transmute_copy(&ppsupportedconfigurationsarray), core::mem::transmute_copy(&usize)) { Ok(ok__) => { - core::ptr::write(ppkeyaccess, core::mem::transmute(ok__)); + ppkeyaccess.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7859,7 +7859,7 @@ impl IMFMediaEngineClassFactoryEx_Vtbl { let this = (*this).get_impl(); match IMFMediaEngineClassFactoryEx_Impl::CreateMediaSourceExtension(this, core::mem::transmute_copy(&dwflags), windows_core::from_raw_borrowed(&pattr)) { Ok(ok__) => { - core::ptr::write(ppmse, core::mem::transmute(ok__)); + ppmse.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7870,7 +7870,7 @@ impl IMFMediaEngineClassFactoryEx_Vtbl { let this = (*this).get_impl(); match IMFMediaEngineClassFactoryEx_Impl::CreateMediaKeys(this, core::mem::transmute(&keysystem), core::mem::transmute(&cdmstorepath)) { Ok(ok__) => { - core::ptr::write(ppkeys, core::mem::transmute(ok__)); + ppkeys.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7881,7 +7881,7 @@ impl IMFMediaEngineClassFactoryEx_Vtbl { let this = (*this).get_impl(); match IMFMediaEngineClassFactoryEx_Impl::IsTypeSupported(this, core::mem::transmute(&r#type), core::mem::transmute(&keysystem)) { Ok(ok__) => { - core::ptr::write(issupported, core::mem::transmute(ok__)); + issupported.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7910,7 +7910,7 @@ impl IMFMediaEngineEME_Vtbl { let this = (*this).get_impl(); match IMFMediaEngineEME_Impl::Keys(this) { Ok(ok__) => { - core::ptr::write(keys, core::mem::transmute(ok__)); + keys.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8010,7 +8010,7 @@ impl IMFMediaEngineEx_Vtbl { let this = (*this).get_impl(); match IMFMediaEngineEx_Impl::GetStatistics(this, core::mem::transmute_copy(&statisticid)) { Ok(ok__) => { - core::ptr::write(pstatistic, core::mem::transmute(ok__)); + pstatistic.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8046,7 +8046,7 @@ impl IMFMediaEngineEx_Vtbl { let this = (*this).get_impl(); match IMFMediaEngineEx_Impl::GetResourceCharacteristics(this) { Ok(ok__) => { - core::ptr::write(pcharacteristics, core::mem::transmute(ok__)); + pcharacteristics.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8057,7 +8057,7 @@ impl IMFMediaEngineEx_Vtbl { let this = (*this).get_impl(); match IMFMediaEngineEx_Impl::GetPresentationAttribute(this, core::mem::transmute_copy(&guidmfattribute)) { Ok(ok__) => { - core::ptr::write(pvvalue, core::mem::transmute(ok__)); + pvvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8068,7 +8068,7 @@ impl IMFMediaEngineEx_Vtbl { let this = (*this).get_impl(); match IMFMediaEngineEx_Impl::GetNumberOfStreams(this) { Ok(ok__) => { - core::ptr::write(pdwstreamcount, core::mem::transmute(ok__)); + pdwstreamcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8079,7 +8079,7 @@ impl IMFMediaEngineEx_Vtbl { let this = (*this).get_impl(); match IMFMediaEngineEx_Impl::GetStreamAttribute(this, core::mem::transmute_copy(&dwstreamindex), core::mem::transmute_copy(&guidmfattribute)) { Ok(ok__) => { - core::ptr::write(pvvalue, core::mem::transmute(ok__)); + pvvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8090,7 +8090,7 @@ impl IMFMediaEngineEx_Vtbl { let this = (*this).get_impl(); match IMFMediaEngineEx_Impl::GetStreamSelection(this, core::mem::transmute_copy(&dwstreamindex)) { Ok(ok__) => { - core::ptr::write(penabled, core::mem::transmute(ok__)); + penabled.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8111,7 +8111,7 @@ impl IMFMediaEngineEx_Vtbl { let this = (*this).get_impl(); match IMFMediaEngineEx_Impl::IsProtected(this) { Ok(ok__) => { - core::ptr::write(pprotected, core::mem::transmute(ok__)); + pprotected.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8142,7 +8142,7 @@ impl IMFMediaEngineEx_Vtbl { let this = (*this).get_impl(); match IMFMediaEngineEx_Impl::GetTimelineMarkerTimer(this) { Ok(ok__) => { - core::ptr::write(ptimetofire, core::mem::transmute(ok__)); + ptimetofire.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8163,7 +8163,7 @@ impl IMFMediaEngineEx_Vtbl { let this = (*this).get_impl(); match IMFMediaEngineEx_Impl::GetStereo3DFramePackingMode(this) { Ok(ok__) => { - core::ptr::write(packmode, core::mem::transmute(ok__)); + packmode.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8179,7 +8179,7 @@ impl IMFMediaEngineEx_Vtbl { let this = (*this).get_impl(); match IMFMediaEngineEx_Impl::GetStereo3DRenderMode(this) { Ok(ok__) => { - core::ptr::write(outputtype, core::mem::transmute(ok__)); + outputtype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8200,7 +8200,7 @@ impl IMFMediaEngineEx_Vtbl { let this = (*this).get_impl(); match IMFMediaEngineEx_Impl::GetVideoSwapchainHandle(this) { Ok(ok__) => { - core::ptr::write(phswapchain, core::mem::transmute(ok__)); + phswapchain.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8216,7 +8216,7 @@ impl IMFMediaEngineEx_Vtbl { let this = (*this).get_impl(); match IMFMediaEngineEx_Impl::GetAudioStreamCategory(this) { Ok(ok__) => { - core::ptr::write(pcategory, core::mem::transmute(ok__)); + pcategory.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8232,7 +8232,7 @@ impl IMFMediaEngineEx_Vtbl { let this = (*this).get_impl(); match IMFMediaEngineEx_Impl::GetAudioEndpointRole(this) { Ok(ok__) => { - core::ptr::write(prole, core::mem::transmute(ok__)); + prole.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8248,7 +8248,7 @@ impl IMFMediaEngineEx_Vtbl { let this = (*this).get_impl(); match IMFMediaEngineEx_Impl::GetRealTimeMode(this) { Ok(ok__) => { - core::ptr::write(pfenabled, core::mem::transmute(ok__)); + pfenabled.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8328,7 +8328,7 @@ impl IMFMediaEngineExtension_Vtbl { let this = (*this).get_impl(); match IMFMediaEngineExtension_Impl::CanPlayType(this, core::mem::transmute_copy(&audioonly), core::mem::transmute(&mimetype)) { Ok(ok__) => { - core::ptr::write(panswer, core::mem::transmute(ok__)); + panswer.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8349,7 +8349,7 @@ impl IMFMediaEngineExtension_Vtbl { let this = (*this).get_impl(); match IMFMediaEngineExtension_Impl::EndCreateObject(this, windows_core::from_raw_borrowed(&presult)) { Ok(ok__) => { - core::ptr::write(ppobject, core::mem::transmute(ok__)); + ppobject.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8439,7 +8439,7 @@ impl IMFMediaEngineProtectedContent_Vtbl { let this = (*this).get_impl(); match IMFMediaEngineProtectedContent_Impl::GetRequiredProtections(this) { Ok(ok__) => { - core::ptr::write(pframeprotectionflags, core::mem::transmute(ok__)); + pframeprotectionflags.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8455,7 +8455,7 @@ impl IMFMediaEngineProtectedContent_Vtbl { let this = (*this).get_impl(); match IMFMediaEngineProtectedContent_Impl::TransferVideoFrame(this, windows_core::from_raw_borrowed(&pdstsurf), core::mem::transmute_copy(&psrc), core::mem::transmute_copy(&pdst), core::mem::transmute_copy(&pborderclr)) { Ok(ok__) => { - core::ptr::write(pframeprotectionflags, core::mem::transmute(ok__)); + pframeprotectionflags.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8506,7 +8506,7 @@ impl IMFMediaEngineSrcElements_Vtbl { let this = (*this).get_impl(); match IMFMediaEngineSrcElements_Impl::GetURL(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(purl, core::mem::transmute(ok__)); + purl.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8517,7 +8517,7 @@ impl IMFMediaEngineSrcElements_Vtbl { let this = (*this).get_impl(); match IMFMediaEngineSrcElements_Impl::GetType(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(ptype, core::mem::transmute(ok__)); + ptype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8528,7 +8528,7 @@ impl IMFMediaEngineSrcElements_Vtbl { let this = (*this).get_impl(); match IMFMediaEngineSrcElements_Impl::GetMedia(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(pmedia, core::mem::transmute(ok__)); + pmedia.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8575,7 +8575,7 @@ impl IMFMediaEngineSrcElementsEx_Vtbl { let this = (*this).get_impl(); match IMFMediaEngineSrcElementsEx_Impl::GetKeySystem(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(ptype, core::mem::transmute(ok__)); + ptype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8604,7 +8604,7 @@ impl IMFMediaEngineSupportsSourceTransfer_Vtbl { let this = (*this).get_impl(); match IMFMediaEngineSupportsSourceTransfer_Impl::ShouldTransferSource(this) { Ok(ok__) => { - core::ptr::write(pfshouldtransfer, core::mem::transmute(ok__)); + pfshouldtransfer.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8669,7 +8669,7 @@ impl IMFMediaEngineWebSupport_Vtbl { let this = (*this).get_impl(); match IMFMediaEngineWebSupport_Impl::ConnectWebAudio(this, core::mem::transmute_copy(&dwsamplerate)) { Ok(ok__) => { - core::ptr::write(ppsourceprovider, core::mem::transmute(ok__)); + ppsourceprovider.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8746,7 +8746,7 @@ impl IMFMediaEvent_Vtbl { let this = (*this).get_impl(); match IMFMediaEvent_Impl::GetType(this) { Ok(ok__) => { - core::ptr::write(pmet, core::mem::transmute(ok__)); + pmet.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8757,7 +8757,7 @@ impl IMFMediaEvent_Vtbl { let this = (*this).get_impl(); match IMFMediaEvent_Impl::GetExtendedType(this) { Ok(ok__) => { - core::ptr::write(pguidextendedtype, core::mem::transmute(ok__)); + pguidextendedtype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8768,7 +8768,7 @@ impl IMFMediaEvent_Vtbl { let this = (*this).get_impl(); match IMFMediaEvent_Impl::GetStatus(this) { Ok(ok__) => { - core::ptr::write(phrstatus, core::mem::transmute(ok__)); + phrstatus.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8779,7 +8779,7 @@ impl IMFMediaEvent_Vtbl { let this = (*this).get_impl(); match IMFMediaEvent_Impl::GetValue(this) { Ok(ok__) => { - core::ptr::write(pvvalue, core::mem::transmute(ok__)); + pvvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8811,7 +8811,7 @@ impl IMFMediaEventGenerator_Vtbl { let this = (*this).get_impl(); match IMFMediaEventGenerator_Impl::GetEvent(this, core::mem::transmute_copy(&dwflags)) { Ok(ok__) => { - core::ptr::write(ppevent, core::mem::transmute(ok__)); + ppevent.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8827,7 +8827,7 @@ impl IMFMediaEventGenerator_Vtbl { let this = (*this).get_impl(); match IMFMediaEventGenerator_Impl::EndGetEvent(this, windows_core::from_raw_borrowed(&presult)) { Ok(ok__) => { - core::ptr::write(ppevent, core::mem::transmute(ok__)); + ppevent.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8867,7 +8867,7 @@ impl IMFMediaEventQueue_Vtbl { let this = (*this).get_impl(); match IMFMediaEventQueue_Impl::GetEvent(this, core::mem::transmute_copy(&dwflags)) { Ok(ok__) => { - core::ptr::write(ppevent, core::mem::transmute(ok__)); + ppevent.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8883,7 +8883,7 @@ impl IMFMediaEventQueue_Vtbl { let this = (*this).get_impl(); match IMFMediaEventQueue_Impl::EndGetEvent(this, windows_core::from_raw_borrowed(&presult)) { Ok(ok__) => { - core::ptr::write(ppevent, core::mem::transmute(ok__)); + ppevent.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8944,7 +8944,7 @@ impl IMFMediaKeySession_Vtbl { let this = (*this).get_impl(); match IMFMediaKeySession_Impl::KeySystem(this) { Ok(ok__) => { - core::ptr::write(keysystem, core::mem::transmute(ok__)); + keysystem.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8955,7 +8955,7 @@ impl IMFMediaKeySession_Vtbl { let this = (*this).get_impl(); match IMFMediaKeySession_Impl::SessionId(this) { Ok(ok__) => { - core::ptr::write(sessionid, core::mem::transmute(ok__)); + sessionid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9005,7 +9005,7 @@ impl IMFMediaKeySession2_Vtbl { let this = (*this).get_impl(); match IMFMediaKeySession2_Impl::Load(this, core::mem::transmute(&bstrsessionid)) { Ok(ok__) => { - core::ptr::write(pfloaded, core::mem::transmute(ok__)); + pfloaded.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9021,7 +9021,7 @@ impl IMFMediaKeySession2_Vtbl { let this = (*this).get_impl(); match IMFMediaKeySession2_Impl::Expiration(this) { Ok(ok__) => { - core::ptr::write(dblexpiration, core::mem::transmute(ok__)); + dblexpiration.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9128,7 +9128,7 @@ impl IMFMediaKeySystemAccess_Vtbl { let this = (*this).get_impl(); match IMFMediaKeySystemAccess_Impl::CreateMediaKeys(this, windows_core::from_raw_borrowed(&pcdmcustomconfig)) { Ok(ok__) => { - core::ptr::write(ppkeys, core::mem::transmute(ok__)); + ppkeys.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9139,7 +9139,7 @@ impl IMFMediaKeySystemAccess_Vtbl { let this = (*this).get_impl(); match IMFMediaKeySystemAccess_Impl::SupportedConfiguration(this) { Ok(ok__) => { - core::ptr::write(ppsupportedconfiguration, core::mem::transmute(ok__)); + ppsupportedconfiguration.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9150,7 +9150,7 @@ impl IMFMediaKeySystemAccess_Vtbl { let this = (*this).get_impl(); match IMFMediaKeySystemAccess_Impl::KeySystem(this) { Ok(ok__) => { - core::ptr::write(pkeysystem, core::mem::transmute(ok__)); + pkeysystem.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9181,7 +9181,7 @@ impl IMFMediaKeys_Vtbl { let this = (*this).get_impl(); match IMFMediaKeys_Impl::CreateSession(this, core::mem::transmute(&mimetype), core::mem::transmute_copy(&initdata), core::mem::transmute_copy(&cb), core::mem::transmute_copy(&customdata), core::mem::transmute_copy(&cbcustomdata), windows_core::from_raw_borrowed(¬ify)) { Ok(ok__) => { - core::ptr::write(ppsession, core::mem::transmute(ok__)); + ppsession.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9192,7 +9192,7 @@ impl IMFMediaKeys_Vtbl { let this = (*this).get_impl(); match IMFMediaKeys_Impl::KeySystem(this) { Ok(ok__) => { - core::ptr::write(keysystem, core::mem::transmute(ok__)); + keysystem.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9208,7 +9208,7 @@ impl IMFMediaKeys_Vtbl { let this = (*this).get_impl(); match IMFMediaKeys_Impl::GetSuspendNotify(this) { Ok(ok__) => { - core::ptr::write(notify, core::mem::transmute(ok__)); + notify.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9239,7 +9239,7 @@ impl IMFMediaKeys2_Vtbl { let this = (*this).get_impl(); match IMFMediaKeys2_Impl::CreateSession2(this, core::mem::transmute_copy(&esessiontype), windows_core::from_raw_borrowed(&pmfmediakeysessionnotify2)) { Ok(ok__) => { - core::ptr::write(ppsession, core::mem::transmute(ok__)); + ppsession.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9255,7 +9255,7 @@ impl IMFMediaKeys2_Vtbl { let this = (*this).get_impl(); match IMFMediaKeys2_Impl::GetDOMException(this, core::mem::transmute_copy(&systemcode)) { Ok(ok__) => { - core::ptr::write(code, core::mem::transmute(ok__)); + code.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9327,7 +9327,7 @@ impl IMFMediaSession_Vtbl { let this = (*this).get_impl(); match IMFMediaSession_Impl::GetClock(this) { Ok(ok__) => { - core::ptr::write(ppclock, core::mem::transmute(ok__)); + ppclock.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9338,7 +9338,7 @@ impl IMFMediaSession_Vtbl { let this = (*this).get_impl(); match IMFMediaSession_Impl::GetSessionCapabilities(this) { Ok(ok__) => { - core::ptr::write(pdwcaps, core::mem::transmute(ok__)); + pdwcaps.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9349,7 +9349,7 @@ impl IMFMediaSession_Vtbl { let this = (*this).get_impl(); match IMFMediaSession_Impl::GetFullTopology(this, core::mem::transmute_copy(&dwgetfulltopologyflags), core::mem::transmute_copy(&topoid)) { Ok(ok__) => { - core::ptr::write(ppfulltopology, core::mem::transmute(ok__)); + ppfulltopology.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9401,7 +9401,7 @@ impl IMFMediaSharingEngineClassFactory_Vtbl { let this = (*this).get_impl(); match IMFMediaSharingEngineClassFactory_Impl::CreateInstance(this, core::mem::transmute_copy(&dwflags), windows_core::from_raw_borrowed(&pattr)) { Ok(ok__) => { - core::ptr::write(ppengine, core::mem::transmute(ok__)); + ppengine.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9432,7 +9432,7 @@ impl IMFMediaSink_Vtbl { let this = (*this).get_impl(); match IMFMediaSink_Impl::GetCharacteristics(this) { Ok(ok__) => { - core::ptr::write(pdwcharacteristics, core::mem::transmute(ok__)); + pdwcharacteristics.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9443,7 +9443,7 @@ impl IMFMediaSink_Vtbl { let this = (*this).get_impl(); match IMFMediaSink_Impl::AddStreamSink(this, core::mem::transmute_copy(&dwstreamsinkidentifier), windows_core::from_raw_borrowed(&pmediatype)) { Ok(ok__) => { - core::ptr::write(ppstreamsink, core::mem::transmute(ok__)); + ppstreamsink.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9459,7 +9459,7 @@ impl IMFMediaSink_Vtbl { let this = (*this).get_impl(); match IMFMediaSink_Impl::GetStreamSinkCount(this) { Ok(ok__) => { - core::ptr::write(pcstreamsinkcount, core::mem::transmute(ok__)); + pcstreamsinkcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9470,7 +9470,7 @@ impl IMFMediaSink_Vtbl { let this = (*this).get_impl(); match IMFMediaSink_Impl::GetStreamSinkByIndex(this, core::mem::transmute_copy(&dwindex)) { Ok(ok__) => { - core::ptr::write(ppstreamsink, core::mem::transmute(ok__)); + ppstreamsink.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9481,7 +9481,7 @@ impl IMFMediaSink_Vtbl { let this = (*this).get_impl(); match IMFMediaSink_Impl::GetStreamSinkById(this, core::mem::transmute_copy(&dwstreamsinkidentifier)) { Ok(ok__) => { - core::ptr::write(ppstreamsink, core::mem::transmute(ok__)); + ppstreamsink.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9497,7 +9497,7 @@ impl IMFMediaSink_Vtbl { let this = (*this).get_impl(); match IMFMediaSink_Impl::GetPresentationClock(this) { Ok(ok__) => { - core::ptr::write(pppresentationclock, core::mem::transmute(ok__)); + pppresentationclock.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9558,7 +9558,7 @@ impl IMFMediaSource_Vtbl { let this = (*this).get_impl(); match IMFMediaSource_Impl::GetCharacteristics(this) { Ok(ok__) => { - core::ptr::write(pdwcharacteristics, core::mem::transmute(ok__)); + pdwcharacteristics.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9569,7 +9569,7 @@ impl IMFMediaSource_Vtbl { let this = (*this).get_impl(); match IMFMediaSource_Impl::CreatePresentationDescriptor(this) { Ok(ok__) => { - core::ptr::write(pppresentationdescriptor, core::mem::transmute(ok__)); + pppresentationdescriptor.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9639,7 +9639,7 @@ impl IMFMediaSourceEx_Vtbl { let this = (*this).get_impl(); match IMFMediaSourceEx_Impl::GetSourceAttributes(this) { Ok(ok__) => { - core::ptr::write(ppattributes, core::mem::transmute(ok__)); + ppattributes.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9650,7 +9650,7 @@ impl IMFMediaSourceEx_Vtbl { let this = (*this).get_impl(); match IMFMediaSourceEx_Impl::GetStreamAttributes(this, core::mem::transmute_copy(&dwstreamidentifier)) { Ok(ok__) => { - core::ptr::write(ppattributes, core::mem::transmute(ok__)); + ppattributes.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9717,7 +9717,7 @@ impl IMFMediaSourceExtension_Vtbl { let this = (*this).get_impl(); match IMFMediaSourceExtension_Impl::AddSourceBuffer(this, core::mem::transmute(&r#type), windows_core::from_raw_borrowed(&pnotify)) { Ok(ok__) => { - core::ptr::write(ppsourcebuffer, core::mem::transmute(ok__)); + ppsourcebuffer.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9850,7 +9850,7 @@ impl IMFMediaSourceTopologyProvider_Vtbl { let this = (*this).get_impl(); match IMFMediaSourceTopologyProvider_Impl::GetMediaSourceTopology(this, windows_core::from_raw_borrowed(&ppresentationdescriptor)) { Ok(ok__) => { - core::ptr::write(pptopology, core::mem::transmute(ok__)); + pptopology.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9875,7 +9875,7 @@ impl IMFMediaStream_Vtbl { let this = (*this).get_impl(); match IMFMediaStream_Impl::GetMediaSource(this) { Ok(ok__) => { - core::ptr::write(ppmediasource, core::mem::transmute(ok__)); + ppmediasource.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9886,7 +9886,7 @@ impl IMFMediaStream_Vtbl { let this = (*this).get_impl(); match IMFMediaStream_Impl::GetStreamDescriptor(this) { Ok(ok__) => { - core::ptr::write(ppstreamdescriptor, core::mem::transmute(ok__)); + ppstreamdescriptor.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9925,7 +9925,7 @@ impl IMFMediaStream2_Vtbl { let this = (*this).get_impl(); match IMFMediaStream2_Impl::GetStreamState(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9979,7 +9979,7 @@ impl IMFMediaTimeRange_Vtbl { let this = (*this).get_impl(); match IMFMediaTimeRange_Impl::GetStart(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(pstart, core::mem::transmute(ok__)); + pstart.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9990,7 +9990,7 @@ impl IMFMediaTimeRange_Vtbl { let this = (*this).get_impl(); match IMFMediaTimeRange_Impl::GetEnd(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(pend, core::mem::transmute(ok__)); + pend.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10040,7 +10040,7 @@ impl IMFMediaType_Vtbl { let this = (*this).get_impl(); match IMFMediaType_Impl::GetMajorType(this) { Ok(ok__) => { - core::ptr::write(pguidmajortype, core::mem::transmute(ok__)); + pguidmajortype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10051,7 +10051,7 @@ impl IMFMediaType_Vtbl { let this = (*this).get_impl(); match IMFMediaType_Impl::IsCompressedFormat(this) { Ok(ok__) => { - core::ptr::write(pfcompressed, core::mem::transmute(ok__)); + pfcompressed.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10062,7 +10062,7 @@ impl IMFMediaType_Vtbl { let this = (*this).get_impl(); match IMFMediaType_Impl::IsEqual(this, windows_core::from_raw_borrowed(&pimediatype)) { Ok(ok__) => { - core::ptr::write(pdwflags, core::mem::transmute(ok__)); + pdwflags.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10112,7 +10112,7 @@ impl IMFMediaTypeHandler_Vtbl { let this = (*this).get_impl(); match IMFMediaTypeHandler_Impl::GetMediaTypeCount(this) { Ok(ok__) => { - core::ptr::write(pdwtypecount, core::mem::transmute(ok__)); + pdwtypecount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10123,7 +10123,7 @@ impl IMFMediaTypeHandler_Vtbl { let this = (*this).get_impl(); match IMFMediaTypeHandler_Impl::GetMediaTypeByIndex(this, core::mem::transmute_copy(&dwindex)) { Ok(ok__) => { - core::ptr::write(pptype, core::mem::transmute(ok__)); + pptype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10139,7 +10139,7 @@ impl IMFMediaTypeHandler_Vtbl { let this = (*this).get_impl(); match IMFMediaTypeHandler_Impl::GetCurrentMediaType(this) { Ok(ok__) => { - core::ptr::write(ppmediatype, core::mem::transmute(ok__)); + ppmediatype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10150,7 +10150,7 @@ impl IMFMediaTypeHandler_Vtbl { let this = (*this).get_impl(); match IMFMediaTypeHandler_Impl::GetMajorType(this) { Ok(ok__) => { - core::ptr::write(pguidmajortype, core::mem::transmute(ok__)); + pguidmajortype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10192,7 +10192,7 @@ impl IMFMetadata_Vtbl { let this = (*this).get_impl(); match IMFMetadata_Impl::GetLanguage(this) { Ok(ok__) => { - core::ptr::write(ppwszrfc1766, core::mem::transmute(ok__)); + ppwszrfc1766.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10203,7 +10203,7 @@ impl IMFMetadata_Vtbl { let this = (*this).get_impl(); match IMFMetadata_Impl::GetAllLanguages(this) { Ok(ok__) => { - core::ptr::write(ppvlanguages, core::mem::transmute(ok__)); + ppvlanguages.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10219,7 +10219,7 @@ impl IMFMetadata_Vtbl { let this = (*this).get_impl(); match IMFMetadata_Impl::GetProperty(this, core::mem::transmute(&pwszname)) { Ok(ok__) => { - core::ptr::write(ppvvalue, core::mem::transmute(ok__)); + ppvvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10235,7 +10235,7 @@ impl IMFMetadata_Vtbl { let this = (*this).get_impl(); match IMFMetadata_Impl::GetAllPropertyNames(this) { Ok(ok__) => { - core::ptr::write(ppvnames, core::mem::transmute(ok__)); + ppvnames.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10267,7 +10267,7 @@ impl IMFMetadataProvider_Vtbl { let this = (*this).get_impl(); match IMFMetadataProvider_Impl::GetMFMetadata(this, windows_core::from_raw_borrowed(&ppresentationdescriptor), core::mem::transmute_copy(&dwstreamidentifier), core::mem::transmute_copy(&dwflags)) { Ok(ok__) => { - core::ptr::write(ppmfmetadata, core::mem::transmute(ok__)); + ppmfmetadata.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10291,7 +10291,7 @@ impl IMFMuxStreamAttributesManager_Vtbl { let this = (*this).get_impl(); match IMFMuxStreamAttributesManager_Impl::GetStreamCount(this) { Ok(ok__) => { - core::ptr::write(pdwmuxstreamcount, core::mem::transmute(ok__)); + pdwmuxstreamcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10302,7 +10302,7 @@ impl IMFMuxStreamAttributesManager_Vtbl { let this = (*this).get_impl(); match IMFMuxStreamAttributesManager_Impl::GetAttributes(this, core::mem::transmute_copy(&dwmuxstreamindex)) { Ok(ok__) => { - core::ptr::write(ppstreamattributes, core::mem::transmute(ok__)); + ppstreamattributes.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10334,7 +10334,7 @@ impl IMFMuxStreamMediaTypeManager_Vtbl { let this = (*this).get_impl(); match IMFMuxStreamMediaTypeManager_Impl::GetStreamCount(this) { Ok(ok__) => { - core::ptr::write(pdwmuxstreamcount, core::mem::transmute(ok__)); + pdwmuxstreamcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10345,7 +10345,7 @@ impl IMFMuxStreamMediaTypeManager_Vtbl { let this = (*this).get_impl(); match IMFMuxStreamMediaTypeManager_Impl::GetMediaType(this, core::mem::transmute_copy(&dwmuxstreamindex)) { Ok(ok__) => { - core::ptr::write(ppmediatype, core::mem::transmute(ok__)); + ppmediatype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10356,7 +10356,7 @@ impl IMFMuxStreamMediaTypeManager_Vtbl { let this = (*this).get_impl(); match IMFMuxStreamMediaTypeManager_Impl::GetStreamConfigurationCount(this) { Ok(ok__) => { - core::ptr::write(pdwcount, core::mem::transmute(ok__)); + pdwcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10377,7 +10377,7 @@ impl IMFMuxStreamMediaTypeManager_Vtbl { let this = (*this).get_impl(); match IMFMuxStreamMediaTypeManager_Impl::GetStreamConfiguration(this, core::mem::transmute_copy(&ulindex)) { Ok(ok__) => { - core::ptr::write(pullstreammask, core::mem::transmute(ok__)); + pullstreammask.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10410,7 +10410,7 @@ impl IMFMuxStreamSampleManager_Vtbl { let this = (*this).get_impl(); match IMFMuxStreamSampleManager_Impl::GetStreamCount(this) { Ok(ok__) => { - core::ptr::write(pdwmuxstreamcount, core::mem::transmute(ok__)); + pdwmuxstreamcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10421,7 +10421,7 @@ impl IMFMuxStreamSampleManager_Vtbl { let this = (*this).get_impl(); match IMFMuxStreamSampleManager_Impl::GetSample(this, core::mem::transmute_copy(&dwmuxstreamindex)) { Ok(ok__) => { - core::ptr::write(ppsample, core::mem::transmute(ok__)); + ppsample.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10478,7 +10478,7 @@ impl IMFNetCredential_Vtbl { let this = (*this).get_impl(); match IMFNetCredential_Impl::LoggedOnUser(this) { Ok(ok__) => { - core::ptr::write(pfloggedonuser, core::mem::transmute(ok__)); + pfloggedonuser.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10549,7 +10549,7 @@ impl IMFNetCredentialManager_Vtbl { let this = (*this).get_impl(); match IMFNetCredentialManager_Impl::EndGetCredentials(this, windows_core::from_raw_borrowed(&presult)) { Ok(ok__) => { - core::ptr::write(ppcred, core::mem::transmute(ok__)); + ppcred.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10584,7 +10584,7 @@ impl IMFNetCrossOriginSupport_Vtbl { let this = (*this).get_impl(); match IMFNetCrossOriginSupport_Impl::GetCrossOriginPolicy(this) { Ok(ok__) => { - core::ptr::write(ppolicy, core::mem::transmute(ok__)); + ppolicy.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10595,7 +10595,7 @@ impl IMFNetCrossOriginSupport_Vtbl { let this = (*this).get_impl(); match IMFNetCrossOriginSupport_Impl::GetSourceOrigin(this) { Ok(ok__) => { - core::ptr::write(wszsourceorigin, core::mem::transmute(ok__)); + wszsourceorigin.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10606,7 +10606,7 @@ impl IMFNetCrossOriginSupport_Vtbl { let this = (*this).get_impl(); match IMFNetCrossOriginSupport_Impl::IsSameOrigin(this, core::mem::transmute(&wszurl)) { Ok(ok__) => { - core::ptr::write(pfissameorigin, core::mem::transmute(ok__)); + pfissameorigin.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10658,7 +10658,7 @@ impl IMFNetProxyLocator_Vtbl { let this = (*this).get_impl(); match IMFNetProxyLocator_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppproxylocator, core::mem::transmute(ok__)); + ppproxylocator.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10688,7 +10688,7 @@ impl IMFNetProxyLocatorFactory_Vtbl { let this = (*this).get_impl(); match IMFNetProxyLocatorFactory_Impl::CreateProxyLocator(this, core::mem::transmute(&pszprotocol)) { Ok(ok__) => { - core::ptr::write(ppproxylocator, core::mem::transmute(ok__)); + ppproxylocator.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10712,7 +10712,7 @@ impl IMFNetResourceFilter_Vtbl { let this = (*this).get_impl(); match IMFNetResourceFilter_Impl::OnRedirect(this, core::mem::transmute(&pszurl)) { Ok(ok__) => { - core::ptr::write(pvbcancel, core::mem::transmute(ok__)); + pvbcancel.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10746,7 +10746,7 @@ impl IMFNetSchemeHandlerConfig_Vtbl { let this = (*this).get_impl(); match IMFNetSchemeHandlerConfig_Impl::GetNumberOfSupportedProtocols(this) { Ok(ok__) => { - core::ptr::write(pcprotocols, core::mem::transmute(ok__)); + pcprotocols.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10757,7 +10757,7 @@ impl IMFNetSchemeHandlerConfig_Vtbl { let this = (*this).get_impl(); match IMFNetSchemeHandlerConfig_Impl::GetSupportedProtocolType(this, core::mem::transmute_copy(&nprotocolindex)) { Ok(ok__) => { - core::ptr::write(pnprotocoltype, core::mem::transmute(ok__)); + pnprotocoltype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10819,7 +10819,7 @@ impl IMFOutputPolicy_Vtbl { let this = (*this).get_impl(); match IMFOutputPolicy_Impl::GenerateRequiredSchemas(this, core::mem::transmute_copy(&dwattributes), core::mem::transmute(&guidoutputsubtype), core::mem::transmute_copy(&rgguidprotectionschemassupported), core::mem::transmute_copy(&cprotectionschemassupported)) { Ok(ok__) => { - core::ptr::write(pprequiredprotectionschemas, core::mem::transmute(ok__)); + pprequiredprotectionschemas.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10830,7 +10830,7 @@ impl IMFOutputPolicy_Vtbl { let this = (*this).get_impl(); match IMFOutputPolicy_Impl::GetOriginatorID(this) { Ok(ok__) => { - core::ptr::write(pguidoriginatorid, core::mem::transmute(ok__)); + pguidoriginatorid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10841,7 +10841,7 @@ impl IMFOutputPolicy_Vtbl { let this = (*this).get_impl(); match IMFOutputPolicy_Impl::GetMinimumGRLVersion(this) { Ok(ok__) => { - core::ptr::write(pdwminimumgrlversion, core::mem::transmute(ok__)); + pdwminimumgrlversion.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10871,7 +10871,7 @@ impl IMFOutputSchema_Vtbl { let this = (*this).get_impl(); match IMFOutputSchema_Impl::GetSchemaType(this) { Ok(ok__) => { - core::ptr::write(pguidschematype, core::mem::transmute(ok__)); + pguidschematype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10882,7 +10882,7 @@ impl IMFOutputSchema_Vtbl { let this = (*this).get_impl(); match IMFOutputSchema_Impl::GetConfigurationData(this) { Ok(ok__) => { - core::ptr::write(pdwval, core::mem::transmute(ok__)); + pdwval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10893,7 +10893,7 @@ impl IMFOutputSchema_Vtbl { let this = (*this).get_impl(); match IMFOutputSchema_Impl::GetOriginatorID(this) { Ok(ok__) => { - core::ptr::write(pguidoriginatorid, core::mem::transmute(ok__)); + pguidoriginatorid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10922,7 +10922,7 @@ impl IMFOutputTrustAuthority_Vtbl { let this = (*this).get_impl(); match IMFOutputTrustAuthority_Impl::GetAction(this) { Ok(ok__) => { - core::ptr::write(paction, core::mem::transmute(ok__)); + paction.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11117,7 +11117,7 @@ impl IMFPMediaItem_Vtbl { let this = (*this).get_impl(); match IMFPMediaItem_Impl::GetMediaPlayer(this) { Ok(ok__) => { - core::ptr::write(ppmediaplayer, core::mem::transmute(ok__)); + ppmediaplayer.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11128,7 +11128,7 @@ impl IMFPMediaItem_Vtbl { let this = (*this).get_impl(); match IMFPMediaItem_Impl::GetURL(this) { Ok(ok__) => { - core::ptr::write(ppwszurl, core::mem::transmute(ok__)); + ppwszurl.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11139,7 +11139,7 @@ impl IMFPMediaItem_Vtbl { let this = (*this).get_impl(); match IMFPMediaItem_Impl::GetObject(this) { Ok(ok__) => { - core::ptr::write(ppiunknown, core::mem::transmute(ok__)); + ppiunknown.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11150,7 +11150,7 @@ impl IMFPMediaItem_Vtbl { let this = (*this).get_impl(); match IMFPMediaItem_Impl::GetUserData(this) { Ok(ok__) => { - core::ptr::write(pdwuserdata, core::mem::transmute(ok__)); + pdwuserdata.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11186,7 +11186,7 @@ impl IMFPMediaItem_Vtbl { let this = (*this).get_impl(); match IMFPMediaItem_Impl::IsProtected(this) { Ok(ok__) => { - core::ptr::write(pfprotected, core::mem::transmute(ok__)); + pfprotected.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11197,7 +11197,7 @@ impl IMFPMediaItem_Vtbl { let this = (*this).get_impl(); match IMFPMediaItem_Impl::GetDuration(this, core::mem::transmute_copy(&guidpositiontype)) { Ok(ok__) => { - core::ptr::write(pvdurationvalue, core::mem::transmute(ok__)); + pvdurationvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11208,7 +11208,7 @@ impl IMFPMediaItem_Vtbl { let this = (*this).get_impl(); match IMFPMediaItem_Impl::GetNumberOfStreams(this) { Ok(ok__) => { - core::ptr::write(pdwstreamcount, core::mem::transmute(ok__)); + pdwstreamcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11219,7 +11219,7 @@ impl IMFPMediaItem_Vtbl { let this = (*this).get_impl(); match IMFPMediaItem_Impl::GetStreamSelection(this, core::mem::transmute_copy(&dwstreamindex)) { Ok(ok__) => { - core::ptr::write(pfenabled, core::mem::transmute(ok__)); + pfenabled.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11235,7 +11235,7 @@ impl IMFPMediaItem_Vtbl { let this = (*this).get_impl(); match IMFPMediaItem_Impl::GetStreamAttribute(this, core::mem::transmute_copy(&dwstreamindex), core::mem::transmute_copy(&guidmfattribute)) { Ok(ok__) => { - core::ptr::write(pvvalue, core::mem::transmute(ok__)); + pvvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11246,7 +11246,7 @@ impl IMFPMediaItem_Vtbl { let this = (*this).get_impl(); match IMFPMediaItem_Impl::GetPresentationAttribute(this, core::mem::transmute_copy(&guidmfattribute)) { Ok(ok__) => { - core::ptr::write(pvvalue, core::mem::transmute(ok__)); + pvvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11257,7 +11257,7 @@ impl IMFPMediaItem_Vtbl { let this = (*this).get_impl(); match IMFPMediaItem_Impl::GetCharacteristics(this) { Ok(ok__) => { - core::ptr::write(pcharacteristics, core::mem::transmute(ok__)); + pcharacteristics.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11273,7 +11273,7 @@ impl IMFPMediaItem_Vtbl { let this = (*this).get_impl(); match IMFPMediaItem_Impl::GetMetadata(this) { Ok(ok__) => { - core::ptr::write(ppmetadatastore, core::mem::transmute(ok__)); + ppmetadatastore.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11377,7 +11377,7 @@ impl IMFPMediaPlayer_Vtbl { let this = (*this).get_impl(); match IMFPMediaPlayer_Impl::GetPosition(this, core::mem::transmute_copy(&guidpositiontype)) { Ok(ok__) => { - core::ptr::write(pvpositionvalue, core::mem::transmute(ok__)); + pvpositionvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11388,7 +11388,7 @@ impl IMFPMediaPlayer_Vtbl { let this = (*this).get_impl(); match IMFPMediaPlayer_Impl::GetDuration(this, core::mem::transmute_copy(&guidpositiontype)) { Ok(ok__) => { - core::ptr::write(pvdurationvalue, core::mem::transmute(ok__)); + pvdurationvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11404,7 +11404,7 @@ impl IMFPMediaPlayer_Vtbl { let this = (*this).get_impl(); match IMFPMediaPlayer_Impl::GetRate(this) { Ok(ok__) => { - core::ptr::write(pflrate, core::mem::transmute(ok__)); + pflrate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11420,7 +11420,7 @@ impl IMFPMediaPlayer_Vtbl { let this = (*this).get_impl(); match IMFPMediaPlayer_Impl::GetState(this) { Ok(ok__) => { - core::ptr::write(pestate, core::mem::transmute(ok__)); + pestate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11451,7 +11451,7 @@ impl IMFPMediaPlayer_Vtbl { let this = (*this).get_impl(); match IMFPMediaPlayer_Impl::GetMediaItem(this) { Ok(ok__) => { - core::ptr::write(ppimfpmediaitem, core::mem::transmute(ok__)); + ppimfpmediaitem.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11462,7 +11462,7 @@ impl IMFPMediaPlayer_Vtbl { let this = (*this).get_impl(); match IMFPMediaPlayer_Impl::GetVolume(this) { Ok(ok__) => { - core::ptr::write(pflvolume, core::mem::transmute(ok__)); + pflvolume.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11478,7 +11478,7 @@ impl IMFPMediaPlayer_Vtbl { let this = (*this).get_impl(); match IMFPMediaPlayer_Impl::GetBalance(this) { Ok(ok__) => { - core::ptr::write(pflbalance, core::mem::transmute(ok__)); + pflbalance.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11494,7 +11494,7 @@ impl IMFPMediaPlayer_Vtbl { let this = (*this).get_impl(); match IMFPMediaPlayer_Impl::GetMute(this) { Ok(ok__) => { - core::ptr::write(pfmute, core::mem::transmute(ok__)); + pfmute.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11525,7 +11525,7 @@ impl IMFPMediaPlayer_Vtbl { let this = (*this).get_impl(); match IMFPMediaPlayer_Impl::GetVideoSourceRect(this) { Ok(ok__) => { - core::ptr::write(pnrcsource, core::mem::transmute(ok__)); + pnrcsource.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11541,7 +11541,7 @@ impl IMFPMediaPlayer_Vtbl { let this = (*this).get_impl(); match IMFPMediaPlayer_Impl::GetAspectRatioMode(this) { Ok(ok__) => { - core::ptr::write(pdwaspectratiomode, core::mem::transmute(ok__)); + pdwaspectratiomode.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11552,7 +11552,7 @@ impl IMFPMediaPlayer_Vtbl { let this = (*this).get_impl(); match IMFPMediaPlayer_Impl::GetVideoWindow(this) { Ok(ok__) => { - core::ptr::write(phwndvideo, core::mem::transmute(ok__)); + phwndvideo.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11573,7 +11573,7 @@ impl IMFPMediaPlayer_Vtbl { let this = (*this).get_impl(); match IMFPMediaPlayer_Impl::GetBorderColor(this) { Ok(ok__) => { - core::ptr::write(pclr, core::mem::transmute(ok__)); + pclr.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11679,7 +11679,7 @@ impl IMFPluginControl_Vtbl { let this = (*this).get_impl(); match IMFPluginControl_Impl::GetPreferredClsid(this, core::mem::transmute_copy(&plugintype), core::mem::transmute(&selector)) { Ok(ok__) => { - core::ptr::write(clsid, core::mem::transmute(ok__)); + clsid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11705,7 +11705,7 @@ impl IMFPluginControl_Vtbl { let this = (*this).get_impl(); match IMFPluginControl_Impl::GetDisabledByIndex(this, core::mem::transmute_copy(&plugintype), core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(clsid, core::mem::transmute(ok__)); + clsid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11770,7 +11770,7 @@ impl IMFPresentationClock_Vtbl { let this = (*this).get_impl(); match IMFPresentationClock_Impl::GetTimeSource(this) { Ok(ok__) => { - core::ptr::write(pptimesource, core::mem::transmute(ok__)); + pptimesource.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11781,7 +11781,7 @@ impl IMFPresentationClock_Vtbl { let this = (*this).get_impl(); match IMFPresentationClock_Impl::GetTime(this) { Ok(ok__) => { - core::ptr::write(phnsclocktime, core::mem::transmute(ok__)); + phnsclocktime.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11843,7 +11843,7 @@ impl IMFPresentationDescriptor_Vtbl { let this = (*this).get_impl(); match IMFPresentationDescriptor_Impl::GetStreamDescriptorCount(this) { Ok(ok__) => { - core::ptr::write(pdwdescriptorcount, core::mem::transmute(ok__)); + pdwdescriptorcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11869,7 +11869,7 @@ impl IMFPresentationDescriptor_Vtbl { let this = (*this).get_impl(); match IMFPresentationDescriptor_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(pppresentationdescriptor, core::mem::transmute(ok__)); + pppresentationdescriptor.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11899,7 +11899,7 @@ impl IMFPresentationTimeSource_Vtbl { let this = (*this).get_impl(); match IMFPresentationTimeSource_Impl::GetUnderlyingClock(this) { Ok(ok__) => { - core::ptr::write(ppclock, core::mem::transmute(ok__)); + ppclock.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11959,7 +11959,7 @@ impl IMFQualityAdvise_Vtbl { let this = (*this).get_impl(); match IMFQualityAdvise_Impl::GetDropMode(this) { Ok(ok__) => { - core::ptr::write(pedropmode, core::mem::transmute(ok__)); + pedropmode.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11970,7 +11970,7 @@ impl IMFQualityAdvise_Vtbl { let this = (*this).get_impl(); match IMFQualityAdvise_Impl::GetQualityLevel(this) { Ok(ok__) => { - core::ptr::write(pequalitylevel, core::mem::transmute(ok__)); + pequalitylevel.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12005,7 +12005,7 @@ impl IMFQualityAdvise2_Vtbl { let this = (*this).get_impl(); match IMFQualityAdvise2_Impl::NotifyQualityEvent(this, windows_core::from_raw_borrowed(&pevent)) { Ok(ok__) => { - core::ptr::write(pdwflags, core::mem::transmute(ok__)); + pdwflags.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12029,7 +12029,7 @@ impl IMFQualityAdviseLimits_Vtbl { let this = (*this).get_impl(); match IMFQualityAdviseLimits_Impl::GetMaximumDropMode(this) { Ok(ok__) => { - core::ptr::write(pedropmode, core::mem::transmute(ok__)); + pedropmode.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12040,7 +12040,7 @@ impl IMFQualityAdviseLimits_Vtbl { let this = (*this).get_impl(); match IMFQualityAdviseLimits_Impl::GetMinimumQualityLevel(this) { Ok(ok__) => { - core::ptr::write(pequalitylevel, core::mem::transmute(ok__)); + pequalitylevel.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12151,7 +12151,7 @@ impl IMFRateSupport_Vtbl { let this = (*this).get_impl(); match IMFRateSupport_Impl::GetSlowestRate(this, core::mem::transmute_copy(&edirection), core::mem::transmute_copy(&fthin)) { Ok(ok__) => { - core::ptr::write(pflrate, core::mem::transmute(ok__)); + pflrate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12162,7 +12162,7 @@ impl IMFRateSupport_Vtbl { let this = (*this).get_impl(); match IMFRateSupport_Impl::GetFastestRate(this, core::mem::transmute_copy(&edirection), core::mem::transmute_copy(&fthin)) { Ok(ok__) => { - core::ptr::write(pflrate, core::mem::transmute(ok__)); + pflrate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12290,7 +12290,7 @@ impl IMFRelativePanelReport_Vtbl { let this = (*this).get_impl(); match IMFRelativePanelReport_Impl::GetRelativePanel(this) { Ok(ok__) => { - core::ptr::write(panel, core::mem::transmute(ok__)); + panel.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12320,7 +12320,7 @@ impl IMFRelativePanelWatcher_Vtbl { let this = (*this).get_impl(); match IMFRelativePanelWatcher_Impl::EndGetReport(this, windows_core::from_raw_borrowed(&presult)) { Ok(ok__) => { - core::ptr::write(pprelativepanelreport, core::mem::transmute(ok__)); + pprelativepanelreport.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12331,7 +12331,7 @@ impl IMFRelativePanelWatcher_Vtbl { let this = (*this).get_impl(); match IMFRelativePanelWatcher_Impl::GetReport(this) { Ok(ok__) => { - core::ptr::write(pprelativepanelreport, core::mem::transmute(ok__)); + pprelativepanelreport.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12423,7 +12423,7 @@ impl IMFSAMIStyle_Vtbl { let this = (*this).get_impl(); match IMFSAMIStyle_Impl::GetStyleCount(this) { Ok(ok__) => { - core::ptr::write(pdwcount, core::mem::transmute(ok__)); + pdwcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12434,7 +12434,7 @@ impl IMFSAMIStyle_Vtbl { let this = (*this).get_impl(); match IMFSAMIStyle_Impl::GetStyles(this) { Ok(ok__) => { - core::ptr::write(ppropvarstylearray, core::mem::transmute(ok__)); + ppropvarstylearray.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12450,7 +12450,7 @@ impl IMFSAMIStyle_Vtbl { let this = (*this).get_impl(); match IMFSAMIStyle_Impl::GetSelectedStyle(this) { Ok(ok__) => { - core::ptr::write(ppwszstyle, core::mem::transmute(ok__)); + ppwszstyle.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12503,7 +12503,7 @@ impl IMFSSLCertificateManager_Vtbl { let this = (*this).get_impl(); match IMFSSLCertificateManager_Impl::OnServerCertificate(this, core::mem::transmute(&pszurl), core::mem::transmute_copy(&pbdata), core::mem::transmute_copy(&cbdata)) { Ok(ok__) => { - core::ptr::write(pfisgood, core::mem::transmute(ok__)); + pfisgood.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12546,7 +12546,7 @@ impl IMFSample_Vtbl { let this = (*this).get_impl(); match IMFSample_Impl::GetSampleFlags(this) { Ok(ok__) => { - core::ptr::write(pdwsampleflags, core::mem::transmute(ok__)); + pdwsampleflags.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12562,7 +12562,7 @@ impl IMFSample_Vtbl { let this = (*this).get_impl(); match IMFSample_Impl::GetSampleTime(this) { Ok(ok__) => { - core::ptr::write(phnssampletime, core::mem::transmute(ok__)); + phnssampletime.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12578,7 +12578,7 @@ impl IMFSample_Vtbl { let this = (*this).get_impl(); match IMFSample_Impl::GetSampleDuration(this) { Ok(ok__) => { - core::ptr::write(phnssampleduration, core::mem::transmute(ok__)); + phnssampleduration.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12594,7 +12594,7 @@ impl IMFSample_Vtbl { let this = (*this).get_impl(); match IMFSample_Impl::GetBufferCount(this) { Ok(ok__) => { - core::ptr::write(pdwbuffercount, core::mem::transmute(ok__)); + pdwbuffercount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12605,7 +12605,7 @@ impl IMFSample_Vtbl { let this = (*this).get_impl(); match IMFSample_Impl::GetBufferByIndex(this, core::mem::transmute_copy(&dwindex)) { Ok(ok__) => { - core::ptr::write(ppbuffer, core::mem::transmute(ok__)); + ppbuffer.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12616,7 +12616,7 @@ impl IMFSample_Vtbl { let this = (*this).get_impl(); match IMFSample_Impl::ConvertToContiguousBuffer(this) { Ok(ok__) => { - core::ptr::write(ppbuffer, core::mem::transmute(ok__)); + ppbuffer.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12642,7 +12642,7 @@ impl IMFSample_Vtbl { let this = (*this).get_impl(); match IMFSample_Impl::GetTotalLength(this) { Ok(ok__) => { - core::ptr::write(pcbtotallength, core::mem::transmute(ok__)); + pcbtotallength.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12802,7 +12802,7 @@ impl IMFSampleProtection_Vtbl { let this = (*this).get_impl(); match IMFSampleProtection_Impl::GetInputProtectionVersion(this) { Ok(ok__) => { - core::ptr::write(pdwversion, core::mem::transmute(ok__)); + pdwversion.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12813,7 +12813,7 @@ impl IMFSampleProtection_Vtbl { let this = (*this).get_impl(); match IMFSampleProtection_Impl::GetOutputProtectionVersion(this) { Ok(ok__) => { - core::ptr::write(pdwversion, core::mem::transmute(ok__)); + pdwversion.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12876,7 +12876,7 @@ impl IMFSaveJob_Vtbl { let this = (*this).get_impl(); match IMFSaveJob_Impl::GetProgress(this) { Ok(ok__) => { - core::ptr::write(pdwpercentcomplete, core::mem::transmute(ok__)); + pdwpercentcomplete.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12942,7 +12942,7 @@ impl IMFSecureBuffer_Vtbl { let this = (*this).get_impl(); match IMFSecureBuffer_Impl::GetIdentifier(this) { Ok(ok__) => { - core::ptr::write(pguididentifier, core::mem::transmute(ok__)); + pguididentifier.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13011,7 +13011,7 @@ impl IMFSensorActivitiesReport_Vtbl { let this = (*this).get_impl(); match IMFSensorActivitiesReport_Impl::GetCount(this) { Ok(ok__) => { - core::ptr::write(pccount, core::mem::transmute(ok__)); + pccount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13022,7 +13022,7 @@ impl IMFSensorActivitiesReport_Vtbl { let this = (*this).get_impl(); match IMFSensorActivitiesReport_Impl::GetActivityReport(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(sensoractivityreport, core::mem::transmute(ok__)); + sensoractivityreport.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13033,7 +13033,7 @@ impl IMFSensorActivitiesReport_Vtbl { let this = (*this).get_impl(); match IMFSensorActivitiesReport_Impl::GetActivityReportByDeviceName(this, core::mem::transmute(&symbolicname)) { Ok(ok__) => { - core::ptr::write(sensoractivityreport, core::mem::transmute(ok__)); + sensoractivityreport.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13114,7 +13114,7 @@ impl IMFSensorActivityReport_Vtbl { let this = (*this).get_impl(); match IMFSensorActivityReport_Impl::GetProcessCount(this) { Ok(ok__) => { - core::ptr::write(pccount, core::mem::transmute(ok__)); + pccount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13125,7 +13125,7 @@ impl IMFSensorActivityReport_Vtbl { let this = (*this).get_impl(); match IMFSensorActivityReport_Impl::GetProcessActivity(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(ppprocessactivity, core::mem::transmute(ok__)); + ppprocessactivity.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13162,7 +13162,7 @@ impl IMFSensorDevice_Vtbl { let this = (*this).get_impl(); match IMFSensorDevice_Impl::GetDeviceId(this) { Ok(ok__) => { - core::ptr::write(pdeviceid, core::mem::transmute(ok__)); + pdeviceid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13173,7 +13173,7 @@ impl IMFSensorDevice_Vtbl { let this = (*this).get_impl(); match IMFSensorDevice_Impl::GetDeviceType(this) { Ok(ok__) => { - core::ptr::write(ptype, core::mem::transmute(ok__)); + ptype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13184,7 +13184,7 @@ impl IMFSensorDevice_Vtbl { let this = (*this).get_impl(); match IMFSensorDevice_Impl::GetFlags(this) { Ok(ok__) => { - core::ptr::write(pflags, core::mem::transmute(ok__)); + pflags.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13200,7 +13200,7 @@ impl IMFSensorDevice_Vtbl { let this = (*this).get_impl(); match IMFSensorDevice_Impl::GetDeviceAttributes(this) { Ok(ok__) => { - core::ptr::write(ppattributes, core::mem::transmute(ok__)); + ppattributes.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13211,7 +13211,7 @@ impl IMFSensorDevice_Vtbl { let this = (*this).get_impl(); match IMFSensorDevice_Impl::GetStreamAttributesCount(this, core::mem::transmute_copy(&etype)) { Ok(ok__) => { - core::ptr::write(pdwcount, core::mem::transmute(ok__)); + pdwcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13222,7 +13222,7 @@ impl IMFSensorDevice_Vtbl { let this = (*this).get_impl(); match IMFSensorDevice_Impl::GetStreamAttributes(this, core::mem::transmute_copy(&etype), core::mem::transmute_copy(&dwindex)) { Ok(ok__) => { - core::ptr::write(ppattributes, core::mem::transmute(ok__)); + ppattributes.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13238,7 +13238,7 @@ impl IMFSensorDevice_Vtbl { let this = (*this).get_impl(); match IMFSensorDevice_Impl::GetSensorDeviceMode(this) { Ok(ok__) => { - core::ptr::write(pemode, core::mem::transmute(ok__)); + pemode.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13284,7 +13284,7 @@ impl IMFSensorGroup_Vtbl { let this = (*this).get_impl(); match IMFSensorGroup_Impl::GetFlags(this) { Ok(ok__) => { - core::ptr::write(pflags, core::mem::transmute(ok__)); + pflags.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13295,7 +13295,7 @@ impl IMFSensorGroup_Vtbl { let this = (*this).get_impl(); match IMFSensorGroup_Impl::GetSensorGroupAttributes(this) { Ok(ok__) => { - core::ptr::write(ppattributes, core::mem::transmute(ok__)); + ppattributes.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13306,7 +13306,7 @@ impl IMFSensorGroup_Vtbl { let this = (*this).get_impl(); match IMFSensorGroup_Impl::GetSensorDeviceCount(this) { Ok(ok__) => { - core::ptr::write(pdwcount, core::mem::transmute(ok__)); + pdwcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13317,7 +13317,7 @@ impl IMFSensorGroup_Vtbl { let this = (*this).get_impl(); match IMFSensorGroup_Impl::GetSensorDevice(this, core::mem::transmute_copy(&dwindex)) { Ok(ok__) => { - core::ptr::write(ppdevice, core::mem::transmute(ok__)); + ppdevice.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13333,7 +13333,7 @@ impl IMFSensorGroup_Vtbl { let this = (*this).get_impl(); match IMFSensorGroup_Impl::GetDefaultSensorDeviceIndex(this) { Ok(ok__) => { - core::ptr::write(pdwindex, core::mem::transmute(ok__)); + pdwindex.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13344,7 +13344,7 @@ impl IMFSensorGroup_Vtbl { let this = (*this).get_impl(); match IMFSensorGroup_Impl::CreateMediaSource(this) { Ok(ok__) => { - core::ptr::write(ppsource, core::mem::transmute(ok__)); + ppsource.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13380,7 +13380,7 @@ impl IMFSensorProcessActivity_Vtbl { let this = (*this).get_impl(); match IMFSensorProcessActivity_Impl::GetProcessId(this) { Ok(ok__) => { - core::ptr::write(ppid, core::mem::transmute(ok__)); + ppid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13391,7 +13391,7 @@ impl IMFSensorProcessActivity_Vtbl { let this = (*this).get_impl(); match IMFSensorProcessActivity_Impl::GetStreamingState(this) { Ok(ok__) => { - core::ptr::write(pfstreaming, core::mem::transmute(ok__)); + pfstreaming.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13402,7 +13402,7 @@ impl IMFSensorProcessActivity_Vtbl { let this = (*this).get_impl(); match IMFSensorProcessActivity_Impl::GetStreamingMode(this) { Ok(ok__) => { - core::ptr::write(pmode, core::mem::transmute(ok__)); + pmode.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13413,7 +13413,7 @@ impl IMFSensorProcessActivity_Vtbl { let this = (*this).get_impl(); match IMFSensorProcessActivity_Impl::GetReportTime(this) { Ok(ok__) => { - core::ptr::write(pft, core::mem::transmute(ok__)); + pft.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13455,7 +13455,7 @@ impl IMFSensorProfile_Vtbl { let this = (*this).get_impl(); match IMFSensorProfile_Impl::IsMediaTypeSupported(this, core::mem::transmute_copy(&streamid), windows_core::from_raw_borrowed(&pmediatype)) { Ok(ok__) => { - core::ptr::write(pfsupported, core::mem::transmute(ok__)); + pfsupported.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13499,7 +13499,7 @@ impl IMFSensorProfileCollection_Vtbl { let this = (*this).get_impl(); match IMFSensorProfileCollection_Impl::GetProfile(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(ppprofile, core::mem::transmute(ok__)); + ppprofile.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13515,7 +13515,7 @@ impl IMFSensorProfileCollection_Vtbl { let this = (*this).get_impl(); match IMFSensorProfileCollection_Impl::FindProfile(this, core::mem::transmute_copy(&profileid)) { Ok(ok__) => { - core::ptr::write(ppprofile, core::mem::transmute(ok__)); + ppprofile.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13558,7 +13558,7 @@ impl IMFSensorStream_Vtbl { let this = (*this).get_impl(); match IMFSensorStream_Impl::GetMediaTypeCount(this) { Ok(ok__) => { - core::ptr::write(pdwcount, core::mem::transmute(ok__)); + pdwcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13569,7 +13569,7 @@ impl IMFSensorStream_Vtbl { let this = (*this).get_impl(); match IMFSensorStream_Impl::GetMediaType(this, core::mem::transmute_copy(&dwindex)) { Ok(ok__) => { - core::ptr::write(ppmediatype, core::mem::transmute(ok__)); + ppmediatype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13580,7 +13580,7 @@ impl IMFSensorStream_Vtbl { let this = (*this).get_impl(); match IMFSensorStream_Impl::CloneSensorStream(this) { Ok(ok__) => { - core::ptr::write(ppstream, core::mem::transmute(ok__)); + ppstream.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13612,7 +13612,7 @@ impl IMFSensorTransformFactory_Vtbl { let this = (*this).get_impl(); match IMFSensorTransformFactory_Impl::GetFactoryAttributes(this) { Ok(ok__) => { - core::ptr::write(ppattributes, core::mem::transmute(ok__)); + ppattributes.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13628,7 +13628,7 @@ impl IMFSensorTransformFactory_Vtbl { let this = (*this).get_impl(); match IMFSensorTransformFactory_Impl::GetTransformCount(this) { Ok(ok__) => { - core::ptr::write(pdwcount, core::mem::transmute(ok__)); + pdwcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13644,7 +13644,7 @@ impl IMFSensorTransformFactory_Vtbl { let this = (*this).get_impl(); match IMFSensorTransformFactory_Impl::CreateTransform(this, core::mem::transmute_copy(&guidsensortransformid), windows_core::from_raw_borrowed(&pattributes)) { Ok(ok__) => { - core::ptr::write(ppdevicemft, core::mem::transmute(ok__)); + ppdevicemft.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13678,7 +13678,7 @@ impl IMFSequencerSource_Vtbl { let this = (*this).get_impl(); match IMFSequencerSource_Impl::AppendTopology(this, windows_core::from_raw_borrowed(&ptopology), core::mem::transmute_copy(&dwflags)) { Ok(ok__) => { - core::ptr::write(pdwid, core::mem::transmute(ok__)); + pdwid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13728,7 +13728,7 @@ impl IMFSharingEngineClassFactory_Vtbl { let this = (*this).get_impl(); match IMFSharingEngineClassFactory_Impl::CreateInstance(this, core::mem::transmute_copy(&dwflags), windows_core::from_raw_borrowed(&pattr)) { Ok(ok__) => { - core::ptr::write(ppengine, core::mem::transmute(ok__)); + ppengine.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13757,7 +13757,7 @@ impl IMFShutdown_Vtbl { let this = (*this).get_impl(); match IMFShutdown_Impl::GetShutdownStatus(this) { Ok(ok__) => { - core::ptr::write(pstatus, core::mem::transmute(ok__)); + pstatus.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13809,7 +13809,7 @@ impl IMFSimpleAudioVolume_Vtbl { let this = (*this).get_impl(); match IMFSimpleAudioVolume_Impl::GetMasterVolume(this) { Ok(ok__) => { - core::ptr::write(pflevel, core::mem::transmute(ok__)); + pflevel.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13825,7 +13825,7 @@ impl IMFSimpleAudioVolume_Vtbl { let this = (*this).get_impl(); match IMFSimpleAudioVolume_Impl::GetMute(this) { Ok(ok__) => { - core::ptr::write(pbmute, core::mem::transmute(ok__)); + pbmute.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13864,7 +13864,7 @@ impl IMFSinkWriter_Vtbl { let this = (*this).get_impl(); match IMFSinkWriter_Impl::AddStream(this, windows_core::from_raw_borrowed(&ptargetmediatype)) { Ok(ok__) => { - core::ptr::write(pdwstreamindex, core::mem::transmute(ok__)); + pdwstreamindex.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -14064,7 +14064,7 @@ impl IMFSourceBuffer_Vtbl { let this = (*this).get_impl(); match IMFSourceBuffer_Impl::GetBuffered(this) { Ok(ok__) => { - core::ptr::write(ppbuffered, core::mem::transmute(ok__)); + ppbuffered.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -14279,7 +14279,7 @@ impl IMFSourceReader_Vtbl { let this = (*this).get_impl(); match IMFSourceReader_Impl::GetStreamSelection(this, core::mem::transmute_copy(&dwstreamindex)) { Ok(ok__) => { - core::ptr::write(pfselected, core::mem::transmute(ok__)); + pfselected.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -14295,7 +14295,7 @@ impl IMFSourceReader_Vtbl { let this = (*this).get_impl(); match IMFSourceReader_Impl::GetNativeMediaType(this, core::mem::transmute_copy(&dwstreamindex), core::mem::transmute_copy(&dwmediatypeindex)) { Ok(ok__) => { - core::ptr::write(ppmediatype, core::mem::transmute(ok__)); + ppmediatype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -14306,7 +14306,7 @@ impl IMFSourceReader_Vtbl { let this = (*this).get_impl(); match IMFSourceReader_Impl::GetCurrentMediaType(this, core::mem::transmute_copy(&dwstreamindex)) { Ok(ok__) => { - core::ptr::write(ppmediatype, core::mem::transmute(ok__)); + ppmediatype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -14342,7 +14342,7 @@ impl IMFSourceReader_Vtbl { let this = (*this).get_impl(); match IMFSourceReader_Impl::GetPresentationAttribute(this, core::mem::transmute_copy(&dwstreamindex), core::mem::transmute_copy(&guidattribute)) { Ok(ok__) => { - core::ptr::write(pvarattribute, core::mem::transmute(ok__)); + pvarattribute.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -14441,7 +14441,7 @@ impl IMFSourceReaderEx_Vtbl { let this = (*this).get_impl(); match IMFSourceReaderEx_Impl::SetNativeMediaType(this, core::mem::transmute_copy(&dwstreamindex), windows_core::from_raw_borrowed(&pmediatype)) { Ok(ok__) => { - core::ptr::write(pdwstreamflags, core::mem::transmute(ok__)); + pdwstreamflags.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -14562,7 +14562,7 @@ impl IMFSpatialAudioObjectBuffer_Vtbl { let this = (*this).get_impl(); match IMFSpatialAudioObjectBuffer_Impl::GetID(this) { Ok(ok__) => { - core::ptr::write(pu32id, core::mem::transmute(ok__)); + pu32id.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -14578,7 +14578,7 @@ impl IMFSpatialAudioObjectBuffer_Vtbl { let this = (*this).get_impl(); match IMFSpatialAudioObjectBuffer_Impl::GetType(this) { Ok(ok__) => { - core::ptr::write(ptype, core::mem::transmute(ok__)); + ptype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -14589,7 +14589,7 @@ impl IMFSpatialAudioObjectBuffer_Vtbl { let this = (*this).get_impl(); match IMFSpatialAudioObjectBuffer_Impl::GetMetadataItems(this) { Ok(ok__) => { - core::ptr::write(ppmetadataitems, core::mem::transmute(ok__)); + ppmetadataitems.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -14621,7 +14621,7 @@ impl IMFSpatialAudioSample_Vtbl { let this = (*this).get_impl(); match IMFSpatialAudioSample_Impl::GetObjectCount(this) { Ok(ok__) => { - core::ptr::write(pdwobjectcount, core::mem::transmute(ok__)); + pdwobjectcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -14637,7 +14637,7 @@ impl IMFSpatialAudioSample_Vtbl { let this = (*this).get_impl(); match IMFSpatialAudioSample_Impl::GetSpatialAudioObjectByIndex(this, core::mem::transmute_copy(&dwindex)) { Ok(ok__) => { - core::ptr::write(ppaudioobjbuffer, core::mem::transmute(ok__)); + ppaudioobjbuffer.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -14666,7 +14666,7 @@ impl IMFStreamDescriptor_Vtbl { let this = (*this).get_impl(); match IMFStreamDescriptor_Impl::GetStreamIdentifier(this) { Ok(ok__) => { - core::ptr::write(pdwstreamidentifier, core::mem::transmute(ok__)); + pdwstreamidentifier.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -14677,7 +14677,7 @@ impl IMFStreamDescriptor_Vtbl { let this = (*this).get_impl(); match IMFStreamDescriptor_Impl::GetMediaTypeHandler(this) { Ok(ok__) => { - core::ptr::write(ppmediatypehandler, core::mem::transmute(ok__)); + ppmediatypehandler.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -14709,7 +14709,7 @@ impl IMFStreamSink_Vtbl { let this = (*this).get_impl(); match IMFStreamSink_Impl::GetMediaSink(this) { Ok(ok__) => { - core::ptr::write(ppmediasink, core::mem::transmute(ok__)); + ppmediasink.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -14720,7 +14720,7 @@ impl IMFStreamSink_Vtbl { let this = (*this).get_impl(); match IMFStreamSink_Impl::GetIdentifier(this) { Ok(ok__) => { - core::ptr::write(pdwidentifier, core::mem::transmute(ok__)); + pdwidentifier.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -14731,7 +14731,7 @@ impl IMFStreamSink_Vtbl { let this = (*this).get_impl(); match IMFStreamSink_Impl::GetMediaTypeHandler(this) { Ok(ok__) => { - core::ptr::write(pphandler, core::mem::transmute(ok__)); + pphandler.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -14829,7 +14829,7 @@ impl IMFTimecodeTranslate_Vtbl { let this = (*this).get_impl(); match IMFTimecodeTranslate_Impl::EndConvertTimecodeToHNS(this, windows_core::from_raw_borrowed(&presult)) { Ok(ok__) => { - core::ptr::write(phnstime, core::mem::transmute(ok__)); + phnstime.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -14845,7 +14845,7 @@ impl IMFTimecodeTranslate_Vtbl { let this = (*this).get_impl(); match IMFTimecodeTranslate_Impl::EndConvertHNSToTimecode(this, windows_core::from_raw_borrowed(&presult)) { Ok(ok__) => { - core::ptr::write(ppropvartimecode, core::mem::transmute(ok__)); + ppropvartimecode.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -14897,7 +14897,7 @@ impl IMFTimedText_Vtbl { let this = (*this).get_impl(); match IMFTimedText_Impl::AddDataSource(this, windows_core::from_raw_borrowed(&bytestream), core::mem::transmute(&label), core::mem::transmute(&language), core::mem::transmute_copy(&kind), core::mem::transmute_copy(&isdefault)) { Ok(ok__) => { - core::ptr::write(trackid, core::mem::transmute(ok__)); + trackid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -14908,7 +14908,7 @@ impl IMFTimedText_Vtbl { let this = (*this).get_impl(); match IMFTimedText_Impl::AddDataSourceFromUrl(this, core::mem::transmute(&url), core::mem::transmute(&label), core::mem::transmute(&language), core::mem::transmute_copy(&kind), core::mem::transmute_copy(&isdefault)) { Ok(ok__) => { - core::ptr::write(trackid, core::mem::transmute(ok__)); + trackid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -14919,7 +14919,7 @@ impl IMFTimedText_Vtbl { let this = (*this).get_impl(); match IMFTimedText_Impl::AddTrack(this, core::mem::transmute(&label), core::mem::transmute(&language), core::mem::transmute_copy(&kind)) { Ok(ok__) => { - core::ptr::write(track, core::mem::transmute(ok__)); + track.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -14935,7 +14935,7 @@ impl IMFTimedText_Vtbl { let this = (*this).get_impl(); match IMFTimedText_Impl::GetCueTimeOffset(this) { Ok(ok__) => { - core::ptr::write(offset, core::mem::transmute(ok__)); + offset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -14951,7 +14951,7 @@ impl IMFTimedText_Vtbl { let this = (*this).get_impl(); match IMFTimedText_Impl::GetTracks(this) { Ok(ok__) => { - core::ptr::write(tracks, core::mem::transmute(ok__)); + tracks.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -14962,7 +14962,7 @@ impl IMFTimedText_Vtbl { let this = (*this).get_impl(); match IMFTimedText_Impl::GetActiveTracks(this) { Ok(ok__) => { - core::ptr::write(activetracks, core::mem::transmute(ok__)); + activetracks.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -14973,7 +14973,7 @@ impl IMFTimedText_Vtbl { let this = (*this).get_impl(); match IMFTimedText_Impl::GetTextTracks(this) { Ok(ok__) => { - core::ptr::write(texttracks, core::mem::transmute(ok__)); + texttracks.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -14984,7 +14984,7 @@ impl IMFTimedText_Vtbl { let this = (*this).get_impl(); match IMFTimedText_Impl::GetMetadataTracks(this) { Ok(ok__) => { - core::ptr::write(metadatatracks, core::mem::transmute(ok__)); + metadatatracks.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -15052,7 +15052,7 @@ impl IMFTimedTextBouten_Vtbl { let this = (*this).get_impl(); match IMFTimedTextBouten_Impl::GetBoutenType(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -15063,7 +15063,7 @@ impl IMFTimedTextBouten_Vtbl { let this = (*this).get_impl(); match IMFTimedTextBouten_Impl::GetBoutenColor(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -15074,7 +15074,7 @@ impl IMFTimedTextBouten_Vtbl { let this = (*this).get_impl(); match IMFTimedTextBouten_Impl::GetBoutenPosition(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -15117,7 +15117,7 @@ impl IMFTimedTextCue_Vtbl { let this = (*this).get_impl(); match IMFTimedTextCue_Impl::GetOriginalId(this) { Ok(ok__) => { - core::ptr::write(originalid, core::mem::transmute(ok__)); + originalid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -15148,7 +15148,7 @@ impl IMFTimedTextCue_Vtbl { let this = (*this).get_impl(); match IMFTimedTextCue_Impl::GetData(this) { Ok(ok__) => { - core::ptr::write(data, core::mem::transmute(ok__)); + data.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -15159,7 +15159,7 @@ impl IMFTimedTextCue_Vtbl { let this = (*this).get_impl(); match IMFTimedTextCue_Impl::GetRegion(this) { Ok(ok__) => { - core::ptr::write(region, core::mem::transmute(ok__)); + region.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -15170,7 +15170,7 @@ impl IMFTimedTextCue_Vtbl { let this = (*this).get_impl(); match IMFTimedTextCue_Impl::GetStyle(this) { Ok(ok__) => { - core::ptr::write(style, core::mem::transmute(ok__)); + style.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -15186,7 +15186,7 @@ impl IMFTimedTextCue_Vtbl { let this = (*this).get_impl(); match IMFTimedTextCue_Impl::GetLine(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(line, core::mem::transmute(ok__)); + line.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -15233,7 +15233,7 @@ impl IMFTimedTextCueList_Vtbl { let this = (*this).get_impl(); match IMFTimedTextCueList_Impl::GetCueByIndex(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(cue, core::mem::transmute(ok__)); + cue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -15244,7 +15244,7 @@ impl IMFTimedTextCueList_Vtbl { let this = (*this).get_impl(); match IMFTimedTextCueList_Impl::GetCueById(this, core::mem::transmute_copy(&id)) { Ok(ok__) => { - core::ptr::write(cue, core::mem::transmute(ok__)); + cue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -15255,7 +15255,7 @@ impl IMFTimedTextCueList_Vtbl { let this = (*this).get_impl(); match IMFTimedTextCueList_Impl::GetCueByOriginalId(this, core::mem::transmute(&originalid)) { Ok(ok__) => { - core::ptr::write(cue, core::mem::transmute(ok__)); + cue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -15304,7 +15304,7 @@ impl IMFTimedTextFormattedText_Vtbl { let this = (*this).get_impl(); match IMFTimedTextFormattedText_Impl::GetText(this) { Ok(ok__) => { - core::ptr::write(text, core::mem::transmute(ok__)); + text.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -15415,7 +15415,7 @@ impl IMFTimedTextRegion_Vtbl { let this = (*this).get_impl(); match IMFTimedTextRegion_Impl::GetName(this) { Ok(ok__) => { - core::ptr::write(name, core::mem::transmute(ok__)); + name.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -15436,7 +15436,7 @@ impl IMFTimedTextRegion_Vtbl { let this = (*this).get_impl(); match IMFTimedTextRegion_Impl::GetBackgroundColor(this) { Ok(ok__) => { - core::ptr::write(bgcolor, core::mem::transmute(ok__)); + bgcolor.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -15447,7 +15447,7 @@ impl IMFTimedTextRegion_Vtbl { let this = (*this).get_impl(); match IMFTimedTextRegion_Impl::GetWritingMode(this) { Ok(ok__) => { - core::ptr::write(writingmode, core::mem::transmute(ok__)); + writingmode.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -15458,7 +15458,7 @@ impl IMFTimedTextRegion_Vtbl { let this = (*this).get_impl(); match IMFTimedTextRegion_Impl::GetDisplayAlignment(this) { Ok(ok__) => { - core::ptr::write(displayalign, core::mem::transmute(ok__)); + displayalign.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -15474,7 +15474,7 @@ impl IMFTimedTextRegion_Vtbl { let this = (*this).get_impl(); match IMFTimedTextRegion_Impl::GetClipOverflow(this) { Ok(ok__) => { - core::ptr::write(clipoverflow, core::mem::transmute(ok__)); + clipoverflow.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -15490,7 +15490,7 @@ impl IMFTimedTextRegion_Vtbl { let this = (*this).get_impl(); match IMFTimedTextRegion_Impl::GetWrap(this) { Ok(ok__) => { - core::ptr::write(wrap, core::mem::transmute(ok__)); + wrap.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -15501,7 +15501,7 @@ impl IMFTimedTextRegion_Vtbl { let this = (*this).get_impl(); match IMFTimedTextRegion_Impl::GetZIndex(this) { Ok(ok__) => { - core::ptr::write(zindex, core::mem::transmute(ok__)); + zindex.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -15512,7 +15512,7 @@ impl IMFTimedTextRegion_Vtbl { let this = (*this).get_impl(); match IMFTimedTextRegion_Impl::GetScrollMode(this) { Ok(ok__) => { - core::ptr::write(scrollmode, core::mem::transmute(ok__)); + scrollmode.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -15552,7 +15552,7 @@ impl IMFTimedTextRuby_Vtbl { let this = (*this).get_impl(); match IMFTimedTextRuby_Impl::GetRubyText(this) { Ok(ok__) => { - core::ptr::write(rubytext, core::mem::transmute(ok__)); + rubytext.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -15563,7 +15563,7 @@ impl IMFTimedTextRuby_Vtbl { let this = (*this).get_impl(); match IMFTimedTextRuby_Impl::GetRubyPosition(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -15574,7 +15574,7 @@ impl IMFTimedTextRuby_Vtbl { let this = (*this).get_impl(); match IMFTimedTextRuby_Impl::GetRubyAlign(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -15585,7 +15585,7 @@ impl IMFTimedTextRuby_Vtbl { let this = (*this).get_impl(); match IMFTimedTextRuby_Impl::GetRubyReserve(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -15626,7 +15626,7 @@ impl IMFTimedTextStyle_Vtbl { let this = (*this).get_impl(); match IMFTimedTextStyle_Impl::GetName(this) { Ok(ok__) => { - core::ptr::write(name, core::mem::transmute(ok__)); + name.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -15642,7 +15642,7 @@ impl IMFTimedTextStyle_Vtbl { let this = (*this).get_impl(); match IMFTimedTextStyle_Impl::GetFontFamily(this) { Ok(ok__) => { - core::ptr::write(fontfamily, core::mem::transmute(ok__)); + fontfamily.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -15658,7 +15658,7 @@ impl IMFTimedTextStyle_Vtbl { let this = (*this).get_impl(); match IMFTimedTextStyle_Impl::GetColor(this) { Ok(ok__) => { - core::ptr::write(color, core::mem::transmute(ok__)); + color.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -15669,7 +15669,7 @@ impl IMFTimedTextStyle_Vtbl { let this = (*this).get_impl(); match IMFTimedTextStyle_Impl::GetBackgroundColor(this) { Ok(ok__) => { - core::ptr::write(bgcolor, core::mem::transmute(ok__)); + bgcolor.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -15680,7 +15680,7 @@ impl IMFTimedTextStyle_Vtbl { let this = (*this).get_impl(); match IMFTimedTextStyle_Impl::GetShowBackgroundAlways(this) { Ok(ok__) => { - core::ptr::write(showbackgroundalways, core::mem::transmute(ok__)); + showbackgroundalways.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -15691,7 +15691,7 @@ impl IMFTimedTextStyle_Vtbl { let this = (*this).get_impl(); match IMFTimedTextStyle_Impl::GetFontStyle(this) { Ok(ok__) => { - core::ptr::write(fontstyle, core::mem::transmute(ok__)); + fontstyle.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -15702,7 +15702,7 @@ impl IMFTimedTextStyle_Vtbl { let this = (*this).get_impl(); match IMFTimedTextStyle_Impl::GetBold(this) { Ok(ok__) => { - core::ptr::write(bold, core::mem::transmute(ok__)); + bold.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -15713,7 +15713,7 @@ impl IMFTimedTextStyle_Vtbl { let this = (*this).get_impl(); match IMFTimedTextStyle_Impl::GetRightToLeft(this) { Ok(ok__) => { - core::ptr::write(righttoleft, core::mem::transmute(ok__)); + righttoleft.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -15724,7 +15724,7 @@ impl IMFTimedTextStyle_Vtbl { let this = (*this).get_impl(); match IMFTimedTextStyle_Impl::GetTextAlignment(this) { Ok(ok__) => { - core::ptr::write(textalign, core::mem::transmute(ok__)); + textalign.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -15735,7 +15735,7 @@ impl IMFTimedTextStyle_Vtbl { let this = (*this).get_impl(); match IMFTimedTextStyle_Impl::GetTextDecoration(this) { Ok(ok__) => { - core::ptr::write(textdecoration, core::mem::transmute(ok__)); + textdecoration.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -15781,7 +15781,7 @@ impl IMFTimedTextStyle2_Vtbl { let this = (*this).get_impl(); match IMFTimedTextStyle2_Impl::GetRuby(this) { Ok(ok__) => { - core::ptr::write(ruby, core::mem::transmute(ok__)); + ruby.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -15792,7 +15792,7 @@ impl IMFTimedTextStyle2_Vtbl { let this = (*this).get_impl(); match IMFTimedTextStyle2_Impl::GetBouten(this) { Ok(ok__) => { - core::ptr::write(bouten, core::mem::transmute(ok__)); + bouten.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -15803,7 +15803,7 @@ impl IMFTimedTextStyle2_Vtbl { let this = (*this).get_impl(); match IMFTimedTextStyle2_Impl::IsTextCombined(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -15814,7 +15814,7 @@ impl IMFTimedTextStyle2_Vtbl { let this = (*this).get_impl(); match IMFTimedTextStyle2_Impl::GetFontAngleInDegrees(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -15860,7 +15860,7 @@ impl IMFTimedTextTrack_Vtbl { let this = (*this).get_impl(); match IMFTimedTextTrack_Impl::GetLabel(this) { Ok(ok__) => { - core::ptr::write(label, core::mem::transmute(ok__)); + label.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -15876,7 +15876,7 @@ impl IMFTimedTextTrack_Vtbl { let this = (*this).get_impl(); match IMFTimedTextTrack_Impl::GetLanguage(this) { Ok(ok__) => { - core::ptr::write(language, core::mem::transmute(ok__)); + language.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -15897,7 +15897,7 @@ impl IMFTimedTextTrack_Vtbl { let this = (*this).get_impl(); match IMFTimedTextTrack_Impl::GetInBandMetadataTrackDispatchType(this) { Ok(ok__) => { - core::ptr::write(dispatchtype, core::mem::transmute(ok__)); + dispatchtype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -15923,7 +15923,7 @@ impl IMFTimedTextTrack_Vtbl { let this = (*this).get_impl(); match IMFTimedTextTrack_Impl::GetDataFormat(this) { Ok(ok__) => { - core::ptr::write(format, core::mem::transmute(ok__)); + format.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -15939,7 +15939,7 @@ impl IMFTimedTextTrack_Vtbl { let this = (*this).get_impl(); match IMFTimedTextTrack_Impl::GetCueList(this) { Ok(ok__) => { - core::ptr::write(cues, core::mem::transmute(ok__)); + cues.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -15984,7 +15984,7 @@ impl IMFTimedTextTrackList_Vtbl { let this = (*this).get_impl(); match IMFTimedTextTrackList_Impl::GetTrack(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(track, core::mem::transmute(ok__)); + track.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -15995,7 +15995,7 @@ impl IMFTimedTextTrackList_Vtbl { let this = (*this).get_impl(); match IMFTimedTextTrackList_Impl::GetTrackById(this, core::mem::transmute_copy(&trackid)) { Ok(ok__) => { - core::ptr::write(track, core::mem::transmute(ok__)); + track.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -16024,7 +16024,7 @@ impl IMFTimer_Vtbl { let this = (*this).get_impl(); match IMFTimer_Impl::SetTimer(this, core::mem::transmute_copy(&dwflags), core::mem::transmute_copy(&llclocktime), windows_core::from_raw_borrowed(&pcallback), windows_core::from_raw_borrowed(&punkstate)) { Ok(ok__) => { - core::ptr::write(ppunkkey, core::mem::transmute(ok__)); + ppunkkey.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -16082,7 +16082,7 @@ impl IMFTopology_Vtbl { let this = (*this).get_impl(); match IMFTopology_Impl::GetTopologyID(this) { Ok(ok__) => { - core::ptr::write(pid, core::mem::transmute(ok__)); + pid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -16103,7 +16103,7 @@ impl IMFTopology_Vtbl { let this = (*this).get_impl(); match IMFTopology_Impl::GetNodeCount(this) { Ok(ok__) => { - core::ptr::write(pwnodes, core::mem::transmute(ok__)); + pwnodes.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -16114,7 +16114,7 @@ impl IMFTopology_Vtbl { let this = (*this).get_impl(); match IMFTopology_Impl::GetNode(this, core::mem::transmute_copy(&windex)) { Ok(ok__) => { - core::ptr::write(ppnode, core::mem::transmute(ok__)); + ppnode.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -16135,7 +16135,7 @@ impl IMFTopology_Vtbl { let this = (*this).get_impl(); match IMFTopology_Impl::GetNodeByID(this, core::mem::transmute_copy(&qwtoponodeid)) { Ok(ok__) => { - core::ptr::write(ppnode, core::mem::transmute(ok__)); + ppnode.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -16146,7 +16146,7 @@ impl IMFTopology_Vtbl { let this = (*this).get_impl(); match IMFTopology_Impl::GetSourceNodeCollection(this) { Ok(ok__) => { - core::ptr::write(ppcollection, core::mem::transmute(ok__)); + ppcollection.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -16157,7 +16157,7 @@ impl IMFTopology_Vtbl { let this = (*this).get_impl(); match IMFTopology_Impl::GetOutputNodeCollection(this) { Ok(ok__) => { - core::ptr::write(ppcollection, core::mem::transmute(ok__)); + ppcollection.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -16212,7 +16212,7 @@ impl IMFTopologyNode_Vtbl { let this = (*this).get_impl(); match IMFTopologyNode_Impl::GetObject(this) { Ok(ok__) => { - core::ptr::write(ppobject, core::mem::transmute(ok__)); + ppobject.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -16223,7 +16223,7 @@ impl IMFTopologyNode_Vtbl { let this = (*this).get_impl(); match IMFTopologyNode_Impl::GetNodeType(this) { Ok(ok__) => { - core::ptr::write(ptype, core::mem::transmute(ok__)); + ptype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -16234,7 +16234,7 @@ impl IMFTopologyNode_Vtbl { let this = (*this).get_impl(); match IMFTopologyNode_Impl::GetTopoNodeID(this) { Ok(ok__) => { - core::ptr::write(pid, core::mem::transmute(ok__)); + pid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -16250,7 +16250,7 @@ impl IMFTopologyNode_Vtbl { let this = (*this).get_impl(); match IMFTopologyNode_Impl::GetInputCount(this) { Ok(ok__) => { - core::ptr::write(pcinputs, core::mem::transmute(ok__)); + pcinputs.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -16261,7 +16261,7 @@ impl IMFTopologyNode_Vtbl { let this = (*this).get_impl(); match IMFTopologyNode_Impl::GetOutputCount(this) { Ok(ok__) => { - core::ptr::write(pcoutputs, core::mem::transmute(ok__)); + pcoutputs.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -16297,7 +16297,7 @@ impl IMFTopologyNode_Vtbl { let this = (*this).get_impl(); match IMFTopologyNode_Impl::GetOutputPrefType(this, core::mem::transmute_copy(&dwoutputindex)) { Ok(ok__) => { - core::ptr::write(pptype, core::mem::transmute(ok__)); + pptype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -16313,7 +16313,7 @@ impl IMFTopologyNode_Vtbl { let this = (*this).get_impl(); match IMFTopologyNode_Impl::GetInputPrefType(this, core::mem::transmute_copy(&dwinputindex)) { Ok(ok__) => { - core::ptr::write(pptype, core::mem::transmute(ok__)); + pptype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -16447,7 +16447,7 @@ impl IMFTranscodeProfile_Vtbl { let this = (*this).get_impl(); match IMFTranscodeProfile_Impl::GetAudioAttributes(this) { Ok(ok__) => { - core::ptr::write(ppattrs, core::mem::transmute(ok__)); + ppattrs.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -16463,7 +16463,7 @@ impl IMFTranscodeProfile_Vtbl { let this = (*this).get_impl(); match IMFTranscodeProfile_Impl::GetVideoAttributes(this) { Ok(ok__) => { - core::ptr::write(ppattrs, core::mem::transmute(ok__)); + ppattrs.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -16479,7 +16479,7 @@ impl IMFTranscodeProfile_Vtbl { let this = (*this).get_impl(); match IMFTranscodeProfile_Impl::GetContainerAttributes(this) { Ok(ok__) => { - core::ptr::write(ppattrs, core::mem::transmute(ok__)); + ppattrs.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -16528,7 +16528,7 @@ impl IMFTranscodeSinkInfoProvider_Vtbl { let this = (*this).get_impl(); match IMFTranscodeSinkInfoProvider_Impl::GetSinkInfo(this) { Ok(ok__) => { - core::ptr::write(psinkinfo, core::mem::transmute(ok__)); + psinkinfo.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -16599,7 +16599,7 @@ impl IMFTransform_Vtbl { let this = (*this).get_impl(); match IMFTransform_Impl::GetOutputStreamInfo(this, core::mem::transmute_copy(&dwoutputstreamid)) { Ok(ok__) => { - core::ptr::write(pstreaminfo, core::mem::transmute(ok__)); + pstreaminfo.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -16610,7 +16610,7 @@ impl IMFTransform_Vtbl { let this = (*this).get_impl(); match IMFTransform_Impl::GetAttributes(this) { Ok(ok__) => { - core::ptr::write(pattributes, core::mem::transmute(ok__)); + pattributes.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -16621,7 +16621,7 @@ impl IMFTransform_Vtbl { let this = (*this).get_impl(); match IMFTransform_Impl::GetInputStreamAttributes(this, core::mem::transmute_copy(&dwinputstreamid)) { Ok(ok__) => { - core::ptr::write(pattributes, core::mem::transmute(ok__)); + pattributes.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -16632,7 +16632,7 @@ impl IMFTransform_Vtbl { let this = (*this).get_impl(); match IMFTransform_Impl::GetOutputStreamAttributes(this, core::mem::transmute_copy(&dwoutputstreamid)) { Ok(ok__) => { - core::ptr::write(pattributes, core::mem::transmute(ok__)); + pattributes.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -16653,7 +16653,7 @@ impl IMFTransform_Vtbl { let this = (*this).get_impl(); match IMFTransform_Impl::GetInputAvailableType(this, core::mem::transmute_copy(&dwinputstreamid), core::mem::transmute_copy(&dwtypeindex)) { Ok(ok__) => { - core::ptr::write(pptype, core::mem::transmute(ok__)); + pptype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -16664,7 +16664,7 @@ impl IMFTransform_Vtbl { let this = (*this).get_impl(); match IMFTransform_Impl::GetOutputAvailableType(this, core::mem::transmute_copy(&dwoutputstreamid), core::mem::transmute_copy(&dwtypeindex)) { Ok(ok__) => { - core::ptr::write(pptype, core::mem::transmute(ok__)); + pptype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -16685,7 +16685,7 @@ impl IMFTransform_Vtbl { let this = (*this).get_impl(); match IMFTransform_Impl::GetInputCurrentType(this, core::mem::transmute_copy(&dwinputstreamid)) { Ok(ok__) => { - core::ptr::write(pptype, core::mem::transmute(ok__)); + pptype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -16696,7 +16696,7 @@ impl IMFTransform_Vtbl { let this = (*this).get_impl(); match IMFTransform_Impl::GetOutputCurrentType(this, core::mem::transmute_copy(&dwoutputstreamid)) { Ok(ok__) => { - core::ptr::write(pptype, core::mem::transmute(ok__)); + pptype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -16707,7 +16707,7 @@ impl IMFTransform_Vtbl { let this = (*this).get_impl(); match IMFTransform_Impl::GetInputStatus(this, core::mem::transmute_copy(&dwinputstreamid)) { Ok(ok__) => { - core::ptr::write(pdwflags, core::mem::transmute(ok__)); + pdwflags.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -16718,7 +16718,7 @@ impl IMFTransform_Vtbl { let this = (*this).get_impl(); match IMFTransform_Impl::GetOutputStatus(this) { Ok(ok__) => { - core::ptr::write(pdwflags, core::mem::transmute(ok__)); + pdwflags.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -16791,7 +16791,7 @@ impl IMFTrustedInput_Vtbl { let this = (*this).get_impl(); match IMFTrustedInput_Impl::GetInputTrustAuthority(this, core::mem::transmute_copy(&dwstreamid), core::mem::transmute_copy(&riid)) { Ok(ok__) => { - core::ptr::write(ppunkobject, core::mem::transmute(ok__)); + ppunkobject.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -16816,7 +16816,7 @@ impl IMFTrustedOutput_Vtbl { let this = (*this).get_impl(); match IMFTrustedOutput_Impl::GetOutputTrustAuthorityCount(this) { Ok(ok__) => { - core::ptr::write(pcoutputtrustauthorities, core::mem::transmute(ok__)); + pcoutputtrustauthorities.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -16827,7 +16827,7 @@ impl IMFTrustedOutput_Vtbl { let this = (*this).get_impl(); match IMFTrustedOutput_Impl::GetOutputTrustAuthorityByIndex(this, core::mem::transmute_copy(&dwindex)) { Ok(ok__) => { - core::ptr::write(ppauthority, core::mem::transmute(ok__)); + ppauthority.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -16838,7 +16838,7 @@ impl IMFTrustedOutput_Vtbl { let this = (*this).get_impl(); match IMFTrustedOutput_Impl::IsFinal(this) { Ok(ok__) => { - core::ptr::write(pfisfinal, core::mem::transmute(ok__)); + pfisfinal.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -16886,7 +16886,7 @@ impl IMFVideoDeviceID_Vtbl { let this = (*this).get_impl(); match IMFVideoDeviceID_Impl::GetDeviceID(this) { Ok(ok__) => { - core::ptr::write(pdeviceid, core::mem::transmute(ok__)); + pdeviceid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -16952,7 +16952,7 @@ impl IMFVideoDisplayControl_Vtbl { let this = (*this).get_impl(); match IMFVideoDisplayControl_Impl::GetAspectRatioMode(this) { Ok(ok__) => { - core::ptr::write(pdwaspectratiomode, core::mem::transmute(ok__)); + pdwaspectratiomode.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -16968,7 +16968,7 @@ impl IMFVideoDisplayControl_Vtbl { let this = (*this).get_impl(); match IMFVideoDisplayControl_Impl::GetVideoWindow(this) { Ok(ok__) => { - core::ptr::write(phwndvideo, core::mem::transmute(ok__)); + phwndvideo.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -16994,7 +16994,7 @@ impl IMFVideoDisplayControl_Vtbl { let this = (*this).get_impl(); match IMFVideoDisplayControl_Impl::GetBorderColor(this) { Ok(ok__) => { - core::ptr::write(pclr, core::mem::transmute(ok__)); + pclr.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -17010,7 +17010,7 @@ impl IMFVideoDisplayControl_Vtbl { let this = (*this).get_impl(); match IMFVideoDisplayControl_Impl::GetRenderingPrefs(this) { Ok(ok__) => { - core::ptr::write(pdwrenderflags, core::mem::transmute(ok__)); + pdwrenderflags.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -17026,7 +17026,7 @@ impl IMFVideoDisplayControl_Vtbl { let this = (*this).get_impl(); match IMFVideoDisplayControl_Impl::GetFullscreen(this) { Ok(ok__) => { - core::ptr::write(pffullscreen, core::mem::transmute(ok__)); + pffullscreen.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -17146,7 +17146,7 @@ impl IMFVideoMixerControl_Vtbl { let this = (*this).get_impl(); match IMFVideoMixerControl_Impl::GetStreamZOrder(this, core::mem::transmute_copy(&dwstreamid)) { Ok(ok__) => { - core::ptr::write(pdwz, core::mem::transmute(ok__)); + pdwz.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -17162,7 +17162,7 @@ impl IMFVideoMixerControl_Vtbl { let this = (*this).get_impl(); match IMFVideoMixerControl_Impl::GetStreamOutputRect(this, core::mem::transmute_copy(&dwstreamid)) { Ok(ok__) => { - core::ptr::write(pnrcoutput, core::mem::transmute(ok__)); + pnrcoutput.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -17197,7 +17197,7 @@ impl IMFVideoMixerControl2_Vtbl { let this = (*this).get_impl(); match IMFVideoMixerControl2_Impl::GetMixingPrefs(this) { Ok(ok__) => { - core::ptr::write(pdwmixflags, core::mem::transmute(ok__)); + pdwmixflags.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -17250,7 +17250,7 @@ impl IMFVideoPresenter_Vtbl { let this = (*this).get_impl(); match IMFVideoPresenter_Impl::GetCurrentMediaType(this) { Ok(ok__) => { - core::ptr::write(ppmediatype, core::mem::transmute(ok__)); + ppmediatype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -17301,7 +17301,7 @@ impl IMFVideoProcessor_Vtbl { let this = (*this).get_impl(); match IMFVideoProcessor_Impl::GetVideoProcessorMode(this) { Ok(ok__) => { - core::ptr::write(lpmode, core::mem::transmute(ok__)); + lpmode.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -17317,7 +17317,7 @@ impl IMFVideoProcessor_Vtbl { let this = (*this).get_impl(); match IMFVideoProcessor_Impl::GetProcAmpRange(this, core::mem::transmute_copy(&dwproperty)) { Ok(ok__) => { - core::ptr::write(pproprange, core::mem::transmute(ok__)); + pproprange.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -17328,7 +17328,7 @@ impl IMFVideoProcessor_Vtbl { let this = (*this).get_impl(); match IMFVideoProcessor_Impl::GetProcAmpValues(this, core::mem::transmute_copy(&dwflags)) { Ok(ok__) => { - core::ptr::write(values, core::mem::transmute(ok__)); + values.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -17344,7 +17344,7 @@ impl IMFVideoProcessor_Vtbl { let this = (*this).get_impl(); match IMFVideoProcessor_Impl::GetFilteringRange(this, core::mem::transmute_copy(&dwproperty)) { Ok(ok__) => { - core::ptr::write(pproprange, core::mem::transmute(ok__)); + pproprange.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -17355,7 +17355,7 @@ impl IMFVideoProcessor_Vtbl { let this = (*this).get_impl(); match IMFVideoProcessor_Impl::GetFilteringValue(this, core::mem::transmute_copy(&dwproperty)) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -17371,7 +17371,7 @@ impl IMFVideoProcessor_Vtbl { let this = (*this).get_impl(); match IMFVideoProcessor_Impl::GetBackgroundColor(this) { Ok(ok__) => { - core::ptr::write(lpclrbkg, core::mem::transmute(ok__)); + lpclrbkg.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -17480,7 +17480,7 @@ impl IMFVideoProcessorControl2_Vtbl { let this = (*this).get_impl(); match IMFVideoProcessorControl2_Impl::GetSupportedHardwareEffects(this) { Ok(ok__) => { - core::ptr::write(puisupport, core::mem::transmute(ok__)); + puisupport.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -17511,7 +17511,7 @@ impl IMFVideoProcessorControl3_Vtbl { let this = (*this).get_impl(); match IMFVideoProcessorControl3_Impl::GetNaturalOutputType(this) { Ok(ok__) => { - core::ptr::write(pptype, core::mem::transmute(ok__)); + pptype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -17610,7 +17610,7 @@ impl IMFVideoSampleAllocator_Vtbl { let this = (*this).get_impl(); match IMFVideoSampleAllocator_Impl::AllocateSample(this) { Ok(ok__) => { - core::ptr::write(ppsample, core::mem::transmute(ok__)); + ppsample.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -17645,7 +17645,7 @@ impl IMFVideoSampleAllocatorCallback_Vtbl { let this = (*this).get_impl(); match IMFVideoSampleAllocatorCallback_Impl::GetFreeSampleCount(this) { Ok(ok__) => { - core::ptr::write(plsamples, core::mem::transmute(ok__)); + plsamples.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -17769,7 +17769,7 @@ impl IMFVirtualCamera_Vtbl { let this = (*this).get_impl(); match IMFVirtualCamera_Impl::GetMediaSource(this) { Ok(ok__) => { - core::ptr::write(ppmediasource, core::mem::transmute(ok__)); + ppmediasource.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -17785,7 +17785,7 @@ impl IMFVirtualCamera_Vtbl { let this = (*this).get_impl(); match IMFVirtualCamera_Impl::CreateSyncEvent(this, core::mem::transmute_copy(&kseventset), core::mem::transmute_copy(&kseventid), core::mem::transmute_copy(&kseventflags), core::mem::transmute_copy(&eventhandle)) { Ok(ok__) => { - core::ptr::write(camerasyncobject, core::mem::transmute(ok__)); + camerasyncobject.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -17796,7 +17796,7 @@ impl IMFVirtualCamera_Vtbl { let this = (*this).get_impl(); match IMFVirtualCamera_Impl::CreateSyncSemaphore(this, core::mem::transmute_copy(&kseventset), core::mem::transmute_copy(&kseventid), core::mem::transmute_copy(&kseventflags), core::mem::transmute_copy(&semaphorehandle), core::mem::transmute_copy(&semaphoreadjustment)) { Ok(ok__) => { - core::ptr::write(camerasyncobject, core::mem::transmute(ok__)); + camerasyncobject.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -17873,7 +17873,7 @@ impl IMFWorkQueueServices_Vtbl { let this = (*this).get_impl(); match IMFWorkQueueServices_Impl::GetTopologyWorkQueueMMCSSTaskId(this, core::mem::transmute_copy(&dwtopologyworkqueueid)) { Ok(ok__) => { - core::ptr::write(pdwtaskid, core::mem::transmute(ok__)); + pdwtaskid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -17889,7 +17889,7 @@ impl IMFWorkQueueServices_Vtbl { let this = (*this).get_impl(); match IMFWorkQueueServices_Impl::EndRegisterPlatformWorkQueueWithMMCSS(this, windows_core::from_raw_borrowed(&presult)) { Ok(ok__) => { - core::ptr::write(pdwtaskid, core::mem::transmute(ok__)); + pdwtaskid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -17915,7 +17915,7 @@ impl IMFWorkQueueServices_Vtbl { let this = (*this).get_impl(); match IMFWorkQueueServices_Impl::GetPlatformWorkQueueMMCSSTaskId(this, core::mem::transmute_copy(&dwplatformworkqueueid)) { Ok(ok__) => { - core::ptr::write(pdwtaskid, core::mem::transmute(ok__)); + pdwtaskid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -17954,7 +17954,7 @@ impl IMFWorkQueueServicesEx_Vtbl { let this = (*this).get_impl(); match IMFWorkQueueServicesEx_Impl::GetTopologyWorkQueueMMCSSPriority(this, core::mem::transmute_copy(&dwtopologyworkqueueid)) { Ok(ok__) => { - core::ptr::write(plpriority, core::mem::transmute(ok__)); + plpriority.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -17970,7 +17970,7 @@ impl IMFWorkQueueServicesEx_Vtbl { let this = (*this).get_impl(); match IMFWorkQueueServicesEx_Impl::GetPlatformWorkQueueMMCSSPriority(this, core::mem::transmute_copy(&dwplatformworkqueueid)) { Ok(ok__) => { - core::ptr::write(plpriority, core::mem::transmute(ok__)); + plpriority.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -18073,7 +18073,7 @@ impl IPlayToControlWithCapabilities_Vtbl { let this = (*this).get_impl(); match IPlayToControlWithCapabilities_Impl::GetCapabilities(this) { Ok(ok__) => { - core::ptr::write(pcapabilities, core::mem::transmute(ok__)); + pcapabilities.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -18096,7 +18096,7 @@ impl IPlayToSourceClassFactory_Vtbl { let this = (*this).get_impl(); match IPlayToSourceClassFactory_Impl::CreateInstance(this, core::mem::transmute_copy(&dwflags), windows_core::from_raw_borrowed(&pcontrol)) { Ok(ok__) => { - core::ptr::write(ppsource, core::mem::transmute(ok__)); + ppsource.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -18164,7 +18164,7 @@ impl IToc_Vtbl { let this = (*this).get_impl(); match IToc_Impl::GetEntryListByIndex(this, core::mem::transmute_copy(&wentrylistindex)) { Ok(ok__) => { - core::ptr::write(ppentrylist, core::mem::transmute(ok__)); + ppentrylist.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -18224,7 +18224,7 @@ impl ITocCollection_Vtbl { let this = (*this).get_impl(); match ITocCollection_Impl::GetEntryByIndex(this, core::mem::transmute_copy(&dwentryindex)) { Ok(ok__) => { - core::ptr::write(pptoc, core::mem::transmute(ok__)); + pptoc.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -18347,7 +18347,7 @@ impl ITocEntryList_Vtbl { let this = (*this).get_impl(); match ITocEntryList_Impl::GetEntryByIndex(this, core::mem::transmute_copy(&dwentryindex)) { Ok(ok__) => { - core::ptr::write(ppentry, core::mem::transmute(ok__)); + ppentry.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -18409,7 +18409,7 @@ impl ITocParser_Vtbl { let this = (*this).get_impl(); match ITocParser_Impl::GetTocByIndex(this, core::mem::transmute_copy(&enumtocpostype), core::mem::transmute_copy(&dwtocindex)) { Ok(ok__) => { - core::ptr::write(pptoc, core::mem::transmute(ok__)); + pptoc.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -18420,7 +18420,7 @@ impl ITocParser_Vtbl { let this = (*this).get_impl(); match ITocParser_Impl::GetTocByType(this, core::mem::transmute_copy(&enumtocpostype), core::mem::transmute(&guidtoctype)) { Ok(ok__) => { - core::ptr::write(pptocs, core::mem::transmute(ok__)); + pptocs.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/Win32/Media/MediaPlayer/impl.rs b/crates/libs/windows/src/Windows/Win32/Media/MediaPlayer/impl.rs index d7ce84460b..c82292db8b 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/MediaPlayer/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/MediaPlayer/impl.rs @@ -55,7 +55,7 @@ impl IFeed_Vtbl { let this = (*this).get_impl(); match IFeed_Impl::Xml(this, core::mem::transmute_copy(&count), core::mem::transmute_copy(&sortproperty), core::mem::transmute_copy(&sortorder), core::mem::transmute_copy(&filterflags), core::mem::transmute_copy(&includeflags)) { Ok(ok__) => { - core::ptr::write(xml, core::mem::transmute(ok__)); + xml.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -66,7 +66,7 @@ impl IFeed_Vtbl { let this = (*this).get_impl(); match IFeed_Impl::Name(this) { Ok(ok__) => { - core::ptr::write(name, core::mem::transmute(ok__)); + name.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -82,7 +82,7 @@ impl IFeed_Vtbl { let this = (*this).get_impl(); match IFeed_Impl::Url(this) { Ok(ok__) => { - core::ptr::write(feedurl, core::mem::transmute(ok__)); + feedurl.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -98,7 +98,7 @@ impl IFeed_Vtbl { let this = (*this).get_impl(); match IFeed_Impl::LocalId(this) { Ok(ok__) => { - core::ptr::write(feedguid, core::mem::transmute(ok__)); + feedguid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -109,7 +109,7 @@ impl IFeed_Vtbl { let this = (*this).get_impl(); match IFeed_Impl::Path(this) { Ok(ok__) => { - core::ptr::write(path, core::mem::transmute(ok__)); + path.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -125,7 +125,7 @@ impl IFeed_Vtbl { let this = (*this).get_impl(); match IFeed_Impl::Parent(this) { Ok(ok__) => { - core::ptr::write(disp, core::mem::transmute(ok__)); + disp.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -136,7 +136,7 @@ impl IFeed_Vtbl { let this = (*this).get_impl(); match IFeed_Impl::LastWriteTime(this) { Ok(ok__) => { - core::ptr::write(lastwrite, core::mem::transmute(ok__)); + lastwrite.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -167,7 +167,7 @@ impl IFeed_Vtbl { let this = (*this).get_impl(); match IFeed_Impl::SyncSetting(this) { Ok(ok__) => { - core::ptr::write(syncsetting, core::mem::transmute(ok__)); + syncsetting.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -183,7 +183,7 @@ impl IFeed_Vtbl { let this = (*this).get_impl(); match IFeed_Impl::Interval(this) { Ok(ok__) => { - core::ptr::write(minutes, core::mem::transmute(ok__)); + minutes.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -199,7 +199,7 @@ impl IFeed_Vtbl { let this = (*this).get_impl(); match IFeed_Impl::LastDownloadTime(this) { Ok(ok__) => { - core::ptr::write(lastdownload, core::mem::transmute(ok__)); + lastdownload.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -210,7 +210,7 @@ impl IFeed_Vtbl { let this = (*this).get_impl(); match IFeed_Impl::LocalEnclosurePath(this) { Ok(ok__) => { - core::ptr::write(path, core::mem::transmute(ok__)); + path.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -221,7 +221,7 @@ impl IFeed_Vtbl { let this = (*this).get_impl(); match IFeed_Impl::Items(this) { Ok(ok__) => { - core::ptr::write(disp, core::mem::transmute(ok__)); + disp.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -232,7 +232,7 @@ impl IFeed_Vtbl { let this = (*this).get_impl(); match IFeed_Impl::GetItem(this, core::mem::transmute_copy(&itemid)) { Ok(ok__) => { - core::ptr::write(disp, core::mem::transmute(ok__)); + disp.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -243,7 +243,7 @@ impl IFeed_Vtbl { let this = (*this).get_impl(); match IFeed_Impl::Title(this) { Ok(ok__) => { - core::ptr::write(title, core::mem::transmute(ok__)); + title.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -254,7 +254,7 @@ impl IFeed_Vtbl { let this = (*this).get_impl(); match IFeed_Impl::Description(this) { Ok(ok__) => { - core::ptr::write(description, core::mem::transmute(ok__)); + description.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -265,7 +265,7 @@ impl IFeed_Vtbl { let this = (*this).get_impl(); match IFeed_Impl::Link(this) { Ok(ok__) => { - core::ptr::write(homepage, core::mem::transmute(ok__)); + homepage.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -276,7 +276,7 @@ impl IFeed_Vtbl { let this = (*this).get_impl(); match IFeed_Impl::Image(this) { Ok(ok__) => { - core::ptr::write(imageurl, core::mem::transmute(ok__)); + imageurl.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -287,7 +287,7 @@ impl IFeed_Vtbl { let this = (*this).get_impl(); match IFeed_Impl::LastBuildDate(this) { Ok(ok__) => { - core::ptr::write(lastbuilddate, core::mem::transmute(ok__)); + lastbuilddate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -298,7 +298,7 @@ impl IFeed_Vtbl { let this = (*this).get_impl(); match IFeed_Impl::PubDate(this) { Ok(ok__) => { - core::ptr::write(lastpopulatedate, core::mem::transmute(ok__)); + lastpopulatedate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -309,7 +309,7 @@ impl IFeed_Vtbl { let this = (*this).get_impl(); match IFeed_Impl::Ttl(this) { Ok(ok__) => { - core::ptr::write(ttl, core::mem::transmute(ok__)); + ttl.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -320,7 +320,7 @@ impl IFeed_Vtbl { let this = (*this).get_impl(); match IFeed_Impl::Language(this) { Ok(ok__) => { - core::ptr::write(language, core::mem::transmute(ok__)); + language.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -331,7 +331,7 @@ impl IFeed_Vtbl { let this = (*this).get_impl(); match IFeed_Impl::Copyright(this) { Ok(ok__) => { - core::ptr::write(copyright, core::mem::transmute(ok__)); + copyright.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -342,7 +342,7 @@ impl IFeed_Vtbl { let this = (*this).get_impl(); match IFeed_Impl::MaxItemCount(this) { Ok(ok__) => { - core::ptr::write(count, core::mem::transmute(ok__)); + count.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -358,7 +358,7 @@ impl IFeed_Vtbl { let this = (*this).get_impl(); match IFeed_Impl::DownloadEnclosuresAutomatically(this) { Ok(ok__) => { - core::ptr::write(downloadenclosuresautomatically, core::mem::transmute(ok__)); + downloadenclosuresautomatically.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -374,7 +374,7 @@ impl IFeed_Vtbl { let this = (*this).get_impl(); match IFeed_Impl::DownloadStatus(this) { Ok(ok__) => { - core::ptr::write(status, core::mem::transmute(ok__)); + status.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -385,7 +385,7 @@ impl IFeed_Vtbl { let this = (*this).get_impl(); match IFeed_Impl::LastDownloadError(this) { Ok(ok__) => { - core::ptr::write(error, core::mem::transmute(ok__)); + error.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -401,7 +401,7 @@ impl IFeed_Vtbl { let this = (*this).get_impl(); match IFeed_Impl::DownloadUrl(this) { Ok(ok__) => { - core::ptr::write(feedurl, core::mem::transmute(ok__)); + feedurl.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -412,7 +412,7 @@ impl IFeed_Vtbl { let this = (*this).get_impl(); match IFeed_Impl::IsList(this) { Ok(ok__) => { - core::ptr::write(islist, core::mem::transmute(ok__)); + islist.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -428,7 +428,7 @@ impl IFeed_Vtbl { let this = (*this).get_impl(); match IFeed_Impl::GetWatcher(this, core::mem::transmute_copy(&scope), core::mem::transmute_copy(&mask)) { Ok(ok__) => { - core::ptr::write(disp, core::mem::transmute(ok__)); + disp.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -439,7 +439,7 @@ impl IFeed_Vtbl { let this = (*this).get_impl(); match IFeed_Impl::UnreadItemCount(this) { Ok(ok__) => { - core::ptr::write(count, core::mem::transmute(ok__)); + count.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -450,7 +450,7 @@ impl IFeed_Vtbl { let this = (*this).get_impl(); match IFeed_Impl::ItemCount(this) { Ok(ok__) => { - core::ptr::write(count, core::mem::transmute(ok__)); + count.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -527,7 +527,7 @@ impl IFeed2_Vtbl { let this = (*this).get_impl(); match IFeed2_Impl::GetItemByEffectiveId(this, core::mem::transmute_copy(&itemeffectiveid)) { Ok(ok__) => { - core::ptr::write(disp, core::mem::transmute(ok__)); + disp.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -538,7 +538,7 @@ impl IFeed2_Vtbl { let this = (*this).get_impl(); match IFeed2_Impl::LastItemDownloadTime(this) { Ok(ok__) => { - core::ptr::write(lastitemdownloadtime, core::mem::transmute(ok__)); + lastitemdownloadtime.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -549,7 +549,7 @@ impl IFeed2_Vtbl { let this = (*this).get_impl(); match IFeed2_Impl::Username(this) { Ok(ok__) => { - core::ptr::write(username, core::mem::transmute(ok__)); + username.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -560,7 +560,7 @@ impl IFeed2_Vtbl { let this = (*this).get_impl(); match IFeed2_Impl::Password(this) { Ok(ok__) => { - core::ptr::write(password, core::mem::transmute(ok__)); + password.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -616,7 +616,7 @@ impl IFeedEnclosure_Vtbl { let this = (*this).get_impl(); match IFeedEnclosure_Impl::Url(this) { Ok(ok__) => { - core::ptr::write(enclosureurl, core::mem::transmute(ok__)); + enclosureurl.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -627,7 +627,7 @@ impl IFeedEnclosure_Vtbl { let this = (*this).get_impl(); match IFeedEnclosure_Impl::Type(this) { Ok(ok__) => { - core::ptr::write(mimetype, core::mem::transmute(ok__)); + mimetype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -638,7 +638,7 @@ impl IFeedEnclosure_Vtbl { let this = (*this).get_impl(); match IFeedEnclosure_Impl::Length(this) { Ok(ok__) => { - core::ptr::write(length, core::mem::transmute(ok__)); + length.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -659,7 +659,7 @@ impl IFeedEnclosure_Vtbl { let this = (*this).get_impl(); match IFeedEnclosure_Impl::DownloadStatus(this) { Ok(ok__) => { - core::ptr::write(status, core::mem::transmute(ok__)); + status.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -670,7 +670,7 @@ impl IFeedEnclosure_Vtbl { let this = (*this).get_impl(); match IFeedEnclosure_Impl::LastDownloadError(this) { Ok(ok__) => { - core::ptr::write(error, core::mem::transmute(ok__)); + error.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -681,7 +681,7 @@ impl IFeedEnclosure_Vtbl { let this = (*this).get_impl(); match IFeedEnclosure_Impl::LocalPath(this) { Ok(ok__) => { - core::ptr::write(localpath, core::mem::transmute(ok__)); + localpath.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -692,7 +692,7 @@ impl IFeedEnclosure_Vtbl { let this = (*this).get_impl(); match IFeedEnclosure_Impl::Parent(this) { Ok(ok__) => { - core::ptr::write(disp, core::mem::transmute(ok__)); + disp.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -703,7 +703,7 @@ impl IFeedEnclosure_Vtbl { let this = (*this).get_impl(); match IFeedEnclosure_Impl::DownloadUrl(this) { Ok(ok__) => { - core::ptr::write(enclosureurl, core::mem::transmute(ok__)); + enclosureurl.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -714,7 +714,7 @@ impl IFeedEnclosure_Vtbl { let this = (*this).get_impl(); match IFeedEnclosure_Impl::DownloadMimeType(this) { Ok(ok__) => { - core::ptr::write(mimetype, core::mem::transmute(ok__)); + mimetype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -854,7 +854,7 @@ impl IFeedFolder_Vtbl { let this = (*this).get_impl(); match IFeedFolder_Impl::Feeds(this) { Ok(ok__) => { - core::ptr::write(disp, core::mem::transmute(ok__)); + disp.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -865,7 +865,7 @@ impl IFeedFolder_Vtbl { let this = (*this).get_impl(); match IFeedFolder_Impl::Subfolders(this) { Ok(ok__) => { - core::ptr::write(disp, core::mem::transmute(ok__)); + disp.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -876,7 +876,7 @@ impl IFeedFolder_Vtbl { let this = (*this).get_impl(); match IFeedFolder_Impl::CreateFeed(this, core::mem::transmute(&feedname), core::mem::transmute(&feedurl)) { Ok(ok__) => { - core::ptr::write(disp, core::mem::transmute(ok__)); + disp.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -887,7 +887,7 @@ impl IFeedFolder_Vtbl { let this = (*this).get_impl(); match IFeedFolder_Impl::CreateSubfolder(this, core::mem::transmute(&foldername)) { Ok(ok__) => { - core::ptr::write(disp, core::mem::transmute(ok__)); + disp.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -898,7 +898,7 @@ impl IFeedFolder_Vtbl { let this = (*this).get_impl(); match IFeedFolder_Impl::ExistsFeed(this, core::mem::transmute(&feedname)) { Ok(ok__) => { - core::ptr::write(exists, core::mem::transmute(ok__)); + exists.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -909,7 +909,7 @@ impl IFeedFolder_Vtbl { let this = (*this).get_impl(); match IFeedFolder_Impl::GetFeed(this, core::mem::transmute(&feedname)) { Ok(ok__) => { - core::ptr::write(disp, core::mem::transmute(ok__)); + disp.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -920,7 +920,7 @@ impl IFeedFolder_Vtbl { let this = (*this).get_impl(); match IFeedFolder_Impl::ExistsSubfolder(this, core::mem::transmute(&foldername)) { Ok(ok__) => { - core::ptr::write(exists, core::mem::transmute(ok__)); + exists.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -931,7 +931,7 @@ impl IFeedFolder_Vtbl { let this = (*this).get_impl(); match IFeedFolder_Impl::GetSubfolder(this, core::mem::transmute(&foldername)) { Ok(ok__) => { - core::ptr::write(disp, core::mem::transmute(ok__)); + disp.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -947,7 +947,7 @@ impl IFeedFolder_Vtbl { let this = (*this).get_impl(); match IFeedFolder_Impl::Name(this) { Ok(ok__) => { - core::ptr::write(foldername, core::mem::transmute(ok__)); + foldername.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -963,7 +963,7 @@ impl IFeedFolder_Vtbl { let this = (*this).get_impl(); match IFeedFolder_Impl::Path(this) { Ok(ok__) => { - core::ptr::write(folderpath, core::mem::transmute(ok__)); + folderpath.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -979,7 +979,7 @@ impl IFeedFolder_Vtbl { let this = (*this).get_impl(); match IFeedFolder_Impl::Parent(this) { Ok(ok__) => { - core::ptr::write(disp, core::mem::transmute(ok__)); + disp.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -990,7 +990,7 @@ impl IFeedFolder_Vtbl { let this = (*this).get_impl(); match IFeedFolder_Impl::IsRoot(this) { Ok(ok__) => { - core::ptr::write(isroot, core::mem::transmute(ok__)); + isroot.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1001,7 +1001,7 @@ impl IFeedFolder_Vtbl { let this = (*this).get_impl(); match IFeedFolder_Impl::TotalUnreadItemCount(this) { Ok(ok__) => { - core::ptr::write(count, core::mem::transmute(ok__)); + count.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1012,7 +1012,7 @@ impl IFeedFolder_Vtbl { let this = (*this).get_impl(); match IFeedFolder_Impl::TotalItemCount(this) { Ok(ok__) => { - core::ptr::write(count, core::mem::transmute(ok__)); + count.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1023,7 +1023,7 @@ impl IFeedFolder_Vtbl { let this = (*this).get_impl(); match IFeedFolder_Impl::GetWatcher(this, core::mem::transmute_copy(&scope), core::mem::transmute_copy(&mask)) { Ok(ok__) => { - core::ptr::write(disp, core::mem::transmute(ok__)); + disp.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1213,7 +1213,7 @@ impl IFeedItem_Vtbl { let this = (*this).get_impl(); match IFeedItem_Impl::Xml(this, core::mem::transmute_copy(&includeflags)) { Ok(ok__) => { - core::ptr::write(xml, core::mem::transmute(ok__)); + xml.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1224,7 +1224,7 @@ impl IFeedItem_Vtbl { let this = (*this).get_impl(); match IFeedItem_Impl::Title(this) { Ok(ok__) => { - core::ptr::write(title, core::mem::transmute(ok__)); + title.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1235,7 +1235,7 @@ impl IFeedItem_Vtbl { let this = (*this).get_impl(); match IFeedItem_Impl::Link(this) { Ok(ok__) => { - core::ptr::write(linkurl, core::mem::transmute(ok__)); + linkurl.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1246,7 +1246,7 @@ impl IFeedItem_Vtbl { let this = (*this).get_impl(); match IFeedItem_Impl::Guid(this) { Ok(ok__) => { - core::ptr::write(itemguid, core::mem::transmute(ok__)); + itemguid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1257,7 +1257,7 @@ impl IFeedItem_Vtbl { let this = (*this).get_impl(); match IFeedItem_Impl::Description(this) { Ok(ok__) => { - core::ptr::write(description, core::mem::transmute(ok__)); + description.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1268,7 +1268,7 @@ impl IFeedItem_Vtbl { let this = (*this).get_impl(); match IFeedItem_Impl::PubDate(this) { Ok(ok__) => { - core::ptr::write(pubdate, core::mem::transmute(ok__)); + pubdate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1279,7 +1279,7 @@ impl IFeedItem_Vtbl { let this = (*this).get_impl(); match IFeedItem_Impl::Comments(this) { Ok(ok__) => { - core::ptr::write(comments, core::mem::transmute(ok__)); + comments.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1290,7 +1290,7 @@ impl IFeedItem_Vtbl { let this = (*this).get_impl(); match IFeedItem_Impl::Author(this) { Ok(ok__) => { - core::ptr::write(author, core::mem::transmute(ok__)); + author.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1301,7 +1301,7 @@ impl IFeedItem_Vtbl { let this = (*this).get_impl(); match IFeedItem_Impl::Enclosure(this) { Ok(ok__) => { - core::ptr::write(disp, core::mem::transmute(ok__)); + disp.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1312,7 +1312,7 @@ impl IFeedItem_Vtbl { let this = (*this).get_impl(); match IFeedItem_Impl::IsRead(this) { Ok(ok__) => { - core::ptr::write(isread, core::mem::transmute(ok__)); + isread.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1328,7 +1328,7 @@ impl IFeedItem_Vtbl { let this = (*this).get_impl(); match IFeedItem_Impl::LocalId(this) { Ok(ok__) => { - core::ptr::write(itemid, core::mem::transmute(ok__)); + itemid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1339,7 +1339,7 @@ impl IFeedItem_Vtbl { let this = (*this).get_impl(); match IFeedItem_Impl::Parent(this) { Ok(ok__) => { - core::ptr::write(disp, core::mem::transmute(ok__)); + disp.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1355,7 +1355,7 @@ impl IFeedItem_Vtbl { let this = (*this).get_impl(); match IFeedItem_Impl::DownloadUrl(this) { Ok(ok__) => { - core::ptr::write(itemurl, core::mem::transmute(ok__)); + itemurl.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1366,7 +1366,7 @@ impl IFeedItem_Vtbl { let this = (*this).get_impl(); match IFeedItem_Impl::LastDownloadTime(this) { Ok(ok__) => { - core::ptr::write(lastdownload, core::mem::transmute(ok__)); + lastdownload.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1377,7 +1377,7 @@ impl IFeedItem_Vtbl { let this = (*this).get_impl(); match IFeedItem_Impl::Modified(this) { Ok(ok__) => { - core::ptr::write(modified, core::mem::transmute(ok__)); + modified.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1422,7 +1422,7 @@ impl IFeedItem2_Vtbl { let this = (*this).get_impl(); match IFeedItem2_Impl::EffectiveId(this) { Ok(ok__) => { - core::ptr::write(effectiveid, core::mem::transmute(ok__)); + effectiveid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1450,7 +1450,7 @@ impl IFeedsEnum_Vtbl { let this = (*this).get_impl(); match IFeedsEnum_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(count, core::mem::transmute(ok__)); + count.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1461,7 +1461,7 @@ impl IFeedsEnum_Vtbl { let this = (*this).get_impl(); match IFeedsEnum_Impl::Item(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(disp, core::mem::transmute(ok__)); + disp.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1472,7 +1472,7 @@ impl IFeedsEnum_Vtbl { let this = (*this).get_impl(); match IFeedsEnum_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(enumvar, core::mem::transmute(ok__)); + enumvar.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1518,7 +1518,7 @@ impl IFeedsManager_Vtbl { let this = (*this).get_impl(); match IFeedsManager_Impl::RootFolder(this) { Ok(ok__) => { - core::ptr::write(disp, core::mem::transmute(ok__)); + disp.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1529,7 +1529,7 @@ impl IFeedsManager_Vtbl { let this = (*this).get_impl(); match IFeedsManager_Impl::IsSubscribed(this, core::mem::transmute(&feedurl)) { Ok(ok__) => { - core::ptr::write(subscribed, core::mem::transmute(ok__)); + subscribed.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1540,7 +1540,7 @@ impl IFeedsManager_Vtbl { let this = (*this).get_impl(); match IFeedsManager_Impl::ExistsFeed(this, core::mem::transmute(&feedpath)) { Ok(ok__) => { - core::ptr::write(exists, core::mem::transmute(ok__)); + exists.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1551,7 +1551,7 @@ impl IFeedsManager_Vtbl { let this = (*this).get_impl(); match IFeedsManager_Impl::GetFeed(this, core::mem::transmute(&feedpath)) { Ok(ok__) => { - core::ptr::write(disp, core::mem::transmute(ok__)); + disp.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1562,7 +1562,7 @@ impl IFeedsManager_Vtbl { let this = (*this).get_impl(); match IFeedsManager_Impl::GetFeedByUrl(this, core::mem::transmute(&feedurl)) { Ok(ok__) => { - core::ptr::write(disp, core::mem::transmute(ok__)); + disp.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1573,7 +1573,7 @@ impl IFeedsManager_Vtbl { let this = (*this).get_impl(); match IFeedsManager_Impl::ExistsFolder(this, core::mem::transmute(&folderpath)) { Ok(ok__) => { - core::ptr::write(exists, core::mem::transmute(ok__)); + exists.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1584,7 +1584,7 @@ impl IFeedsManager_Vtbl { let this = (*this).get_impl(); match IFeedsManager_Impl::GetFolder(this, core::mem::transmute(&folderpath)) { Ok(ok__) => { - core::ptr::write(disp, core::mem::transmute(ok__)); + disp.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1610,7 +1610,7 @@ impl IFeedsManager_Vtbl { let this = (*this).get_impl(); match IFeedsManager_Impl::BackgroundSyncStatus(this) { Ok(ok__) => { - core::ptr::write(status, core::mem::transmute(ok__)); + status.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1621,7 +1621,7 @@ impl IFeedsManager_Vtbl { let this = (*this).get_impl(); match IFeedsManager_Impl::DefaultInterval(this) { Ok(ok__) => { - core::ptr::write(minutes, core::mem::transmute(ok__)); + minutes.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1642,7 +1642,7 @@ impl IFeedsManager_Vtbl { let this = (*this).get_impl(); match IFeedsManager_Impl::Normalize(this, core::mem::transmute(&feedxmlin)) { Ok(ok__) => { - core::ptr::write(feedxmlout, core::mem::transmute(ok__)); + feedxmlout.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1653,7 +1653,7 @@ impl IFeedsManager_Vtbl { let this = (*this).get_impl(); match IFeedsManager_Impl::ItemCountLimit(this) { Ok(ok__) => { - core::ptr::write(itemcountlimit, core::mem::transmute(ok__)); + itemcountlimit.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1731,7 +1731,7 @@ impl IWMPCdrom_Vtbl { let this = (*this).get_impl(); match IWMPCdrom_Impl::playlist(this) { Ok(ok__) => { - core::ptr::write(ppplaylist, core::mem::transmute(ok__)); + ppplaylist.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1810,7 +1810,7 @@ impl IWMPCdromBurn_Vtbl { let this = (*this).get_impl(); match IWMPCdromBurn_Impl::burnPlaylist(this) { Ok(ok__) => { - core::ptr::write(ppplaylist, core::mem::transmute(ok__)); + ppplaylist.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1894,7 +1894,7 @@ impl IWMPCdromCollection_Vtbl { let this = (*this).get_impl(); match IWMPCdromCollection_Impl::item(this, core::mem::transmute_copy(&lindex)) { Ok(ok__) => { - core::ptr::write(ppitem, core::mem::transmute(ok__)); + ppitem.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1905,7 +1905,7 @@ impl IWMPCdromCollection_Vtbl { let this = (*this).get_impl(); match IWMPCdromCollection_Impl::getByDriveSpecifier(this, core::mem::transmute(&bstrdrivespecifier)) { Ok(ok__) => { - core::ptr::write(ppcdrom, core::mem::transmute(ok__)); + ppcdrom.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2102,7 +2102,7 @@ impl IWMPContentContainer_Vtbl { let this = (*this).get_impl(); match IWMPContentContainer_Impl::GetID(this) { Ok(ok__) => { - core::ptr::write(pcontentid, core::mem::transmute(ok__)); + pcontentid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2113,7 +2113,7 @@ impl IWMPContentContainer_Vtbl { let this = (*this).get_impl(); match IWMPContentContainer_Impl::GetPrice(this) { Ok(ok__) => { - core::ptr::write(pbstrprice, core::mem::transmute(ok__)); + pbstrprice.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2124,7 +2124,7 @@ impl IWMPContentContainer_Vtbl { let this = (*this).get_impl(); match IWMPContentContainer_Impl::GetType(this) { Ok(ok__) => { - core::ptr::write(pbstrtype, core::mem::transmute(ok__)); + pbstrtype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2135,7 +2135,7 @@ impl IWMPContentContainer_Vtbl { let this = (*this).get_impl(); match IWMPContentContainer_Impl::GetContentCount(this) { Ok(ok__) => { - core::ptr::write(pccontent, core::mem::transmute(ok__)); + pccontent.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2146,7 +2146,7 @@ impl IWMPContentContainer_Vtbl { let this = (*this).get_impl(); match IWMPContentContainer_Impl::GetContentPrice(this, core::mem::transmute_copy(&idxcontent)) { Ok(ok__) => { - core::ptr::write(pbstrprice, core::mem::transmute(ok__)); + pbstrprice.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2157,7 +2157,7 @@ impl IWMPContentContainer_Vtbl { let this = (*this).get_impl(); match IWMPContentContainer_Impl::GetContentID(this, core::mem::transmute_copy(&idxcontent)) { Ok(ok__) => { - core::ptr::write(pcontentid, core::mem::transmute(ok__)); + pcontentid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2190,7 +2190,7 @@ impl IWMPContentContainerList_Vtbl { let this = (*this).get_impl(); match IWMPContentContainerList_Impl::GetTransactionType(this) { Ok(ok__) => { - core::ptr::write(pwmptt, core::mem::transmute(ok__)); + pwmptt.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2201,7 +2201,7 @@ impl IWMPContentContainerList_Vtbl { let this = (*this).get_impl(); match IWMPContentContainerList_Impl::GetContainerCount(this) { Ok(ok__) => { - core::ptr::write(pccontainer, core::mem::transmute(ok__)); + pccontainer.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2212,7 +2212,7 @@ impl IWMPContentContainerList_Vtbl { let this = (*this).get_impl(); match IWMPContentContainerList_Impl::GetContainer(this, core::mem::transmute_copy(&idxcontainer)) { Ok(ok__) => { - core::ptr::write(ppcontent, core::mem::transmute(ok__)); + ppcontent.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2275,7 +2275,7 @@ impl IWMPContentPartner_Vtbl { let this = (*this).get_impl(); match IWMPContentPartner_Impl::GetItemInfo(this, core::mem::transmute(&bstrinfoname), core::mem::transmute_copy(&pcontext)) { Ok(ok__) => { - core::ptr::write(pdata, core::mem::transmute(ok__)); + pdata.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2286,7 +2286,7 @@ impl IWMPContentPartner_Vtbl { let this = (*this).get_impl(); match IWMPContentPartner_Impl::GetContentPartnerInfo(this, core::mem::transmute(&bstrinfoname)) { Ok(ok__) => { - core::ptr::write(pdata, core::mem::transmute(ok__)); + pdata.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2317,7 +2317,7 @@ impl IWMPContentPartner_Vtbl { let this = (*this).get_impl(); match IWMPContentPartner_Impl::GetStreamingURL(this, core::mem::transmute_copy(&st), core::mem::transmute_copy(&pstreamcontext)) { Ok(ok__) => { - core::ptr::write(pbstrurl, core::mem::transmute(ok__)); + pbstrurl.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2388,7 +2388,7 @@ impl IWMPContentPartner_Vtbl { let this = (*this).get_impl(); match IWMPContentPartner_Impl::CompareContainerListPrices(this, windows_core::from_raw_borrowed(&plistbase), windows_core::from_raw_borrowed(&plistcompare)) { Ok(ok__) => { - core::ptr::write(presult, core::mem::transmute(ok__)); + presult.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2618,7 +2618,7 @@ impl IWMPControls_Vtbl { let this = (*this).get_impl(); match IWMPControls_Impl::currentItem(this) { Ok(ok__) => { - core::ptr::write(ppiwmpmedia, core::mem::transmute(ok__)); + ppiwmpmedia.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2860,7 +2860,7 @@ impl IWMPCore_Vtbl { let this = (*this).get_impl(); match IWMPCore_Impl::controls(this) { Ok(ok__) => { - core::ptr::write(ppcontrol, core::mem::transmute(ok__)); + ppcontrol.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2871,7 +2871,7 @@ impl IWMPCore_Vtbl { let this = (*this).get_impl(); match IWMPCore_Impl::settings(this) { Ok(ok__) => { - core::ptr::write(ppsettings, core::mem::transmute(ok__)); + ppsettings.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2882,7 +2882,7 @@ impl IWMPCore_Vtbl { let this = (*this).get_impl(); match IWMPCore_Impl::currentMedia(this) { Ok(ok__) => { - core::ptr::write(ppmedia, core::mem::transmute(ok__)); + ppmedia.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2898,7 +2898,7 @@ impl IWMPCore_Vtbl { let this = (*this).get_impl(); match IWMPCore_Impl::mediaCollection(this) { Ok(ok__) => { - core::ptr::write(ppmediacollection, core::mem::transmute(ok__)); + ppmediacollection.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2909,7 +2909,7 @@ impl IWMPCore_Vtbl { let this = (*this).get_impl(); match IWMPCore_Impl::playlistCollection(this) { Ok(ok__) => { - core::ptr::write(ppplaylistcollection, core::mem::transmute(ok__)); + ppplaylistcollection.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2930,7 +2930,7 @@ impl IWMPCore_Vtbl { let this = (*this).get_impl(); match IWMPCore_Impl::network(this) { Ok(ok__) => { - core::ptr::write(ppqni, core::mem::transmute(ok__)); + ppqni.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2941,7 +2941,7 @@ impl IWMPCore_Vtbl { let this = (*this).get_impl(); match IWMPCore_Impl::currentPlaylist(this) { Ok(ok__) => { - core::ptr::write(pppl, core::mem::transmute(ok__)); + pppl.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2957,7 +2957,7 @@ impl IWMPCore_Vtbl { let this = (*this).get_impl(); match IWMPCore_Impl::cdromCollection(this) { Ok(ok__) => { - core::ptr::write(ppcdromcollection, core::mem::transmute(ok__)); + ppcdromcollection.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2968,7 +2968,7 @@ impl IWMPCore_Vtbl { let this = (*this).get_impl(); match IWMPCore_Impl::closedCaption(this) { Ok(ok__) => { - core::ptr::write(ppclosedcaption, core::mem::transmute(ok__)); + ppclosedcaption.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2984,7 +2984,7 @@ impl IWMPCore_Vtbl { let this = (*this).get_impl(); match IWMPCore_Impl::error(this) { Ok(ok__) => { - core::ptr::write(pperror, core::mem::transmute(ok__)); + pperror.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3038,7 +3038,7 @@ impl IWMPCore2_Vtbl { let this = (*this).get_impl(); match IWMPCore2_Impl::dvd(this) { Ok(ok__) => { - core::ptr::write(ppdvd, core::mem::transmute(ok__)); + ppdvd.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3065,7 +3065,7 @@ impl IWMPCore3_Vtbl { let this = (*this).get_impl(); match IWMPCore3_Impl::newPlaylist(this, core::mem::transmute(&bstrname), core::mem::transmute(&bstrurl)) { Ok(ok__) => { - core::ptr::write(ppplaylist, core::mem::transmute(ok__)); + ppplaylist.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3076,7 +3076,7 @@ impl IWMPCore3_Vtbl { let this = (*this).get_impl(); match IWMPCore3_Impl::newMedia(this, core::mem::transmute(&bstrurl)) { Ok(ok__) => { - core::ptr::write(ppmedia, core::mem::transmute(ok__)); + ppmedia.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3179,7 +3179,7 @@ impl IWMPDownloadCollection_Vtbl { let this = (*this).get_impl(); match IWMPDownloadCollection_Impl::item(this, core::mem::transmute_copy(&litem)) { Ok(ok__) => { - core::ptr::write(ppdownload, core::mem::transmute(ok__)); + ppdownload.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3190,7 +3190,7 @@ impl IWMPDownloadCollection_Vtbl { let this = (*this).get_impl(); match IWMPDownloadCollection_Impl::startDownload(this, core::mem::transmute(&bstrsourceurl), core::mem::transmute(&bstrtype)) { Ok(ok__) => { - core::ptr::write(ppdownload, core::mem::transmute(ok__)); + ppdownload.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3327,7 +3327,7 @@ impl IWMPDownloadManager_Vtbl { let this = (*this).get_impl(); match IWMPDownloadManager_Impl::getDownloadCollection(this, core::mem::transmute_copy(&lcollectionid)) { Ok(ok__) => { - core::ptr::write(ppcollection, core::mem::transmute(ok__)); + ppcollection.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3338,7 +3338,7 @@ impl IWMPDownloadManager_Vtbl { let this = (*this).get_impl(); match IWMPDownloadManager_Impl::createDownloadCollection(this) { Ok(ok__) => { - core::ptr::write(ppcollection, core::mem::transmute(ok__)); + ppcollection.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3532,7 +3532,7 @@ impl IWMPError_Vtbl { let this = (*this).get_impl(); match IWMPError_Impl::get_item(this, core::mem::transmute_copy(&dwindex)) { Ok(ok__) => { - core::ptr::write(pperroritem, core::mem::transmute(ok__)); + pperroritem.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4279,7 +4279,7 @@ impl IWMPLibrary_Vtbl { let this = (*this).get_impl(); match IWMPLibrary_Impl::mediaCollection(this) { Ok(ok__) => { - core::ptr::write(ppiwmpmediacollection, core::mem::transmute(ok__)); + ppiwmpmediacollection.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4339,7 +4339,7 @@ impl IWMPLibraryServices_Vtbl { let this = (*this).get_impl(); match IWMPLibraryServices_Impl::getLibraryByType(this, core::mem::transmute_copy(&wmplt), core::mem::transmute_copy(&lindex)) { Ok(ok__) => { - core::ptr::write(ppiwmplibrary, core::mem::transmute(ok__)); + ppiwmplibrary.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4545,7 +4545,7 @@ impl IWMPMedia2_Vtbl { let this = (*this).get_impl(); match IWMPMedia2_Impl::error(this) { Ok(ok__) => { - core::ptr::write(ppiwmperroritem, core::mem::transmute(ok__)); + ppiwmperroritem.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4612,7 +4612,7 @@ impl IWMPMediaCollection_Vtbl { let this = (*this).get_impl(); match IWMPMediaCollection_Impl::add(this, core::mem::transmute(&bstrurl)) { Ok(ok__) => { - core::ptr::write(ppitem, core::mem::transmute(ok__)); + ppitem.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4623,7 +4623,7 @@ impl IWMPMediaCollection_Vtbl { let this = (*this).get_impl(); match IWMPMediaCollection_Impl::getAll(this) { Ok(ok__) => { - core::ptr::write(ppmediaitems, core::mem::transmute(ok__)); + ppmediaitems.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4634,7 +4634,7 @@ impl IWMPMediaCollection_Vtbl { let this = (*this).get_impl(); match IWMPMediaCollection_Impl::getByName(this, core::mem::transmute(&bstrname)) { Ok(ok__) => { - core::ptr::write(ppmediaitems, core::mem::transmute(ok__)); + ppmediaitems.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4645,7 +4645,7 @@ impl IWMPMediaCollection_Vtbl { let this = (*this).get_impl(); match IWMPMediaCollection_Impl::getByGenre(this, core::mem::transmute(&bstrgenre)) { Ok(ok__) => { - core::ptr::write(ppmediaitems, core::mem::transmute(ok__)); + ppmediaitems.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4656,7 +4656,7 @@ impl IWMPMediaCollection_Vtbl { let this = (*this).get_impl(); match IWMPMediaCollection_Impl::getByAuthor(this, core::mem::transmute(&bstrauthor)) { Ok(ok__) => { - core::ptr::write(ppmediaitems, core::mem::transmute(ok__)); + ppmediaitems.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4667,7 +4667,7 @@ impl IWMPMediaCollection_Vtbl { let this = (*this).get_impl(); match IWMPMediaCollection_Impl::getByAlbum(this, core::mem::transmute(&bstralbum)) { Ok(ok__) => { - core::ptr::write(ppmediaitems, core::mem::transmute(ok__)); + ppmediaitems.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4678,7 +4678,7 @@ impl IWMPMediaCollection_Vtbl { let this = (*this).get_impl(); match IWMPMediaCollection_Impl::getByAttribute(this, core::mem::transmute(&bstrattribute), core::mem::transmute(&bstrvalue)) { Ok(ok__) => { - core::ptr::write(ppmediaitems, core::mem::transmute(ok__)); + ppmediaitems.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4694,7 +4694,7 @@ impl IWMPMediaCollection_Vtbl { let this = (*this).get_impl(); match IWMPMediaCollection_Impl::getAttributeStringCollection(this, core::mem::transmute(&bstrattribute), core::mem::transmute(&bstrmediatype)) { Ok(ok__) => { - core::ptr::write(ppstringcollection, core::mem::transmute(ok__)); + ppstringcollection.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4752,7 +4752,7 @@ impl IWMPMediaCollection2_Vtbl { let this = (*this).get_impl(); match IWMPMediaCollection2_Impl::createQuery(this) { Ok(ok__) => { - core::ptr::write(ppquery, core::mem::transmute(ok__)); + ppquery.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4763,7 +4763,7 @@ impl IWMPMediaCollection2_Vtbl { let this = (*this).get_impl(); match IWMPMediaCollection2_Impl::getPlaylistByQuery(this, windows_core::from_raw_borrowed(&pquery), core::mem::transmute(&bstrmediatype), core::mem::transmute(&bstrsortattribute), core::mem::transmute_copy(&fsortascending)) { Ok(ok__) => { - core::ptr::write(ppplaylist, core::mem::transmute(ok__)); + ppplaylist.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4774,7 +4774,7 @@ impl IWMPMediaCollection2_Vtbl { let this = (*this).get_impl(); match IWMPMediaCollection2_Impl::getStringCollectionByQuery(this, core::mem::transmute(&bstrattribute), windows_core::from_raw_borrowed(&pquery), core::mem::transmute(&bstrmediatype), core::mem::transmute(&bstrsortattribute), core::mem::transmute_copy(&fsortascending)) { Ok(ok__) => { - core::ptr::write(ppstringcollection, core::mem::transmute(ok__)); + ppstringcollection.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4785,7 +4785,7 @@ impl IWMPMediaCollection2_Vtbl { let this = (*this).get_impl(); match IWMPMediaCollection2_Impl::getByAttributeAndMediaType(this, core::mem::transmute(&bstrattribute), core::mem::transmute(&bstrvalue), core::mem::transmute(&bstrmediatype)) { Ok(ok__) => { - core::ptr::write(ppmediaitems, core::mem::transmute(ok__)); + ppmediaitems.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5651,7 +5651,7 @@ impl IWMPPlayer4_Vtbl { let this = (*this).get_impl(); match IWMPPlayer4_Impl::playerApplication(this) { Ok(ok__) => { - core::ptr::write(ppiwmpplayerapplication, core::mem::transmute(ok__)); + ppiwmpplayerapplication.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5835,7 +5835,7 @@ impl IWMPPlaylist_Vtbl { let this = (*this).get_impl(); match IWMPPlaylist_Impl::get_item(this, core::mem::transmute_copy(&lindex)) { Ok(ok__) => { - core::ptr::write(ppiwmpmedia, core::mem::transmute(ok__)); + ppiwmpmedia.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5923,7 +5923,7 @@ impl IWMPPlaylistArray_Vtbl { let this = (*this).get_impl(); match IWMPPlaylistArray_Impl::item(this, core::mem::transmute_copy(&lindex)) { Ok(ok__) => { - core::ptr::write(ppitem, core::mem::transmute(ok__)); + ppitem.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5959,7 +5959,7 @@ impl IWMPPlaylistCollection_Vtbl { let this = (*this).get_impl(); match IWMPPlaylistCollection_Impl::newPlaylist(this, core::mem::transmute(&bstrname)) { Ok(ok__) => { - core::ptr::write(ppitem, core::mem::transmute(ok__)); + ppitem.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5970,7 +5970,7 @@ impl IWMPPlaylistCollection_Vtbl { let this = (*this).get_impl(); match IWMPPlaylistCollection_Impl::getAll(this) { Ok(ok__) => { - core::ptr::write(ppplaylistarray, core::mem::transmute(ok__)); + ppplaylistarray.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5981,7 +5981,7 @@ impl IWMPPlaylistCollection_Vtbl { let this = (*this).get_impl(); match IWMPPlaylistCollection_Impl::getByName(this, core::mem::transmute(&bstrname)) { Ok(ok__) => { - core::ptr::write(ppplaylistarray, core::mem::transmute(ok__)); + ppplaylistarray.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6007,7 +6007,7 @@ impl IWMPPlaylistCollection_Vtbl { let this = (*this).get_impl(); match IWMPPlaylistCollection_Impl::importPlaylist(this, windows_core::from_raw_borrowed(&pitem)) { Ok(ok__) => { - core::ptr::write(ppimporteditem, core::mem::transmute(ok__)); + ppimporteditem.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6902,7 +6902,7 @@ impl IWMPSyncServices_Vtbl { let this = (*this).get_impl(); match IWMPSyncServices_Impl::getDevice(this, core::mem::transmute_copy(&lindex)) { Ok(ok__) => { - core::ptr::write(ppdevice, core::mem::transmute(ok__)); + ppdevice.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7046,7 +7046,7 @@ impl IXFeed_Vtbl { let this = (*this).get_impl(); match IXFeed_Impl::Xml(this, core::mem::transmute_copy(&uiitemcount), core::mem::transmute_copy(&sortproperty), core::mem::transmute_copy(&sortorder), core::mem::transmute_copy(&filterflags), core::mem::transmute_copy(&includeflags)) { Ok(ok__) => { - core::ptr::write(pps, core::mem::transmute(ok__)); + pps.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7057,7 +7057,7 @@ impl IXFeed_Vtbl { let this = (*this).get_impl(); match IXFeed_Impl::Name(this) { Ok(ok__) => { - core::ptr::write(ppszname, core::mem::transmute(ok__)); + ppszname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7073,7 +7073,7 @@ impl IXFeed_Vtbl { let this = (*this).get_impl(); match IXFeed_Impl::Url(this) { Ok(ok__) => { - core::ptr::write(ppszurl, core::mem::transmute(ok__)); + ppszurl.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7089,7 +7089,7 @@ impl IXFeed_Vtbl { let this = (*this).get_impl(); match IXFeed_Impl::LocalId(this) { Ok(ok__) => { - core::ptr::write(pguid, core::mem::transmute(ok__)); + pguid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7100,7 +7100,7 @@ impl IXFeed_Vtbl { let this = (*this).get_impl(); match IXFeed_Impl::Path(this) { Ok(ok__) => { - core::ptr::write(ppszpath, core::mem::transmute(ok__)); + ppszpath.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7121,7 +7121,7 @@ impl IXFeed_Vtbl { let this = (*this).get_impl(); match IXFeed_Impl::LastWriteTime(this) { Ok(ok__) => { - core::ptr::write(pstlastwritetime, core::mem::transmute(ok__)); + pstlastwritetime.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7152,7 +7152,7 @@ impl IXFeed_Vtbl { let this = (*this).get_impl(); match IXFeed_Impl::SyncSetting(this) { Ok(ok__) => { - core::ptr::write(pfss, core::mem::transmute(ok__)); + pfss.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7168,7 +7168,7 @@ impl IXFeed_Vtbl { let this = (*this).get_impl(); match IXFeed_Impl::Interval(this) { Ok(ok__) => { - core::ptr::write(puiinterval, core::mem::transmute(ok__)); + puiinterval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7184,7 +7184,7 @@ impl IXFeed_Vtbl { let this = (*this).get_impl(); match IXFeed_Impl::LastDownloadTime(this) { Ok(ok__) => { - core::ptr::write(pstlastdownloadtime, core::mem::transmute(ok__)); + pstlastdownloadtime.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7195,7 +7195,7 @@ impl IXFeed_Vtbl { let this = (*this).get_impl(); match IXFeed_Impl::LocalEnclosurePath(this) { Ok(ok__) => { - core::ptr::write(ppszpath, core::mem::transmute(ok__)); + ppszpath.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7206,7 +7206,7 @@ impl IXFeed_Vtbl { let this = (*this).get_impl(); match IXFeed_Impl::Items(this) { Ok(ok__) => { - core::ptr::write(ppfe, core::mem::transmute(ok__)); + ppfe.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7227,7 +7227,7 @@ impl IXFeed_Vtbl { let this = (*this).get_impl(); match IXFeed_Impl::MaxItemCount(this) { Ok(ok__) => { - core::ptr::write(puimaxitemcount, core::mem::transmute(ok__)); + puimaxitemcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7243,7 +7243,7 @@ impl IXFeed_Vtbl { let this = (*this).get_impl(); match IXFeed_Impl::DownloadEnclosuresAutomatically(this) { Ok(ok__) => { - core::ptr::write(pbdownloadenclosuresautomatically, core::mem::transmute(ok__)); + pbdownloadenclosuresautomatically.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7259,7 +7259,7 @@ impl IXFeed_Vtbl { let this = (*this).get_impl(); match IXFeed_Impl::DownloadStatus(this) { Ok(ok__) => { - core::ptr::write(pfds, core::mem::transmute(ok__)); + pfds.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7270,7 +7270,7 @@ impl IXFeed_Vtbl { let this = (*this).get_impl(); match IXFeed_Impl::LastDownloadError(this) { Ok(ok__) => { - core::ptr::write(pfde, core::mem::transmute(ok__)); + pfde.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7286,7 +7286,7 @@ impl IXFeed_Vtbl { let this = (*this).get_impl(); match IXFeed_Impl::DownloadUrl(this) { Ok(ok__) => { - core::ptr::write(ppszurl, core::mem::transmute(ok__)); + ppszurl.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7297,7 +7297,7 @@ impl IXFeed_Vtbl { let this = (*this).get_impl(); match IXFeed_Impl::Title(this) { Ok(ok__) => { - core::ptr::write(ppsztitle, core::mem::transmute(ok__)); + ppsztitle.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7308,7 +7308,7 @@ impl IXFeed_Vtbl { let this = (*this).get_impl(); match IXFeed_Impl::Description(this) { Ok(ok__) => { - core::ptr::write(ppszdescription, core::mem::transmute(ok__)); + ppszdescription.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7319,7 +7319,7 @@ impl IXFeed_Vtbl { let this = (*this).get_impl(); match IXFeed_Impl::Link(this) { Ok(ok__) => { - core::ptr::write(ppszhomepage, core::mem::transmute(ok__)); + ppszhomepage.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7330,7 +7330,7 @@ impl IXFeed_Vtbl { let this = (*this).get_impl(); match IXFeed_Impl::Image(this) { Ok(ok__) => { - core::ptr::write(ppszimageurl, core::mem::transmute(ok__)); + ppszimageurl.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7341,7 +7341,7 @@ impl IXFeed_Vtbl { let this = (*this).get_impl(); match IXFeed_Impl::LastBuildDate(this) { Ok(ok__) => { - core::ptr::write(pstlastbuilddate, core::mem::transmute(ok__)); + pstlastbuilddate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7352,7 +7352,7 @@ impl IXFeed_Vtbl { let this = (*this).get_impl(); match IXFeed_Impl::PubDate(this) { Ok(ok__) => { - core::ptr::write(pstpubdate, core::mem::transmute(ok__)); + pstpubdate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7363,7 +7363,7 @@ impl IXFeed_Vtbl { let this = (*this).get_impl(); match IXFeed_Impl::Ttl(this) { Ok(ok__) => { - core::ptr::write(puittl, core::mem::transmute(ok__)); + puittl.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7374,7 +7374,7 @@ impl IXFeed_Vtbl { let this = (*this).get_impl(); match IXFeed_Impl::Language(this) { Ok(ok__) => { - core::ptr::write(ppszlanguage, core::mem::transmute(ok__)); + ppszlanguage.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7385,7 +7385,7 @@ impl IXFeed_Vtbl { let this = (*this).get_impl(); match IXFeed_Impl::Copyright(this) { Ok(ok__) => { - core::ptr::write(ppszcopyright, core::mem::transmute(ok__)); + ppszcopyright.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7396,7 +7396,7 @@ impl IXFeed_Vtbl { let this = (*this).get_impl(); match IXFeed_Impl::IsList(this) { Ok(ok__) => { - core::ptr::write(pbislist, core::mem::transmute(ok__)); + pbislist.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7412,7 +7412,7 @@ impl IXFeed_Vtbl { let this = (*this).get_impl(); match IXFeed_Impl::UnreadItemCount(this) { Ok(ok__) => { - core::ptr::write(puiunreaditemcount, core::mem::transmute(ok__)); + puiunreaditemcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7423,7 +7423,7 @@ impl IXFeed_Vtbl { let this = (*this).get_impl(); match IXFeed_Impl::ItemCount(this) { Ok(ok__) => { - core::ptr::write(puiitemcount, core::mem::transmute(ok__)); + puiitemcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7505,7 +7505,7 @@ impl IXFeed2_Vtbl { let this = (*this).get_impl(); match IXFeed2_Impl::LastItemDownloadTime(this) { Ok(ok__) => { - core::ptr::write(pstlastitemdownloadtime, core::mem::transmute(ok__)); + pstlastitemdownloadtime.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7516,7 +7516,7 @@ impl IXFeed2_Vtbl { let this = (*this).get_impl(); match IXFeed2_Impl::Username(this) { Ok(ok__) => { - core::ptr::write(ppszusername, core::mem::transmute(ok__)); + ppszusername.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7527,7 +7527,7 @@ impl IXFeed2_Vtbl { let this = (*this).get_impl(); match IXFeed2_Impl::Password(this) { Ok(ok__) => { - core::ptr::write(ppszpassword, core::mem::transmute(ok__)); + ppszpassword.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7580,7 +7580,7 @@ impl IXFeedEnclosure_Vtbl { let this = (*this).get_impl(); match IXFeedEnclosure_Impl::Url(this) { Ok(ok__) => { - core::ptr::write(ppszurl, core::mem::transmute(ok__)); + ppszurl.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7591,7 +7591,7 @@ impl IXFeedEnclosure_Vtbl { let this = (*this).get_impl(); match IXFeedEnclosure_Impl::Type(this) { Ok(ok__) => { - core::ptr::write(ppszmimetype, core::mem::transmute(ok__)); + ppszmimetype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7602,7 +7602,7 @@ impl IXFeedEnclosure_Vtbl { let this = (*this).get_impl(); match IXFeedEnclosure_Impl::Length(this) { Ok(ok__) => { - core::ptr::write(puilength, core::mem::transmute(ok__)); + puilength.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7623,7 +7623,7 @@ impl IXFeedEnclosure_Vtbl { let this = (*this).get_impl(); match IXFeedEnclosure_Impl::DownloadStatus(this) { Ok(ok__) => { - core::ptr::write(pfds, core::mem::transmute(ok__)); + pfds.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7634,7 +7634,7 @@ impl IXFeedEnclosure_Vtbl { let this = (*this).get_impl(); match IXFeedEnclosure_Impl::LastDownloadError(this) { Ok(ok__) => { - core::ptr::write(pfde, core::mem::transmute(ok__)); + pfde.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7645,7 +7645,7 @@ impl IXFeedEnclosure_Vtbl { let this = (*this).get_impl(); match IXFeedEnclosure_Impl::LocalPath(this) { Ok(ok__) => { - core::ptr::write(ppszpath, core::mem::transmute(ok__)); + ppszpath.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7661,7 +7661,7 @@ impl IXFeedEnclosure_Vtbl { let this = (*this).get_impl(); match IXFeedEnclosure_Impl::DownloadUrl(this) { Ok(ok__) => { - core::ptr::write(ppszurl, core::mem::transmute(ok__)); + ppszurl.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7672,7 +7672,7 @@ impl IXFeedEnclosure_Vtbl { let this = (*this).get_impl(); match IXFeedEnclosure_Impl::DownloadMimeType(this) { Ok(ok__) => { - core::ptr::write(ppszmimetype, core::mem::transmute(ok__)); + ppszmimetype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7806,7 +7806,7 @@ impl IXFeedFolder_Vtbl { let this = (*this).get_impl(); match IXFeedFolder_Impl::Feeds(this) { Ok(ok__) => { - core::ptr::write(ppfe, core::mem::transmute(ok__)); + ppfe.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7817,7 +7817,7 @@ impl IXFeedFolder_Vtbl { let this = (*this).get_impl(); match IXFeedFolder_Impl::Subfolders(this) { Ok(ok__) => { - core::ptr::write(ppfe, core::mem::transmute(ok__)); + ppfe.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7863,7 +7863,7 @@ impl IXFeedFolder_Vtbl { let this = (*this).get_impl(); match IXFeedFolder_Impl::Name(this) { Ok(ok__) => { - core::ptr::write(ppszname, core::mem::transmute(ok__)); + ppszname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7879,7 +7879,7 @@ impl IXFeedFolder_Vtbl { let this = (*this).get_impl(); match IXFeedFolder_Impl::Path(this) { Ok(ok__) => { - core::ptr::write(ppszpath, core::mem::transmute(ok__)); + ppszpath.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7900,7 +7900,7 @@ impl IXFeedFolder_Vtbl { let this = (*this).get_impl(); match IXFeedFolder_Impl::IsRoot(this) { Ok(ok__) => { - core::ptr::write(pbisrootfeedfolder, core::mem::transmute(ok__)); + pbisrootfeedfolder.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7916,7 +7916,7 @@ impl IXFeedFolder_Vtbl { let this = (*this).get_impl(); match IXFeedFolder_Impl::TotalUnreadItemCount(this) { Ok(ok__) => { - core::ptr::write(puitotalunreaditemcount, core::mem::transmute(ok__)); + puitotalunreaditemcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7927,7 +7927,7 @@ impl IXFeedFolder_Vtbl { let this = (*this).get_impl(); match IXFeedFolder_Impl::TotalItemCount(this) { Ok(ok__) => { - core::ptr::write(puitotalitemcount, core::mem::transmute(ok__)); + puitotalitemcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8114,7 +8114,7 @@ impl IXFeedItem_Vtbl { let this = (*this).get_impl(); match IXFeedItem_Impl::Xml(this, core::mem::transmute_copy(&fxif)) { Ok(ok__) => { - core::ptr::write(pps, core::mem::transmute(ok__)); + pps.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8125,7 +8125,7 @@ impl IXFeedItem_Vtbl { let this = (*this).get_impl(); match IXFeedItem_Impl::Title(this) { Ok(ok__) => { - core::ptr::write(ppsztitle, core::mem::transmute(ok__)); + ppsztitle.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8136,7 +8136,7 @@ impl IXFeedItem_Vtbl { let this = (*this).get_impl(); match IXFeedItem_Impl::Link(this) { Ok(ok__) => { - core::ptr::write(ppszurl, core::mem::transmute(ok__)); + ppszurl.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8147,7 +8147,7 @@ impl IXFeedItem_Vtbl { let this = (*this).get_impl(); match IXFeedItem_Impl::Guid(this) { Ok(ok__) => { - core::ptr::write(ppszguid, core::mem::transmute(ok__)); + ppszguid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8158,7 +8158,7 @@ impl IXFeedItem_Vtbl { let this = (*this).get_impl(); match IXFeedItem_Impl::Description(this) { Ok(ok__) => { - core::ptr::write(ppszdescription, core::mem::transmute(ok__)); + ppszdescription.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8169,7 +8169,7 @@ impl IXFeedItem_Vtbl { let this = (*this).get_impl(); match IXFeedItem_Impl::PubDate(this) { Ok(ok__) => { - core::ptr::write(pstpubdate, core::mem::transmute(ok__)); + pstpubdate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8180,7 +8180,7 @@ impl IXFeedItem_Vtbl { let this = (*this).get_impl(); match IXFeedItem_Impl::Comments(this) { Ok(ok__) => { - core::ptr::write(ppszurl, core::mem::transmute(ok__)); + ppszurl.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8191,7 +8191,7 @@ impl IXFeedItem_Vtbl { let this = (*this).get_impl(); match IXFeedItem_Impl::Author(this) { Ok(ok__) => { - core::ptr::write(ppszauthor, core::mem::transmute(ok__)); + ppszauthor.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8207,7 +8207,7 @@ impl IXFeedItem_Vtbl { let this = (*this).get_impl(); match IXFeedItem_Impl::IsRead(this) { Ok(ok__) => { - core::ptr::write(pbisread, core::mem::transmute(ok__)); + pbisread.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8223,7 +8223,7 @@ impl IXFeedItem_Vtbl { let this = (*this).get_impl(); match IXFeedItem_Impl::LocalId(this) { Ok(ok__) => { - core::ptr::write(puiid, core::mem::transmute(ok__)); + puiid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8244,7 +8244,7 @@ impl IXFeedItem_Vtbl { let this = (*this).get_impl(); match IXFeedItem_Impl::DownloadUrl(this) { Ok(ok__) => { - core::ptr::write(ppszurl, core::mem::transmute(ok__)); + ppszurl.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8255,7 +8255,7 @@ impl IXFeedItem_Vtbl { let this = (*this).get_impl(); match IXFeedItem_Impl::LastDownloadTime(this) { Ok(ok__) => { - core::ptr::write(pstlastdownloadtime, core::mem::transmute(ok__)); + pstlastdownloadtime.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8266,7 +8266,7 @@ impl IXFeedItem_Vtbl { let this = (*this).get_impl(); match IXFeedItem_Impl::Modified(this) { Ok(ok__) => { - core::ptr::write(pstmodifiedtime, core::mem::transmute(ok__)); + pstmodifiedtime.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8311,7 +8311,7 @@ impl IXFeedItem2_Vtbl { let this = (*this).get_impl(); match IXFeedItem2_Impl::EffectiveId(this) { Ok(ok__) => { - core::ptr::write(puieffectiveid, core::mem::transmute(ok__)); + puieffectiveid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8335,7 +8335,7 @@ impl IXFeedsEnum_Vtbl { let this = (*this).get_impl(); match IXFeedsEnum_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(puicount, core::mem::transmute(ok__)); + puicount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8386,7 +8386,7 @@ impl IXFeedsManager_Vtbl { let this = (*this).get_impl(); match IXFeedsManager_Impl::IsSubscribed(this, core::mem::transmute(&pszurl)) { Ok(ok__) => { - core::ptr::write(pbsubscribed, core::mem::transmute(ok__)); + pbsubscribed.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8397,7 +8397,7 @@ impl IXFeedsManager_Vtbl { let this = (*this).get_impl(); match IXFeedsManager_Impl::ExistsFeed(this, core::mem::transmute(&pszpath)) { Ok(ok__) => { - core::ptr::write(pbfeedexists, core::mem::transmute(ok__)); + pbfeedexists.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8418,7 +8418,7 @@ impl IXFeedsManager_Vtbl { let this = (*this).get_impl(); match IXFeedsManager_Impl::ExistsFolder(this, core::mem::transmute(&pszpath)) { Ok(ok__) => { - core::ptr::write(pbfolderexists, core::mem::transmute(ok__)); + pbfolderexists.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8449,7 +8449,7 @@ impl IXFeedsManager_Vtbl { let this = (*this).get_impl(); match IXFeedsManager_Impl::BackgroundSyncStatus(this) { Ok(ok__) => { - core::ptr::write(pfbss, core::mem::transmute(ok__)); + pfbss.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8460,7 +8460,7 @@ impl IXFeedsManager_Vtbl { let this = (*this).get_impl(); match IXFeedsManager_Impl::DefaultInterval(this) { Ok(ok__) => { - core::ptr::write(puiinterval, core::mem::transmute(ok__)); + puiinterval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8481,7 +8481,7 @@ impl IXFeedsManager_Vtbl { let this = (*this).get_impl(); match IXFeedsManager_Impl::Normalize(this, windows_core::from_raw_borrowed(&pstreamin)) { Ok(ok__) => { - core::ptr::write(ppstreamout, core::mem::transmute(ok__)); + ppstreamout.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8492,7 +8492,7 @@ impl IXFeedsManager_Vtbl { let this = (*this).get_impl(); match IXFeedsManager_Impl::ItemCountLimit(this) { Ok(ok__) => { - core::ptr::write(puiitemcountlimit, core::mem::transmute(ok__)); + puiitemcountlimit.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/Win32/Media/Multimedia/impl.rs b/crates/libs/windows/src/Windows/Win32/Media/Multimedia/impl.rs index 70e85d92a6..da684e2040 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/Multimedia/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/Multimedia/impl.rs @@ -28,7 +28,7 @@ impl IAVIEditStream_Vtbl { let this = (*this).get_impl(); match IAVIEditStream_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppresult, core::mem::transmute(ok__)); + ppresult.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/Win32/Media/PictureAcquisition/impl.rs b/crates/libs/windows/src/Windows/Win32/Media/PictureAcquisition/impl.rs index 90a866e1e1..22101e54c4 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/PictureAcquisition/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/PictureAcquisition/impl.rs @@ -14,7 +14,7 @@ impl IPhotoAcquire_Vtbl { let this = (*this).get_impl(); match IPhotoAcquire_Impl::CreatePhotoSource(this, core::mem::transmute(&pszdevice)) { Ok(ok__) => { - core::ptr::write(ppphotoacquiresource, core::mem::transmute(ok__)); + ppphotoacquiresource.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -30,7 +30,7 @@ impl IPhotoAcquire_Vtbl { let this = (*this).get_impl(); match IPhotoAcquire_Impl::EnumResults(this) { Ok(ok__) => { - core::ptr::write(ppenumfilepaths, core::mem::transmute(ok__)); + ppenumfilepaths.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -103,7 +103,7 @@ impl IPhotoAcquireItem_Vtbl { let this = (*this).get_impl(); match IPhotoAcquireItem_Impl::GetItemName(this) { Ok(ok__) => { - core::ptr::write(pbstritemname, core::mem::transmute(ok__)); + pbstritemname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -114,7 +114,7 @@ impl IPhotoAcquireItem_Vtbl { let this = (*this).get_impl(); match IPhotoAcquireItem_Impl::GetThumbnail(this, core::mem::transmute(&sizethumbnail)) { Ok(ok__) => { - core::ptr::write(phbmpthumbnail, core::mem::transmute(ok__)); + phbmpthumbnail.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -125,7 +125,7 @@ impl IPhotoAcquireItem_Vtbl { let this = (*this).get_impl(); match IPhotoAcquireItem_Impl::GetProperty(this, core::mem::transmute_copy(&key)) { Ok(ok__) => { - core::ptr::write(pv, core::mem::transmute(ok__)); + pv.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -141,7 +141,7 @@ impl IPhotoAcquireItem_Vtbl { let this = (*this).get_impl(); match IPhotoAcquireItem_Impl::GetStream(this) { Ok(ok__) => { - core::ptr::write(ppstream, core::mem::transmute(ok__)); + ppstream.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -152,7 +152,7 @@ impl IPhotoAcquireItem_Vtbl { let this = (*this).get_impl(); match IPhotoAcquireItem_Impl::CanDelete(this) { Ok(ok__) => { - core::ptr::write(pfcandelete, core::mem::transmute(ok__)); + pfcandelete.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -168,7 +168,7 @@ impl IPhotoAcquireItem_Vtbl { let this = (*this).get_impl(); match IPhotoAcquireItem_Impl::GetSubItemCount(this) { Ok(ok__) => { - core::ptr::write(pncount, core::mem::transmute(ok__)); + pncount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -179,7 +179,7 @@ impl IPhotoAcquireItem_Vtbl { let this = (*this).get_impl(); match IPhotoAcquireItem_Impl::GetSubItemAt(this, core::mem::transmute_copy(&nitemindex)) { Ok(ok__) => { - core::ptr::write(ppphotoacquireitem, core::mem::transmute(ok__)); + ppphotoacquireitem.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -222,7 +222,7 @@ impl IPhotoAcquireOptionsDialog_Vtbl { let this = (*this).get_impl(); match IPhotoAcquireOptionsDialog_Impl::Create(this, core::mem::transmute_copy(&hwndparent)) { Ok(ok__) => { - core::ptr::write(phwnddialog, core::mem::transmute(ok__)); + phwnddialog.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -329,7 +329,7 @@ impl IPhotoAcquireProgressCB_Vtbl { let this = (*this).get_impl(); match IPhotoAcquireProgressCB_Impl::Cancelled(this) { Ok(ok__) => { - core::ptr::write(pfcancelled, core::mem::transmute(ok__)); + pfcancelled.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -415,7 +415,7 @@ impl IPhotoAcquireProgressCB_Vtbl { let this = (*this).get_impl(); match IPhotoAcquireProgressCB_Impl::GetDeleteAfterAcquire(this) { Ok(ok__) => { - core::ptr::write(pfdeleteafteracquire, core::mem::transmute(ok__)); + pfdeleteafteracquire.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -426,7 +426,7 @@ impl IPhotoAcquireProgressCB_Vtbl { let this = (*this).get_impl(); match IPhotoAcquireProgressCB_Impl::ErrorAdvise(this, core::mem::transmute_copy(&hr), core::mem::transmute(&pszerrormessage), core::mem::transmute_copy(&nmessagetype)) { Ok(ok__) => { - core::ptr::write(pnerroradviseresult, core::mem::transmute(ok__)); + pnerroradviseresult.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -522,7 +522,7 @@ impl IPhotoAcquireSettings_Vtbl { let this = (*this).get_impl(); match IPhotoAcquireSettings_Impl::GetFlags(this) { Ok(ok__) => { - core::ptr::write(pdwphotoacquireflags, core::mem::transmute(ok__)); + pdwphotoacquireflags.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -533,7 +533,7 @@ impl IPhotoAcquireSettings_Vtbl { let this = (*this).get_impl(); match IPhotoAcquireSettings_Impl::GetOutputFilenameTemplate(this) { Ok(ok__) => { - core::ptr::write(pbstrtemplate, core::mem::transmute(ok__)); + pbstrtemplate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -544,7 +544,7 @@ impl IPhotoAcquireSettings_Vtbl { let this = (*this).get_impl(); match IPhotoAcquireSettings_Impl::GetSequencePaddingWidth(this) { Ok(ok__) => { - core::ptr::write(pdwwidth, core::mem::transmute(ok__)); + pdwwidth.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -555,7 +555,7 @@ impl IPhotoAcquireSettings_Vtbl { let this = (*this).get_impl(); match IPhotoAcquireSettings_Impl::GetSequenceZeroPadding(this) { Ok(ok__) => { - core::ptr::write(pfzeropad, core::mem::transmute(ok__)); + pfzeropad.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -566,7 +566,7 @@ impl IPhotoAcquireSettings_Vtbl { let this = (*this).get_impl(); match IPhotoAcquireSettings_Impl::GetGroupTag(this) { Ok(ok__) => { - core::ptr::write(pbstrgrouptag, core::mem::transmute(ok__)); + pbstrgrouptag.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -577,7 +577,7 @@ impl IPhotoAcquireSettings_Vtbl { let this = (*this).get_impl(); match IPhotoAcquireSettings_Impl::GetAcquisitionTime(this) { Ok(ok__) => { - core::ptr::write(pftacquisitiontime, core::mem::transmute(ok__)); + pftacquisitiontime.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -625,7 +625,7 @@ impl IPhotoAcquireSource_Vtbl { let this = (*this).get_impl(); match IPhotoAcquireSource_Impl::GetFriendlyName(this) { Ok(ok__) => { - core::ptr::write(pbstrfriendlyname, core::mem::transmute(ok__)); + pbstrfriendlyname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -646,7 +646,7 @@ impl IPhotoAcquireSource_Vtbl { let this = (*this).get_impl(); match IPhotoAcquireSource_Impl::GetItemCount(this) { Ok(ok__) => { - core::ptr::write(pnitemcount, core::mem::transmute(ok__)); + pnitemcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -657,7 +657,7 @@ impl IPhotoAcquireSource_Vtbl { let this = (*this).get_impl(); match IPhotoAcquireSource_Impl::GetItemAt(this, core::mem::transmute_copy(&nindex)) { Ok(ok__) => { - core::ptr::write(ppphotoacquireitem, core::mem::transmute(ok__)); + ppphotoacquireitem.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -668,7 +668,7 @@ impl IPhotoAcquireSource_Vtbl { let this = (*this).get_impl(); match IPhotoAcquireSource_Impl::GetPhotoAcquireSettings(this) { Ok(ok__) => { - core::ptr::write(ppphotoacquiresettings, core::mem::transmute(ok__)); + ppphotoacquiresettings.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -679,7 +679,7 @@ impl IPhotoAcquireSource_Vtbl { let this = (*this).get_impl(); match IPhotoAcquireSource_Impl::GetDeviceId(this) { Ok(ok__) => { - core::ptr::write(pbstrdeviceid, core::mem::transmute(ok__)); + pbstrdeviceid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -759,7 +759,7 @@ impl IPhotoProgressDialog_Vtbl { let this = (*this).get_impl(); match IPhotoProgressDialog_Impl::GetWindow(this) { Ok(ok__) => { - core::ptr::write(phwndprogressdialog, core::mem::transmute(ok__)); + phwndprogressdialog.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -800,7 +800,7 @@ impl IPhotoProgressDialog_Vtbl { let this = (*this).get_impl(); match IPhotoProgressDialog_Impl::IsCheckboxChecked(this, core::mem::transmute_copy(&ncheckboxid)) { Ok(ok__) => { - core::ptr::write(pfchecked, core::mem::transmute(ok__)); + pfchecked.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -846,7 +846,7 @@ impl IPhotoProgressDialog_Vtbl { let this = (*this).get_impl(); match IPhotoProgressDialog_Impl::IsCancelled(this) { Ok(ok__) => { - core::ptr::write(pfcancelled, core::mem::transmute(ok__)); + pfcancelled.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -906,7 +906,7 @@ impl IUserInputString_Vtbl { let this = (*this).get_impl(); match IUserInputString_Impl::GetSubmitButtonText(this) { Ok(ok__) => { - core::ptr::write(pbstrsubmitbuttontext, core::mem::transmute(ok__)); + pbstrsubmitbuttontext.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -917,7 +917,7 @@ impl IUserInputString_Vtbl { let this = (*this).get_impl(); match IUserInputString_Impl::GetPrompt(this) { Ok(ok__) => { - core::ptr::write(pbstrprompttitle, core::mem::transmute(ok__)); + pbstrprompttitle.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -928,7 +928,7 @@ impl IUserInputString_Vtbl { let this = (*this).get_impl(); match IUserInputString_Impl::GetStringId(this) { Ok(ok__) => { - core::ptr::write(pbstrstringid, core::mem::transmute(ok__)); + pbstrstringid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -939,7 +939,7 @@ impl IUserInputString_Vtbl { let this = (*this).get_impl(); match IUserInputString_Impl::GetStringType(this) { Ok(ok__) => { - core::ptr::write(pnstringtype, core::mem::transmute(ok__)); + pnstringtype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -950,7 +950,7 @@ impl IUserInputString_Vtbl { let this = (*this).get_impl(); match IUserInputString_Impl::GetTooltipText(this) { Ok(ok__) => { - core::ptr::write(pbstrtooltiptext, core::mem::transmute(ok__)); + pbstrtooltiptext.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -961,7 +961,7 @@ impl IUserInputString_Vtbl { let this = (*this).get_impl(); match IUserInputString_Impl::GetMaxLength(this) { Ok(ok__) => { - core::ptr::write(pcchmaxlength, core::mem::transmute(ok__)); + pcchmaxlength.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -972,7 +972,7 @@ impl IUserInputString_Vtbl { let this = (*this).get_impl(); match IUserInputString_Impl::GetDefault(this) { Ok(ok__) => { - core::ptr::write(pbstrdefault, core::mem::transmute(ok__)); + pbstrdefault.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -983,7 +983,7 @@ impl IUserInputString_Vtbl { let this = (*this).get_impl(); match IUserInputString_Impl::GetMruCount(this) { Ok(ok__) => { - core::ptr::write(pnmrucount, core::mem::transmute(ok__)); + pnmrucount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -994,7 +994,7 @@ impl IUserInputString_Vtbl { let this = (*this).get_impl(); match IUserInputString_Impl::GetMruEntryAt(this, core::mem::transmute_copy(&nindex)) { Ok(ok__) => { - core::ptr::write(pbstrmruentry, core::mem::transmute(ok__)); + pbstrmruentry.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/Win32/Media/Speech/impl.rs b/crates/libs/windows/src/Windows/Win32/Media/Speech/impl.rs index 4d2d3415d3..49a87f45f3 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/Speech/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/Speech/impl.rs @@ -29,7 +29,7 @@ impl IEnumSpObjectTokens_Vtbl { let this = (*this).get_impl(); match IEnumSpObjectTokens_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -40,7 +40,7 @@ impl IEnumSpObjectTokens_Vtbl { let this = (*this).get_impl(); match IEnumSpObjectTokens_Impl::Item(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(pptoken, core::mem::transmute(ok__)); + pptoken.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -208,7 +208,7 @@ impl ISpCFGInterpreterSite_Vtbl { let this = (*this).get_impl(); match ISpCFGInterpreterSite_Impl::GetResourceValue(this, core::mem::transmute(&pszresourcename)) { Ok(ok__) => { - core::ptr::write(ppcomemresource, core::mem::transmute(ok__)); + ppcomemresource.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -279,7 +279,7 @@ impl ISpDataKey_Vtbl { let this = (*this).get_impl(); match ISpDataKey_Impl::GetStringValue(this, core::mem::transmute(&pszvaluename)) { Ok(ok__) => { - core::ptr::write(ppszvalue, core::mem::transmute(ok__)); + ppszvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -300,7 +300,7 @@ impl ISpDataKey_Vtbl { let this = (*this).get_impl(); match ISpDataKey_Impl::OpenKey(this, core::mem::transmute(&pszsubkeyname)) { Ok(ok__) => { - core::ptr::write(ppsubkey, core::mem::transmute(ok__)); + ppsubkey.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -311,7 +311,7 @@ impl ISpDataKey_Vtbl { let this = (*this).get_impl(); match ISpDataKey_Impl::CreateKey(this, core::mem::transmute(&pszsubkey)) { Ok(ok__) => { - core::ptr::write(ppsubkey, core::mem::transmute(ok__)); + ppsubkey.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -332,7 +332,7 @@ impl ISpDataKey_Vtbl { let this = (*this).get_impl(); match ISpDataKey_Impl::EnumKeys(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(ppszsubkeyname, core::mem::transmute(ok__)); + ppszsubkeyname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -343,7 +343,7 @@ impl ISpDataKey_Vtbl { let this = (*this).get_impl(); match ISpDataKey_Impl::EnumValues(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(ppszvaluename, core::mem::transmute(ok__)); + ppszvaluename.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -981,7 +981,7 @@ impl ISpObjectToken_Vtbl { let this = (*this).get_impl(); match ISpObjectToken_Impl::GetId(this) { Ok(ok__) => { - core::ptr::write(ppszcomemtokenid, core::mem::transmute(ok__)); + ppszcomemtokenid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -992,7 +992,7 @@ impl ISpObjectToken_Vtbl { let this = (*this).get_impl(); match ISpObjectToken_Impl::GetCategory(this) { Ok(ok__) => { - core::ptr::write(pptokencategory, core::mem::transmute(ok__)); + pptokencategory.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1008,7 +1008,7 @@ impl ISpObjectToken_Vtbl { let this = (*this).get_impl(); match ISpObjectToken_Impl::GetStorageFileName(this, core::mem::transmute_copy(&clsidcaller), core::mem::transmute(&pszvaluename), core::mem::transmute(&pszfilenamespecifier), core::mem::transmute_copy(&nfolder)) { Ok(ok__) => { - core::ptr::write(ppszfilepath, core::mem::transmute(ok__)); + ppszfilepath.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1078,7 +1078,7 @@ impl ISpObjectTokenCategory_Vtbl { let this = (*this).get_impl(); match ISpObjectTokenCategory_Impl::GetId(this) { Ok(ok__) => { - core::ptr::write(ppszcomemcategoryid, core::mem::transmute(ok__)); + ppszcomemcategoryid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1089,7 +1089,7 @@ impl ISpObjectTokenCategory_Vtbl { let this = (*this).get_impl(); match ISpObjectTokenCategory_Impl::GetDataKey(this, core::mem::transmute_copy(&spdkl)) { Ok(ok__) => { - core::ptr::write(ppdatakey, core::mem::transmute(ok__)); + ppdatakey.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1100,7 +1100,7 @@ impl ISpObjectTokenCategory_Vtbl { let this = (*this).get_impl(); match ISpObjectTokenCategory_Impl::EnumTokens(this, core::mem::transmute(&pzsreqattribs), core::mem::transmute(&pszoptattribs)) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1116,7 +1116,7 @@ impl ISpObjectTokenCategory_Vtbl { let this = (*this).get_impl(); match ISpObjectTokenCategory_Impl::GetDefaultTokenId(this) { Ok(ok__) => { - core::ptr::write(ppszcomemtokenid, core::mem::transmute(ok__)); + ppszcomemtokenid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1218,7 +1218,7 @@ impl ISpObjectWithToken_Vtbl { let this = (*this).get_impl(); match ISpObjectWithToken_Impl::GetObjectToken(this) { Ok(ok__) => { - core::ptr::write(pptoken, core::mem::transmute(ok__)); + pptoken.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1246,7 +1246,7 @@ impl ISpPhoneConverter_Vtbl { let this = (*this).get_impl(); match ISpPhoneConverter_Impl::PhoneToId(this, core::mem::transmute(&pszphone)) { Ok(ok__) => { - core::ptr::write(pid, core::mem::transmute(ok__)); + pid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1282,7 +1282,7 @@ impl ISpPhoneticAlphabetConverter_Vtbl { let this = (*this).get_impl(); match ISpPhoneticAlphabetConverter_Impl::GetLangId(this) { Ok(ok__) => { - core::ptr::write(plangid, core::mem::transmute(ok__)); + plangid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1308,7 +1308,7 @@ impl ISpPhoneticAlphabetConverter_Vtbl { let this = (*this).get_impl(); match ISpPhoneticAlphabetConverter_Impl::GetMaxConvertLength(this, core::mem::transmute_copy(&csrclength), core::mem::transmute_copy(&bsapi2ups)) { Ok(ok__) => { - core::ptr::write(pcmaxdestlength, core::mem::transmute(ok__)); + pcmaxdestlength.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1339,7 +1339,7 @@ impl ISpPhoneticAlphabetSelection_Vtbl { let this = (*this).get_impl(); match ISpPhoneticAlphabetSelection_Impl::IsAlphabetUPS(this) { Ok(ok__) => { - core::ptr::write(pfisups, core::mem::transmute(ok__)); + pfisups.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1374,7 +1374,7 @@ impl ISpPhrase_Vtbl { let this = (*this).get_impl(); match ISpPhrase_Impl::GetPhrase(this) { Ok(ok__) => { - core::ptr::write(ppcomemphrase, core::mem::transmute(ok__)); + ppcomemphrase.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1385,7 +1385,7 @@ impl ISpPhrase_Vtbl { let this = (*this).get_impl(); match ISpPhrase_Impl::GetSerializedPhrase(this) { Ok(ok__) => { - core::ptr::write(ppcomemphrase, core::mem::transmute(ok__)); + ppcomemphrase.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1439,7 +1439,7 @@ impl ISpPhrase2_Vtbl { let this = (*this).get_impl(); match ISpPhrase2_Impl::GetAudio(this, core::mem::transmute_copy(&ulstartelement), core::mem::transmute_copy(&celements)) { Ok(ok__) => { - core::ptr::write(ppstream, core::mem::transmute(ok__)); + ppstream.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1514,7 +1514,7 @@ impl ISpPhraseBuilder_Vtbl { let this = (*this).get_impl(); match ISpPhraseBuilder_Impl::AddRules(this, core::mem::transmute_copy(&hparent), core::mem::transmute_copy(&prule)) { Ok(ok__) => { - core::ptr::write(phnewrule, core::mem::transmute(ok__)); + phnewrule.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1525,7 +1525,7 @@ impl ISpPhraseBuilder_Vtbl { let this = (*this).get_impl(); match ISpPhraseBuilder_Impl::AddProperties(this, core::mem::transmute_copy(&hparent), core::mem::transmute_copy(&pproperty)) { Ok(ok__) => { - core::ptr::write(phnewproperty, core::mem::transmute(ok__)); + phnewproperty.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1606,7 +1606,7 @@ impl ISpProperties_Vtbl { let this = (*this).get_impl(); match ISpProperties_Impl::GetPropertyString(this, core::mem::transmute(&pname)) { Ok(ok__) => { - core::ptr::write(ppcomemvalue, core::mem::transmute(ok__)); + ppcomemvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1655,7 +1655,7 @@ impl ISpRecoContext_Vtbl { let this = (*this).get_impl(); match ISpRecoContext_Impl::GetRecognizer(this) { Ok(ok__) => { - core::ptr::write(pprecognizer, core::mem::transmute(ok__)); + pprecognizer.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1666,7 +1666,7 @@ impl ISpRecoContext_Vtbl { let this = (*this).get_impl(); match ISpRecoContext_Impl::CreateGrammar(this, core::mem::transmute_copy(&ullgrammarid)) { Ok(ok__) => { - core::ptr::write(ppgrammar, core::mem::transmute(ok__)); + ppgrammar.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1702,7 +1702,7 @@ impl ISpRecoContext_Vtbl { let this = (*this).get_impl(); match ISpRecoContext_Impl::DeserializeResult(this, core::mem::transmute_copy(&pserializedresult)) { Ok(ok__) => { - core::ptr::write(ppresult, core::mem::transmute(ok__)); + ppresult.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1738,7 +1738,7 @@ impl ISpRecoContext_Vtbl { let this = (*this).get_impl(); match ISpRecoContext_Impl::GetVoice(this) { Ok(ok__) => { - core::ptr::write(ppvoice, core::mem::transmute(ok__)); + ppvoice.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1860,7 +1860,7 @@ impl ISpRecoGrammar_Vtbl { let this = (*this).get_impl(); match ISpRecoGrammar_Impl::GetRecoContext(this) { Ok(ok__) => { - core::ptr::write(pprecoctxt, core::mem::transmute(ok__)); + pprecoctxt.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2074,7 +2074,7 @@ impl ISpRecoResult_Vtbl { let this = (*this).get_impl(); match ISpRecoResult_Impl::GetAudio(this, core::mem::transmute_copy(&ulstartelement), core::mem::transmute_copy(&celements)) { Ok(ok__) => { - core::ptr::write(ppstream, core::mem::transmute(ok__)); + ppstream.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2100,7 +2100,7 @@ impl ISpRecoResult_Vtbl { let this = (*this).get_impl(); match ISpRecoResult_Impl::GetRecoContext(this) { Ok(ok__) => { - core::ptr::write(pprecocontext, core::mem::transmute(ok__)); + pprecocontext.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2137,7 +2137,7 @@ impl ISpRecoResult2_Vtbl { let this = (*this).get_impl(); match ISpRecoResult2_Impl::CommitAlternate(this, windows_core::from_raw_borrowed(&pphrasealt)) { Ok(ok__) => { - core::ptr::write(ppnewresult, core::mem::transmute(ok__)); + ppnewresult.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2198,7 +2198,7 @@ impl ISpRecognizer_Vtbl { let this = (*this).get_impl(); match ISpRecognizer_Impl::GetRecognizer(this) { Ok(ok__) => { - core::ptr::write(pprecognizer, core::mem::transmute(ok__)); + pprecognizer.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2214,7 +2214,7 @@ impl ISpRecognizer_Vtbl { let this = (*this).get_impl(); match ISpRecognizer_Impl::GetInputObjectToken(this) { Ok(ok__) => { - core::ptr::write(pptoken, core::mem::transmute(ok__)); + pptoken.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2225,7 +2225,7 @@ impl ISpRecognizer_Vtbl { let this = (*this).get_impl(); match ISpRecognizer_Impl::GetInputStream(this) { Ok(ok__) => { - core::ptr::write(ppstream, core::mem::transmute(ok__)); + ppstream.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2236,7 +2236,7 @@ impl ISpRecognizer_Vtbl { let this = (*this).get_impl(); match ISpRecognizer_Impl::CreateRecoContext(this) { Ok(ok__) => { - core::ptr::write(ppnewctxt, core::mem::transmute(ok__)); + ppnewctxt.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2247,7 +2247,7 @@ impl ISpRecognizer_Vtbl { let this = (*this).get_impl(); match ISpRecognizer_Impl::GetRecoProfile(this) { Ok(ok__) => { - core::ptr::write(pptoken, core::mem::transmute(ok__)); + pptoken.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2532,7 +2532,7 @@ impl ISpSREngine_Vtbl { let this = (*this).get_impl(); match ISpSREngine_Impl::SetProprietaryRuleState(this, core::mem::transmute_copy(&pvenginegrammar), core::mem::transmute(&pszname), core::mem::transmute_copy(&preserved), core::mem::transmute_copy(&newstate)) { Ok(ok__) => { - core::ptr::write(pcruleschanged, core::mem::transmute(ok__)); + pcruleschanged.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2573,7 +2573,7 @@ impl ISpSREngine_Vtbl { let this = (*this).get_impl(); match ISpSREngine_Impl::IsPronounceable(this, core::mem::transmute_copy(&pvenginegrammar), core::mem::transmute(&pszword)) { Ok(ok__) => { - core::ptr::write(pwordpronounceable, core::mem::transmute(ok__)); + pwordpronounceable.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2609,7 +2609,7 @@ impl ISpSREngine_Vtbl { let this = (*this).get_impl(); match ISpSREngine_Impl::GetPropertyNum(this, core::mem::transmute_copy(&esrc), core::mem::transmute_copy(&pvsrcobj), core::mem::transmute(&pname)) { Ok(ok__) => { - core::ptr::write(lvalue, core::mem::transmute(ok__)); + lvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2625,7 +2625,7 @@ impl ISpSREngine_Vtbl { let this = (*this).get_impl(); match ISpSREngine_Impl::GetPropertyString(this, core::mem::transmute_copy(&esrc), core::mem::transmute_copy(&pvsrcobj), core::mem::transmute(&pname)) { Ok(ok__) => { - core::ptr::write(ppcomemvalue, core::mem::transmute(ok__)); + ppcomemvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2814,7 +2814,7 @@ impl ISpSREngineSite_Vtbl { let this = (*this).get_impl(); match ISpSREngineSite_Impl::Read(this, core::mem::transmute_copy(&pv), core::mem::transmute_copy(&cb)) { Ok(ok__) => { - core::ptr::write(pcbread, core::mem::transmute(ok__)); + pcbread.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2825,7 +2825,7 @@ impl ISpSREngineSite_Vtbl { let this = (*this).get_impl(); match ISpSREngineSite_Impl::DataAvailable(this) { Ok(ok__) => { - core::ptr::write(pcb, core::mem::transmute(ok__)); + pcb.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2841,7 +2841,7 @@ impl ISpSREngineSite_Vtbl { let this = (*this).get_impl(); match ISpSREngineSite_Impl::ParseFromTransitions(this, core::mem::transmute_copy(&pparseinfo)) { Ok(ok__) => { - core::ptr::write(ppnewphrase, core::mem::transmute(ok__)); + ppnewphrase.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2892,7 +2892,7 @@ impl ISpSREngineSite_Vtbl { let this = (*this).get_impl(); match ISpSREngineSite_Impl::GetResource(this, core::mem::transmute_copy(&hrule), core::mem::transmute(&pszresourcename)) { Ok(ok__) => { - core::ptr::write(ppcomemresource, core::mem::transmute(ok__)); + ppcomemresource.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2903,7 +2903,7 @@ impl ISpSREngineSite_Vtbl { let this = (*this).get_impl(); match ISpSREngineSite_Impl::GetTransitionProperty(this, core::mem::transmute_copy(&id)) { Ok(ok__) => { - core::ptr::write(ppcomemproperty, core::mem::transmute(ok__)); + ppcomemproperty.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2919,7 +2919,7 @@ impl ISpSREngineSite_Vtbl { let this = (*this).get_impl(); match ISpSREngineSite_Impl::GetMaxAlternates(this, core::mem::transmute_copy(&hrule)) { Ok(ok__) => { - core::ptr::write(pulnumalts, core::mem::transmute(ok__)); + pulnumalts.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2930,7 +2930,7 @@ impl ISpSREngineSite_Vtbl { let this = (*this).get_impl(); match ISpSREngineSite_Impl::GetContextMaxAlternates(this, core::mem::transmute_copy(&hcontext)) { Ok(ok__) => { - core::ptr::write(pulnumalts, core::mem::transmute(ok__)); + pulnumalts.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3068,7 +3068,7 @@ impl ISpShortcut_Vtbl { let this = (*this).get_impl(); match ISpShortcut_Impl::GetGeneration(this) { Ok(ok__) => { - core::ptr::write(pdwgeneration, core::mem::transmute(ok__)); + pdwgeneration.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3132,7 +3132,7 @@ impl ISpStream_Vtbl { let this = (*this).get_impl(); match ISpStream_Impl::GetBaseStream(this) { Ok(ok__) => { - core::ptr::write(ppstream, core::mem::transmute(ok__)); + ppstream.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3174,7 +3174,7 @@ impl ISpStreamFormat_Vtbl { let this = (*this).get_impl(); match ISpStreamFormat_Impl::GetFormat(this, core::mem::transmute_copy(&pguidformatid)) { Ok(ok__) => { - core::ptr::write(ppcomemwaveformatex, core::mem::transmute(ok__)); + ppcomemwaveformatex.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3210,7 +3210,7 @@ impl ISpStreamFormatConverter_Vtbl { let this = (*this).get_impl(); match ISpStreamFormatConverter_Impl::GetBaseStream(this) { Ok(ok__) => { - core::ptr::write(ppstream, core::mem::transmute(ok__)); + ppstream.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3231,7 +3231,7 @@ impl ISpStreamFormatConverter_Vtbl { let this = (*this).get_impl(); match ISpStreamFormatConverter_Impl::ScaleConvertedToBaseOffset(this, core::mem::transmute_copy(&ulloffsetconvertedstream)) { Ok(ok__) => { - core::ptr::write(pulloffsetbasestream, core::mem::transmute(ok__)); + pulloffsetbasestream.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3242,7 +3242,7 @@ impl ISpStreamFormatConverter_Vtbl { let this = (*this).get_impl(); match ISpStreamFormatConverter_Impl::ScaleBaseToConvertedOffset(this, core::mem::transmute_copy(&ulloffsetbasestream)) { Ok(ok__) => { - core::ptr::write(pulloffsetconvertedstream, core::mem::transmute(ok__)); + pulloffsetconvertedstream.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3313,7 +3313,7 @@ impl ISpTTSEngineSite_Vtbl { let this = (*this).get_impl(); match ISpTTSEngineSite_Impl::Write(this, core::mem::transmute_copy(&pbuff), core::mem::transmute_copy(&cb)) { Ok(ok__) => { - core::ptr::write(pcbwritten, core::mem::transmute(ok__)); + pcbwritten.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3324,7 +3324,7 @@ impl ISpTTSEngineSite_Vtbl { let this = (*this).get_impl(); match ISpTTSEngineSite_Impl::GetRate(this) { Ok(ok__) => { - core::ptr::write(prateadjust, core::mem::transmute(ok__)); + prateadjust.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3335,7 +3335,7 @@ impl ISpTTSEngineSite_Vtbl { let this = (*this).get_impl(); match ISpTTSEngineSite_Impl::GetVolume(this) { Ok(ok__) => { - core::ptr::write(pusvolume, core::mem::transmute(ok__)); + pusvolume.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3412,7 +3412,7 @@ impl ISpTaskManager_Vtbl { let this = (*this).get_impl(); match ISpTaskManager_Impl::GetThreadPoolInfo(this) { Ok(ok__) => { - core::ptr::write(ppoolinfo, core::mem::transmute(ok__)); + ppoolinfo.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3428,7 +3428,7 @@ impl ISpTaskManager_Vtbl { let this = (*this).get_impl(); match ISpTaskManager_Impl::CreateReoccurringTask(this, windows_core::from_raw_borrowed(&ptask), core::mem::transmute_copy(&pvtaskdata), core::mem::transmute_copy(&hcompevent)) { Ok(ok__) => { - core::ptr::write(pptaskctrl, core::mem::transmute(ok__)); + pptaskctrl.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3439,7 +3439,7 @@ impl ISpTaskManager_Vtbl { let this = (*this).get_impl(); match ISpTaskManager_Impl::CreateThreadControl(this, windows_core::from_raw_borrowed(&ptask), core::mem::transmute_copy(&pvtaskdata), core::mem::transmute_copy(&npriority)) { Ok(ok__) => { - core::ptr::write(pptaskctrl, core::mem::transmute(ok__)); + pptaskctrl.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3489,7 +3489,7 @@ impl ISpThreadControl_Vtbl { let this = (*this).get_impl(); match ISpThreadControl_Impl::StartThread(this, core::mem::transmute_copy(&dwflags)) { Ok(ok__) => { - core::ptr::write(phwnd, core::mem::transmute(ok__)); + phwnd.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3601,7 +3601,7 @@ impl ISpTokenUI_Vtbl { let this = (*this).get_impl(); match ISpTokenUI_Impl::IsUISupported(this, core::mem::transmute(&psztypeofui), core::mem::transmute_copy(&pvextradata), core::mem::transmute_copy(&cbextradata), windows_core::from_raw_borrowed(&punkobject)) { Ok(ok__) => { - core::ptr::write(pfsupported, core::mem::transmute(ok__)); + pfsupported.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3634,7 +3634,7 @@ impl ISpTranscript_Vtbl { let this = (*this).get_impl(); match ISpTranscript_Impl::GetTranscript(this) { Ok(ok__) => { - core::ptr::write(ppsztranscript, core::mem::transmute(ok__)); + ppsztranscript.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3698,7 +3698,7 @@ impl ISpVoice_Vtbl { let this = (*this).get_impl(); match ISpVoice_Impl::GetOutputObjectToken(this) { Ok(ok__) => { - core::ptr::write(ppobjecttoken, core::mem::transmute(ok__)); + ppobjecttoken.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3709,7 +3709,7 @@ impl ISpVoice_Vtbl { let this = (*this).get_impl(); match ISpVoice_Impl::GetOutputStream(this) { Ok(ok__) => { - core::ptr::write(ppstream, core::mem::transmute(ok__)); + ppstream.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3735,7 +3735,7 @@ impl ISpVoice_Vtbl { let this = (*this).get_impl(); match ISpVoice_Impl::GetVoice(this) { Ok(ok__) => { - core::ptr::write(pptoken, core::mem::transmute(ok__)); + pptoken.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3916,7 +3916,7 @@ impl ISpeechAudio_Vtbl { let this = (*this).get_impl(); match ISpeechAudio_Impl::Status(this) { Ok(ok__) => { - core::ptr::write(status, core::mem::transmute(ok__)); + status.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3927,7 +3927,7 @@ impl ISpeechAudio_Vtbl { let this = (*this).get_impl(); match ISpeechAudio_Impl::BufferInfo(this) { Ok(ok__) => { - core::ptr::write(bufferinfo, core::mem::transmute(ok__)); + bufferinfo.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3938,7 +3938,7 @@ impl ISpeechAudio_Vtbl { let this = (*this).get_impl(); match ISpeechAudio_Impl::DefaultFormat(this) { Ok(ok__) => { - core::ptr::write(streamformat, core::mem::transmute(ok__)); + streamformat.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3949,7 +3949,7 @@ impl ISpeechAudio_Vtbl { let this = (*this).get_impl(); match ISpeechAudio_Impl::Volume(this) { Ok(ok__) => { - core::ptr::write(volume, core::mem::transmute(ok__)); + volume.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3965,7 +3965,7 @@ impl ISpeechAudio_Vtbl { let this = (*this).get_impl(); match ISpeechAudio_Impl::BufferNotifySize(this) { Ok(ok__) => { - core::ptr::write(buffernotifysize, core::mem::transmute(ok__)); + buffernotifysize.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3981,7 +3981,7 @@ impl ISpeechAudio_Vtbl { let this = (*this).get_impl(); match ISpeechAudio_Impl::EventHandle(this) { Ok(ok__) => { - core::ptr::write(eventhandle, core::mem::transmute(ok__)); + eventhandle.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4028,7 +4028,7 @@ impl ISpeechAudioBufferInfo_Vtbl { let this = (*this).get_impl(); match ISpeechAudioBufferInfo_Impl::MinNotification(this) { Ok(ok__) => { - core::ptr::write(minnotification, core::mem::transmute(ok__)); + minnotification.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4044,7 +4044,7 @@ impl ISpeechAudioBufferInfo_Vtbl { let this = (*this).get_impl(); match ISpeechAudioBufferInfo_Impl::BufferSize(this) { Ok(ok__) => { - core::ptr::write(buffersize, core::mem::transmute(ok__)); + buffersize.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4060,7 +4060,7 @@ impl ISpeechAudioBufferInfo_Vtbl { let this = (*this).get_impl(); match ISpeechAudioBufferInfo_Impl::EventBias(this) { Ok(ok__) => { - core::ptr::write(eventbias, core::mem::transmute(ok__)); + eventbias.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4104,7 +4104,7 @@ impl ISpeechAudioFormat_Vtbl { let this = (*this).get_impl(); match ISpeechAudioFormat_Impl::Type(this) { Ok(ok__) => { - core::ptr::write(audioformat, core::mem::transmute(ok__)); + audioformat.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4120,7 +4120,7 @@ impl ISpeechAudioFormat_Vtbl { let this = (*this).get_impl(); match ISpeechAudioFormat_Impl::Guid(this) { Ok(ok__) => { - core::ptr::write(guid, core::mem::transmute(ok__)); + guid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4136,7 +4136,7 @@ impl ISpeechAudioFormat_Vtbl { let this = (*this).get_impl(); match ISpeechAudioFormat_Impl::GetWaveFormatEx(this) { Ok(ok__) => { - core::ptr::write(speechwaveformatex, core::mem::transmute(ok__)); + speechwaveformatex.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4179,7 +4179,7 @@ impl ISpeechAudioStatus_Vtbl { let this = (*this).get_impl(); match ISpeechAudioStatus_Impl::FreeBufferSpace(this) { Ok(ok__) => { - core::ptr::write(freebufferspace, core::mem::transmute(ok__)); + freebufferspace.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4190,7 +4190,7 @@ impl ISpeechAudioStatus_Vtbl { let this = (*this).get_impl(); match ISpeechAudioStatus_Impl::NonBlockingIO(this) { Ok(ok__) => { - core::ptr::write(nonblockingio, core::mem::transmute(ok__)); + nonblockingio.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4201,7 +4201,7 @@ impl ISpeechAudioStatus_Vtbl { let this = (*this).get_impl(); match ISpeechAudioStatus_Impl::State(this) { Ok(ok__) => { - core::ptr::write(state, core::mem::transmute(ok__)); + state.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4212,7 +4212,7 @@ impl ISpeechAudioStatus_Vtbl { let this = (*this).get_impl(); match ISpeechAudioStatus_Impl::CurrentSeekPosition(this) { Ok(ok__) => { - core::ptr::write(currentseekposition, core::mem::transmute(ok__)); + currentseekposition.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4223,7 +4223,7 @@ impl ISpeechAudioStatus_Vtbl { let this = (*this).get_impl(); match ISpeechAudioStatus_Impl::CurrentDevicePosition(this) { Ok(ok__) => { - core::ptr::write(currentdeviceposition, core::mem::transmute(ok__)); + currentdeviceposition.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4260,7 +4260,7 @@ impl ISpeechBaseStream_Vtbl { let this = (*this).get_impl(); match ISpeechBaseStream_Impl::Format(this) { Ok(ok__) => { - core::ptr::write(audioformat, core::mem::transmute(ok__)); + audioformat.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4281,7 +4281,7 @@ impl ISpeechBaseStream_Vtbl { let this = (*this).get_impl(); match ISpeechBaseStream_Impl::Write(this, core::mem::transmute(&buffer)) { Ok(ok__) => { - core::ptr::write(byteswritten, core::mem::transmute(ok__)); + byteswritten.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4292,7 +4292,7 @@ impl ISpeechBaseStream_Vtbl { let this = (*this).get_impl(); match ISpeechBaseStream_Impl::Seek(this, core::mem::transmute(&position), core::mem::transmute_copy(&origin)) { Ok(ok__) => { - core::ptr::write(newposition, core::mem::transmute(ok__)); + newposition.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4326,7 +4326,7 @@ impl ISpeechCustomStream_Vtbl { let this = (*this).get_impl(); match ISpeechCustomStream_Impl::BaseStream(this) { Ok(ok__) => { - core::ptr::write(ppunkstream, core::mem::transmute(ok__)); + ppunkstream.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4377,7 +4377,7 @@ impl ISpeechDataKey_Vtbl { let this = (*this).get_impl(); match ISpeechDataKey_Impl::GetBinaryValue(this, core::mem::transmute(&valuename)) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4393,7 +4393,7 @@ impl ISpeechDataKey_Vtbl { let this = (*this).get_impl(); match ISpeechDataKey_Impl::GetStringValue(this, core::mem::transmute(&valuename)) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4409,7 +4409,7 @@ impl ISpeechDataKey_Vtbl { let this = (*this).get_impl(); match ISpeechDataKey_Impl::GetLongValue(this, core::mem::transmute(&valuename)) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4420,7 +4420,7 @@ impl ISpeechDataKey_Vtbl { let this = (*this).get_impl(); match ISpeechDataKey_Impl::OpenKey(this, core::mem::transmute(&subkeyname)) { Ok(ok__) => { - core::ptr::write(subkey, core::mem::transmute(ok__)); + subkey.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4431,7 +4431,7 @@ impl ISpeechDataKey_Vtbl { let this = (*this).get_impl(); match ISpeechDataKey_Impl::CreateKey(this, core::mem::transmute(&subkeyname)) { Ok(ok__) => { - core::ptr::write(subkey, core::mem::transmute(ok__)); + subkey.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4452,7 +4452,7 @@ impl ISpeechDataKey_Vtbl { let this = (*this).get_impl(); match ISpeechDataKey_Impl::EnumKeys(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(subkeyname, core::mem::transmute(ok__)); + subkeyname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4463,7 +4463,7 @@ impl ISpeechDataKey_Vtbl { let this = (*this).get_impl(); match ISpeechDataKey_Impl::EnumValues(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(valuename, core::mem::transmute(ok__)); + valuename.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4535,7 +4535,7 @@ impl ISpeechGrammarRule_Vtbl { let this = (*this).get_impl(); match ISpeechGrammarRule_Impl::Attributes(this) { Ok(ok__) => { - core::ptr::write(attributes, core::mem::transmute(ok__)); + attributes.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4546,7 +4546,7 @@ impl ISpeechGrammarRule_Vtbl { let this = (*this).get_impl(); match ISpeechGrammarRule_Impl::InitialState(this) { Ok(ok__) => { - core::ptr::write(state, core::mem::transmute(ok__)); + state.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4557,7 +4557,7 @@ impl ISpeechGrammarRule_Vtbl { let this = (*this).get_impl(); match ISpeechGrammarRule_Impl::Name(this) { Ok(ok__) => { - core::ptr::write(name, core::mem::transmute(ok__)); + name.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4568,7 +4568,7 @@ impl ISpeechGrammarRule_Vtbl { let this = (*this).get_impl(); match ISpeechGrammarRule_Impl::Id(this) { Ok(ok__) => { - core::ptr::write(id, core::mem::transmute(ok__)); + id.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4589,7 +4589,7 @@ impl ISpeechGrammarRule_Vtbl { let this = (*this).get_impl(); match ISpeechGrammarRule_Impl::AddState(this) { Ok(ok__) => { - core::ptr::write(state, core::mem::transmute(ok__)); + state.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4628,7 +4628,7 @@ impl ISpeechGrammarRuleState_Vtbl { let this = (*this).get_impl(); match ISpeechGrammarRuleState_Impl::Rule(this) { Ok(ok__) => { - core::ptr::write(rule, core::mem::transmute(ok__)); + rule.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4639,7 +4639,7 @@ impl ISpeechGrammarRuleState_Vtbl { let this = (*this).get_impl(); match ISpeechGrammarRuleState_Impl::Transitions(this) { Ok(ok__) => { - core::ptr::write(transitions, core::mem::transmute(ok__)); + transitions.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4694,7 +4694,7 @@ impl ISpeechGrammarRuleStateTransition_Vtbl { let this = (*this).get_impl(); match ISpeechGrammarRuleStateTransition_Impl::Type(this) { Ok(ok__) => { - core::ptr::write(r#type, core::mem::transmute(ok__)); + r#type.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4705,7 +4705,7 @@ impl ISpeechGrammarRuleStateTransition_Vtbl { let this = (*this).get_impl(); match ISpeechGrammarRuleStateTransition_Impl::Text(this) { Ok(ok__) => { - core::ptr::write(text, core::mem::transmute(ok__)); + text.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4716,7 +4716,7 @@ impl ISpeechGrammarRuleStateTransition_Vtbl { let this = (*this).get_impl(); match ISpeechGrammarRuleStateTransition_Impl::Rule(this) { Ok(ok__) => { - core::ptr::write(rule, core::mem::transmute(ok__)); + rule.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4727,7 +4727,7 @@ impl ISpeechGrammarRuleStateTransition_Vtbl { let this = (*this).get_impl(); match ISpeechGrammarRuleStateTransition_Impl::Weight(this) { Ok(ok__) => { - core::ptr::write(weight, core::mem::transmute(ok__)); + weight.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4738,7 +4738,7 @@ impl ISpeechGrammarRuleStateTransition_Vtbl { let this = (*this).get_impl(); match ISpeechGrammarRuleStateTransition_Impl::PropertyName(this) { Ok(ok__) => { - core::ptr::write(propertyname, core::mem::transmute(ok__)); + propertyname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4749,7 +4749,7 @@ impl ISpeechGrammarRuleStateTransition_Vtbl { let this = (*this).get_impl(); match ISpeechGrammarRuleStateTransition_Impl::PropertyId(this) { Ok(ok__) => { - core::ptr::write(propertyid, core::mem::transmute(ok__)); + propertyid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4760,7 +4760,7 @@ impl ISpeechGrammarRuleStateTransition_Vtbl { let this = (*this).get_impl(); match ISpeechGrammarRuleStateTransition_Impl::PropertyValue(this) { Ok(ok__) => { - core::ptr::write(propertyvalue, core::mem::transmute(ok__)); + propertyvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4771,7 +4771,7 @@ impl ISpeechGrammarRuleStateTransition_Vtbl { let this = (*this).get_impl(); match ISpeechGrammarRuleStateTransition_Impl::NextState(this) { Ok(ok__) => { - core::ptr::write(nextstate, core::mem::transmute(ok__)); + nextstate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4809,7 +4809,7 @@ impl ISpeechGrammarRuleStateTransitions_Vtbl { let this = (*this).get_impl(); match ISpeechGrammarRuleStateTransitions_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(count, core::mem::transmute(ok__)); + count.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4820,7 +4820,7 @@ impl ISpeechGrammarRuleStateTransitions_Vtbl { let this = (*this).get_impl(); match ISpeechGrammarRuleStateTransitions_Impl::Item(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(transition, core::mem::transmute(ok__)); + transition.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4831,7 +4831,7 @@ impl ISpeechGrammarRuleStateTransitions_Vtbl { let this = (*this).get_impl(); match ISpeechGrammarRuleStateTransitions_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(enumvariant, core::mem::transmute(ok__)); + enumvariant.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4869,7 +4869,7 @@ impl ISpeechGrammarRules_Vtbl { let this = (*this).get_impl(); match ISpeechGrammarRules_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(count, core::mem::transmute(ok__)); + count.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4880,7 +4880,7 @@ impl ISpeechGrammarRules_Vtbl { let this = (*this).get_impl(); match ISpeechGrammarRules_Impl::FindRule(this, core::mem::transmute(&rulenameorid)) { Ok(ok__) => { - core::ptr::write(rule, core::mem::transmute(ok__)); + rule.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4891,7 +4891,7 @@ impl ISpeechGrammarRules_Vtbl { let this = (*this).get_impl(); match ISpeechGrammarRules_Impl::Item(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(rule, core::mem::transmute(ok__)); + rule.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4902,7 +4902,7 @@ impl ISpeechGrammarRules_Vtbl { let this = (*this).get_impl(); match ISpeechGrammarRules_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(enumvariant, core::mem::transmute(ok__)); + enumvariant.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4913,7 +4913,7 @@ impl ISpeechGrammarRules_Vtbl { let this = (*this).get_impl(); match ISpeechGrammarRules_Impl::Dynamic(this) { Ok(ok__) => { - core::ptr::write(dynamic, core::mem::transmute(ok__)); + dynamic.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4924,7 +4924,7 @@ impl ISpeechGrammarRules_Vtbl { let this = (*this).get_impl(); match ISpeechGrammarRules_Impl::Add(this, core::mem::transmute(&rulename), core::mem::transmute_copy(&attributes), core::mem::transmute_copy(&ruleid)) { Ok(ok__) => { - core::ptr::write(rule, core::mem::transmute(ok__)); + rule.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4977,7 +4977,7 @@ impl ISpeechLexicon_Vtbl { let this = (*this).get_impl(); match ISpeechLexicon_Impl::GenerationId(this) { Ok(ok__) => { - core::ptr::write(generationid, core::mem::transmute(ok__)); + generationid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5013,7 +5013,7 @@ impl ISpeechLexicon_Vtbl { let this = (*this).get_impl(); match ISpeechLexicon_Impl::GetPronunciations(this, core::mem::transmute(&bstrword), core::mem::transmute_copy(&langid), core::mem::transmute_copy(&typeflags)) { Ok(ok__) => { - core::ptr::write(pppronunciations, core::mem::transmute(ok__)); + pppronunciations.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5058,7 +5058,7 @@ impl ISpeechLexiconPronunciation_Vtbl { let this = (*this).get_impl(); match ISpeechLexiconPronunciation_Impl::Type(this) { Ok(ok__) => { - core::ptr::write(lexicontype, core::mem::transmute(ok__)); + lexicontype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5069,7 +5069,7 @@ impl ISpeechLexiconPronunciation_Vtbl { let this = (*this).get_impl(); match ISpeechLexiconPronunciation_Impl::LangId(this) { Ok(ok__) => { - core::ptr::write(langid, core::mem::transmute(ok__)); + langid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5080,7 +5080,7 @@ impl ISpeechLexiconPronunciation_Vtbl { let this = (*this).get_impl(); match ISpeechLexiconPronunciation_Impl::PartOfSpeech(this) { Ok(ok__) => { - core::ptr::write(partofspeech, core::mem::transmute(ok__)); + partofspeech.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5091,7 +5091,7 @@ impl ISpeechLexiconPronunciation_Vtbl { let this = (*this).get_impl(); match ISpeechLexiconPronunciation_Impl::PhoneIds(this) { Ok(ok__) => { - core::ptr::write(phoneids, core::mem::transmute(ok__)); + phoneids.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5102,7 +5102,7 @@ impl ISpeechLexiconPronunciation_Vtbl { let this = (*this).get_impl(); match ISpeechLexiconPronunciation_Impl::Symbolic(this) { Ok(ok__) => { - core::ptr::write(symbolic, core::mem::transmute(ok__)); + symbolic.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5137,7 +5137,7 @@ impl ISpeechLexiconPronunciations_Vtbl { let this = (*this).get_impl(); match ISpeechLexiconPronunciations_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(count, core::mem::transmute(ok__)); + count.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5148,7 +5148,7 @@ impl ISpeechLexiconPronunciations_Vtbl { let this = (*this).get_impl(); match ISpeechLexiconPronunciations_Impl::Item(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(pronunciation, core::mem::transmute(ok__)); + pronunciation.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5159,7 +5159,7 @@ impl ISpeechLexiconPronunciations_Vtbl { let this = (*this).get_impl(); match ISpeechLexiconPronunciations_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(enumvariant, core::mem::transmute(ok__)); + enumvariant.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5193,7 +5193,7 @@ impl ISpeechLexiconWord_Vtbl { let this = (*this).get_impl(); match ISpeechLexiconWord_Impl::LangId(this) { Ok(ok__) => { - core::ptr::write(langid, core::mem::transmute(ok__)); + langid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5204,7 +5204,7 @@ impl ISpeechLexiconWord_Vtbl { let this = (*this).get_impl(); match ISpeechLexiconWord_Impl::Type(this) { Ok(ok__) => { - core::ptr::write(wordtype, core::mem::transmute(ok__)); + wordtype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5215,7 +5215,7 @@ impl ISpeechLexiconWord_Vtbl { let this = (*this).get_impl(); match ISpeechLexiconWord_Impl::Word(this) { Ok(ok__) => { - core::ptr::write(word, core::mem::transmute(ok__)); + word.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5226,7 +5226,7 @@ impl ISpeechLexiconWord_Vtbl { let this = (*this).get_impl(); match ISpeechLexiconWord_Impl::Pronunciations(this) { Ok(ok__) => { - core::ptr::write(pronunciations, core::mem::transmute(ok__)); + pronunciations.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5260,7 +5260,7 @@ impl ISpeechLexiconWords_Vtbl { let this = (*this).get_impl(); match ISpeechLexiconWords_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(count, core::mem::transmute(ok__)); + count.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5271,7 +5271,7 @@ impl ISpeechLexiconWords_Vtbl { let this = (*this).get_impl(); match ISpeechLexiconWords_Impl::Item(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(word, core::mem::transmute(ok__)); + word.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5282,7 +5282,7 @@ impl ISpeechLexiconWords_Vtbl { let this = (*this).get_impl(); match ISpeechLexiconWords_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(enumvariant, core::mem::transmute(ok__)); + enumvariant.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5317,7 +5317,7 @@ impl ISpeechMMSysAudio_Vtbl { let this = (*this).get_impl(); match ISpeechMMSysAudio_Impl::DeviceId(this) { Ok(ok__) => { - core::ptr::write(deviceid, core::mem::transmute(ok__)); + deviceid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5333,7 +5333,7 @@ impl ISpeechMMSysAudio_Vtbl { let this = (*this).get_impl(); match ISpeechMMSysAudio_Impl::LineId(this) { Ok(ok__) => { - core::ptr::write(lineid, core::mem::transmute(ok__)); + lineid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5349,7 +5349,7 @@ impl ISpeechMMSysAudio_Vtbl { let this = (*this).get_impl(); match ISpeechMMSysAudio_Impl::MMHandle(this) { Ok(ok__) => { - core::ptr::write(handle, core::mem::transmute(ok__)); + handle.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5388,7 +5388,7 @@ impl ISpeechMemoryStream_Vtbl { let this = (*this).get_impl(); match ISpeechMemoryStream_Impl::GetData(this) { Ok(ok__) => { - core::ptr::write(pdata, core::mem::transmute(ok__)); + pdata.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5430,7 +5430,7 @@ impl ISpeechObjectToken_Vtbl { let this = (*this).get_impl(); match ISpeechObjectToken_Impl::Id(this) { Ok(ok__) => { - core::ptr::write(objectid, core::mem::transmute(ok__)); + objectid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5441,7 +5441,7 @@ impl ISpeechObjectToken_Vtbl { let this = (*this).get_impl(); match ISpeechObjectToken_Impl::DataKey(this) { Ok(ok__) => { - core::ptr::write(datakey, core::mem::transmute(ok__)); + datakey.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5452,7 +5452,7 @@ impl ISpeechObjectToken_Vtbl { let this = (*this).get_impl(); match ISpeechObjectToken_Impl::Category(this) { Ok(ok__) => { - core::ptr::write(category, core::mem::transmute(ok__)); + category.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5463,7 +5463,7 @@ impl ISpeechObjectToken_Vtbl { let this = (*this).get_impl(); match ISpeechObjectToken_Impl::GetDescription(this, core::mem::transmute_copy(&locale)) { Ok(ok__) => { - core::ptr::write(description, core::mem::transmute(ok__)); + description.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5479,7 +5479,7 @@ impl ISpeechObjectToken_Vtbl { let this = (*this).get_impl(); match ISpeechObjectToken_Impl::GetAttribute(this, core::mem::transmute(&attributename)) { Ok(ok__) => { - core::ptr::write(attributevalue, core::mem::transmute(ok__)); + attributevalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5490,7 +5490,7 @@ impl ISpeechObjectToken_Vtbl { let this = (*this).get_impl(); match ISpeechObjectToken_Impl::CreateInstance(this, windows_core::from_raw_borrowed(&punkouter), core::mem::transmute_copy(&clscontext)) { Ok(ok__) => { - core::ptr::write(object, core::mem::transmute(ok__)); + object.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5506,7 +5506,7 @@ impl ISpeechObjectToken_Vtbl { let this = (*this).get_impl(); match ISpeechObjectToken_Impl::GetStorageFileName(this, core::mem::transmute(&objectstorageclsid), core::mem::transmute(&keyname), core::mem::transmute(&filename), core::mem::transmute_copy(&folder)) { Ok(ok__) => { - core::ptr::write(filepath, core::mem::transmute(ok__)); + filepath.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5522,7 +5522,7 @@ impl ISpeechObjectToken_Vtbl { let this = (*this).get_impl(); match ISpeechObjectToken_Impl::IsUISupported(this, core::mem::transmute(&typeofui), core::mem::transmute_copy(&extradata), windows_core::from_raw_borrowed(&object)) { Ok(ok__) => { - core::ptr::write(supported, core::mem::transmute(ok__)); + supported.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5538,7 +5538,7 @@ impl ISpeechObjectToken_Vtbl { let this = (*this).get_impl(); match ISpeechObjectToken_Impl::MatchesAttributes(this, core::mem::transmute(&attributes)) { Ok(ok__) => { - core::ptr::write(matches, core::mem::transmute(ok__)); + matches.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5584,7 +5584,7 @@ impl ISpeechObjectTokenCategory_Vtbl { let this = (*this).get_impl(); match ISpeechObjectTokenCategory_Impl::Id(this) { Ok(ok__) => { - core::ptr::write(id, core::mem::transmute(ok__)); + id.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5600,7 +5600,7 @@ impl ISpeechObjectTokenCategory_Vtbl { let this = (*this).get_impl(); match ISpeechObjectTokenCategory_Impl::Default(this) { Ok(ok__) => { - core::ptr::write(tokenid, core::mem::transmute(ok__)); + tokenid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5616,7 +5616,7 @@ impl ISpeechObjectTokenCategory_Vtbl { let this = (*this).get_impl(); match ISpeechObjectTokenCategory_Impl::GetDataKey(this, core::mem::transmute_copy(&location)) { Ok(ok__) => { - core::ptr::write(datakey, core::mem::transmute(ok__)); + datakey.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5627,7 +5627,7 @@ impl ISpeechObjectTokenCategory_Vtbl { let this = (*this).get_impl(); match ISpeechObjectTokenCategory_Impl::EnumerateTokens(this, core::mem::transmute(&requiredattributes), core::mem::transmute(&optionalattributes)) { Ok(ok__) => { - core::ptr::write(tokens, core::mem::transmute(ok__)); + tokens.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5663,7 +5663,7 @@ impl ISpeechObjectTokens_Vtbl { let this = (*this).get_impl(); match ISpeechObjectTokens_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(count, core::mem::transmute(ok__)); + count.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5674,7 +5674,7 @@ impl ISpeechObjectTokens_Vtbl { let this = (*this).get_impl(); match ISpeechObjectTokens_Impl::Item(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(token, core::mem::transmute(ok__)); + token.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5685,7 +5685,7 @@ impl ISpeechObjectTokens_Vtbl { let this = (*this).get_impl(); match ISpeechObjectTokens_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(ppenumvariant, core::mem::transmute(ok__)); + ppenumvariant.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5719,7 +5719,7 @@ impl ISpeechPhoneConverter_Vtbl { let this = (*this).get_impl(); match ISpeechPhoneConverter_Impl::LanguageId(this) { Ok(ok__) => { - core::ptr::write(languageid, core::mem::transmute(ok__)); + languageid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5735,7 +5735,7 @@ impl ISpeechPhoneConverter_Vtbl { let this = (*this).get_impl(); match ISpeechPhoneConverter_Impl::PhoneToId(this, core::mem::transmute(&phonemes)) { Ok(ok__) => { - core::ptr::write(idarray, core::mem::transmute(ok__)); + idarray.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5746,7 +5746,7 @@ impl ISpeechPhoneConverter_Vtbl { let this = (*this).get_impl(); match ISpeechPhoneConverter_Impl::IdToPhone(this, core::mem::transmute(&idarray)) { Ok(ok__) => { - core::ptr::write(phonemes, core::mem::transmute(ok__)); + phonemes.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5782,7 +5782,7 @@ impl ISpeechPhraseAlternate_Vtbl { let this = (*this).get_impl(); match ISpeechPhraseAlternate_Impl::RecoResult(this) { Ok(ok__) => { - core::ptr::write(recoresult, core::mem::transmute(ok__)); + recoresult.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5793,7 +5793,7 @@ impl ISpeechPhraseAlternate_Vtbl { let this = (*this).get_impl(); match ISpeechPhraseAlternate_Impl::StartElementInResult(this) { Ok(ok__) => { - core::ptr::write(startelement, core::mem::transmute(ok__)); + startelement.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5804,7 +5804,7 @@ impl ISpeechPhraseAlternate_Vtbl { let this = (*this).get_impl(); match ISpeechPhraseAlternate_Impl::NumberOfElementsInResult(this) { Ok(ok__) => { - core::ptr::write(numberofelements, core::mem::transmute(ok__)); + numberofelements.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5815,7 +5815,7 @@ impl ISpeechPhraseAlternate_Vtbl { let this = (*this).get_impl(); match ISpeechPhraseAlternate_Impl::PhraseInfo(this) { Ok(ok__) => { - core::ptr::write(phraseinfo, core::mem::transmute(ok__)); + phraseinfo.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5855,7 +5855,7 @@ impl ISpeechPhraseAlternates_Vtbl { let this = (*this).get_impl(); match ISpeechPhraseAlternates_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(count, core::mem::transmute(ok__)); + count.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5866,7 +5866,7 @@ impl ISpeechPhraseAlternates_Vtbl { let this = (*this).get_impl(); match ISpeechPhraseAlternates_Impl::Item(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(phrasealternate, core::mem::transmute(ok__)); + phrasealternate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5877,7 +5877,7 @@ impl ISpeechPhraseAlternates_Vtbl { let this = (*this).get_impl(); match ISpeechPhraseAlternates_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(enumvariant, core::mem::transmute(ok__)); + enumvariant.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5920,7 +5920,7 @@ impl ISpeechPhraseElement_Vtbl { let this = (*this).get_impl(); match ISpeechPhraseElement_Impl::AudioTimeOffset(this) { Ok(ok__) => { - core::ptr::write(audiotimeoffset, core::mem::transmute(ok__)); + audiotimeoffset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5931,7 +5931,7 @@ impl ISpeechPhraseElement_Vtbl { let this = (*this).get_impl(); match ISpeechPhraseElement_Impl::AudioSizeTime(this) { Ok(ok__) => { - core::ptr::write(audiosizetime, core::mem::transmute(ok__)); + audiosizetime.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5942,7 +5942,7 @@ impl ISpeechPhraseElement_Vtbl { let this = (*this).get_impl(); match ISpeechPhraseElement_Impl::AudioStreamOffset(this) { Ok(ok__) => { - core::ptr::write(audiostreamoffset, core::mem::transmute(ok__)); + audiostreamoffset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5953,7 +5953,7 @@ impl ISpeechPhraseElement_Vtbl { let this = (*this).get_impl(); match ISpeechPhraseElement_Impl::AudioSizeBytes(this) { Ok(ok__) => { - core::ptr::write(audiosizebytes, core::mem::transmute(ok__)); + audiosizebytes.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5964,7 +5964,7 @@ impl ISpeechPhraseElement_Vtbl { let this = (*this).get_impl(); match ISpeechPhraseElement_Impl::RetainedStreamOffset(this) { Ok(ok__) => { - core::ptr::write(retainedstreamoffset, core::mem::transmute(ok__)); + retainedstreamoffset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5975,7 +5975,7 @@ impl ISpeechPhraseElement_Vtbl { let this = (*this).get_impl(); match ISpeechPhraseElement_Impl::RetainedSizeBytes(this) { Ok(ok__) => { - core::ptr::write(retainedsizebytes, core::mem::transmute(ok__)); + retainedsizebytes.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5986,7 +5986,7 @@ impl ISpeechPhraseElement_Vtbl { let this = (*this).get_impl(); match ISpeechPhraseElement_Impl::DisplayText(this) { Ok(ok__) => { - core::ptr::write(displaytext, core::mem::transmute(ok__)); + displaytext.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5997,7 +5997,7 @@ impl ISpeechPhraseElement_Vtbl { let this = (*this).get_impl(); match ISpeechPhraseElement_Impl::LexicalForm(this) { Ok(ok__) => { - core::ptr::write(lexicalform, core::mem::transmute(ok__)); + lexicalform.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6008,7 +6008,7 @@ impl ISpeechPhraseElement_Vtbl { let this = (*this).get_impl(); match ISpeechPhraseElement_Impl::Pronunciation(this) { Ok(ok__) => { - core::ptr::write(pronunciation, core::mem::transmute(ok__)); + pronunciation.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6019,7 +6019,7 @@ impl ISpeechPhraseElement_Vtbl { let this = (*this).get_impl(); match ISpeechPhraseElement_Impl::DisplayAttributes(this) { Ok(ok__) => { - core::ptr::write(displayattributes, core::mem::transmute(ok__)); + displayattributes.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6030,7 +6030,7 @@ impl ISpeechPhraseElement_Vtbl { let this = (*this).get_impl(); match ISpeechPhraseElement_Impl::RequiredConfidence(this) { Ok(ok__) => { - core::ptr::write(requiredconfidence, core::mem::transmute(ok__)); + requiredconfidence.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6041,7 +6041,7 @@ impl ISpeechPhraseElement_Vtbl { let this = (*this).get_impl(); match ISpeechPhraseElement_Impl::ActualConfidence(this) { Ok(ok__) => { - core::ptr::write(actualconfidence, core::mem::transmute(ok__)); + actualconfidence.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6052,7 +6052,7 @@ impl ISpeechPhraseElement_Vtbl { let this = (*this).get_impl(); match ISpeechPhraseElement_Impl::EngineConfidence(this) { Ok(ok__) => { - core::ptr::write(engineconfidence, core::mem::transmute(ok__)); + engineconfidence.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6095,7 +6095,7 @@ impl ISpeechPhraseElements_Vtbl { let this = (*this).get_impl(); match ISpeechPhraseElements_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(count, core::mem::transmute(ok__)); + count.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6106,7 +6106,7 @@ impl ISpeechPhraseElements_Vtbl { let this = (*this).get_impl(); match ISpeechPhraseElements_Impl::Item(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(element, core::mem::transmute(ok__)); + element.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6117,7 +6117,7 @@ impl ISpeechPhraseElements_Vtbl { let this = (*this).get_impl(); match ISpeechPhraseElements_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(enumvariant, core::mem::transmute(ok__)); + enumvariant.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6163,7 +6163,7 @@ impl ISpeechPhraseInfo_Vtbl { let this = (*this).get_impl(); match ISpeechPhraseInfo_Impl::LanguageId(this) { Ok(ok__) => { - core::ptr::write(languageid, core::mem::transmute(ok__)); + languageid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6174,7 +6174,7 @@ impl ISpeechPhraseInfo_Vtbl { let this = (*this).get_impl(); match ISpeechPhraseInfo_Impl::GrammarId(this) { Ok(ok__) => { - core::ptr::write(grammarid, core::mem::transmute(ok__)); + grammarid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6185,7 +6185,7 @@ impl ISpeechPhraseInfo_Vtbl { let this = (*this).get_impl(); match ISpeechPhraseInfo_Impl::StartTime(this) { Ok(ok__) => { - core::ptr::write(starttime, core::mem::transmute(ok__)); + starttime.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6196,7 +6196,7 @@ impl ISpeechPhraseInfo_Vtbl { let this = (*this).get_impl(); match ISpeechPhraseInfo_Impl::AudioStreamPosition(this) { Ok(ok__) => { - core::ptr::write(audiostreamposition, core::mem::transmute(ok__)); + audiostreamposition.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6207,7 +6207,7 @@ impl ISpeechPhraseInfo_Vtbl { let this = (*this).get_impl(); match ISpeechPhraseInfo_Impl::AudioSizeBytes(this) { Ok(ok__) => { - core::ptr::write(paudiosizebytes, core::mem::transmute(ok__)); + paudiosizebytes.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6218,7 +6218,7 @@ impl ISpeechPhraseInfo_Vtbl { let this = (*this).get_impl(); match ISpeechPhraseInfo_Impl::RetainedSizeBytes(this) { Ok(ok__) => { - core::ptr::write(retainedsizebytes, core::mem::transmute(ok__)); + retainedsizebytes.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6229,7 +6229,7 @@ impl ISpeechPhraseInfo_Vtbl { let this = (*this).get_impl(); match ISpeechPhraseInfo_Impl::AudioSizeTime(this) { Ok(ok__) => { - core::ptr::write(audiosizetime, core::mem::transmute(ok__)); + audiosizetime.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6240,7 +6240,7 @@ impl ISpeechPhraseInfo_Vtbl { let this = (*this).get_impl(); match ISpeechPhraseInfo_Impl::Rule(this) { Ok(ok__) => { - core::ptr::write(rule, core::mem::transmute(ok__)); + rule.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6251,7 +6251,7 @@ impl ISpeechPhraseInfo_Vtbl { let this = (*this).get_impl(); match ISpeechPhraseInfo_Impl::Properties(this) { Ok(ok__) => { - core::ptr::write(properties, core::mem::transmute(ok__)); + properties.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6262,7 +6262,7 @@ impl ISpeechPhraseInfo_Vtbl { let this = (*this).get_impl(); match ISpeechPhraseInfo_Impl::Elements(this) { Ok(ok__) => { - core::ptr::write(elements, core::mem::transmute(ok__)); + elements.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6273,7 +6273,7 @@ impl ISpeechPhraseInfo_Vtbl { let this = (*this).get_impl(); match ISpeechPhraseInfo_Impl::Replacements(this) { Ok(ok__) => { - core::ptr::write(replacements, core::mem::transmute(ok__)); + replacements.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6284,7 +6284,7 @@ impl ISpeechPhraseInfo_Vtbl { let this = (*this).get_impl(); match ISpeechPhraseInfo_Impl::EngineId(this) { Ok(ok__) => { - core::ptr::write(engineidguid, core::mem::transmute(ok__)); + engineidguid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6295,7 +6295,7 @@ impl ISpeechPhraseInfo_Vtbl { let this = (*this).get_impl(); match ISpeechPhraseInfo_Impl::EnginePrivateData(this) { Ok(ok__) => { - core::ptr::write(privatedata, core::mem::transmute(ok__)); + privatedata.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6306,7 +6306,7 @@ impl ISpeechPhraseInfo_Vtbl { let this = (*this).get_impl(); match ISpeechPhraseInfo_Impl::SaveToMemory(this) { Ok(ok__) => { - core::ptr::write(phraseblock, core::mem::transmute(ok__)); + phraseblock.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6317,7 +6317,7 @@ impl ISpeechPhraseInfo_Vtbl { let this = (*this).get_impl(); match ISpeechPhraseInfo_Impl::GetText(this, core::mem::transmute_copy(&startelement), core::mem::transmute_copy(&elements), core::mem::transmute_copy(&usereplacements)) { Ok(ok__) => { - core::ptr::write(text, core::mem::transmute(ok__)); + text.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6328,7 +6328,7 @@ impl ISpeechPhraseInfo_Vtbl { let this = (*this).get_impl(); match ISpeechPhraseInfo_Impl::GetDisplayAttributes(this, core::mem::transmute_copy(&startelement), core::mem::transmute_copy(&elements), core::mem::transmute_copy(&usereplacements)) { Ok(ok__) => { - core::ptr::write(displayattributes, core::mem::transmute(ok__)); + displayattributes.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6372,7 +6372,7 @@ impl ISpeechPhraseInfoBuilder_Vtbl { let this = (*this).get_impl(); match ISpeechPhraseInfoBuilder_Impl::RestorePhraseFromMemory(this, core::mem::transmute_copy(&phraseinmemory)) { Ok(ok__) => { - core::ptr::write(phraseinfo, core::mem::transmute(ok__)); + phraseinfo.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6403,7 +6403,7 @@ impl ISpeechPhraseProperties_Vtbl { let this = (*this).get_impl(); match ISpeechPhraseProperties_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(count, core::mem::transmute(ok__)); + count.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6414,7 +6414,7 @@ impl ISpeechPhraseProperties_Vtbl { let this = (*this).get_impl(); match ISpeechPhraseProperties_Impl::Item(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(property, core::mem::transmute(ok__)); + property.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6425,7 +6425,7 @@ impl ISpeechPhraseProperties_Vtbl { let this = (*this).get_impl(); match ISpeechPhraseProperties_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(enumvariant, core::mem::transmute(ok__)); + enumvariant.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6464,7 +6464,7 @@ impl ISpeechPhraseProperty_Vtbl { let this = (*this).get_impl(); match ISpeechPhraseProperty_Impl::Name(this) { Ok(ok__) => { - core::ptr::write(name, core::mem::transmute(ok__)); + name.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6475,7 +6475,7 @@ impl ISpeechPhraseProperty_Vtbl { let this = (*this).get_impl(); match ISpeechPhraseProperty_Impl::Id(this) { Ok(ok__) => { - core::ptr::write(id, core::mem::transmute(ok__)); + id.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6486,7 +6486,7 @@ impl ISpeechPhraseProperty_Vtbl { let this = (*this).get_impl(); match ISpeechPhraseProperty_Impl::Value(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6497,7 +6497,7 @@ impl ISpeechPhraseProperty_Vtbl { let this = (*this).get_impl(); match ISpeechPhraseProperty_Impl::FirstElement(this) { Ok(ok__) => { - core::ptr::write(firstelement, core::mem::transmute(ok__)); + firstelement.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6508,7 +6508,7 @@ impl ISpeechPhraseProperty_Vtbl { let this = (*this).get_impl(); match ISpeechPhraseProperty_Impl::NumberOfElements(this) { Ok(ok__) => { - core::ptr::write(numberofelements, core::mem::transmute(ok__)); + numberofelements.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6519,7 +6519,7 @@ impl ISpeechPhraseProperty_Vtbl { let this = (*this).get_impl(); match ISpeechPhraseProperty_Impl::EngineConfidence(this) { Ok(ok__) => { - core::ptr::write(confidence, core::mem::transmute(ok__)); + confidence.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6530,7 +6530,7 @@ impl ISpeechPhraseProperty_Vtbl { let this = (*this).get_impl(); match ISpeechPhraseProperty_Impl::Confidence(this) { Ok(ok__) => { - core::ptr::write(confidence, core::mem::transmute(ok__)); + confidence.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6541,7 +6541,7 @@ impl ISpeechPhraseProperty_Vtbl { let this = (*this).get_impl(); match ISpeechPhraseProperty_Impl::Parent(this) { Ok(ok__) => { - core::ptr::write(parentproperty, core::mem::transmute(ok__)); + parentproperty.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6552,7 +6552,7 @@ impl ISpeechPhraseProperty_Vtbl { let this = (*this).get_impl(); match ISpeechPhraseProperty_Impl::Children(this) { Ok(ok__) => { - core::ptr::write(children, core::mem::transmute(ok__)); + children.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6592,7 +6592,7 @@ impl ISpeechPhraseReplacement_Vtbl { let this = (*this).get_impl(); match ISpeechPhraseReplacement_Impl::DisplayAttributes(this) { Ok(ok__) => { - core::ptr::write(displayattributes, core::mem::transmute(ok__)); + displayattributes.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6603,7 +6603,7 @@ impl ISpeechPhraseReplacement_Vtbl { let this = (*this).get_impl(); match ISpeechPhraseReplacement_Impl::Text(this) { Ok(ok__) => { - core::ptr::write(text, core::mem::transmute(ok__)); + text.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6614,7 +6614,7 @@ impl ISpeechPhraseReplacement_Vtbl { let this = (*this).get_impl(); match ISpeechPhraseReplacement_Impl::FirstElement(this) { Ok(ok__) => { - core::ptr::write(firstelement, core::mem::transmute(ok__)); + firstelement.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6625,7 +6625,7 @@ impl ISpeechPhraseReplacement_Vtbl { let this = (*this).get_impl(); match ISpeechPhraseReplacement_Impl::NumberOfElements(this) { Ok(ok__) => { - core::ptr::write(numberofelements, core::mem::transmute(ok__)); + numberofelements.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6659,7 +6659,7 @@ impl ISpeechPhraseReplacements_Vtbl { let this = (*this).get_impl(); match ISpeechPhraseReplacements_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(count, core::mem::transmute(ok__)); + count.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6670,7 +6670,7 @@ impl ISpeechPhraseReplacements_Vtbl { let this = (*this).get_impl(); match ISpeechPhraseReplacements_Impl::Item(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(reps, core::mem::transmute(ok__)); + reps.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6681,7 +6681,7 @@ impl ISpeechPhraseReplacements_Vtbl { let this = (*this).get_impl(); match ISpeechPhraseReplacements_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(enumvariant, core::mem::transmute(ok__)); + enumvariant.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6719,7 +6719,7 @@ impl ISpeechPhraseRule_Vtbl { let this = (*this).get_impl(); match ISpeechPhraseRule_Impl::Name(this) { Ok(ok__) => { - core::ptr::write(name, core::mem::transmute(ok__)); + name.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6730,7 +6730,7 @@ impl ISpeechPhraseRule_Vtbl { let this = (*this).get_impl(); match ISpeechPhraseRule_Impl::Id(this) { Ok(ok__) => { - core::ptr::write(id, core::mem::transmute(ok__)); + id.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6741,7 +6741,7 @@ impl ISpeechPhraseRule_Vtbl { let this = (*this).get_impl(); match ISpeechPhraseRule_Impl::FirstElement(this) { Ok(ok__) => { - core::ptr::write(firstelement, core::mem::transmute(ok__)); + firstelement.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6752,7 +6752,7 @@ impl ISpeechPhraseRule_Vtbl { let this = (*this).get_impl(); match ISpeechPhraseRule_Impl::NumberOfElements(this) { Ok(ok__) => { - core::ptr::write(numberofelements, core::mem::transmute(ok__)); + numberofelements.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6763,7 +6763,7 @@ impl ISpeechPhraseRule_Vtbl { let this = (*this).get_impl(); match ISpeechPhraseRule_Impl::Parent(this) { Ok(ok__) => { - core::ptr::write(parent, core::mem::transmute(ok__)); + parent.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6774,7 +6774,7 @@ impl ISpeechPhraseRule_Vtbl { let this = (*this).get_impl(); match ISpeechPhraseRule_Impl::Children(this) { Ok(ok__) => { - core::ptr::write(children, core::mem::transmute(ok__)); + children.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6785,7 +6785,7 @@ impl ISpeechPhraseRule_Vtbl { let this = (*this).get_impl(); match ISpeechPhraseRule_Impl::Confidence(this) { Ok(ok__) => { - core::ptr::write(actualconfidence, core::mem::transmute(ok__)); + actualconfidence.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6796,7 +6796,7 @@ impl ISpeechPhraseRule_Vtbl { let this = (*this).get_impl(); match ISpeechPhraseRule_Impl::EngineConfidence(this) { Ok(ok__) => { - core::ptr::write(engineconfidence, core::mem::transmute(ok__)); + engineconfidence.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6834,7 +6834,7 @@ impl ISpeechPhraseRules_Vtbl { let this = (*this).get_impl(); match ISpeechPhraseRules_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(count, core::mem::transmute(ok__)); + count.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6845,7 +6845,7 @@ impl ISpeechPhraseRules_Vtbl { let this = (*this).get_impl(); match ISpeechPhraseRules_Impl::Item(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(rule, core::mem::transmute(ok__)); + rule.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6856,7 +6856,7 @@ impl ISpeechPhraseRules_Vtbl { let this = (*this).get_impl(); match ISpeechPhraseRules_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(enumvariant, core::mem::transmute(ok__)); + enumvariant.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6911,7 +6911,7 @@ impl ISpeechRecoContext_Vtbl { let this = (*this).get_impl(); match ISpeechRecoContext_Impl::Recognizer(this) { Ok(ok__) => { - core::ptr::write(recognizer, core::mem::transmute(ok__)); + recognizer.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6922,7 +6922,7 @@ impl ISpeechRecoContext_Vtbl { let this = (*this).get_impl(); match ISpeechRecoContext_Impl::AudioInputInterferenceStatus(this) { Ok(ok__) => { - core::ptr::write(interference, core::mem::transmute(ok__)); + interference.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6933,7 +6933,7 @@ impl ISpeechRecoContext_Vtbl { let this = (*this).get_impl(); match ISpeechRecoContext_Impl::RequestedUIType(this) { Ok(ok__) => { - core::ptr::write(uitype, core::mem::transmute(ok__)); + uitype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6949,7 +6949,7 @@ impl ISpeechRecoContext_Vtbl { let this = (*this).get_impl(); match ISpeechRecoContext_Impl::Voice(this) { Ok(ok__) => { - core::ptr::write(voice, core::mem::transmute(ok__)); + voice.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6965,7 +6965,7 @@ impl ISpeechRecoContext_Vtbl { let this = (*this).get_impl(); match ISpeechRecoContext_Impl::AllowVoiceFormatMatchingOnNextSet(this) { Ok(ok__) => { - core::ptr::write(pallow, core::mem::transmute(ok__)); + pallow.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6981,7 +6981,7 @@ impl ISpeechRecoContext_Vtbl { let this = (*this).get_impl(); match ISpeechRecoContext_Impl::VoicePurgeEvent(this) { Ok(ok__) => { - core::ptr::write(eventinterest, core::mem::transmute(ok__)); + eventinterest.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6997,7 +6997,7 @@ impl ISpeechRecoContext_Vtbl { let this = (*this).get_impl(); match ISpeechRecoContext_Impl::EventInterests(this) { Ok(ok__) => { - core::ptr::write(eventinterest, core::mem::transmute(ok__)); + eventinterest.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7013,7 +7013,7 @@ impl ISpeechRecoContext_Vtbl { let this = (*this).get_impl(); match ISpeechRecoContext_Impl::CmdMaxAlternates(this) { Ok(ok__) => { - core::ptr::write(maxalternates, core::mem::transmute(ok__)); + maxalternates.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7029,7 +7029,7 @@ impl ISpeechRecoContext_Vtbl { let this = (*this).get_impl(); match ISpeechRecoContext_Impl::State(this) { Ok(ok__) => { - core::ptr::write(state, core::mem::transmute(ok__)); + state.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7045,7 +7045,7 @@ impl ISpeechRecoContext_Vtbl { let this = (*this).get_impl(); match ISpeechRecoContext_Impl::RetainedAudio(this) { Ok(ok__) => { - core::ptr::write(option, core::mem::transmute(ok__)); + option.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7061,7 +7061,7 @@ impl ISpeechRecoContext_Vtbl { let this = (*this).get_impl(); match ISpeechRecoContext_Impl::RetainedAudioFormat(this) { Ok(ok__) => { - core::ptr::write(format, core::mem::transmute(ok__)); + format.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7082,7 +7082,7 @@ impl ISpeechRecoContext_Vtbl { let this = (*this).get_impl(); match ISpeechRecoContext_Impl::CreateGrammar(this, core::mem::transmute(&grammarid)) { Ok(ok__) => { - core::ptr::write(grammar, core::mem::transmute(ok__)); + grammar.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7093,7 +7093,7 @@ impl ISpeechRecoContext_Vtbl { let this = (*this).get_impl(); match ISpeechRecoContext_Impl::CreateResultFromMemory(this, core::mem::transmute_copy(&resultblock)) { Ok(ok__) => { - core::ptr::write(result, core::mem::transmute(ok__)); + result.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7174,7 +7174,7 @@ impl ISpeechRecoGrammar_Vtbl { let this = (*this).get_impl(); match ISpeechRecoGrammar_Impl::Id(this) { Ok(ok__) => { - core::ptr::write(id, core::mem::transmute(ok__)); + id.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7185,7 +7185,7 @@ impl ISpeechRecoGrammar_Vtbl { let this = (*this).get_impl(); match ISpeechRecoGrammar_Impl::RecoContext(this) { Ok(ok__) => { - core::ptr::write(recocontext, core::mem::transmute(ok__)); + recocontext.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7201,7 +7201,7 @@ impl ISpeechRecoGrammar_Vtbl { let this = (*this).get_impl(); match ISpeechRecoGrammar_Impl::State(this) { Ok(ok__) => { - core::ptr::write(state, core::mem::transmute(ok__)); + state.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7212,7 +7212,7 @@ impl ISpeechRecoGrammar_Vtbl { let this = (*this).get_impl(); match ISpeechRecoGrammar_Impl::Rules(this) { Ok(ok__) => { - core::ptr::write(rules, core::mem::transmute(ok__)); + rules.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7288,7 +7288,7 @@ impl ISpeechRecoGrammar_Vtbl { let this = (*this).get_impl(); match ISpeechRecoGrammar_Impl::IsPronounceable(this, core::mem::transmute(&word)) { Ok(ok__) => { - core::ptr::write(wordpronounceable, core::mem::transmute(ok__)); + wordpronounceable.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7344,7 +7344,7 @@ impl ISpeechRecoResult_Vtbl { let this = (*this).get_impl(); match ISpeechRecoResult_Impl::RecoContext(this) { Ok(ok__) => { - core::ptr::write(recocontext, core::mem::transmute(ok__)); + recocontext.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7355,7 +7355,7 @@ impl ISpeechRecoResult_Vtbl { let this = (*this).get_impl(); match ISpeechRecoResult_Impl::Times(this) { Ok(ok__) => { - core::ptr::write(times, core::mem::transmute(ok__)); + times.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7371,7 +7371,7 @@ impl ISpeechRecoResult_Vtbl { let this = (*this).get_impl(); match ISpeechRecoResult_Impl::AudioFormat(this) { Ok(ok__) => { - core::ptr::write(format, core::mem::transmute(ok__)); + format.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7382,7 +7382,7 @@ impl ISpeechRecoResult_Vtbl { let this = (*this).get_impl(); match ISpeechRecoResult_Impl::PhraseInfo(this) { Ok(ok__) => { - core::ptr::write(phraseinfo, core::mem::transmute(ok__)); + phraseinfo.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7393,7 +7393,7 @@ impl ISpeechRecoResult_Vtbl { let this = (*this).get_impl(); match ISpeechRecoResult_Impl::Alternates(this, core::mem::transmute_copy(&requestcount), core::mem::transmute_copy(&startelement), core::mem::transmute_copy(&elements)) { Ok(ok__) => { - core::ptr::write(alternates, core::mem::transmute(ok__)); + alternates.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7404,7 +7404,7 @@ impl ISpeechRecoResult_Vtbl { let this = (*this).get_impl(); match ISpeechRecoResult_Impl::Audio(this, core::mem::transmute_copy(&startelement), core::mem::transmute_copy(&elements)) { Ok(ok__) => { - core::ptr::write(stream, core::mem::transmute(ok__)); + stream.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7415,7 +7415,7 @@ impl ISpeechRecoResult_Vtbl { let this = (*this).get_impl(); match ISpeechRecoResult_Impl::SpeakAudio(this, core::mem::transmute_copy(&startelement), core::mem::transmute_copy(&elements), core::mem::transmute_copy(&flags)) { Ok(ok__) => { - core::ptr::write(streamnumber, core::mem::transmute(ok__)); + streamnumber.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7426,7 +7426,7 @@ impl ISpeechRecoResult_Vtbl { let this = (*this).get_impl(); match ISpeechRecoResult_Impl::SaveToMemory(this) { Ok(ok__) => { - core::ptr::write(resultblock, core::mem::transmute(ok__)); + resultblock.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7501,7 +7501,7 @@ impl ISpeechRecoResultDispatch_Vtbl { let this = (*this).get_impl(); match ISpeechRecoResultDispatch_Impl::RecoContext(this) { Ok(ok__) => { - core::ptr::write(recocontext, core::mem::transmute(ok__)); + recocontext.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7512,7 +7512,7 @@ impl ISpeechRecoResultDispatch_Vtbl { let this = (*this).get_impl(); match ISpeechRecoResultDispatch_Impl::Times(this) { Ok(ok__) => { - core::ptr::write(times, core::mem::transmute(ok__)); + times.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7528,7 +7528,7 @@ impl ISpeechRecoResultDispatch_Vtbl { let this = (*this).get_impl(); match ISpeechRecoResultDispatch_Impl::AudioFormat(this) { Ok(ok__) => { - core::ptr::write(format, core::mem::transmute(ok__)); + format.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7539,7 +7539,7 @@ impl ISpeechRecoResultDispatch_Vtbl { let this = (*this).get_impl(); match ISpeechRecoResultDispatch_Impl::PhraseInfo(this) { Ok(ok__) => { - core::ptr::write(phraseinfo, core::mem::transmute(ok__)); + phraseinfo.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7550,7 +7550,7 @@ impl ISpeechRecoResultDispatch_Vtbl { let this = (*this).get_impl(); match ISpeechRecoResultDispatch_Impl::Alternates(this, core::mem::transmute_copy(&requestcount), core::mem::transmute_copy(&startelement), core::mem::transmute_copy(&elements)) { Ok(ok__) => { - core::ptr::write(alternates, core::mem::transmute(ok__)); + alternates.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7561,7 +7561,7 @@ impl ISpeechRecoResultDispatch_Vtbl { let this = (*this).get_impl(); match ISpeechRecoResultDispatch_Impl::Audio(this, core::mem::transmute_copy(&startelement), core::mem::transmute_copy(&elements)) { Ok(ok__) => { - core::ptr::write(stream, core::mem::transmute(ok__)); + stream.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7572,7 +7572,7 @@ impl ISpeechRecoResultDispatch_Vtbl { let this = (*this).get_impl(); match ISpeechRecoResultDispatch_Impl::SpeakAudio(this, core::mem::transmute_copy(&startelement), core::mem::transmute_copy(&elements), core::mem::transmute_copy(&flags)) { Ok(ok__) => { - core::ptr::write(streamnumber, core::mem::transmute(ok__)); + streamnumber.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7583,7 +7583,7 @@ impl ISpeechRecoResultDispatch_Vtbl { let this = (*this).get_impl(); match ISpeechRecoResultDispatch_Impl::SaveToMemory(this) { Ok(ok__) => { - core::ptr::write(resultblock, core::mem::transmute(ok__)); + resultblock.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7599,7 +7599,7 @@ impl ISpeechRecoResultDispatch_Vtbl { let this = (*this).get_impl(); match ISpeechRecoResultDispatch_Impl::GetXMLResult(this, core::mem::transmute_copy(&options)) { Ok(ok__) => { - core::ptr::write(presult, core::mem::transmute(ok__)); + presult.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7653,7 +7653,7 @@ impl ISpeechRecoResultTimes_Vtbl { let this = (*this).get_impl(); match ISpeechRecoResultTimes_Impl::StreamTime(this) { Ok(ok__) => { - core::ptr::write(time, core::mem::transmute(ok__)); + time.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7664,7 +7664,7 @@ impl ISpeechRecoResultTimes_Vtbl { let this = (*this).get_impl(); match ISpeechRecoResultTimes_Impl::Length(this) { Ok(ok__) => { - core::ptr::write(length, core::mem::transmute(ok__)); + length.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7675,7 +7675,7 @@ impl ISpeechRecoResultTimes_Vtbl { let this = (*this).get_impl(); match ISpeechRecoResultTimes_Impl::TickCount(this) { Ok(ok__) => { - core::ptr::write(tickcount, core::mem::transmute(ok__)); + tickcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7686,7 +7686,7 @@ impl ISpeechRecoResultTimes_Vtbl { let this = (*this).get_impl(); match ISpeechRecoResultTimes_Impl::OffsetFromStart(this) { Ok(ok__) => { - core::ptr::write(offsetfromstart, core::mem::transmute(ok__)); + offsetfromstart.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7748,7 +7748,7 @@ impl ISpeechRecognizer_Vtbl { let this = (*this).get_impl(); match ISpeechRecognizer_Impl::Recognizer(this) { Ok(ok__) => { - core::ptr::write(recognizer, core::mem::transmute(ok__)); + recognizer.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7764,7 +7764,7 @@ impl ISpeechRecognizer_Vtbl { let this = (*this).get_impl(); match ISpeechRecognizer_Impl::AllowAudioInputFormatChangesOnNextSet(this) { Ok(ok__) => { - core::ptr::write(allow, core::mem::transmute(ok__)); + allow.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7780,7 +7780,7 @@ impl ISpeechRecognizer_Vtbl { let this = (*this).get_impl(); match ISpeechRecognizer_Impl::AudioInput(this) { Ok(ok__) => { - core::ptr::write(audioinput, core::mem::transmute(ok__)); + audioinput.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7796,7 +7796,7 @@ impl ISpeechRecognizer_Vtbl { let this = (*this).get_impl(); match ISpeechRecognizer_Impl::AudioInputStream(this) { Ok(ok__) => { - core::ptr::write(audioinputstream, core::mem::transmute(ok__)); + audioinputstream.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7807,7 +7807,7 @@ impl ISpeechRecognizer_Vtbl { let this = (*this).get_impl(); match ISpeechRecognizer_Impl::IsShared(this) { Ok(ok__) => { - core::ptr::write(shared, core::mem::transmute(ok__)); + shared.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7823,7 +7823,7 @@ impl ISpeechRecognizer_Vtbl { let this = (*this).get_impl(); match ISpeechRecognizer_Impl::State(this) { Ok(ok__) => { - core::ptr::write(state, core::mem::transmute(ok__)); + state.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7834,7 +7834,7 @@ impl ISpeechRecognizer_Vtbl { let this = (*this).get_impl(); match ISpeechRecognizer_Impl::Status(this) { Ok(ok__) => { - core::ptr::write(status, core::mem::transmute(ok__)); + status.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7850,7 +7850,7 @@ impl ISpeechRecognizer_Vtbl { let this = (*this).get_impl(); match ISpeechRecognizer_Impl::Profile(this) { Ok(ok__) => { - core::ptr::write(profile, core::mem::transmute(ok__)); + profile.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7866,7 +7866,7 @@ impl ISpeechRecognizer_Vtbl { let this = (*this).get_impl(); match ISpeechRecognizer_Impl::CreateRecoContext(this) { Ok(ok__) => { - core::ptr::write(newcontext, core::mem::transmute(ok__)); + newcontext.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7877,7 +7877,7 @@ impl ISpeechRecognizer_Vtbl { let this = (*this).get_impl(); match ISpeechRecognizer_Impl::GetFormat(this, core::mem::transmute_copy(&r#type)) { Ok(ok__) => { - core::ptr::write(format, core::mem::transmute(ok__)); + format.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7888,7 +7888,7 @@ impl ISpeechRecognizer_Vtbl { let this = (*this).get_impl(); match ISpeechRecognizer_Impl::SetPropertyNumber(this, core::mem::transmute(&name), core::mem::transmute_copy(&value)) { Ok(ok__) => { - core::ptr::write(supported, core::mem::transmute(ok__)); + supported.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7904,7 +7904,7 @@ impl ISpeechRecognizer_Vtbl { let this = (*this).get_impl(); match ISpeechRecognizer_Impl::SetPropertyString(this, core::mem::transmute(&name), core::mem::transmute(&value)) { Ok(ok__) => { - core::ptr::write(supported, core::mem::transmute(ok__)); + supported.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7920,7 +7920,7 @@ impl ISpeechRecognizer_Vtbl { let this = (*this).get_impl(); match ISpeechRecognizer_Impl::IsUISupported(this, core::mem::transmute(&typeofui), core::mem::transmute_copy(&extradata)) { Ok(ok__) => { - core::ptr::write(supported, core::mem::transmute(ok__)); + supported.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7936,7 +7936,7 @@ impl ISpeechRecognizer_Vtbl { let this = (*this).get_impl(); match ISpeechRecognizer_Impl::GetRecognizers(this, core::mem::transmute(&requiredattributes), core::mem::transmute(&optionalattributes)) { Ok(ok__) => { - core::ptr::write(objecttokens, core::mem::transmute(ok__)); + objecttokens.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7947,7 +7947,7 @@ impl ISpeechRecognizer_Vtbl { let this = (*this).get_impl(); match ISpeechRecognizer_Impl::GetAudioInputs(this, core::mem::transmute(&requiredattributes), core::mem::transmute(&optionalattributes)) { Ok(ok__) => { - core::ptr::write(objecttokens, core::mem::transmute(ok__)); + objecttokens.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7958,7 +7958,7 @@ impl ISpeechRecognizer_Vtbl { let this = (*this).get_impl(); match ISpeechRecognizer_Impl::GetProfiles(this, core::mem::transmute(&requiredattributes), core::mem::transmute(&optionalattributes)) { Ok(ok__) => { - core::ptr::write(objecttokens, core::mem::transmute(ok__)); + objecttokens.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8017,7 +8017,7 @@ impl ISpeechRecognizerStatus_Vtbl { let this = (*this).get_impl(); match ISpeechRecognizerStatus_Impl::AudioStatus(this) { Ok(ok__) => { - core::ptr::write(audiostatus, core::mem::transmute(ok__)); + audiostatus.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8028,7 +8028,7 @@ impl ISpeechRecognizerStatus_Vtbl { let this = (*this).get_impl(); match ISpeechRecognizerStatus_Impl::CurrentStreamPosition(this) { Ok(ok__) => { - core::ptr::write(pcurrentstreampos, core::mem::transmute(ok__)); + pcurrentstreampos.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8039,7 +8039,7 @@ impl ISpeechRecognizerStatus_Vtbl { let this = (*this).get_impl(); match ISpeechRecognizerStatus_Impl::CurrentStreamNumber(this) { Ok(ok__) => { - core::ptr::write(streamnumber, core::mem::transmute(ok__)); + streamnumber.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8050,7 +8050,7 @@ impl ISpeechRecognizerStatus_Vtbl { let this = (*this).get_impl(); match ISpeechRecognizerStatus_Impl::NumberOfActiveRules(this) { Ok(ok__) => { - core::ptr::write(numberofactiverules, core::mem::transmute(ok__)); + numberofactiverules.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8061,7 +8061,7 @@ impl ISpeechRecognizerStatus_Vtbl { let this = (*this).get_impl(); match ISpeechRecognizerStatus_Impl::ClsidEngine(this) { Ok(ok__) => { - core::ptr::write(clsidengine, core::mem::transmute(ok__)); + clsidengine.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8072,7 +8072,7 @@ impl ISpeechRecognizerStatus_Vtbl { let this = (*this).get_impl(); match ISpeechRecognizerStatus_Impl::SupportedLanguages(this) { Ok(ok__) => { - core::ptr::write(supportedlanguages, core::mem::transmute(ok__)); + supportedlanguages.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8155,7 +8155,7 @@ impl ISpeechTextSelectionInformation_Vtbl { let this = (*this).get_impl(); match ISpeechTextSelectionInformation_Impl::ActiveOffset(this) { Ok(ok__) => { - core::ptr::write(activeoffset, core::mem::transmute(ok__)); + activeoffset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8171,7 +8171,7 @@ impl ISpeechTextSelectionInformation_Vtbl { let this = (*this).get_impl(); match ISpeechTextSelectionInformation_Impl::ActiveLength(this) { Ok(ok__) => { - core::ptr::write(activelength, core::mem::transmute(ok__)); + activelength.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8187,7 +8187,7 @@ impl ISpeechTextSelectionInformation_Vtbl { let this = (*this).get_impl(); match ISpeechTextSelectionInformation_Impl::SelectionOffset(this) { Ok(ok__) => { - core::ptr::write(selectionoffset, core::mem::transmute(ok__)); + selectionoffset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8203,7 +8203,7 @@ impl ISpeechTextSelectionInformation_Vtbl { let this = (*this).get_impl(); match ISpeechTextSelectionInformation_Impl::SelectionLength(this) { Ok(ok__) => { - core::ptr::write(selectionlength, core::mem::transmute(ok__)); + selectionlength.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8270,7 +8270,7 @@ impl ISpeechVoice_Vtbl { let this = (*this).get_impl(); match ISpeechVoice_Impl::Status(this) { Ok(ok__) => { - core::ptr::write(status, core::mem::transmute(ok__)); + status.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8281,7 +8281,7 @@ impl ISpeechVoice_Vtbl { let this = (*this).get_impl(); match ISpeechVoice_Impl::Voice(this) { Ok(ok__) => { - core::ptr::write(voice, core::mem::transmute(ok__)); + voice.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8297,7 +8297,7 @@ impl ISpeechVoice_Vtbl { let this = (*this).get_impl(); match ISpeechVoice_Impl::AudioOutput(this) { Ok(ok__) => { - core::ptr::write(audiooutput, core::mem::transmute(ok__)); + audiooutput.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8313,7 +8313,7 @@ impl ISpeechVoice_Vtbl { let this = (*this).get_impl(); match ISpeechVoice_Impl::AudioOutputStream(this) { Ok(ok__) => { - core::ptr::write(audiooutputstream, core::mem::transmute(ok__)); + audiooutputstream.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8329,7 +8329,7 @@ impl ISpeechVoice_Vtbl { let this = (*this).get_impl(); match ISpeechVoice_Impl::Rate(this) { Ok(ok__) => { - core::ptr::write(rate, core::mem::transmute(ok__)); + rate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8345,7 +8345,7 @@ impl ISpeechVoice_Vtbl { let this = (*this).get_impl(); match ISpeechVoice_Impl::Volume(this) { Ok(ok__) => { - core::ptr::write(volume, core::mem::transmute(ok__)); + volume.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8366,7 +8366,7 @@ impl ISpeechVoice_Vtbl { let this = (*this).get_impl(); match ISpeechVoice_Impl::AllowAudioOutputFormatChangesOnNextSet(this) { Ok(ok__) => { - core::ptr::write(allow, core::mem::transmute(ok__)); + allow.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8377,7 +8377,7 @@ impl ISpeechVoice_Vtbl { let this = (*this).get_impl(); match ISpeechVoice_Impl::EventInterests(this) { Ok(ok__) => { - core::ptr::write(eventinterestflags, core::mem::transmute(ok__)); + eventinterestflags.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8398,7 +8398,7 @@ impl ISpeechVoice_Vtbl { let this = (*this).get_impl(); match ISpeechVoice_Impl::Priority(this) { Ok(ok__) => { - core::ptr::write(priority, core::mem::transmute(ok__)); + priority.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8414,7 +8414,7 @@ impl ISpeechVoice_Vtbl { let this = (*this).get_impl(); match ISpeechVoice_Impl::AlertBoundary(this) { Ok(ok__) => { - core::ptr::write(boundary, core::mem::transmute(ok__)); + boundary.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8430,7 +8430,7 @@ impl ISpeechVoice_Vtbl { let this = (*this).get_impl(); match ISpeechVoice_Impl::SynchronousSpeakTimeout(this) { Ok(ok__) => { - core::ptr::write(mstimeout, core::mem::transmute(ok__)); + mstimeout.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8441,7 +8441,7 @@ impl ISpeechVoice_Vtbl { let this = (*this).get_impl(); match ISpeechVoice_Impl::Speak(this, core::mem::transmute(&text), core::mem::transmute_copy(&flags)) { Ok(ok__) => { - core::ptr::write(streamnumber, core::mem::transmute(ok__)); + streamnumber.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8452,7 +8452,7 @@ impl ISpeechVoice_Vtbl { let this = (*this).get_impl(); match ISpeechVoice_Impl::SpeakStream(this, windows_core::from_raw_borrowed(&stream), core::mem::transmute_copy(&flags)) { Ok(ok__) => { - core::ptr::write(streamnumber, core::mem::transmute(ok__)); + streamnumber.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8473,7 +8473,7 @@ impl ISpeechVoice_Vtbl { let this = (*this).get_impl(); match ISpeechVoice_Impl::Skip(this, core::mem::transmute(&r#type), core::mem::transmute_copy(&numitems)) { Ok(ok__) => { - core::ptr::write(numskipped, core::mem::transmute(ok__)); + numskipped.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8484,7 +8484,7 @@ impl ISpeechVoice_Vtbl { let this = (*this).get_impl(); match ISpeechVoice_Impl::GetVoices(this, core::mem::transmute(&requiredattributes), core::mem::transmute(&optionalattributes)) { Ok(ok__) => { - core::ptr::write(objecttokens, core::mem::transmute(ok__)); + objecttokens.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8495,7 +8495,7 @@ impl ISpeechVoice_Vtbl { let this = (*this).get_impl(); match ISpeechVoice_Impl::GetAudioOutputs(this, core::mem::transmute(&requiredattributes), core::mem::transmute(&optionalattributes)) { Ok(ok__) => { - core::ptr::write(objecttokens, core::mem::transmute(ok__)); + objecttokens.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8506,7 +8506,7 @@ impl ISpeechVoice_Vtbl { let this = (*this).get_impl(); match ISpeechVoice_Impl::WaitUntilDone(this, core::mem::transmute_copy(&mstimeout)) { Ok(ok__) => { - core::ptr::write(done, core::mem::transmute(ok__)); + done.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8517,7 +8517,7 @@ impl ISpeechVoice_Vtbl { let this = (*this).get_impl(); match ISpeechVoice_Impl::SpeakCompleteEvent(this) { Ok(ok__) => { - core::ptr::write(handle, core::mem::transmute(ok__)); + handle.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8528,7 +8528,7 @@ impl ISpeechVoice_Vtbl { let this = (*this).get_impl(); match ISpeechVoice_Impl::IsUISupported(this, core::mem::transmute(&typeofui), core::mem::transmute_copy(&extradata)) { Ok(ok__) => { - core::ptr::write(supported, core::mem::transmute(ok__)); + supported.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8604,7 +8604,7 @@ impl ISpeechVoiceStatus_Vtbl { let this = (*this).get_impl(); match ISpeechVoiceStatus_Impl::CurrentStreamNumber(this) { Ok(ok__) => { - core::ptr::write(streamnumber, core::mem::transmute(ok__)); + streamnumber.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8615,7 +8615,7 @@ impl ISpeechVoiceStatus_Vtbl { let this = (*this).get_impl(); match ISpeechVoiceStatus_Impl::LastStreamNumberQueued(this) { Ok(ok__) => { - core::ptr::write(streamnumber, core::mem::transmute(ok__)); + streamnumber.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8626,7 +8626,7 @@ impl ISpeechVoiceStatus_Vtbl { let this = (*this).get_impl(); match ISpeechVoiceStatus_Impl::LastHResult(this) { Ok(ok__) => { - core::ptr::write(hresult, core::mem::transmute(ok__)); + hresult.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8637,7 +8637,7 @@ impl ISpeechVoiceStatus_Vtbl { let this = (*this).get_impl(); match ISpeechVoiceStatus_Impl::RunningState(this) { Ok(ok__) => { - core::ptr::write(state, core::mem::transmute(ok__)); + state.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8648,7 +8648,7 @@ impl ISpeechVoiceStatus_Vtbl { let this = (*this).get_impl(); match ISpeechVoiceStatus_Impl::InputWordPosition(this) { Ok(ok__) => { - core::ptr::write(position, core::mem::transmute(ok__)); + position.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8659,7 +8659,7 @@ impl ISpeechVoiceStatus_Vtbl { let this = (*this).get_impl(); match ISpeechVoiceStatus_Impl::InputWordLength(this) { Ok(ok__) => { - core::ptr::write(length, core::mem::transmute(ok__)); + length.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8670,7 +8670,7 @@ impl ISpeechVoiceStatus_Vtbl { let this = (*this).get_impl(); match ISpeechVoiceStatus_Impl::InputSentencePosition(this) { Ok(ok__) => { - core::ptr::write(position, core::mem::transmute(ok__)); + position.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8681,7 +8681,7 @@ impl ISpeechVoiceStatus_Vtbl { let this = (*this).get_impl(); match ISpeechVoiceStatus_Impl::InputSentenceLength(this) { Ok(ok__) => { - core::ptr::write(length, core::mem::transmute(ok__)); + length.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8692,7 +8692,7 @@ impl ISpeechVoiceStatus_Vtbl { let this = (*this).get_impl(); match ISpeechVoiceStatus_Impl::LastBookmark(this) { Ok(ok__) => { - core::ptr::write(bookmark, core::mem::transmute(ok__)); + bookmark.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8703,7 +8703,7 @@ impl ISpeechVoiceStatus_Vtbl { let this = (*this).get_impl(); match ISpeechVoiceStatus_Impl::LastBookmarkId(this) { Ok(ok__) => { - core::ptr::write(bookmarkid, core::mem::transmute(ok__)); + bookmarkid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8714,7 +8714,7 @@ impl ISpeechVoiceStatus_Vtbl { let this = (*this).get_impl(); match ISpeechVoiceStatus_Impl::PhonemeId(this) { Ok(ok__) => { - core::ptr::write(phoneid, core::mem::transmute(ok__)); + phoneid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8725,7 +8725,7 @@ impl ISpeechVoiceStatus_Vtbl { let this = (*this).get_impl(); match ISpeechVoiceStatus_Impl::VisemeId(this) { Ok(ok__) => { - core::ptr::write(visemeid, core::mem::transmute(ok__)); + visemeid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8778,7 +8778,7 @@ impl ISpeechWaveFormatEx_Vtbl { let this = (*this).get_impl(); match ISpeechWaveFormatEx_Impl::FormatTag(this) { Ok(ok__) => { - core::ptr::write(formattag, core::mem::transmute(ok__)); + formattag.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8794,7 +8794,7 @@ impl ISpeechWaveFormatEx_Vtbl { let this = (*this).get_impl(); match ISpeechWaveFormatEx_Impl::Channels(this) { Ok(ok__) => { - core::ptr::write(channels, core::mem::transmute(ok__)); + channels.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8810,7 +8810,7 @@ impl ISpeechWaveFormatEx_Vtbl { let this = (*this).get_impl(); match ISpeechWaveFormatEx_Impl::SamplesPerSec(this) { Ok(ok__) => { - core::ptr::write(samplespersec, core::mem::transmute(ok__)); + samplespersec.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8826,7 +8826,7 @@ impl ISpeechWaveFormatEx_Vtbl { let this = (*this).get_impl(); match ISpeechWaveFormatEx_Impl::AvgBytesPerSec(this) { Ok(ok__) => { - core::ptr::write(avgbytespersec, core::mem::transmute(ok__)); + avgbytespersec.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8842,7 +8842,7 @@ impl ISpeechWaveFormatEx_Vtbl { let this = (*this).get_impl(); match ISpeechWaveFormatEx_Impl::BlockAlign(this) { Ok(ok__) => { - core::ptr::write(blockalign, core::mem::transmute(ok__)); + blockalign.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8858,7 +8858,7 @@ impl ISpeechWaveFormatEx_Vtbl { let this = (*this).get_impl(); match ISpeechWaveFormatEx_Impl::BitsPerSample(this) { Ok(ok__) => { - core::ptr::write(bitspersample, core::mem::transmute(ok__)); + bitspersample.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8874,7 +8874,7 @@ impl ISpeechWaveFormatEx_Vtbl { let this = (*this).get_impl(); match ISpeechWaveFormatEx_Impl::ExtraData(this) { Ok(ok__) => { - core::ptr::write(extradata, core::mem::transmute(ok__)); + extradata.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8922,7 +8922,7 @@ impl ISpeechXMLRecoResult_Vtbl { let this = (*this).get_impl(); match ISpeechXMLRecoResult_Impl::GetXMLResult(this, core::mem::transmute_copy(&options)) { Ok(ok__) => { - core::ptr::write(presult, core::mem::transmute(ok__)); + presult.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/Win32/Media/WindowsMediaFormat/impl.rs b/crates/libs/windows/src/Windows/Win32/Media/WindowsMediaFormat/impl.rs index 3b0ec43b17..a99feb57e4 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/WindowsMediaFormat/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/WindowsMediaFormat/impl.rs @@ -26,7 +26,7 @@ impl INSNetSourceCreator_Vtbl { let this = (*this).get_impl(); match INSNetSourceCreator_Impl::GetNetSourceProperties(this, core::mem::transmute(&pszstreamname)) { Ok(ok__) => { - core::ptr::write(pppropertiesnode, core::mem::transmute(ok__)); + pppropertiesnode.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -37,7 +37,7 @@ impl INSNetSourceCreator_Vtbl { let this = (*this).get_impl(); match INSNetSourceCreator_Impl::GetNetSourceSharedNamespace(this) { Ok(ok__) => { - core::ptr::write(ppsharednamespace, core::mem::transmute(ok__)); + ppsharednamespace.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -48,7 +48,7 @@ impl INSNetSourceCreator_Vtbl { let this = (*this).get_impl(); match INSNetSourceCreator_Impl::GetNetSourceAdminInterface(this, core::mem::transmute(&pszstreamname)) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -59,7 +59,7 @@ impl INSNetSourceCreator_Vtbl { let this = (*this).get_impl(); match INSNetSourceCreator_Impl::GetNumProtocolsSupported(this) { Ok(ok__) => { - core::ptr::write(pcprotocols, core::mem::transmute(ok__)); + pcprotocols.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -106,7 +106,7 @@ impl INSSBuffer_Vtbl { let this = (*this).get_impl(); match INSSBuffer_Impl::GetLength(this) { Ok(ok__) => { - core::ptr::write(pdwlength, core::mem::transmute(ok__)); + pdwlength.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -122,7 +122,7 @@ impl INSSBuffer_Vtbl { let this = (*this).get_impl(); match INSSBuffer_Impl::GetMaxLength(this) { Ok(ok__) => { - core::ptr::write(pdwlength, core::mem::transmute(ok__)); + pdwlength.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -133,7 +133,7 @@ impl INSSBuffer_Vtbl { let this = (*this).get_impl(); match INSSBuffer_Impl::GetBuffer(this) { Ok(ok__) => { - core::ptr::write(ppdwbuffer, core::mem::transmute(ok__)); + ppdwbuffer.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -169,7 +169,7 @@ impl INSSBuffer2_Vtbl { let this = (*this).get_impl(); match INSSBuffer2_Impl::GetSampleProperties(this, core::mem::transmute_copy(&cbproperties)) { Ok(ok__) => { - core::ptr::write(pbproperties, core::mem::transmute(ok__)); + pbproperties.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -229,7 +229,7 @@ impl INSSBuffer4_Vtbl { let this = (*this).get_impl(); match INSSBuffer4_Impl::GetPropertyCount(this) { Ok(ok__) => { - core::ptr::write(pcbufferproperties, core::mem::transmute(ok__)); + pcbufferproperties.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -264,7 +264,7 @@ impl IWMAddressAccess_Vtbl { let this = (*this).get_impl(); match IWMAddressAccess_Impl::GetAccessEntryCount(this, core::mem::transmute_copy(&aetype)) { Ok(ok__) => { - core::ptr::write(pcentries, core::mem::transmute(ok__)); + pcentries.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -275,7 +275,7 @@ impl IWMAddressAccess_Vtbl { let this = (*this).get_impl(); match IWMAddressAccess_Impl::GetAccessEntry(this, core::mem::transmute_copy(&aetype), core::mem::transmute_copy(&dwentrynum)) { Ok(ok__) => { - core::ptr::write(paddraccessentry, core::mem::transmute(ok__)); + paddraccessentry.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -343,7 +343,7 @@ impl IWMAuthorizer_Vtbl { let this = (*this).get_impl(); match IWMAuthorizer_Impl::GetCertCount(this) { Ok(ok__) => { - core::ptr::write(pccerts, core::mem::transmute(ok__)); + pccerts.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -354,7 +354,7 @@ impl IWMAuthorizer_Vtbl { let this = (*this).get_impl(); match IWMAuthorizer_Impl::GetCert(this, core::mem::transmute_copy(&dwindex)) { Ok(ok__) => { - core::ptr::write(ppbcertdata, core::mem::transmute(ok__)); + ppbcertdata.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -365,7 +365,7 @@ impl IWMAuthorizer_Vtbl { let this = (*this).get_impl(); match IWMAuthorizer_Impl::GetSharedData(this, core::mem::transmute_copy(&dwcertindex), core::mem::transmute_copy(&pbshareddata), core::mem::transmute_copy(&pbcert)) { Ok(ok__) => { - core::ptr::write(ppbshareddata, core::mem::transmute(ok__)); + ppbshareddata.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -398,7 +398,7 @@ impl IWMBackupRestoreProps_Vtbl { let this = (*this).get_impl(); match IWMBackupRestoreProps_Impl::GetPropCount(this) { Ok(ok__) => { - core::ptr::write(pcprops, core::mem::transmute(ok__)); + pcprops.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -457,7 +457,7 @@ impl IWMBandwidthSharing_Vtbl { let this = (*this).get_impl(); match IWMBandwidthSharing_Impl::GetType(this) { Ok(ok__) => { - core::ptr::write(pguidtype, core::mem::transmute(ok__)); + pguidtype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -502,7 +502,7 @@ impl IWMClientConnections_Vtbl { let this = (*this).get_impl(); match IWMClientConnections_Impl::GetClientCount(this) { Ok(ok__) => { - core::ptr::write(pcclients, core::mem::transmute(ok__)); + pcclients.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -513,7 +513,7 @@ impl IWMClientConnections_Vtbl { let this = (*this).get_impl(); match IWMClientConnections_Impl::GetClientProperties(this, core::mem::transmute_copy(&dwclientnum)) { Ok(ok__) => { - core::ptr::write(pclientproperties, core::mem::transmute(ok__)); + pclientproperties.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -559,7 +559,7 @@ impl IWMCodecInfo_Vtbl { let this = (*this).get_impl(); match IWMCodecInfo_Impl::GetCodecInfoCount(this, core::mem::transmute_copy(&guidtype)) { Ok(ok__) => { - core::ptr::write(pccodecs, core::mem::transmute(ok__)); + pccodecs.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -570,7 +570,7 @@ impl IWMCodecInfo_Vtbl { let this = (*this).get_impl(); match IWMCodecInfo_Impl::GetCodecFormatCount(this, core::mem::transmute_copy(&guidtype), core::mem::transmute_copy(&dwcodecindex)) { Ok(ok__) => { - core::ptr::write(pcformat, core::mem::transmute(ok__)); + pcformat.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -581,7 +581,7 @@ impl IWMCodecInfo_Vtbl { let this = (*this).get_impl(); match IWMCodecInfo_Impl::GetCodecFormat(this, core::mem::transmute_copy(&guidtype), core::mem::transmute_copy(&dwcodecindex), core::mem::transmute_copy(&dwformatindex)) { Ok(ok__) => { - core::ptr::write(ppistreamconfig, core::mem::transmute(ok__)); + ppistreamconfig.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -865,7 +865,7 @@ impl IWMDRMTranscryptionManager_Vtbl { let this = (*this).get_impl(); match IWMDRMTranscryptionManager_Impl::CreateTranscryptor(this) { Ok(ok__) => { - core::ptr::write(pptranscryptor, core::mem::transmute(ok__)); + pptranscryptor.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -942,7 +942,7 @@ impl IWMDRMTranscryptor2_Vtbl { let this = (*this).get_impl(); match IWMDRMTranscryptor2_Impl::GetSeekStartTime(this) { Ok(ok__) => { - core::ptr::write(pcnstime, core::mem::transmute(ok__)); + pcnstime.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -953,7 +953,7 @@ impl IWMDRMTranscryptor2_Vtbl { let this = (*this).get_impl(); match IWMDRMTranscryptor2_Impl::GetDuration(this) { Ok(ok__) => { - core::ptr::write(pcnsduration, core::mem::transmute(ok__)); + pcnsduration.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1062,7 +1062,7 @@ impl IWMDeviceRegistration_Vtbl { let this = (*this).get_impl(); match IWMDeviceRegistration_Impl::RegisterDevice(this, core::mem::transmute_copy(&dwregistertype), core::mem::transmute_copy(&pbcertificate), core::mem::transmute_copy(&cbcertificate), core::mem::transmute(&serialnumber)) { Ok(ok__) => { - core::ptr::write(ppdevice, core::mem::transmute(ok__)); + ppdevice.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1078,7 +1078,7 @@ impl IWMDeviceRegistration_Vtbl { let this = (*this).get_impl(); match IWMDeviceRegistration_Impl::GetRegistrationStats(this, core::mem::transmute_copy(&dwregistertype)) { Ok(ok__) => { - core::ptr::write(pcregistereddevices, core::mem::transmute(ok__)); + pcregistereddevices.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1089,7 +1089,7 @@ impl IWMDeviceRegistration_Vtbl { let this = (*this).get_impl(); match IWMDeviceRegistration_Impl::GetFirstRegisteredDevice(this, core::mem::transmute_copy(&dwregistertype)) { Ok(ok__) => { - core::ptr::write(ppdevice, core::mem::transmute(ok__)); + ppdevice.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1100,7 +1100,7 @@ impl IWMDeviceRegistration_Vtbl { let this = (*this).get_impl(); match IWMDeviceRegistration_Impl::GetNextRegisteredDevice(this) { Ok(ok__) => { - core::ptr::write(ppdevice, core::mem::transmute(ok__)); + ppdevice.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1111,7 +1111,7 @@ impl IWMDeviceRegistration_Vtbl { let this = (*this).get_impl(); match IWMDeviceRegistration_Impl::GetRegisteredDeviceByID(this, core::mem::transmute_copy(&dwregistertype), core::mem::transmute_copy(&pbcertificate), core::mem::transmute_copy(&cbcertificate), core::mem::transmute(&serialnumber)) { Ok(ok__) => { - core::ptr::write(ppdevice, core::mem::transmute(ok__)); + ppdevice.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1142,7 +1142,7 @@ impl IWMGetSecureChannel_Vtbl { let this = (*this).get_impl(); match IWMGetSecureChannel_Impl::GetPeerSecureChannelInterface(this) { Ok(ok__) => { - core::ptr::write(pppeer, core::mem::transmute(ok__)); + pppeer.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1179,7 +1179,7 @@ impl IWMHeaderInfo_Vtbl { let this = (*this).get_impl(); match IWMHeaderInfo_Impl::GetAttributeCount(this, core::mem::transmute_copy(&wstreamnum)) { Ok(ok__) => { - core::ptr::write(pcattributes, core::mem::transmute(ok__)); + pcattributes.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1205,7 +1205,7 @@ impl IWMHeaderInfo_Vtbl { let this = (*this).get_impl(); match IWMHeaderInfo_Impl::GetMarkerCount(this) { Ok(ok__) => { - core::ptr::write(pcmarkers, core::mem::transmute(ok__)); + pcmarkers.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1231,7 +1231,7 @@ impl IWMHeaderInfo_Vtbl { let this = (*this).get_impl(); match IWMHeaderInfo_Impl::GetScriptCount(this) { Ok(ok__) => { - core::ptr::write(pcscripts, core::mem::transmute(ok__)); + pcscripts.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1284,7 +1284,7 @@ impl IWMHeaderInfo2_Vtbl { let this = (*this).get_impl(); match IWMHeaderInfo2_Impl::GetCodecInfoCount(this) { Ok(ok__) => { - core::ptr::write(pccodecinfos, core::mem::transmute(ok__)); + pccodecinfos.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1322,7 +1322,7 @@ impl IWMHeaderInfo3_Vtbl { let this = (*this).get_impl(); match IWMHeaderInfo3_Impl::GetAttributeCountEx(this, core::mem::transmute_copy(&wstreamnum)) { Ok(ok__) => { - core::ptr::write(pcattributes, core::mem::transmute(ok__)); + pcattributes.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1402,7 +1402,7 @@ impl IWMImageInfo_Vtbl { let this = (*this).get_impl(); match IWMImageInfo_Impl::GetImageCount(this) { Ok(ok__) => { - core::ptr::write(pcimages, core::mem::transmute(ok__)); + pcimages.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1507,7 +1507,7 @@ impl IWMLanguageList_Vtbl { let this = (*this).get_impl(); match IWMLanguageList_Impl::GetLanguageCount(this) { Ok(ok__) => { - core::ptr::write(pwcount, core::mem::transmute(ok__)); + pwcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1523,7 +1523,7 @@ impl IWMLanguageList_Vtbl { let this = (*this).get_impl(); match IWMLanguageList_Impl::AddLanguageByRFC1766String(this, core::mem::transmute(&pwszlanguagestring)) { Ok(ok__) => { - core::ptr::write(pwindex, core::mem::transmute(ok__)); + pwindex.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1634,7 +1634,7 @@ impl IWMMediaProps_Vtbl { let this = (*this).get_impl(); match IWMMediaProps_Impl::GetType(this) { Ok(ok__) => { - core::ptr::write(pguidtype, core::mem::transmute(ok__)); + pguidtype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1724,7 +1724,7 @@ impl IWMMutualExclusion_Vtbl { let this = (*this).get_impl(); match IWMMutualExclusion_Impl::GetType(this) { Ok(ok__) => { - core::ptr::write(pguidtype, core::mem::transmute(ok__)); + pguidtype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1775,7 +1775,7 @@ impl IWMMutualExclusion2_Vtbl { let this = (*this).get_impl(); match IWMMutualExclusion2_Impl::GetRecordCount(this) { Ok(ok__) => { - core::ptr::write(pwrecordcount, core::mem::transmute(ok__)); + pwrecordcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1873,7 +1873,7 @@ impl IWMPacketSize_Vtbl { let this = (*this).get_impl(); match IWMPacketSize_Impl::GetMaxPacketSize(this) { Ok(ok__) => { - core::ptr::write(pdwmaxpacketsize, core::mem::transmute(ok__)); + pdwmaxpacketsize.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1906,7 +1906,7 @@ impl IWMPacketSize2_Vtbl { let this = (*this).get_impl(); match IWMPacketSize2_Impl::GetMinPacketSize(this) { Ok(ok__) => { - core::ptr::write(pdwminpacketsize, core::mem::transmute(ok__)); + pdwminpacketsize.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1955,7 +1955,7 @@ impl IWMPlayerTimestampHook_Vtbl { let this = (*this).get_impl(); match IWMPlayerTimestampHook_Impl::MapTimestamp(this, core::mem::transmute_copy(&rtin)) { Ok(ok__) => { - core::ptr::write(prtout, core::mem::transmute(ok__)); + prtout.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1995,7 +1995,7 @@ impl IWMProfile_Vtbl { let this = (*this).get_impl(); match IWMProfile_Impl::GetVersion(this) { Ok(ok__) => { - core::ptr::write(pdwversion, core::mem::transmute(ok__)); + pdwversion.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2026,7 +2026,7 @@ impl IWMProfile_Vtbl { let this = (*this).get_impl(); match IWMProfile_Impl::GetStreamCount(this) { Ok(ok__) => { - core::ptr::write(pcstreams, core::mem::transmute(ok__)); + pcstreams.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2037,7 +2037,7 @@ impl IWMProfile_Vtbl { let this = (*this).get_impl(); match IWMProfile_Impl::GetStream(this, core::mem::transmute_copy(&dwstreamindex)) { Ok(ok__) => { - core::ptr::write(ppconfig, core::mem::transmute(ok__)); + ppconfig.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2048,7 +2048,7 @@ impl IWMProfile_Vtbl { let this = (*this).get_impl(); match IWMProfile_Impl::GetStreamByNumber(this, core::mem::transmute_copy(&wstreamnum)) { Ok(ok__) => { - core::ptr::write(ppconfig, core::mem::transmute(ok__)); + ppconfig.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2079,7 +2079,7 @@ impl IWMProfile_Vtbl { let this = (*this).get_impl(); match IWMProfile_Impl::CreateNewStream(this, core::mem::transmute_copy(&guidstreamtype)) { Ok(ok__) => { - core::ptr::write(ppconfig, core::mem::transmute(ok__)); + ppconfig.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2090,7 +2090,7 @@ impl IWMProfile_Vtbl { let this = (*this).get_impl(); match IWMProfile_Impl::GetMutualExclusionCount(this) { Ok(ok__) => { - core::ptr::write(pcme, core::mem::transmute(ok__)); + pcme.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2101,7 +2101,7 @@ impl IWMProfile_Vtbl { let this = (*this).get_impl(); match IWMProfile_Impl::GetMutualExclusion(this, core::mem::transmute_copy(&dwmeindex)) { Ok(ok__) => { - core::ptr::write(ppme, core::mem::transmute(ok__)); + ppme.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2122,7 +2122,7 @@ impl IWMProfile_Vtbl { let this = (*this).get_impl(); match IWMProfile_Impl::CreateNewMutualExclusion(this) { Ok(ok__) => { - core::ptr::write(ppme, core::mem::transmute(ok__)); + ppme.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2165,7 +2165,7 @@ impl IWMProfile2_Vtbl { let this = (*this).get_impl(); match IWMProfile2_Impl::GetProfileID(this) { Ok(ok__) => { - core::ptr::write(pguidid, core::mem::transmute(ok__)); + pguidid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2199,7 +2199,7 @@ impl IWMProfile3_Vtbl { let this = (*this).get_impl(); match IWMProfile3_Impl::GetStorageFormat(this) { Ok(ok__) => { - core::ptr::write(pnstorageformat, core::mem::transmute(ok__)); + pnstorageformat.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2215,7 +2215,7 @@ impl IWMProfile3_Vtbl { let this = (*this).get_impl(); match IWMProfile3_Impl::GetBandwidthSharingCount(this) { Ok(ok__) => { - core::ptr::write(pcbs, core::mem::transmute(ok__)); + pcbs.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2226,7 +2226,7 @@ impl IWMProfile3_Vtbl { let this = (*this).get_impl(); match IWMProfile3_Impl::GetBandwidthSharing(this, core::mem::transmute_copy(&dwbsindex)) { Ok(ok__) => { - core::ptr::write(ppbs, core::mem::transmute(ok__)); + ppbs.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2247,7 +2247,7 @@ impl IWMProfile3_Vtbl { let this = (*this).get_impl(); match IWMProfile3_Impl::CreateNewBandwidthSharing(this) { Ok(ok__) => { - core::ptr::write(ppbs, core::mem::transmute(ok__)); + ppbs.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2258,7 +2258,7 @@ impl IWMProfile3_Vtbl { let this = (*this).get_impl(); match IWMProfile3_Impl::GetStreamPrioritization(this) { Ok(ok__) => { - core::ptr::write(ppsp, core::mem::transmute(ok__)); + ppsp.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2279,7 +2279,7 @@ impl IWMProfile3_Vtbl { let this = (*this).get_impl(); match IWMProfile3_Impl::CreateNewStreamPrioritization(this) { Ok(ok__) => { - core::ptr::write(ppsp, core::mem::transmute(ok__)); + ppsp.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2290,7 +2290,7 @@ impl IWMProfile3_Vtbl { let this = (*this).get_impl(); match IWMProfile3_Impl::GetExpectedPacketCount(this, core::mem::transmute_copy(&msduration)) { Ok(ok__) => { - core::ptr::write(pcpackets, core::mem::transmute(ok__)); + pcpackets.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2332,7 +2332,7 @@ impl IWMProfileManager_Vtbl { let this = (*this).get_impl(); match IWMProfileManager_Impl::CreateEmptyProfile(this, core::mem::transmute_copy(&dwversion)) { Ok(ok__) => { - core::ptr::write(ppprofile, core::mem::transmute(ok__)); + ppprofile.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2343,7 +2343,7 @@ impl IWMProfileManager_Vtbl { let this = (*this).get_impl(); match IWMProfileManager_Impl::LoadProfileByID(this, core::mem::transmute_copy(&guidprofile)) { Ok(ok__) => { - core::ptr::write(ppprofile, core::mem::transmute(ok__)); + ppprofile.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2354,7 +2354,7 @@ impl IWMProfileManager_Vtbl { let this = (*this).get_impl(); match IWMProfileManager_Impl::LoadProfileByData(this, core::mem::transmute(&pwszprofile)) { Ok(ok__) => { - core::ptr::write(ppprofile, core::mem::transmute(ok__)); + ppprofile.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2370,7 +2370,7 @@ impl IWMProfileManager_Vtbl { let this = (*this).get_impl(); match IWMProfileManager_Impl::GetSystemProfileCount(this) { Ok(ok__) => { - core::ptr::write(pcprofiles, core::mem::transmute(ok__)); + pcprofiles.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2381,7 +2381,7 @@ impl IWMProfileManager_Vtbl { let this = (*this).get_impl(); match IWMProfileManager_Impl::LoadSystemProfile(this, core::mem::transmute_copy(&dwprofileindex)) { Ok(ok__) => { - core::ptr::write(ppprofile, core::mem::transmute(ok__)); + ppprofile.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2558,7 +2558,7 @@ impl IWMReader_Vtbl { let this = (*this).get_impl(); match IWMReader_Impl::GetOutputCount(this) { Ok(ok__) => { - core::ptr::write(pcoutputs, core::mem::transmute(ok__)); + pcoutputs.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2569,7 +2569,7 @@ impl IWMReader_Vtbl { let this = (*this).get_impl(); match IWMReader_Impl::GetOutputProps(this, core::mem::transmute_copy(&dwoutputnum)) { Ok(ok__) => { - core::ptr::write(ppoutput, core::mem::transmute(ok__)); + ppoutput.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2585,7 +2585,7 @@ impl IWMReader_Vtbl { let this = (*this).get_impl(); match IWMReader_Impl::GetOutputFormatCount(this, core::mem::transmute_copy(&dwoutputnumber)) { Ok(ok__) => { - core::ptr::write(pcformats, core::mem::transmute(ok__)); + pcformats.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2596,7 +2596,7 @@ impl IWMReader_Vtbl { let this = (*this).get_impl(); match IWMReader_Impl::GetOutputFormat(this, core::mem::transmute_copy(&dwoutputnumber), core::mem::transmute_copy(&dwformatnumber)) { Ok(ok__) => { - core::ptr::write(ppprops, core::mem::transmute(ok__)); + ppprops.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2703,7 +2703,7 @@ impl IWMReaderAdvanced_Vtbl { let this = (*this).get_impl(); match IWMReaderAdvanced_Impl::GetUserProvidedClock(this) { Ok(ok__) => { - core::ptr::write(pfuserclock, core::mem::transmute(ok__)); + pfuserclock.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2724,7 +2724,7 @@ impl IWMReaderAdvanced_Vtbl { let this = (*this).get_impl(); match IWMReaderAdvanced_Impl::GetManualStreamSelection(this) { Ok(ok__) => { - core::ptr::write(pfselection, core::mem::transmute(ok__)); + pfselection.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2740,7 +2740,7 @@ impl IWMReaderAdvanced_Vtbl { let this = (*this).get_impl(); match IWMReaderAdvanced_Impl::GetStreamSelected(this, core::mem::transmute_copy(&wstreamnum)) { Ok(ok__) => { - core::ptr::write(pselection, core::mem::transmute(ok__)); + pselection.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2756,7 +2756,7 @@ impl IWMReaderAdvanced_Vtbl { let this = (*this).get_impl(); match IWMReaderAdvanced_Impl::GetReceiveSelectionCallbacks(this) { Ok(ok__) => { - core::ptr::write(pfgetcallbacks, core::mem::transmute(ok__)); + pfgetcallbacks.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2772,7 +2772,7 @@ impl IWMReaderAdvanced_Vtbl { let this = (*this).get_impl(); match IWMReaderAdvanced_Impl::GetReceiveStreamSamples(this, core::mem::transmute_copy(&wstreamnum)) { Ok(ok__) => { - core::ptr::write(pfreceivestreamsamples, core::mem::transmute(ok__)); + pfreceivestreamsamples.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2788,7 +2788,7 @@ impl IWMReaderAdvanced_Vtbl { let this = (*this).get_impl(); match IWMReaderAdvanced_Impl::GetAllocateForOutput(this, core::mem::transmute_copy(&dwoutputnum)) { Ok(ok__) => { - core::ptr::write(pfallocate, core::mem::transmute(ok__)); + pfallocate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2804,7 +2804,7 @@ impl IWMReaderAdvanced_Vtbl { let this = (*this).get_impl(); match IWMReaderAdvanced_Impl::GetAllocateForStream(this, core::mem::transmute_copy(&dwsreamnum)) { Ok(ok__) => { - core::ptr::write(pfallocate, core::mem::transmute(ok__)); + pfallocate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2825,7 +2825,7 @@ impl IWMReaderAdvanced_Vtbl { let this = (*this).get_impl(); match IWMReaderAdvanced_Impl::GetMaxOutputSampleSize(this, core::mem::transmute_copy(&dwoutput)) { Ok(ok__) => { - core::ptr::write(pcbmax, core::mem::transmute(ok__)); + pcbmax.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2836,7 +2836,7 @@ impl IWMReaderAdvanced_Vtbl { let this = (*this).get_impl(); match IWMReaderAdvanced_Impl::GetMaxStreamSampleSize(this, core::mem::transmute_copy(&wstream)) { Ok(ok__) => { - core::ptr::write(pcbmax, core::mem::transmute(ok__)); + pcbmax.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2908,7 +2908,7 @@ impl IWMReaderAdvanced2_Vtbl { let this = (*this).get_impl(); match IWMReaderAdvanced2_Impl::GetPlayMode(this) { Ok(ok__) => { - core::ptr::write(pmode, core::mem::transmute(ok__)); + pmode.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2929,7 +2929,7 @@ impl IWMReaderAdvanced2_Vtbl { let this = (*this).get_impl(); match IWMReaderAdvanced2_Impl::GetSaveAsProgress(this) { Ok(ok__) => { - core::ptr::write(pdwpercent, core::mem::transmute(ok__)); + pdwpercent.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2975,7 +2975,7 @@ impl IWMReaderAdvanced2_Vtbl { let this = (*this).get_impl(); match IWMReaderAdvanced2_Impl::GetLogClientID(this) { Ok(ok__) => { - core::ptr::write(pflogclientid, core::mem::transmute(ok__)); + pflogclientid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3066,7 +3066,7 @@ impl IWMReaderAdvanced4_Vtbl { let this = (*this).get_impl(); match IWMReaderAdvanced4_Impl::GetLanguageCount(this, core::mem::transmute_copy(&dwoutputnum)) { Ok(ok__) => { - core::ptr::write(pwlanguagecount, core::mem::transmute(ok__)); + pwlanguagecount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3082,7 +3082,7 @@ impl IWMReaderAdvanced4_Vtbl { let this = (*this).get_impl(); match IWMReaderAdvanced4_Impl::GetMaxSpeedFactor(this) { Ok(ok__) => { - core::ptr::write(pdblfactor, core::mem::transmute(ok__)); + pdblfactor.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3093,7 +3093,7 @@ impl IWMReaderAdvanced4_Vtbl { let this = (*this).get_impl(); match IWMReaderAdvanced4_Impl::IsUsingFastCache(this) { Ok(ok__) => { - core::ptr::write(pfusingfastcache, core::mem::transmute(ok__)); + pfusingfastcache.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3114,7 +3114,7 @@ impl IWMReaderAdvanced4_Vtbl { let this = (*this).get_impl(); match IWMReaderAdvanced4_Impl::CanSaveFileAs(this) { Ok(ok__) => { - core::ptr::write(pfcansave, core::mem::transmute(ok__)); + pfcansave.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3329,7 +3329,7 @@ impl IWMReaderNetworkConfig_Vtbl { let this = (*this).get_impl(); match IWMReaderNetworkConfig_Impl::GetBufferingTime(this) { Ok(ok__) => { - core::ptr::write(pcnsbufferingtime, core::mem::transmute(ok__)); + pcnsbufferingtime.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3355,7 +3355,7 @@ impl IWMReaderNetworkConfig_Vtbl { let this = (*this).get_impl(); match IWMReaderNetworkConfig_Impl::GetProxySettings(this, core::mem::transmute(&pwszprotocol)) { Ok(ok__) => { - core::ptr::write(pproxysetting, core::mem::transmute(ok__)); + pproxysetting.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3381,7 +3381,7 @@ impl IWMReaderNetworkConfig_Vtbl { let this = (*this).get_impl(); match IWMReaderNetworkConfig_Impl::GetProxyPort(this, core::mem::transmute(&pwszprotocol)) { Ok(ok__) => { - core::ptr::write(pdwport, core::mem::transmute(ok__)); + pdwport.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3407,7 +3407,7 @@ impl IWMReaderNetworkConfig_Vtbl { let this = (*this).get_impl(); match IWMReaderNetworkConfig_Impl::GetProxyBypassForLocal(this, core::mem::transmute(&pwszprotocol)) { Ok(ok__) => { - core::ptr::write(pfbypassforlocal, core::mem::transmute(ok__)); + pfbypassforlocal.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3423,7 +3423,7 @@ impl IWMReaderNetworkConfig_Vtbl { let this = (*this).get_impl(); match IWMReaderNetworkConfig_Impl::GetForceRerunAutoProxyDetection(this) { Ok(ok__) => { - core::ptr::write(pfforcererundetection, core::mem::transmute(ok__)); + pfforcererundetection.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3439,7 +3439,7 @@ impl IWMReaderNetworkConfig_Vtbl { let this = (*this).get_impl(); match IWMReaderNetworkConfig_Impl::GetEnableMulticast(this) { Ok(ok__) => { - core::ptr::write(pfenablemulticast, core::mem::transmute(ok__)); + pfenablemulticast.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3455,7 +3455,7 @@ impl IWMReaderNetworkConfig_Vtbl { let this = (*this).get_impl(); match IWMReaderNetworkConfig_Impl::GetEnableHTTP(this) { Ok(ok__) => { - core::ptr::write(pfenablehttp, core::mem::transmute(ok__)); + pfenablehttp.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3471,7 +3471,7 @@ impl IWMReaderNetworkConfig_Vtbl { let this = (*this).get_impl(); match IWMReaderNetworkConfig_Impl::GetEnableUDP(this) { Ok(ok__) => { - core::ptr::write(pfenableudp, core::mem::transmute(ok__)); + pfenableudp.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3487,7 +3487,7 @@ impl IWMReaderNetworkConfig_Vtbl { let this = (*this).get_impl(); match IWMReaderNetworkConfig_Impl::GetEnableTCP(this) { Ok(ok__) => { - core::ptr::write(pfenabletcp, core::mem::transmute(ok__)); + pfenabletcp.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3508,7 +3508,7 @@ impl IWMReaderNetworkConfig_Vtbl { let this = (*this).get_impl(); match IWMReaderNetworkConfig_Impl::GetConnectionBandwidth(this) { Ok(ok__) => { - core::ptr::write(pdwconnectionbandwidth, core::mem::transmute(ok__)); + pdwconnectionbandwidth.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3524,7 +3524,7 @@ impl IWMReaderNetworkConfig_Vtbl { let this = (*this).get_impl(); match IWMReaderNetworkConfig_Impl::GetNumProtocolsSupported(this) { Ok(ok__) => { - core::ptr::write(pcprotocols, core::mem::transmute(ok__)); + pcprotocols.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3550,7 +3550,7 @@ impl IWMReaderNetworkConfig_Vtbl { let this = (*this).get_impl(); match IWMReaderNetworkConfig_Impl::GetLoggingUrlCount(this) { Ok(ok__) => { - core::ptr::write(pdwurlcount, core::mem::transmute(ok__)); + pdwurlcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3625,7 +3625,7 @@ impl IWMReaderNetworkConfig2_Vtbl { let this = (*this).get_impl(); match IWMReaderNetworkConfig2_Impl::GetEnableContentCaching(this) { Ok(ok__) => { - core::ptr::write(pfenablecontentcaching, core::mem::transmute(ok__)); + pfenablecontentcaching.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3641,7 +3641,7 @@ impl IWMReaderNetworkConfig2_Vtbl { let this = (*this).get_impl(); match IWMReaderNetworkConfig2_Impl::GetEnableFastCache(this) { Ok(ok__) => { - core::ptr::write(pfenablefastcache, core::mem::transmute(ok__)); + pfenablefastcache.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3657,7 +3657,7 @@ impl IWMReaderNetworkConfig2_Vtbl { let this = (*this).get_impl(); match IWMReaderNetworkConfig2_Impl::GetAcceleratedStreamingDuration(this) { Ok(ok__) => { - core::ptr::write(pcnsaccelduration, core::mem::transmute(ok__)); + pcnsaccelduration.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3673,7 +3673,7 @@ impl IWMReaderNetworkConfig2_Vtbl { let this = (*this).get_impl(); match IWMReaderNetworkConfig2_Impl::GetAutoReconnectLimit(this) { Ok(ok__) => { - core::ptr::write(pdwautoreconnectlimit, core::mem::transmute(ok__)); + pdwautoreconnectlimit.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3689,7 +3689,7 @@ impl IWMReaderNetworkConfig2_Vtbl { let this = (*this).get_impl(); match IWMReaderNetworkConfig2_Impl::GetEnableResends(this) { Ok(ok__) => { - core::ptr::write(pfenableresends, core::mem::transmute(ok__)); + pfenableresends.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3705,7 +3705,7 @@ impl IWMReaderNetworkConfig2_Vtbl { let this = (*this).get_impl(); match IWMReaderNetworkConfig2_Impl::GetEnableThinning(this) { Ok(ok__) => { - core::ptr::write(pfenablethinning, core::mem::transmute(ok__)); + pfenablethinning.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3721,7 +3721,7 @@ impl IWMReaderNetworkConfig2_Vtbl { let this = (*this).get_impl(); match IWMReaderNetworkConfig2_Impl::GetMaxNetPacketSize(this) { Ok(ok__) => { - core::ptr::write(pdwmaxnetpacketsize, core::mem::transmute(ok__)); + pdwmaxnetpacketsize.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3767,7 +3767,7 @@ impl IWMReaderPlaylistBurn_Vtbl { let this = (*this).get_impl(); match IWMReaderPlaylistBurn_Impl::GetInitResults(this, core::mem::transmute_copy(&cfiles)) { Ok(ok__) => { - core::ptr::write(phrstati, core::mem::transmute(ok__)); + phrstati.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3813,7 +3813,7 @@ impl IWMReaderStreamClock_Vtbl { let this = (*this).get_impl(); match IWMReaderStreamClock_Impl::SetTimer(this, core::mem::transmute_copy(&cnswhen), core::mem::transmute_copy(&pvparam)) { Ok(ok__) => { - core::ptr::write(pdwtimerid, core::mem::transmute(ok__)); + pdwtimerid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3847,7 +3847,7 @@ impl IWMReaderTimecode_Vtbl { let this = (*this).get_impl(); match IWMReaderTimecode_Impl::GetTimecodeRangeCount(this, core::mem::transmute_copy(&wstreamnum)) { Ok(ok__) => { - core::ptr::write(pwrangecount, core::mem::transmute(ok__)); + pwrangecount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3936,7 +3936,7 @@ impl IWMRegisteredDevice_Vtbl { let this = (*this).get_impl(); match IWMRegisteredDevice_Impl::GetDeviceSerialNumber(this) { Ok(ok__) => { - core::ptr::write(pserialnumber, core::mem::transmute(ok__)); + pserialnumber.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3947,7 +3947,7 @@ impl IWMRegisteredDevice_Vtbl { let this = (*this).get_impl(); match IWMRegisteredDevice_Impl::GetDeviceCertificate(this) { Ok(ok__) => { - core::ptr::write(ppcertificate, core::mem::transmute(ok__)); + ppcertificate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3958,7 +3958,7 @@ impl IWMRegisteredDevice_Vtbl { let this = (*this).get_impl(); match IWMRegisteredDevice_Impl::GetDeviceType(this) { Ok(ok__) => { - core::ptr::write(pdwtype, core::mem::transmute(ok__)); + pdwtype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3969,7 +3969,7 @@ impl IWMRegisteredDevice_Vtbl { let this = (*this).get_impl(); match IWMRegisteredDevice_Impl::GetAttributeCount(this) { Ok(ok__) => { - core::ptr::write(pcattributes, core::mem::transmute(ok__)); + pcattributes.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3985,7 +3985,7 @@ impl IWMRegisteredDevice_Vtbl { let this = (*this).get_impl(); match IWMRegisteredDevice_Impl::GetAttributeByName(this, core::mem::transmute(&bstrname)) { Ok(ok__) => { - core::ptr::write(pbstrvalue, core::mem::transmute(ok__)); + pbstrvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4006,7 +4006,7 @@ impl IWMRegisteredDevice_Vtbl { let this = (*this).get_impl(); match IWMRegisteredDevice_Impl::IsValid(this) { Ok(ok__) => { - core::ptr::write(pfvalid, core::mem::transmute(ok__)); + pfvalid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4017,7 +4017,7 @@ impl IWMRegisteredDevice_Vtbl { let this = (*this).get_impl(); match IWMRegisteredDevice_Impl::IsApproved(this) { Ok(ok__) => { - core::ptr::write(pfapproved, core::mem::transmute(ok__)); + pfapproved.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4028,7 +4028,7 @@ impl IWMRegisteredDevice_Vtbl { let this = (*this).get_impl(); match IWMRegisteredDevice_Impl::IsWmdrmCompliant(this) { Ok(ok__) => { - core::ptr::write(pfcompliant, core::mem::transmute(ok__)); + pfcompliant.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4039,7 +4039,7 @@ impl IWMRegisteredDevice_Vtbl { let this = (*this).get_impl(); match IWMRegisteredDevice_Impl::IsOpened(this) { Ok(ok__) => { - core::ptr::write(pfopened, core::mem::transmute(ok__)); + pfopened.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4089,7 +4089,7 @@ impl IWMSBufferAllocator_Vtbl { let this = (*this).get_impl(); match IWMSBufferAllocator_Impl::AllocateBuffer(this, core::mem::transmute_copy(&dwmaxbuffersize)) { Ok(ok__) => { - core::ptr::write(ppbuffer, core::mem::transmute(ok__)); + ppbuffer.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4100,7 +4100,7 @@ impl IWMSBufferAllocator_Vtbl { let this = (*this).get_impl(); match IWMSBufferAllocator_Impl::AllocatePageSizeBuffer(this, core::mem::transmute_copy(&dwmaxbuffersize)) { Ok(ok__) => { - core::ptr::write(ppbuffer, core::mem::transmute(ok__)); + ppbuffer.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4142,7 +4142,7 @@ impl IWMSInternalAdminNetSource_Vtbl { let this = (*this).get_impl(); match IWMSInternalAdminNetSource_Impl::GetNetSourceCreator(this) { Ok(ok__) => { - core::ptr::write(ppnetsourcecreator, core::mem::transmute(ok__)); + ppnetsourcecreator.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4168,7 +4168,7 @@ impl IWMSInternalAdminNetSource_Vtbl { let this = (*this).get_impl(); match IWMSInternalAdminNetSource_Impl::GetCredentialFlags(this) { Ok(ok__) => { - core::ptr::write(lpdwflags, core::mem::transmute(ok__)); + lpdwflags.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4199,7 +4199,7 @@ impl IWMSInternalAdminNetSource_Vtbl { let this = (*this).get_impl(); match IWMSInternalAdminNetSource_Impl::IsUsingIE(this, core::mem::transmute_copy(&dwproxycontext)) { Ok(ok__) => { - core::ptr::write(pfisusingie, core::mem::transmute(ok__)); + pfisusingie.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4282,7 +4282,7 @@ impl IWMSInternalAdminNetSource3_Vtbl { let this = (*this).get_impl(); match IWMSInternalAdminNetSource3_Impl::GetNetSourceCreator2(this) { Ok(ok__) => { - core::ptr::write(ppnetsourcecreator, core::mem::transmute(ok__)); + ppnetsourcecreator.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4308,7 +4308,7 @@ impl IWMSInternalAdminNetSource3_Vtbl { let this = (*this).get_impl(); match IWMSInternalAdminNetSource3_Impl::IsUsingIE2(this, core::mem::transmute_copy(&qwproxycontext)) { Ok(ok__) => { - core::ptr::write(pfisusingie, core::mem::transmute(ok__)); + pfisusingie.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4375,7 +4375,7 @@ impl IWMSecureChannel_Vtbl { let this = (*this).get_impl(); match IWMSecureChannel_Impl::WMSC_IsConnected(this) { Ok(ok__) => { - core::ptr::write(pfisconnected, core::mem::transmute(ok__)); + pfisconnected.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4473,7 +4473,7 @@ impl IWMStreamConfig_Vtbl { let this = (*this).get_impl(); match IWMStreamConfig_Impl::GetStreamType(this) { Ok(ok__) => { - core::ptr::write(pguidstreamtype, core::mem::transmute(ok__)); + pguidstreamtype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4484,7 +4484,7 @@ impl IWMStreamConfig_Vtbl { let this = (*this).get_impl(); match IWMStreamConfig_Impl::GetStreamNumber(this) { Ok(ok__) => { - core::ptr::write(pwstreamnum, core::mem::transmute(ok__)); + pwstreamnum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4520,7 +4520,7 @@ impl IWMStreamConfig_Vtbl { let this = (*this).get_impl(); match IWMStreamConfig_Impl::GetBitrate(this) { Ok(ok__) => { - core::ptr::write(pdwbitrate, core::mem::transmute(ok__)); + pdwbitrate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4536,7 +4536,7 @@ impl IWMStreamConfig_Vtbl { let this = (*this).get_impl(); match IWMStreamConfig_Impl::GetBufferWindow(this) { Ok(ok__) => { - core::ptr::write(pmsbufferwindow, core::mem::transmute(ok__)); + pmsbufferwindow.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4582,7 +4582,7 @@ impl IWMStreamConfig2_Vtbl { let this = (*this).get_impl(); match IWMStreamConfig2_Impl::GetTransportType(this) { Ok(ok__) => { - core::ptr::write(pntransporttype, core::mem::transmute(ok__)); + pntransporttype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4603,7 +4603,7 @@ impl IWMStreamConfig2_Vtbl { let this = (*this).get_impl(); match IWMStreamConfig2_Impl::GetDataUnitExtensionCount(this) { Ok(ok__) => { - core::ptr::write(pcdataunitextensions, core::mem::transmute(ok__)); + pcdataunitextensions.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4785,7 +4785,7 @@ impl IWMSyncReader_Vtbl { let this = (*this).get_impl(); match IWMSyncReader_Impl::GetStreamSelected(this, core::mem::transmute_copy(&wstreamnum)) { Ok(ok__) => { - core::ptr::write(pselection, core::mem::transmute(ok__)); + pselection.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4801,7 +4801,7 @@ impl IWMSyncReader_Vtbl { let this = (*this).get_impl(); match IWMSyncReader_Impl::GetReadStreamSamples(this, core::mem::transmute_copy(&wstreamnum)) { Ok(ok__) => { - core::ptr::write(pfcompressed, core::mem::transmute(ok__)); + pfcompressed.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4822,7 +4822,7 @@ impl IWMSyncReader_Vtbl { let this = (*this).get_impl(); match IWMSyncReader_Impl::GetOutputCount(this) { Ok(ok__) => { - core::ptr::write(pcoutputs, core::mem::transmute(ok__)); + pcoutputs.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4833,7 +4833,7 @@ impl IWMSyncReader_Vtbl { let this = (*this).get_impl(); match IWMSyncReader_Impl::GetOutputProps(this, core::mem::transmute_copy(&dwoutputnum)) { Ok(ok__) => { - core::ptr::write(ppoutput, core::mem::transmute(ok__)); + ppoutput.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4849,7 +4849,7 @@ impl IWMSyncReader_Vtbl { let this = (*this).get_impl(); match IWMSyncReader_Impl::GetOutputFormatCount(this, core::mem::transmute_copy(&dwoutputnum)) { Ok(ok__) => { - core::ptr::write(pcformats, core::mem::transmute(ok__)); + pcformats.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4860,7 +4860,7 @@ impl IWMSyncReader_Vtbl { let this = (*this).get_impl(); match IWMSyncReader_Impl::GetOutputFormat(this, core::mem::transmute_copy(&dwoutputnum), core::mem::transmute_copy(&dwformatnum)) { Ok(ok__) => { - core::ptr::write(ppprops, core::mem::transmute(ok__)); + ppprops.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4871,7 +4871,7 @@ impl IWMSyncReader_Vtbl { let this = (*this).get_impl(); match IWMSyncReader_Impl::GetOutputNumberForStream(this, core::mem::transmute_copy(&wstreamnum)) { Ok(ok__) => { - core::ptr::write(pdwoutputnum, core::mem::transmute(ok__)); + pdwoutputnum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4882,7 +4882,7 @@ impl IWMSyncReader_Vtbl { let this = (*this).get_impl(); match IWMSyncReader_Impl::GetStreamNumberForOutput(this, core::mem::transmute_copy(&dwoutputnum)) { Ok(ok__) => { - core::ptr::write(pwstreamnum, core::mem::transmute(ok__)); + pwstreamnum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4893,7 +4893,7 @@ impl IWMSyncReader_Vtbl { let this = (*this).get_impl(); match IWMSyncReader_Impl::GetMaxOutputSampleSize(this, core::mem::transmute_copy(&dwoutput)) { Ok(ok__) => { - core::ptr::write(pcbmax, core::mem::transmute(ok__)); + pcbmax.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4904,7 +4904,7 @@ impl IWMSyncReader_Vtbl { let this = (*this).get_impl(); match IWMSyncReader_Impl::GetMaxStreamSampleSize(this, core::mem::transmute_copy(&wstream)) { Ok(ok__) => { - core::ptr::write(pcbmax, core::mem::transmute(ok__)); + pcbmax.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4968,7 +4968,7 @@ impl IWMSyncReader2_Vtbl { let this = (*this).get_impl(); match IWMSyncReader2_Impl::SetRangeByFrameEx(this, core::mem::transmute_copy(&wstreamnum), core::mem::transmute_copy(&qwframenumber), core::mem::transmute_copy(&cframestoread)) { Ok(ok__) => { - core::ptr::write(pcnsstarttime, core::mem::transmute(ok__)); + pcnsstarttime.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4984,7 +4984,7 @@ impl IWMSyncReader2_Vtbl { let this = (*this).get_impl(); match IWMSyncReader2_Impl::GetAllocateForOutput(this, core::mem::transmute_copy(&dwoutputnum)) { Ok(ok__) => { - core::ptr::write(ppallocator, core::mem::transmute(ok__)); + ppallocator.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5000,7 +5000,7 @@ impl IWMSyncReader2_Vtbl { let this = (*this).get_impl(); match IWMSyncReader2_Impl::GetAllocateForStream(this, core::mem::transmute_copy(&dwsreamnum)) { Ok(ok__) => { - core::ptr::write(ppallocator, core::mem::transmute(ok__)); + ppallocator.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5034,7 +5034,7 @@ impl IWMVideoMediaProps_Vtbl { let this = (*this).get_impl(); match IWMVideoMediaProps_Impl::GetMaxKeyFrameSpacing(this) { Ok(ok__) => { - core::ptr::write(plltime, core::mem::transmute(ok__)); + plltime.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5050,7 +5050,7 @@ impl IWMVideoMediaProps_Vtbl { let this = (*this).get_impl(); match IWMVideoMediaProps_Impl::GetQuality(this) { Ok(ok__) => { - core::ptr::write(pdwquality, core::mem::transmute(ok__)); + pdwquality.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5085,7 +5085,7 @@ impl IWMWatermarkInfo_Vtbl { let this = (*this).get_impl(); match IWMWatermarkInfo_Impl::GetWatermarkEntryCount(this, core::mem::transmute_copy(&wmettype)) { Ok(ok__) => { - core::ptr::write(pdwcount, core::mem::transmute(ok__)); + pdwcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5144,7 +5144,7 @@ impl IWMWriter_Vtbl { let this = (*this).get_impl(); match IWMWriter_Impl::GetInputCount(this) { Ok(ok__) => { - core::ptr::write(pcinputs, core::mem::transmute(ok__)); + pcinputs.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5155,7 +5155,7 @@ impl IWMWriter_Vtbl { let this = (*this).get_impl(); match IWMWriter_Impl::GetInputProps(this, core::mem::transmute_copy(&dwinputnum)) { Ok(ok__) => { - core::ptr::write(ppinput, core::mem::transmute(ok__)); + ppinput.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5171,7 +5171,7 @@ impl IWMWriter_Vtbl { let this = (*this).get_impl(); match IWMWriter_Impl::GetInputFormatCount(this, core::mem::transmute_copy(&dwinputnumber)) { Ok(ok__) => { - core::ptr::write(pcformats, core::mem::transmute(ok__)); + pcformats.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5182,7 +5182,7 @@ impl IWMWriter_Vtbl { let this = (*this).get_impl(); match IWMWriter_Impl::GetInputFormat(this, core::mem::transmute_copy(&dwinputnumber), core::mem::transmute_copy(&dwformatnumber)) { Ok(ok__) => { - core::ptr::write(pprops, core::mem::transmute(ok__)); + pprops.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5203,7 +5203,7 @@ impl IWMWriter_Vtbl { let this = (*this).get_impl(); match IWMWriter_Impl::AllocateSample(this, core::mem::transmute_copy(&dwsamplesize)) { Ok(ok__) => { - core::ptr::write(ppsample, core::mem::transmute(ok__)); + ppsample.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5261,7 +5261,7 @@ impl IWMWriterAdvanced_Vtbl { let this = (*this).get_impl(); match IWMWriterAdvanced_Impl::GetSinkCount(this) { Ok(ok__) => { - core::ptr::write(pcsinks, core::mem::transmute(ok__)); + pcsinks.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5272,7 +5272,7 @@ impl IWMWriterAdvanced_Vtbl { let this = (*this).get_impl(); match IWMWriterAdvanced_Impl::GetSink(this, core::mem::transmute_copy(&dwsinknum)) { Ok(ok__) => { - core::ptr::write(ppsink, core::mem::transmute(ok__)); + ppsink.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5303,7 +5303,7 @@ impl IWMWriterAdvanced_Vtbl { let this = (*this).get_impl(); match IWMWriterAdvanced_Impl::IsRealTime(this) { Ok(ok__) => { - core::ptr::write(pfrealtime, core::mem::transmute(ok__)); + pfrealtime.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5314,7 +5314,7 @@ impl IWMWriterAdvanced_Vtbl { let this = (*this).get_impl(); match IWMWriterAdvanced_Impl::GetWriterTime(this) { Ok(ok__) => { - core::ptr::write(pcnscurrenttime, core::mem::transmute(ok__)); + pcnscurrenttime.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5335,7 +5335,7 @@ impl IWMWriterAdvanced_Vtbl { let this = (*this).get_impl(); match IWMWriterAdvanced_Impl::GetSyncTolerance(this) { Ok(ok__) => { - core::ptr::write(pmswindow, core::mem::transmute(ok__)); + pmswindow.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5458,7 +5458,7 @@ impl IWMWriterFileSink2_Vtbl { let this = (*this).get_impl(); match IWMWriterFileSink2_Impl::IsStopped(this) { Ok(ok__) => { - core::ptr::write(pfstopped, core::mem::transmute(ok__)); + pfstopped.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5469,7 +5469,7 @@ impl IWMWriterFileSink2_Vtbl { let this = (*this).get_impl(); match IWMWriterFileSink2_Impl::GetFileDuration(this) { Ok(ok__) => { - core::ptr::write(pcnsduration, core::mem::transmute(ok__)); + pcnsduration.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5480,7 +5480,7 @@ impl IWMWriterFileSink2_Vtbl { let this = (*this).get_impl(); match IWMWriterFileSink2_Impl::GetFileSize(this) { Ok(ok__) => { - core::ptr::write(pcbfile, core::mem::transmute(ok__)); + pcbfile.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5496,7 +5496,7 @@ impl IWMWriterFileSink2_Vtbl { let this = (*this).get_impl(); match IWMWriterFileSink2_Impl::IsClosed(this) { Ok(ok__) => { - core::ptr::write(pfclosed, core::mem::transmute(ok__)); + pfclosed.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5540,7 +5540,7 @@ impl IWMWriterFileSink3_Vtbl { let this = (*this).get_impl(); match IWMWriterFileSink3_Impl::GetAutoIndexing(this) { Ok(ok__) => { - core::ptr::write(pfautoindexing, core::mem::transmute(ok__)); + pfautoindexing.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5556,7 +5556,7 @@ impl IWMWriterFileSink3_Vtbl { let this = (*this).get_impl(); match IWMWriterFileSink3_Impl::GetMode(this) { Ok(ok__) => { - core::ptr::write(pdwfilesinkmode, core::mem::transmute(ok__)); + pdwfilesinkmode.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5577,7 +5577,7 @@ impl IWMWriterFileSink3_Vtbl { let this = (*this).get_impl(); match IWMWriterFileSink3_Impl::GetUnbufferedIO(this) { Ok(ok__) => { - core::ptr::write(pfunbufferedio, core::mem::transmute(ok__)); + pfunbufferedio.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5627,7 +5627,7 @@ impl IWMWriterNetworkSink_Vtbl { let this = (*this).get_impl(); match IWMWriterNetworkSink_Impl::GetMaximumClients(this) { Ok(ok__) => { - core::ptr::write(pdwmaxclients, core::mem::transmute(ok__)); + pdwmaxclients.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5643,7 +5643,7 @@ impl IWMWriterNetworkSink_Vtbl { let this = (*this).get_impl(); match IWMWriterNetworkSink_Impl::GetNetworkProtocol(this) { Ok(ok__) => { - core::ptr::write(pprotocol, core::mem::transmute(ok__)); + pprotocol.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5714,7 +5714,7 @@ impl IWMWriterPostView_Vtbl { let this = (*this).get_impl(); match IWMWriterPostView_Impl::GetReceivePostViewSamples(this, core::mem::transmute_copy(&wstreamnum)) { Ok(ok__) => { - core::ptr::write(pfreceivepostviewsamples, core::mem::transmute(ok__)); + pfreceivepostviewsamples.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5725,7 +5725,7 @@ impl IWMWriterPostView_Vtbl { let this = (*this).get_impl(); match IWMWriterPostView_Impl::GetPostViewProps(this, core::mem::transmute_copy(&wstreamnumber)) { Ok(ok__) => { - core::ptr::write(ppoutput, core::mem::transmute(ok__)); + ppoutput.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5741,7 +5741,7 @@ impl IWMWriterPostView_Vtbl { let this = (*this).get_impl(); match IWMWriterPostView_Impl::GetPostViewFormatCount(this, core::mem::transmute_copy(&wstreamnumber)) { Ok(ok__) => { - core::ptr::write(pcformats, core::mem::transmute(ok__)); + pcformats.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5752,7 +5752,7 @@ impl IWMWriterPostView_Vtbl { let this = (*this).get_impl(); match IWMWriterPostView_Impl::GetPostViewFormat(this, core::mem::transmute_copy(&wstreamnumber), core::mem::transmute_copy(&dwformatnumber)) { Ok(ok__) => { - core::ptr::write(ppprops, core::mem::transmute(ok__)); + ppprops.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5768,7 +5768,7 @@ impl IWMWriterPostView_Vtbl { let this = (*this).get_impl(); match IWMWriterPostView_Impl::GetAllocateForPostView(this, core::mem::transmute_copy(&wstreamnumber)) { Ok(ok__) => { - core::ptr::write(pfallocate, core::mem::transmute(ok__)); + pfallocate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5833,7 +5833,7 @@ impl IWMWriterPreprocess_Vtbl { let this = (*this).get_impl(); match IWMWriterPreprocess_Impl::GetMaxPreprocessingPasses(this, core::mem::transmute_copy(&dwinputnum), core::mem::transmute_copy(&dwflags)) { Ok(ok__) => { - core::ptr::write(pdwmaxnumpasses, core::mem::transmute(ok__)); + pdwmaxnumpasses.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5926,7 +5926,7 @@ impl IWMWriterSink_Vtbl { let this = (*this).get_impl(); match IWMWriterSink_Impl::IsRealTime(this) { Ok(ok__) => { - core::ptr::write(pfrealtime, core::mem::transmute(ok__)); + pfrealtime.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5937,7 +5937,7 @@ impl IWMWriterSink_Vtbl { let this = (*this).get_impl(); match IWMWriterSink_Impl::AllocateDataUnit(this, core::mem::transmute_copy(&cbdataunit)) { Ok(ok__) => { - core::ptr::write(ppdataunit, core::mem::transmute(ok__)); + ppdataunit.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/Win32/Media/impl.rs b/crates/libs/windows/src/Windows/Win32/Media/impl.rs index c633f1f4c0..7cc9d68f15 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/impl.rs @@ -12,7 +12,7 @@ impl IReferenceClock_Vtbl { let this = (*this).get_impl(); match IReferenceClock_Impl::GetTime(this) { Ok(ok__) => { - core::ptr::write(ptime, core::mem::transmute(ok__)); + ptime.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -23,7 +23,7 @@ impl IReferenceClock_Vtbl { let this = (*this).get_impl(); match IReferenceClock_Impl::AdviseTime(this, core::mem::transmute_copy(&basetime), core::mem::transmute_copy(&streamtime), core::mem::transmute_copy(&hevent)) { Ok(ok__) => { - core::ptr::write(pdwadvisecookie, core::mem::transmute(ok__)); + pdwadvisecookie.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -34,7 +34,7 @@ impl IReferenceClock_Vtbl { let this = (*this).get_impl(); match IReferenceClock_Impl::AdvisePeriodic(this, core::mem::transmute_copy(&starttime), core::mem::transmute_copy(&periodtime), core::mem::transmute_copy(&hsemaphore)) { Ok(ok__) => { - core::ptr::write(pdwadvisecookie, core::mem::transmute(ok__)); + pdwadvisecookie.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -84,7 +84,7 @@ impl IReferenceClockTimerControl_Vtbl { let this = (*this).get_impl(); match IReferenceClockTimerControl_Impl::GetDefaultTimerResolution(this) { Ok(ok__) => { - core::ptr::write(ptimerresolution, core::mem::transmute(ok__)); + ptimerresolution.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/Win32/NetworkManagement/MobileBroadband/impl.rs b/crates/libs/windows/src/Windows/Win32/NetworkManagement/MobileBroadband/impl.rs index 531a456548..8d47ac1981 100644 --- a/crates/libs/windows/src/Windows/Win32/NetworkManagement/MobileBroadband/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/NetworkManagement/MobileBroadband/impl.rs @@ -28,7 +28,7 @@ impl IMbnConnection_Vtbl { let this = (*this).get_impl(); match IMbnConnection_Impl::ConnectionID(this) { Ok(ok__) => { - core::ptr::write(connectionid, core::mem::transmute(ok__)); + connectionid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -39,7 +39,7 @@ impl IMbnConnection_Vtbl { let this = (*this).get_impl(); match IMbnConnection_Impl::InterfaceID(this) { Ok(ok__) => { - core::ptr::write(interfaceid, core::mem::transmute(ok__)); + interfaceid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -50,7 +50,7 @@ impl IMbnConnection_Vtbl { let this = (*this).get_impl(); match IMbnConnection_Impl::Connect(this, core::mem::transmute_copy(&connectionmode), core::mem::transmute(&strprofile)) { Ok(ok__) => { - core::ptr::write(requestid, core::mem::transmute(ok__)); + requestid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -61,7 +61,7 @@ impl IMbnConnection_Vtbl { let this = (*this).get_impl(); match IMbnConnection_Impl::Disconnect(this) { Ok(ok__) => { - core::ptr::write(requestid, core::mem::transmute(ok__)); + requestid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -77,7 +77,7 @@ impl IMbnConnection_Vtbl { let this = (*this).get_impl(); match IMbnConnection_Impl::GetVoiceCallState(this) { Ok(ok__) => { - core::ptr::write(voicecallstate, core::mem::transmute(ok__)); + voicecallstate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -88,7 +88,7 @@ impl IMbnConnection_Vtbl { let this = (*this).get_impl(); match IMbnConnection_Impl::GetActivationNetworkError(this) { Ok(ok__) => { - core::ptr::write(networkerror, core::mem::transmute(ok__)); + networkerror.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -124,7 +124,7 @@ impl IMbnConnectionContext_Vtbl { let this = (*this).get_impl(); match IMbnConnectionContext_Impl::GetProvisionedContexts(this) { Ok(ok__) => { - core::ptr::write(provisionedcontexts, core::mem::transmute(ok__)); + provisionedcontexts.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -135,7 +135,7 @@ impl IMbnConnectionContext_Vtbl { let this = (*this).get_impl(); match IMbnConnectionContext_Impl::SetProvisionedContext(this, core::mem::transmute(&provisionedcontexts), core::mem::transmute(&providerid)) { Ok(ok__) => { - core::ptr::write(requestid, core::mem::transmute(ok__)); + requestid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -234,7 +234,7 @@ impl IMbnConnectionManager_Vtbl { let this = (*this).get_impl(); match IMbnConnectionManager_Impl::GetConnection(this, core::mem::transmute(&connectionid)) { Ok(ok__) => { - core::ptr::write(mbnconnection, core::mem::transmute(ok__)); + mbnconnection.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -245,7 +245,7 @@ impl IMbnConnectionManager_Vtbl { let this = (*this).get_impl(); match IMbnConnectionManager_Impl::GetConnections(this) { Ok(ok__) => { - core::ptr::write(mbnconnections, core::mem::transmute(ok__)); + mbnconnections.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -301,7 +301,7 @@ impl IMbnConnectionProfile_Vtbl { let this = (*this).get_impl(); match IMbnConnectionProfile_Impl::GetProfileXmlData(this) { Ok(ok__) => { - core::ptr::write(profiledata, core::mem::transmute(ok__)); + profiledata.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -361,7 +361,7 @@ impl IMbnConnectionProfileManager_Vtbl { let this = (*this).get_impl(); match IMbnConnectionProfileManager_Impl::GetConnectionProfiles(this, windows_core::from_raw_borrowed(&mbninterface)) { Ok(ok__) => { - core::ptr::write(connectionprofiles, core::mem::transmute(ok__)); + connectionprofiles.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -372,7 +372,7 @@ impl IMbnConnectionProfileManager_Vtbl { let this = (*this).get_impl(); match IMbnConnectionProfileManager_Impl::GetConnectionProfile(this, windows_core::from_raw_borrowed(&mbninterface), core::mem::transmute(&profilename)) { Ok(ok__) => { - core::ptr::write(connectionprofile, core::mem::transmute(ok__)); + connectionprofile.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -446,7 +446,7 @@ impl IMbnDeviceService_Vtbl { let this = (*this).get_impl(); match IMbnDeviceService_Impl::QuerySupportedCommands(this) { Ok(ok__) => { - core::ptr::write(requestid, core::mem::transmute(ok__)); + requestid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -457,7 +457,7 @@ impl IMbnDeviceService_Vtbl { let this = (*this).get_impl(); match IMbnDeviceService_Impl::OpenCommandSession(this) { Ok(ok__) => { - core::ptr::write(requestid, core::mem::transmute(ok__)); + requestid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -468,7 +468,7 @@ impl IMbnDeviceService_Vtbl { let this = (*this).get_impl(); match IMbnDeviceService_Impl::CloseCommandSession(this) { Ok(ok__) => { - core::ptr::write(requestid, core::mem::transmute(ok__)); + requestid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -479,7 +479,7 @@ impl IMbnDeviceService_Vtbl { let this = (*this).get_impl(); match IMbnDeviceService_Impl::SetCommand(this, core::mem::transmute_copy(&commandid), core::mem::transmute_copy(&deviceservicedata)) { Ok(ok__) => { - core::ptr::write(requestid, core::mem::transmute(ok__)); + requestid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -490,7 +490,7 @@ impl IMbnDeviceService_Vtbl { let this = (*this).get_impl(); match IMbnDeviceService_Impl::QueryCommand(this, core::mem::transmute_copy(&commandid), core::mem::transmute_copy(&deviceservicedata)) { Ok(ok__) => { - core::ptr::write(requestid, core::mem::transmute(ok__)); + requestid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -501,7 +501,7 @@ impl IMbnDeviceService_Vtbl { let this = (*this).get_impl(); match IMbnDeviceService_Impl::OpenDataSession(this) { Ok(ok__) => { - core::ptr::write(requestid, core::mem::transmute(ok__)); + requestid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -512,7 +512,7 @@ impl IMbnDeviceService_Vtbl { let this = (*this).get_impl(); match IMbnDeviceService_Impl::CloseDataSession(this) { Ok(ok__) => { - core::ptr::write(requestid, core::mem::transmute(ok__)); + requestid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -523,7 +523,7 @@ impl IMbnDeviceService_Vtbl { let this = (*this).get_impl(); match IMbnDeviceService_Impl::WriteData(this, core::mem::transmute_copy(&deviceservicedata)) { Ok(ok__) => { - core::ptr::write(requestid, core::mem::transmute(ok__)); + requestid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -534,7 +534,7 @@ impl IMbnDeviceService_Vtbl { let this = (*this).get_impl(); match IMbnDeviceService_Impl::InterfaceID(this) { Ok(ok__) => { - core::ptr::write(interfaceid, core::mem::transmute(ok__)); + interfaceid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -545,7 +545,7 @@ impl IMbnDeviceService_Vtbl { let this = (*this).get_impl(); match IMbnDeviceService_Impl::DeviceServiceID(this) { Ok(ok__) => { - core::ptr::write(deviceserviceid, core::mem::transmute(ok__)); + deviceserviceid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -556,7 +556,7 @@ impl IMbnDeviceService_Vtbl { let this = (*this).get_impl(); match IMbnDeviceService_Impl::IsCommandSessionOpen(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -567,7 +567,7 @@ impl IMbnDeviceService_Vtbl { let this = (*this).get_impl(); match IMbnDeviceService_Impl::IsDataSessionOpen(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -627,7 +627,7 @@ impl IMbnDeviceServicesContext_Vtbl { let this = (*this).get_impl(); match IMbnDeviceServicesContext_Impl::EnumerateDeviceServices(this) { Ok(ok__) => { - core::ptr::write(deviceservices, core::mem::transmute(ok__)); + deviceservices.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -638,7 +638,7 @@ impl IMbnDeviceServicesContext_Vtbl { let this = (*this).get_impl(); match IMbnDeviceServicesContext_Impl::GetDeviceService(this, core::mem::transmute(&deviceserviceid)) { Ok(ok__) => { - core::ptr::write(mbndeviceservice, core::mem::transmute(ok__)); + mbndeviceservice.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -649,7 +649,7 @@ impl IMbnDeviceServicesContext_Vtbl { let this = (*this).get_impl(); match IMbnDeviceServicesContext_Impl::MaxCommandSize(this) { Ok(ok__) => { - core::ptr::write(maxcommandsize, core::mem::transmute(ok__)); + maxcommandsize.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -660,7 +660,7 @@ impl IMbnDeviceServicesContext_Vtbl { let this = (*this).get_impl(); match IMbnDeviceServicesContext_Impl::MaxDataSize(this) { Ok(ok__) => { - core::ptr::write(maxdatasize, core::mem::transmute(ok__)); + maxdatasize.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -782,7 +782,7 @@ impl IMbnDeviceServicesManager_Vtbl { let this = (*this).get_impl(); match IMbnDeviceServicesManager_Impl::GetDeviceServicesContext(this, core::mem::transmute(&networkinterfaceid)) { Ok(ok__) => { - core::ptr::write(mbndevicescontext, core::mem::transmute(ok__)); + mbndevicescontext.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -818,7 +818,7 @@ impl IMbnInterface_Vtbl { let this = (*this).get_impl(); match IMbnInterface_Impl::InterfaceID(this) { Ok(ok__) => { - core::ptr::write(interfaceid, core::mem::transmute(ok__)); + interfaceid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -834,7 +834,7 @@ impl IMbnInterface_Vtbl { let this = (*this).get_impl(); match IMbnInterface_Impl::GetSubscriberInformation(this) { Ok(ok__) => { - core::ptr::write(subscriberinformation, core::mem::transmute(ok__)); + subscriberinformation.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -845,7 +845,7 @@ impl IMbnInterface_Vtbl { let this = (*this).get_impl(); match IMbnInterface_Impl::GetReadyState(this) { Ok(ok__) => { - core::ptr::write(readystate, core::mem::transmute(ok__)); + readystate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -856,7 +856,7 @@ impl IMbnInterface_Vtbl { let this = (*this).get_impl(); match IMbnInterface_Impl::InEmergencyMode(this) { Ok(ok__) => { - core::ptr::write(emergencymode, core::mem::transmute(ok__)); + emergencymode.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -867,7 +867,7 @@ impl IMbnInterface_Vtbl { let this = (*this).get_impl(); match IMbnInterface_Impl::GetHomeProvider(this) { Ok(ok__) => { - core::ptr::write(homeprovider, core::mem::transmute(ok__)); + homeprovider.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -878,7 +878,7 @@ impl IMbnInterface_Vtbl { let this = (*this).get_impl(); match IMbnInterface_Impl::GetPreferredProviders(this) { Ok(ok__) => { - core::ptr::write(preferredproviders, core::mem::transmute(ok__)); + preferredproviders.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -889,7 +889,7 @@ impl IMbnInterface_Vtbl { let this = (*this).get_impl(); match IMbnInterface_Impl::SetPreferredProviders(this, core::mem::transmute_copy(&preferredproviders)) { Ok(ok__) => { - core::ptr::write(requestid, core::mem::transmute(ok__)); + requestid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -900,7 +900,7 @@ impl IMbnInterface_Vtbl { let this = (*this).get_impl(); match IMbnInterface_Impl::GetVisibleProviders(this, core::mem::transmute_copy(&age)) { Ok(ok__) => { - core::ptr::write(visibleproviders, core::mem::transmute(ok__)); + visibleproviders.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -911,7 +911,7 @@ impl IMbnInterface_Vtbl { let this = (*this).get_impl(); match IMbnInterface_Impl::ScanNetwork(this) { Ok(ok__) => { - core::ptr::write(requestid, core::mem::transmute(ok__)); + requestid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -922,7 +922,7 @@ impl IMbnInterface_Vtbl { let this = (*this).get_impl(); match IMbnInterface_Impl::GetConnection(this) { Ok(ok__) => { - core::ptr::write(mbnconnection, core::mem::transmute(ok__)); + mbnconnection.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1031,7 +1031,7 @@ impl IMbnInterfaceManager_Vtbl { let this = (*this).get_impl(); match IMbnInterfaceManager_Impl::GetInterface(this, core::mem::transmute(&interfaceid)) { Ok(ok__) => { - core::ptr::write(mbninterface, core::mem::transmute(ok__)); + mbninterface.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1042,7 +1042,7 @@ impl IMbnInterfaceManager_Vtbl { let this = (*this).get_impl(); match IMbnInterfaceManager_Impl::GetInterfaces(this) { Ok(ok__) => { - core::ptr::write(mbninterfaces, core::mem::transmute(ok__)); + mbninterfaces.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1104,7 +1104,7 @@ impl IMbnMultiCarrier_Vtbl { let this = (*this).get_impl(); match IMbnMultiCarrier_Impl::SetHomeProvider(this, core::mem::transmute_copy(&homeprovider)) { Ok(ok__) => { - core::ptr::write(requestid, core::mem::transmute(ok__)); + requestid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1115,7 +1115,7 @@ impl IMbnMultiCarrier_Vtbl { let this = (*this).get_impl(); match IMbnMultiCarrier_Impl::GetPreferredProviders(this) { Ok(ok__) => { - core::ptr::write(preferredmulticarrierproviders, core::mem::transmute(ok__)); + preferredmulticarrierproviders.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1126,7 +1126,7 @@ impl IMbnMultiCarrier_Vtbl { let this = (*this).get_impl(); match IMbnMultiCarrier_Impl::GetVisibleProviders(this, core::mem::transmute_copy(&age)) { Ok(ok__) => { - core::ptr::write(visibleproviders, core::mem::transmute(ok__)); + visibleproviders.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1137,7 +1137,7 @@ impl IMbnMultiCarrier_Vtbl { let this = (*this).get_impl(); match IMbnMultiCarrier_Impl::GetSupportedCellularClasses(this) { Ok(ok__) => { - core::ptr::write(cellularclasses, core::mem::transmute(ok__)); + cellularclasses.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1148,7 +1148,7 @@ impl IMbnMultiCarrier_Vtbl { let this = (*this).get_impl(); match IMbnMultiCarrier_Impl::GetCurrentCellularClass(this) { Ok(ok__) => { - core::ptr::write(currentcellularclass, core::mem::transmute(ok__)); + currentcellularclass.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1159,7 +1159,7 @@ impl IMbnMultiCarrier_Vtbl { let this = (*this).get_impl(); match IMbnMultiCarrier_Impl::ScanNetwork(this) { Ok(ok__) => { - core::ptr::write(requestid, core::mem::transmute(ok__)); + requestid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1248,7 +1248,7 @@ impl IMbnPin_Vtbl { let this = (*this).get_impl(); match IMbnPin_Impl::PinType(this) { Ok(ok__) => { - core::ptr::write(pintype, core::mem::transmute(ok__)); + pintype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1259,7 +1259,7 @@ impl IMbnPin_Vtbl { let this = (*this).get_impl(); match IMbnPin_Impl::PinFormat(this) { Ok(ok__) => { - core::ptr::write(pinformat, core::mem::transmute(ok__)); + pinformat.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1270,7 +1270,7 @@ impl IMbnPin_Vtbl { let this = (*this).get_impl(); match IMbnPin_Impl::PinLengthMin(this) { Ok(ok__) => { - core::ptr::write(pinlengthmin, core::mem::transmute(ok__)); + pinlengthmin.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1281,7 +1281,7 @@ impl IMbnPin_Vtbl { let this = (*this).get_impl(); match IMbnPin_Impl::PinLengthMax(this) { Ok(ok__) => { - core::ptr::write(pinlengthmax, core::mem::transmute(ok__)); + pinlengthmax.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1292,7 +1292,7 @@ impl IMbnPin_Vtbl { let this = (*this).get_impl(); match IMbnPin_Impl::PinMode(this) { Ok(ok__) => { - core::ptr::write(pinmode, core::mem::transmute(ok__)); + pinmode.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1303,7 +1303,7 @@ impl IMbnPin_Vtbl { let this = (*this).get_impl(); match IMbnPin_Impl::Enable(this, core::mem::transmute(&pin)) { Ok(ok__) => { - core::ptr::write(requestid, core::mem::transmute(ok__)); + requestid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1314,7 +1314,7 @@ impl IMbnPin_Vtbl { let this = (*this).get_impl(); match IMbnPin_Impl::Disable(this, core::mem::transmute(&pin)) { Ok(ok__) => { - core::ptr::write(requestid, core::mem::transmute(ok__)); + requestid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1325,7 +1325,7 @@ impl IMbnPin_Vtbl { let this = (*this).get_impl(); match IMbnPin_Impl::Enter(this, core::mem::transmute(&pin)) { Ok(ok__) => { - core::ptr::write(requestid, core::mem::transmute(ok__)); + requestid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1336,7 +1336,7 @@ impl IMbnPin_Vtbl { let this = (*this).get_impl(); match IMbnPin_Impl::Change(this, core::mem::transmute(&pin), core::mem::transmute(&newpin)) { Ok(ok__) => { - core::ptr::write(requestid, core::mem::transmute(ok__)); + requestid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1347,7 +1347,7 @@ impl IMbnPin_Vtbl { let this = (*this).get_impl(); match IMbnPin_Impl::Unblock(this, core::mem::transmute(&puk), core::mem::transmute(&newpin)) { Ok(ok__) => { - core::ptr::write(requestid, core::mem::transmute(ok__)); + requestid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1358,7 +1358,7 @@ impl IMbnPin_Vtbl { let this = (*this).get_impl(); match IMbnPin_Impl::GetPinManager(this) { Ok(ok__) => { - core::ptr::write(pinmanager, core::mem::transmute(ok__)); + pinmanager.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1447,7 +1447,7 @@ impl IMbnPinManager_Vtbl { let this = (*this).get_impl(); match IMbnPinManager_Impl::GetPinList(this) { Ok(ok__) => { - core::ptr::write(pinlist, core::mem::transmute(ok__)); + pinlist.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1458,7 +1458,7 @@ impl IMbnPinManager_Vtbl { let this = (*this).get_impl(); match IMbnPinManager_Impl::GetPin(this, core::mem::transmute_copy(&pintype)) { Ok(ok__) => { - core::ptr::write(pin, core::mem::transmute(ok__)); + pin.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1469,7 +1469,7 @@ impl IMbnPinManager_Vtbl { let this = (*this).get_impl(); match IMbnPinManager_Impl::GetPinState(this) { Ok(ok__) => { - core::ptr::write(requestid, core::mem::transmute(ok__)); + requestid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1526,7 +1526,7 @@ impl IMbnRadio_Vtbl { let this = (*this).get_impl(); match IMbnRadio_Impl::SoftwareRadioState(this) { Ok(ok__) => { - core::ptr::write(softwareradiostate, core::mem::transmute(ok__)); + softwareradiostate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1537,7 +1537,7 @@ impl IMbnRadio_Vtbl { let this = (*this).get_impl(); match IMbnRadio_Impl::HardwareRadioState(this) { Ok(ok__) => { - core::ptr::write(hardwareradiostate, core::mem::transmute(ok__)); + hardwareradiostate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1548,7 +1548,7 @@ impl IMbnRadio_Vtbl { let this = (*this).get_impl(); match IMbnRadio_Impl::SetSoftwareRadioState(this, core::mem::transmute_copy(&radiostate)) { Ok(ok__) => { - core::ptr::write(requestid, core::mem::transmute(ok__)); + requestid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1612,7 +1612,7 @@ impl IMbnRegistration_Vtbl { let this = (*this).get_impl(); match IMbnRegistration_Impl::GetRegisterState(this) { Ok(ok__) => { - core::ptr::write(registerstate, core::mem::transmute(ok__)); + registerstate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1623,7 +1623,7 @@ impl IMbnRegistration_Vtbl { let this = (*this).get_impl(); match IMbnRegistration_Impl::GetRegisterMode(this) { Ok(ok__) => { - core::ptr::write(registermode, core::mem::transmute(ok__)); + registermode.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1634,7 +1634,7 @@ impl IMbnRegistration_Vtbl { let this = (*this).get_impl(); match IMbnRegistration_Impl::GetProviderID(this) { Ok(ok__) => { - core::ptr::write(providerid, core::mem::transmute(ok__)); + providerid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1645,7 +1645,7 @@ impl IMbnRegistration_Vtbl { let this = (*this).get_impl(); match IMbnRegistration_Impl::GetProviderName(this) { Ok(ok__) => { - core::ptr::write(providername, core::mem::transmute(ok__)); + providername.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1656,7 +1656,7 @@ impl IMbnRegistration_Vtbl { let this = (*this).get_impl(); match IMbnRegistration_Impl::GetRoamingText(this) { Ok(ok__) => { - core::ptr::write(roamingtext, core::mem::transmute(ok__)); + roamingtext.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1667,7 +1667,7 @@ impl IMbnRegistration_Vtbl { let this = (*this).get_impl(); match IMbnRegistration_Impl::GetAvailableDataClasses(this) { Ok(ok__) => { - core::ptr::write(availabledataclasses, core::mem::transmute(ok__)); + availabledataclasses.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1678,7 +1678,7 @@ impl IMbnRegistration_Vtbl { let this = (*this).get_impl(); match IMbnRegistration_Impl::GetCurrentDataClass(this) { Ok(ok__) => { - core::ptr::write(currentdataclass, core::mem::transmute(ok__)); + currentdataclass.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1689,7 +1689,7 @@ impl IMbnRegistration_Vtbl { let this = (*this).get_impl(); match IMbnRegistration_Impl::GetRegistrationNetworkError(this) { Ok(ok__) => { - core::ptr::write(registrationnetworkerror, core::mem::transmute(ok__)); + registrationnetworkerror.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1700,7 +1700,7 @@ impl IMbnRegistration_Vtbl { let this = (*this).get_impl(); match IMbnRegistration_Impl::GetPacketAttachNetworkError(this) { Ok(ok__) => { - core::ptr::write(packetattachnetworkerror, core::mem::transmute(ok__)); + packetattachnetworkerror.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1711,7 +1711,7 @@ impl IMbnRegistration_Vtbl { let this = (*this).get_impl(); match IMbnRegistration_Impl::SetRegisterMode(this, core::mem::transmute_copy(®istermode), core::mem::transmute(&providerid), core::mem::transmute_copy(&dataclass)) { Ok(ok__) => { - core::ptr::write(requestid, core::mem::transmute(ok__)); + requestid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1790,7 +1790,7 @@ impl IMbnServiceActivation_Vtbl { let this = (*this).get_impl(); match IMbnServiceActivation_Impl::Activate(this, core::mem::transmute_copy(&vendorspecificdata)) { Ok(ok__) => { - core::ptr::write(requestid, core::mem::transmute(ok__)); + requestid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1834,7 +1834,7 @@ impl IMbnSignal_Vtbl { let this = (*this).get_impl(); match IMbnSignal_Impl::GetSignalStrength(this) { Ok(ok__) => { - core::ptr::write(signalstrength, core::mem::transmute(ok__)); + signalstrength.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1845,7 +1845,7 @@ impl IMbnSignal_Vtbl { let this = (*this).get_impl(); match IMbnSignal_Impl::GetSignalError(this) { Ok(ok__) => { - core::ptr::write(signalerror, core::mem::transmute(ok__)); + signalerror.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1899,7 +1899,7 @@ impl IMbnSms_Vtbl { let this = (*this).get_impl(); match IMbnSms_Impl::GetSmsConfiguration(this) { Ok(ok__) => { - core::ptr::write(smsconfiguration, core::mem::transmute(ok__)); + smsconfiguration.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1910,7 +1910,7 @@ impl IMbnSms_Vtbl { let this = (*this).get_impl(); match IMbnSms_Impl::SetSmsConfiguration(this, windows_core::from_raw_borrowed(&smsconfiguration)) { Ok(ok__) => { - core::ptr::write(requestid, core::mem::transmute(ok__)); + requestid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1921,7 +1921,7 @@ impl IMbnSms_Vtbl { let this = (*this).get_impl(); match IMbnSms_Impl::SmsSendPdu(this, core::mem::transmute(&pdudata), core::mem::transmute_copy(&size)) { Ok(ok__) => { - core::ptr::write(requestid, core::mem::transmute(ok__)); + requestid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1932,7 +1932,7 @@ impl IMbnSms_Vtbl { let this = (*this).get_impl(); match IMbnSms_Impl::SmsSendCdma(this, core::mem::transmute(&address), core::mem::transmute_copy(&encoding), core::mem::transmute_copy(&language), core::mem::transmute_copy(&sizeincharacters), core::mem::transmute_copy(&message)) { Ok(ok__) => { - core::ptr::write(requestid, core::mem::transmute(ok__)); + requestid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1943,7 +1943,7 @@ impl IMbnSms_Vtbl { let this = (*this).get_impl(); match IMbnSms_Impl::SmsSendCdmaPdu(this, core::mem::transmute_copy(&message)) { Ok(ok__) => { - core::ptr::write(requestid, core::mem::transmute(ok__)); + requestid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1954,7 +1954,7 @@ impl IMbnSms_Vtbl { let this = (*this).get_impl(); match IMbnSms_Impl::SmsRead(this, core::mem::transmute_copy(&smsfilter), core::mem::transmute_copy(&smsformat)) { Ok(ok__) => { - core::ptr::write(requestid, core::mem::transmute(ok__)); + requestid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1965,7 +1965,7 @@ impl IMbnSms_Vtbl { let this = (*this).get_impl(); match IMbnSms_Impl::SmsDelete(this, core::mem::transmute_copy(&smsfilter)) { Ok(ok__) => { - core::ptr::write(requestid, core::mem::transmute(ok__)); + requestid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1976,7 +1976,7 @@ impl IMbnSms_Vtbl { let this = (*this).get_impl(); match IMbnSms_Impl::GetSmsStatus(this) { Ok(ok__) => { - core::ptr::write(smsstatusinfo, core::mem::transmute(ok__)); + smsstatusinfo.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2014,7 +2014,7 @@ impl IMbnSmsConfiguration_Vtbl { let this = (*this).get_impl(); match IMbnSmsConfiguration_Impl::ServiceCenterAddress(this) { Ok(ok__) => { - core::ptr::write(scaddress, core::mem::transmute(ok__)); + scaddress.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2030,7 +2030,7 @@ impl IMbnSmsConfiguration_Vtbl { let this = (*this).get_impl(); match IMbnSmsConfiguration_Impl::MaxMessageIndex(this) { Ok(ok__) => { - core::ptr::write(index, core::mem::transmute(ok__)); + index.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2041,7 +2041,7 @@ impl IMbnSmsConfiguration_Vtbl { let this = (*this).get_impl(); match IMbnSmsConfiguration_Impl::CdmaShortMsgSize(this) { Ok(ok__) => { - core::ptr::write(shortmsgsize, core::mem::transmute(ok__)); + shortmsgsize.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2052,7 +2052,7 @@ impl IMbnSmsConfiguration_Vtbl { let this = (*this).get_impl(); match IMbnSmsConfiguration_Impl::SmsFormat(this) { Ok(ok__) => { - core::ptr::write(smsformat, core::mem::transmute(ok__)); + smsformat.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2159,7 +2159,7 @@ impl IMbnSmsReadMsgPdu_Vtbl { let this = (*this).get_impl(); match IMbnSmsReadMsgPdu_Impl::Index(this) { Ok(ok__) => { - core::ptr::write(index, core::mem::transmute(ok__)); + index.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2170,7 +2170,7 @@ impl IMbnSmsReadMsgPdu_Vtbl { let this = (*this).get_impl(); match IMbnSmsReadMsgPdu_Impl::Status(this) { Ok(ok__) => { - core::ptr::write(status, core::mem::transmute(ok__)); + status.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2181,7 +2181,7 @@ impl IMbnSmsReadMsgPdu_Vtbl { let this = (*this).get_impl(); match IMbnSmsReadMsgPdu_Impl::PduData(this) { Ok(ok__) => { - core::ptr::write(pdudata, core::mem::transmute(ok__)); + pdudata.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2192,7 +2192,7 @@ impl IMbnSmsReadMsgPdu_Vtbl { let this = (*this).get_impl(); match IMbnSmsReadMsgPdu_Impl::Message(this) { Ok(ok__) => { - core::ptr::write(message, core::mem::transmute(ok__)); + message.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2231,7 +2231,7 @@ impl IMbnSmsReadMsgTextCdma_Vtbl { let this = (*this).get_impl(); match IMbnSmsReadMsgTextCdma_Impl::Index(this) { Ok(ok__) => { - core::ptr::write(index, core::mem::transmute(ok__)); + index.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2242,7 +2242,7 @@ impl IMbnSmsReadMsgTextCdma_Vtbl { let this = (*this).get_impl(); match IMbnSmsReadMsgTextCdma_Impl::Status(this) { Ok(ok__) => { - core::ptr::write(status, core::mem::transmute(ok__)); + status.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2253,7 +2253,7 @@ impl IMbnSmsReadMsgTextCdma_Vtbl { let this = (*this).get_impl(); match IMbnSmsReadMsgTextCdma_Impl::Address(this) { Ok(ok__) => { - core::ptr::write(address, core::mem::transmute(ok__)); + address.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2264,7 +2264,7 @@ impl IMbnSmsReadMsgTextCdma_Vtbl { let this = (*this).get_impl(); match IMbnSmsReadMsgTextCdma_Impl::Timestamp(this) { Ok(ok__) => { - core::ptr::write(timestamp, core::mem::transmute(ok__)); + timestamp.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2275,7 +2275,7 @@ impl IMbnSmsReadMsgTextCdma_Vtbl { let this = (*this).get_impl(); match IMbnSmsReadMsgTextCdma_Impl::EncodingID(this) { Ok(ok__) => { - core::ptr::write(encodingid, core::mem::transmute(ok__)); + encodingid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2286,7 +2286,7 @@ impl IMbnSmsReadMsgTextCdma_Vtbl { let this = (*this).get_impl(); match IMbnSmsReadMsgTextCdma_Impl::LanguageID(this) { Ok(ok__) => { - core::ptr::write(languageid, core::mem::transmute(ok__)); + languageid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2297,7 +2297,7 @@ impl IMbnSmsReadMsgTextCdma_Vtbl { let this = (*this).get_impl(); match IMbnSmsReadMsgTextCdma_Impl::SizeInCharacters(this) { Ok(ok__) => { - core::ptr::write(sizeincharacters, core::mem::transmute(ok__)); + sizeincharacters.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2308,7 +2308,7 @@ impl IMbnSmsReadMsgTextCdma_Vtbl { let this = (*this).get_impl(); match IMbnSmsReadMsgTextCdma_Impl::Message(this) { Ok(ok__) => { - core::ptr::write(message, core::mem::transmute(ok__)); + message.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2346,7 +2346,7 @@ impl IMbnSubscriberInformation_Vtbl { let this = (*this).get_impl(); match IMbnSubscriberInformation_Impl::SubscriberID(this) { Ok(ok__) => { - core::ptr::write(subscriberid, core::mem::transmute(ok__)); + subscriberid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2357,7 +2357,7 @@ impl IMbnSubscriberInformation_Vtbl { let this = (*this).get_impl(); match IMbnSubscriberInformation_Impl::SimIccID(this) { Ok(ok__) => { - core::ptr::write(simiccid, core::mem::transmute(ok__)); + simiccid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2368,7 +2368,7 @@ impl IMbnSubscriberInformation_Vtbl { let this = (*this).get_impl(); match IMbnSubscriberInformation_Impl::TelephoneNumbers(this) { Ok(ok__) => { - core::ptr::write(telephonenumbers, core::mem::transmute(ok__)); + telephonenumbers.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2429,7 +2429,7 @@ impl IMbnVendorSpecificOperation_Vtbl { let this = (*this).get_impl(); match IMbnVendorSpecificOperation_Impl::SetVendorSpecific(this, core::mem::transmute_copy(&vendorspecificdata)) { Ok(ok__) => { - core::ptr::write(requestid, core::mem::transmute(ok__)); + requestid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/Win32/NetworkManagement/NetManagement/impl.rs b/crates/libs/windows/src/Windows/Win32/NetworkManagement/NetManagement/impl.rs index f88898aa36..0cfb13f665 100644 --- a/crates/libs/windows/src/Windows/Win32/NetworkManagement/NetManagement/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/NetworkManagement/NetManagement/impl.rs @@ -265,7 +265,7 @@ impl INetCfgBindingPath_Vtbl { let this = (*this).get_impl(); match INetCfgBindingPath_Impl::GetDepth(this) { Ok(ok__) => { - core::ptr::write(pcinterfaces, core::mem::transmute(ok__)); + pcinterfaces.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -418,7 +418,7 @@ impl INetCfgComponent_Vtbl { let this = (*this).get_impl(); match INetCfgComponent_Impl::GetCharacteristics(this) { Ok(ok__) => { - core::ptr::write(pdwcharacteristics, core::mem::transmute(ok__)); + pdwcharacteristics.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -449,7 +449,7 @@ impl INetCfgComponent_Vtbl { let this = (*this).get_impl(); match INetCfgComponent_Impl::GetDeviceStatus(this) { Ok(ok__) => { - core::ptr::write(pulstatus, core::mem::transmute(ok__)); + pulstatus.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -636,7 +636,7 @@ impl INetCfgComponentNotifyGlobal_Vtbl { let this = (*this).get_impl(); match INetCfgComponentNotifyGlobal_Impl::GetSupportedNotifications(this) { Ok(ok__) => { - core::ptr::write(dwnotifications, core::mem::transmute(ok__)); + dwnotifications.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -929,7 +929,7 @@ impl INetLanConnectionUiInfo_Vtbl { let this = (*this).get_impl(); match INetLanConnectionUiInfo_Impl::GetDeviceGuid(this) { Ok(ok__) => { - core::ptr::write(pguid, core::mem::transmute(ok__)); + pguid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -978,7 +978,7 @@ impl IProvisioningDomain_Vtbl { let this = (*this).get_impl(); match IProvisioningDomain_Impl::Query(this, core::mem::transmute(&pszwdomain), core::mem::transmute(&pszwlanguage), core::mem::transmute(&pszwxpathquery)) { Ok(ok__) => { - core::ptr::write(nodes, core::mem::transmute(ok__)); + nodes.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1001,7 +1001,7 @@ impl IProvisioningProfileWireless_Vtbl { let this = (*this).get_impl(); match IProvisioningProfileWireless_Impl::CreateProfile(this, core::mem::transmute(&bstrxmlwirelessconfigprofile), core::mem::transmute(&bstrxmlconnectionconfigprofile), core::mem::transmute_copy(&padapterinstanceguid)) { Ok(ok__) => { - core::ptr::write(pulstatus, core::mem::transmute(ok__)); + pulstatus.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/Win32/NetworkManagement/NetworkDiagnosticsFramework/impl.rs b/crates/libs/windows/src/Windows/Win32/NetworkManagement/NetworkDiagnosticsFramework/impl.rs index 2175e9243f..b656533510 100644 --- a/crates/libs/windows/src/Windows/Win32/NetworkManagement/NetworkDiagnosticsFramework/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/NetworkManagement/NetworkDiagnosticsFramework/impl.rs @@ -48,7 +48,7 @@ impl INetDiagHelper_Vtbl { let this = (*this).get_impl(); match INetDiagHelper_Impl::GetDiagnosticsInfo(this) { Ok(ok__) => { - core::ptr::write(ppinfo, core::mem::transmute(ok__)); + ppinfo.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -109,7 +109,7 @@ impl INetDiagHelper_Vtbl { let this = (*this).get_impl(); match INetDiagHelper_Impl::GetLifeTime(this) { Ok(ok__) => { - core::ptr::write(plifetime, core::mem::transmute(ok__)); + plifetime.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -125,7 +125,7 @@ impl INetDiagHelper_Vtbl { let this = (*this).get_impl(); match INetDiagHelper_Impl::GetCacheTime(this) { Ok(ok__) => { - core::ptr::write(pcachetime, core::mem::transmute(ok__)); + pcachetime.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/Win32/NetworkManagement/NetworkPolicyServer/impl.rs b/crates/libs/windows/src/Windows/Win32/NetworkManagement/NetworkPolicyServer/impl.rs index 910fc6e9ca..55aae67941 100644 --- a/crates/libs/windows/src/Windows/Win32/NetworkManagement/NetworkPolicyServer/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/NetworkManagement/NetworkPolicyServer/impl.rs @@ -18,7 +18,7 @@ impl ISdo_Vtbl { let this = (*this).get_impl(); match ISdo_Impl::GetPropertyInfo(this, core::mem::transmute_copy(&id)) { Ok(ok__) => { - core::ptr::write(pppropertyinfo, core::mem::transmute(ok__)); + pppropertyinfo.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -29,7 +29,7 @@ impl ISdo_Vtbl { let this = (*this).get_impl(); match ISdo_Impl::GetProperty(this, core::mem::transmute_copy(&id)) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -60,7 +60,7 @@ impl ISdo_Vtbl { let this = (*this).get_impl(); match ISdo_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(ppenumvariant, core::mem::transmute(ok__)); + ppenumvariant.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -102,7 +102,7 @@ impl ISdoCollection_Vtbl { let this = (*this).get_impl(); match ISdoCollection_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(pcount, core::mem::transmute(ok__)); + pcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -133,7 +133,7 @@ impl ISdoCollection_Vtbl { let this = (*this).get_impl(); match ISdoCollection_Impl::IsNameUnique(this, core::mem::transmute(&bstrname)) { Ok(ok__) => { - core::ptr::write(pbool, core::mem::transmute(ok__)); + pbool.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -144,7 +144,7 @@ impl ISdoCollection_Vtbl { let this = (*this).get_impl(); match ISdoCollection_Impl::Item(this, core::mem::transmute_copy(&name)) { Ok(ok__) => { - core::ptr::write(pitem, core::mem::transmute(ok__)); + pitem.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -155,7 +155,7 @@ impl ISdoCollection_Vtbl { let this = (*this).get_impl(); match ISdoCollection_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(ppenumvariant, core::mem::transmute(ok__)); + ppenumvariant.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -195,7 +195,7 @@ impl ISdoDictionaryOld_Vtbl { let this = (*this).get_impl(); match ISdoDictionaryOld_Impl::EnumAttributes(this, core::mem::transmute_copy(&id)) { Ok(ok__) => { - core::ptr::write(pvalues, core::mem::transmute(ok__)); + pvalues.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -206,7 +206,7 @@ impl ISdoDictionaryOld_Vtbl { let this = (*this).get_impl(); match ISdoDictionaryOld_Impl::GetAttributeInfo(this, core::mem::transmute_copy(&id), core::mem::transmute_copy(&pinfoids)) { Ok(ok__) => { - core::ptr::write(pinfovalues, core::mem::transmute(ok__)); + pinfovalues.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -217,7 +217,7 @@ impl ISdoDictionaryOld_Vtbl { let this = (*this).get_impl(); match ISdoDictionaryOld_Impl::EnumAttributeValues(this, core::mem::transmute_copy(&id), core::mem::transmute_copy(&pvalueids)) { Ok(ok__) => { - core::ptr::write(pvaluesdesc, core::mem::transmute(ok__)); + pvaluesdesc.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -228,7 +228,7 @@ impl ISdoDictionaryOld_Vtbl { let this = (*this).get_impl(); match ISdoDictionaryOld_Impl::CreateAttribute(this, core::mem::transmute_copy(&id)) { Ok(ok__) => { - core::ptr::write(ppattributeobject, core::mem::transmute(ok__)); + ppattributeobject.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -239,7 +239,7 @@ impl ISdoDictionaryOld_Vtbl { let this = (*this).get_impl(); match ISdoDictionaryOld_Impl::GetAttributeID(this, core::mem::transmute(&bstrattributename)) { Ok(ok__) => { - core::ptr::write(pid, core::mem::transmute(ok__)); + pid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -285,7 +285,7 @@ impl ISdoMachine_Vtbl { let this = (*this).get_impl(); match ISdoMachine_Impl::GetDictionarySDO(this) { Ok(ok__) => { - core::ptr::write(ppdictionarysdo, core::mem::transmute(ok__)); + ppdictionarysdo.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -296,7 +296,7 @@ impl ISdoMachine_Vtbl { let this = (*this).get_impl(); match ISdoMachine_Impl::GetServiceSDO(this, core::mem::transmute_copy(&edatastore), core::mem::transmute(&bstrservicename)) { Ok(ok__) => { - core::ptr::write(ppservicesdo, core::mem::transmute(ok__)); + ppservicesdo.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -307,7 +307,7 @@ impl ISdoMachine_Vtbl { let this = (*this).get_impl(); match ISdoMachine_Impl::GetUserSDO(this, core::mem::transmute_copy(&edatastore), core::mem::transmute(&bstrusername)) { Ok(ok__) => { - core::ptr::write(ppusersdo, core::mem::transmute(ok__)); + ppusersdo.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -318,7 +318,7 @@ impl ISdoMachine_Vtbl { let this = (*this).get_impl(); match ISdoMachine_Impl::GetOSType(this) { Ok(ok__) => { - core::ptr::write(eostype, core::mem::transmute(ok__)); + eostype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -329,7 +329,7 @@ impl ISdoMachine_Vtbl { let this = (*this).get_impl(); match ISdoMachine_Impl::GetDomainType(this) { Ok(ok__) => { - core::ptr::write(edomaintype, core::mem::transmute(ok__)); + edomaintype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -340,7 +340,7 @@ impl ISdoMachine_Vtbl { let this = (*this).get_impl(); match ISdoMachine_Impl::IsDirectoryAvailable(this) { Ok(ok__) => { - core::ptr::write(booldirectoryavailable, core::mem::transmute(ok__)); + booldirectoryavailable.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -351,7 +351,7 @@ impl ISdoMachine_Vtbl { let this = (*this).get_impl(); match ISdoMachine_Impl::GetAttachedComputer(this) { Ok(ok__) => { - core::ptr::write(bstrcomputername, core::mem::transmute(ok__)); + bstrcomputername.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -362,7 +362,7 @@ impl ISdoMachine_Vtbl { let this = (*this).get_impl(); match ISdoMachine_Impl::GetSDOSchema(this) { Ok(ok__) => { - core::ptr::write(ppsdoschema, core::mem::transmute(ok__)); + ppsdoschema.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -403,7 +403,7 @@ impl ISdoMachine2_Vtbl { let this = (*this).get_impl(); match ISdoMachine2_Impl::GetTemplatesSDO(this, core::mem::transmute(&bstrservicename)) { Ok(ok__) => { - core::ptr::write(pptemplatessdo, core::mem::transmute(ok__)); + pptemplatessdo.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -469,7 +469,7 @@ impl ISdoServiceControl_Vtbl { let this = (*this).get_impl(); match ISdoServiceControl_Impl::GetServiceStatus(this) { Ok(ok__) => { - core::ptr::write(status, core::mem::transmute(ok__)); + status.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/Win32/NetworkManagement/WiFi/impl.rs b/crates/libs/windows/src/Windows/Win32/NetworkManagement/WiFi/impl.rs index 152daf4d92..1b74630065 100644 --- a/crates/libs/windows/src/Windows/Win32/NetworkManagement/WiFi/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/NetworkManagement/WiFi/impl.rs @@ -22,7 +22,7 @@ impl IDot11AdHocInterface_Vtbl { let this = (*this).get_impl(); match IDot11AdHocInterface_Impl::GetFriendlyName(this) { Ok(ok__) => { - core::ptr::write(ppszname, core::mem::transmute(ok__)); + ppszname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -48,7 +48,7 @@ impl IDot11AdHocInterface_Vtbl { let this = (*this).get_impl(); match IDot11AdHocInterface_Impl::GetActiveNetwork(this) { Ok(ok__) => { - core::ptr::write(ppnetwork, core::mem::transmute(ok__)); + ppnetwork.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -59,7 +59,7 @@ impl IDot11AdHocInterface_Vtbl { let this = (*this).get_impl(); match IDot11AdHocInterface_Impl::GetIEnumSecuritySettings(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -70,7 +70,7 @@ impl IDot11AdHocInterface_Vtbl { let this = (*this).get_impl(); match IDot11AdHocInterface_Impl::GetIEnumDot11AdHocNetworks(this, core::mem::transmute_copy(&pfilterguid)) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -130,7 +130,7 @@ impl IDot11AdHocManager_Vtbl { let this = (*this).get_impl(); match IDot11AdHocManager_Impl::CreateNetwork(this, core::mem::transmute(&name), core::mem::transmute(&password), core::mem::transmute_copy(&geographicalid), windows_core::from_raw_borrowed(&pinterface), windows_core::from_raw_borrowed(&psecurity), core::mem::transmute_copy(&pcontextguid)) { Ok(ok__) => { - core::ptr::write(piadhoc, core::mem::transmute(ok__)); + piadhoc.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -146,7 +146,7 @@ impl IDot11AdHocManager_Vtbl { let this = (*this).get_impl(); match IDot11AdHocManager_Impl::GetIEnumDot11AdHocNetworks(this, core::mem::transmute_copy(&pcontextguid)) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -157,7 +157,7 @@ impl IDot11AdHocManager_Vtbl { let this = (*this).get_impl(); match IDot11AdHocManager_Impl::GetIEnumDot11AdHocInterfaces(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -168,7 +168,7 @@ impl IDot11AdHocManager_Vtbl { let this = (*this).get_impl(); match IDot11AdHocManager_Impl::GetNetwork(this, core::mem::transmute_copy(&networksignature)) { Ok(ok__) => { - core::ptr::write(pnetwork, core::mem::transmute(ok__)); + pnetwork.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -255,7 +255,7 @@ impl IDot11AdHocNetwork_Vtbl { let this = (*this).get_impl(); match IDot11AdHocNetwork_Impl::GetSSID(this) { Ok(ok__) => { - core::ptr::write(ppszwssid, core::mem::transmute(ok__)); + ppszwssid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -271,7 +271,7 @@ impl IDot11AdHocNetwork_Vtbl { let this = (*this).get_impl(); match IDot11AdHocNetwork_Impl::GetProfileName(this) { Ok(ok__) => { - core::ptr::write(ppszwprofilename, core::mem::transmute(ok__)); + ppszwprofilename.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -292,7 +292,7 @@ impl IDot11AdHocNetwork_Vtbl { let this = (*this).get_impl(); match IDot11AdHocNetwork_Impl::GetSecuritySetting(this) { Ok(ok__) => { - core::ptr::write(padhocsecuritysetting, core::mem::transmute(ok__)); + padhocsecuritysetting.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -313,7 +313,7 @@ impl IDot11AdHocNetwork_Vtbl { let this = (*this).get_impl(); match IDot11AdHocNetwork_Impl::GetInterface(this) { Ok(ok__) => { - core::ptr::write(padhocinterface, core::mem::transmute(ok__)); + padhocinterface.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -432,7 +432,7 @@ impl IEnumDot11AdHocInterfaces_Vtbl { let this = (*this).get_impl(); match IEnumDot11AdHocInterfaces_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -479,7 +479,7 @@ impl IEnumDot11AdHocNetworks_Vtbl { let this = (*this).get_impl(); match IEnumDot11AdHocNetworks_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -526,7 +526,7 @@ impl IEnumDot11AdHocSecuritySettings_Vtbl { let this = (*this).get_impl(); match IEnumDot11AdHocSecuritySettings_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/Win32/NetworkManagement/WindowsConnectNow/impl.rs b/crates/libs/windows/src/Windows/Win32/NetworkManagement/WindowsConnectNow/impl.rs index bede905fc4..092ae78799 100644 --- a/crates/libs/windows/src/Windows/Win32/NetworkManagement/WindowsConnectNow/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/NetworkManagement/WindowsConnectNow/impl.rs @@ -61,7 +61,7 @@ impl IWCNDevice_Vtbl { let this = (*this).get_impl(); match IWCNDevice_Impl::GetIntegerAttribute(this, core::mem::transmute_copy(&attributetype)) { Ok(ok__) => { - core::ptr::write(puinteger, core::mem::transmute(ok__)); + puinteger.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/Win32/NetworkManagement/WindowsFirewall/impl.rs b/crates/libs/windows/src/Windows/Win32/NetworkManagement/WindowsFirewall/impl.rs index dd75d4a050..14978ed1ad 100644 --- a/crates/libs/windows/src/Windows/Win32/NetworkManagement/WindowsFirewall/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/NetworkManagement/WindowsFirewall/impl.rs @@ -25,7 +25,7 @@ impl IDynamicPortMapping_Vtbl { let this = (*this).get_impl(); match IDynamicPortMapping_Impl::ExternalIPAddress(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -36,7 +36,7 @@ impl IDynamicPortMapping_Vtbl { let this = (*this).get_impl(); match IDynamicPortMapping_Impl::RemoteHost(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -47,7 +47,7 @@ impl IDynamicPortMapping_Vtbl { let this = (*this).get_impl(); match IDynamicPortMapping_Impl::ExternalPort(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -58,7 +58,7 @@ impl IDynamicPortMapping_Vtbl { let this = (*this).get_impl(); match IDynamicPortMapping_Impl::Protocol(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -69,7 +69,7 @@ impl IDynamicPortMapping_Vtbl { let this = (*this).get_impl(); match IDynamicPortMapping_Impl::InternalPort(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -80,7 +80,7 @@ impl IDynamicPortMapping_Vtbl { let this = (*this).get_impl(); match IDynamicPortMapping_Impl::InternalClient(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -91,7 +91,7 @@ impl IDynamicPortMapping_Vtbl { let this = (*this).get_impl(); match IDynamicPortMapping_Impl::Enabled(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -102,7 +102,7 @@ impl IDynamicPortMapping_Vtbl { let this = (*this).get_impl(); match IDynamicPortMapping_Impl::Description(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -113,7 +113,7 @@ impl IDynamicPortMapping_Vtbl { let this = (*this).get_impl(); match IDynamicPortMapping_Impl::LeaseDuration(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -124,7 +124,7 @@ impl IDynamicPortMapping_Vtbl { let this = (*this).get_impl(); match IDynamicPortMapping_Impl::RenewLease(this, core::mem::transmute_copy(&lleasedurationdesired)) { Ok(ok__) => { - core::ptr::write(pleasedurationreturned, core::mem::transmute(ok__)); + pleasedurationreturned.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -190,7 +190,7 @@ impl IDynamicPortMappingCollection_Vtbl { let this = (*this).get_impl(); match IDynamicPortMappingCollection_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -201,7 +201,7 @@ impl IDynamicPortMappingCollection_Vtbl { let this = (*this).get_impl(); match IDynamicPortMappingCollection_Impl::get_Item(this, core::mem::transmute(&bstrremotehost), core::mem::transmute_copy(&lexternalport), core::mem::transmute(&bstrprotocol)) { Ok(ok__) => { - core::ptr::write(ppdpm, core::mem::transmute(ok__)); + ppdpm.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -212,7 +212,7 @@ impl IDynamicPortMappingCollection_Vtbl { let this = (*this).get_impl(); match IDynamicPortMappingCollection_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -228,7 +228,7 @@ impl IDynamicPortMappingCollection_Vtbl { let this = (*this).get_impl(); match IDynamicPortMappingCollection_Impl::Add(this, core::mem::transmute(&bstrremotehost), core::mem::transmute_copy(&lexternalport), core::mem::transmute(&bstrprotocol), core::mem::transmute_copy(&linternalport), core::mem::transmute(&bstrinternalclient), core::mem::transmute_copy(&benabled), core::mem::transmute(&bstrdescription), core::mem::transmute_copy(&lleaseduration)) { Ok(ok__) => { - core::ptr::write(ppdpm, core::mem::transmute(ok__)); + ppdpm.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -276,7 +276,7 @@ impl IEnumNetConnection_Vtbl { let this = (*this).get_impl(); match IEnumNetConnection_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -323,7 +323,7 @@ impl IEnumNetSharingEveryConnection_Vtbl { let this = (*this).get_impl(); match IEnumNetSharingEveryConnection_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -370,7 +370,7 @@ impl IEnumNetSharingPortMapping_Vtbl { let this = (*this).get_impl(); match IEnumNetSharingPortMapping_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -417,7 +417,7 @@ impl IEnumNetSharingPrivateConnection_Vtbl { let this = (*this).get_impl(); match IEnumNetSharingPrivateConnection_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -464,7 +464,7 @@ impl IEnumNetSharingPublicConnection_Vtbl { let this = (*this).get_impl(); match IEnumNetSharingPublicConnection_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -578,7 +578,7 @@ impl INetConnection_Vtbl { let this = (*this).get_impl(); match INetConnection_Impl::Duplicate(this, core::mem::transmute(&pszwduplicatename)) { Ok(ok__) => { - core::ptr::write(ppcon, core::mem::transmute(ok__)); + ppcon.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -589,7 +589,7 @@ impl INetConnection_Vtbl { let this = (*this).get_impl(); match INetConnection_Impl::GetProperties(this) { Ok(ok__) => { - core::ptr::write(ppprops, core::mem::transmute(ok__)); + ppprops.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -600,7 +600,7 @@ impl INetConnection_Vtbl { let this = (*this).get_impl(); match INetConnection_Impl::GetUiObjectClassId(this) { Ok(ok__) => { - core::ptr::write(pclsid, core::mem::transmute(ok__)); + pclsid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -671,7 +671,7 @@ impl INetConnectionManager_Vtbl { let this = (*this).get_impl(); match INetConnectionManager_Impl::EnumConnections(this, core::mem::transmute_copy(&flags)) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -702,7 +702,7 @@ impl INetConnectionProps_Vtbl { let this = (*this).get_impl(); match INetConnectionProps_Impl::Guid(this) { Ok(ok__) => { - core::ptr::write(pbstrguid, core::mem::transmute(ok__)); + pbstrguid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -713,7 +713,7 @@ impl INetConnectionProps_Vtbl { let this = (*this).get_impl(); match INetConnectionProps_Impl::Name(this) { Ok(ok__) => { - core::ptr::write(pbstrname, core::mem::transmute(ok__)); + pbstrname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -724,7 +724,7 @@ impl INetConnectionProps_Vtbl { let this = (*this).get_impl(); match INetConnectionProps_Impl::DeviceName(this) { Ok(ok__) => { - core::ptr::write(pbstrdevicename, core::mem::transmute(ok__)); + pbstrdevicename.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -735,7 +735,7 @@ impl INetConnectionProps_Vtbl { let this = (*this).get_impl(); match INetConnectionProps_Impl::Status(this) { Ok(ok__) => { - core::ptr::write(pstatus, core::mem::transmute(ok__)); + pstatus.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -746,7 +746,7 @@ impl INetConnectionProps_Vtbl { let this = (*this).get_impl(); match INetConnectionProps_Impl::MediaType(this) { Ok(ok__) => { - core::ptr::write(pmediatype, core::mem::transmute(ok__)); + pmediatype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -757,7 +757,7 @@ impl INetConnectionProps_Vtbl { let this = (*this).get_impl(); match INetConnectionProps_Impl::Characteristics(this) { Ok(ok__) => { - core::ptr::write(pdwflags, core::mem::transmute(ok__)); + pdwflags.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -802,7 +802,7 @@ impl INetFwAuthorizedApplication_Vtbl { let this = (*this).get_impl(); match INetFwAuthorizedApplication_Impl::Name(this) { Ok(ok__) => { - core::ptr::write(name, core::mem::transmute(ok__)); + name.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -818,7 +818,7 @@ impl INetFwAuthorizedApplication_Vtbl { let this = (*this).get_impl(); match INetFwAuthorizedApplication_Impl::ProcessImageFileName(this) { Ok(ok__) => { - core::ptr::write(imagefilename, core::mem::transmute(ok__)); + imagefilename.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -834,7 +834,7 @@ impl INetFwAuthorizedApplication_Vtbl { let this = (*this).get_impl(); match INetFwAuthorizedApplication_Impl::IpVersion(this) { Ok(ok__) => { - core::ptr::write(ipversion, core::mem::transmute(ok__)); + ipversion.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -850,7 +850,7 @@ impl INetFwAuthorizedApplication_Vtbl { let this = (*this).get_impl(); match INetFwAuthorizedApplication_Impl::Scope(this) { Ok(ok__) => { - core::ptr::write(scope, core::mem::transmute(ok__)); + scope.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -866,7 +866,7 @@ impl INetFwAuthorizedApplication_Vtbl { let this = (*this).get_impl(); match INetFwAuthorizedApplication_Impl::RemoteAddresses(this) { Ok(ok__) => { - core::ptr::write(remoteaddrs, core::mem::transmute(ok__)); + remoteaddrs.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -882,7 +882,7 @@ impl INetFwAuthorizedApplication_Vtbl { let this = (*this).get_impl(); match INetFwAuthorizedApplication_Impl::Enabled(this) { Ok(ok__) => { - core::ptr::write(enabled, core::mem::transmute(ok__)); + enabled.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -931,7 +931,7 @@ impl INetFwAuthorizedApplications_Vtbl { let this = (*this).get_impl(); match INetFwAuthorizedApplications_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(count, core::mem::transmute(ok__)); + count.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -952,7 +952,7 @@ impl INetFwAuthorizedApplications_Vtbl { let this = (*this).get_impl(); match INetFwAuthorizedApplications_Impl::Item(this, core::mem::transmute(&imagefilename)) { Ok(ok__) => { - core::ptr::write(app, core::mem::transmute(ok__)); + app.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -963,7 +963,7 @@ impl INetFwAuthorizedApplications_Vtbl { let this = (*this).get_impl(); match INetFwAuthorizedApplications_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(newenum, core::mem::transmute(ok__)); + newenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1015,7 +1015,7 @@ impl INetFwIcmpSettings_Vtbl { let this = (*this).get_impl(); match INetFwIcmpSettings_Impl::AllowOutboundDestinationUnreachable(this) { Ok(ok__) => { - core::ptr::write(allow, core::mem::transmute(ok__)); + allow.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1031,7 +1031,7 @@ impl INetFwIcmpSettings_Vtbl { let this = (*this).get_impl(); match INetFwIcmpSettings_Impl::AllowRedirect(this) { Ok(ok__) => { - core::ptr::write(allow, core::mem::transmute(ok__)); + allow.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1047,7 +1047,7 @@ impl INetFwIcmpSettings_Vtbl { let this = (*this).get_impl(); match INetFwIcmpSettings_Impl::AllowInboundEchoRequest(this) { Ok(ok__) => { - core::ptr::write(allow, core::mem::transmute(ok__)); + allow.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1063,7 +1063,7 @@ impl INetFwIcmpSettings_Vtbl { let this = (*this).get_impl(); match INetFwIcmpSettings_Impl::AllowOutboundTimeExceeded(this) { Ok(ok__) => { - core::ptr::write(allow, core::mem::transmute(ok__)); + allow.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1079,7 +1079,7 @@ impl INetFwIcmpSettings_Vtbl { let this = (*this).get_impl(); match INetFwIcmpSettings_Impl::AllowOutboundParameterProblem(this) { Ok(ok__) => { - core::ptr::write(allow, core::mem::transmute(ok__)); + allow.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1095,7 +1095,7 @@ impl INetFwIcmpSettings_Vtbl { let this = (*this).get_impl(); match INetFwIcmpSettings_Impl::AllowOutboundSourceQuench(this) { Ok(ok__) => { - core::ptr::write(allow, core::mem::transmute(ok__)); + allow.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1111,7 +1111,7 @@ impl INetFwIcmpSettings_Vtbl { let this = (*this).get_impl(); match INetFwIcmpSettings_Impl::AllowInboundRouterRequest(this) { Ok(ok__) => { - core::ptr::write(allow, core::mem::transmute(ok__)); + allow.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1127,7 +1127,7 @@ impl INetFwIcmpSettings_Vtbl { let this = (*this).get_impl(); match INetFwIcmpSettings_Impl::AllowInboundTimestampRequest(this) { Ok(ok__) => { - core::ptr::write(allow, core::mem::transmute(ok__)); + allow.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1143,7 +1143,7 @@ impl INetFwIcmpSettings_Vtbl { let this = (*this).get_impl(); match INetFwIcmpSettings_Impl::AllowInboundMaskRequest(this) { Ok(ok__) => { - core::ptr::write(allow, core::mem::transmute(ok__)); + allow.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1159,7 +1159,7 @@ impl INetFwIcmpSettings_Vtbl { let this = (*this).get_impl(); match INetFwIcmpSettings_Impl::AllowOutboundPacketTooBig(this) { Ok(ok__) => { - core::ptr::write(allow, core::mem::transmute(ok__)); + allow.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1216,7 +1216,7 @@ impl INetFwMgr_Vtbl { let this = (*this).get_impl(); match INetFwMgr_Impl::LocalPolicy(this) { Ok(ok__) => { - core::ptr::write(localpolicy, core::mem::transmute(ok__)); + localpolicy.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1227,7 +1227,7 @@ impl INetFwMgr_Vtbl { let this = (*this).get_impl(); match INetFwMgr_Impl::CurrentProfileType(this) { Ok(ok__) => { - core::ptr::write(profiletype, core::mem::transmute(ok__)); + profiletype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1289,7 +1289,7 @@ impl INetFwOpenPort_Vtbl { let this = (*this).get_impl(); match INetFwOpenPort_Impl::Name(this) { Ok(ok__) => { - core::ptr::write(name, core::mem::transmute(ok__)); + name.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1305,7 +1305,7 @@ impl INetFwOpenPort_Vtbl { let this = (*this).get_impl(); match INetFwOpenPort_Impl::IpVersion(this) { Ok(ok__) => { - core::ptr::write(ipversion, core::mem::transmute(ok__)); + ipversion.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1321,7 +1321,7 @@ impl INetFwOpenPort_Vtbl { let this = (*this).get_impl(); match INetFwOpenPort_Impl::Protocol(this) { Ok(ok__) => { - core::ptr::write(ipprotocol, core::mem::transmute(ok__)); + ipprotocol.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1337,7 +1337,7 @@ impl INetFwOpenPort_Vtbl { let this = (*this).get_impl(); match INetFwOpenPort_Impl::Port(this) { Ok(ok__) => { - core::ptr::write(portnumber, core::mem::transmute(ok__)); + portnumber.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1353,7 +1353,7 @@ impl INetFwOpenPort_Vtbl { let this = (*this).get_impl(); match INetFwOpenPort_Impl::Scope(this) { Ok(ok__) => { - core::ptr::write(scope, core::mem::transmute(ok__)); + scope.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1369,7 +1369,7 @@ impl INetFwOpenPort_Vtbl { let this = (*this).get_impl(); match INetFwOpenPort_Impl::RemoteAddresses(this) { Ok(ok__) => { - core::ptr::write(remoteaddrs, core::mem::transmute(ok__)); + remoteaddrs.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1385,7 +1385,7 @@ impl INetFwOpenPort_Vtbl { let this = (*this).get_impl(); match INetFwOpenPort_Impl::Enabled(this) { Ok(ok__) => { - core::ptr::write(enabled, core::mem::transmute(ok__)); + enabled.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1401,7 +1401,7 @@ impl INetFwOpenPort_Vtbl { let this = (*this).get_impl(); match INetFwOpenPort_Impl::BuiltIn(this) { Ok(ok__) => { - core::ptr::write(builtin, core::mem::transmute(ok__)); + builtin.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1448,7 +1448,7 @@ impl INetFwOpenPorts_Vtbl { let this = (*this).get_impl(); match INetFwOpenPorts_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(count, core::mem::transmute(ok__)); + count.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1469,7 +1469,7 @@ impl INetFwOpenPorts_Vtbl { let this = (*this).get_impl(); match INetFwOpenPorts_Impl::Item(this, core::mem::transmute_copy(&portnumber), core::mem::transmute_copy(&ipprotocol)) { Ok(ok__) => { - core::ptr::write(openport, core::mem::transmute(ok__)); + openport.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1480,7 +1480,7 @@ impl INetFwOpenPorts_Vtbl { let this = (*this).get_impl(); match INetFwOpenPorts_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(newenum, core::mem::transmute(ok__)); + newenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1514,7 +1514,7 @@ impl INetFwPolicy_Vtbl { let this = (*this).get_impl(); match INetFwPolicy_Impl::CurrentProfile(this) { Ok(ok__) => { - core::ptr::write(profile, core::mem::transmute(ok__)); + profile.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1525,7 +1525,7 @@ impl INetFwPolicy_Vtbl { let this = (*this).get_impl(); match INetFwPolicy_Impl::GetProfileByType(this, core::mem::transmute_copy(&profiletype)) { Ok(ok__) => { - core::ptr::write(profile, core::mem::transmute(ok__)); + profile.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1576,7 +1576,7 @@ impl INetFwPolicy2_Vtbl { let this = (*this).get_impl(); match INetFwPolicy2_Impl::CurrentProfileTypes(this) { Ok(ok__) => { - core::ptr::write(profiletypesbitmask, core::mem::transmute(ok__)); + profiletypesbitmask.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1587,7 +1587,7 @@ impl INetFwPolicy2_Vtbl { let this = (*this).get_impl(); match INetFwPolicy2_Impl::get_FirewallEnabled(this, core::mem::transmute_copy(&profiletype)) { Ok(ok__) => { - core::ptr::write(enabled, core::mem::transmute(ok__)); + enabled.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1603,7 +1603,7 @@ impl INetFwPolicy2_Vtbl { let this = (*this).get_impl(); match INetFwPolicy2_Impl::get_ExcludedInterfaces(this, core::mem::transmute_copy(&profiletype)) { Ok(ok__) => { - core::ptr::write(interfaces, core::mem::transmute(ok__)); + interfaces.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1619,7 +1619,7 @@ impl INetFwPolicy2_Vtbl { let this = (*this).get_impl(); match INetFwPolicy2_Impl::get_BlockAllInboundTraffic(this, core::mem::transmute_copy(&profiletype)) { Ok(ok__) => { - core::ptr::write(block, core::mem::transmute(ok__)); + block.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1635,7 +1635,7 @@ impl INetFwPolicy2_Vtbl { let this = (*this).get_impl(); match INetFwPolicy2_Impl::get_NotificationsDisabled(this, core::mem::transmute_copy(&profiletype)) { Ok(ok__) => { - core::ptr::write(disabled, core::mem::transmute(ok__)); + disabled.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1651,7 +1651,7 @@ impl INetFwPolicy2_Vtbl { let this = (*this).get_impl(); match INetFwPolicy2_Impl::get_UnicastResponsesToMulticastBroadcastDisabled(this, core::mem::transmute_copy(&profiletype)) { Ok(ok__) => { - core::ptr::write(disabled, core::mem::transmute(ok__)); + disabled.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1667,7 +1667,7 @@ impl INetFwPolicy2_Vtbl { let this = (*this).get_impl(); match INetFwPolicy2_Impl::Rules(this) { Ok(ok__) => { - core::ptr::write(rules, core::mem::transmute(ok__)); + rules.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1678,7 +1678,7 @@ impl INetFwPolicy2_Vtbl { let this = (*this).get_impl(); match INetFwPolicy2_Impl::ServiceRestriction(this) { Ok(ok__) => { - core::ptr::write(servicerestriction, core::mem::transmute(ok__)); + servicerestriction.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1694,7 +1694,7 @@ impl INetFwPolicy2_Vtbl { let this = (*this).get_impl(); match INetFwPolicy2_Impl::IsRuleGroupEnabled(this, core::mem::transmute_copy(&profiletypesbitmask), core::mem::transmute(&group)) { Ok(ok__) => { - core::ptr::write(enabled, core::mem::transmute(ok__)); + enabled.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1710,7 +1710,7 @@ impl INetFwPolicy2_Vtbl { let this = (*this).get_impl(); match INetFwPolicy2_Impl::get_DefaultInboundAction(this, core::mem::transmute_copy(&profiletype)) { Ok(ok__) => { - core::ptr::write(action, core::mem::transmute(ok__)); + action.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1726,7 +1726,7 @@ impl INetFwPolicy2_Vtbl { let this = (*this).get_impl(); match INetFwPolicy2_Impl::get_DefaultOutboundAction(this, core::mem::transmute_copy(&profiletype)) { Ok(ok__) => { - core::ptr::write(action, core::mem::transmute(ok__)); + action.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1742,7 +1742,7 @@ impl INetFwPolicy2_Vtbl { let this = (*this).get_impl(); match INetFwPolicy2_Impl::get_IsRuleGroupCurrentlyEnabled(this, core::mem::transmute(&group)) { Ok(ok__) => { - core::ptr::write(enabled, core::mem::transmute(ok__)); + enabled.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1753,7 +1753,7 @@ impl INetFwPolicy2_Vtbl { let this = (*this).get_impl(); match INetFwPolicy2_Impl::LocalPolicyModifyState(this) { Ok(ok__) => { - core::ptr::write(modifystate, core::mem::transmute(ok__)); + modifystate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1807,7 +1807,7 @@ impl INetFwProduct_Vtbl { let this = (*this).get_impl(); match INetFwProduct_Impl::RuleCategories(this) { Ok(ok__) => { - core::ptr::write(rulecategories, core::mem::transmute(ok__)); + rulecategories.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1823,7 +1823,7 @@ impl INetFwProduct_Vtbl { let this = (*this).get_impl(); match INetFwProduct_Impl::DisplayName(this) { Ok(ok__) => { - core::ptr::write(displayname, core::mem::transmute(ok__)); + displayname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1839,7 +1839,7 @@ impl INetFwProduct_Vtbl { let this = (*this).get_impl(); match INetFwProduct_Impl::PathToSignedProductExe(this) { Ok(ok__) => { - core::ptr::write(path, core::mem::transmute(ok__)); + path.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1875,7 +1875,7 @@ impl INetFwProducts_Vtbl { let this = (*this).get_impl(); match INetFwProducts_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(count, core::mem::transmute(ok__)); + count.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1886,7 +1886,7 @@ impl INetFwProducts_Vtbl { let this = (*this).get_impl(); match INetFwProducts_Impl::Register(this, windows_core::from_raw_borrowed(&product)) { Ok(ok__) => { - core::ptr::write(registration, core::mem::transmute(ok__)); + registration.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1897,7 +1897,7 @@ impl INetFwProducts_Vtbl { let this = (*this).get_impl(); match INetFwProducts_Impl::Item(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(product, core::mem::transmute(ok__)); + product.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1908,7 +1908,7 @@ impl INetFwProducts_Vtbl { let this = (*this).get_impl(); match INetFwProducts_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(newenum, core::mem::transmute(ok__)); + newenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1953,7 +1953,7 @@ impl INetFwProfile_Vtbl { let this = (*this).get_impl(); match INetFwProfile_Impl::Type(this) { Ok(ok__) => { - core::ptr::write(r#type, core::mem::transmute(ok__)); + r#type.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1964,7 +1964,7 @@ impl INetFwProfile_Vtbl { let this = (*this).get_impl(); match INetFwProfile_Impl::FirewallEnabled(this) { Ok(ok__) => { - core::ptr::write(enabled, core::mem::transmute(ok__)); + enabled.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1980,7 +1980,7 @@ impl INetFwProfile_Vtbl { let this = (*this).get_impl(); match INetFwProfile_Impl::ExceptionsNotAllowed(this) { Ok(ok__) => { - core::ptr::write(notallowed, core::mem::transmute(ok__)); + notallowed.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1996,7 +1996,7 @@ impl INetFwProfile_Vtbl { let this = (*this).get_impl(); match INetFwProfile_Impl::NotificationsDisabled(this) { Ok(ok__) => { - core::ptr::write(disabled, core::mem::transmute(ok__)); + disabled.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2012,7 +2012,7 @@ impl INetFwProfile_Vtbl { let this = (*this).get_impl(); match INetFwProfile_Impl::UnicastResponsesToMulticastBroadcastDisabled(this) { Ok(ok__) => { - core::ptr::write(disabled, core::mem::transmute(ok__)); + disabled.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2028,7 +2028,7 @@ impl INetFwProfile_Vtbl { let this = (*this).get_impl(); match INetFwProfile_Impl::RemoteAdminSettings(this) { Ok(ok__) => { - core::ptr::write(remoteadminsettings, core::mem::transmute(ok__)); + remoteadminsettings.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2039,7 +2039,7 @@ impl INetFwProfile_Vtbl { let this = (*this).get_impl(); match INetFwProfile_Impl::IcmpSettings(this) { Ok(ok__) => { - core::ptr::write(icmpsettings, core::mem::transmute(ok__)); + icmpsettings.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2050,7 +2050,7 @@ impl INetFwProfile_Vtbl { let this = (*this).get_impl(); match INetFwProfile_Impl::GloballyOpenPorts(this) { Ok(ok__) => { - core::ptr::write(openports, core::mem::transmute(ok__)); + openports.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2061,7 +2061,7 @@ impl INetFwProfile_Vtbl { let this = (*this).get_impl(); match INetFwProfile_Impl::Services(this) { Ok(ok__) => { - core::ptr::write(services, core::mem::transmute(ok__)); + services.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2072,7 +2072,7 @@ impl INetFwProfile_Vtbl { let this = (*this).get_impl(); match INetFwProfile_Impl::AuthorizedApplications(this) { Ok(ok__) => { - core::ptr::write(apps, core::mem::transmute(ok__)); + apps.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2121,7 +2121,7 @@ impl INetFwRemoteAdminSettings_Vtbl { let this = (*this).get_impl(); match INetFwRemoteAdminSettings_Impl::IpVersion(this) { Ok(ok__) => { - core::ptr::write(ipversion, core::mem::transmute(ok__)); + ipversion.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2137,7 +2137,7 @@ impl INetFwRemoteAdminSettings_Vtbl { let this = (*this).get_impl(); match INetFwRemoteAdminSettings_Impl::Scope(this) { Ok(ok__) => { - core::ptr::write(scope, core::mem::transmute(ok__)); + scope.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2153,7 +2153,7 @@ impl INetFwRemoteAdminSettings_Vtbl { let this = (*this).get_impl(); match INetFwRemoteAdminSettings_Impl::RemoteAddresses(this) { Ok(ok__) => { - core::ptr::write(remoteaddrs, core::mem::transmute(ok__)); + remoteaddrs.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2169,7 +2169,7 @@ impl INetFwRemoteAdminSettings_Vtbl { let this = (*this).get_impl(); match INetFwRemoteAdminSettings_Impl::Enabled(this) { Ok(ok__) => { - core::ptr::write(enabled, core::mem::transmute(ok__)); + enabled.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2245,7 +2245,7 @@ impl INetFwRule_Vtbl { let this = (*this).get_impl(); match INetFwRule_Impl::Name(this) { Ok(ok__) => { - core::ptr::write(name, core::mem::transmute(ok__)); + name.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2261,7 +2261,7 @@ impl INetFwRule_Vtbl { let this = (*this).get_impl(); match INetFwRule_Impl::Description(this) { Ok(ok__) => { - core::ptr::write(desc, core::mem::transmute(ok__)); + desc.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2277,7 +2277,7 @@ impl INetFwRule_Vtbl { let this = (*this).get_impl(); match INetFwRule_Impl::ApplicationName(this) { Ok(ok__) => { - core::ptr::write(imagefilename, core::mem::transmute(ok__)); + imagefilename.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2293,7 +2293,7 @@ impl INetFwRule_Vtbl { let this = (*this).get_impl(); match INetFwRule_Impl::ServiceName(this) { Ok(ok__) => { - core::ptr::write(servicename, core::mem::transmute(ok__)); + servicename.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2309,7 +2309,7 @@ impl INetFwRule_Vtbl { let this = (*this).get_impl(); match INetFwRule_Impl::Protocol(this) { Ok(ok__) => { - core::ptr::write(protocol, core::mem::transmute(ok__)); + protocol.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2325,7 +2325,7 @@ impl INetFwRule_Vtbl { let this = (*this).get_impl(); match INetFwRule_Impl::LocalPorts(this) { Ok(ok__) => { - core::ptr::write(portnumbers, core::mem::transmute(ok__)); + portnumbers.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2341,7 +2341,7 @@ impl INetFwRule_Vtbl { let this = (*this).get_impl(); match INetFwRule_Impl::RemotePorts(this) { Ok(ok__) => { - core::ptr::write(portnumbers, core::mem::transmute(ok__)); + portnumbers.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2357,7 +2357,7 @@ impl INetFwRule_Vtbl { let this = (*this).get_impl(); match INetFwRule_Impl::LocalAddresses(this) { Ok(ok__) => { - core::ptr::write(localaddrs, core::mem::transmute(ok__)); + localaddrs.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2373,7 +2373,7 @@ impl INetFwRule_Vtbl { let this = (*this).get_impl(); match INetFwRule_Impl::RemoteAddresses(this) { Ok(ok__) => { - core::ptr::write(remoteaddrs, core::mem::transmute(ok__)); + remoteaddrs.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2389,7 +2389,7 @@ impl INetFwRule_Vtbl { let this = (*this).get_impl(); match INetFwRule_Impl::IcmpTypesAndCodes(this) { Ok(ok__) => { - core::ptr::write(icmptypesandcodes, core::mem::transmute(ok__)); + icmptypesandcodes.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2405,7 +2405,7 @@ impl INetFwRule_Vtbl { let this = (*this).get_impl(); match INetFwRule_Impl::Direction(this) { Ok(ok__) => { - core::ptr::write(dir, core::mem::transmute(ok__)); + dir.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2421,7 +2421,7 @@ impl INetFwRule_Vtbl { let this = (*this).get_impl(); match INetFwRule_Impl::Interfaces(this) { Ok(ok__) => { - core::ptr::write(interfaces, core::mem::transmute(ok__)); + interfaces.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2437,7 +2437,7 @@ impl INetFwRule_Vtbl { let this = (*this).get_impl(); match INetFwRule_Impl::InterfaceTypes(this) { Ok(ok__) => { - core::ptr::write(interfacetypes, core::mem::transmute(ok__)); + interfacetypes.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2453,7 +2453,7 @@ impl INetFwRule_Vtbl { let this = (*this).get_impl(); match INetFwRule_Impl::Enabled(this) { Ok(ok__) => { - core::ptr::write(enabled, core::mem::transmute(ok__)); + enabled.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2469,7 +2469,7 @@ impl INetFwRule_Vtbl { let this = (*this).get_impl(); match INetFwRule_Impl::Grouping(this) { Ok(ok__) => { - core::ptr::write(context, core::mem::transmute(ok__)); + context.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2485,7 +2485,7 @@ impl INetFwRule_Vtbl { let this = (*this).get_impl(); match INetFwRule_Impl::Profiles(this) { Ok(ok__) => { - core::ptr::write(profiletypesbitmask, core::mem::transmute(ok__)); + profiletypesbitmask.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2501,7 +2501,7 @@ impl INetFwRule_Vtbl { let this = (*this).get_impl(); match INetFwRule_Impl::EdgeTraversal(this) { Ok(ok__) => { - core::ptr::write(enabled, core::mem::transmute(ok__)); + enabled.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2517,7 +2517,7 @@ impl INetFwRule_Vtbl { let this = (*this).get_impl(); match INetFwRule_Impl::Action(this) { Ok(ok__) => { - core::ptr::write(action, core::mem::transmute(ok__)); + action.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2587,7 +2587,7 @@ impl INetFwRule2_Vtbl { let this = (*this).get_impl(); match INetFwRule2_Impl::EdgeTraversalOptions(this) { Ok(ok__) => { - core::ptr::write(loptions, core::mem::transmute(ok__)); + loptions.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2633,7 +2633,7 @@ impl INetFwRule3_Vtbl { let this = (*this).get_impl(); match INetFwRule3_Impl::LocalAppPackageId(this) { Ok(ok__) => { - core::ptr::write(wszpackageid, core::mem::transmute(ok__)); + wszpackageid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2649,7 +2649,7 @@ impl INetFwRule3_Vtbl { let this = (*this).get_impl(); match INetFwRule3_Impl::LocalUserOwner(this) { Ok(ok__) => { - core::ptr::write(wszuserowner, core::mem::transmute(ok__)); + wszuserowner.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2665,7 +2665,7 @@ impl INetFwRule3_Vtbl { let this = (*this).get_impl(); match INetFwRule3_Impl::LocalUserAuthorizedList(this) { Ok(ok__) => { - core::ptr::write(wszuserauthlist, core::mem::transmute(ok__)); + wszuserauthlist.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2681,7 +2681,7 @@ impl INetFwRule3_Vtbl { let this = (*this).get_impl(); match INetFwRule3_Impl::RemoteUserAuthorizedList(this) { Ok(ok__) => { - core::ptr::write(wszuserauthlist, core::mem::transmute(ok__)); + wszuserauthlist.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2697,7 +2697,7 @@ impl INetFwRule3_Vtbl { let this = (*this).get_impl(); match INetFwRule3_Impl::RemoteMachineAuthorizedList(this) { Ok(ok__) => { - core::ptr::write(wszuserauthlist, core::mem::transmute(ok__)); + wszuserauthlist.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2713,7 +2713,7 @@ impl INetFwRule3_Vtbl { let this = (*this).get_impl(); match INetFwRule3_Impl::SecureFlags(this) { Ok(ok__) => { - core::ptr::write(loptions, core::mem::transmute(ok__)); + loptions.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2762,7 +2762,7 @@ impl INetFwRules_Vtbl { let this = (*this).get_impl(); match INetFwRules_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(count, core::mem::transmute(ok__)); + count.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2783,7 +2783,7 @@ impl INetFwRules_Vtbl { let this = (*this).get_impl(); match INetFwRules_Impl::Item(this, core::mem::transmute(&name)) { Ok(ok__) => { - core::ptr::write(rule, core::mem::transmute(ok__)); + rule.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2794,7 +2794,7 @@ impl INetFwRules_Vtbl { let this = (*this).get_impl(); match INetFwRules_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(newenum, core::mem::transmute(ok__)); + newenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2838,7 +2838,7 @@ impl INetFwService_Vtbl { let this = (*this).get_impl(); match INetFwService_Impl::Name(this) { Ok(ok__) => { - core::ptr::write(name, core::mem::transmute(ok__)); + name.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2849,7 +2849,7 @@ impl INetFwService_Vtbl { let this = (*this).get_impl(); match INetFwService_Impl::Type(this) { Ok(ok__) => { - core::ptr::write(r#type, core::mem::transmute(ok__)); + r#type.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2860,7 +2860,7 @@ impl INetFwService_Vtbl { let this = (*this).get_impl(); match INetFwService_Impl::Customized(this) { Ok(ok__) => { - core::ptr::write(customized, core::mem::transmute(ok__)); + customized.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2871,7 +2871,7 @@ impl INetFwService_Vtbl { let this = (*this).get_impl(); match INetFwService_Impl::IpVersion(this) { Ok(ok__) => { - core::ptr::write(ipversion, core::mem::transmute(ok__)); + ipversion.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2887,7 +2887,7 @@ impl INetFwService_Vtbl { let this = (*this).get_impl(); match INetFwService_Impl::Scope(this) { Ok(ok__) => { - core::ptr::write(scope, core::mem::transmute(ok__)); + scope.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2903,7 +2903,7 @@ impl INetFwService_Vtbl { let this = (*this).get_impl(); match INetFwService_Impl::RemoteAddresses(this) { Ok(ok__) => { - core::ptr::write(remoteaddrs, core::mem::transmute(ok__)); + remoteaddrs.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2919,7 +2919,7 @@ impl INetFwService_Vtbl { let this = (*this).get_impl(); match INetFwService_Impl::Enabled(this) { Ok(ok__) => { - core::ptr::write(enabled, core::mem::transmute(ok__)); + enabled.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2935,7 +2935,7 @@ impl INetFwService_Vtbl { let this = (*this).get_impl(); match INetFwService_Impl::GloballyOpenPorts(this) { Ok(ok__) => { - core::ptr::write(openports, core::mem::transmute(ok__)); + openports.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2982,7 +2982,7 @@ impl INetFwServiceRestriction_Vtbl { let this = (*this).get_impl(); match INetFwServiceRestriction_Impl::ServiceRestricted(this, core::mem::transmute(&servicename), core::mem::transmute(&appname)) { Ok(ok__) => { - core::ptr::write(servicerestricted, core::mem::transmute(ok__)); + servicerestricted.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2993,7 +2993,7 @@ impl INetFwServiceRestriction_Vtbl { let this = (*this).get_impl(); match INetFwServiceRestriction_Impl::Rules(this) { Ok(ok__) => { - core::ptr::write(rules, core::mem::transmute(ok__)); + rules.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3026,7 +3026,7 @@ impl INetFwServices_Vtbl { let this = (*this).get_impl(); match INetFwServices_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(count, core::mem::transmute(ok__)); + count.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3037,7 +3037,7 @@ impl INetFwServices_Vtbl { let this = (*this).get_impl(); match INetFwServices_Impl::Item(this, core::mem::transmute_copy(&svctype)) { Ok(ok__) => { - core::ptr::write(service, core::mem::transmute(ok__)); + service.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3048,7 +3048,7 @@ impl INetFwServices_Vtbl { let this = (*this).get_impl(); match INetFwServices_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(newenum, core::mem::transmute(ok__)); + newenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3088,7 +3088,7 @@ impl INetSharingConfiguration_Vtbl { let this = (*this).get_impl(); match INetSharingConfiguration_Impl::SharingEnabled(this) { Ok(ok__) => { - core::ptr::write(pbenabled, core::mem::transmute(ok__)); + pbenabled.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3099,7 +3099,7 @@ impl INetSharingConfiguration_Vtbl { let this = (*this).get_impl(); match INetSharingConfiguration_Impl::SharingConnectionType(this) { Ok(ok__) => { - core::ptr::write(ptype, core::mem::transmute(ok__)); + ptype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3120,7 +3120,7 @@ impl INetSharingConfiguration_Vtbl { let this = (*this).get_impl(); match INetSharingConfiguration_Impl::InternetFirewallEnabled(this) { Ok(ok__) => { - core::ptr::write(pbenabled, core::mem::transmute(ok__)); + pbenabled.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3141,7 +3141,7 @@ impl INetSharingConfiguration_Vtbl { let this = (*this).get_impl(); match INetSharingConfiguration_Impl::get_EnumPortMappings(this, core::mem::transmute_copy(&flags)) { Ok(ok__) => { - core::ptr::write(ppcoll, core::mem::transmute(ok__)); + ppcoll.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3152,7 +3152,7 @@ impl INetSharingConfiguration_Vtbl { let this = (*this).get_impl(); match INetSharingConfiguration_Impl::AddPortMapping(this, core::mem::transmute(&bstrname), core::mem::transmute_copy(&ucipprotocol), core::mem::transmute_copy(&usexternalport), core::mem::transmute_copy(&usinternalport), core::mem::transmute_copy(&dwoptions), core::mem::transmute(&bstrtargetnameoripaddress), core::mem::transmute_copy(&etargettype)) { Ok(ok__) => { - core::ptr::write(ppmapping, core::mem::transmute(ok__)); + ppmapping.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3196,7 +3196,7 @@ impl INetSharingEveryConnectionCollection_Vtbl { let this = (*this).get_impl(); match INetSharingEveryConnectionCollection_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3207,7 +3207,7 @@ impl INetSharingEveryConnectionCollection_Vtbl { let this = (*this).get_impl(); match INetSharingEveryConnectionCollection_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3242,7 +3242,7 @@ impl INetSharingManager_Vtbl { let this = (*this).get_impl(); match INetSharingManager_Impl::SharingInstalled(this) { Ok(ok__) => { - core::ptr::write(pbinstalled, core::mem::transmute(ok__)); + pbinstalled.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3253,7 +3253,7 @@ impl INetSharingManager_Vtbl { let this = (*this).get_impl(); match INetSharingManager_Impl::get_EnumPublicConnections(this, core::mem::transmute_copy(&flags)) { Ok(ok__) => { - core::ptr::write(ppcoll, core::mem::transmute(ok__)); + ppcoll.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3264,7 +3264,7 @@ impl INetSharingManager_Vtbl { let this = (*this).get_impl(); match INetSharingManager_Impl::get_EnumPrivateConnections(this, core::mem::transmute_copy(&flags)) { Ok(ok__) => { - core::ptr::write(ppcoll, core::mem::transmute(ok__)); + ppcoll.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3275,7 +3275,7 @@ impl INetSharingManager_Vtbl { let this = (*this).get_impl(); match INetSharingManager_Impl::get_INetSharingConfigurationForINetConnection(this, windows_core::from_raw_borrowed(&pnetconnection)) { Ok(ok__) => { - core::ptr::write(ppnetsharingconfiguration, core::mem::transmute(ok__)); + ppnetsharingconfiguration.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3286,7 +3286,7 @@ impl INetSharingManager_Vtbl { let this = (*this).get_impl(); match INetSharingManager_Impl::EnumEveryConnection(this) { Ok(ok__) => { - core::ptr::write(ppcoll, core::mem::transmute(ok__)); + ppcoll.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3297,7 +3297,7 @@ impl INetSharingManager_Vtbl { let this = (*this).get_impl(); match INetSharingManager_Impl::get_NetConnectionProps(this, windows_core::from_raw_borrowed(&pnetconnection)) { Ok(ok__) => { - core::ptr::write(ppprops, core::mem::transmute(ok__)); + ppprops.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3344,7 +3344,7 @@ impl INetSharingPortMapping_Vtbl { let this = (*this).get_impl(); match INetSharingPortMapping_Impl::Properties(this) { Ok(ok__) => { - core::ptr::write(ppnspmp, core::mem::transmute(ok__)); + ppnspmp.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3382,7 +3382,7 @@ impl INetSharingPortMappingCollection_Vtbl { let this = (*this).get_impl(); match INetSharingPortMappingCollection_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3393,7 +3393,7 @@ impl INetSharingPortMappingCollection_Vtbl { let this = (*this).get_impl(); match INetSharingPortMappingCollection_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3430,7 +3430,7 @@ impl INetSharingPortMappingProps_Vtbl { let this = (*this).get_impl(); match INetSharingPortMappingProps_Impl::Name(this) { Ok(ok__) => { - core::ptr::write(pbstrname, core::mem::transmute(ok__)); + pbstrname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3441,7 +3441,7 @@ impl INetSharingPortMappingProps_Vtbl { let this = (*this).get_impl(); match INetSharingPortMappingProps_Impl::IPProtocol(this) { Ok(ok__) => { - core::ptr::write(pucipprot, core::mem::transmute(ok__)); + pucipprot.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3452,7 +3452,7 @@ impl INetSharingPortMappingProps_Vtbl { let this = (*this).get_impl(); match INetSharingPortMappingProps_Impl::ExternalPort(this) { Ok(ok__) => { - core::ptr::write(pusport, core::mem::transmute(ok__)); + pusport.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3463,7 +3463,7 @@ impl INetSharingPortMappingProps_Vtbl { let this = (*this).get_impl(); match INetSharingPortMappingProps_Impl::InternalPort(this) { Ok(ok__) => { - core::ptr::write(pusport, core::mem::transmute(ok__)); + pusport.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3474,7 +3474,7 @@ impl INetSharingPortMappingProps_Vtbl { let this = (*this).get_impl(); match INetSharingPortMappingProps_Impl::Options(this) { Ok(ok__) => { - core::ptr::write(pdwoptions, core::mem::transmute(ok__)); + pdwoptions.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3485,7 +3485,7 @@ impl INetSharingPortMappingProps_Vtbl { let this = (*this).get_impl(); match INetSharingPortMappingProps_Impl::TargetName(this) { Ok(ok__) => { - core::ptr::write(pbstrtargetname, core::mem::transmute(ok__)); + pbstrtargetname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3496,7 +3496,7 @@ impl INetSharingPortMappingProps_Vtbl { let this = (*this).get_impl(); match INetSharingPortMappingProps_Impl::TargetIPAddress(this) { Ok(ok__) => { - core::ptr::write(pbstrtargetipaddress, core::mem::transmute(ok__)); + pbstrtargetipaddress.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3507,7 +3507,7 @@ impl INetSharingPortMappingProps_Vtbl { let this = (*this).get_impl(); match INetSharingPortMappingProps_Impl::Enabled(this) { Ok(ok__) => { - core::ptr::write(pbool, core::mem::transmute(ok__)); + pbool.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3544,7 +3544,7 @@ impl INetSharingPrivateConnectionCollection_Vtbl { let this = (*this).get_impl(); match INetSharingPrivateConnectionCollection_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3555,7 +3555,7 @@ impl INetSharingPrivateConnectionCollection_Vtbl { let this = (*this).get_impl(); match INetSharingPrivateConnectionCollection_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3586,7 +3586,7 @@ impl INetSharingPublicConnectionCollection_Vtbl { let this = (*this).get_impl(); match INetSharingPublicConnectionCollection_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3597,7 +3597,7 @@ impl INetSharingPublicConnectionCollection_Vtbl { let this = (*this).get_impl(); match INetSharingPublicConnectionCollection_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3637,7 +3637,7 @@ impl IStaticPortMapping_Vtbl { let this = (*this).get_impl(); match IStaticPortMapping_Impl::ExternalIPAddress(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3648,7 +3648,7 @@ impl IStaticPortMapping_Vtbl { let this = (*this).get_impl(); match IStaticPortMapping_Impl::ExternalPort(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3659,7 +3659,7 @@ impl IStaticPortMapping_Vtbl { let this = (*this).get_impl(); match IStaticPortMapping_Impl::InternalPort(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3670,7 +3670,7 @@ impl IStaticPortMapping_Vtbl { let this = (*this).get_impl(); match IStaticPortMapping_Impl::Protocol(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3681,7 +3681,7 @@ impl IStaticPortMapping_Vtbl { let this = (*this).get_impl(); match IStaticPortMapping_Impl::InternalClient(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3692,7 +3692,7 @@ impl IStaticPortMapping_Vtbl { let this = (*this).get_impl(); match IStaticPortMapping_Impl::Enabled(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3703,7 +3703,7 @@ impl IStaticPortMapping_Vtbl { let this = (*this).get_impl(); match IStaticPortMapping_Impl::Description(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3766,7 +3766,7 @@ impl IStaticPortMappingCollection_Vtbl { let this = (*this).get_impl(); match IStaticPortMappingCollection_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3777,7 +3777,7 @@ impl IStaticPortMappingCollection_Vtbl { let this = (*this).get_impl(); match IStaticPortMappingCollection_Impl::get_Item(this, core::mem::transmute_copy(&lexternalport), core::mem::transmute(&bstrprotocol)) { Ok(ok__) => { - core::ptr::write(ppspm, core::mem::transmute(ok__)); + ppspm.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3788,7 +3788,7 @@ impl IStaticPortMappingCollection_Vtbl { let this = (*this).get_impl(); match IStaticPortMappingCollection_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3804,7 +3804,7 @@ impl IStaticPortMappingCollection_Vtbl { let this = (*this).get_impl(); match IStaticPortMappingCollection_Impl::Add(this, core::mem::transmute_copy(&lexternalport), core::mem::transmute(&bstrprotocol), core::mem::transmute_copy(&linternalport), core::mem::transmute(&bstrinternalclient), core::mem::transmute_copy(&benabled), core::mem::transmute(&bstrdescription)) { Ok(ok__) => { - core::ptr::write(ppspm, core::mem::transmute(ok__)); + ppspm.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3839,7 +3839,7 @@ impl IUPnPNAT_Vtbl { let this = (*this).get_impl(); match IUPnPNAT_Impl::StaticPortMappingCollection(this) { Ok(ok__) => { - core::ptr::write(ppspms, core::mem::transmute(ok__)); + ppspms.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3850,7 +3850,7 @@ impl IUPnPNAT_Vtbl { let this = (*this).get_impl(); match IUPnPNAT_Impl::DynamicPortMappingCollection(this) { Ok(ok__) => { - core::ptr::write(ppdpms, core::mem::transmute(ok__)); + ppdpms.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3861,7 +3861,7 @@ impl IUPnPNAT_Vtbl { let this = (*this).get_impl(); match IUPnPNAT_Impl::NATEventManager(this) { Ok(ok__) => { - core::ptr::write(ppnem, core::mem::transmute(ok__)); + ppnem.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/Win32/Networking/ActiveDirectory/impl.rs b/crates/libs/windows/src/Windows/Win32/Networking/ActiveDirectory/impl.rs index 3f50bb3815..58a1938f1a 100644 --- a/crates/libs/windows/src/Windows/Win32/Networking/ActiveDirectory/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Networking/ActiveDirectory/impl.rs @@ -24,7 +24,7 @@ impl IADs_Vtbl { let this = (*this).get_impl(); match IADs_Impl::Name(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -35,7 +35,7 @@ impl IADs_Vtbl { let this = (*this).get_impl(); match IADs_Impl::Class(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -46,7 +46,7 @@ impl IADs_Vtbl { let this = (*this).get_impl(); match IADs_Impl::GUID(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -57,7 +57,7 @@ impl IADs_Vtbl { let this = (*this).get_impl(); match IADs_Impl::ADsPath(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -68,7 +68,7 @@ impl IADs_Vtbl { let this = (*this).get_impl(); match IADs_Impl::Parent(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -79,7 +79,7 @@ impl IADs_Vtbl { let this = (*this).get_impl(); match IADs_Impl::Schema(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -100,7 +100,7 @@ impl IADs_Vtbl { let this = (*this).get_impl(); match IADs_Impl::Get(this, core::mem::transmute(&bstrname)) { Ok(ok__) => { - core::ptr::write(pvprop, core::mem::transmute(ok__)); + pvprop.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -116,7 +116,7 @@ impl IADs_Vtbl { let this = (*this).get_impl(); match IADs_Impl::GetEx(this, core::mem::transmute(&bstrname)) { Ok(ok__) => { - core::ptr::write(pvprop, core::mem::transmute(ok__)); + pvprop.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -179,7 +179,7 @@ impl IADsADSystemInfo_Vtbl { let this = (*this).get_impl(); match IADsADSystemInfo_Impl::UserName(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -190,7 +190,7 @@ impl IADsADSystemInfo_Vtbl { let this = (*this).get_impl(); match IADsADSystemInfo_Impl::ComputerName(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -201,7 +201,7 @@ impl IADsADSystemInfo_Vtbl { let this = (*this).get_impl(); match IADsADSystemInfo_Impl::SiteName(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -212,7 +212,7 @@ impl IADsADSystemInfo_Vtbl { let this = (*this).get_impl(); match IADsADSystemInfo_Impl::DomainShortName(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -223,7 +223,7 @@ impl IADsADSystemInfo_Vtbl { let this = (*this).get_impl(); match IADsADSystemInfo_Impl::DomainDNSName(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -234,7 +234,7 @@ impl IADsADSystemInfo_Vtbl { let this = (*this).get_impl(); match IADsADSystemInfo_Impl::ForestDNSName(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -245,7 +245,7 @@ impl IADsADSystemInfo_Vtbl { let this = (*this).get_impl(); match IADsADSystemInfo_Impl::PDCRoleOwner(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -256,7 +256,7 @@ impl IADsADSystemInfo_Vtbl { let this = (*this).get_impl(); match IADsADSystemInfo_Impl::SchemaRoleOwner(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -267,7 +267,7 @@ impl IADsADSystemInfo_Vtbl { let this = (*this).get_impl(); match IADsADSystemInfo_Impl::IsNativeMode(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -278,7 +278,7 @@ impl IADsADSystemInfo_Vtbl { let this = (*this).get_impl(); match IADsADSystemInfo_Impl::GetAnyDCName(this) { Ok(ok__) => { - core::ptr::write(pszdcname, core::mem::transmute(ok__)); + pszdcname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -289,7 +289,7 @@ impl IADsADSystemInfo_Vtbl { let this = (*this).get_impl(); match IADsADSystemInfo_Impl::GetDCSiteName(this, core::mem::transmute(&szserver)) { Ok(ok__) => { - core::ptr::write(pszsitename, core::mem::transmute(ok__)); + pszsitename.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -305,7 +305,7 @@ impl IADsADSystemInfo_Vtbl { let this = (*this).get_impl(); match IADsADSystemInfo_Impl::GetTrees(this) { Ok(ok__) => { - core::ptr::write(pvtrees, core::mem::transmute(ok__)); + pvtrees.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -359,7 +359,7 @@ impl IADsAccessControlEntry_Vtbl { let this = (*this).get_impl(); match IADsAccessControlEntry_Impl::AccessMask(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -375,7 +375,7 @@ impl IADsAccessControlEntry_Vtbl { let this = (*this).get_impl(); match IADsAccessControlEntry_Impl::AceType(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -391,7 +391,7 @@ impl IADsAccessControlEntry_Vtbl { let this = (*this).get_impl(); match IADsAccessControlEntry_Impl::AceFlags(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -407,7 +407,7 @@ impl IADsAccessControlEntry_Vtbl { let this = (*this).get_impl(); match IADsAccessControlEntry_Impl::Flags(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -423,7 +423,7 @@ impl IADsAccessControlEntry_Vtbl { let this = (*this).get_impl(); match IADsAccessControlEntry_Impl::ObjectType(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -439,7 +439,7 @@ impl IADsAccessControlEntry_Vtbl { let this = (*this).get_impl(); match IADsAccessControlEntry_Impl::InheritedObjectType(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -455,7 +455,7 @@ impl IADsAccessControlEntry_Vtbl { let this = (*this).get_impl(); match IADsAccessControlEntry_Impl::Trustee(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -509,7 +509,7 @@ impl IADsAccessControlList_Vtbl { let this = (*this).get_impl(); match IADsAccessControlList_Impl::AclRevision(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -525,7 +525,7 @@ impl IADsAccessControlList_Vtbl { let this = (*this).get_impl(); match IADsAccessControlList_Impl::AceCount(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -551,7 +551,7 @@ impl IADsAccessControlList_Vtbl { let this = (*this).get_impl(); match IADsAccessControlList_Impl::CopyAccessList(this) { Ok(ok__) => { - core::ptr::write(ppaccesscontrollist, core::mem::transmute(ok__)); + ppaccesscontrollist.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -562,7 +562,7 @@ impl IADsAccessControlList_Vtbl { let this = (*this).get_impl(); match IADsAccessControlList_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -604,7 +604,7 @@ impl IADsAcl_Vtbl { let this = (*this).get_impl(); match IADsAcl_Impl::ProtectedAttrName(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -620,7 +620,7 @@ impl IADsAcl_Vtbl { let this = (*this).get_impl(); match IADsAcl_Impl::SubjectName(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -636,7 +636,7 @@ impl IADsAcl_Vtbl { let this = (*this).get_impl(); match IADsAcl_Impl::Privileges(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -652,7 +652,7 @@ impl IADsAcl_Vtbl { let this = (*this).get_impl(); match IADsAcl_Impl::CopyAcl(this) { Ok(ok__) => { - core::ptr::write(ppacl, core::mem::transmute(ok__)); + ppacl.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -758,7 +758,7 @@ impl IADsBackLink_Vtbl { let this = (*this).get_impl(); match IADsBackLink_Impl::RemoteID(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -774,7 +774,7 @@ impl IADsBackLink_Vtbl { let this = (*this).get_impl(); match IADsBackLink_Impl::ObjectName(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -812,7 +812,7 @@ impl IADsCaseIgnoreList_Vtbl { let this = (*this).get_impl(); match IADsCaseIgnoreList_Impl::CaseIgnoreList(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -876,7 +876,7 @@ impl IADsClass_Vtbl { let this = (*this).get_impl(); match IADsClass_Impl::PrimaryInterface(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -887,7 +887,7 @@ impl IADsClass_Vtbl { let this = (*this).get_impl(); match IADsClass_Impl::CLSID(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -903,7 +903,7 @@ impl IADsClass_Vtbl { let this = (*this).get_impl(); match IADsClass_Impl::OID(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -919,7 +919,7 @@ impl IADsClass_Vtbl { let this = (*this).get_impl(); match IADsClass_Impl::Abstract(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -935,7 +935,7 @@ impl IADsClass_Vtbl { let this = (*this).get_impl(); match IADsClass_Impl::Auxiliary(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -951,7 +951,7 @@ impl IADsClass_Vtbl { let this = (*this).get_impl(); match IADsClass_Impl::MandatoryProperties(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -967,7 +967,7 @@ impl IADsClass_Vtbl { let this = (*this).get_impl(); match IADsClass_Impl::OptionalProperties(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -983,7 +983,7 @@ impl IADsClass_Vtbl { let this = (*this).get_impl(); match IADsClass_Impl::NamingProperties(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -999,7 +999,7 @@ impl IADsClass_Vtbl { let this = (*this).get_impl(); match IADsClass_Impl::DerivedFrom(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1015,7 +1015,7 @@ impl IADsClass_Vtbl { let this = (*this).get_impl(); match IADsClass_Impl::AuxDerivedFrom(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1031,7 +1031,7 @@ impl IADsClass_Vtbl { let this = (*this).get_impl(); match IADsClass_Impl::PossibleSuperiors(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1047,7 +1047,7 @@ impl IADsClass_Vtbl { let this = (*this).get_impl(); match IADsClass_Impl::Containment(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1063,7 +1063,7 @@ impl IADsClass_Vtbl { let this = (*this).get_impl(); match IADsClass_Impl::Container(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1079,7 +1079,7 @@ impl IADsClass_Vtbl { let this = (*this).get_impl(); match IADsClass_Impl::HelpFileName(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1095,7 +1095,7 @@ impl IADsClass_Vtbl { let this = (*this).get_impl(); match IADsClass_Impl::HelpFileContext(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1111,7 +1111,7 @@ impl IADsClass_Vtbl { let this = (*this).get_impl(); match IADsClass_Impl::Qualifiers(this) { Ok(ok__) => { - core::ptr::write(ppqualifiers, core::mem::transmute(ok__)); + ppqualifiers.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1172,7 +1172,7 @@ impl IADsCollection_Vtbl { let this = (*this).get_impl(); match IADsCollection_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(ppenumerator, core::mem::transmute(ok__)); + ppenumerator.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1193,7 +1193,7 @@ impl IADsCollection_Vtbl { let this = (*this).get_impl(); match IADsCollection_Impl::GetObject(this, core::mem::transmute(&bstrname)) { Ok(ok__) => { - core::ptr::write(pvitem, core::mem::transmute(ok__)); + pvitem.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1256,7 +1256,7 @@ impl IADsComputer_Vtbl { let this = (*this).get_impl(); match IADsComputer_Impl::ComputerID(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1267,7 +1267,7 @@ impl IADsComputer_Vtbl { let this = (*this).get_impl(); match IADsComputer_Impl::Site(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1278,7 +1278,7 @@ impl IADsComputer_Vtbl { let this = (*this).get_impl(); match IADsComputer_Impl::Description(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1294,7 +1294,7 @@ impl IADsComputer_Vtbl { let this = (*this).get_impl(); match IADsComputer_Impl::Location(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1310,7 +1310,7 @@ impl IADsComputer_Vtbl { let this = (*this).get_impl(); match IADsComputer_Impl::PrimaryUser(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1326,7 +1326,7 @@ impl IADsComputer_Vtbl { let this = (*this).get_impl(); match IADsComputer_Impl::Owner(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1342,7 +1342,7 @@ impl IADsComputer_Vtbl { let this = (*this).get_impl(); match IADsComputer_Impl::Division(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1358,7 +1358,7 @@ impl IADsComputer_Vtbl { let this = (*this).get_impl(); match IADsComputer_Impl::Department(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1374,7 +1374,7 @@ impl IADsComputer_Vtbl { let this = (*this).get_impl(); match IADsComputer_Impl::Role(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1390,7 +1390,7 @@ impl IADsComputer_Vtbl { let this = (*this).get_impl(); match IADsComputer_Impl::OperatingSystem(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1406,7 +1406,7 @@ impl IADsComputer_Vtbl { let this = (*this).get_impl(); match IADsComputer_Impl::OperatingSystemVersion(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1422,7 +1422,7 @@ impl IADsComputer_Vtbl { let this = (*this).get_impl(); match IADsComputer_Impl::Model(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1438,7 +1438,7 @@ impl IADsComputer_Vtbl { let this = (*this).get_impl(); match IADsComputer_Impl::Processor(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1454,7 +1454,7 @@ impl IADsComputer_Vtbl { let this = (*this).get_impl(); match IADsComputer_Impl::ProcessorCount(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1470,7 +1470,7 @@ impl IADsComputer_Vtbl { let this = (*this).get_impl(); match IADsComputer_Impl::MemorySize(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1486,7 +1486,7 @@ impl IADsComputer_Vtbl { let this = (*this).get_impl(); match IADsComputer_Impl::StorageCapacity(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1502,7 +1502,7 @@ impl IADsComputer_Vtbl { let this = (*this).get_impl(); match IADsComputer_Impl::NetAddresses(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1568,7 +1568,7 @@ impl IADsComputerOperations_Vtbl { let this = (*this).get_impl(); match IADsComputerOperations_Impl::Status(this) { Ok(ok__) => { - core::ptr::write(ppobject, core::mem::transmute(ok__)); + ppobject.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1609,7 +1609,7 @@ impl IADsContainer_Vtbl { let this = (*this).get_impl(); match IADsContainer_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1620,7 +1620,7 @@ impl IADsContainer_Vtbl { let this = (*this).get_impl(); match IADsContainer_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1631,7 +1631,7 @@ impl IADsContainer_Vtbl { let this = (*this).get_impl(); match IADsContainer_Impl::Filter(this) { Ok(ok__) => { - core::ptr::write(pvar, core::mem::transmute(ok__)); + pvar.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1647,7 +1647,7 @@ impl IADsContainer_Vtbl { let this = (*this).get_impl(); match IADsContainer_Impl::Hints(this) { Ok(ok__) => { - core::ptr::write(pvfilter, core::mem::transmute(ok__)); + pvfilter.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1663,7 +1663,7 @@ impl IADsContainer_Vtbl { let this = (*this).get_impl(); match IADsContainer_Impl::GetObject(this, core::mem::transmute(&classname), core::mem::transmute(&relativename)) { Ok(ok__) => { - core::ptr::write(ppobject, core::mem::transmute(ok__)); + ppobject.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1674,7 +1674,7 @@ impl IADsContainer_Vtbl { let this = (*this).get_impl(); match IADsContainer_Impl::Create(this, core::mem::transmute(&classname), core::mem::transmute(&relativename)) { Ok(ok__) => { - core::ptr::write(ppobject, core::mem::transmute(ok__)); + ppobject.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1690,7 +1690,7 @@ impl IADsContainer_Vtbl { let this = (*this).get_impl(); match IADsContainer_Impl::CopyHere(this, core::mem::transmute(&sourcename), core::mem::transmute(&newname)) { Ok(ok__) => { - core::ptr::write(ppobject, core::mem::transmute(ok__)); + ppobject.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1701,7 +1701,7 @@ impl IADsContainer_Vtbl { let this = (*this).get_impl(); match IADsContainer_Impl::MoveHere(this, core::mem::transmute(&sourcename), core::mem::transmute(&newname)) { Ok(ok__) => { - core::ptr::write(ppobject, core::mem::transmute(ok__)); + ppobject.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1743,7 +1743,7 @@ impl IADsDNWithBinary_Vtbl { let this = (*this).get_impl(); match IADsDNWithBinary_Impl::BinaryValue(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1759,7 +1759,7 @@ impl IADsDNWithBinary_Vtbl { let this = (*this).get_impl(); match IADsDNWithBinary_Impl::DNString(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1799,7 +1799,7 @@ impl IADsDNWithString_Vtbl { let this = (*this).get_impl(); match IADsDNWithString_Impl::StringValue(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1815,7 +1815,7 @@ impl IADsDNWithString_Vtbl { let this = (*this).get_impl(); match IADsDNWithString_Impl::DNString(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1888,7 +1888,7 @@ impl IADsDomain_Vtbl { let this = (*this).get_impl(); match IADsDomain_Impl::IsWorkgroup(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1899,7 +1899,7 @@ impl IADsDomain_Vtbl { let this = (*this).get_impl(); match IADsDomain_Impl::MinPasswordLength(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1915,7 +1915,7 @@ impl IADsDomain_Vtbl { let this = (*this).get_impl(); match IADsDomain_Impl::MinPasswordAge(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1931,7 +1931,7 @@ impl IADsDomain_Vtbl { let this = (*this).get_impl(); match IADsDomain_Impl::MaxPasswordAge(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1947,7 +1947,7 @@ impl IADsDomain_Vtbl { let this = (*this).get_impl(); match IADsDomain_Impl::MaxBadPasswordsAllowed(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1963,7 +1963,7 @@ impl IADsDomain_Vtbl { let this = (*this).get_impl(); match IADsDomain_Impl::PasswordHistoryLength(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1979,7 +1979,7 @@ impl IADsDomain_Vtbl { let this = (*this).get_impl(); match IADsDomain_Impl::PasswordAttributes(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1995,7 +1995,7 @@ impl IADsDomain_Vtbl { let this = (*this).get_impl(); match IADsDomain_Impl::AutoUnlockInterval(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2011,7 +2011,7 @@ impl IADsDomain_Vtbl { let this = (*this).get_impl(); match IADsDomain_Impl::LockoutObservationInterval(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2064,7 +2064,7 @@ impl IADsEmail_Vtbl { let this = (*this).get_impl(); match IADsEmail_Impl::Type(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2080,7 +2080,7 @@ impl IADsEmail_Vtbl { let this = (*this).get_impl(); match IADsEmail_Impl::Address(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2124,7 +2124,7 @@ impl IADsExtension_Vtbl { let this = (*this).get_impl(); match IADsExtension_Impl::PrivateGetIDsOfNames(this, core::mem::transmute_copy(&riid), core::mem::transmute_copy(&rgsznames), core::mem::transmute_copy(&cnames), core::mem::transmute_copy(&lcid)) { Ok(ok__) => { - core::ptr::write(rgdispid, core::mem::transmute(ok__)); + rgdispid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2163,7 +2163,7 @@ impl IADsFaxNumber_Vtbl { let this = (*this).get_impl(); match IADsFaxNumber_Impl::TelephoneNumber(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2179,7 +2179,7 @@ impl IADsFaxNumber_Vtbl { let this = (*this).get_impl(); match IADsFaxNumber_Impl::Parameters(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2219,7 +2219,7 @@ impl IADsFileService_Vtbl { let this = (*this).get_impl(); match IADsFileService_Impl::Description(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2235,7 +2235,7 @@ impl IADsFileService_Vtbl { let this = (*this).get_impl(); match IADsFileService_Impl::MaxUserCount(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2273,7 +2273,7 @@ impl IADsFileServiceOperations_Vtbl { let this = (*this).get_impl(); match IADsFileServiceOperations_Impl::Sessions(this) { Ok(ok__) => { - core::ptr::write(ppsessions, core::mem::transmute(ok__)); + ppsessions.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2284,7 +2284,7 @@ impl IADsFileServiceOperations_Vtbl { let this = (*this).get_impl(); match IADsFileServiceOperations_Impl::Resources(this) { Ok(ok__) => { - core::ptr::write(ppresources, core::mem::transmute(ok__)); + ppresources.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2322,7 +2322,7 @@ impl IADsFileShare_Vtbl { let this = (*this).get_impl(); match IADsFileShare_Impl::CurrentUserCount(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2333,7 +2333,7 @@ impl IADsFileShare_Vtbl { let this = (*this).get_impl(); match IADsFileShare_Impl::Description(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2349,7 +2349,7 @@ impl IADsFileShare_Vtbl { let this = (*this).get_impl(); match IADsFileShare_Impl::HostComputer(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2365,7 +2365,7 @@ impl IADsFileShare_Vtbl { let this = (*this).get_impl(); match IADsFileShare_Impl::Path(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2381,7 +2381,7 @@ impl IADsFileShare_Vtbl { let this = (*this).get_impl(); match IADsFileShare_Impl::MaxUserCount(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2428,7 +2428,7 @@ impl IADsGroup_Vtbl { let this = (*this).get_impl(); match IADsGroup_Impl::Description(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2444,7 +2444,7 @@ impl IADsGroup_Vtbl { let this = (*this).get_impl(); match IADsGroup_Impl::Members(this) { Ok(ok__) => { - core::ptr::write(ppmembers, core::mem::transmute(ok__)); + ppmembers.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2455,7 +2455,7 @@ impl IADsGroup_Vtbl { let this = (*this).get_impl(); match IADsGroup_Impl::IsMember(this, core::mem::transmute(&bstrmember)) { Ok(ok__) => { - core::ptr::write(bmember, core::mem::transmute(ok__)); + bmember.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2502,7 +2502,7 @@ impl IADsHold_Vtbl { let this = (*this).get_impl(); match IADsHold_Impl::ObjectName(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2518,7 +2518,7 @@ impl IADsHold_Vtbl { let this = (*this).get_impl(); match IADsHold_Impl::Amount(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2558,7 +2558,7 @@ impl IADsLargeInteger_Vtbl { let this = (*this).get_impl(); match IADsLargeInteger_Impl::HighPart(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2574,7 +2574,7 @@ impl IADsLargeInteger_Vtbl { let this = (*this).get_impl(); match IADsLargeInteger_Impl::LowPart(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2618,7 +2618,7 @@ impl IADsLocality_Vtbl { let this = (*this).get_impl(); match IADsLocality_Impl::Description(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2634,7 +2634,7 @@ impl IADsLocality_Vtbl { let this = (*this).get_impl(); match IADsLocality_Impl::LocalityName(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2650,7 +2650,7 @@ impl IADsLocality_Vtbl { let this = (*this).get_impl(); match IADsLocality_Impl::PostalAddress(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2666,7 +2666,7 @@ impl IADsLocality_Vtbl { let this = (*this).get_impl(); match IADsLocality_Impl::SeeAlso(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2710,7 +2710,7 @@ impl IADsMembers_Vtbl { let this = (*this).get_impl(); match IADsMembers_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(plcount, core::mem::transmute(ok__)); + plcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2721,7 +2721,7 @@ impl IADsMembers_Vtbl { let this = (*this).get_impl(); match IADsMembers_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(ppenumerator, core::mem::transmute(ok__)); + ppenumerator.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2732,7 +2732,7 @@ impl IADsMembers_Vtbl { let this = (*this).get_impl(); match IADsMembers_Impl::Filter(this) { Ok(ok__) => { - core::ptr::write(pvfilter, core::mem::transmute(ok__)); + pvfilter.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2795,7 +2795,7 @@ impl IADsNameTranslate_Vtbl { let this = (*this).get_impl(); match IADsNameTranslate_Impl::Get(this, core::mem::transmute_copy(&lnformattype)) { Ok(ok__) => { - core::ptr::write(pbstradspath, core::mem::transmute(ok__)); + pbstradspath.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2811,7 +2811,7 @@ impl IADsNameTranslate_Vtbl { let this = (*this).get_impl(); match IADsNameTranslate_Impl::GetEx(this, core::mem::transmute_copy(&lnformattype)) { Ok(ok__) => { - core::ptr::write(pvar, core::mem::transmute(ok__)); + pvar.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2847,7 +2847,7 @@ impl IADsNamespaces_Vtbl { let this = (*this).get_impl(); match IADsNamespaces_Impl::DefaultContainer(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2885,7 +2885,7 @@ impl IADsNetAddress_Vtbl { let this = (*this).get_impl(); match IADsNetAddress_Impl::AddressType(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2901,7 +2901,7 @@ impl IADsNetAddress_Vtbl { let this = (*this).get_impl(); match IADsNetAddress_Impl::Address(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2949,7 +2949,7 @@ impl IADsO_Vtbl { let this = (*this).get_impl(); match IADsO_Impl::Description(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2965,7 +2965,7 @@ impl IADsO_Vtbl { let this = (*this).get_impl(); match IADsO_Impl::LocalityName(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2981,7 +2981,7 @@ impl IADsO_Vtbl { let this = (*this).get_impl(); match IADsO_Impl::PostalAddress(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2997,7 +2997,7 @@ impl IADsO_Vtbl { let this = (*this).get_impl(); match IADsO_Impl::TelephoneNumber(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3013,7 +3013,7 @@ impl IADsO_Vtbl { let this = (*this).get_impl(); match IADsO_Impl::FaxNumber(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3029,7 +3029,7 @@ impl IADsO_Vtbl { let this = (*this).get_impl(); match IADsO_Impl::SeeAlso(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3087,7 +3087,7 @@ impl IADsOU_Vtbl { let this = (*this).get_impl(); match IADsOU_Impl::Description(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3103,7 +3103,7 @@ impl IADsOU_Vtbl { let this = (*this).get_impl(); match IADsOU_Impl::LocalityName(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3119,7 +3119,7 @@ impl IADsOU_Vtbl { let this = (*this).get_impl(); match IADsOU_Impl::PostalAddress(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3135,7 +3135,7 @@ impl IADsOU_Vtbl { let this = (*this).get_impl(); match IADsOU_Impl::TelephoneNumber(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3151,7 +3151,7 @@ impl IADsOU_Vtbl { let this = (*this).get_impl(); match IADsOU_Impl::FaxNumber(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3167,7 +3167,7 @@ impl IADsOU_Vtbl { let this = (*this).get_impl(); match IADsOU_Impl::SeeAlso(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3183,7 +3183,7 @@ impl IADsOU_Vtbl { let this = (*this).get_impl(); match IADsOU_Impl::BusinessCategory(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3231,7 +3231,7 @@ impl IADsObjectOptions_Vtbl { let this = (*this).get_impl(); match IADsObjectOptions_Impl::GetOption(this, core::mem::transmute_copy(&lnoption)) { Ok(ok__) => { - core::ptr::write(pvvalue, core::mem::transmute(ok__)); + pvvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3267,7 +3267,7 @@ impl IADsOctetList_Vtbl { let this = (*this).get_impl(); match IADsOctetList_Impl::OctetList(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3302,7 +3302,7 @@ impl IADsOpenDSObject_Vtbl { let this = (*this).get_impl(); match IADsOpenDSObject_Impl::OpenDSObject(this, core::mem::transmute(&lpszdnname), core::mem::transmute(&lpszusername), core::mem::transmute(&lpszpassword), core::mem::transmute_copy(&lnreserved)) { Ok(ok__) => { - core::ptr::write(ppoledsobj, core::mem::transmute(ok__)); + ppoledsobj.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3333,7 +3333,7 @@ impl IADsPath_Vtbl { let this = (*this).get_impl(); match IADsPath_Impl::Type(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3349,7 +3349,7 @@ impl IADsPath_Vtbl { let this = (*this).get_impl(); match IADsPath_Impl::VolumeName(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3365,7 +3365,7 @@ impl IADsPath_Vtbl { let this = (*this).get_impl(); match IADsPath_Impl::Path(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3424,7 +3424,7 @@ impl IADsPathname_Vtbl { let this = (*this).get_impl(); match IADsPathname_Impl::Retrieve(this, core::mem::transmute_copy(&lnformattype)) { Ok(ok__) => { - core::ptr::write(pbstradspath, core::mem::transmute(ok__)); + pbstradspath.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3435,7 +3435,7 @@ impl IADsPathname_Vtbl { let this = (*this).get_impl(); match IADsPathname_Impl::GetNumElements(this) { Ok(ok__) => { - core::ptr::write(plnnumpathelements, core::mem::transmute(ok__)); + plnnumpathelements.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3446,7 +3446,7 @@ impl IADsPathname_Vtbl { let this = (*this).get_impl(); match IADsPathname_Impl::GetElement(this, core::mem::transmute_copy(&lnelementindex)) { Ok(ok__) => { - core::ptr::write(pbstrelement, core::mem::transmute(ok__)); + pbstrelement.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3467,7 +3467,7 @@ impl IADsPathname_Vtbl { let this = (*this).get_impl(); match IADsPathname_Impl::CopyPath(this) { Ok(ok__) => { - core::ptr::write(ppadspath, core::mem::transmute(ok__)); + ppadspath.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3478,7 +3478,7 @@ impl IADsPathname_Vtbl { let this = (*this).get_impl(); match IADsPathname_Impl::GetEscapedElement(this, core::mem::transmute_copy(&lnreserved), core::mem::transmute(&bstrinstr)) { Ok(ok__) => { - core::ptr::write(pbstroutstr, core::mem::transmute(ok__)); + pbstroutstr.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3489,7 +3489,7 @@ impl IADsPathname_Vtbl { let this = (*this).get_impl(); match IADsPathname_Impl::EscapedMode(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3534,7 +3534,7 @@ impl IADsPostalAddress_Vtbl { let this = (*this).get_impl(); match IADsPostalAddress_Impl::PostalAddress(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3586,7 +3586,7 @@ impl IADsPrintJob_Vtbl { let this = (*this).get_impl(); match IADsPrintJob_Impl::HostPrintQueue(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3597,7 +3597,7 @@ impl IADsPrintJob_Vtbl { let this = (*this).get_impl(); match IADsPrintJob_Impl::User(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3608,7 +3608,7 @@ impl IADsPrintJob_Vtbl { let this = (*this).get_impl(); match IADsPrintJob_Impl::UserPath(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3619,7 +3619,7 @@ impl IADsPrintJob_Vtbl { let this = (*this).get_impl(); match IADsPrintJob_Impl::TimeSubmitted(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3630,7 +3630,7 @@ impl IADsPrintJob_Vtbl { let this = (*this).get_impl(); match IADsPrintJob_Impl::TotalPages(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3641,7 +3641,7 @@ impl IADsPrintJob_Vtbl { let this = (*this).get_impl(); match IADsPrintJob_Impl::Size(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3652,7 +3652,7 @@ impl IADsPrintJob_Vtbl { let this = (*this).get_impl(); match IADsPrintJob_Impl::Description(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3668,7 +3668,7 @@ impl IADsPrintJob_Vtbl { let this = (*this).get_impl(); match IADsPrintJob_Impl::Priority(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3684,7 +3684,7 @@ impl IADsPrintJob_Vtbl { let this = (*this).get_impl(); match IADsPrintJob_Impl::StartTime(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3700,7 +3700,7 @@ impl IADsPrintJob_Vtbl { let this = (*this).get_impl(); match IADsPrintJob_Impl::UntilTime(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3716,7 +3716,7 @@ impl IADsPrintJob_Vtbl { let this = (*this).get_impl(); match IADsPrintJob_Impl::Notify(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3732,7 +3732,7 @@ impl IADsPrintJob_Vtbl { let this = (*this).get_impl(); match IADsPrintJob_Impl::NotifyPath(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3789,7 +3789,7 @@ impl IADsPrintJobOperations_Vtbl { let this = (*this).get_impl(); match IADsPrintJobOperations_Impl::Status(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3800,7 +3800,7 @@ impl IADsPrintJobOperations_Vtbl { let this = (*this).get_impl(); match IADsPrintJobOperations_Impl::TimeElapsed(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3811,7 +3811,7 @@ impl IADsPrintJobOperations_Vtbl { let this = (*this).get_impl(); match IADsPrintJobOperations_Impl::PagesPrinted(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3822,7 +3822,7 @@ impl IADsPrintJobOperations_Vtbl { let this = (*this).get_impl(); match IADsPrintJobOperations_Impl::Position(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3897,7 +3897,7 @@ impl IADsPrintQueue_Vtbl { let this = (*this).get_impl(); match IADsPrintQueue_Impl::PrinterPath(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3913,7 +3913,7 @@ impl IADsPrintQueue_Vtbl { let this = (*this).get_impl(); match IADsPrintQueue_Impl::Model(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3929,7 +3929,7 @@ impl IADsPrintQueue_Vtbl { let this = (*this).get_impl(); match IADsPrintQueue_Impl::Datatype(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3945,7 +3945,7 @@ impl IADsPrintQueue_Vtbl { let this = (*this).get_impl(); match IADsPrintQueue_Impl::PrintProcessor(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3961,7 +3961,7 @@ impl IADsPrintQueue_Vtbl { let this = (*this).get_impl(); match IADsPrintQueue_Impl::Description(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3977,7 +3977,7 @@ impl IADsPrintQueue_Vtbl { let this = (*this).get_impl(); match IADsPrintQueue_Impl::Location(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3993,7 +3993,7 @@ impl IADsPrintQueue_Vtbl { let this = (*this).get_impl(); match IADsPrintQueue_Impl::StartTime(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4009,7 +4009,7 @@ impl IADsPrintQueue_Vtbl { let this = (*this).get_impl(); match IADsPrintQueue_Impl::UntilTime(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4025,7 +4025,7 @@ impl IADsPrintQueue_Vtbl { let this = (*this).get_impl(); match IADsPrintQueue_Impl::DefaultJobPriority(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4041,7 +4041,7 @@ impl IADsPrintQueue_Vtbl { let this = (*this).get_impl(); match IADsPrintQueue_Impl::Priority(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4057,7 +4057,7 @@ impl IADsPrintQueue_Vtbl { let this = (*this).get_impl(); match IADsPrintQueue_Impl::BannerPage(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4073,7 +4073,7 @@ impl IADsPrintQueue_Vtbl { let this = (*this).get_impl(); match IADsPrintQueue_Impl::PrintDevices(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4089,7 +4089,7 @@ impl IADsPrintQueue_Vtbl { let this = (*this).get_impl(); match IADsPrintQueue_Impl::NetAddresses(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4152,7 +4152,7 @@ impl IADsPrintQueueOperations_Vtbl { let this = (*this).get_impl(); match IADsPrintQueueOperations_Impl::Status(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4163,7 +4163,7 @@ impl IADsPrintQueueOperations_Vtbl { let this = (*this).get_impl(); match IADsPrintQueueOperations_Impl::PrintJobs(this) { Ok(ok__) => { - core::ptr::write(pobject, core::mem::transmute(ok__)); + pobject.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4221,7 +4221,7 @@ impl IADsProperty_Vtbl { let this = (*this).get_impl(); match IADsProperty_Impl::OID(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4237,7 +4237,7 @@ impl IADsProperty_Vtbl { let this = (*this).get_impl(); match IADsProperty_Impl::Syntax(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4253,7 +4253,7 @@ impl IADsProperty_Vtbl { let this = (*this).get_impl(); match IADsProperty_Impl::MaxRange(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4269,7 +4269,7 @@ impl IADsProperty_Vtbl { let this = (*this).get_impl(); match IADsProperty_Impl::MinRange(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4285,7 +4285,7 @@ impl IADsProperty_Vtbl { let this = (*this).get_impl(); match IADsProperty_Impl::MultiValued(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4301,7 +4301,7 @@ impl IADsProperty_Vtbl { let this = (*this).get_impl(); match IADsProperty_Impl::Qualifiers(this) { Ok(ok__) => { - core::ptr::write(ppqualifiers, core::mem::transmute(ok__)); + ppqualifiers.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4353,7 +4353,7 @@ impl IADsPropertyEntry_Vtbl { let this = (*this).get_impl(); match IADsPropertyEntry_Impl::Name(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4369,7 +4369,7 @@ impl IADsPropertyEntry_Vtbl { let this = (*this).get_impl(); match IADsPropertyEntry_Impl::ADsType(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4385,7 +4385,7 @@ impl IADsPropertyEntry_Vtbl { let this = (*this).get_impl(); match IADsPropertyEntry_Impl::ControlCode(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4401,7 +4401,7 @@ impl IADsPropertyEntry_Vtbl { let this = (*this).get_impl(); match IADsPropertyEntry_Impl::Values(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4451,7 +4451,7 @@ impl IADsPropertyList_Vtbl { let this = (*this).get_impl(); match IADsPropertyList_Impl::PropertyCount(this) { Ok(ok__) => { - core::ptr::write(plcount, core::mem::transmute(ok__)); + plcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4477,7 +4477,7 @@ impl IADsPropertyList_Vtbl { let this = (*this).get_impl(); match IADsPropertyList_Impl::Item(this, core::mem::transmute(&varindex)) { Ok(ok__) => { - core::ptr::write(pvariant, core::mem::transmute(ok__)); + pvariant.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4488,7 +4488,7 @@ impl IADsPropertyList_Vtbl { let this = (*this).get_impl(); match IADsPropertyList_Impl::GetPropertyItem(this, core::mem::transmute(&bstrname), core::mem::transmute_copy(&lnadstype)) { Ok(ok__) => { - core::ptr::write(pvariant, core::mem::transmute(ok__)); + pvariant.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4569,7 +4569,7 @@ impl IADsPropertyValue_Vtbl { let this = (*this).get_impl(); match IADsPropertyValue_Impl::ADsType(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4585,7 +4585,7 @@ impl IADsPropertyValue_Vtbl { let this = (*this).get_impl(); match IADsPropertyValue_Impl::DNString(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4601,7 +4601,7 @@ impl IADsPropertyValue_Vtbl { let this = (*this).get_impl(); match IADsPropertyValue_Impl::CaseExactString(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4617,7 +4617,7 @@ impl IADsPropertyValue_Vtbl { let this = (*this).get_impl(); match IADsPropertyValue_Impl::CaseIgnoreString(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4633,7 +4633,7 @@ impl IADsPropertyValue_Vtbl { let this = (*this).get_impl(); match IADsPropertyValue_Impl::PrintableString(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4649,7 +4649,7 @@ impl IADsPropertyValue_Vtbl { let this = (*this).get_impl(); match IADsPropertyValue_Impl::NumericString(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4665,7 +4665,7 @@ impl IADsPropertyValue_Vtbl { let this = (*this).get_impl(); match IADsPropertyValue_Impl::Boolean(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4681,7 +4681,7 @@ impl IADsPropertyValue_Vtbl { let this = (*this).get_impl(); match IADsPropertyValue_Impl::Integer(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4697,7 +4697,7 @@ impl IADsPropertyValue_Vtbl { let this = (*this).get_impl(); match IADsPropertyValue_Impl::OctetString(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4713,7 +4713,7 @@ impl IADsPropertyValue_Vtbl { let this = (*this).get_impl(); match IADsPropertyValue_Impl::SecurityDescriptor(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4729,7 +4729,7 @@ impl IADsPropertyValue_Vtbl { let this = (*this).get_impl(); match IADsPropertyValue_Impl::LargeInteger(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4745,7 +4745,7 @@ impl IADsPropertyValue_Vtbl { let this = (*this).get_impl(); match IADsPropertyValue_Impl::UTCTime(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4842,7 +4842,7 @@ impl IADsReplicaPointer_Vtbl { let this = (*this).get_impl(); match IADsReplicaPointer_Impl::ServerName(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4858,7 +4858,7 @@ impl IADsReplicaPointer_Vtbl { let this = (*this).get_impl(); match IADsReplicaPointer_Impl::ReplicaType(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4874,7 +4874,7 @@ impl IADsReplicaPointer_Vtbl { let this = (*this).get_impl(); match IADsReplicaPointer_Impl::ReplicaNumber(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4890,7 +4890,7 @@ impl IADsReplicaPointer_Vtbl { let this = (*this).get_impl(); match IADsReplicaPointer_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4906,7 +4906,7 @@ impl IADsReplicaPointer_Vtbl { let this = (*this).get_impl(); match IADsReplicaPointer_Impl::ReplicaAddressHints(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4952,7 +4952,7 @@ impl IADsResource_Vtbl { let this = (*this).get_impl(); match IADsResource_Impl::User(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4963,7 +4963,7 @@ impl IADsResource_Vtbl { let this = (*this).get_impl(); match IADsResource_Impl::UserPath(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4974,7 +4974,7 @@ impl IADsResource_Vtbl { let this = (*this).get_impl(); match IADsResource_Impl::Path(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4985,7 +4985,7 @@ impl IADsResource_Vtbl { let this = (*this).get_impl(); match IADsResource_Impl::LockCount(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5037,7 +5037,7 @@ impl IADsSecurityDescriptor_Vtbl { let this = (*this).get_impl(); match IADsSecurityDescriptor_Impl::Revision(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5053,7 +5053,7 @@ impl IADsSecurityDescriptor_Vtbl { let this = (*this).get_impl(); match IADsSecurityDescriptor_Impl::Control(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5069,7 +5069,7 @@ impl IADsSecurityDescriptor_Vtbl { let this = (*this).get_impl(); match IADsSecurityDescriptor_Impl::Owner(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5085,7 +5085,7 @@ impl IADsSecurityDescriptor_Vtbl { let this = (*this).get_impl(); match IADsSecurityDescriptor_Impl::OwnerDefaulted(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5101,7 +5101,7 @@ impl IADsSecurityDescriptor_Vtbl { let this = (*this).get_impl(); match IADsSecurityDescriptor_Impl::Group(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5117,7 +5117,7 @@ impl IADsSecurityDescriptor_Vtbl { let this = (*this).get_impl(); match IADsSecurityDescriptor_Impl::GroupDefaulted(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5133,7 +5133,7 @@ impl IADsSecurityDescriptor_Vtbl { let this = (*this).get_impl(); match IADsSecurityDescriptor_Impl::DiscretionaryAcl(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5149,7 +5149,7 @@ impl IADsSecurityDescriptor_Vtbl { let this = (*this).get_impl(); match IADsSecurityDescriptor_Impl::DaclDefaulted(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5165,7 +5165,7 @@ impl IADsSecurityDescriptor_Vtbl { let this = (*this).get_impl(); match IADsSecurityDescriptor_Impl::SystemAcl(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5181,7 +5181,7 @@ impl IADsSecurityDescriptor_Vtbl { let this = (*this).get_impl(); match IADsSecurityDescriptor_Impl::SaclDefaulted(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5197,7 +5197,7 @@ impl IADsSecurityDescriptor_Vtbl { let this = (*this).get_impl(); match IADsSecurityDescriptor_Impl::CopySecurityDescriptor(this) { Ok(ok__) => { - core::ptr::write(ppsecuritydescriptor, core::mem::transmute(ok__)); + ppsecuritydescriptor.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5250,7 +5250,7 @@ impl IADsSecurityUtility_Vtbl { let this = (*this).get_impl(); match IADsSecurityUtility_Impl::GetSecurityDescriptor(this, core::mem::transmute(&varpath), core::mem::transmute_copy(&lpathformat), core::mem::transmute_copy(&lformat)) { Ok(ok__) => { - core::ptr::write(pvariant, core::mem::transmute(ok__)); + pvariant.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5266,7 +5266,7 @@ impl IADsSecurityUtility_Vtbl { let this = (*this).get_impl(); match IADsSecurityUtility_Impl::ConvertSecurityDescriptor(this, core::mem::transmute(&varsd), core::mem::transmute_copy(&ldataformat), core::mem::transmute_copy(&loutformat)) { Ok(ok__) => { - core::ptr::write(presult, core::mem::transmute(ok__)); + presult.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5277,7 +5277,7 @@ impl IADsSecurityUtility_Vtbl { let this = (*this).get_impl(); match IADsSecurityUtility_Impl::SecurityMask(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5338,7 +5338,7 @@ impl IADsService_Vtbl { let this = (*this).get_impl(); match IADsService_Impl::HostComputer(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5354,7 +5354,7 @@ impl IADsService_Vtbl { let this = (*this).get_impl(); match IADsService_Impl::DisplayName(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5370,7 +5370,7 @@ impl IADsService_Vtbl { let this = (*this).get_impl(); match IADsService_Impl::Version(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5386,7 +5386,7 @@ impl IADsService_Vtbl { let this = (*this).get_impl(); match IADsService_Impl::ServiceType(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5402,7 +5402,7 @@ impl IADsService_Vtbl { let this = (*this).get_impl(); match IADsService_Impl::StartType(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5418,7 +5418,7 @@ impl IADsService_Vtbl { let this = (*this).get_impl(); match IADsService_Impl::Path(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5434,7 +5434,7 @@ impl IADsService_Vtbl { let this = (*this).get_impl(); match IADsService_Impl::StartupParameters(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5450,7 +5450,7 @@ impl IADsService_Vtbl { let this = (*this).get_impl(); match IADsService_Impl::ErrorControl(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5466,7 +5466,7 @@ impl IADsService_Vtbl { let this = (*this).get_impl(); match IADsService_Impl::LoadOrderGroup(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5482,7 +5482,7 @@ impl IADsService_Vtbl { let this = (*this).get_impl(); match IADsService_Impl::ServiceAccountName(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5498,7 +5498,7 @@ impl IADsService_Vtbl { let this = (*this).get_impl(); match IADsService_Impl::ServiceAccountPath(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5514,7 +5514,7 @@ impl IADsService_Vtbl { let this = (*this).get_impl(); match IADsService_Impl::Dependencies(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5576,7 +5576,7 @@ impl IADsServiceOperations_Vtbl { let this = (*this).get_impl(); match IADsServiceOperations_Impl::Status(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5640,7 +5640,7 @@ impl IADsSession_Vtbl { let this = (*this).get_impl(); match IADsSession_Impl::User(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5651,7 +5651,7 @@ impl IADsSession_Vtbl { let this = (*this).get_impl(); match IADsSession_Impl::UserPath(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5662,7 +5662,7 @@ impl IADsSession_Vtbl { let this = (*this).get_impl(); match IADsSession_Impl::Computer(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5673,7 +5673,7 @@ impl IADsSession_Vtbl { let this = (*this).get_impl(); match IADsSession_Impl::ComputerPath(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5684,7 +5684,7 @@ impl IADsSession_Vtbl { let this = (*this).get_impl(); match IADsSession_Impl::ConnectTime(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5695,7 +5695,7 @@ impl IADsSession_Vtbl { let this = (*this).get_impl(); match IADsSession_Impl::IdleTime(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5730,7 +5730,7 @@ impl IADsSyntax_Vtbl { let this = (*this).get_impl(); match IADsSyntax_Impl::OleAutoDataType(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5768,7 +5768,7 @@ impl IADsTimestamp_Vtbl { let this = (*this).get_impl(); match IADsTimestamp_Impl::WholeSeconds(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5784,7 +5784,7 @@ impl IADsTimestamp_Vtbl { let this = (*this).get_impl(); match IADsTimestamp_Impl::EventID(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5826,7 +5826,7 @@ impl IADsTypedName_Vtbl { let this = (*this).get_impl(); match IADsTypedName_Impl::ObjectName(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5842,7 +5842,7 @@ impl IADsTypedName_Vtbl { let this = (*this).get_impl(); match IADsTypedName_Impl::Level(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5858,7 +5858,7 @@ impl IADsTypedName_Vtbl { let this = (*this).get_impl(); match IADsTypedName_Impl::Interval(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5987,7 +5987,7 @@ impl IADsUser_Vtbl { let this = (*this).get_impl(); match IADsUser_Impl::BadLoginAddress(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5998,7 +5998,7 @@ impl IADsUser_Vtbl { let this = (*this).get_impl(); match IADsUser_Impl::BadLoginCount(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6009,7 +6009,7 @@ impl IADsUser_Vtbl { let this = (*this).get_impl(); match IADsUser_Impl::LastLogin(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6020,7 +6020,7 @@ impl IADsUser_Vtbl { let this = (*this).get_impl(); match IADsUser_Impl::LastLogoff(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6031,7 +6031,7 @@ impl IADsUser_Vtbl { let this = (*this).get_impl(); match IADsUser_Impl::LastFailedLogin(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6042,7 +6042,7 @@ impl IADsUser_Vtbl { let this = (*this).get_impl(); match IADsUser_Impl::PasswordLastChanged(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6053,7 +6053,7 @@ impl IADsUser_Vtbl { let this = (*this).get_impl(); match IADsUser_Impl::Description(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6069,7 +6069,7 @@ impl IADsUser_Vtbl { let this = (*this).get_impl(); match IADsUser_Impl::Division(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6085,7 +6085,7 @@ impl IADsUser_Vtbl { let this = (*this).get_impl(); match IADsUser_Impl::Department(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6101,7 +6101,7 @@ impl IADsUser_Vtbl { let this = (*this).get_impl(); match IADsUser_Impl::EmployeeID(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6117,7 +6117,7 @@ impl IADsUser_Vtbl { let this = (*this).get_impl(); match IADsUser_Impl::FullName(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6133,7 +6133,7 @@ impl IADsUser_Vtbl { let this = (*this).get_impl(); match IADsUser_Impl::FirstName(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6149,7 +6149,7 @@ impl IADsUser_Vtbl { let this = (*this).get_impl(); match IADsUser_Impl::LastName(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6165,7 +6165,7 @@ impl IADsUser_Vtbl { let this = (*this).get_impl(); match IADsUser_Impl::OtherName(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6181,7 +6181,7 @@ impl IADsUser_Vtbl { let this = (*this).get_impl(); match IADsUser_Impl::NamePrefix(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6197,7 +6197,7 @@ impl IADsUser_Vtbl { let this = (*this).get_impl(); match IADsUser_Impl::NameSuffix(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6213,7 +6213,7 @@ impl IADsUser_Vtbl { let this = (*this).get_impl(); match IADsUser_Impl::Title(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6229,7 +6229,7 @@ impl IADsUser_Vtbl { let this = (*this).get_impl(); match IADsUser_Impl::Manager(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6245,7 +6245,7 @@ impl IADsUser_Vtbl { let this = (*this).get_impl(); match IADsUser_Impl::TelephoneHome(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6261,7 +6261,7 @@ impl IADsUser_Vtbl { let this = (*this).get_impl(); match IADsUser_Impl::TelephoneMobile(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6277,7 +6277,7 @@ impl IADsUser_Vtbl { let this = (*this).get_impl(); match IADsUser_Impl::TelephoneNumber(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6293,7 +6293,7 @@ impl IADsUser_Vtbl { let this = (*this).get_impl(); match IADsUser_Impl::TelephonePager(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6309,7 +6309,7 @@ impl IADsUser_Vtbl { let this = (*this).get_impl(); match IADsUser_Impl::FaxNumber(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6325,7 +6325,7 @@ impl IADsUser_Vtbl { let this = (*this).get_impl(); match IADsUser_Impl::OfficeLocations(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6341,7 +6341,7 @@ impl IADsUser_Vtbl { let this = (*this).get_impl(); match IADsUser_Impl::PostalAddresses(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6357,7 +6357,7 @@ impl IADsUser_Vtbl { let this = (*this).get_impl(); match IADsUser_Impl::PostalCodes(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6373,7 +6373,7 @@ impl IADsUser_Vtbl { let this = (*this).get_impl(); match IADsUser_Impl::SeeAlso(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6389,7 +6389,7 @@ impl IADsUser_Vtbl { let this = (*this).get_impl(); match IADsUser_Impl::AccountDisabled(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6405,7 +6405,7 @@ impl IADsUser_Vtbl { let this = (*this).get_impl(); match IADsUser_Impl::AccountExpirationDate(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6421,7 +6421,7 @@ impl IADsUser_Vtbl { let this = (*this).get_impl(); match IADsUser_Impl::GraceLoginsAllowed(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6437,7 +6437,7 @@ impl IADsUser_Vtbl { let this = (*this).get_impl(); match IADsUser_Impl::GraceLoginsRemaining(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6453,7 +6453,7 @@ impl IADsUser_Vtbl { let this = (*this).get_impl(); match IADsUser_Impl::IsAccountLocked(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6469,7 +6469,7 @@ impl IADsUser_Vtbl { let this = (*this).get_impl(); match IADsUser_Impl::LoginHours(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6485,7 +6485,7 @@ impl IADsUser_Vtbl { let this = (*this).get_impl(); match IADsUser_Impl::LoginWorkstations(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6501,7 +6501,7 @@ impl IADsUser_Vtbl { let this = (*this).get_impl(); match IADsUser_Impl::MaxLogins(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6517,7 +6517,7 @@ impl IADsUser_Vtbl { let this = (*this).get_impl(); match IADsUser_Impl::MaxStorage(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6533,7 +6533,7 @@ impl IADsUser_Vtbl { let this = (*this).get_impl(); match IADsUser_Impl::PasswordExpirationDate(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6549,7 +6549,7 @@ impl IADsUser_Vtbl { let this = (*this).get_impl(); match IADsUser_Impl::PasswordMinimumLength(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6565,7 +6565,7 @@ impl IADsUser_Vtbl { let this = (*this).get_impl(); match IADsUser_Impl::PasswordRequired(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6581,7 +6581,7 @@ impl IADsUser_Vtbl { let this = (*this).get_impl(); match IADsUser_Impl::RequireUniquePassword(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6597,7 +6597,7 @@ impl IADsUser_Vtbl { let this = (*this).get_impl(); match IADsUser_Impl::EmailAddress(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6613,7 +6613,7 @@ impl IADsUser_Vtbl { let this = (*this).get_impl(); match IADsUser_Impl::HomeDirectory(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6629,7 +6629,7 @@ impl IADsUser_Vtbl { let this = (*this).get_impl(); match IADsUser_Impl::Languages(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6645,7 +6645,7 @@ impl IADsUser_Vtbl { let this = (*this).get_impl(); match IADsUser_Impl::Profile(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6661,7 +6661,7 @@ impl IADsUser_Vtbl { let this = (*this).get_impl(); match IADsUser_Impl::LoginScript(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6677,7 +6677,7 @@ impl IADsUser_Vtbl { let this = (*this).get_impl(); match IADsUser_Impl::Picture(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6693,7 +6693,7 @@ impl IADsUser_Vtbl { let this = (*this).get_impl(); match IADsUser_Impl::HomePage(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6709,7 +6709,7 @@ impl IADsUser_Vtbl { let this = (*this).get_impl(); match IADsUser_Impl::Groups(this) { Ok(ok__) => { - core::ptr::write(ppgroups, core::mem::transmute(ok__)); + ppgroups.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6841,7 +6841,7 @@ impl IADsWinNTSystemInfo_Vtbl { let this = (*this).get_impl(); match IADsWinNTSystemInfo_Impl::UserName(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6852,7 +6852,7 @@ impl IADsWinNTSystemInfo_Vtbl { let this = (*this).get_impl(); match IADsWinNTSystemInfo_Impl::ComputerName(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6863,7 +6863,7 @@ impl IADsWinNTSystemInfo_Vtbl { let this = (*this).get_impl(); match IADsWinNTSystemInfo_Impl::DomainName(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6874,7 +6874,7 @@ impl IADsWinNTSystemInfo_Vtbl { let this = (*this).get_impl(); match IADsWinNTSystemInfo_Impl::PDC(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6930,7 +6930,7 @@ impl IDirectoryObject_Vtbl { let this = (*this).get_impl(); match IDirectoryObject_Impl::GetObjectInformation(this) { Ok(ok__) => { - core::ptr::write(ppobjinfo, core::mem::transmute(ok__)); + ppobjinfo.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6946,7 +6946,7 @@ impl IDirectoryObject_Vtbl { let this = (*this).get_impl(); match IDirectoryObject_Impl::SetObjectAttributes(this, core::mem::transmute_copy(&pattributeentries), core::mem::transmute_copy(&dwnumattributes)) { Ok(ok__) => { - core::ptr::write(pdwnumattributesmodified, core::mem::transmute(ok__)); + pdwnumattributesmodified.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6957,7 +6957,7 @@ impl IDirectoryObject_Vtbl { let this = (*this).get_impl(); match IDirectoryObject_Impl::CreateDSObject(this, core::mem::transmute(&pszrdnname), core::mem::transmute_copy(&pattributeentries), core::mem::transmute_copy(&dwnumattributes)) { Ok(ok__) => { - core::ptr::write(ppobject, core::mem::transmute(ok__)); + ppobject.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7075,7 +7075,7 @@ impl IDirectorySearch_Vtbl { let this = (*this).get_impl(); match IDirectorySearch_Impl::ExecuteSearch(this, core::mem::transmute(&pszsearchfilter), core::mem::transmute_copy(&pattributenames), core::mem::transmute_copy(&dwnumberattributes)) { Ok(ok__) => { - core::ptr::write(phsearchresult, core::mem::transmute(ok__)); + phsearchresult.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7159,7 +7159,7 @@ impl IDsAdminCreateObj_Vtbl { let this = (*this).get_impl(); match IDsAdminCreateObj_Impl::CreateModal(this, core::mem::transmute_copy(&hwndparent)) { Ok(ok__) => { - core::ptr::write(ppadsobj, core::mem::transmute(ok__)); + ppadsobj.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7492,7 +7492,7 @@ impl IDsObjectPicker_Vtbl { let this = (*this).get_impl(); match IDsObjectPicker_Impl::InvokeDialog(this, core::mem::transmute_copy(&hwndparent)) { Ok(ok__) => { - core::ptr::write(ppdoselections, core::mem::transmute(ok__)); + ppdoselections.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7616,7 +7616,7 @@ impl IPrivateDispatch_Vtbl { let this = (*this).get_impl(); match IPrivateDispatch_Impl::ADSIGetTypeInfoCount(this) { Ok(ok__) => { - core::ptr::write(pctinfo, core::mem::transmute(ok__)); + pctinfo.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7627,7 +7627,7 @@ impl IPrivateDispatch_Vtbl { let this = (*this).get_impl(); match IPrivateDispatch_Impl::ADSIGetTypeInfo(this, core::mem::transmute_copy(&itinfo), core::mem::transmute_copy(&lcid)) { Ok(ok__) => { - core::ptr::write(pptinfo, core::mem::transmute(ok__)); + pptinfo.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7638,7 +7638,7 @@ impl IPrivateDispatch_Vtbl { let this = (*this).get_impl(); match IPrivateDispatch_Impl::ADSIGetIDsOfNames(this, core::mem::transmute_copy(&riid), core::mem::transmute_copy(&rgsznames), core::mem::transmute_copy(&cnames), core::mem::transmute_copy(&lcid)) { Ok(ok__) => { - core::ptr::write(rgdispid, core::mem::transmute(ok__)); + rgdispid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/Win32/Networking/BackgroundIntelligentTransferService/impl.rs b/crates/libs/windows/src/Windows/Win32/Networking/BackgroundIntelligentTransferService/impl.rs index c467a40c9e..95dc96b233 100644 --- a/crates/libs/windows/src/Windows/Win32/Networking/BackgroundIntelligentTransferService/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Networking/BackgroundIntelligentTransferService/impl.rs @@ -80,7 +80,7 @@ impl IBITSExtensionSetup_Vtbl { let this = (*this).get_impl(); match IBITSExtensionSetup_Impl::GetCleanupTaskName(this) { Ok(ok__) => { - core::ptr::write(ptaskname, core::mem::transmute(ok__)); + ptaskname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -91,7 +91,7 @@ impl IBITSExtensionSetup_Vtbl { let this = (*this).get_impl(); match IBITSExtensionSetup_Impl::GetCleanupTask(this, core::mem::transmute_copy(&riid)) { Ok(ok__) => { - core::ptr::write(ppunk, core::mem::transmute(ok__)); + ppunk.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -123,7 +123,7 @@ impl IBITSExtensionSetupFactory_Vtbl { let this = (*this).get_impl(); match IBITSExtensionSetupFactory_Impl::GetObject(this, core::mem::transmute(&path)) { Ok(ok__) => { - core::ptr::write(ppextensionsetup, core::mem::transmute(ok__)); + ppextensionsetup.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -257,7 +257,7 @@ impl IBackgroundCopyError_Vtbl { let this = (*this).get_impl(); match IBackgroundCopyError_Impl::GetFile(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -268,7 +268,7 @@ impl IBackgroundCopyError_Vtbl { let this = (*this).get_impl(); match IBackgroundCopyError_Impl::GetErrorDescription(this, core::mem::transmute_copy(&languageid)) { Ok(ok__) => { - core::ptr::write(perrordescription, core::mem::transmute(ok__)); + perrordescription.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -279,7 +279,7 @@ impl IBackgroundCopyError_Vtbl { let this = (*this).get_impl(); match IBackgroundCopyError_Impl::GetErrorContextDescription(this, core::mem::transmute_copy(&languageid)) { Ok(ok__) => { - core::ptr::write(pcontextdescription, core::mem::transmute(ok__)); + pcontextdescription.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -290,7 +290,7 @@ impl IBackgroundCopyError_Vtbl { let this = (*this).get_impl(); match IBackgroundCopyError_Impl::GetProtocol(this) { Ok(ok__) => { - core::ptr::write(pprotocol, core::mem::transmute(ok__)); + pprotocol.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -322,7 +322,7 @@ impl IBackgroundCopyFile_Vtbl { let this = (*this).get_impl(); match IBackgroundCopyFile_Impl::GetRemoteName(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -333,7 +333,7 @@ impl IBackgroundCopyFile_Vtbl { let this = (*this).get_impl(); match IBackgroundCopyFile_Impl::GetLocalName(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -396,7 +396,7 @@ impl IBackgroundCopyFile3_Vtbl { let this = (*this).get_impl(); match IBackgroundCopyFile3_Impl::GetTemporaryName(this) { Ok(ok__) => { - core::ptr::write(pfilename, core::mem::transmute(ok__)); + pfilename.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -412,7 +412,7 @@ impl IBackgroundCopyFile3_Vtbl { let this = (*this).get_impl(); match IBackgroundCopyFile3_Impl::GetValidationState(this) { Ok(ok__) => { - core::ptr::write(pstate, core::mem::transmute(ok__)); + pstate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -423,7 +423,7 @@ impl IBackgroundCopyFile3_Vtbl { let this = (*this).get_impl(); match IBackgroundCopyFile3_Impl::IsDownloadedFromPeer(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -475,7 +475,7 @@ impl IBackgroundCopyFile5_Vtbl { let this = (*this).get_impl(); match IBackgroundCopyFile5_Impl::GetProperty(this, core::mem::transmute_copy(&propertyid)) { Ok(ok__) => { - core::ptr::write(propertyvalue, core::mem::transmute(ok__)); + propertyvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -550,7 +550,7 @@ impl IBackgroundCopyGroup_Vtbl { let this = (*this).get_impl(); match IBackgroundCopyGroup_Impl::GetProp(this, core::mem::transmute_copy(&propid)) { Ok(ok__) => { - core::ptr::write(pvarval, core::mem::transmute(ok__)); + pvarval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -566,7 +566,7 @@ impl IBackgroundCopyGroup_Vtbl { let this = (*this).get_impl(); match IBackgroundCopyGroup_Impl::GetProgress(this, core::mem::transmute_copy(&dwflags)) { Ok(ok__) => { - core::ptr::write(pdwprogress, core::mem::transmute(ok__)); + pdwprogress.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -582,7 +582,7 @@ impl IBackgroundCopyGroup_Vtbl { let this = (*this).get_impl(); match IBackgroundCopyGroup_Impl::GetJob(this, core::mem::transmute(&jobid)) { Ok(ok__) => { - core::ptr::write(ppjob, core::mem::transmute(ok__)); + ppjob.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -608,7 +608,7 @@ impl IBackgroundCopyGroup_Vtbl { let this = (*this).get_impl(); match IBackgroundCopyGroup_Impl::Size(this) { Ok(ok__) => { - core::ptr::write(pdwsize, core::mem::transmute(ok__)); + pdwsize.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -619,7 +619,7 @@ impl IBackgroundCopyGroup_Vtbl { let this = (*this).get_impl(); match IBackgroundCopyGroup_Impl::GroupID(this) { Ok(ok__) => { - core::ptr::write(pguidgroupid, core::mem::transmute(ok__)); + pguidgroupid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -630,7 +630,7 @@ impl IBackgroundCopyGroup_Vtbl { let this = (*this).get_impl(); match IBackgroundCopyGroup_Impl::CreateJob(this, core::mem::transmute(&guidjobid)) { Ok(ok__) => { - core::ptr::write(ppjob, core::mem::transmute(ok__)); + ppjob.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -641,7 +641,7 @@ impl IBackgroundCopyGroup_Vtbl { let this = (*this).get_impl(); match IBackgroundCopyGroup_Impl::EnumJobs(this, core::mem::transmute_copy(&dwflags)) { Ok(ok__) => { - core::ptr::write(ppenumjobs, core::mem::transmute(ok__)); + ppenumjobs.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -657,7 +657,7 @@ impl IBackgroundCopyGroup_Vtbl { let this = (*this).get_impl(); match IBackgroundCopyGroup_Impl::QueryNewJobInterface(this, core::mem::transmute_copy(&iid)) { Ok(ok__) => { - core::ptr::write(punk, core::mem::transmute(ok__)); + punk.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -743,7 +743,7 @@ impl IBackgroundCopyJob_Vtbl { let this = (*this).get_impl(); match IBackgroundCopyJob_Impl::EnumFiles(this) { Ok(ok__) => { - core::ptr::write(penum, core::mem::transmute(ok__)); + penum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -774,7 +774,7 @@ impl IBackgroundCopyJob_Vtbl { let this = (*this).get_impl(); match IBackgroundCopyJob_Impl::GetId(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -785,7 +785,7 @@ impl IBackgroundCopyJob_Vtbl { let this = (*this).get_impl(); match IBackgroundCopyJob_Impl::GetType(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -806,7 +806,7 @@ impl IBackgroundCopyJob_Vtbl { let this = (*this).get_impl(); match IBackgroundCopyJob_Impl::GetState(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -817,7 +817,7 @@ impl IBackgroundCopyJob_Vtbl { let this = (*this).get_impl(); match IBackgroundCopyJob_Impl::GetError(this) { Ok(ok__) => { - core::ptr::write(pperror, core::mem::transmute(ok__)); + pperror.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -828,7 +828,7 @@ impl IBackgroundCopyJob_Vtbl { let this = (*this).get_impl(); match IBackgroundCopyJob_Impl::GetOwner(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -844,7 +844,7 @@ impl IBackgroundCopyJob_Vtbl { let this = (*this).get_impl(); match IBackgroundCopyJob_Impl::GetDisplayName(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -860,7 +860,7 @@ impl IBackgroundCopyJob_Vtbl { let this = (*this).get_impl(); match IBackgroundCopyJob_Impl::GetDescription(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -876,7 +876,7 @@ impl IBackgroundCopyJob_Vtbl { let this = (*this).get_impl(); match IBackgroundCopyJob_Impl::GetPriority(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -892,7 +892,7 @@ impl IBackgroundCopyJob_Vtbl { let this = (*this).get_impl(); match IBackgroundCopyJob_Impl::GetNotifyFlags(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -908,7 +908,7 @@ impl IBackgroundCopyJob_Vtbl { let this = (*this).get_impl(); match IBackgroundCopyJob_Impl::GetNotifyInterface(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -924,7 +924,7 @@ impl IBackgroundCopyJob_Vtbl { let this = (*this).get_impl(); match IBackgroundCopyJob_Impl::GetMinimumRetryDelay(this) { Ok(ok__) => { - core::ptr::write(seconds, core::mem::transmute(ok__)); + seconds.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -940,7 +940,7 @@ impl IBackgroundCopyJob_Vtbl { let this = (*this).get_impl(); match IBackgroundCopyJob_Impl::GetNoProgressTimeout(this) { Ok(ok__) => { - core::ptr::write(seconds, core::mem::transmute(ok__)); + seconds.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -951,7 +951,7 @@ impl IBackgroundCopyJob_Vtbl { let this = (*this).get_impl(); match IBackgroundCopyJob_Impl::GetErrorCount(this) { Ok(ok__) => { - core::ptr::write(errors, core::mem::transmute(ok__)); + errors.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1035,7 +1035,7 @@ impl IBackgroundCopyJob1_Vtbl { let this = (*this).get_impl(); match IBackgroundCopyJob1_Impl::GetProgress(this, core::mem::transmute_copy(&dwflags)) { Ok(ok__) => { - core::ptr::write(pdwprogress, core::mem::transmute(ok__)); + pdwprogress.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1056,7 +1056,7 @@ impl IBackgroundCopyJob1_Vtbl { let this = (*this).get_impl(); match IBackgroundCopyJob1_Impl::GetFile(this, core::mem::transmute_copy(&cfileindex)) { Ok(ok__) => { - core::ptr::write(pfileinfo, core::mem::transmute(ok__)); + pfileinfo.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1067,7 +1067,7 @@ impl IBackgroundCopyJob1_Vtbl { let this = (*this).get_impl(); match IBackgroundCopyJob1_Impl::GetFileCount(this) { Ok(ok__) => { - core::ptr::write(pdwfilecount, core::mem::transmute(ok__)); + pdwfilecount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1083,7 +1083,7 @@ impl IBackgroundCopyJob1_Vtbl { let this = (*this).get_impl(); match IBackgroundCopyJob1_Impl::JobID(this) { Ok(ok__) => { - core::ptr::write(pguidjobid, core::mem::transmute(ok__)); + pguidjobid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1148,7 +1148,7 @@ impl IBackgroundCopyJob2_Vtbl { let this = (*this).get_impl(); match IBackgroundCopyJob2_Impl::GetReplyFileName(this) { Ok(ok__) => { - core::ptr::write(preplyfilename, core::mem::transmute(ok__)); + preplyfilename.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1209,7 +1209,7 @@ impl IBackgroundCopyJob3_Vtbl { let this = (*this).get_impl(); match IBackgroundCopyJob3_Impl::GetFileACLFlags(this) { Ok(ok__) => { - core::ptr::write(flags, core::mem::transmute(ok__)); + flags.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1248,7 +1248,7 @@ impl IBackgroundCopyJob4_Vtbl { let this = (*this).get_impl(); match IBackgroundCopyJob4_Impl::GetPeerCachingFlags(this) { Ok(ok__) => { - core::ptr::write(pflags, core::mem::transmute(ok__)); + pflags.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1259,7 +1259,7 @@ impl IBackgroundCopyJob4_Vtbl { let this = (*this).get_impl(); match IBackgroundCopyJob4_Impl::GetOwnerIntegrityLevel(this) { Ok(ok__) => { - core::ptr::write(plevel, core::mem::transmute(ok__)); + plevel.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1270,7 +1270,7 @@ impl IBackgroundCopyJob4_Vtbl { let this = (*this).get_impl(); match IBackgroundCopyJob4_Impl::GetOwnerElevationState(this) { Ok(ok__) => { - core::ptr::write(pelevated, core::mem::transmute(ok__)); + pelevated.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1286,7 +1286,7 @@ impl IBackgroundCopyJob4_Vtbl { let this = (*this).get_impl(); match IBackgroundCopyJob4_Impl::GetMaximumDownloadTime(this) { Ok(ok__) => { - core::ptr::write(ptimeout, core::mem::transmute(ok__)); + ptimeout.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1323,7 +1323,7 @@ impl IBackgroundCopyJob5_Vtbl { let this = (*this).get_impl(); match IBackgroundCopyJob5_Impl::GetProperty(this, core::mem::transmute_copy(&propertyid)) { Ok(ok__) => { - core::ptr::write(propertyvalue, core::mem::transmute(ok__)); + propertyvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1382,7 +1382,7 @@ impl IBackgroundCopyJobHttpOptions_Vtbl { let this = (*this).get_impl(); match IBackgroundCopyJobHttpOptions_Impl::GetCustomHeaders(this) { Ok(ok__) => { - core::ptr::write(prequestheaders, core::mem::transmute(ok__)); + prequestheaders.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1398,7 +1398,7 @@ impl IBackgroundCopyJobHttpOptions_Vtbl { let this = (*this).get_impl(); match IBackgroundCopyJobHttpOptions_Impl::GetSecurityFlags(this) { Ok(ok__) => { - core::ptr::write(pflags, core::mem::transmute(ok__)); + pflags.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1437,7 +1437,7 @@ impl IBackgroundCopyJobHttpOptions2_Vtbl { let this = (*this).get_impl(); match IBackgroundCopyJobHttpOptions2_Impl::GetHttpMethod(this) { Ok(ok__) => { - core::ptr::write(method, core::mem::transmute(ok__)); + method.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1499,7 +1499,7 @@ impl IBackgroundCopyManager_Vtbl { let this = (*this).get_impl(); match IBackgroundCopyManager_Impl::GetJob(this, core::mem::transmute_copy(&jobid)) { Ok(ok__) => { - core::ptr::write(ppjob, core::mem::transmute(ok__)); + ppjob.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1510,7 +1510,7 @@ impl IBackgroundCopyManager_Vtbl { let this = (*this).get_impl(); match IBackgroundCopyManager_Impl::EnumJobs(this, core::mem::transmute_copy(&dwflags)) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1521,7 +1521,7 @@ impl IBackgroundCopyManager_Vtbl { let this = (*this).get_impl(); match IBackgroundCopyManager_Impl::GetErrorDescription(this, core::mem::transmute_copy(&hresult), core::mem::transmute_copy(&languageid)) { Ok(ok__) => { - core::ptr::write(perrordescription, core::mem::transmute(ok__)); + perrordescription.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1552,7 +1552,7 @@ impl IBackgroundCopyQMgr_Vtbl { let this = (*this).get_impl(); match IBackgroundCopyQMgr_Impl::CreateGroup(this, core::mem::transmute(&guidgroupid)) { Ok(ok__) => { - core::ptr::write(ppgroup, core::mem::transmute(ok__)); + ppgroup.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1563,7 +1563,7 @@ impl IBackgroundCopyQMgr_Vtbl { let this = (*this).get_impl(); match IBackgroundCopyQMgr_Impl::GetGroup(this, core::mem::transmute(&groupid)) { Ok(ok__) => { - core::ptr::write(ppgroup, core::mem::transmute(ok__)); + ppgroup.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1574,7 +1574,7 @@ impl IBackgroundCopyQMgr_Vtbl { let this = (*this).get_impl(); match IBackgroundCopyQMgr_Impl::EnumGroups(this, core::mem::transmute_copy(&dwflags)) { Ok(ok__) => { - core::ptr::write(ppenumgroups, core::mem::transmute(ok__)); + ppenumgroups.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1621,7 +1621,7 @@ impl IBitsPeer_Vtbl { let this = (*this).get_impl(); match IBitsPeer_Impl::GetPeerName(this) { Ok(ok__) => { - core::ptr::write(pname, core::mem::transmute(ok__)); + pname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1632,7 +1632,7 @@ impl IBitsPeer_Vtbl { let this = (*this).get_impl(); match IBitsPeer_Impl::IsAuthenticated(this) { Ok(ok__) => { - core::ptr::write(pauth, core::mem::transmute(ok__)); + pauth.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1643,7 +1643,7 @@ impl IBitsPeer_Vtbl { let this = (*this).get_impl(); match IBitsPeer_Impl::IsAvailable(this) { Ok(ok__) => { - core::ptr::write(ponline, core::mem::transmute(ok__)); + ponline.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1684,7 +1684,7 @@ impl IBitsPeerCacheAdministration_Vtbl { let this = (*this).get_impl(); match IBitsPeerCacheAdministration_Impl::GetMaximumCacheSize(this) { Ok(ok__) => { - core::ptr::write(pbytes, core::mem::transmute(ok__)); + pbytes.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1700,7 +1700,7 @@ impl IBitsPeerCacheAdministration_Vtbl { let this = (*this).get_impl(); match IBitsPeerCacheAdministration_Impl::GetMaximumContentAge(this) { Ok(ok__) => { - core::ptr::write(pseconds, core::mem::transmute(ok__)); + pseconds.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1716,7 +1716,7 @@ impl IBitsPeerCacheAdministration_Vtbl { let this = (*this).get_impl(); match IBitsPeerCacheAdministration_Impl::GetConfigurationFlags(this) { Ok(ok__) => { - core::ptr::write(pflags, core::mem::transmute(ok__)); + pflags.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1732,7 +1732,7 @@ impl IBitsPeerCacheAdministration_Vtbl { let this = (*this).get_impl(); match IBitsPeerCacheAdministration_Impl::EnumRecords(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1743,7 +1743,7 @@ impl IBitsPeerCacheAdministration_Vtbl { let this = (*this).get_impl(); match IBitsPeerCacheAdministration_Impl::GetRecord(this, core::mem::transmute_copy(&id)) { Ok(ok__) => { - core::ptr::write(pprecord, core::mem::transmute(ok__)); + pprecord.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1769,7 +1769,7 @@ impl IBitsPeerCacheAdministration_Vtbl { let this = (*this).get_impl(); match IBitsPeerCacheAdministration_Impl::EnumPeers(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1824,7 +1824,7 @@ impl IBitsPeerCacheRecord_Vtbl { let this = (*this).get_impl(); match IBitsPeerCacheRecord_Impl::GetId(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1835,7 +1835,7 @@ impl IBitsPeerCacheRecord_Vtbl { let this = (*this).get_impl(); match IBitsPeerCacheRecord_Impl::GetOriginUrl(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1846,7 +1846,7 @@ impl IBitsPeerCacheRecord_Vtbl { let this = (*this).get_impl(); match IBitsPeerCacheRecord_Impl::GetFileSize(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1857,7 +1857,7 @@ impl IBitsPeerCacheRecord_Vtbl { let this = (*this).get_impl(); match IBitsPeerCacheRecord_Impl::GetFileModificationTime(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1868,7 +1868,7 @@ impl IBitsPeerCacheRecord_Vtbl { let this = (*this).get_impl(); match IBitsPeerCacheRecord_Impl::GetLastAccessTime(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1919,7 +1919,7 @@ impl IBitsTokenOptions_Vtbl { let this = (*this).get_impl(); match IBitsTokenOptions_Impl::GetHelperTokenFlags(this) { Ok(ok__) => { - core::ptr::write(pflags, core::mem::transmute(ok__)); + pflags.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1940,7 +1940,7 @@ impl IBitsTokenOptions_Vtbl { let this = (*this).get_impl(); match IBitsTokenOptions_Impl::GetHelperTokenSid(this) { Ok(ok__) => { - core::ptr::write(psid, core::mem::transmute(ok__)); + psid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1989,7 +1989,7 @@ impl IEnumBackgroundCopyFiles_Vtbl { let this = (*this).get_impl(); match IEnumBackgroundCopyFiles_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2000,7 +2000,7 @@ impl IEnumBackgroundCopyFiles_Vtbl { let this = (*this).get_impl(); match IEnumBackgroundCopyFiles_Impl::GetCount(this) { Ok(ok__) => { - core::ptr::write(pucount, core::mem::transmute(ok__)); + pucount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2049,7 +2049,7 @@ impl IEnumBackgroundCopyGroups_Vtbl { let this = (*this).get_impl(); match IEnumBackgroundCopyGroups_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2060,7 +2060,7 @@ impl IEnumBackgroundCopyGroups_Vtbl { let this = (*this).get_impl(); match IEnumBackgroundCopyGroups_Impl::GetCount(this) { Ok(ok__) => { - core::ptr::write(pucount, core::mem::transmute(ok__)); + pucount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2109,7 +2109,7 @@ impl IEnumBackgroundCopyJobs_Vtbl { let this = (*this).get_impl(); match IEnumBackgroundCopyJobs_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2120,7 +2120,7 @@ impl IEnumBackgroundCopyJobs_Vtbl { let this = (*this).get_impl(); match IEnumBackgroundCopyJobs_Impl::GetCount(this) { Ok(ok__) => { - core::ptr::write(pucount, core::mem::transmute(ok__)); + pucount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2169,7 +2169,7 @@ impl IEnumBackgroundCopyJobs1_Vtbl { let this = (*this).get_impl(); match IEnumBackgroundCopyJobs1_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2180,7 +2180,7 @@ impl IEnumBackgroundCopyJobs1_Vtbl { let this = (*this).get_impl(); match IEnumBackgroundCopyJobs1_Impl::GetCount(this) { Ok(ok__) => { - core::ptr::write(pucount, core::mem::transmute(ok__)); + pucount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2229,7 +2229,7 @@ impl IEnumBitsPeerCacheRecords_Vtbl { let this = (*this).get_impl(); match IEnumBitsPeerCacheRecords_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2240,7 +2240,7 @@ impl IEnumBitsPeerCacheRecords_Vtbl { let this = (*this).get_impl(); match IEnumBitsPeerCacheRecords_Impl::GetCount(this) { Ok(ok__) => { - core::ptr::write(pucount, core::mem::transmute(ok__)); + pucount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2289,7 +2289,7 @@ impl IEnumBitsPeers_Vtbl { let this = (*this).get_impl(); match IEnumBitsPeers_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2300,7 +2300,7 @@ impl IEnumBitsPeers_Vtbl { let this = (*this).get_impl(); match IEnumBitsPeers_Impl::GetCount(this) { Ok(ok__) => { - core::ptr::write(pucount, core::mem::transmute(ok__)); + pucount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/Win32/Networking/Clustering/impl.rs b/crates/libs/windows/src/Windows/Win32/Networking/Clustering/impl.rs index 620b6bead3..3946d53767 100644 --- a/crates/libs/windows/src/Windows/Win32/Networking/Clustering/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Networking/Clustering/impl.rs @@ -221,7 +221,7 @@ impl ISClusApplication_Vtbl { let this = (*this).get_impl(); match ISClusApplication_Impl::DomainNames(this) { Ok(ok__) => { - core::ptr::write(ppdomains, core::mem::transmute(ok__)); + ppdomains.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -232,7 +232,7 @@ impl ISClusApplication_Vtbl { let this = (*this).get_impl(); match ISClusApplication_Impl::get_ClusterNames(this, core::mem::transmute(&bstrdomainname)) { Ok(ok__) => { - core::ptr::write(ppclusters, core::mem::transmute(ok__)); + ppclusters.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -243,7 +243,7 @@ impl ISClusApplication_Vtbl { let this = (*this).get_impl(); match ISClusApplication_Impl::OpenCluster(this, core::mem::transmute(&bstrclustername)) { Ok(ok__) => { - core::ptr::write(pcluster, core::mem::transmute(ok__)); + pcluster.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -279,7 +279,7 @@ impl ISClusCryptoKeys_Vtbl { let this = (*this).get_impl(); match ISClusCryptoKeys_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(plcount, core::mem::transmute(ok__)); + plcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -290,7 +290,7 @@ impl ISClusCryptoKeys_Vtbl { let this = (*this).get_impl(); match ISClusCryptoKeys_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -306,7 +306,7 @@ impl ISClusCryptoKeys_Vtbl { let this = (*this).get_impl(); match ISClusCryptoKeys_Impl::get_Item(this, core::mem::transmute(&varindex)) { Ok(ok__) => { - core::ptr::write(pbstrcyrptokey, core::mem::transmute(ok__)); + pbstrcyrptokey.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -353,7 +353,7 @@ impl ISClusDisk_Vtbl { let this = (*this).get_impl(); match ISClusDisk_Impl::Signature(this) { Ok(ok__) => { - core::ptr::write(plsignature, core::mem::transmute(ok__)); + plsignature.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -364,7 +364,7 @@ impl ISClusDisk_Vtbl { let this = (*this).get_impl(); match ISClusDisk_Impl::ScsiAddress(this) { Ok(ok__) => { - core::ptr::write(ppscsiaddress, core::mem::transmute(ok__)); + ppscsiaddress.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -375,7 +375,7 @@ impl ISClusDisk_Vtbl { let this = (*this).get_impl(); match ISClusDisk_Impl::DiskNumber(this) { Ok(ok__) => { - core::ptr::write(pldisknumber, core::mem::transmute(ok__)); + pldisknumber.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -386,7 +386,7 @@ impl ISClusDisk_Vtbl { let this = (*this).get_impl(); match ISClusDisk_Impl::Partitions(this) { Ok(ok__) => { - core::ptr::write(pppartitions, core::mem::transmute(ok__)); + pppartitions.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -420,7 +420,7 @@ impl ISClusDisks_Vtbl { let this = (*this).get_impl(); match ISClusDisks_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(plcount, core::mem::transmute(ok__)); + plcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -431,7 +431,7 @@ impl ISClusDisks_Vtbl { let this = (*this).get_impl(); match ISClusDisks_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -442,7 +442,7 @@ impl ISClusDisks_Vtbl { let this = (*this).get_impl(); match ISClusDisks_Impl::get_Item(this, core::mem::transmute(&varindex)) { Ok(ok__) => { - core::ptr::write(ppdisk, core::mem::transmute(ok__)); + ppdisk.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -480,7 +480,7 @@ impl ISClusNetInterface_Vtbl { let this = (*this).get_impl(); match ISClusNetInterface_Impl::CommonProperties(this) { Ok(ok__) => { - core::ptr::write(ppproperties, core::mem::transmute(ok__)); + ppproperties.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -491,7 +491,7 @@ impl ISClusNetInterface_Vtbl { let this = (*this).get_impl(); match ISClusNetInterface_Impl::PrivateProperties(this) { Ok(ok__) => { - core::ptr::write(ppproperties, core::mem::transmute(ok__)); + ppproperties.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -502,7 +502,7 @@ impl ISClusNetInterface_Vtbl { let this = (*this).get_impl(); match ISClusNetInterface_Impl::CommonROProperties(this) { Ok(ok__) => { - core::ptr::write(ppproperties, core::mem::transmute(ok__)); + ppproperties.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -513,7 +513,7 @@ impl ISClusNetInterface_Vtbl { let this = (*this).get_impl(); match ISClusNetInterface_Impl::PrivateROProperties(this) { Ok(ok__) => { - core::ptr::write(ppproperties, core::mem::transmute(ok__)); + ppproperties.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -524,7 +524,7 @@ impl ISClusNetInterface_Vtbl { let this = (*this).get_impl(); match ISClusNetInterface_Impl::Name(this) { Ok(ok__) => { - core::ptr::write(pbstrname, core::mem::transmute(ok__)); + pbstrname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -535,7 +535,7 @@ impl ISClusNetInterface_Vtbl { let this = (*this).get_impl(); match ISClusNetInterface_Impl::Handle(this) { Ok(ok__) => { - core::ptr::write(phandle, core::mem::transmute(ok__)); + phandle.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -546,7 +546,7 @@ impl ISClusNetInterface_Vtbl { let this = (*this).get_impl(); match ISClusNetInterface_Impl::State(this) { Ok(ok__) => { - core::ptr::write(dwstate, core::mem::transmute(ok__)); + dwstate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -557,7 +557,7 @@ impl ISClusNetInterface_Vtbl { let this = (*this).get_impl(); match ISClusNetInterface_Impl::Cluster(this) { Ok(ok__) => { - core::ptr::write(ppcluster, core::mem::transmute(ok__)); + ppcluster.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -596,7 +596,7 @@ impl ISClusNetInterfaces_Vtbl { let this = (*this).get_impl(); match ISClusNetInterfaces_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(plcount, core::mem::transmute(ok__)); + plcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -607,7 +607,7 @@ impl ISClusNetInterfaces_Vtbl { let this = (*this).get_impl(); match ISClusNetInterfaces_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -623,7 +623,7 @@ impl ISClusNetInterfaces_Vtbl { let this = (*this).get_impl(); match ISClusNetInterfaces_Impl::get_Item(this, core::mem::transmute(&varindex)) { Ok(ok__) => { - core::ptr::write(ppclusnetinterface, core::mem::transmute(ok__)); + ppclusnetinterface.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -665,7 +665,7 @@ impl ISClusNetwork_Vtbl { let this = (*this).get_impl(); match ISClusNetwork_Impl::CommonProperties(this) { Ok(ok__) => { - core::ptr::write(ppproperties, core::mem::transmute(ok__)); + ppproperties.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -676,7 +676,7 @@ impl ISClusNetwork_Vtbl { let this = (*this).get_impl(); match ISClusNetwork_Impl::PrivateProperties(this) { Ok(ok__) => { - core::ptr::write(ppproperties, core::mem::transmute(ok__)); + ppproperties.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -687,7 +687,7 @@ impl ISClusNetwork_Vtbl { let this = (*this).get_impl(); match ISClusNetwork_Impl::CommonROProperties(this) { Ok(ok__) => { - core::ptr::write(ppproperties, core::mem::transmute(ok__)); + ppproperties.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -698,7 +698,7 @@ impl ISClusNetwork_Vtbl { let this = (*this).get_impl(); match ISClusNetwork_Impl::PrivateROProperties(this) { Ok(ok__) => { - core::ptr::write(ppproperties, core::mem::transmute(ok__)); + ppproperties.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -709,7 +709,7 @@ impl ISClusNetwork_Vtbl { let this = (*this).get_impl(); match ISClusNetwork_Impl::Handle(this) { Ok(ok__) => { - core::ptr::write(phandle, core::mem::transmute(ok__)); + phandle.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -720,7 +720,7 @@ impl ISClusNetwork_Vtbl { let this = (*this).get_impl(); match ISClusNetwork_Impl::Name(this) { Ok(ok__) => { - core::ptr::write(pbstrname, core::mem::transmute(ok__)); + pbstrname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -736,7 +736,7 @@ impl ISClusNetwork_Vtbl { let this = (*this).get_impl(); match ISClusNetwork_Impl::NetworkID(this) { Ok(ok__) => { - core::ptr::write(pbstrnetworkid, core::mem::transmute(ok__)); + pbstrnetworkid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -747,7 +747,7 @@ impl ISClusNetwork_Vtbl { let this = (*this).get_impl(); match ISClusNetwork_Impl::State(this) { Ok(ok__) => { - core::ptr::write(dwstate, core::mem::transmute(ok__)); + dwstate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -758,7 +758,7 @@ impl ISClusNetwork_Vtbl { let this = (*this).get_impl(); match ISClusNetwork_Impl::NetInterfaces(this) { Ok(ok__) => { - core::ptr::write(ppclusnetinterfaces, core::mem::transmute(ok__)); + ppclusnetinterfaces.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -769,7 +769,7 @@ impl ISClusNetwork_Vtbl { let this = (*this).get_impl(); match ISClusNetwork_Impl::Cluster(this) { Ok(ok__) => { - core::ptr::write(ppcluster, core::mem::transmute(ok__)); + ppcluster.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -811,7 +811,7 @@ impl ISClusNetworkNetInterfaces_Vtbl { let this = (*this).get_impl(); match ISClusNetworkNetInterfaces_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(plcount, core::mem::transmute(ok__)); + plcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -822,7 +822,7 @@ impl ISClusNetworkNetInterfaces_Vtbl { let this = (*this).get_impl(); match ISClusNetworkNetInterfaces_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -838,7 +838,7 @@ impl ISClusNetworkNetInterfaces_Vtbl { let this = (*this).get_impl(); match ISClusNetworkNetInterfaces_Impl::get_Item(this, core::mem::transmute(&varindex)) { Ok(ok__) => { - core::ptr::write(ppclusnetinterface, core::mem::transmute(ok__)); + ppclusnetinterface.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -873,7 +873,7 @@ impl ISClusNetworks_Vtbl { let this = (*this).get_impl(); match ISClusNetworks_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(plcount, core::mem::transmute(ok__)); + plcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -884,7 +884,7 @@ impl ISClusNetworks_Vtbl { let this = (*this).get_impl(); match ISClusNetworks_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -900,7 +900,7 @@ impl ISClusNetworks_Vtbl { let this = (*this).get_impl(); match ISClusNetworks_Impl::get_Item(this, core::mem::transmute(&varindex)) { Ok(ok__) => { - core::ptr::write(ppclusnetwork, core::mem::transmute(ok__)); + ppclusnetwork.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -945,7 +945,7 @@ impl ISClusNode_Vtbl { let this = (*this).get_impl(); match ISClusNode_Impl::CommonProperties(this) { Ok(ok__) => { - core::ptr::write(ppproperties, core::mem::transmute(ok__)); + ppproperties.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -956,7 +956,7 @@ impl ISClusNode_Vtbl { let this = (*this).get_impl(); match ISClusNode_Impl::PrivateProperties(this) { Ok(ok__) => { - core::ptr::write(ppproperties, core::mem::transmute(ok__)); + ppproperties.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -967,7 +967,7 @@ impl ISClusNode_Vtbl { let this = (*this).get_impl(); match ISClusNode_Impl::CommonROProperties(this) { Ok(ok__) => { - core::ptr::write(ppproperties, core::mem::transmute(ok__)); + ppproperties.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -978,7 +978,7 @@ impl ISClusNode_Vtbl { let this = (*this).get_impl(); match ISClusNode_Impl::PrivateROProperties(this) { Ok(ok__) => { - core::ptr::write(ppproperties, core::mem::transmute(ok__)); + ppproperties.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -989,7 +989,7 @@ impl ISClusNode_Vtbl { let this = (*this).get_impl(); match ISClusNode_Impl::Name(this) { Ok(ok__) => { - core::ptr::write(pbstrname, core::mem::transmute(ok__)); + pbstrname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1000,7 +1000,7 @@ impl ISClusNode_Vtbl { let this = (*this).get_impl(); match ISClusNode_Impl::Handle(this) { Ok(ok__) => { - core::ptr::write(phandle, core::mem::transmute(ok__)); + phandle.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1011,7 +1011,7 @@ impl ISClusNode_Vtbl { let this = (*this).get_impl(); match ISClusNode_Impl::NodeID(this) { Ok(ok__) => { - core::ptr::write(pbstrnodeid, core::mem::transmute(ok__)); + pbstrnodeid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1022,7 +1022,7 @@ impl ISClusNode_Vtbl { let this = (*this).get_impl(); match ISClusNode_Impl::State(this) { Ok(ok__) => { - core::ptr::write(dwstate, core::mem::transmute(ok__)); + dwstate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1048,7 +1048,7 @@ impl ISClusNode_Vtbl { let this = (*this).get_impl(); match ISClusNode_Impl::ResourceGroups(this) { Ok(ok__) => { - core::ptr::write(ppresourcegroups, core::mem::transmute(ok__)); + ppresourcegroups.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1059,7 +1059,7 @@ impl ISClusNode_Vtbl { let this = (*this).get_impl(); match ISClusNode_Impl::Cluster(this) { Ok(ok__) => { - core::ptr::write(ppcluster, core::mem::transmute(ok__)); + ppcluster.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1070,7 +1070,7 @@ impl ISClusNode_Vtbl { let this = (*this).get_impl(); match ISClusNode_Impl::NetInterfaces(this) { Ok(ok__) => { - core::ptr::write(ppclusnetinterfaces, core::mem::transmute(ok__)); + ppclusnetinterfaces.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1115,7 +1115,7 @@ impl ISClusNodeNetInterfaces_Vtbl { let this = (*this).get_impl(); match ISClusNodeNetInterfaces_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(plcount, core::mem::transmute(ok__)); + plcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1126,7 +1126,7 @@ impl ISClusNodeNetInterfaces_Vtbl { let this = (*this).get_impl(); match ISClusNodeNetInterfaces_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1142,7 +1142,7 @@ impl ISClusNodeNetInterfaces_Vtbl { let this = (*this).get_impl(); match ISClusNodeNetInterfaces_Impl::get_Item(this, core::mem::transmute(&varindex)) { Ok(ok__) => { - core::ptr::write(ppclusnetinterface, core::mem::transmute(ok__)); + ppclusnetinterface.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1177,7 +1177,7 @@ impl ISClusNodes_Vtbl { let this = (*this).get_impl(); match ISClusNodes_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(plcount, core::mem::transmute(ok__)); + plcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1188,7 +1188,7 @@ impl ISClusNodes_Vtbl { let this = (*this).get_impl(); match ISClusNodes_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1204,7 +1204,7 @@ impl ISClusNodes_Vtbl { let this = (*this).get_impl(); match ISClusNodes_Impl::get_Item(this, core::mem::transmute(&varindex)) { Ok(ok__) => { - core::ptr::write(ppnode, core::mem::transmute(ok__)); + ppnode.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1242,7 +1242,7 @@ impl ISClusPartition_Vtbl { let this = (*this).get_impl(); match ISClusPartition_Impl::Flags(this) { Ok(ok__) => { - core::ptr::write(plflags, core::mem::transmute(ok__)); + plflags.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1253,7 +1253,7 @@ impl ISClusPartition_Vtbl { let this = (*this).get_impl(); match ISClusPartition_Impl::DeviceName(this) { Ok(ok__) => { - core::ptr::write(pbstrdevicename, core::mem::transmute(ok__)); + pbstrdevicename.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1264,7 +1264,7 @@ impl ISClusPartition_Vtbl { let this = (*this).get_impl(); match ISClusPartition_Impl::VolumeLabel(this) { Ok(ok__) => { - core::ptr::write(pbstrvolumelabel, core::mem::transmute(ok__)); + pbstrvolumelabel.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1275,7 +1275,7 @@ impl ISClusPartition_Vtbl { let this = (*this).get_impl(); match ISClusPartition_Impl::SerialNumber(this) { Ok(ok__) => { - core::ptr::write(plserialnumber, core::mem::transmute(ok__)); + plserialnumber.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1286,7 +1286,7 @@ impl ISClusPartition_Vtbl { let this = (*this).get_impl(); match ISClusPartition_Impl::MaximumComponentLength(this) { Ok(ok__) => { - core::ptr::write(plmaximumcomponentlength, core::mem::transmute(ok__)); + plmaximumcomponentlength.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1297,7 +1297,7 @@ impl ISClusPartition_Vtbl { let this = (*this).get_impl(); match ISClusPartition_Impl::FileSystemFlags(this) { Ok(ok__) => { - core::ptr::write(plfilesystemflags, core::mem::transmute(ok__)); + plfilesystemflags.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1308,7 +1308,7 @@ impl ISClusPartition_Vtbl { let this = (*this).get_impl(); match ISClusPartition_Impl::FileSystem(this) { Ok(ok__) => { - core::ptr::write(pbstrfilesystem, core::mem::transmute(ok__)); + pbstrfilesystem.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1347,7 +1347,7 @@ impl ISClusPartitionEx_Vtbl { let this = (*this).get_impl(); match ISClusPartitionEx_Impl::TotalSize(this) { Ok(ok__) => { - core::ptr::write(pltotalsize, core::mem::transmute(ok__)); + pltotalsize.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1358,7 +1358,7 @@ impl ISClusPartitionEx_Vtbl { let this = (*this).get_impl(); match ISClusPartitionEx_Impl::FreeSpace(this) { Ok(ok__) => { - core::ptr::write(plfreespace, core::mem::transmute(ok__)); + plfreespace.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1369,7 +1369,7 @@ impl ISClusPartitionEx_Vtbl { let this = (*this).get_impl(); match ISClusPartitionEx_Impl::DeviceNumber(this) { Ok(ok__) => { - core::ptr::write(pldevicenumber, core::mem::transmute(ok__)); + pldevicenumber.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1380,7 +1380,7 @@ impl ISClusPartitionEx_Vtbl { let this = (*this).get_impl(); match ISClusPartitionEx_Impl::PartitionNumber(this) { Ok(ok__) => { - core::ptr::write(plpartitionnumber, core::mem::transmute(ok__)); + plpartitionnumber.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1391,7 +1391,7 @@ impl ISClusPartitionEx_Vtbl { let this = (*this).get_impl(); match ISClusPartitionEx_Impl::VolumeGuid(this) { Ok(ok__) => { - core::ptr::write(pbstrvolumeguid, core::mem::transmute(ok__)); + pbstrvolumeguid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1426,7 +1426,7 @@ impl ISClusPartitions_Vtbl { let this = (*this).get_impl(); match ISClusPartitions_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(plcount, core::mem::transmute(ok__)); + plcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1437,7 +1437,7 @@ impl ISClusPartitions_Vtbl { let this = (*this).get_impl(); match ISClusPartitions_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1448,7 +1448,7 @@ impl ISClusPartitions_Vtbl { let this = (*this).get_impl(); match ISClusPartitions_Impl::get_Item(this, core::mem::transmute(&varindex)) { Ok(ok__) => { - core::ptr::write(pppartition, core::mem::transmute(ok__)); + pppartition.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1489,7 +1489,7 @@ impl ISClusProperties_Vtbl { let this = (*this).get_impl(); match ISClusProperties_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(plcount, core::mem::transmute(ok__)); + plcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1500,7 +1500,7 @@ impl ISClusProperties_Vtbl { let this = (*this).get_impl(); match ISClusProperties_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1516,7 +1516,7 @@ impl ISClusProperties_Vtbl { let this = (*this).get_impl(); match ISClusProperties_Impl::get_Item(this, core::mem::transmute(&varindex)) { Ok(ok__) => { - core::ptr::write(ppclusproperty, core::mem::transmute(ok__)); + ppclusproperty.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1527,7 +1527,7 @@ impl ISClusProperties_Vtbl { let this = (*this).get_impl(); match ISClusProperties_Impl::CreateItem(this, core::mem::transmute(&bstrname), core::mem::transmute(&varvalue)) { Ok(ok__) => { - core::ptr::write(pproperty, core::mem::transmute(ok__)); + pproperty.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1543,7 +1543,7 @@ impl ISClusProperties_Vtbl { let this = (*this).get_impl(); match ISClusProperties_Impl::SaveChanges(this) { Ok(ok__) => { - core::ptr::write(pvarstatuscode, core::mem::transmute(ok__)); + pvarstatuscode.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1554,7 +1554,7 @@ impl ISClusProperties_Vtbl { let this = (*this).get_impl(); match ISClusProperties_Impl::ReadOnly(this) { Ok(ok__) => { - core::ptr::write(pvarreadonly, core::mem::transmute(ok__)); + pvarreadonly.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1565,7 +1565,7 @@ impl ISClusProperties_Vtbl { let this = (*this).get_impl(); match ISClusProperties_Impl::Private(this) { Ok(ok__) => { - core::ptr::write(pvarprivate, core::mem::transmute(ok__)); + pvarprivate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1576,7 +1576,7 @@ impl ISClusProperties_Vtbl { let this = (*this).get_impl(); match ISClusProperties_Impl::Common(this) { Ok(ok__) => { - core::ptr::write(pvarcommon, core::mem::transmute(ok__)); + pvarcommon.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1587,7 +1587,7 @@ impl ISClusProperties_Vtbl { let this = (*this).get_impl(); match ISClusProperties_Impl::Modified(this) { Ok(ok__) => { - core::ptr::write(pvarmodified, core::mem::transmute(ok__)); + pvarmodified.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1640,7 +1640,7 @@ impl ISClusProperty_Vtbl { let this = (*this).get_impl(); match ISClusProperty_Impl::Name(this) { Ok(ok__) => { - core::ptr::write(pbstrname, core::mem::transmute(ok__)); + pbstrname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1651,7 +1651,7 @@ impl ISClusProperty_Vtbl { let this = (*this).get_impl(); match ISClusProperty_Impl::Length(this) { Ok(ok__) => { - core::ptr::write(plength, core::mem::transmute(ok__)); + plength.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1662,7 +1662,7 @@ impl ISClusProperty_Vtbl { let this = (*this).get_impl(); match ISClusProperty_Impl::ValueCount(this) { Ok(ok__) => { - core::ptr::write(pcount, core::mem::transmute(ok__)); + pcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1673,7 +1673,7 @@ impl ISClusProperty_Vtbl { let this = (*this).get_impl(); match ISClusProperty_Impl::Values(this) { Ok(ok__) => { - core::ptr::write(ppclusterpropertyvalues, core::mem::transmute(ok__)); + ppclusterpropertyvalues.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1684,7 +1684,7 @@ impl ISClusProperty_Vtbl { let this = (*this).get_impl(); match ISClusProperty_Impl::Value(this) { Ok(ok__) => { - core::ptr::write(pvarvalue, core::mem::transmute(ok__)); + pvarvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1700,7 +1700,7 @@ impl ISClusProperty_Vtbl { let this = (*this).get_impl(); match ISClusProperty_Impl::Type(this) { Ok(ok__) => { - core::ptr::write(ptype, core::mem::transmute(ok__)); + ptype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1716,7 +1716,7 @@ impl ISClusProperty_Vtbl { let this = (*this).get_impl(); match ISClusProperty_Impl::Format(this) { Ok(ok__) => { - core::ptr::write(pformat, core::mem::transmute(ok__)); + pformat.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1732,7 +1732,7 @@ impl ISClusProperty_Vtbl { let this = (*this).get_impl(); match ISClusProperty_Impl::ReadOnly(this) { Ok(ok__) => { - core::ptr::write(pvarreadonly, core::mem::transmute(ok__)); + pvarreadonly.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1743,7 +1743,7 @@ impl ISClusProperty_Vtbl { let this = (*this).get_impl(); match ISClusProperty_Impl::Private(this) { Ok(ok__) => { - core::ptr::write(pvarprivate, core::mem::transmute(ok__)); + pvarprivate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1754,7 +1754,7 @@ impl ISClusProperty_Vtbl { let this = (*this).get_impl(); match ISClusProperty_Impl::Common(this) { Ok(ok__) => { - core::ptr::write(pvarcommon, core::mem::transmute(ok__)); + pvarcommon.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1765,7 +1765,7 @@ impl ISClusProperty_Vtbl { let this = (*this).get_impl(); match ISClusProperty_Impl::Modified(this) { Ok(ok__) => { - core::ptr::write(pvarmodified, core::mem::transmute(ok__)); + pvarmodified.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1821,7 +1821,7 @@ impl ISClusPropertyValue_Vtbl { let this = (*this).get_impl(); match ISClusPropertyValue_Impl::Value(this) { Ok(ok__) => { - core::ptr::write(pvarvalue, core::mem::transmute(ok__)); + pvarvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1837,7 +1837,7 @@ impl ISClusPropertyValue_Vtbl { let this = (*this).get_impl(); match ISClusPropertyValue_Impl::Type(this) { Ok(ok__) => { - core::ptr::write(ptype, core::mem::transmute(ok__)); + ptype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1853,7 +1853,7 @@ impl ISClusPropertyValue_Vtbl { let this = (*this).get_impl(); match ISClusPropertyValue_Impl::Format(this) { Ok(ok__) => { - core::ptr::write(pformat, core::mem::transmute(ok__)); + pformat.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1869,7 +1869,7 @@ impl ISClusPropertyValue_Vtbl { let this = (*this).get_impl(); match ISClusPropertyValue_Impl::Length(this) { Ok(ok__) => { - core::ptr::write(plength, core::mem::transmute(ok__)); + plength.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1880,7 +1880,7 @@ impl ISClusPropertyValue_Vtbl { let this = (*this).get_impl(); match ISClusPropertyValue_Impl::DataCount(this) { Ok(ok__) => { - core::ptr::write(pcount, core::mem::transmute(ok__)); + pcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1891,7 +1891,7 @@ impl ISClusPropertyValue_Vtbl { let this = (*this).get_impl(); match ISClusPropertyValue_Impl::Data(this) { Ok(ok__) => { - core::ptr::write(ppclusterpropertyvaluedata, core::mem::transmute(ok__)); + ppclusterpropertyvaluedata.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1932,7 +1932,7 @@ impl ISClusPropertyValueData_Vtbl { let this = (*this).get_impl(); match ISClusPropertyValueData_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(plcount, core::mem::transmute(ok__)); + plcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1943,7 +1943,7 @@ impl ISClusPropertyValueData_Vtbl { let this = (*this).get_impl(); match ISClusPropertyValueData_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1954,7 +1954,7 @@ impl ISClusPropertyValueData_Vtbl { let this = (*this).get_impl(); match ISClusPropertyValueData_Impl::get_Item(this, core::mem::transmute(&varindex)) { Ok(ok__) => { - core::ptr::write(pvarvalue, core::mem::transmute(ok__)); + pvarvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1965,7 +1965,7 @@ impl ISClusPropertyValueData_Vtbl { let this = (*this).get_impl(); match ISClusPropertyValueData_Impl::CreateItem(this, core::mem::transmute(&varvalue)) { Ok(ok__) => { - core::ptr::write(pvardata, core::mem::transmute(ok__)); + pvardata.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2007,7 +2007,7 @@ impl ISClusPropertyValues_Vtbl { let this = (*this).get_impl(); match ISClusPropertyValues_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(plcount, core::mem::transmute(ok__)); + plcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2018,7 +2018,7 @@ impl ISClusPropertyValues_Vtbl { let this = (*this).get_impl(); match ISClusPropertyValues_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2029,7 +2029,7 @@ impl ISClusPropertyValues_Vtbl { let this = (*this).get_impl(); match ISClusPropertyValues_Impl::get_Item(this, core::mem::transmute(&varindex)) { Ok(ok__) => { - core::ptr::write(pppropertyvalue, core::mem::transmute(ok__)); + pppropertyvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2040,7 +2040,7 @@ impl ISClusPropertyValues_Vtbl { let this = (*this).get_impl(); match ISClusPropertyValues_Impl::CreateItem(this, core::mem::transmute(&bstrname), core::mem::transmute(&varvalue)) { Ok(ok__) => { - core::ptr::write(pppropertyvalue, core::mem::transmute(ok__)); + pppropertyvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2078,7 +2078,7 @@ impl ISClusRefObject_Vtbl { let this = (*this).get_impl(); match ISClusRefObject_Impl::Handle(this) { Ok(ok__) => { - core::ptr::write(phandle, core::mem::transmute(ok__)); + phandle.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2109,7 +2109,7 @@ impl ISClusRegistryKeys_Vtbl { let this = (*this).get_impl(); match ISClusRegistryKeys_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(plcount, core::mem::transmute(ok__)); + plcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2120,7 +2120,7 @@ impl ISClusRegistryKeys_Vtbl { let this = (*this).get_impl(); match ISClusRegistryKeys_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2136,7 +2136,7 @@ impl ISClusRegistryKeys_Vtbl { let this = (*this).get_impl(); match ISClusRegistryKeys_Impl::get_Item(this, core::mem::transmute(&varindex)) { Ok(ok__) => { - core::ptr::write(pbstrregistrykey, core::mem::transmute(ok__)); + pbstrregistrykey.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2187,7 +2187,7 @@ impl ISClusResDependencies_Vtbl { let this = (*this).get_impl(); match ISClusResDependencies_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(plcount, core::mem::transmute(ok__)); + plcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2198,7 +2198,7 @@ impl ISClusResDependencies_Vtbl { let this = (*this).get_impl(); match ISClusResDependencies_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2214,7 +2214,7 @@ impl ISClusResDependencies_Vtbl { let this = (*this).get_impl(); match ISClusResDependencies_Impl::get_Item(this, core::mem::transmute(&varindex)) { Ok(ok__) => { - core::ptr::write(ppclusresource, core::mem::transmute(ok__)); + ppclusresource.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2225,7 +2225,7 @@ impl ISClusResDependencies_Vtbl { let this = (*this).get_impl(); match ISClusResDependencies_Impl::CreateItem(this, core::mem::transmute(&bstrresourcename), core::mem::transmute(&bstrresourcetype), core::mem::transmute_copy(&dwflags)) { Ok(ok__) => { - core::ptr::write(ppclusterresource, core::mem::transmute(ok__)); + ppclusterresource.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2283,7 +2283,7 @@ impl ISClusResDependents_Vtbl { let this = (*this).get_impl(); match ISClusResDependents_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(plcount, core::mem::transmute(ok__)); + plcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2294,7 +2294,7 @@ impl ISClusResDependents_Vtbl { let this = (*this).get_impl(); match ISClusResDependents_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2310,7 +2310,7 @@ impl ISClusResDependents_Vtbl { let this = (*this).get_impl(); match ISClusResDependents_Impl::get_Item(this, core::mem::transmute(&varindex)) { Ok(ok__) => { - core::ptr::write(ppclusresource, core::mem::transmute(ok__)); + ppclusresource.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2321,7 +2321,7 @@ impl ISClusResDependents_Vtbl { let this = (*this).get_impl(); match ISClusResDependents_Impl::CreateItem(this, core::mem::transmute(&bstrresourcename), core::mem::transmute(&bstrresourcetype), core::mem::transmute_copy(&dwflags)) { Ok(ok__) => { - core::ptr::write(ppclusterresource, core::mem::transmute(ok__)); + ppclusterresource.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2387,7 +2387,7 @@ impl ISClusResGroup_Vtbl { let this = (*this).get_impl(); match ISClusResGroup_Impl::CommonProperties(this) { Ok(ok__) => { - core::ptr::write(ppproperties, core::mem::transmute(ok__)); + ppproperties.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2398,7 +2398,7 @@ impl ISClusResGroup_Vtbl { let this = (*this).get_impl(); match ISClusResGroup_Impl::PrivateProperties(this) { Ok(ok__) => { - core::ptr::write(ppproperties, core::mem::transmute(ok__)); + ppproperties.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2409,7 +2409,7 @@ impl ISClusResGroup_Vtbl { let this = (*this).get_impl(); match ISClusResGroup_Impl::CommonROProperties(this) { Ok(ok__) => { - core::ptr::write(ppproperties, core::mem::transmute(ok__)); + ppproperties.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2420,7 +2420,7 @@ impl ISClusResGroup_Vtbl { let this = (*this).get_impl(); match ISClusResGroup_Impl::PrivateROProperties(this) { Ok(ok__) => { - core::ptr::write(ppproperties, core::mem::transmute(ok__)); + ppproperties.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2431,7 +2431,7 @@ impl ISClusResGroup_Vtbl { let this = (*this).get_impl(); match ISClusResGroup_Impl::Handle(this) { Ok(ok__) => { - core::ptr::write(phandle, core::mem::transmute(ok__)); + phandle.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2442,7 +2442,7 @@ impl ISClusResGroup_Vtbl { let this = (*this).get_impl(); match ISClusResGroup_Impl::Name(this) { Ok(ok__) => { - core::ptr::write(pbstrname, core::mem::transmute(ok__)); + pbstrname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2458,7 +2458,7 @@ impl ISClusResGroup_Vtbl { let this = (*this).get_impl(); match ISClusResGroup_Impl::State(this) { Ok(ok__) => { - core::ptr::write(dwstate, core::mem::transmute(ok__)); + dwstate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2469,7 +2469,7 @@ impl ISClusResGroup_Vtbl { let this = (*this).get_impl(); match ISClusResGroup_Impl::OwnerNode(this) { Ok(ok__) => { - core::ptr::write(ppownernode, core::mem::transmute(ok__)); + ppownernode.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2480,7 +2480,7 @@ impl ISClusResGroup_Vtbl { let this = (*this).get_impl(); match ISClusResGroup_Impl::Resources(this) { Ok(ok__) => { - core::ptr::write(ppclustergroupresources, core::mem::transmute(ok__)); + ppclustergroupresources.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2491,7 +2491,7 @@ impl ISClusResGroup_Vtbl { let this = (*this).get_impl(); match ISClusResGroup_Impl::PreferredOwnerNodes(this) { Ok(ok__) => { - core::ptr::write(ppownernodes, core::mem::transmute(ok__)); + ppownernodes.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2507,7 +2507,7 @@ impl ISClusResGroup_Vtbl { let this = (*this).get_impl(); match ISClusResGroup_Impl::Online(this, core::mem::transmute(&vartimeout), core::mem::transmute(&varnode)) { Ok(ok__) => { - core::ptr::write(pvarpending, core::mem::transmute(ok__)); + pvarpending.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2518,7 +2518,7 @@ impl ISClusResGroup_Vtbl { let this = (*this).get_impl(); match ISClusResGroup_Impl::Move(this, core::mem::transmute(&vartimeout), core::mem::transmute(&varnode)) { Ok(ok__) => { - core::ptr::write(pvarpending, core::mem::transmute(ok__)); + pvarpending.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2529,7 +2529,7 @@ impl ISClusResGroup_Vtbl { let this = (*this).get_impl(); match ISClusResGroup_Impl::Offline(this, core::mem::transmute(&vartimeout)) { Ok(ok__) => { - core::ptr::write(pvarpending, core::mem::transmute(ok__)); + pvarpending.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2540,7 +2540,7 @@ impl ISClusResGroup_Vtbl { let this = (*this).get_impl(); match ISClusResGroup_Impl::Cluster(this) { Ok(ok__) => { - core::ptr::write(ppcluster, core::mem::transmute(ok__)); + ppcluster.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2592,7 +2592,7 @@ impl ISClusResGroupPreferredOwnerNodes_Vtbl { let this = (*this).get_impl(); match ISClusResGroupPreferredOwnerNodes_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(plcount, core::mem::transmute(ok__)); + plcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2603,7 +2603,7 @@ impl ISClusResGroupPreferredOwnerNodes_Vtbl { let this = (*this).get_impl(); match ISClusResGroupPreferredOwnerNodes_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2619,7 +2619,7 @@ impl ISClusResGroupPreferredOwnerNodes_Vtbl { let this = (*this).get_impl(); match ISClusResGroupPreferredOwnerNodes_Impl::get_Item(this, core::mem::transmute(&varindex)) { Ok(ok__) => { - core::ptr::write(ppnode, core::mem::transmute(ok__)); + ppnode.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2640,7 +2640,7 @@ impl ISClusResGroupPreferredOwnerNodes_Vtbl { let this = (*this).get_impl(); match ISClusResGroupPreferredOwnerNodes_Impl::Modified(this) { Ok(ok__) => { - core::ptr::write(pvarmodified, core::mem::transmute(ok__)); + pvarmodified.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2692,7 +2692,7 @@ impl ISClusResGroupResources_Vtbl { let this = (*this).get_impl(); match ISClusResGroupResources_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(plcount, core::mem::transmute(ok__)); + plcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2703,7 +2703,7 @@ impl ISClusResGroupResources_Vtbl { let this = (*this).get_impl(); match ISClusResGroupResources_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2719,7 +2719,7 @@ impl ISClusResGroupResources_Vtbl { let this = (*this).get_impl(); match ISClusResGroupResources_Impl::get_Item(this, core::mem::transmute(&varindex)) { Ok(ok__) => { - core::ptr::write(ppclusresource, core::mem::transmute(ok__)); + ppclusresource.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2730,7 +2730,7 @@ impl ISClusResGroupResources_Vtbl { let this = (*this).get_impl(); match ISClusResGroupResources_Impl::CreateItem(this, core::mem::transmute(&bstrresourcename), core::mem::transmute(&bstrresourcetype), core::mem::transmute_copy(&dwflags)) { Ok(ok__) => { - core::ptr::write(ppclusterresource, core::mem::transmute(ok__)); + ppclusterresource.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2774,7 +2774,7 @@ impl ISClusResGroups_Vtbl { let this = (*this).get_impl(); match ISClusResGroups_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(plcount, core::mem::transmute(ok__)); + plcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2785,7 +2785,7 @@ impl ISClusResGroups_Vtbl { let this = (*this).get_impl(); match ISClusResGroups_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2801,7 +2801,7 @@ impl ISClusResGroups_Vtbl { let this = (*this).get_impl(); match ISClusResGroups_Impl::get_Item(this, core::mem::transmute(&varindex)) { Ok(ok__) => { - core::ptr::write(ppclusresgroup, core::mem::transmute(ok__)); + ppclusresgroup.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2812,7 +2812,7 @@ impl ISClusResGroups_Vtbl { let this = (*this).get_impl(); match ISClusResGroups_Impl::CreateItem(this, core::mem::transmute(&bstrresourcegroupname)) { Ok(ok__) => { - core::ptr::write(ppresourcegroup, core::mem::transmute(ok__)); + ppresourcegroup.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2857,7 +2857,7 @@ impl ISClusResPossibleOwnerNodes_Vtbl { let this = (*this).get_impl(); match ISClusResPossibleOwnerNodes_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(plcount, core::mem::transmute(ok__)); + plcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2868,7 +2868,7 @@ impl ISClusResPossibleOwnerNodes_Vtbl { let this = (*this).get_impl(); match ISClusResPossibleOwnerNodes_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2884,7 +2884,7 @@ impl ISClusResPossibleOwnerNodes_Vtbl { let this = (*this).get_impl(); match ISClusResPossibleOwnerNodes_Impl::get_Item(this, core::mem::transmute(&varindex)) { Ok(ok__) => { - core::ptr::write(ppnode, core::mem::transmute(ok__)); + ppnode.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2905,7 +2905,7 @@ impl ISClusResPossibleOwnerNodes_Vtbl { let this = (*this).get_impl(); match ISClusResPossibleOwnerNodes_Impl::Modified(this) { Ok(ok__) => { - core::ptr::write(pvarmodified, core::mem::transmute(ok__)); + pvarmodified.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2949,7 +2949,7 @@ impl ISClusResType_Vtbl { let this = (*this).get_impl(); match ISClusResType_Impl::CommonProperties(this) { Ok(ok__) => { - core::ptr::write(ppproperties, core::mem::transmute(ok__)); + ppproperties.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2960,7 +2960,7 @@ impl ISClusResType_Vtbl { let this = (*this).get_impl(); match ISClusResType_Impl::PrivateProperties(this) { Ok(ok__) => { - core::ptr::write(ppproperties, core::mem::transmute(ok__)); + ppproperties.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2971,7 +2971,7 @@ impl ISClusResType_Vtbl { let this = (*this).get_impl(); match ISClusResType_Impl::CommonROProperties(this) { Ok(ok__) => { - core::ptr::write(ppproperties, core::mem::transmute(ok__)); + ppproperties.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2982,7 +2982,7 @@ impl ISClusResType_Vtbl { let this = (*this).get_impl(); match ISClusResType_Impl::PrivateROProperties(this) { Ok(ok__) => { - core::ptr::write(ppproperties, core::mem::transmute(ok__)); + ppproperties.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2993,7 +2993,7 @@ impl ISClusResType_Vtbl { let this = (*this).get_impl(); match ISClusResType_Impl::Name(this) { Ok(ok__) => { - core::ptr::write(pbstrname, core::mem::transmute(ok__)); + pbstrname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3009,7 +3009,7 @@ impl ISClusResType_Vtbl { let this = (*this).get_impl(); match ISClusResType_Impl::Cluster(this) { Ok(ok__) => { - core::ptr::write(ppcluster, core::mem::transmute(ok__)); + ppcluster.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3020,7 +3020,7 @@ impl ISClusResType_Vtbl { let this = (*this).get_impl(); match ISClusResType_Impl::Resources(this) { Ok(ok__) => { - core::ptr::write(ppclusterrestyperesources, core::mem::transmute(ok__)); + ppclusterrestyperesources.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3031,7 +3031,7 @@ impl ISClusResType_Vtbl { let this = (*this).get_impl(); match ISClusResType_Impl::PossibleOwnerNodes(this) { Ok(ok__) => { - core::ptr::write(ppownernodes, core::mem::transmute(ok__)); + ppownernodes.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3042,7 +3042,7 @@ impl ISClusResType_Vtbl { let this = (*this).get_impl(); match ISClusResType_Impl::AvailableDisks(this) { Ok(ok__) => { - core::ptr::write(ppavailabledisks, core::mem::transmute(ok__)); + ppavailabledisks.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3083,7 +3083,7 @@ impl ISClusResTypePossibleOwnerNodes_Vtbl { let this = (*this).get_impl(); match ISClusResTypePossibleOwnerNodes_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(plcount, core::mem::transmute(ok__)); + plcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3094,7 +3094,7 @@ impl ISClusResTypePossibleOwnerNodes_Vtbl { let this = (*this).get_impl(); match ISClusResTypePossibleOwnerNodes_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3110,7 +3110,7 @@ impl ISClusResTypePossibleOwnerNodes_Vtbl { let this = (*this).get_impl(); match ISClusResTypePossibleOwnerNodes_Impl::get_Item(this, core::mem::transmute(&varindex)) { Ok(ok__) => { - core::ptr::write(ppnode, core::mem::transmute(ok__)); + ppnode.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3147,7 +3147,7 @@ impl ISClusResTypeResources_Vtbl { let this = (*this).get_impl(); match ISClusResTypeResources_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(plcount, core::mem::transmute(ok__)); + plcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3158,7 +3158,7 @@ impl ISClusResTypeResources_Vtbl { let this = (*this).get_impl(); match ISClusResTypeResources_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3174,7 +3174,7 @@ impl ISClusResTypeResources_Vtbl { let this = (*this).get_impl(); match ISClusResTypeResources_Impl::get_Item(this, core::mem::transmute(&varindex)) { Ok(ok__) => { - core::ptr::write(ppclusresource, core::mem::transmute(ok__)); + ppclusresource.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3185,7 +3185,7 @@ impl ISClusResTypeResources_Vtbl { let this = (*this).get_impl(); match ISClusResTypeResources_Impl::CreateItem(this, core::mem::transmute(&bstrresourcename), core::mem::transmute(&bstrgroupname), core::mem::transmute_copy(&dwflags)) { Ok(ok__) => { - core::ptr::write(ppclusterresource, core::mem::transmute(ok__)); + ppclusterresource.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3229,7 +3229,7 @@ impl ISClusResTypes_Vtbl { let this = (*this).get_impl(); match ISClusResTypes_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(plcount, core::mem::transmute(ok__)); + plcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3240,7 +3240,7 @@ impl ISClusResTypes_Vtbl { let this = (*this).get_impl(); match ISClusResTypes_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3256,7 +3256,7 @@ impl ISClusResTypes_Vtbl { let this = (*this).get_impl(); match ISClusResTypes_Impl::get_Item(this, core::mem::transmute(&varindex)) { Ok(ok__) => { - core::ptr::write(ppclusrestype, core::mem::transmute(ok__)); + ppclusrestype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3267,7 +3267,7 @@ impl ISClusResTypes_Vtbl { let this = (*this).get_impl(); match ISClusResTypes_Impl::CreateItem(this, core::mem::transmute(&bstrresourcetypename), core::mem::transmute(&bstrdisplayname), core::mem::transmute(&bstrresourcetypedll), core::mem::transmute_copy(&dwlooksalivepollinterval), core::mem::transmute_copy(&dwisalivepollinterval)) { Ok(ok__) => { - core::ptr::write(ppresourcetype, core::mem::transmute(ok__)); + ppresourcetype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3337,7 +3337,7 @@ impl ISClusResource_Vtbl { let this = (*this).get_impl(); match ISClusResource_Impl::CommonProperties(this) { Ok(ok__) => { - core::ptr::write(ppproperties, core::mem::transmute(ok__)); + ppproperties.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3348,7 +3348,7 @@ impl ISClusResource_Vtbl { let this = (*this).get_impl(); match ISClusResource_Impl::PrivateProperties(this) { Ok(ok__) => { - core::ptr::write(ppproperties, core::mem::transmute(ok__)); + ppproperties.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3359,7 +3359,7 @@ impl ISClusResource_Vtbl { let this = (*this).get_impl(); match ISClusResource_Impl::CommonROProperties(this) { Ok(ok__) => { - core::ptr::write(ppproperties, core::mem::transmute(ok__)); + ppproperties.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3370,7 +3370,7 @@ impl ISClusResource_Vtbl { let this = (*this).get_impl(); match ISClusResource_Impl::PrivateROProperties(this) { Ok(ok__) => { - core::ptr::write(ppproperties, core::mem::transmute(ok__)); + ppproperties.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3381,7 +3381,7 @@ impl ISClusResource_Vtbl { let this = (*this).get_impl(); match ISClusResource_Impl::Handle(this) { Ok(ok__) => { - core::ptr::write(phandle, core::mem::transmute(ok__)); + phandle.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3392,7 +3392,7 @@ impl ISClusResource_Vtbl { let this = (*this).get_impl(); match ISClusResource_Impl::Name(this) { Ok(ok__) => { - core::ptr::write(pbstrname, core::mem::transmute(ok__)); + pbstrname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3408,7 +3408,7 @@ impl ISClusResource_Vtbl { let this = (*this).get_impl(); match ISClusResource_Impl::State(this) { Ok(ok__) => { - core::ptr::write(dwstate, core::mem::transmute(ok__)); + dwstate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3419,7 +3419,7 @@ impl ISClusResource_Vtbl { let this = (*this).get_impl(); match ISClusResource_Impl::CoreFlag(this) { Ok(ok__) => { - core::ptr::write(dwcoreflag, core::mem::transmute(ok__)); + dwcoreflag.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3445,7 +3445,7 @@ impl ISClusResource_Vtbl { let this = (*this).get_impl(); match ISClusResource_Impl::Online(this, core::mem::transmute_copy(&ntimeout)) { Ok(ok__) => { - core::ptr::write(pvarpending, core::mem::transmute(ok__)); + pvarpending.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3456,7 +3456,7 @@ impl ISClusResource_Vtbl { let this = (*this).get_impl(); match ISClusResource_Impl::Offline(this, core::mem::transmute_copy(&ntimeout)) { Ok(ok__) => { - core::ptr::write(pvarpending, core::mem::transmute(ok__)); + pvarpending.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3482,7 +3482,7 @@ impl ISClusResource_Vtbl { let this = (*this).get_impl(); match ISClusResource_Impl::CanResourceBeDependent(this, windows_core::from_raw_borrowed(&presource)) { Ok(ok__) => { - core::ptr::write(pvardependent, core::mem::transmute(ok__)); + pvardependent.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3493,7 +3493,7 @@ impl ISClusResource_Vtbl { let this = (*this).get_impl(); match ISClusResource_Impl::PossibleOwnerNodes(this) { Ok(ok__) => { - core::ptr::write(ppownernodes, core::mem::transmute(ok__)); + ppownernodes.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3504,7 +3504,7 @@ impl ISClusResource_Vtbl { let this = (*this).get_impl(); match ISClusResource_Impl::Dependencies(this) { Ok(ok__) => { - core::ptr::write(ppresdependencies, core::mem::transmute(ok__)); + ppresdependencies.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3515,7 +3515,7 @@ impl ISClusResource_Vtbl { let this = (*this).get_impl(); match ISClusResource_Impl::Dependents(this) { Ok(ok__) => { - core::ptr::write(ppresdependents, core::mem::transmute(ok__)); + ppresdependents.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3526,7 +3526,7 @@ impl ISClusResource_Vtbl { let this = (*this).get_impl(); match ISClusResource_Impl::Group(this) { Ok(ok__) => { - core::ptr::write(ppresgroup, core::mem::transmute(ok__)); + ppresgroup.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3537,7 +3537,7 @@ impl ISClusResource_Vtbl { let this = (*this).get_impl(); match ISClusResource_Impl::OwnerNode(this) { Ok(ok__) => { - core::ptr::write(ppownernode, core::mem::transmute(ok__)); + ppownernode.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3548,7 +3548,7 @@ impl ISClusResource_Vtbl { let this = (*this).get_impl(); match ISClusResource_Impl::Cluster(this) { Ok(ok__) => { - core::ptr::write(ppcluster, core::mem::transmute(ok__)); + ppcluster.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3559,7 +3559,7 @@ impl ISClusResource_Vtbl { let this = (*this).get_impl(); match ISClusResource_Impl::ClassInfo(this) { Ok(ok__) => { - core::ptr::write(prcclassinfo, core::mem::transmute(ok__)); + prcclassinfo.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3570,7 +3570,7 @@ impl ISClusResource_Vtbl { let this = (*this).get_impl(); match ISClusResource_Impl::Disk(this) { Ok(ok__) => { - core::ptr::write(ppdisk, core::mem::transmute(ok__)); + ppdisk.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3581,7 +3581,7 @@ impl ISClusResource_Vtbl { let this = (*this).get_impl(); match ISClusResource_Impl::RegistryKeys(this) { Ok(ok__) => { - core::ptr::write(ppregistrykeys, core::mem::transmute(ok__)); + ppregistrykeys.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3592,7 +3592,7 @@ impl ISClusResource_Vtbl { let this = (*this).get_impl(); match ISClusResource_Impl::CryptoKeys(this) { Ok(ok__) => { - core::ptr::write(ppcryptokeys, core::mem::transmute(ok__)); + ppcryptokeys.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3603,7 +3603,7 @@ impl ISClusResource_Vtbl { let this = (*this).get_impl(); match ISClusResource_Impl::TypeName(this) { Ok(ok__) => { - core::ptr::write(pbstrtypename, core::mem::transmute(ok__)); + pbstrtypename.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3614,7 +3614,7 @@ impl ISClusResource_Vtbl { let this = (*this).get_impl(); match ISClusResource_Impl::Type(this) { Ok(ok__) => { - core::ptr::write(ppresourcetype, core::mem::transmute(ok__)); + ppresourcetype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3625,7 +3625,7 @@ impl ISClusResource_Vtbl { let this = (*this).get_impl(); match ISClusResource_Impl::MaintenanceMode(this) { Ok(ok__) => { - core::ptr::write(pbmaintenancemode, core::mem::transmute(ok__)); + pbmaintenancemode.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3695,7 +3695,7 @@ impl ISClusResources_Vtbl { let this = (*this).get_impl(); match ISClusResources_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(plcount, core::mem::transmute(ok__)); + plcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3706,7 +3706,7 @@ impl ISClusResources_Vtbl { let this = (*this).get_impl(); match ISClusResources_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3722,7 +3722,7 @@ impl ISClusResources_Vtbl { let this = (*this).get_impl(); match ISClusResources_Impl::get_Item(this, core::mem::transmute(&varindex)) { Ok(ok__) => { - core::ptr::write(ppclusresource, core::mem::transmute(ok__)); + ppclusresource.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3733,7 +3733,7 @@ impl ISClusResources_Vtbl { let this = (*this).get_impl(); match ISClusResources_Impl::CreateItem(this, core::mem::transmute(&bstrresourcename), core::mem::transmute(&bstrresourcetype), core::mem::transmute(&bstrgroupname), core::mem::transmute_copy(&dwflags)) { Ok(ok__) => { - core::ptr::write(ppclusterresource, core::mem::transmute(ok__)); + ppclusterresource.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3775,7 +3775,7 @@ impl ISClusScsiAddress_Vtbl { let this = (*this).get_impl(); match ISClusScsiAddress_Impl::PortNumber(this) { Ok(ok__) => { - core::ptr::write(pvarportnumber, core::mem::transmute(ok__)); + pvarportnumber.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3786,7 +3786,7 @@ impl ISClusScsiAddress_Vtbl { let this = (*this).get_impl(); match ISClusScsiAddress_Impl::PathId(this) { Ok(ok__) => { - core::ptr::write(pvarpathid, core::mem::transmute(ok__)); + pvarpathid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3797,7 +3797,7 @@ impl ISClusScsiAddress_Vtbl { let this = (*this).get_impl(); match ISClusScsiAddress_Impl::TargetId(this) { Ok(ok__) => { - core::ptr::write(pvartargetid, core::mem::transmute(ok__)); + pvartargetid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3808,7 +3808,7 @@ impl ISClusScsiAddress_Vtbl { let this = (*this).get_impl(); match ISClusScsiAddress_Impl::Lun(this) { Ok(ok__) => { - core::ptr::write(pvarlun, core::mem::transmute(ok__)); + pvarlun.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3849,7 +3849,7 @@ impl ISClusVersion_Vtbl { let this = (*this).get_impl(); match ISClusVersion_Impl::Name(this) { Ok(ok__) => { - core::ptr::write(pbstrclustername, core::mem::transmute(ok__)); + pbstrclustername.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3860,7 +3860,7 @@ impl ISClusVersion_Vtbl { let this = (*this).get_impl(); match ISClusVersion_Impl::MajorVersion(this) { Ok(ok__) => { - core::ptr::write(pnmajorversion, core::mem::transmute(ok__)); + pnmajorversion.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3871,7 +3871,7 @@ impl ISClusVersion_Vtbl { let this = (*this).get_impl(); match ISClusVersion_Impl::MinorVersion(this) { Ok(ok__) => { - core::ptr::write(pnminorversion, core::mem::transmute(ok__)); + pnminorversion.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3882,7 +3882,7 @@ impl ISClusVersion_Vtbl { let this = (*this).get_impl(); match ISClusVersion_Impl::BuildNumber(this) { Ok(ok__) => { - core::ptr::write(pnbuildnumber, core::mem::transmute(ok__)); + pnbuildnumber.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3893,7 +3893,7 @@ impl ISClusVersion_Vtbl { let this = (*this).get_impl(); match ISClusVersion_Impl::VendorId(this) { Ok(ok__) => { - core::ptr::write(pbstrvendorid, core::mem::transmute(ok__)); + pbstrvendorid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3904,7 +3904,7 @@ impl ISClusVersion_Vtbl { let this = (*this).get_impl(); match ISClusVersion_Impl::CSDVersion(this) { Ok(ok__) => { - core::ptr::write(pbstrcsdversion, core::mem::transmute(ok__)); + pbstrcsdversion.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3915,7 +3915,7 @@ impl ISClusVersion_Vtbl { let this = (*this).get_impl(); match ISClusVersion_Impl::ClusterHighestVersion(this) { Ok(ok__) => { - core::ptr::write(pnclusterhighestversion, core::mem::transmute(ok__)); + pnclusterhighestversion.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3926,7 +3926,7 @@ impl ISClusVersion_Vtbl { let this = (*this).get_impl(); match ISClusVersion_Impl::ClusterLowestVersion(this) { Ok(ok__) => { - core::ptr::write(pnclusterlowestversion, core::mem::transmute(ok__)); + pnclusterlowestversion.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3937,7 +3937,7 @@ impl ISClusVersion_Vtbl { let this = (*this).get_impl(); match ISClusVersion_Impl::Flags(this) { Ok(ok__) => { - core::ptr::write(pnflags, core::mem::transmute(ok__)); + pnflags.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3948,7 +3948,7 @@ impl ISClusVersion_Vtbl { let this = (*this).get_impl(); match ISClusVersion_Impl::MixedVersion(this) { Ok(ok__) => { - core::ptr::write(pvarmixedversion, core::mem::transmute(ok__)); + pvarmixedversion.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4006,7 +4006,7 @@ impl ISCluster_Vtbl { let this = (*this).get_impl(); match ISCluster_Impl::CommonProperties(this) { Ok(ok__) => { - core::ptr::write(ppproperties, core::mem::transmute(ok__)); + ppproperties.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4017,7 +4017,7 @@ impl ISCluster_Vtbl { let this = (*this).get_impl(); match ISCluster_Impl::PrivateProperties(this) { Ok(ok__) => { - core::ptr::write(ppproperties, core::mem::transmute(ok__)); + ppproperties.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4028,7 +4028,7 @@ impl ISCluster_Vtbl { let this = (*this).get_impl(); match ISCluster_Impl::CommonROProperties(this) { Ok(ok__) => { - core::ptr::write(ppproperties, core::mem::transmute(ok__)); + ppproperties.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4039,7 +4039,7 @@ impl ISCluster_Vtbl { let this = (*this).get_impl(); match ISCluster_Impl::PrivateROProperties(this) { Ok(ok__) => { - core::ptr::write(ppproperties, core::mem::transmute(ok__)); + ppproperties.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4050,7 +4050,7 @@ impl ISCluster_Vtbl { let this = (*this).get_impl(); match ISCluster_Impl::Handle(this) { Ok(ok__) => { - core::ptr::write(phandle, core::mem::transmute(ok__)); + phandle.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4066,7 +4066,7 @@ impl ISCluster_Vtbl { let this = (*this).get_impl(); match ISCluster_Impl::Name(this) { Ok(ok__) => { - core::ptr::write(pbstrname, core::mem::transmute(ok__)); + pbstrname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4082,7 +4082,7 @@ impl ISCluster_Vtbl { let this = (*this).get_impl(); match ISCluster_Impl::Version(this) { Ok(ok__) => { - core::ptr::write(ppclusversion, core::mem::transmute(ok__)); + ppclusversion.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4098,7 +4098,7 @@ impl ISCluster_Vtbl { let this = (*this).get_impl(); match ISCluster_Impl::QuorumResource(this) { Ok(ok__) => { - core::ptr::write(pclusterresource, core::mem::transmute(ok__)); + pclusterresource.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4109,7 +4109,7 @@ impl ISCluster_Vtbl { let this = (*this).get_impl(); match ISCluster_Impl::QuorumLogSize(this) { Ok(ok__) => { - core::ptr::write(pnlogsize, core::mem::transmute(ok__)); + pnlogsize.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4125,7 +4125,7 @@ impl ISCluster_Vtbl { let this = (*this).get_impl(); match ISCluster_Impl::QuorumPath(this) { Ok(ok__) => { - core::ptr::write(pppath, core::mem::transmute(ok__)); + pppath.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4141,7 +4141,7 @@ impl ISCluster_Vtbl { let this = (*this).get_impl(); match ISCluster_Impl::Nodes(this) { Ok(ok__) => { - core::ptr::write(ppnodes, core::mem::transmute(ok__)); + ppnodes.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4152,7 +4152,7 @@ impl ISCluster_Vtbl { let this = (*this).get_impl(); match ISCluster_Impl::ResourceGroups(this) { Ok(ok__) => { - core::ptr::write(ppclusterresourcegroups, core::mem::transmute(ok__)); + ppclusterresourcegroups.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4163,7 +4163,7 @@ impl ISCluster_Vtbl { let this = (*this).get_impl(); match ISCluster_Impl::Resources(this) { Ok(ok__) => { - core::ptr::write(ppclusterresources, core::mem::transmute(ok__)); + ppclusterresources.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4174,7 +4174,7 @@ impl ISCluster_Vtbl { let this = (*this).get_impl(); match ISCluster_Impl::ResourceTypes(this) { Ok(ok__) => { - core::ptr::write(ppresourcetypes, core::mem::transmute(ok__)); + ppresourcetypes.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4185,7 +4185,7 @@ impl ISCluster_Vtbl { let this = (*this).get_impl(); match ISCluster_Impl::Networks(this) { Ok(ok__) => { - core::ptr::write(ppnetworks, core::mem::transmute(ok__)); + ppnetworks.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4196,7 +4196,7 @@ impl ISCluster_Vtbl { let this = (*this).get_impl(); match ISCluster_Impl::NetInterfaces(this) { Ok(ok__) => { - core::ptr::write(ppnetinterfaces, core::mem::transmute(ok__)); + ppnetinterfaces.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4249,7 +4249,7 @@ impl ISClusterNames_Vtbl { let this = (*this).get_impl(); match ISClusterNames_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(plcount, core::mem::transmute(ok__)); + plcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4260,7 +4260,7 @@ impl ISClusterNames_Vtbl { let this = (*this).get_impl(); match ISClusterNames_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4276,7 +4276,7 @@ impl ISClusterNames_Vtbl { let this = (*this).get_impl(); match ISClusterNames_Impl::get_Item(this, core::mem::transmute(&varindex)) { Ok(ok__) => { - core::ptr::write(pbstrclustername, core::mem::transmute(ok__)); + pbstrclustername.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4287,7 +4287,7 @@ impl ISClusterNames_Vtbl { let this = (*this).get_impl(); match ISClusterNames_Impl::DomainName(this) { Ok(ok__) => { - core::ptr::write(pbstrdomainname, core::mem::transmute(ok__)); + pbstrdomainname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4323,7 +4323,7 @@ impl ISDomainNames_Vtbl { let this = (*this).get_impl(); match ISDomainNames_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(plcount, core::mem::transmute(ok__)); + plcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4334,7 +4334,7 @@ impl ISDomainNames_Vtbl { let this = (*this).get_impl(); match ISDomainNames_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4350,7 +4350,7 @@ impl ISDomainNames_Vtbl { let this = (*this).get_impl(); match ISDomainNames_Impl::get_Item(this, core::mem::transmute(&varindex)) { Ok(ok__) => { - core::ptr::write(pbstrdomainname, core::mem::transmute(ok__)); + pbstrdomainname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/Win32/Networking/NetworkListManager/impl.rs b/crates/libs/windows/src/Windows/Win32/Networking/NetworkListManager/impl.rs index 4e69f3dac3..d7531c12ec 100644 --- a/crates/libs/windows/src/Windows/Win32/Networking/NetworkListManager/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Networking/NetworkListManager/impl.rs @@ -16,7 +16,7 @@ impl IEnumNetworkConnections_Vtbl { let this = (*this).get_impl(); match IEnumNetworkConnections_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(ppenumvar, core::mem::transmute(ok__)); + ppenumvar.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -42,7 +42,7 @@ impl IEnumNetworkConnections_Vtbl { let this = (*this).get_impl(); match IEnumNetworkConnections_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppenumnetwork, core::mem::transmute(ok__)); + ppenumnetwork.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -79,7 +79,7 @@ impl IEnumNetworks_Vtbl { let this = (*this).get_impl(); match IEnumNetworks_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(ppenumvar, core::mem::transmute(ok__)); + ppenumvar.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -105,7 +105,7 @@ impl IEnumNetworks_Vtbl { let this = (*this).get_impl(); match IEnumNetworks_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppenumnetwork, core::mem::transmute(ok__)); + ppenumnetwork.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -150,7 +150,7 @@ impl INetwork_Vtbl { let this = (*this).get_impl(); match INetwork_Impl::GetName(this) { Ok(ok__) => { - core::ptr::write(psznetworkname, core::mem::transmute(ok__)); + psznetworkname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -166,7 +166,7 @@ impl INetwork_Vtbl { let this = (*this).get_impl(); match INetwork_Impl::GetDescription(this) { Ok(ok__) => { - core::ptr::write(pszdescription, core::mem::transmute(ok__)); + pszdescription.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -182,7 +182,7 @@ impl INetwork_Vtbl { let this = (*this).get_impl(); match INetwork_Impl::GetNetworkId(this) { Ok(ok__) => { - core::ptr::write(pgdguidnetworkid, core::mem::transmute(ok__)); + pgdguidnetworkid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -193,7 +193,7 @@ impl INetwork_Vtbl { let this = (*this).get_impl(); match INetwork_Impl::GetDomainType(this) { Ok(ok__) => { - core::ptr::write(pnetworktype, core::mem::transmute(ok__)); + pnetworktype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -204,7 +204,7 @@ impl INetwork_Vtbl { let this = (*this).get_impl(); match INetwork_Impl::GetNetworkConnections(this) { Ok(ok__) => { - core::ptr::write(ppenumnetworkconnection, core::mem::transmute(ok__)); + ppenumnetworkconnection.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -220,7 +220,7 @@ impl INetwork_Vtbl { let this = (*this).get_impl(); match INetwork_Impl::IsConnectedToInternet(this) { Ok(ok__) => { - core::ptr::write(pbisconnected, core::mem::transmute(ok__)); + pbisconnected.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -231,7 +231,7 @@ impl INetwork_Vtbl { let this = (*this).get_impl(); match INetwork_Impl::IsConnected(this) { Ok(ok__) => { - core::ptr::write(pbisconnected, core::mem::transmute(ok__)); + pbisconnected.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -242,7 +242,7 @@ impl INetwork_Vtbl { let this = (*this).get_impl(); match INetwork_Impl::GetConnectivity(this) { Ok(ok__) => { - core::ptr::write(pconnectivity, core::mem::transmute(ok__)); + pconnectivity.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -253,7 +253,7 @@ impl INetwork_Vtbl { let this = (*this).get_impl(); match INetwork_Impl::GetCategory(this) { Ok(ok__) => { - core::ptr::write(pcategory, core::mem::transmute(ok__)); + pcategory.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -299,7 +299,7 @@ impl INetwork2_Vtbl { let this = (*this).get_impl(); match INetwork2_Impl::IsDomainAuthenticatedBy(this, core::mem::transmute_copy(&domainauthenticationkind)) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -331,7 +331,7 @@ impl INetworkConnection_Vtbl { let this = (*this).get_impl(); match INetworkConnection_Impl::GetNetwork(this) { Ok(ok__) => { - core::ptr::write(ppnetwork, core::mem::transmute(ok__)); + ppnetwork.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -342,7 +342,7 @@ impl INetworkConnection_Vtbl { let this = (*this).get_impl(); match INetworkConnection_Impl::IsConnectedToInternet(this) { Ok(ok__) => { - core::ptr::write(pbisconnected, core::mem::transmute(ok__)); + pbisconnected.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -353,7 +353,7 @@ impl INetworkConnection_Vtbl { let this = (*this).get_impl(); match INetworkConnection_Impl::IsConnected(this) { Ok(ok__) => { - core::ptr::write(pbisconnected, core::mem::transmute(ok__)); + pbisconnected.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -364,7 +364,7 @@ impl INetworkConnection_Vtbl { let this = (*this).get_impl(); match INetworkConnection_Impl::GetConnectivity(this) { Ok(ok__) => { - core::ptr::write(pconnectivity, core::mem::transmute(ok__)); + pconnectivity.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -375,7 +375,7 @@ impl INetworkConnection_Vtbl { let this = (*this).get_impl(); match INetworkConnection_Impl::GetConnectionId(this) { Ok(ok__) => { - core::ptr::write(pgdconnectionid, core::mem::transmute(ok__)); + pgdconnectionid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -386,7 +386,7 @@ impl INetworkConnection_Vtbl { let this = (*this).get_impl(); match INetworkConnection_Impl::GetAdapterId(this) { Ok(ok__) => { - core::ptr::write(pgdadapterid, core::mem::transmute(ok__)); + pgdadapterid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -397,7 +397,7 @@ impl INetworkConnection_Vtbl { let this = (*this).get_impl(); match INetworkConnection_Impl::GetDomainType(this) { Ok(ok__) => { - core::ptr::write(pdomaintype, core::mem::transmute(ok__)); + pdomaintype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -432,7 +432,7 @@ impl INetworkConnection2_Vtbl { let this = (*this).get_impl(); match INetworkConnection2_Impl::IsDomainAuthenticatedBy(this, core::mem::transmute_copy(&domainauthenticationkind)) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -456,7 +456,7 @@ impl INetworkConnectionCost_Vtbl { let this = (*this).get_impl(); match INetworkConnectionCost_Impl::GetCost(this) { Ok(ok__) => { - core::ptr::write(pcost, core::mem::transmute(ok__)); + pcost.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -655,7 +655,7 @@ impl INetworkListManager_Vtbl { let this = (*this).get_impl(); match INetworkListManager_Impl::GetNetworks(this, core::mem::transmute_copy(&flags)) { Ok(ok__) => { - core::ptr::write(ppenumnetwork, core::mem::transmute(ok__)); + ppenumnetwork.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -666,7 +666,7 @@ impl INetworkListManager_Vtbl { let this = (*this).get_impl(); match INetworkListManager_Impl::GetNetwork(this, core::mem::transmute(&gdnetworkid)) { Ok(ok__) => { - core::ptr::write(ppnetwork, core::mem::transmute(ok__)); + ppnetwork.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -677,7 +677,7 @@ impl INetworkListManager_Vtbl { let this = (*this).get_impl(); match INetworkListManager_Impl::GetNetworkConnections(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -688,7 +688,7 @@ impl INetworkListManager_Vtbl { let this = (*this).get_impl(); match INetworkListManager_Impl::GetNetworkConnection(this, core::mem::transmute(&gdnetworkconnectionid)) { Ok(ok__) => { - core::ptr::write(ppnetworkconnection, core::mem::transmute(ok__)); + ppnetworkconnection.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -699,7 +699,7 @@ impl INetworkListManager_Vtbl { let this = (*this).get_impl(); match INetworkListManager_Impl::IsConnectedToInternet(this) { Ok(ok__) => { - core::ptr::write(pbisconnected, core::mem::transmute(ok__)); + pbisconnected.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -710,7 +710,7 @@ impl INetworkListManager_Vtbl { let this = (*this).get_impl(); match INetworkListManager_Impl::IsConnected(this) { Ok(ok__) => { - core::ptr::write(pbisconnected, core::mem::transmute(ok__)); + pbisconnected.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -721,7 +721,7 @@ impl INetworkListManager_Vtbl { let this = (*this).get_impl(); match INetworkListManager_Impl::GetConnectivity(this) { Ok(ok__) => { - core::ptr::write(pconnectivity, core::mem::transmute(ok__)); + pconnectivity.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/Win32/Networking/RemoteDifferentialCompression/impl.rs b/crates/libs/windows/src/Windows/Win32/Networking/RemoteDifferentialCompression/impl.rs index 8f04afcdca..4574429f65 100644 --- a/crates/libs/windows/src/Windows/Win32/Networking/RemoteDifferentialCompression/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Networking/RemoteDifferentialCompression/impl.rs @@ -10,7 +10,7 @@ impl IFindSimilarResults_Vtbl { let this = (*this).get_impl(); match IFindSimilarResults_Impl::GetSize(this) { Ok(ok__) => { - core::ptr::write(size, core::mem::transmute(ok__)); + size.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -61,7 +61,7 @@ impl IRdcFileReader_Vtbl { let this = (*this).get_impl(); match IRdcFileReader_Impl::GetFileSize(this) { Ok(ok__) => { - core::ptr::write(filesize, core::mem::transmute(ok__)); + filesize.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -77,7 +77,7 @@ impl IRdcFileReader_Vtbl { let this = (*this).get_impl(); match IRdcFileReader_Impl::GetFilePosition(this) { Ok(ok__) => { - core::ptr::write(offsetfromstart, core::mem::transmute(ok__)); + offsetfromstart.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -107,7 +107,7 @@ impl IRdcFileWriter_Vtbl { let this = (*this).get_impl(); match IRdcFileWriter_Impl::Write(this, core::mem::transmute_copy(&offsetfilestart), core::mem::transmute_copy(&bytestowrite)) { Ok(ok__) => { - core::ptr::write(buffer, core::mem::transmute(ok__)); + buffer.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -146,7 +146,7 @@ impl IRdcGenerator_Vtbl { let this = (*this).get_impl(); match IRdcGenerator_Impl::GetGeneratorParameters(this, core::mem::transmute_copy(&level)) { Ok(ok__) => { - core::ptr::write(igeneratorparameters, core::mem::transmute(ok__)); + igeneratorparameters.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -181,7 +181,7 @@ impl IRdcGeneratorFilterMaxParameters_Vtbl { let this = (*this).get_impl(); match IRdcGeneratorFilterMaxParameters_Impl::GetHorizonSize(this) { Ok(ok__) => { - core::ptr::write(horizonsize, core::mem::transmute(ok__)); + horizonsize.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -197,7 +197,7 @@ impl IRdcGeneratorFilterMaxParameters_Vtbl { let this = (*this).get_impl(); match IRdcGeneratorFilterMaxParameters_Impl::GetHashWindowSize(this) { Ok(ok__) => { - core::ptr::write(hashwindowsize, core::mem::transmute(ok__)); + hashwindowsize.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -234,7 +234,7 @@ impl IRdcGeneratorParameters_Vtbl { let this = (*this).get_impl(); match IRdcGeneratorParameters_Impl::GetGeneratorParametersType(this) { Ok(ok__) => { - core::ptr::write(parameterstype, core::mem::transmute(ok__)); + parameterstype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -250,7 +250,7 @@ impl IRdcGeneratorParameters_Vtbl { let this = (*this).get_impl(); match IRdcGeneratorParameters_Impl::GetSerializeSize(this) { Ok(ok__) => { - core::ptr::write(size, core::mem::transmute(ok__)); + size.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -290,7 +290,7 @@ impl IRdcLibrary_Vtbl { let this = (*this).get_impl(); match IRdcLibrary_Impl::ComputeDefaultRecursionDepth(this, core::mem::transmute_copy(&filesize)) { Ok(ok__) => { - core::ptr::write(depth, core::mem::transmute(ok__)); + depth.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -301,7 +301,7 @@ impl IRdcLibrary_Vtbl { let this = (*this).get_impl(); match IRdcLibrary_Impl::CreateGeneratorParameters(this, core::mem::transmute_copy(¶meterstype), core::mem::transmute_copy(&level)) { Ok(ok__) => { - core::ptr::write(igeneratorparameters, core::mem::transmute(ok__)); + igeneratorparameters.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -312,7 +312,7 @@ impl IRdcLibrary_Vtbl { let this = (*this).get_impl(); match IRdcLibrary_Impl::OpenGeneratorParameters(this, core::mem::transmute_copy(&size), core::mem::transmute_copy(¶metersblob)) { Ok(ok__) => { - core::ptr::write(igeneratorparameters, core::mem::transmute(ok__)); + igeneratorparameters.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -323,7 +323,7 @@ impl IRdcLibrary_Vtbl { let this = (*this).get_impl(); match IRdcLibrary_Impl::CreateGenerator(this, core::mem::transmute_copy(&depth), core::mem::transmute_copy(&igeneratorparametersarray)) { Ok(ok__) => { - core::ptr::write(igenerator, core::mem::transmute(ok__)); + igenerator.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -334,7 +334,7 @@ impl IRdcLibrary_Vtbl { let this = (*this).get_impl(); match IRdcLibrary_Impl::CreateComparator(this, windows_core::from_raw_borrowed(&iseedsignaturesfile), core::mem::transmute_copy(&comparatorbuffersize)) { Ok(ok__) => { - core::ptr::write(icomparator, core::mem::transmute(ok__)); + icomparator.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -345,7 +345,7 @@ impl IRdcLibrary_Vtbl { let this = (*this).get_impl(); match IRdcLibrary_Impl::CreateSignatureReader(this, windows_core::from_raw_borrowed(&ifilereader)) { Ok(ok__) => { - core::ptr::write(isignaturereader, core::mem::transmute(ok__)); + isignaturereader.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -383,7 +383,7 @@ impl IRdcSignatureReader_Vtbl { let this = (*this).get_impl(); match IRdcSignatureReader_Impl::ReadHeader(this) { Ok(ok__) => { - core::ptr::write(rdc_errorcode, core::mem::transmute(ok__)); + rdc_errorcode.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -421,7 +421,7 @@ impl IRdcSimilarityGenerator_Vtbl { let this = (*this).get_impl(); match IRdcSimilarityGenerator_Impl::Results(this) { Ok(ok__) => { - core::ptr::write(similaritydata, core::mem::transmute(ok__)); + similaritydata.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -454,7 +454,7 @@ impl ISimilarity_Vtbl { let this = (*this).get_impl(); match ISimilarity_Impl::CreateTable(this, core::mem::transmute(&path), core::mem::transmute_copy(&truncate), core::mem::transmute_copy(&securitydescriptor), core::mem::transmute_copy(&recordsize)) { Ok(ok__) => { - core::ptr::write(isnew, core::mem::transmute(ok__)); + isnew.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -465,7 +465,7 @@ impl ISimilarity_Vtbl { let this = (*this).get_impl(); match ISimilarity_Impl::CreateTableIndirect(this, windows_core::from_raw_borrowed(&mapping), windows_core::from_raw_borrowed(&fileidfile), core::mem::transmute_copy(&truncate), core::mem::transmute_copy(&recordsize)) { Ok(ok__) => { - core::ptr::write(isnew, core::mem::transmute(ok__)); + isnew.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -486,7 +486,7 @@ impl ISimilarity_Vtbl { let this = (*this).get_impl(); match ISimilarity_Impl::FindSimilarFileId(this, core::mem::transmute_copy(&similaritydata), core::mem::transmute_copy(&numberofmatchesrequired), core::mem::transmute_copy(&resultssize)) { Ok(ok__) => { - core::ptr::write(findsimilarresults, core::mem::transmute(ok__)); + findsimilarresults.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -502,7 +502,7 @@ impl ISimilarity_Vtbl { let this = (*this).get_impl(); match ISimilarity_Impl::GetRecordCount(this) { Ok(ok__) => { - core::ptr::write(recordcount, core::mem::transmute(ok__)); + recordcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -540,7 +540,7 @@ impl ISimilarityFileIdTable_Vtbl { let this = (*this).get_impl(); match ISimilarityFileIdTable_Impl::CreateTable(this, core::mem::transmute(&path), core::mem::transmute_copy(&truncate), core::mem::transmute_copy(&securitydescriptor), core::mem::transmute_copy(&recordsize)) { Ok(ok__) => { - core::ptr::write(isnew, core::mem::transmute(ok__)); + isnew.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -551,7 +551,7 @@ impl ISimilarityFileIdTable_Vtbl { let this = (*this).get_impl(); match ISimilarityFileIdTable_Impl::CreateTableIndirect(this, windows_core::from_raw_borrowed(&fileidfile), core::mem::transmute_copy(&truncate), core::mem::transmute_copy(&recordsize)) { Ok(ok__) => { - core::ptr::write(isnew, core::mem::transmute(ok__)); + isnew.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -567,7 +567,7 @@ impl ISimilarityFileIdTable_Vtbl { let this = (*this).get_impl(); match ISimilarityFileIdTable_Impl::Append(this, core::mem::transmute_copy(&similarityfileid)) { Ok(ok__) => { - core::ptr::write(similarityfileindex, core::mem::transmute(ok__)); + similarityfileindex.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -588,7 +588,7 @@ impl ISimilarityFileIdTable_Vtbl { let this = (*this).get_impl(); match ISimilarityFileIdTable_Impl::GetRecordCount(this) { Ok(ok__) => { - core::ptr::write(recordcount, core::mem::transmute(ok__)); + recordcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -667,7 +667,7 @@ impl ISimilarityTraitsMappedView_Vtbl { let this = (*this).get_impl(); match ISimilarityTraitsMappedView_Impl::Get(this, core::mem::transmute_copy(&index), core::mem::transmute_copy(&dirty), core::mem::transmute_copy(&numelements)) { Ok(ok__) => { - core::ptr::write(viewinfo, core::mem::transmute(ok__)); + viewinfo.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -717,7 +717,7 @@ impl ISimilarityTraitsMapping_Vtbl { let this = (*this).get_impl(); match ISimilarityTraitsMapping_Impl::GetFileSize(this) { Ok(ok__) => { - core::ptr::write(filesize, core::mem::transmute(ok__)); + filesize.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -728,7 +728,7 @@ impl ISimilarityTraitsMapping_Vtbl { let this = (*this).get_impl(); match ISimilarityTraitsMapping_Impl::OpenMapping(this, core::mem::transmute_copy(&accessmode), core::mem::transmute_copy(&begin), core::mem::transmute_copy(&end)) { Ok(ok__) => { - core::ptr::write(actualend, core::mem::transmute(ok__)); + actualend.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -739,7 +739,7 @@ impl ISimilarityTraitsMapping_Vtbl { let this = (*this).get_impl(); match ISimilarityTraitsMapping_Impl::ResizeMapping(this, core::mem::transmute_copy(&accessmode), core::mem::transmute_copy(&begin), core::mem::transmute_copy(&end)) { Ok(ok__) => { - core::ptr::write(actualend, core::mem::transmute(ok__)); + actualend.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -755,7 +755,7 @@ impl ISimilarityTraitsMapping_Vtbl { let this = (*this).get_impl(); match ISimilarityTraitsMapping_Impl::CreateView(this, core::mem::transmute_copy(&minimummappedpages), core::mem::transmute_copy(&accessmode)) { Ok(ok__) => { - core::ptr::write(mappedview, core::mem::transmute(ok__)); + mappedview.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -793,7 +793,7 @@ impl ISimilarityTraitsTable_Vtbl { let this = (*this).get_impl(); match ISimilarityTraitsTable_Impl::CreateTable(this, core::mem::transmute(&path), core::mem::transmute_copy(&truncate), core::mem::transmute_copy(&securitydescriptor)) { Ok(ok__) => { - core::ptr::write(isnew, core::mem::transmute(ok__)); + isnew.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -804,7 +804,7 @@ impl ISimilarityTraitsTable_Vtbl { let this = (*this).get_impl(); match ISimilarityTraitsTable_Impl::CreateTableIndirect(this, windows_core::from_raw_borrowed(&mapping), core::mem::transmute_copy(&truncate)) { Ok(ok__) => { - core::ptr::write(isnew, core::mem::transmute(ok__)); + isnew.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -830,7 +830,7 @@ impl ISimilarityTraitsTable_Vtbl { let this = (*this).get_impl(); match ISimilarityTraitsTable_Impl::BeginDump(this) { Ok(ok__) => { - core::ptr::write(similaritytabledumpstate, core::mem::transmute(ok__)); + similaritytabledumpstate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -841,7 +841,7 @@ impl ISimilarityTraitsTable_Vtbl { let this = (*this).get_impl(); match ISimilarityTraitsTable_Impl::GetLastIndex(this) { Ok(ok__) => { - core::ptr::write(fileindex, core::mem::transmute(ok__)); + fileindex.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/Win32/Networking/WinHttp/impl.rs b/crates/libs/windows/src/Windows/Win32/Networking/WinHttp/impl.rs index 68ca931466..eed23ca1d7 100644 --- a/crates/libs/windows/src/Windows/Win32/Networking/WinHttp/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Networking/WinHttp/impl.rs @@ -50,7 +50,7 @@ impl IWinHttpRequest_Vtbl { let this = (*this).get_impl(); match IWinHttpRequest_Impl::GetResponseHeader(this, core::mem::transmute(&header)) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -61,7 +61,7 @@ impl IWinHttpRequest_Vtbl { let this = (*this).get_impl(); match IWinHttpRequest_Impl::GetAllResponseHeaders(this) { Ok(ok__) => { - core::ptr::write(headers, core::mem::transmute(ok__)); + headers.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -77,7 +77,7 @@ impl IWinHttpRequest_Vtbl { let this = (*this).get_impl(); match IWinHttpRequest_Impl::Status(this) { Ok(ok__) => { - core::ptr::write(status, core::mem::transmute(ok__)); + status.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -88,7 +88,7 @@ impl IWinHttpRequest_Vtbl { let this = (*this).get_impl(); match IWinHttpRequest_Impl::StatusText(this) { Ok(ok__) => { - core::ptr::write(status, core::mem::transmute(ok__)); + status.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -99,7 +99,7 @@ impl IWinHttpRequest_Vtbl { let this = (*this).get_impl(); match IWinHttpRequest_Impl::ResponseText(this) { Ok(ok__) => { - core::ptr::write(body, core::mem::transmute(ok__)); + body.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -110,7 +110,7 @@ impl IWinHttpRequest_Vtbl { let this = (*this).get_impl(); match IWinHttpRequest_Impl::ResponseBody(this) { Ok(ok__) => { - core::ptr::write(body, core::mem::transmute(ok__)); + body.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -121,7 +121,7 @@ impl IWinHttpRequest_Vtbl { let this = (*this).get_impl(); match IWinHttpRequest_Impl::ResponseStream(this) { Ok(ok__) => { - core::ptr::write(body, core::mem::transmute(ok__)); + body.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -132,7 +132,7 @@ impl IWinHttpRequest_Vtbl { let this = (*this).get_impl(); match IWinHttpRequest_Impl::get_Option(this, core::mem::transmute_copy(&option)) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -148,7 +148,7 @@ impl IWinHttpRequest_Vtbl { let this = (*this).get_impl(); match IWinHttpRequest_Impl::WaitForResponse(this, core::mem::transmute(&timeout)) { Ok(ok__) => { - core::ptr::write(succeeded, core::mem::transmute(ok__)); + succeeded.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/Win32/Networking/WinInet/impl.rs b/crates/libs/windows/src/Windows/Win32/Networking/WinInet/impl.rs index 2b311ba8f1..fddb3c9ccc 100644 --- a/crates/libs/windows/src/Windows/Win32/Networking/WinInet/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Networking/WinInet/impl.rs @@ -18,7 +18,7 @@ impl IDialBranding_Vtbl { let this = (*this).get_impl(); match IDialBranding_Impl::GetBitmap(this, core::mem::transmute_copy(&dwindex)) { Ok(ok__) => { - core::ptr::write(phbitmap, core::mem::transmute(ok__)); + phbitmap.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -76,7 +76,7 @@ impl IDialEngine_Vtbl { let this = (*this).get_impl(); match IDialEngine_Impl::GetConnectedState(this) { Ok(ok__) => { - core::ptr::write(pdwstate, core::mem::transmute(ok__)); + pdwstate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -87,7 +87,7 @@ impl IDialEngine_Vtbl { let this = (*this).get_impl(); match IDialEngine_Impl::GetConnectHandle(this) { Ok(ok__) => { - core::ptr::write(pdwhandle, core::mem::transmute(ok__)); + pdwhandle.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/Win32/Networking/WindowsWebServices/impl.rs b/crates/libs/windows/src/Windows/Win32/Networking/WindowsWebServices/impl.rs index d96b3846a5..ebf3eefb49 100644 --- a/crates/libs/windows/src/Windows/Win32/Networking/WindowsWebServices/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Networking/WindowsWebServices/impl.rs @@ -15,7 +15,7 @@ impl IContentPrefetcherTaskTrigger_Vtbl { let this = (*this).get_impl(); match IContentPrefetcherTaskTrigger_Impl::IsRegisteredForContentPrefetch(this, core::mem::transmute(&packagefullname)) { Ok(ok__) => { - core::ptr::write(isregistered, core::mem::transmute(ok__)); + isregistered.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/Win32/Security/Authentication/Identity/Provider/impl.rs b/crates/libs/windows/src/Windows/Win32/Security/Authentication/Identity/Provider/impl.rs index a9d57fca16..292ac3c55c 100644 --- a/crates/libs/windows/src/Windows/Win32/Security/Authentication/Identity/Provider/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Security/Authentication/Identity/Provider/impl.rs @@ -22,7 +22,7 @@ impl AsyncIAssociatedIdentityProvider_Vtbl { let this = (*this).get_impl(); match AsyncIAssociatedIdentityProvider_Impl::Finish_AssociateIdentity(this) { Ok(ok__) => { - core::ptr::write(pppropertystore, core::mem::transmute(ok__)); + pppropertystore.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -110,7 +110,7 @@ impl AsyncIConnectedIdentityProvider_Vtbl { let this = (*this).get_impl(); match AsyncIConnectedIdentityProvider_Impl::Finish_IsConnected(this) { Ok(ok__) => { - core::ptr::write(connected, core::mem::transmute(ok__)); + connected.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -136,7 +136,7 @@ impl AsyncIConnectedIdentityProvider_Vtbl { let this = (*this).get_impl(); match AsyncIConnectedIdentityProvider_Impl::Finish_GetAccountState(this) { Ok(ok__) => { - core::ptr::write(pstate, core::mem::transmute(ok__)); + pstate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -265,7 +265,7 @@ impl AsyncIIdentityProvider_Vtbl { let this = (*this).get_impl(); match AsyncIIdentityProvider_Impl::Finish_GetIdentityEnum(this) { Ok(ok__) => { - core::ptr::write(ppidentityenum, core::mem::transmute(ok__)); + ppidentityenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -281,7 +281,7 @@ impl AsyncIIdentityProvider_Vtbl { let this = (*this).get_impl(); match AsyncIIdentityProvider_Impl::Finish_Create(this) { Ok(ok__) => { - core::ptr::write(pppropertystore, core::mem::transmute(ok__)); + pppropertystore.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -317,7 +317,7 @@ impl AsyncIIdentityProvider_Vtbl { let this = (*this).get_impl(); match AsyncIIdentityProvider_Impl::Finish_FindByUniqueID(this) { Ok(ok__) => { - core::ptr::write(pppropertystore, core::mem::transmute(ok__)); + pppropertystore.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -333,7 +333,7 @@ impl AsyncIIdentityProvider_Vtbl { let this = (*this).get_impl(); match AsyncIIdentityProvider_Impl::Finish_GetProviderPropertyStore(this) { Ok(ok__) => { - core::ptr::write(pppropertystore, core::mem::transmute(ok__)); + pppropertystore.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -349,7 +349,7 @@ impl AsyncIIdentityProvider_Vtbl { let this = (*this).get_impl(); match AsyncIIdentityProvider_Impl::Finish_Advise(this) { Ok(ok__) => { - core::ptr::write(pdwcookie, core::mem::transmute(ok__)); + pdwcookie.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -419,7 +419,7 @@ impl AsyncIIdentityStore_Vtbl { let this = (*this).get_impl(); match AsyncIIdentityStore_Impl::Finish_GetCount(this) { Ok(ok__) => { - core::ptr::write(pdwproviders, core::mem::transmute(ok__)); + pdwproviders.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -465,7 +465,7 @@ impl AsyncIIdentityStore_Vtbl { let this = (*this).get_impl(); match AsyncIIdentityStore_Impl::Finish_EnumerateIdentities(this) { Ok(ok__) => { - core::ptr::write(ppidentityenum, core::mem::transmute(ok__)); + ppidentityenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -558,7 +558,7 @@ impl IAssociatedIdentityProvider_Vtbl { let this = (*this).get_impl(); match IAssociatedIdentityProvider_Impl::AssociateIdentity(this, core::mem::transmute_copy(&hwndparent)) { Ok(ok__) => { - core::ptr::write(pppropertystore, core::mem::transmute(ok__)); + pppropertystore.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -613,7 +613,7 @@ impl IConnectedIdentityProvider_Vtbl { let this = (*this).get_impl(); match IConnectedIdentityProvider_Impl::IsConnected(this) { Ok(ok__) => { - core::ptr::write(connected, core::mem::transmute(ok__)); + connected.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -629,7 +629,7 @@ impl IConnectedIdentityProvider_Vtbl { let this = (*this).get_impl(); match IConnectedIdentityProvider_Impl::GetAccountState(this) { Ok(ok__) => { - core::ptr::write(pstate, core::mem::transmute(ok__)); + pstate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -716,7 +716,7 @@ impl IIdentityProvider_Vtbl { let this = (*this).get_impl(); match IIdentityProvider_Impl::GetIdentityEnum(this, core::mem::transmute_copy(&eidentitytype), core::mem::transmute_copy(&pfilterkey), core::mem::transmute_copy(&pfilterpropvarvalue)) { Ok(ok__) => { - core::ptr::write(ppidentityenum, core::mem::transmute(ok__)); + ppidentityenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -742,7 +742,7 @@ impl IIdentityProvider_Vtbl { let this = (*this).get_impl(); match IIdentityProvider_Impl::FindByUniqueID(this, core::mem::transmute(&lpszuniqueid)) { Ok(ok__) => { - core::ptr::write(pppropertystore, core::mem::transmute(ok__)); + pppropertystore.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -753,7 +753,7 @@ impl IIdentityProvider_Vtbl { let this = (*this).get_impl(); match IIdentityProvider_Impl::GetProviderPropertyStore(this) { Ok(ok__) => { - core::ptr::write(pppropertystore, core::mem::transmute(ok__)); + pppropertystore.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -764,7 +764,7 @@ impl IIdentityProvider_Vtbl { let this = (*this).get_impl(); match IIdentityProvider_Impl::Advise(this, windows_core::from_raw_borrowed(&pidentityadvise), core::mem::transmute(&dwidentityupdateevents)) { Ok(ok__) => { - core::ptr::write(pdwcookie, core::mem::transmute(ok__)); + pdwcookie.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -810,7 +810,7 @@ impl IIdentityStore_Vtbl { let this = (*this).get_impl(); match IIdentityStore_Impl::GetCount(this) { Ok(ok__) => { - core::ptr::write(pdwproviders, core::mem::transmute(ok__)); + pdwproviders.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -836,7 +836,7 @@ impl IIdentityStore_Vtbl { let this = (*this).get_impl(); match IIdentityStore_Impl::EnumerateIdentities(this, core::mem::transmute_copy(&eidentitytype), core::mem::transmute_copy(&pfilterkey), core::mem::transmute_copy(&pfilterpropvarvalue)) { Ok(ok__) => { - core::ptr::write(ppidentityenum, core::mem::transmute(ok__)); + ppidentityenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/Win32/Security/Authorization/UI/impl.rs b/crates/libs/windows/src/Windows/Win32/Security/Authorization/UI/impl.rs index 46cb8226bc..ad01b171de 100644 --- a/crates/libs/windows/src/Windows/Win32/Security/Authorization/UI/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Security/Authorization/UI/impl.rs @@ -169,7 +169,7 @@ impl ISecurityInformation2_Vtbl { let this = (*this).get_impl(); match ISecurityInformation2_Impl::LookupSids(this, core::mem::transmute_copy(&csids), core::mem::transmute_copy(&rgpsids)) { Ok(ok__) => { - core::ptr::write(ppdo, core::mem::transmute(ok__)); + ppdo.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -197,7 +197,7 @@ impl ISecurityInformation3_Vtbl { let this = (*this).get_impl(); match ISecurityInformation3_Impl::GetFullResourceName(this) { Ok(ok__) => { - core::ptr::write(ppszresourcename, core::mem::transmute(ok__)); + ppszresourcename.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/Win32/Security/Authorization/impl.rs b/crates/libs/windows/src/Windows/Win32/Security/Authorization/impl.rs index 659a694be9..a99e6f4b4e 100644 --- a/crates/libs/windows/src/Windows/Win32/Security/Authorization/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Security/Authorization/impl.rs @@ -72,7 +72,7 @@ impl IAzApplication_Vtbl { let this = (*this).get_impl(); match IAzApplication_Impl::Name(this) { Ok(ok__) => { - core::ptr::write(pbstrname, core::mem::transmute(ok__)); + pbstrname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -88,7 +88,7 @@ impl IAzApplication_Vtbl { let this = (*this).get_impl(); match IAzApplication_Impl::Description(this) { Ok(ok__) => { - core::ptr::write(pbstrdescription, core::mem::transmute(ok__)); + pbstrdescription.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -104,7 +104,7 @@ impl IAzApplication_Vtbl { let this = (*this).get_impl(); match IAzApplication_Impl::ApplicationData(this) { Ok(ok__) => { - core::ptr::write(pbstrapplicationdata, core::mem::transmute(ok__)); + pbstrapplicationdata.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -120,7 +120,7 @@ impl IAzApplication_Vtbl { let this = (*this).get_impl(); match IAzApplication_Impl::AuthzInterfaceClsid(this) { Ok(ok__) => { - core::ptr::write(pbstrprop, core::mem::transmute(ok__)); + pbstrprop.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -136,7 +136,7 @@ impl IAzApplication_Vtbl { let this = (*this).get_impl(); match IAzApplication_Impl::Version(this) { Ok(ok__) => { - core::ptr::write(pbstrprop, core::mem::transmute(ok__)); + pbstrprop.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -152,7 +152,7 @@ impl IAzApplication_Vtbl { let this = (*this).get_impl(); match IAzApplication_Impl::GenerateAudits(this) { Ok(ok__) => { - core::ptr::write(pbprop, core::mem::transmute(ok__)); + pbprop.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -168,7 +168,7 @@ impl IAzApplication_Vtbl { let this = (*this).get_impl(); match IAzApplication_Impl::ApplyStoreSacl(this) { Ok(ok__) => { - core::ptr::write(pbprop, core::mem::transmute(ok__)); + pbprop.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -184,7 +184,7 @@ impl IAzApplication_Vtbl { let this = (*this).get_impl(); match IAzApplication_Impl::Writable(this) { Ok(ok__) => { - core::ptr::write(pfprop, core::mem::transmute(ok__)); + pfprop.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -195,7 +195,7 @@ impl IAzApplication_Vtbl { let this = (*this).get_impl(); match IAzApplication_Impl::GetProperty(this, core::mem::transmute_copy(&lpropid), core::mem::transmute(&varreserved)) { Ok(ok__) => { - core::ptr::write(pvarprop, core::mem::transmute(ok__)); + pvarprop.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -211,7 +211,7 @@ impl IAzApplication_Vtbl { let this = (*this).get_impl(); match IAzApplication_Impl::PolicyAdministrators(this) { Ok(ok__) => { - core::ptr::write(pvaradmins, core::mem::transmute(ok__)); + pvaradmins.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -222,7 +222,7 @@ impl IAzApplication_Vtbl { let this = (*this).get_impl(); match IAzApplication_Impl::PolicyReaders(this) { Ok(ok__) => { - core::ptr::write(pvarreaders, core::mem::transmute(ok__)); + pvarreaders.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -253,7 +253,7 @@ impl IAzApplication_Vtbl { let this = (*this).get_impl(); match IAzApplication_Impl::Scopes(this) { Ok(ok__) => { - core::ptr::write(ppscopecollection, core::mem::transmute(ok__)); + ppscopecollection.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -264,7 +264,7 @@ impl IAzApplication_Vtbl { let this = (*this).get_impl(); match IAzApplication_Impl::OpenScope(this, core::mem::transmute(&bstrscopename), core::mem::transmute(&varreserved)) { Ok(ok__) => { - core::ptr::write(ppscope, core::mem::transmute(ok__)); + ppscope.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -275,7 +275,7 @@ impl IAzApplication_Vtbl { let this = (*this).get_impl(); match IAzApplication_Impl::CreateScope(this, core::mem::transmute(&bstrscopename), core::mem::transmute(&varreserved)) { Ok(ok__) => { - core::ptr::write(ppscope, core::mem::transmute(ok__)); + ppscope.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -291,7 +291,7 @@ impl IAzApplication_Vtbl { let this = (*this).get_impl(); match IAzApplication_Impl::Operations(this) { Ok(ok__) => { - core::ptr::write(ppoperationcollection, core::mem::transmute(ok__)); + ppoperationcollection.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -302,7 +302,7 @@ impl IAzApplication_Vtbl { let this = (*this).get_impl(); match IAzApplication_Impl::OpenOperation(this, core::mem::transmute(&bstroperationname), core::mem::transmute(&varreserved)) { Ok(ok__) => { - core::ptr::write(ppoperation, core::mem::transmute(ok__)); + ppoperation.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -313,7 +313,7 @@ impl IAzApplication_Vtbl { let this = (*this).get_impl(); match IAzApplication_Impl::CreateOperation(this, core::mem::transmute(&bstroperationname), core::mem::transmute(&varreserved)) { Ok(ok__) => { - core::ptr::write(ppoperation, core::mem::transmute(ok__)); + ppoperation.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -329,7 +329,7 @@ impl IAzApplication_Vtbl { let this = (*this).get_impl(); match IAzApplication_Impl::Tasks(this) { Ok(ok__) => { - core::ptr::write(pptaskcollection, core::mem::transmute(ok__)); + pptaskcollection.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -340,7 +340,7 @@ impl IAzApplication_Vtbl { let this = (*this).get_impl(); match IAzApplication_Impl::OpenTask(this, core::mem::transmute(&bstrtaskname), core::mem::transmute(&varreserved)) { Ok(ok__) => { - core::ptr::write(pptask, core::mem::transmute(ok__)); + pptask.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -351,7 +351,7 @@ impl IAzApplication_Vtbl { let this = (*this).get_impl(); match IAzApplication_Impl::CreateTask(this, core::mem::transmute(&bstrtaskname), core::mem::transmute(&varreserved)) { Ok(ok__) => { - core::ptr::write(pptask, core::mem::transmute(ok__)); + pptask.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -367,7 +367,7 @@ impl IAzApplication_Vtbl { let this = (*this).get_impl(); match IAzApplication_Impl::ApplicationGroups(this) { Ok(ok__) => { - core::ptr::write(ppgroupcollection, core::mem::transmute(ok__)); + ppgroupcollection.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -378,7 +378,7 @@ impl IAzApplication_Vtbl { let this = (*this).get_impl(); match IAzApplication_Impl::OpenApplicationGroup(this, core::mem::transmute(&bstrgroupname), core::mem::transmute(&varreserved)) { Ok(ok__) => { - core::ptr::write(ppgroup, core::mem::transmute(ok__)); + ppgroup.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -389,7 +389,7 @@ impl IAzApplication_Vtbl { let this = (*this).get_impl(); match IAzApplication_Impl::CreateApplicationGroup(this, core::mem::transmute(&bstrgroupname), core::mem::transmute(&varreserved)) { Ok(ok__) => { - core::ptr::write(ppgroup, core::mem::transmute(ok__)); + ppgroup.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -405,7 +405,7 @@ impl IAzApplication_Vtbl { let this = (*this).get_impl(); match IAzApplication_Impl::Roles(this) { Ok(ok__) => { - core::ptr::write(pprolecollection, core::mem::transmute(ok__)); + pprolecollection.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -416,7 +416,7 @@ impl IAzApplication_Vtbl { let this = (*this).get_impl(); match IAzApplication_Impl::OpenRole(this, core::mem::transmute(&bstrrolename), core::mem::transmute(&varreserved)) { Ok(ok__) => { - core::ptr::write(pprole, core::mem::transmute(ok__)); + pprole.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -427,7 +427,7 @@ impl IAzApplication_Vtbl { let this = (*this).get_impl(); match IAzApplication_Impl::CreateRole(this, core::mem::transmute(&bstrrolename), core::mem::transmute(&varreserved)) { Ok(ok__) => { - core::ptr::write(pprole, core::mem::transmute(ok__)); + pprole.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -443,7 +443,7 @@ impl IAzApplication_Vtbl { let this = (*this).get_impl(); match IAzApplication_Impl::InitializeClientContextFromToken(this, core::mem::transmute_copy(&ulltokenhandle), core::mem::transmute(&varreserved)) { Ok(ok__) => { - core::ptr::write(ppclientcontext, core::mem::transmute(ok__)); + ppclientcontext.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -469,7 +469,7 @@ impl IAzApplication_Vtbl { let this = (*this).get_impl(); match IAzApplication_Impl::InitializeClientContextFromName(this, core::mem::transmute(&clientname), core::mem::transmute(&domainname), core::mem::transmute(&varreserved)) { Ok(ok__) => { - core::ptr::write(ppclientcontext, core::mem::transmute(ok__)); + ppclientcontext.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -480,7 +480,7 @@ impl IAzApplication_Vtbl { let this = (*this).get_impl(); match IAzApplication_Impl::DelegatedPolicyUsers(this) { Ok(ok__) => { - core::ptr::write(pvardelegatedpolicyusers, core::mem::transmute(ok__)); + pvardelegatedpolicyusers.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -501,7 +501,7 @@ impl IAzApplication_Vtbl { let this = (*this).get_impl(); match IAzApplication_Impl::InitializeClientContextFromStringSid(this, core::mem::transmute(&sidstring), core::mem::transmute_copy(&loptions), core::mem::transmute(&varreserved)) { Ok(ok__) => { - core::ptr::write(ppclientcontext, core::mem::transmute(ok__)); + ppclientcontext.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -512,7 +512,7 @@ impl IAzApplication_Vtbl { let this = (*this).get_impl(); match IAzApplication_Impl::PolicyAdministratorsName(this) { Ok(ok__) => { - core::ptr::write(pvaradmins, core::mem::transmute(ok__)); + pvaradmins.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -523,7 +523,7 @@ impl IAzApplication_Vtbl { let this = (*this).get_impl(); match IAzApplication_Impl::PolicyReadersName(this) { Ok(ok__) => { - core::ptr::write(pvarreaders, core::mem::transmute(ok__)); + pvarreaders.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -554,7 +554,7 @@ impl IAzApplication_Vtbl { let this = (*this).get_impl(); match IAzApplication_Impl::DelegatedPolicyUsersName(this) { Ok(ok__) => { - core::ptr::write(pvardelegatedpolicyusers, core::mem::transmute(ok__)); + pvardelegatedpolicyusers.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -654,7 +654,7 @@ impl IAzApplication2_Vtbl { let this = (*this).get_impl(); match IAzApplication2_Impl::InitializeClientContextFromToken2(this, core::mem::transmute_copy(&ultokenhandlelowpart), core::mem::transmute_copy(&ultokenhandlehighpart), core::mem::transmute(&varreserved)) { Ok(ok__) => { - core::ptr::write(ppclientcontext, core::mem::transmute(ok__)); + ppclientcontext.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -665,7 +665,7 @@ impl IAzApplication2_Vtbl { let this = (*this).get_impl(); match IAzApplication2_Impl::InitializeClientContext2(this, core::mem::transmute(&identifyingstring), core::mem::transmute(&varreserved)) { Ok(ok__) => { - core::ptr::write(ppclientcontext, core::mem::transmute(ok__)); + ppclientcontext.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -708,7 +708,7 @@ impl IAzApplication3_Vtbl { let this = (*this).get_impl(); match IAzApplication3_Impl::ScopeExists(this, core::mem::transmute(&bstrscopename)) { Ok(ok__) => { - core::ptr::write(pbexist, core::mem::transmute(ok__)); + pbexist.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -719,7 +719,7 @@ impl IAzApplication3_Vtbl { let this = (*this).get_impl(); match IAzApplication3_Impl::OpenScope2(this, core::mem::transmute(&bstrscopename)) { Ok(ok__) => { - core::ptr::write(ppscope2, core::mem::transmute(ok__)); + ppscope2.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -730,7 +730,7 @@ impl IAzApplication3_Vtbl { let this = (*this).get_impl(); match IAzApplication3_Impl::CreateScope2(this, core::mem::transmute(&bstrscopename)) { Ok(ok__) => { - core::ptr::write(ppscope2, core::mem::transmute(ok__)); + ppscope2.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -746,7 +746,7 @@ impl IAzApplication3_Vtbl { let this = (*this).get_impl(); match IAzApplication3_Impl::RoleDefinitions(this) { Ok(ok__) => { - core::ptr::write(pproledefinitions, core::mem::transmute(ok__)); + pproledefinitions.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -757,7 +757,7 @@ impl IAzApplication3_Vtbl { let this = (*this).get_impl(); match IAzApplication3_Impl::CreateRoleDefinition(this, core::mem::transmute(&bstrroledefinitionname)) { Ok(ok__) => { - core::ptr::write(pproledefinitions, core::mem::transmute(ok__)); + pproledefinitions.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -768,7 +768,7 @@ impl IAzApplication3_Vtbl { let this = (*this).get_impl(); match IAzApplication3_Impl::OpenRoleDefinition(this, core::mem::transmute(&bstrroledefinitionname)) { Ok(ok__) => { - core::ptr::write(pproledefinitions, core::mem::transmute(ok__)); + pproledefinitions.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -784,7 +784,7 @@ impl IAzApplication3_Vtbl { let this = (*this).get_impl(); match IAzApplication3_Impl::RoleAssignments(this) { Ok(ok__) => { - core::ptr::write(pproleassignments, core::mem::transmute(ok__)); + pproleassignments.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -795,7 +795,7 @@ impl IAzApplication3_Vtbl { let this = (*this).get_impl(); match IAzApplication3_Impl::CreateRoleAssignment(this, core::mem::transmute(&bstrroleassignmentname)) { Ok(ok__) => { - core::ptr::write(pproleassignment, core::mem::transmute(ok__)); + pproleassignment.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -806,7 +806,7 @@ impl IAzApplication3_Vtbl { let this = (*this).get_impl(); match IAzApplication3_Impl::OpenRoleAssignment(this, core::mem::transmute(&bstrroleassignmentname)) { Ok(ok__) => { - core::ptr::write(pproleassignment, core::mem::transmute(ok__)); + pproleassignment.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -822,7 +822,7 @@ impl IAzApplication3_Vtbl { let this = (*this).get_impl(); match IAzApplication3_Impl::BizRulesEnabled(this) { Ok(ok__) => { - core::ptr::write(pbenabled, core::mem::transmute(ok__)); + pbenabled.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -900,7 +900,7 @@ impl IAzApplicationGroup_Vtbl { let this = (*this).get_impl(); match IAzApplicationGroup_Impl::Name(this) { Ok(ok__) => { - core::ptr::write(pbstrname, core::mem::transmute(ok__)); + pbstrname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -916,7 +916,7 @@ impl IAzApplicationGroup_Vtbl { let this = (*this).get_impl(); match IAzApplicationGroup_Impl::Type(this) { Ok(ok__) => { - core::ptr::write(plprop, core::mem::transmute(ok__)); + plprop.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -932,7 +932,7 @@ impl IAzApplicationGroup_Vtbl { let this = (*this).get_impl(); match IAzApplicationGroup_Impl::LdapQuery(this) { Ok(ok__) => { - core::ptr::write(pbstrprop, core::mem::transmute(ok__)); + pbstrprop.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -948,7 +948,7 @@ impl IAzApplicationGroup_Vtbl { let this = (*this).get_impl(); match IAzApplicationGroup_Impl::AppMembers(this) { Ok(ok__) => { - core::ptr::write(pvarprop, core::mem::transmute(ok__)); + pvarprop.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -959,7 +959,7 @@ impl IAzApplicationGroup_Vtbl { let this = (*this).get_impl(); match IAzApplicationGroup_Impl::AppNonMembers(this) { Ok(ok__) => { - core::ptr::write(pvarprop, core::mem::transmute(ok__)); + pvarprop.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -970,7 +970,7 @@ impl IAzApplicationGroup_Vtbl { let this = (*this).get_impl(); match IAzApplicationGroup_Impl::Members(this) { Ok(ok__) => { - core::ptr::write(pvarprop, core::mem::transmute(ok__)); + pvarprop.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -981,7 +981,7 @@ impl IAzApplicationGroup_Vtbl { let this = (*this).get_impl(); match IAzApplicationGroup_Impl::NonMembers(this) { Ok(ok__) => { - core::ptr::write(pvarprop, core::mem::transmute(ok__)); + pvarprop.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -992,7 +992,7 @@ impl IAzApplicationGroup_Vtbl { let this = (*this).get_impl(); match IAzApplicationGroup_Impl::Description(this) { Ok(ok__) => { - core::ptr::write(pbstrdescription, core::mem::transmute(ok__)); + pbstrdescription.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1048,7 +1048,7 @@ impl IAzApplicationGroup_Vtbl { let this = (*this).get_impl(); match IAzApplicationGroup_Impl::Writable(this) { Ok(ok__) => { - core::ptr::write(pfprop, core::mem::transmute(ok__)); + pfprop.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1059,7 +1059,7 @@ impl IAzApplicationGroup_Vtbl { let this = (*this).get_impl(); match IAzApplicationGroup_Impl::GetProperty(this, core::mem::transmute_copy(&lpropid), core::mem::transmute(&varreserved)) { Ok(ok__) => { - core::ptr::write(pvarprop, core::mem::transmute(ok__)); + pvarprop.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1110,7 +1110,7 @@ impl IAzApplicationGroup_Vtbl { let this = (*this).get_impl(); match IAzApplicationGroup_Impl::MembersName(this) { Ok(ok__) => { - core::ptr::write(pvarprop, core::mem::transmute(ok__)); + pvarprop.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1121,7 +1121,7 @@ impl IAzApplicationGroup_Vtbl { let this = (*this).get_impl(); match IAzApplicationGroup_Impl::NonMembersName(this) { Ok(ok__) => { - core::ptr::write(pvarprop, core::mem::transmute(ok__)); + pvarprop.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1187,7 +1187,7 @@ impl IAzApplicationGroup2_Vtbl { let this = (*this).get_impl(); match IAzApplicationGroup2_Impl::BizRule(this) { Ok(ok__) => { - core::ptr::write(pbstrprop, core::mem::transmute(ok__)); + pbstrprop.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1203,7 +1203,7 @@ impl IAzApplicationGroup2_Vtbl { let this = (*this).get_impl(); match IAzApplicationGroup2_Impl::BizRuleLanguage(this) { Ok(ok__) => { - core::ptr::write(pbstrprop, core::mem::transmute(ok__)); + pbstrprop.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1219,7 +1219,7 @@ impl IAzApplicationGroup2_Vtbl { let this = (*this).get_impl(); match IAzApplicationGroup2_Impl::BizRuleImportedPath(this) { Ok(ok__) => { - core::ptr::write(pbstrprop, core::mem::transmute(ok__)); + pbstrprop.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1235,7 +1235,7 @@ impl IAzApplicationGroup2_Vtbl { let this = (*this).get_impl(); match IAzApplicationGroup2_Impl::RoleAssignments(this, core::mem::transmute(&bstrscopename), core::mem::transmute_copy(&brecursive)) { Ok(ok__) => { - core::ptr::write(pproleassignments, core::mem::transmute(ok__)); + pproleassignments.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1272,7 +1272,7 @@ impl IAzApplicationGroups_Vtbl { let this = (*this).get_impl(); match IAzApplicationGroups_Impl::get_Item(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(pvarobtptr, core::mem::transmute(ok__)); + pvarobtptr.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1283,7 +1283,7 @@ impl IAzApplicationGroups_Vtbl { let this = (*this).get_impl(); match IAzApplicationGroups_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(plcount, core::mem::transmute(ok__)); + plcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1294,7 +1294,7 @@ impl IAzApplicationGroups_Vtbl { let this = (*this).get_impl(); match IAzApplicationGroups_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(ppenumptr, core::mem::transmute(ok__)); + ppenumptr.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1327,7 +1327,7 @@ impl IAzApplications_Vtbl { let this = (*this).get_impl(); match IAzApplications_Impl::get_Item(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(pvarobtptr, core::mem::transmute(ok__)); + pvarobtptr.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1338,7 +1338,7 @@ impl IAzApplications_Vtbl { let this = (*this).get_impl(); match IAzApplications_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(plcount, core::mem::transmute(ok__)); + plcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1349,7 +1349,7 @@ impl IAzApplications_Vtbl { let this = (*this).get_impl(); match IAzApplications_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(ppenumptr, core::mem::transmute(ok__)); + ppenumptr.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1430,7 +1430,7 @@ impl IAzAuthorizationStore_Vtbl { let this = (*this).get_impl(); match IAzAuthorizationStore_Impl::Description(this) { Ok(ok__) => { - core::ptr::write(pbstrdescription, core::mem::transmute(ok__)); + pbstrdescription.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1446,7 +1446,7 @@ impl IAzAuthorizationStore_Vtbl { let this = (*this).get_impl(); match IAzAuthorizationStore_Impl::ApplicationData(this) { Ok(ok__) => { - core::ptr::write(pbstrapplicationdata, core::mem::transmute(ok__)); + pbstrapplicationdata.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1462,7 +1462,7 @@ impl IAzAuthorizationStore_Vtbl { let this = (*this).get_impl(); match IAzAuthorizationStore_Impl::DomainTimeout(this) { Ok(ok__) => { - core::ptr::write(plprop, core::mem::transmute(ok__)); + plprop.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1478,7 +1478,7 @@ impl IAzAuthorizationStore_Vtbl { let this = (*this).get_impl(); match IAzAuthorizationStore_Impl::ScriptEngineTimeout(this) { Ok(ok__) => { - core::ptr::write(plprop, core::mem::transmute(ok__)); + plprop.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1494,7 +1494,7 @@ impl IAzAuthorizationStore_Vtbl { let this = (*this).get_impl(); match IAzAuthorizationStore_Impl::MaxScriptEngines(this) { Ok(ok__) => { - core::ptr::write(plprop, core::mem::transmute(ok__)); + plprop.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1510,7 +1510,7 @@ impl IAzAuthorizationStore_Vtbl { let this = (*this).get_impl(); match IAzAuthorizationStore_Impl::GenerateAudits(this) { Ok(ok__) => { - core::ptr::write(pbprop, core::mem::transmute(ok__)); + pbprop.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1526,7 +1526,7 @@ impl IAzAuthorizationStore_Vtbl { let this = (*this).get_impl(); match IAzAuthorizationStore_Impl::Writable(this) { Ok(ok__) => { - core::ptr::write(pfprop, core::mem::transmute(ok__)); + pfprop.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1537,7 +1537,7 @@ impl IAzAuthorizationStore_Vtbl { let this = (*this).get_impl(); match IAzAuthorizationStore_Impl::GetProperty(this, core::mem::transmute_copy(&lpropid), core::mem::transmute(&varreserved)) { Ok(ok__) => { - core::ptr::write(pvarprop, core::mem::transmute(ok__)); + pvarprop.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1563,7 +1563,7 @@ impl IAzAuthorizationStore_Vtbl { let this = (*this).get_impl(); match IAzAuthorizationStore_Impl::PolicyAdministrators(this) { Ok(ok__) => { - core::ptr::write(pvaradmins, core::mem::transmute(ok__)); + pvaradmins.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1574,7 +1574,7 @@ impl IAzAuthorizationStore_Vtbl { let this = (*this).get_impl(); match IAzAuthorizationStore_Impl::PolicyReaders(this) { Ok(ok__) => { - core::ptr::write(pvarreaders, core::mem::transmute(ok__)); + pvarreaders.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1620,7 +1620,7 @@ impl IAzAuthorizationStore_Vtbl { let this = (*this).get_impl(); match IAzAuthorizationStore_Impl::Applications(this) { Ok(ok__) => { - core::ptr::write(ppappcollection, core::mem::transmute(ok__)); + ppappcollection.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1631,7 +1631,7 @@ impl IAzAuthorizationStore_Vtbl { let this = (*this).get_impl(); match IAzAuthorizationStore_Impl::OpenApplication(this, core::mem::transmute(&bstrapplicationname), core::mem::transmute(&varreserved)) { Ok(ok__) => { - core::ptr::write(ppapplication, core::mem::transmute(ok__)); + ppapplication.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1642,7 +1642,7 @@ impl IAzAuthorizationStore_Vtbl { let this = (*this).get_impl(); match IAzAuthorizationStore_Impl::CreateApplication(this, core::mem::transmute(&bstrapplicationname), core::mem::transmute(&varreserved)) { Ok(ok__) => { - core::ptr::write(ppapplication, core::mem::transmute(ok__)); + ppapplication.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1658,7 +1658,7 @@ impl IAzAuthorizationStore_Vtbl { let this = (*this).get_impl(); match IAzAuthorizationStore_Impl::ApplicationGroups(this) { Ok(ok__) => { - core::ptr::write(ppgroupcollection, core::mem::transmute(ok__)); + ppgroupcollection.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1669,7 +1669,7 @@ impl IAzAuthorizationStore_Vtbl { let this = (*this).get_impl(); match IAzAuthorizationStore_Impl::CreateApplicationGroup(this, core::mem::transmute(&bstrgroupname), core::mem::transmute(&varreserved)) { Ok(ok__) => { - core::ptr::write(ppgroup, core::mem::transmute(ok__)); + ppgroup.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1680,7 +1680,7 @@ impl IAzAuthorizationStore_Vtbl { let this = (*this).get_impl(); match IAzAuthorizationStore_Impl::OpenApplicationGroup(this, core::mem::transmute(&bstrgroupname), core::mem::transmute(&varreserved)) { Ok(ok__) => { - core::ptr::write(ppgroup, core::mem::transmute(ok__)); + ppgroup.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1701,7 +1701,7 @@ impl IAzAuthorizationStore_Vtbl { let this = (*this).get_impl(); match IAzAuthorizationStore_Impl::DelegatedPolicyUsers(this) { Ok(ok__) => { - core::ptr::write(pvardelegatedpolicyusers, core::mem::transmute(ok__)); + pvardelegatedpolicyusers.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1722,7 +1722,7 @@ impl IAzAuthorizationStore_Vtbl { let this = (*this).get_impl(); match IAzAuthorizationStore_Impl::TargetMachine(this) { Ok(ok__) => { - core::ptr::write(pbstrtargetmachine, core::mem::transmute(ok__)); + pbstrtargetmachine.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1733,7 +1733,7 @@ impl IAzAuthorizationStore_Vtbl { let this = (*this).get_impl(); match IAzAuthorizationStore_Impl::ApplyStoreSacl(this) { Ok(ok__) => { - core::ptr::write(pbapplystoresacl, core::mem::transmute(ok__)); + pbapplystoresacl.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1749,7 +1749,7 @@ impl IAzAuthorizationStore_Vtbl { let this = (*this).get_impl(); match IAzAuthorizationStore_Impl::PolicyAdministratorsName(this) { Ok(ok__) => { - core::ptr::write(pvaradmins, core::mem::transmute(ok__)); + pvaradmins.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1760,7 +1760,7 @@ impl IAzAuthorizationStore_Vtbl { let this = (*this).get_impl(); match IAzAuthorizationStore_Impl::PolicyReadersName(this) { Ok(ok__) => { - core::ptr::write(pvarreaders, core::mem::transmute(ok__)); + pvarreaders.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1791,7 +1791,7 @@ impl IAzAuthorizationStore_Vtbl { let this = (*this).get_impl(); match IAzAuthorizationStore_Impl::DelegatedPolicyUsersName(this) { Ok(ok__) => { - core::ptr::write(pvardelegatedpolicyusers, core::mem::transmute(ok__)); + pvardelegatedpolicyusers.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1886,7 +1886,7 @@ impl IAzAuthorizationStore2_Vtbl { let this = (*this).get_impl(); match IAzAuthorizationStore2_Impl::OpenApplication2(this, core::mem::transmute(&bstrapplicationname), core::mem::transmute(&varreserved)) { Ok(ok__) => { - core::ptr::write(ppapplication, core::mem::transmute(ok__)); + ppapplication.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1897,7 +1897,7 @@ impl IAzAuthorizationStore2_Vtbl { let this = (*this).get_impl(); match IAzAuthorizationStore2_Impl::CreateApplication2(this, core::mem::transmute(&bstrapplicationname), core::mem::transmute(&varreserved)) { Ok(ok__) => { - core::ptr::write(ppapplication, core::mem::transmute(ok__)); + ppapplication.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1931,7 +1931,7 @@ impl IAzAuthorizationStore3_Vtbl { let this = (*this).get_impl(); match IAzAuthorizationStore3_Impl::IsUpdateNeeded(this) { Ok(ok__) => { - core::ptr::write(pbisupdateneeded, core::mem::transmute(ok__)); + pbisupdateneeded.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1942,7 +1942,7 @@ impl IAzAuthorizationStore3_Vtbl { let this = (*this).get_impl(); match IAzAuthorizationStore3_Impl::BizruleGroupSupported(this) { Ok(ok__) => { - core::ptr::write(pbsupported, core::mem::transmute(ok__)); + pbsupported.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1958,7 +1958,7 @@ impl IAzAuthorizationStore3_Vtbl { let this = (*this).get_impl(); match IAzAuthorizationStore3_Impl::IsFunctionalLevelUpgradeSupported(this, core::mem::transmute_copy(&lfunctionallevel)) { Ok(ok__) => { - core::ptr::write(pbsupported, core::mem::transmute(ok__)); + pbsupported.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2009,7 +2009,7 @@ impl IAzBizRuleContext_Vtbl { let this = (*this).get_impl(); match IAzBizRuleContext_Impl::BusinessRuleString(this) { Ok(ok__) => { - core::ptr::write(pbstrbusinessrulestring, core::mem::transmute(ok__)); + pbstrbusinessrulestring.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2020,7 +2020,7 @@ impl IAzBizRuleContext_Vtbl { let this = (*this).get_impl(); match IAzBizRuleContext_Impl::GetParameter(this, core::mem::transmute(&bstrparametername)) { Ok(ok__) => { - core::ptr::write(pvarparametervalue, core::mem::transmute(ok__)); + pvarparametervalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2082,7 +2082,7 @@ impl IAzBizRuleInterfaces_Vtbl { let this = (*this).get_impl(); match IAzBizRuleInterfaces_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(plcount, core::mem::transmute(ok__)); + plcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2131,7 +2131,7 @@ impl IAzBizRuleParameters_Vtbl { let this = (*this).get_impl(); match IAzBizRuleParameters_Impl::GetParameterValue(this, core::mem::transmute(&bstrparametername)) { Ok(ok__) => { - core::ptr::write(pvarparametervalue, core::mem::transmute(ok__)); + pvarparametervalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2152,7 +2152,7 @@ impl IAzBizRuleParameters_Vtbl { let this = (*this).get_impl(); match IAzBizRuleParameters_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(plcount, core::mem::transmute(ok__)); + plcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2198,7 +2198,7 @@ impl IAzClientContext_Vtbl { let this = (*this).get_impl(); match IAzClientContext_Impl::AccessCheck(this, core::mem::transmute(&bstrobjectname), core::mem::transmute(&varscopenames), core::mem::transmute(&varoperations), core::mem::transmute(&varparameternames), core::mem::transmute(&varparametervalues), core::mem::transmute(&varinterfacenames), core::mem::transmute(&varinterfaceflags), core::mem::transmute(&varinterfaces)) { Ok(ok__) => { - core::ptr::write(pvarresults, core::mem::transmute(ok__)); + pvarresults.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2209,7 +2209,7 @@ impl IAzClientContext_Vtbl { let this = (*this).get_impl(); match IAzClientContext_Impl::GetBusinessRuleString(this) { Ok(ok__) => { - core::ptr::write(pbstrbusinessrulestring, core::mem::transmute(ok__)); + pbstrbusinessrulestring.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2220,7 +2220,7 @@ impl IAzClientContext_Vtbl { let this = (*this).get_impl(); match IAzClientContext_Impl::UserDn(this) { Ok(ok__) => { - core::ptr::write(pbstrprop, core::mem::transmute(ok__)); + pbstrprop.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2231,7 +2231,7 @@ impl IAzClientContext_Vtbl { let this = (*this).get_impl(); match IAzClientContext_Impl::UserSamCompat(this) { Ok(ok__) => { - core::ptr::write(pbstrprop, core::mem::transmute(ok__)); + pbstrprop.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2242,7 +2242,7 @@ impl IAzClientContext_Vtbl { let this = (*this).get_impl(); match IAzClientContext_Impl::UserDisplay(this) { Ok(ok__) => { - core::ptr::write(pbstrprop, core::mem::transmute(ok__)); + pbstrprop.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2253,7 +2253,7 @@ impl IAzClientContext_Vtbl { let this = (*this).get_impl(); match IAzClientContext_Impl::UserGuid(this) { Ok(ok__) => { - core::ptr::write(pbstrprop, core::mem::transmute(ok__)); + pbstrprop.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2264,7 +2264,7 @@ impl IAzClientContext_Vtbl { let this = (*this).get_impl(); match IAzClientContext_Impl::UserCanonical(this) { Ok(ok__) => { - core::ptr::write(pbstrprop, core::mem::transmute(ok__)); + pbstrprop.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2275,7 +2275,7 @@ impl IAzClientContext_Vtbl { let this = (*this).get_impl(); match IAzClientContext_Impl::UserUpn(this) { Ok(ok__) => { - core::ptr::write(pbstrprop, core::mem::transmute(ok__)); + pbstrprop.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2286,7 +2286,7 @@ impl IAzClientContext_Vtbl { let this = (*this).get_impl(); match IAzClientContext_Impl::UserDnsSamCompat(this) { Ok(ok__) => { - core::ptr::write(pbstrprop, core::mem::transmute(ok__)); + pbstrprop.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2297,7 +2297,7 @@ impl IAzClientContext_Vtbl { let this = (*this).get_impl(); match IAzClientContext_Impl::GetProperty(this, core::mem::transmute_copy(&lpropid), core::mem::transmute(&varreserved)) { Ok(ok__) => { - core::ptr::write(pvarprop, core::mem::transmute(ok__)); + pvarprop.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2308,7 +2308,7 @@ impl IAzClientContext_Vtbl { let this = (*this).get_impl(); match IAzClientContext_Impl::GetRoles(this, core::mem::transmute(&bstrscopename)) { Ok(ok__) => { - core::ptr::write(pvarrolenames, core::mem::transmute(ok__)); + pvarrolenames.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2319,7 +2319,7 @@ impl IAzClientContext_Vtbl { let this = (*this).get_impl(); match IAzClientContext_Impl::RoleForAccessCheck(this) { Ok(ok__) => { - core::ptr::write(pbstrprop, core::mem::transmute(ok__)); + pbstrprop.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2395,7 +2395,7 @@ impl IAzClientContext2_Vtbl { let this = (*this).get_impl(); match IAzClientContext2_Impl::LDAPQueryDN(this) { Ok(ok__) => { - core::ptr::write(pbstrldapquerydn, core::mem::transmute(ok__)); + pbstrldapquerydn.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2436,7 +2436,7 @@ impl IAzClientContext3_Vtbl { let this = (*this).get_impl(); match IAzClientContext3_Impl::AccessCheck2(this, core::mem::transmute(&bstrobjectname), core::mem::transmute(&bstrscopename), core::mem::transmute_copy(&loperation)) { Ok(ok__) => { - core::ptr::write(plresult, core::mem::transmute(ok__)); + plresult.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2447,7 +2447,7 @@ impl IAzClientContext3_Vtbl { let this = (*this).get_impl(); match IAzClientContext3_Impl::IsInRoleAssignment(this, core::mem::transmute(&bstrscopename), core::mem::transmute(&bstrrolename)) { Ok(ok__) => { - core::ptr::write(pbisinrole, core::mem::transmute(ok__)); + pbisinrole.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2458,7 +2458,7 @@ impl IAzClientContext3_Vtbl { let this = (*this).get_impl(); match IAzClientContext3_Impl::GetOperations(this, core::mem::transmute(&bstrscopename)) { Ok(ok__) => { - core::ptr::write(ppoperationcollection, core::mem::transmute(ok__)); + ppoperationcollection.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2469,7 +2469,7 @@ impl IAzClientContext3_Vtbl { let this = (*this).get_impl(); match IAzClientContext3_Impl::GetTasks(this, core::mem::transmute(&bstrscopename)) { Ok(ok__) => { - core::ptr::write(pptaskcollection, core::mem::transmute(ok__)); + pptaskcollection.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2480,7 +2480,7 @@ impl IAzClientContext3_Vtbl { let this = (*this).get_impl(); match IAzClientContext3_Impl::BizRuleParameters(this) { Ok(ok__) => { - core::ptr::write(ppbizruleparam, core::mem::transmute(ok__)); + ppbizruleparam.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2491,7 +2491,7 @@ impl IAzClientContext3_Vtbl { let this = (*this).get_impl(); match IAzClientContext3_Impl::BizRuleInterfaces(this) { Ok(ok__) => { - core::ptr::write(ppbizruleinterfaces, core::mem::transmute(ok__)); + ppbizruleinterfaces.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2502,7 +2502,7 @@ impl IAzClientContext3_Vtbl { let this = (*this).get_impl(); match IAzClientContext3_Impl::GetGroups(this, core::mem::transmute(&bstrscopename), core::mem::transmute(&uloptions)) { Ok(ok__) => { - core::ptr::write(pgrouparray, core::mem::transmute(ok__)); + pgrouparray.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2513,7 +2513,7 @@ impl IAzClientContext3_Vtbl { let this = (*this).get_impl(); match IAzClientContext3_Impl::Sids(this) { Ok(ok__) => { - core::ptr::write(pstringsidarray, core::mem::transmute(ok__)); + pstringsidarray.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2585,7 +2585,7 @@ impl IAzObjectPicker_Vtbl { let this = (*this).get_impl(); match IAzObjectPicker_Impl::Name(this) { Ok(ok__) => { - core::ptr::write(pbstrname, core::mem::transmute(ok__)); + pbstrname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2626,7 +2626,7 @@ impl IAzOperation_Vtbl { let this = (*this).get_impl(); match IAzOperation_Impl::Name(this) { Ok(ok__) => { - core::ptr::write(pbstrname, core::mem::transmute(ok__)); + pbstrname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2642,7 +2642,7 @@ impl IAzOperation_Vtbl { let this = (*this).get_impl(); match IAzOperation_Impl::Description(this) { Ok(ok__) => { - core::ptr::write(pbstrdescription, core::mem::transmute(ok__)); + pbstrdescription.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2658,7 +2658,7 @@ impl IAzOperation_Vtbl { let this = (*this).get_impl(); match IAzOperation_Impl::ApplicationData(this) { Ok(ok__) => { - core::ptr::write(pbstrapplicationdata, core::mem::transmute(ok__)); + pbstrapplicationdata.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2674,7 +2674,7 @@ impl IAzOperation_Vtbl { let this = (*this).get_impl(); match IAzOperation_Impl::OperationID(this) { Ok(ok__) => { - core::ptr::write(plprop, core::mem::transmute(ok__)); + plprop.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2690,7 +2690,7 @@ impl IAzOperation_Vtbl { let this = (*this).get_impl(); match IAzOperation_Impl::Writable(this) { Ok(ok__) => { - core::ptr::write(pfprop, core::mem::transmute(ok__)); + pfprop.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2701,7 +2701,7 @@ impl IAzOperation_Vtbl { let this = (*this).get_impl(); match IAzOperation_Impl::GetProperty(this, core::mem::transmute_copy(&lpropid), core::mem::transmute(&varreserved)) { Ok(ok__) => { - core::ptr::write(pvarprop, core::mem::transmute(ok__)); + pvarprop.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2751,7 +2751,7 @@ impl IAzOperation2_Vtbl { let this = (*this).get_impl(); match IAzOperation2_Impl::RoleAssignments(this, core::mem::transmute(&bstrscopename), core::mem::transmute_copy(&brecursive)) { Ok(ok__) => { - core::ptr::write(pproleassignments, core::mem::transmute(ok__)); + pproleassignments.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2779,7 +2779,7 @@ impl IAzOperations_Vtbl { let this = (*this).get_impl(); match IAzOperations_Impl::get_Item(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(pvarobtptr, core::mem::transmute(ok__)); + pvarobtptr.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2790,7 +2790,7 @@ impl IAzOperations_Vtbl { let this = (*this).get_impl(); match IAzOperations_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(plcount, core::mem::transmute(ok__)); + plcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2801,7 +2801,7 @@ impl IAzOperations_Vtbl { let this = (*this).get_impl(); match IAzOperations_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(ppenumptr, core::mem::transmute(ok__)); + ppenumptr.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2833,7 +2833,7 @@ impl IAzPrincipalLocator_Vtbl { let this = (*this).get_impl(); match IAzPrincipalLocator_Impl::NameResolver(this) { Ok(ok__) => { - core::ptr::write(ppnameresolver, core::mem::transmute(ok__)); + ppnameresolver.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2844,7 +2844,7 @@ impl IAzPrincipalLocator_Vtbl { let this = (*this).get_impl(); match IAzPrincipalLocator_Impl::ObjectPicker(this) { Ok(ok__) => { - core::ptr::write(ppobjectpicker, core::mem::transmute(ok__)); + ppobjectpicker.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2900,7 +2900,7 @@ impl IAzRole_Vtbl { let this = (*this).get_impl(); match IAzRole_Impl::Name(this) { Ok(ok__) => { - core::ptr::write(pbstrname, core::mem::transmute(ok__)); + pbstrname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2916,7 +2916,7 @@ impl IAzRole_Vtbl { let this = (*this).get_impl(); match IAzRole_Impl::Description(this) { Ok(ok__) => { - core::ptr::write(pbstrdescription, core::mem::transmute(ok__)); + pbstrdescription.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2932,7 +2932,7 @@ impl IAzRole_Vtbl { let this = (*this).get_impl(); match IAzRole_Impl::ApplicationData(this) { Ok(ok__) => { - core::ptr::write(pbstrapplicationdata, core::mem::transmute(ok__)); + pbstrapplicationdata.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2988,7 +2988,7 @@ impl IAzRole_Vtbl { let this = (*this).get_impl(); match IAzRole_Impl::Writable(this) { Ok(ok__) => { - core::ptr::write(pfprop, core::mem::transmute(ok__)); + pfprop.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2999,7 +2999,7 @@ impl IAzRole_Vtbl { let this = (*this).get_impl(); match IAzRole_Impl::GetProperty(this, core::mem::transmute_copy(&lpropid), core::mem::transmute(&varreserved)) { Ok(ok__) => { - core::ptr::write(pvarprop, core::mem::transmute(ok__)); + pvarprop.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3015,7 +3015,7 @@ impl IAzRole_Vtbl { let this = (*this).get_impl(); match IAzRole_Impl::AppMembers(this) { Ok(ok__) => { - core::ptr::write(pvarprop, core::mem::transmute(ok__)); + pvarprop.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3026,7 +3026,7 @@ impl IAzRole_Vtbl { let this = (*this).get_impl(); match IAzRole_Impl::Members(this) { Ok(ok__) => { - core::ptr::write(pvarprop, core::mem::transmute(ok__)); + pvarprop.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3037,7 +3037,7 @@ impl IAzRole_Vtbl { let this = (*this).get_impl(); match IAzRole_Impl::Operations(this) { Ok(ok__) => { - core::ptr::write(pvarprop, core::mem::transmute(ok__)); + pvarprop.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3048,7 +3048,7 @@ impl IAzRole_Vtbl { let this = (*this).get_impl(); match IAzRole_Impl::Tasks(this) { Ok(ok__) => { - core::ptr::write(pvarprop, core::mem::transmute(ok__)); + pvarprop.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3084,7 +3084,7 @@ impl IAzRole_Vtbl { let this = (*this).get_impl(); match IAzRole_Impl::MembersName(this) { Ok(ok__) => { - core::ptr::write(pvarprop, core::mem::transmute(ok__)); + pvarprop.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3152,7 +3152,7 @@ impl IAzRoleAssignment_Vtbl { let this = (*this).get_impl(); match IAzRoleAssignment_Impl::RoleDefinitions(this) { Ok(ok__) => { - core::ptr::write(pproledefinitions, core::mem::transmute(ok__)); + pproledefinitions.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3163,7 +3163,7 @@ impl IAzRoleAssignment_Vtbl { let this = (*this).get_impl(); match IAzRoleAssignment_Impl::Scope(this) { Ok(ok__) => { - core::ptr::write(ppscope, core::mem::transmute(ok__)); + ppscope.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3197,7 +3197,7 @@ impl IAzRoleAssignments_Vtbl { let this = (*this).get_impl(); match IAzRoleAssignments_Impl::get_Item(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(pvarobtptr, core::mem::transmute(ok__)); + pvarobtptr.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3208,7 +3208,7 @@ impl IAzRoleAssignments_Vtbl { let this = (*this).get_impl(); match IAzRoleAssignments_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(plcount, core::mem::transmute(ok__)); + plcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3219,7 +3219,7 @@ impl IAzRoleAssignments_Vtbl { let this = (*this).get_impl(); match IAzRoleAssignments_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(ppenumptr, core::mem::transmute(ok__)); + ppenumptr.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3253,7 +3253,7 @@ impl IAzRoleDefinition_Vtbl { let this = (*this).get_impl(); match IAzRoleDefinition_Impl::RoleAssignments(this, core::mem::transmute(&bstrscopename), core::mem::transmute_copy(&brecursive)) { Ok(ok__) => { - core::ptr::write(pproleassignments, core::mem::transmute(ok__)); + pproleassignments.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3274,7 +3274,7 @@ impl IAzRoleDefinition_Vtbl { let this = (*this).get_impl(); match IAzRoleDefinition_Impl::RoleDefinitions(this) { Ok(ok__) => { - core::ptr::write(pproledefinitions, core::mem::transmute(ok__)); + pproledefinitions.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3308,7 +3308,7 @@ impl IAzRoleDefinitions_Vtbl { let this = (*this).get_impl(); match IAzRoleDefinitions_Impl::get_Item(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(pvarobtptr, core::mem::transmute(ok__)); + pvarobtptr.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3319,7 +3319,7 @@ impl IAzRoleDefinitions_Vtbl { let this = (*this).get_impl(); match IAzRoleDefinitions_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(plcount, core::mem::transmute(ok__)); + plcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3330,7 +3330,7 @@ impl IAzRoleDefinitions_Vtbl { let this = (*this).get_impl(); match IAzRoleDefinitions_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(ppenumptr, core::mem::transmute(ok__)); + ppenumptr.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3363,7 +3363,7 @@ impl IAzRoles_Vtbl { let this = (*this).get_impl(); match IAzRoles_Impl::get_Item(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(pvarobtptr, core::mem::transmute(ok__)); + pvarobtptr.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3374,7 +3374,7 @@ impl IAzRoles_Vtbl { let this = (*this).get_impl(); match IAzRoles_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(plcount, core::mem::transmute(ok__)); + plcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3385,7 +3385,7 @@ impl IAzRoles_Vtbl { let this = (*this).get_impl(); match IAzRoles_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(ppenumptr, core::mem::transmute(ok__)); + ppenumptr.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3453,7 +3453,7 @@ impl IAzScope_Vtbl { let this = (*this).get_impl(); match IAzScope_Impl::Name(this) { Ok(ok__) => { - core::ptr::write(pbstrname, core::mem::transmute(ok__)); + pbstrname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3469,7 +3469,7 @@ impl IAzScope_Vtbl { let this = (*this).get_impl(); match IAzScope_Impl::Description(this) { Ok(ok__) => { - core::ptr::write(pbstrdescription, core::mem::transmute(ok__)); + pbstrdescription.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3485,7 +3485,7 @@ impl IAzScope_Vtbl { let this = (*this).get_impl(); match IAzScope_Impl::ApplicationData(this) { Ok(ok__) => { - core::ptr::write(pbstrapplicationdata, core::mem::transmute(ok__)); + pbstrapplicationdata.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3501,7 +3501,7 @@ impl IAzScope_Vtbl { let this = (*this).get_impl(); match IAzScope_Impl::Writable(this) { Ok(ok__) => { - core::ptr::write(pfprop, core::mem::transmute(ok__)); + pfprop.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3512,7 +3512,7 @@ impl IAzScope_Vtbl { let this = (*this).get_impl(); match IAzScope_Impl::GetProperty(this, core::mem::transmute_copy(&lpropid), core::mem::transmute(&varreserved)) { Ok(ok__) => { - core::ptr::write(pvarprop, core::mem::transmute(ok__)); + pvarprop.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3538,7 +3538,7 @@ impl IAzScope_Vtbl { let this = (*this).get_impl(); match IAzScope_Impl::PolicyAdministrators(this) { Ok(ok__) => { - core::ptr::write(pvaradmins, core::mem::transmute(ok__)); + pvaradmins.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3549,7 +3549,7 @@ impl IAzScope_Vtbl { let this = (*this).get_impl(); match IAzScope_Impl::PolicyReaders(this) { Ok(ok__) => { - core::ptr::write(pvarreaders, core::mem::transmute(ok__)); + pvarreaders.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3580,7 +3580,7 @@ impl IAzScope_Vtbl { let this = (*this).get_impl(); match IAzScope_Impl::ApplicationGroups(this) { Ok(ok__) => { - core::ptr::write(ppgroupcollection, core::mem::transmute(ok__)); + ppgroupcollection.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3591,7 +3591,7 @@ impl IAzScope_Vtbl { let this = (*this).get_impl(); match IAzScope_Impl::OpenApplicationGroup(this, core::mem::transmute(&bstrgroupname), core::mem::transmute(&varreserved)) { Ok(ok__) => { - core::ptr::write(ppgroup, core::mem::transmute(ok__)); + ppgroup.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3602,7 +3602,7 @@ impl IAzScope_Vtbl { let this = (*this).get_impl(); match IAzScope_Impl::CreateApplicationGroup(this, core::mem::transmute(&bstrgroupname), core::mem::transmute(&varreserved)) { Ok(ok__) => { - core::ptr::write(ppgroup, core::mem::transmute(ok__)); + ppgroup.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3618,7 +3618,7 @@ impl IAzScope_Vtbl { let this = (*this).get_impl(); match IAzScope_Impl::Roles(this) { Ok(ok__) => { - core::ptr::write(pprolecollection, core::mem::transmute(ok__)); + pprolecollection.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3629,7 +3629,7 @@ impl IAzScope_Vtbl { let this = (*this).get_impl(); match IAzScope_Impl::OpenRole(this, core::mem::transmute(&bstrrolename), core::mem::transmute(&varreserved)) { Ok(ok__) => { - core::ptr::write(pprole, core::mem::transmute(ok__)); + pprole.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3640,7 +3640,7 @@ impl IAzScope_Vtbl { let this = (*this).get_impl(); match IAzScope_Impl::CreateRole(this, core::mem::transmute(&bstrrolename), core::mem::transmute(&varreserved)) { Ok(ok__) => { - core::ptr::write(pprole, core::mem::transmute(ok__)); + pprole.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3656,7 +3656,7 @@ impl IAzScope_Vtbl { let this = (*this).get_impl(); match IAzScope_Impl::Tasks(this) { Ok(ok__) => { - core::ptr::write(pptaskcollection, core::mem::transmute(ok__)); + pptaskcollection.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3667,7 +3667,7 @@ impl IAzScope_Vtbl { let this = (*this).get_impl(); match IAzScope_Impl::OpenTask(this, core::mem::transmute(&bstrtaskname), core::mem::transmute(&varreserved)) { Ok(ok__) => { - core::ptr::write(pptask, core::mem::transmute(ok__)); + pptask.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3678,7 +3678,7 @@ impl IAzScope_Vtbl { let this = (*this).get_impl(); match IAzScope_Impl::CreateTask(this, core::mem::transmute(&bstrtaskname), core::mem::transmute(&varreserved)) { Ok(ok__) => { - core::ptr::write(pptask, core::mem::transmute(ok__)); + pptask.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3699,7 +3699,7 @@ impl IAzScope_Vtbl { let this = (*this).get_impl(); match IAzScope_Impl::CanBeDelegated(this) { Ok(ok__) => { - core::ptr::write(pfprop, core::mem::transmute(ok__)); + pfprop.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3710,7 +3710,7 @@ impl IAzScope_Vtbl { let this = (*this).get_impl(); match IAzScope_Impl::BizrulesWritable(this) { Ok(ok__) => { - core::ptr::write(pfprop, core::mem::transmute(ok__)); + pfprop.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3721,7 +3721,7 @@ impl IAzScope_Vtbl { let this = (*this).get_impl(); match IAzScope_Impl::PolicyAdministratorsName(this) { Ok(ok__) => { - core::ptr::write(pvaradmins, core::mem::transmute(ok__)); + pvaradmins.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3732,7 +3732,7 @@ impl IAzScope_Vtbl { let this = (*this).get_impl(); match IAzScope_Impl::PolicyReadersName(this) { Ok(ok__) => { - core::ptr::write(pvarreaders, core::mem::transmute(ok__)); + pvarreaders.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3825,7 +3825,7 @@ impl IAzScope2_Vtbl { let this = (*this).get_impl(); match IAzScope2_Impl::RoleDefinitions(this) { Ok(ok__) => { - core::ptr::write(pproledefinitions, core::mem::transmute(ok__)); + pproledefinitions.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3836,7 +3836,7 @@ impl IAzScope2_Vtbl { let this = (*this).get_impl(); match IAzScope2_Impl::CreateRoleDefinition(this, core::mem::transmute(&bstrroledefinitionname)) { Ok(ok__) => { - core::ptr::write(pproledefinitions, core::mem::transmute(ok__)); + pproledefinitions.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3847,7 +3847,7 @@ impl IAzScope2_Vtbl { let this = (*this).get_impl(); match IAzScope2_Impl::OpenRoleDefinition(this, core::mem::transmute(&bstrroledefinitionname)) { Ok(ok__) => { - core::ptr::write(pproledefinitions, core::mem::transmute(ok__)); + pproledefinitions.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3863,7 +3863,7 @@ impl IAzScope2_Vtbl { let this = (*this).get_impl(); match IAzScope2_Impl::RoleAssignments(this) { Ok(ok__) => { - core::ptr::write(pproleassignments, core::mem::transmute(ok__)); + pproleassignments.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3874,7 +3874,7 @@ impl IAzScope2_Vtbl { let this = (*this).get_impl(); match IAzScope2_Impl::CreateRoleAssignment(this, core::mem::transmute(&bstrroleassignmentname)) { Ok(ok__) => { - core::ptr::write(pproleassignment, core::mem::transmute(ok__)); + pproleassignment.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3885,7 +3885,7 @@ impl IAzScope2_Vtbl { let this = (*this).get_impl(); match IAzScope2_Impl::OpenRoleAssignment(this, core::mem::transmute(&bstrroleassignmentname)) { Ok(ok__) => { - core::ptr::write(pproleassignment, core::mem::transmute(ok__)); + pproleassignment.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3928,7 +3928,7 @@ impl IAzScopes_Vtbl { let this = (*this).get_impl(); match IAzScopes_Impl::get_Item(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(pvarobtptr, core::mem::transmute(ok__)); + pvarobtptr.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3939,7 +3939,7 @@ impl IAzScopes_Vtbl { let this = (*this).get_impl(); match IAzScopes_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(plcount, core::mem::transmute(ok__)); + plcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3950,7 +3950,7 @@ impl IAzScopes_Vtbl { let this = (*this).get_impl(); match IAzScopes_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(ppenumptr, core::mem::transmute(ok__)); + ppenumptr.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4006,7 +4006,7 @@ impl IAzTask_Vtbl { let this = (*this).get_impl(); match IAzTask_Impl::Name(this) { Ok(ok__) => { - core::ptr::write(pbstrname, core::mem::transmute(ok__)); + pbstrname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4022,7 +4022,7 @@ impl IAzTask_Vtbl { let this = (*this).get_impl(); match IAzTask_Impl::Description(this) { Ok(ok__) => { - core::ptr::write(pbstrdescription, core::mem::transmute(ok__)); + pbstrdescription.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4038,7 +4038,7 @@ impl IAzTask_Vtbl { let this = (*this).get_impl(); match IAzTask_Impl::ApplicationData(this) { Ok(ok__) => { - core::ptr::write(pbstrapplicationdata, core::mem::transmute(ok__)); + pbstrapplicationdata.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4054,7 +4054,7 @@ impl IAzTask_Vtbl { let this = (*this).get_impl(); match IAzTask_Impl::BizRule(this) { Ok(ok__) => { - core::ptr::write(pbstrprop, core::mem::transmute(ok__)); + pbstrprop.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4070,7 +4070,7 @@ impl IAzTask_Vtbl { let this = (*this).get_impl(); match IAzTask_Impl::BizRuleLanguage(this) { Ok(ok__) => { - core::ptr::write(pbstrprop, core::mem::transmute(ok__)); + pbstrprop.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4086,7 +4086,7 @@ impl IAzTask_Vtbl { let this = (*this).get_impl(); match IAzTask_Impl::BizRuleImportedPath(this) { Ok(ok__) => { - core::ptr::write(pbstrprop, core::mem::transmute(ok__)); + pbstrprop.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4102,7 +4102,7 @@ impl IAzTask_Vtbl { let this = (*this).get_impl(); match IAzTask_Impl::IsRoleDefinition(this) { Ok(ok__) => { - core::ptr::write(pfprop, core::mem::transmute(ok__)); + pfprop.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4118,7 +4118,7 @@ impl IAzTask_Vtbl { let this = (*this).get_impl(); match IAzTask_Impl::Operations(this) { Ok(ok__) => { - core::ptr::write(pvarprop, core::mem::transmute(ok__)); + pvarprop.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4129,7 +4129,7 @@ impl IAzTask_Vtbl { let this = (*this).get_impl(); match IAzTask_Impl::Tasks(this) { Ok(ok__) => { - core::ptr::write(pvarprop, core::mem::transmute(ok__)); + pvarprop.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4160,7 +4160,7 @@ impl IAzTask_Vtbl { let this = (*this).get_impl(); match IAzTask_Impl::Writable(this) { Ok(ok__) => { - core::ptr::write(pfprop, core::mem::transmute(ok__)); + pfprop.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4171,7 +4171,7 @@ impl IAzTask_Vtbl { let this = (*this).get_impl(); match IAzTask_Impl::GetProperty(this, core::mem::transmute_copy(&lpropid), core::mem::transmute(&varreserved)) { Ok(ok__) => { - core::ptr::write(pvarprop, core::mem::transmute(ok__)); + pvarprop.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4245,7 +4245,7 @@ impl IAzTask2_Vtbl { let this = (*this).get_impl(); match IAzTask2_Impl::RoleAssignments(this, core::mem::transmute(&bstrscopename), core::mem::transmute_copy(&brecursive)) { Ok(ok__) => { - core::ptr::write(pproleassignments, core::mem::transmute(ok__)); + pproleassignments.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4273,7 +4273,7 @@ impl IAzTasks_Vtbl { let this = (*this).get_impl(); match IAzTasks_Impl::get_Item(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(pvarobtptr, core::mem::transmute(ok__)); + pvarobtptr.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4284,7 +4284,7 @@ impl IAzTasks_Vtbl { let this = (*this).get_impl(); match IAzTasks_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(plcount, core::mem::transmute(ok__)); + plcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4295,7 +4295,7 @@ impl IAzTasks_Vtbl { let this = (*this).get_impl(); match IAzTasks_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(ppenumptr, core::mem::transmute(ok__)); + ppenumptr.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/Win32/Security/Cryptography/Certificates/impl.rs b/crates/libs/windows/src/Windows/Win32/Security/Cryptography/Certificates/impl.rs index a30a9ea425..faa6b5a540 100644 --- a/crates/libs/windows/src/Windows/Win32/Security/Cryptography/Certificates/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Security/Cryptography/Certificates/impl.rs @@ -33,7 +33,7 @@ impl IAlternativeName_Vtbl { let this = (*this).get_impl(); match IAlternativeName_Impl::Type(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -44,7 +44,7 @@ impl IAlternativeName_Vtbl { let this = (*this).get_impl(); match IAlternativeName_Impl::StrValue(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -55,7 +55,7 @@ impl IAlternativeName_Vtbl { let this = (*this).get_impl(); match IAlternativeName_Impl::ObjectId(this) { Ok(ok__) => { - core::ptr::write(ppvalue, core::mem::transmute(ok__)); + ppvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -66,7 +66,7 @@ impl IAlternativeName_Vtbl { let this = (*this).get_impl(); match IAlternativeName_Impl::get_RawData(this, core::mem::transmute_copy(&encoding)) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -106,7 +106,7 @@ impl IAlternativeNames_Vtbl { let this = (*this).get_impl(); match IAlternativeNames_Impl::get_ItemByIndex(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -117,7 +117,7 @@ impl IAlternativeNames_Vtbl { let this = (*this).get_impl(); match IAlternativeNames_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -128,7 +128,7 @@ impl IAlternativeNames_Vtbl { let this = (*this).get_impl(); match IAlternativeNames_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -179,7 +179,7 @@ impl IBinaryConverter_Vtbl { let this = (*this).get_impl(); match IBinaryConverter_Impl::StringToString(this, core::mem::transmute(&strencodedin), core::mem::transmute_copy(&encodingin), core::mem::transmute_copy(&encoding)) { Ok(ok__) => { - core::ptr::write(pstrencoded, core::mem::transmute(ok__)); + pstrencoded.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -190,7 +190,7 @@ impl IBinaryConverter_Vtbl { let this = (*this).get_impl(); match IBinaryConverter_Impl::VariantByteArrayToString(this, core::mem::transmute_copy(&pvarbytearray), core::mem::transmute_copy(&encoding)) { Ok(ok__) => { - core::ptr::write(pstrencoded, core::mem::transmute(ok__)); + pstrencoded.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -201,7 +201,7 @@ impl IBinaryConverter_Vtbl { let this = (*this).get_impl(); match IBinaryConverter_Impl::StringToVariantByteArray(this, core::mem::transmute(&strencoded), core::mem::transmute_copy(&encoding)) { Ok(ok__) => { - core::ptr::write(pvarbytearray, core::mem::transmute(ok__)); + pvarbytearray.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -233,7 +233,7 @@ impl IBinaryConverter2_Vtbl { let this = (*this).get_impl(); match IBinaryConverter2_Impl::StringArrayToVariantArray(this, core::mem::transmute_copy(&pvarstringarray)) { Ok(ok__) => { - core::ptr::write(pvarvariantarray, core::mem::transmute(ok__)); + pvarvariantarray.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -244,7 +244,7 @@ impl IBinaryConverter2_Vtbl { let this = (*this).get_impl(); match IBinaryConverter2_Impl::VariantArrayToStringArray(this, core::mem::transmute_copy(&pvarvariantarray)) { Ok(ok__) => { - core::ptr::write(pvarstringarray, core::mem::transmute(ok__)); + pvarstringarray.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -339,7 +339,7 @@ impl ICEnroll_Vtbl { let this = (*this).get_impl(); match ICEnroll_Impl::createPKCS10(this, core::mem::transmute(&dnname), core::mem::transmute(&usage)) { Ok(ok__) => { - core::ptr::write(ppkcs10, core::mem::transmute(ok__)); + ppkcs10.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -355,7 +355,7 @@ impl ICEnroll_Vtbl { let this = (*this).get_impl(); match ICEnroll_Impl::getCertFromPKCS7(this, core::mem::transmute(&wszpkcs7)) { Ok(ok__) => { - core::ptr::write(pbstrcert, core::mem::transmute(ok__)); + pbstrcert.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -366,7 +366,7 @@ impl ICEnroll_Vtbl { let this = (*this).get_impl(); match ICEnroll_Impl::enumProviders(this, core::mem::transmute_copy(&dwindex), core::mem::transmute_copy(&dwflags)) { Ok(ok__) => { - core::ptr::write(pbstrprovname, core::mem::transmute(ok__)); + pbstrprovname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -377,7 +377,7 @@ impl ICEnroll_Vtbl { let this = (*this).get_impl(); match ICEnroll_Impl::enumContainers(this, core::mem::transmute_copy(&dwindex)) { Ok(ok__) => { - core::ptr::write(pbstr, core::mem::transmute(ok__)); + pbstr.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -393,7 +393,7 @@ impl ICEnroll_Vtbl { let this = (*this).get_impl(); match ICEnroll_Impl::MyStoreName(this) { Ok(ok__) => { - core::ptr::write(pbstrname, core::mem::transmute(ok__)); + pbstrname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -409,7 +409,7 @@ impl ICEnroll_Vtbl { let this = (*this).get_impl(); match ICEnroll_Impl::MyStoreType(this) { Ok(ok__) => { - core::ptr::write(pbstrtype, core::mem::transmute(ok__)); + pbstrtype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -425,7 +425,7 @@ impl ICEnroll_Vtbl { let this = (*this).get_impl(); match ICEnroll_Impl::MyStoreFlags(this) { Ok(ok__) => { - core::ptr::write(pdwflags, core::mem::transmute(ok__)); + pdwflags.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -441,7 +441,7 @@ impl ICEnroll_Vtbl { let this = (*this).get_impl(); match ICEnroll_Impl::CAStoreName(this) { Ok(ok__) => { - core::ptr::write(pbstrname, core::mem::transmute(ok__)); + pbstrname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -457,7 +457,7 @@ impl ICEnroll_Vtbl { let this = (*this).get_impl(); match ICEnroll_Impl::CAStoreType(this) { Ok(ok__) => { - core::ptr::write(pbstrtype, core::mem::transmute(ok__)); + pbstrtype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -473,7 +473,7 @@ impl ICEnroll_Vtbl { let this = (*this).get_impl(); match ICEnroll_Impl::CAStoreFlags(this) { Ok(ok__) => { - core::ptr::write(pdwflags, core::mem::transmute(ok__)); + pdwflags.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -489,7 +489,7 @@ impl ICEnroll_Vtbl { let this = (*this).get_impl(); match ICEnroll_Impl::RootStoreName(this) { Ok(ok__) => { - core::ptr::write(pbstrname, core::mem::transmute(ok__)); + pbstrname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -505,7 +505,7 @@ impl ICEnroll_Vtbl { let this = (*this).get_impl(); match ICEnroll_Impl::RootStoreType(this) { Ok(ok__) => { - core::ptr::write(pbstrtype, core::mem::transmute(ok__)); + pbstrtype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -521,7 +521,7 @@ impl ICEnroll_Vtbl { let this = (*this).get_impl(); match ICEnroll_Impl::RootStoreFlags(this) { Ok(ok__) => { - core::ptr::write(pdwflags, core::mem::transmute(ok__)); + pdwflags.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -537,7 +537,7 @@ impl ICEnroll_Vtbl { let this = (*this).get_impl(); match ICEnroll_Impl::RequestStoreName(this) { Ok(ok__) => { - core::ptr::write(pbstrname, core::mem::transmute(ok__)); + pbstrname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -553,7 +553,7 @@ impl ICEnroll_Vtbl { let this = (*this).get_impl(); match ICEnroll_Impl::RequestStoreType(this) { Ok(ok__) => { - core::ptr::write(pbstrtype, core::mem::transmute(ok__)); + pbstrtype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -569,7 +569,7 @@ impl ICEnroll_Vtbl { let this = (*this).get_impl(); match ICEnroll_Impl::RequestStoreFlags(this) { Ok(ok__) => { - core::ptr::write(pdwflags, core::mem::transmute(ok__)); + pdwflags.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -585,7 +585,7 @@ impl ICEnroll_Vtbl { let this = (*this).get_impl(); match ICEnroll_Impl::ContainerName(this) { Ok(ok__) => { - core::ptr::write(pbstrcontainer, core::mem::transmute(ok__)); + pbstrcontainer.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -601,7 +601,7 @@ impl ICEnroll_Vtbl { let this = (*this).get_impl(); match ICEnroll_Impl::ProviderName(this) { Ok(ok__) => { - core::ptr::write(pbstrprovider, core::mem::transmute(ok__)); + pbstrprovider.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -617,7 +617,7 @@ impl ICEnroll_Vtbl { let this = (*this).get_impl(); match ICEnroll_Impl::ProviderType(this) { Ok(ok__) => { - core::ptr::write(pdwtype, core::mem::transmute(ok__)); + pdwtype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -633,7 +633,7 @@ impl ICEnroll_Vtbl { let this = (*this).get_impl(); match ICEnroll_Impl::KeySpec(this) { Ok(ok__) => { - core::ptr::write(pdw, core::mem::transmute(ok__)); + pdw.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -649,7 +649,7 @@ impl ICEnroll_Vtbl { let this = (*this).get_impl(); match ICEnroll_Impl::ProviderFlags(this) { Ok(ok__) => { - core::ptr::write(pdwflags, core::mem::transmute(ok__)); + pdwflags.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -665,7 +665,7 @@ impl ICEnroll_Vtbl { let this = (*this).get_impl(); match ICEnroll_Impl::UseExistingKeySet(this) { Ok(ok__) => { - core::ptr::write(fuseexistingkeys, core::mem::transmute(ok__)); + fuseexistingkeys.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -681,7 +681,7 @@ impl ICEnroll_Vtbl { let this = (*this).get_impl(); match ICEnroll_Impl::GenKeyFlags(this) { Ok(ok__) => { - core::ptr::write(pdwflags, core::mem::transmute(ok__)); + pdwflags.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -697,7 +697,7 @@ impl ICEnroll_Vtbl { let this = (*this).get_impl(); match ICEnroll_Impl::DeleteRequestCert(this) { Ok(ok__) => { - core::ptr::write(fdelete, core::mem::transmute(ok__)); + fdelete.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -713,7 +713,7 @@ impl ICEnroll_Vtbl { let this = (*this).get_impl(); match ICEnroll_Impl::WriteCertToCSP(this) { Ok(ok__) => { - core::ptr::write(fbool, core::mem::transmute(ok__)); + fbool.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -729,7 +729,7 @@ impl ICEnroll_Vtbl { let this = (*this).get_impl(); match ICEnroll_Impl::SPCFileName(this) { Ok(ok__) => { - core::ptr::write(pbstr, core::mem::transmute(ok__)); + pbstr.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -745,7 +745,7 @@ impl ICEnroll_Vtbl { let this = (*this).get_impl(); match ICEnroll_Impl::PVKFileName(this) { Ok(ok__) => { - core::ptr::write(pbstr, core::mem::transmute(ok__)); + pbstr.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -761,7 +761,7 @@ impl ICEnroll_Vtbl { let this = (*this).get_impl(); match ICEnroll_Impl::HashAlgorithm(this) { Ok(ok__) => { - core::ptr::write(pbstr, core::mem::transmute(ok__)); + pbstr.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -865,7 +865,7 @@ impl ICEnroll2_Vtbl { let this = (*this).get_impl(); match ICEnroll2_Impl::WriteCertToUserDS(this) { Ok(ok__) => { - core::ptr::write(fbool, core::mem::transmute(ok__)); + fbool.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -881,7 +881,7 @@ impl ICEnroll2_Vtbl { let this = (*this).get_impl(); match ICEnroll2_Impl::EnableT61DNEncoding(this) { Ok(ok__) => { - core::ptr::write(fbool, core::mem::transmute(ok__)); + fbool.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -943,7 +943,7 @@ impl ICEnroll3_Vtbl { let this = (*this).get_impl(); match ICEnroll3_Impl::GetSupportedKeySpec(this) { Ok(ok__) => { - core::ptr::write(pdwkeyspec, core::mem::transmute(ok__)); + pdwkeyspec.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -954,7 +954,7 @@ impl ICEnroll3_Vtbl { let this = (*this).get_impl(); match ICEnroll3_Impl::GetKeyLen(this, core::mem::transmute_copy(&fmin), core::mem::transmute_copy(&fexchange)) { Ok(ok__) => { - core::ptr::write(pdwkeysize, core::mem::transmute(ok__)); + pdwkeysize.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -965,7 +965,7 @@ impl ICEnroll3_Vtbl { let this = (*this).get_impl(); match ICEnroll3_Impl::EnumAlgs(this, core::mem::transmute_copy(&dwindex), core::mem::transmute_copy(&algclass)) { Ok(ok__) => { - core::ptr::write(pdwalgid, core::mem::transmute(ok__)); + pdwalgid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -976,7 +976,7 @@ impl ICEnroll3_Vtbl { let this = (*this).get_impl(); match ICEnroll3_Impl::GetAlgName(this, core::mem::transmute_copy(&algid)) { Ok(ok__) => { - core::ptr::write(pbstr, core::mem::transmute(ok__)); + pbstr.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -992,7 +992,7 @@ impl ICEnroll3_Vtbl { let this = (*this).get_impl(); match ICEnroll3_Impl::ReuseHardwareKeyIfUnableToGenNew(this) { Ok(ok__) => { - core::ptr::write(freusehardwarekeyifunabletogennew, core::mem::transmute(ok__)); + freusehardwarekeyifunabletogennew.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1008,7 +1008,7 @@ impl ICEnroll3_Vtbl { let this = (*this).get_impl(); match ICEnroll3_Impl::HashAlgID(this) { Ok(ok__) => { - core::ptr::write(hashalgid, core::mem::transmute(ok__)); + hashalgid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1024,7 +1024,7 @@ impl ICEnroll3_Vtbl { let this = (*this).get_impl(); match ICEnroll3_Impl::LimitExchangeKeyToEncipherment(this) { Ok(ok__) => { - core::ptr::write(flimitexchangekeytoencipherment, core::mem::transmute(ok__)); + flimitexchangekeytoencipherment.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1040,7 +1040,7 @@ impl ICEnroll3_Vtbl { let this = (*this).get_impl(); match ICEnroll3_Impl::EnableSMIMECapabilities(this) { Ok(ok__) => { - core::ptr::write(fenablesmimecapabilities, core::mem::transmute(ok__)); + fenablesmimecapabilities.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1119,7 +1119,7 @@ impl ICEnroll4_Vtbl { let this = (*this).get_impl(); match ICEnroll4_Impl::PrivateKeyArchiveCertificate(this) { Ok(ok__) => { - core::ptr::write(pbstrcert, core::mem::transmute(ok__)); + pbstrcert.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1135,7 +1135,7 @@ impl ICEnroll4_Vtbl { let this = (*this).get_impl(); match ICEnroll4_Impl::ThumbPrint(this) { Ok(ok__) => { - core::ptr::write(pbstrthumbprint, core::mem::transmute(ok__)); + pbstrthumbprint.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1146,7 +1146,7 @@ impl ICEnroll4_Vtbl { let this = (*this).get_impl(); match ICEnroll4_Impl::binaryToString(this, core::mem::transmute_copy(&flags), core::mem::transmute(&strbinary)) { Ok(ok__) => { - core::ptr::write(pstrencoded, core::mem::transmute(ok__)); + pstrencoded.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1157,7 +1157,7 @@ impl ICEnroll4_Vtbl { let this = (*this).get_impl(); match ICEnroll4_Impl::stringToBinary(this, core::mem::transmute_copy(&flags), core::mem::transmute(&strencoded)) { Ok(ok__) => { - core::ptr::write(pstrbinary, core::mem::transmute(ok__)); + pstrbinary.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1193,7 +1193,7 @@ impl ICEnroll4_Vtbl { let this = (*this).get_impl(); match ICEnroll4_Impl::createRequest(this, core::mem::transmute_copy(&flags), core::mem::transmute(&strdnname), core::mem::transmute(&usage)) { Ok(ok__) => { - core::ptr::write(pstrrequest, core::mem::transmute(ok__)); + pstrrequest.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1219,7 +1219,7 @@ impl ICEnroll4_Vtbl { let this = (*this).get_impl(); match ICEnroll4_Impl::getCertFromResponse(this, core::mem::transmute(&strresponse)) { Ok(ok__) => { - core::ptr::write(pstrcert, core::mem::transmute(ok__)); + pstrcert.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1230,7 +1230,7 @@ impl ICEnroll4_Vtbl { let this = (*this).get_impl(); match ICEnroll4_Impl::getCertFromFileResponse(this, core::mem::transmute(&strresponsefilename)) { Ok(ok__) => { - core::ptr::write(pstrcert, core::mem::transmute(ok__)); + pstrcert.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1241,7 +1241,7 @@ impl ICEnroll4_Vtbl { let this = (*this).get_impl(); match ICEnroll4_Impl::createPFX(this, core::mem::transmute(&strpassword)) { Ok(ok__) => { - core::ptr::write(pstrpfx, core::mem::transmute(ok__)); + pstrpfx.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1262,7 +1262,7 @@ impl ICEnroll4_Vtbl { let this = (*this).get_impl(); match ICEnroll4_Impl::enumPendingRequest(this, core::mem::transmute_copy(&lindex), core::mem::transmute_copy(&ldesiredproperty)) { Ok(ok__) => { - core::ptr::write(pvarproperty, core::mem::transmute(ok__)); + pvarproperty.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1278,7 +1278,7 @@ impl ICEnroll4_Vtbl { let this = (*this).get_impl(); match ICEnroll4_Impl::GetKeyLenEx(this, core::mem::transmute_copy(&lsizespec), core::mem::transmute_copy(&lkeyspec)) { Ok(ok__) => { - core::ptr::write(pdwkeysize, core::mem::transmute(ok__)); + pdwkeysize.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1289,7 +1289,7 @@ impl ICEnroll4_Vtbl { let this = (*this).get_impl(); match ICEnroll4_Impl::InstallPKCS7Ex(this, core::mem::transmute(&pkcs7)) { Ok(ok__) => { - core::ptr::write(plcertinstalled, core::mem::transmute(ok__)); + plcertinstalled.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1305,7 +1305,7 @@ impl ICEnroll4_Vtbl { let this = (*this).get_impl(); match ICEnroll4_Impl::getProviderType(this, core::mem::transmute(&strprovname)) { Ok(ok__) => { - core::ptr::write(plprovtype, core::mem::transmute(ok__)); + plprovtype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1326,7 +1326,7 @@ impl ICEnroll4_Vtbl { let this = (*this).get_impl(); match ICEnroll4_Impl::ClientId(this) { Ok(ok__) => { - core::ptr::write(plclientid, core::mem::transmute(ok__)); + plclientid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1352,7 +1352,7 @@ impl ICEnroll4_Vtbl { let this = (*this).get_impl(); match ICEnroll4_Impl::IncludeSubjectKeyID(this) { Ok(ok__) => { - core::ptr::write(pfinclude, core::mem::transmute(ok__)); + pfinclude.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1422,7 +1422,7 @@ impl ICertAdmin_Vtbl { let this = (*this).get_impl(); match ICertAdmin_Impl::IsValidCertificate(this, core::mem::transmute(&strconfig), core::mem::transmute(&strserialnumber)) { Ok(ok__) => { - core::ptr::write(pdisposition, core::mem::transmute(ok__)); + pdisposition.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1433,7 +1433,7 @@ impl ICertAdmin_Vtbl { let this = (*this).get_impl(); match ICertAdmin_Impl::GetRevocationReason(this) { Ok(ok__) => { - core::ptr::write(preason, core::mem::transmute(ok__)); + preason.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1464,7 +1464,7 @@ impl ICertAdmin_Vtbl { let this = (*this).get_impl(); match ICertAdmin_Impl::ResubmitRequest(this, core::mem::transmute(&strconfig), core::mem::transmute_copy(&requestid)) { Ok(ok__) => { - core::ptr::write(pdisposition, core::mem::transmute(ok__)); + pdisposition.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1480,7 +1480,7 @@ impl ICertAdmin_Vtbl { let this = (*this).get_impl(); match ICertAdmin_Impl::GetCRL(this, core::mem::transmute(&strconfig), core::mem::transmute_copy(&flags)) { Ok(ok__) => { - core::ptr::write(pstrcrl, core::mem::transmute(ok__)); + pstrcrl.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1491,7 +1491,7 @@ impl ICertAdmin_Vtbl { let this = (*this).get_impl(); match ICertAdmin_Impl::ImportCertificate(this, core::mem::transmute(&strconfig), core::mem::transmute(&strcertificate), core::mem::transmute_copy(&flags)) { Ok(ok__) => { - core::ptr::write(prequestid, core::mem::transmute(ok__)); + prequestid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1544,7 +1544,7 @@ impl ICertAdmin2_Vtbl { let this = (*this).get_impl(); match ICertAdmin2_Impl::GetCAProperty(this, core::mem::transmute(&strconfig), core::mem::transmute_copy(&propid), core::mem::transmute_copy(&propindex), core::mem::transmute_copy(&proptype), core::mem::transmute_copy(&flags)) { Ok(ok__) => { - core::ptr::write(pvarpropertyvalue, core::mem::transmute(ok__)); + pvarpropertyvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1560,7 +1560,7 @@ impl ICertAdmin2_Vtbl { let this = (*this).get_impl(); match ICertAdmin2_Impl::GetCAPropertyFlags(this, core::mem::transmute(&strconfig), core::mem::transmute_copy(&propid)) { Ok(ok__) => { - core::ptr::write(ppropflags, core::mem::transmute(ok__)); + ppropflags.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1571,7 +1571,7 @@ impl ICertAdmin2_Vtbl { let this = (*this).get_impl(); match ICertAdmin2_Impl::GetCAPropertyDisplayName(this, core::mem::transmute(&strconfig), core::mem::transmute_copy(&propid)) { Ok(ok__) => { - core::ptr::write(pstrdisplayname, core::mem::transmute(ok__)); + pstrdisplayname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1582,7 +1582,7 @@ impl ICertAdmin2_Vtbl { let this = (*this).get_impl(); match ICertAdmin2_Impl::GetArchivedKey(this, core::mem::transmute(&strconfig), core::mem::transmute_copy(&requestid), core::mem::transmute_copy(&flags)) { Ok(ok__) => { - core::ptr::write(pstrarchivedkey, core::mem::transmute(ok__)); + pstrarchivedkey.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1593,7 +1593,7 @@ impl ICertAdmin2_Vtbl { let this = (*this).get_impl(); match ICertAdmin2_Impl::GetConfigEntry(this, core::mem::transmute(&strconfig), core::mem::transmute(&strnodepath), core::mem::transmute(&strentryname)) { Ok(ok__) => { - core::ptr::write(pvarentry, core::mem::transmute(ok__)); + pvarentry.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1614,7 +1614,7 @@ impl ICertAdmin2_Vtbl { let this = (*this).get_impl(); match ICertAdmin2_Impl::GetMyRoles(this, core::mem::transmute(&strconfig)) { Ok(ok__) => { - core::ptr::write(proles, core::mem::transmute(ok__)); + proles.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1625,7 +1625,7 @@ impl ICertAdmin2_Vtbl { let this = (*this).get_impl(); match ICertAdmin2_Impl::DeleteRow(this, core::mem::transmute(&strconfig), core::mem::transmute_copy(&flags), core::mem::transmute_copy(&date), core::mem::transmute_copy(&table), core::mem::transmute_copy(&rowid)) { Ok(ok__) => { - core::ptr::write(pcdeleted, core::mem::transmute(ok__)); + pcdeleted.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1667,7 +1667,7 @@ impl ICertConfig_Vtbl { let this = (*this).get_impl(); match ICertConfig_Impl::Reset(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(pcount, core::mem::transmute(ok__)); + pcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1678,7 +1678,7 @@ impl ICertConfig_Vtbl { let this = (*this).get_impl(); match ICertConfig_Impl::Next(this) { Ok(ok__) => { - core::ptr::write(pindex, core::mem::transmute(ok__)); + pindex.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1689,7 +1689,7 @@ impl ICertConfig_Vtbl { let this = (*this).get_impl(); match ICertConfig_Impl::GetField(this, core::mem::transmute(&strfieldname)) { Ok(ok__) => { - core::ptr::write(pstrout, core::mem::transmute(ok__)); + pstrout.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1700,7 +1700,7 @@ impl ICertConfig_Vtbl { let this = (*this).get_impl(); match ICertConfig_Impl::GetConfig(this, core::mem::transmute_copy(&flags)) { Ok(ok__) => { - core::ptr::write(pstrout, core::mem::transmute(ok__)); + pstrout.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1763,7 +1763,7 @@ impl ICertEncodeAltName_Vtbl { let this = (*this).get_impl(); match ICertEncodeAltName_Impl::GetNameCount(this) { Ok(ok__) => { - core::ptr::write(pnamecount, core::mem::transmute(ok__)); + pnamecount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1774,7 +1774,7 @@ impl ICertEncodeAltName_Vtbl { let this = (*this).get_impl(); match ICertEncodeAltName_Impl::GetNameChoice(this, core::mem::transmute_copy(&nameindex)) { Ok(ok__) => { - core::ptr::write(pnamechoice, core::mem::transmute(ok__)); + pnamechoice.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1785,7 +1785,7 @@ impl ICertEncodeAltName_Vtbl { let this = (*this).get_impl(); match ICertEncodeAltName_Impl::GetName(this, core::mem::transmute_copy(&nameindex)) { Ok(ok__) => { - core::ptr::write(pstrname, core::mem::transmute(ok__)); + pstrname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1806,7 +1806,7 @@ impl ICertEncodeAltName_Vtbl { let this = (*this).get_impl(); match ICertEncodeAltName_Impl::Encode(this) { Ok(ok__) => { - core::ptr::write(pstrbinary, core::mem::transmute(ok__)); + pstrbinary.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1849,7 +1849,7 @@ impl ICertEncodeAltName2_Vtbl { let this = (*this).get_impl(); match ICertEncodeAltName2_Impl::EncodeBlob(this, core::mem::transmute_copy(&encoding)) { Ok(ok__) => { - core::ptr::write(pstrencodeddata, core::mem::transmute(ok__)); + pstrencodeddata.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1860,7 +1860,7 @@ impl ICertEncodeAltName2_Vtbl { let this = (*this).get_impl(); match ICertEncodeAltName2_Impl::GetNameBlob(this, core::mem::transmute_copy(&nameindex), core::mem::transmute_copy(&encoding)) { Ok(ok__) => { - core::ptr::write(pstrname, core::mem::transmute(ok__)); + pstrname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1905,7 +1905,7 @@ impl ICertEncodeBitString_Vtbl { let this = (*this).get_impl(); match ICertEncodeBitString_Impl::GetBitCount(this) { Ok(ok__) => { - core::ptr::write(pbitcount, core::mem::transmute(ok__)); + pbitcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1916,7 +1916,7 @@ impl ICertEncodeBitString_Vtbl { let this = (*this).get_impl(); match ICertEncodeBitString_Impl::GetBitString(this) { Ok(ok__) => { - core::ptr::write(pstrbitstring, core::mem::transmute(ok__)); + pstrbitstring.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1927,7 +1927,7 @@ impl ICertEncodeBitString_Vtbl { let this = (*this).get_impl(); match ICertEncodeBitString_Impl::Encode(this, core::mem::transmute_copy(&bitcount), core::mem::transmute(&strbitstring)) { Ok(ok__) => { - core::ptr::write(pstrbinary, core::mem::transmute(ok__)); + pstrbinary.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1966,7 +1966,7 @@ impl ICertEncodeBitString2_Vtbl { let this = (*this).get_impl(); match ICertEncodeBitString2_Impl::EncodeBlob(this, core::mem::transmute_copy(&bitcount), core::mem::transmute(&strbitstring), core::mem::transmute_copy(&encodingin), core::mem::transmute_copy(&encoding)) { Ok(ok__) => { - core::ptr::write(pstrencodeddata, core::mem::transmute(ok__)); + pstrencodeddata.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1977,7 +1977,7 @@ impl ICertEncodeBitString2_Vtbl { let this = (*this).get_impl(); match ICertEncodeBitString2_Impl::GetBitStringBlob(this, core::mem::transmute_copy(&encoding)) { Ok(ok__) => { - core::ptr::write(pstrbitstring, core::mem::transmute(ok__)); + pstrbitstring.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2021,7 +2021,7 @@ impl ICertEncodeCRLDistInfo_Vtbl { let this = (*this).get_impl(); match ICertEncodeCRLDistInfo_Impl::GetDistPointCount(this) { Ok(ok__) => { - core::ptr::write(pdistpointcount, core::mem::transmute(ok__)); + pdistpointcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2032,7 +2032,7 @@ impl ICertEncodeCRLDistInfo_Vtbl { let this = (*this).get_impl(); match ICertEncodeCRLDistInfo_Impl::GetNameCount(this, core::mem::transmute_copy(&distpointindex)) { Ok(ok__) => { - core::ptr::write(pnamecount, core::mem::transmute(ok__)); + pnamecount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2043,7 +2043,7 @@ impl ICertEncodeCRLDistInfo_Vtbl { let this = (*this).get_impl(); match ICertEncodeCRLDistInfo_Impl::GetNameChoice(this, core::mem::transmute_copy(&distpointindex), core::mem::transmute_copy(&nameindex)) { Ok(ok__) => { - core::ptr::write(pnamechoice, core::mem::transmute(ok__)); + pnamechoice.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2054,7 +2054,7 @@ impl ICertEncodeCRLDistInfo_Vtbl { let this = (*this).get_impl(); match ICertEncodeCRLDistInfo_Impl::GetName(this, core::mem::transmute_copy(&distpointindex), core::mem::transmute_copy(&nameindex)) { Ok(ok__) => { - core::ptr::write(pstrname, core::mem::transmute(ok__)); + pstrname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2080,7 +2080,7 @@ impl ICertEncodeCRLDistInfo_Vtbl { let this = (*this).get_impl(); match ICertEncodeCRLDistInfo_Impl::Encode(this) { Ok(ok__) => { - core::ptr::write(pstrbinary, core::mem::transmute(ok__)); + pstrbinary.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2123,7 +2123,7 @@ impl ICertEncodeCRLDistInfo2_Vtbl { let this = (*this).get_impl(); match ICertEncodeCRLDistInfo2_Impl::EncodeBlob(this, core::mem::transmute_copy(&encoding)) { Ok(ok__) => { - core::ptr::write(pstrencodeddata, core::mem::transmute(ok__)); + pstrencodeddata.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2163,7 +2163,7 @@ impl ICertEncodeDateArray_Vtbl { let this = (*this).get_impl(); match ICertEncodeDateArray_Impl::GetCount(this) { Ok(ok__) => { - core::ptr::write(pcount, core::mem::transmute(ok__)); + pcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2174,7 +2174,7 @@ impl ICertEncodeDateArray_Vtbl { let this = (*this).get_impl(); match ICertEncodeDateArray_Impl::GetValue(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2195,7 +2195,7 @@ impl ICertEncodeDateArray_Vtbl { let this = (*this).get_impl(); match ICertEncodeDateArray_Impl::Encode(this) { Ok(ok__) => { - core::ptr::write(pstrbinary, core::mem::transmute(ok__)); + pstrbinary.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2235,7 +2235,7 @@ impl ICertEncodeDateArray2_Vtbl { let this = (*this).get_impl(); match ICertEncodeDateArray2_Impl::EncodeBlob(this, core::mem::transmute_copy(&encoding)) { Ok(ok__) => { - core::ptr::write(pstrencodeddata, core::mem::transmute(ok__)); + pstrencodeddata.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2275,7 +2275,7 @@ impl ICertEncodeLongArray_Vtbl { let this = (*this).get_impl(); match ICertEncodeLongArray_Impl::GetCount(this) { Ok(ok__) => { - core::ptr::write(pcount, core::mem::transmute(ok__)); + pcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2286,7 +2286,7 @@ impl ICertEncodeLongArray_Vtbl { let this = (*this).get_impl(); match ICertEncodeLongArray_Impl::GetValue(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2307,7 +2307,7 @@ impl ICertEncodeLongArray_Vtbl { let this = (*this).get_impl(); match ICertEncodeLongArray_Impl::Encode(this) { Ok(ok__) => { - core::ptr::write(pstrbinary, core::mem::transmute(ok__)); + pstrbinary.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2347,7 +2347,7 @@ impl ICertEncodeLongArray2_Vtbl { let this = (*this).get_impl(); match ICertEncodeLongArray2_Impl::EncodeBlob(this, core::mem::transmute_copy(&encoding)) { Ok(ok__) => { - core::ptr::write(pstrencodeddata, core::mem::transmute(ok__)); + pstrencodeddata.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2388,7 +2388,7 @@ impl ICertEncodeStringArray_Vtbl { let this = (*this).get_impl(); match ICertEncodeStringArray_Impl::GetStringType(this) { Ok(ok__) => { - core::ptr::write(pstringtype, core::mem::transmute(ok__)); + pstringtype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2399,7 +2399,7 @@ impl ICertEncodeStringArray_Vtbl { let this = (*this).get_impl(); match ICertEncodeStringArray_Impl::GetCount(this) { Ok(ok__) => { - core::ptr::write(pcount, core::mem::transmute(ok__)); + pcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2410,7 +2410,7 @@ impl ICertEncodeStringArray_Vtbl { let this = (*this).get_impl(); match ICertEncodeStringArray_Impl::GetValue(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(pstr, core::mem::transmute(ok__)); + pstr.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2431,7 +2431,7 @@ impl ICertEncodeStringArray_Vtbl { let this = (*this).get_impl(); match ICertEncodeStringArray_Impl::Encode(this) { Ok(ok__) => { - core::ptr::write(pstrbinary, core::mem::transmute(ok__)); + pstrbinary.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2472,7 +2472,7 @@ impl ICertEncodeStringArray2_Vtbl { let this = (*this).get_impl(); match ICertEncodeStringArray2_Impl::EncodeBlob(this, core::mem::transmute_copy(&encoding)) { Ok(ok__) => { - core::ptr::write(pstrencodeddata, core::mem::transmute(ok__)); + pstrencodeddata.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2504,7 +2504,7 @@ impl ICertExit_Vtbl { let this = (*this).get_impl(); match ICertExit_Impl::Initialize(this, core::mem::transmute(&strconfig)) { Ok(ok__) => { - core::ptr::write(peventmask, core::mem::transmute(ok__)); + peventmask.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2520,7 +2520,7 @@ impl ICertExit_Vtbl { let this = (*this).get_impl(); match ICertExit_Impl::GetDescription(this) { Ok(ok__) => { - core::ptr::write(pstrdescription, core::mem::transmute(ok__)); + pstrdescription.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2551,7 +2551,7 @@ impl ICertExit2_Vtbl { let this = (*this).get_impl(); match ICertExit2_Impl::GetManageModule(this) { Ok(ok__) => { - core::ptr::write(ppmanagemodule, core::mem::transmute(ok__)); + ppmanagemodule.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2577,7 +2577,7 @@ impl ICertGetConfig_Vtbl { let this = (*this).get_impl(); match ICertGetConfig_Impl::GetConfig(this, core::mem::transmute_copy(&flags)) { Ok(ok__) => { - core::ptr::write(pstrout, core::mem::transmute(ok__)); + pstrout.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2605,7 +2605,7 @@ impl ICertManageModule_Vtbl { let this = (*this).get_impl(); match ICertManageModule_Impl::GetProperty(this, core::mem::transmute(&strconfig), core::mem::transmute(&strstoragelocation), core::mem::transmute(&strpropertyname), core::mem::transmute_copy(&flags)) { Ok(ok__) => { - core::ptr::write(pvarproperty, core::mem::transmute(ok__)); + pvarproperty.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2654,7 +2654,7 @@ impl ICertPolicy_Vtbl { let this = (*this).get_impl(); match ICertPolicy_Impl::VerifyRequest(this, core::mem::transmute(&strconfig), core::mem::transmute_copy(&context), core::mem::transmute_copy(&bnewrequest), core::mem::transmute_copy(&flags)) { Ok(ok__) => { - core::ptr::write(pdisposition, core::mem::transmute(ok__)); + pdisposition.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2665,7 +2665,7 @@ impl ICertPolicy_Vtbl { let this = (*this).get_impl(); match ICertPolicy_Impl::GetDescription(this) { Ok(ok__) => { - core::ptr::write(pstrdescription, core::mem::transmute(ok__)); + pstrdescription.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2702,7 +2702,7 @@ impl ICertPolicy2_Vtbl { let this = (*this).get_impl(); match ICertPolicy2_Impl::GetManageModule(this) { Ok(ok__) => { - core::ptr::write(ppmanagemodule, core::mem::transmute(ok__)); + ppmanagemodule.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2734,7 +2734,7 @@ impl ICertProperties_Vtbl { let this = (*this).get_impl(); match ICertProperties_Impl::get_ItemByIndex(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2745,7 +2745,7 @@ impl ICertProperties_Vtbl { let this = (*this).get_impl(); match ICertProperties_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2756,7 +2756,7 @@ impl ICertProperties_Vtbl { let this = (*this).get_impl(); match ICertProperties_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2827,7 +2827,7 @@ impl ICertProperty_Vtbl { let this = (*this).get_impl(); match ICertProperty_Impl::PropertyId(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2843,7 +2843,7 @@ impl ICertProperty_Vtbl { let this = (*this).get_impl(); match ICertProperty_Impl::get_RawData(this, core::mem::transmute_copy(&encoding)) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2894,7 +2894,7 @@ impl ICertPropertyArchived_Vtbl { let this = (*this).get_impl(); match ICertPropertyArchived_Impl::Archived(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2930,7 +2930,7 @@ impl ICertPropertyArchivedKeyHash_Vtbl { let this = (*this).get_impl(); match ICertPropertyArchivedKeyHash_Impl::get_ArchivedKeyHash(this, core::mem::transmute_copy(&encoding)) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2966,7 +2966,7 @@ impl ICertPropertyAutoEnroll_Vtbl { let this = (*this).get_impl(); match ICertPropertyAutoEnroll_Impl::TemplateName(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3009,7 +3009,7 @@ impl ICertPropertyBackedUp_Vtbl { let this = (*this).get_impl(); match ICertPropertyBackedUp_Impl::BackedUpValue(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3020,7 +3020,7 @@ impl ICertPropertyBackedUp_Vtbl { let this = (*this).get_impl(); match ICertPropertyBackedUp_Impl::BackedUpTime(this) { Ok(ok__) => { - core::ptr::write(pdate, core::mem::transmute(ok__)); + pdate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3058,7 +3058,7 @@ impl ICertPropertyDescription_Vtbl { let this = (*this).get_impl(); match ICertPropertyDescription_Impl::Description(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3097,7 +3097,7 @@ impl ICertPropertyEnrollment_Vtbl { let this = (*this).get_impl(); match ICertPropertyEnrollment_Impl::RequestId(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3108,7 +3108,7 @@ impl ICertPropertyEnrollment_Vtbl { let this = (*this).get_impl(); match ICertPropertyEnrollment_Impl::CADnsName(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3119,7 +3119,7 @@ impl ICertPropertyEnrollment_Vtbl { let this = (*this).get_impl(); match ICertPropertyEnrollment_Impl::CAName(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3130,7 +3130,7 @@ impl ICertPropertyEnrollment_Vtbl { let this = (*this).get_impl(); match ICertPropertyEnrollment_Impl::FriendlyName(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3176,7 +3176,7 @@ impl ICertPropertyEnrollmentPolicyServer_Vtbl { let this = (*this).get_impl(); match ICertPropertyEnrollmentPolicyServer_Impl::GetPolicyServerUrl(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3187,7 +3187,7 @@ impl ICertPropertyEnrollmentPolicyServer_Vtbl { let this = (*this).get_impl(); match ICertPropertyEnrollmentPolicyServer_Impl::GetPolicyServerId(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3198,7 +3198,7 @@ impl ICertPropertyEnrollmentPolicyServer_Vtbl { let this = (*this).get_impl(); match ICertPropertyEnrollmentPolicyServer_Impl::GetEnrollmentServerUrl(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3209,7 +3209,7 @@ impl ICertPropertyEnrollmentPolicyServer_Vtbl { let this = (*this).get_impl(); match ICertPropertyEnrollmentPolicyServer_Impl::GetRequestIdString(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3220,7 +3220,7 @@ impl ICertPropertyEnrollmentPolicyServer_Vtbl { let this = (*this).get_impl(); match ICertPropertyEnrollmentPolicyServer_Impl::GetPropertyFlags(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3231,7 +3231,7 @@ impl ICertPropertyEnrollmentPolicyServer_Vtbl { let this = (*this).get_impl(); match ICertPropertyEnrollmentPolicyServer_Impl::GetUrlFlags(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3242,7 +3242,7 @@ impl ICertPropertyEnrollmentPolicyServer_Vtbl { let this = (*this).get_impl(); match ICertPropertyEnrollmentPolicyServer_Impl::GetAuthentication(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3253,7 +3253,7 @@ impl ICertPropertyEnrollmentPolicyServer_Vtbl { let this = (*this).get_impl(); match ICertPropertyEnrollmentPolicyServer_Impl::GetEnrollmentServerAuthentication(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3296,7 +3296,7 @@ impl ICertPropertyFriendlyName_Vtbl { let this = (*this).get_impl(); match ICertPropertyFriendlyName_Impl::FriendlyName(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3332,7 +3332,7 @@ impl ICertPropertyKeyProvInfo_Vtbl { let this = (*this).get_impl(); match ICertPropertyKeyProvInfo_Impl::PrivateKey(this) { Ok(ok__) => { - core::ptr::write(ppvalue, core::mem::transmute(ok__)); + ppvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3374,7 +3374,7 @@ impl ICertPropertyRenewal_Vtbl { let this = (*this).get_impl(); match ICertPropertyRenewal_Impl::get_Renewal(this, core::mem::transmute_copy(&encoding)) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3417,7 +3417,7 @@ impl ICertPropertyRequestOriginator_Vtbl { let this = (*this).get_impl(); match ICertPropertyRequestOriginator_Impl::RequestOriginator(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3454,7 +3454,7 @@ impl ICertPropertySHA1Hash_Vtbl { let this = (*this).get_impl(); match ICertPropertySHA1Hash_Impl::get_SHA1Hash(this, core::mem::transmute_copy(&encoding)) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3490,7 +3490,7 @@ impl ICertRequest_Vtbl { let this = (*this).get_impl(); match ICertRequest_Impl::Submit(this, core::mem::transmute_copy(&flags), core::mem::transmute(&strrequest), core::mem::transmute(&strattributes), core::mem::transmute(&strconfig)) { Ok(ok__) => { - core::ptr::write(pdisposition, core::mem::transmute(ok__)); + pdisposition.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3501,7 +3501,7 @@ impl ICertRequest_Vtbl { let this = (*this).get_impl(); match ICertRequest_Impl::RetrievePending(this, core::mem::transmute_copy(&requestid), core::mem::transmute(&strconfig)) { Ok(ok__) => { - core::ptr::write(pdisposition, core::mem::transmute(ok__)); + pdisposition.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3512,7 +3512,7 @@ impl ICertRequest_Vtbl { let this = (*this).get_impl(); match ICertRequest_Impl::GetLastStatus(this) { Ok(ok__) => { - core::ptr::write(pstatus, core::mem::transmute(ok__)); + pstatus.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3523,7 +3523,7 @@ impl ICertRequest_Vtbl { let this = (*this).get_impl(); match ICertRequest_Impl::GetRequestId(this) { Ok(ok__) => { - core::ptr::write(prequestid, core::mem::transmute(ok__)); + prequestid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3534,7 +3534,7 @@ impl ICertRequest_Vtbl { let this = (*this).get_impl(); match ICertRequest_Impl::GetDispositionMessage(this) { Ok(ok__) => { - core::ptr::write(pstrdispositionmessage, core::mem::transmute(ok__)); + pstrdispositionmessage.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3545,7 +3545,7 @@ impl ICertRequest_Vtbl { let this = (*this).get_impl(); match ICertRequest_Impl::GetCACertificate(this, core::mem::transmute_copy(&fexchangecertificate), core::mem::transmute(&strconfig), core::mem::transmute_copy(&flags)) { Ok(ok__) => { - core::ptr::write(pstrcertificate, core::mem::transmute(ok__)); + pstrcertificate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3556,7 +3556,7 @@ impl ICertRequest_Vtbl { let this = (*this).get_impl(); match ICertRequest_Impl::GetCertificate(this, core::mem::transmute_copy(&flags)) { Ok(ok__) => { - core::ptr::write(pstrcertificate, core::mem::transmute(ok__)); + pstrcertificate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3596,7 +3596,7 @@ impl ICertRequest2_Vtbl { let this = (*this).get_impl(); match ICertRequest2_Impl::GetIssuedCertificate(this, core::mem::transmute(&strconfig), core::mem::transmute_copy(&requestid), core::mem::transmute(&strserialnumber)) { Ok(ok__) => { - core::ptr::write(pdisposition, core::mem::transmute(ok__)); + pdisposition.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3607,7 +3607,7 @@ impl ICertRequest2_Vtbl { let this = (*this).get_impl(); match ICertRequest2_Impl::GetErrorMessageText(this, core::mem::transmute_copy(&hrmessage), core::mem::transmute_copy(&flags)) { Ok(ok__) => { - core::ptr::write(pstrerrormessagetext, core::mem::transmute(ok__)); + pstrerrormessagetext.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3618,7 +3618,7 @@ impl ICertRequest2_Vtbl { let this = (*this).get_impl(); match ICertRequest2_Impl::GetCAProperty(this, core::mem::transmute(&strconfig), core::mem::transmute_copy(&propid), core::mem::transmute_copy(&propindex), core::mem::transmute_copy(&proptype), core::mem::transmute_copy(&flags)) { Ok(ok__) => { - core::ptr::write(pvarpropertyvalue, core::mem::transmute(ok__)); + pvarpropertyvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3629,7 +3629,7 @@ impl ICertRequest2_Vtbl { let this = (*this).get_impl(); match ICertRequest2_Impl::GetCAPropertyFlags(this, core::mem::transmute(&strconfig), core::mem::transmute_copy(&propid)) { Ok(ok__) => { - core::ptr::write(ppropflags, core::mem::transmute(ok__)); + ppropflags.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3640,7 +3640,7 @@ impl ICertRequest2_Vtbl { let this = (*this).get_impl(); match ICertRequest2_Impl::GetCAPropertyDisplayName(this, core::mem::transmute(&strconfig), core::mem::transmute_copy(&propid)) { Ok(ok__) => { - core::ptr::write(pstrdisplayname, core::mem::transmute(ok__)); + pstrdisplayname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3651,7 +3651,7 @@ impl ICertRequest2_Vtbl { let this = (*this).get_impl(); match ICertRequest2_Impl::GetFullResponseProperty(this, core::mem::transmute_copy(&propid), core::mem::transmute_copy(&propindex), core::mem::transmute_copy(&proptype), core::mem::transmute_copy(&flags)) { Ok(ok__) => { - core::ptr::write(pvarpropertyvalue, core::mem::transmute(ok__)); + pvarpropertyvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3693,7 +3693,7 @@ impl ICertRequest3_Vtbl { let this = (*this).get_impl(); match ICertRequest3_Impl::GetRequestIdString(this) { Ok(ok__) => { - core::ptr::write(pstrrequestid, core::mem::transmute(ok__)); + pstrrequestid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3704,7 +3704,7 @@ impl ICertRequest3_Vtbl { let this = (*this).get_impl(); match ICertRequest3_Impl::GetIssuedCertificate2(this, core::mem::transmute(&strconfig), core::mem::transmute(&strrequestid), core::mem::transmute(&strserialnumber)) { Ok(ok__) => { - core::ptr::write(pdisposition, core::mem::transmute(ok__)); + pdisposition.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3715,7 +3715,7 @@ impl ICertRequest3_Vtbl { let this = (*this).get_impl(); match ICertRequest3_Impl::GetRefreshPolicy(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3751,7 +3751,7 @@ impl ICertRequestD_Vtbl { let this = (*this).get_impl(); match ICertRequestD_Impl::GetCACert(this, core::mem::transmute_copy(&fchain), core::mem::transmute(&pwszauthority)) { Ok(ok__) => { - core::ptr::write(pctbout, core::mem::transmute(ok__)); + pctbout.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3792,7 +3792,7 @@ impl ICertRequestD2_Vtbl { let this = (*this).get_impl(); match ICertRequestD2_Impl::GetCAProperty(this, core::mem::transmute(&pwszauthority), core::mem::transmute_copy(&propid), core::mem::transmute_copy(&propindex), core::mem::transmute_copy(&proptype)) { Ok(ok__) => { - core::ptr::write(pctbpropertyvalue, core::mem::transmute(ok__)); + pctbpropertyvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3850,7 +3850,7 @@ impl ICertServerExit_Vtbl { let this = (*this).get_impl(); match ICertServerExit_Impl::GetRequestProperty(this, core::mem::transmute(&strpropertyname), core::mem::transmute_copy(&propertytype)) { Ok(ok__) => { - core::ptr::write(pvarpropertyvalue, core::mem::transmute(ok__)); + pvarpropertyvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3861,7 +3861,7 @@ impl ICertServerExit_Vtbl { let this = (*this).get_impl(); match ICertServerExit_Impl::GetRequestAttribute(this, core::mem::transmute(&strattributename)) { Ok(ok__) => { - core::ptr::write(pstrattributevalue, core::mem::transmute(ok__)); + pstrattributevalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3872,7 +3872,7 @@ impl ICertServerExit_Vtbl { let this = (*this).get_impl(); match ICertServerExit_Impl::GetCertificateProperty(this, core::mem::transmute(&strpropertyname), core::mem::transmute_copy(&propertytype)) { Ok(ok__) => { - core::ptr::write(pvarpropertyvalue, core::mem::transmute(ok__)); + pvarpropertyvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3883,7 +3883,7 @@ impl ICertServerExit_Vtbl { let this = (*this).get_impl(); match ICertServerExit_Impl::GetCertificateExtension(this, core::mem::transmute(&strextensionname), core::mem::transmute_copy(&r#type)) { Ok(ok__) => { - core::ptr::write(pvarvalue, core::mem::transmute(ok__)); + pvarvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3894,7 +3894,7 @@ impl ICertServerExit_Vtbl { let this = (*this).get_impl(); match ICertServerExit_Impl::GetCertificateExtensionFlags(this) { Ok(ok__) => { - core::ptr::write(pextflags, core::mem::transmute(ok__)); + pextflags.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3910,7 +3910,7 @@ impl ICertServerExit_Vtbl { let this = (*this).get_impl(); match ICertServerExit_Impl::EnumerateExtensions(this) { Ok(ok__) => { - core::ptr::write(pstrextensionname, core::mem::transmute(ok__)); + pstrextensionname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3931,7 +3931,7 @@ impl ICertServerExit_Vtbl { let this = (*this).get_impl(); match ICertServerExit_Impl::EnumerateAttributes(this) { Ok(ok__) => { - core::ptr::write(pstrattributename, core::mem::transmute(ok__)); + pstrattributename.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3994,7 +3994,7 @@ impl ICertServerPolicy_Vtbl { let this = (*this).get_impl(); match ICertServerPolicy_Impl::GetRequestProperty(this, core::mem::transmute(&strpropertyname), core::mem::transmute_copy(&propertytype)) { Ok(ok__) => { - core::ptr::write(pvarpropertyvalue, core::mem::transmute(ok__)); + pvarpropertyvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4005,7 +4005,7 @@ impl ICertServerPolicy_Vtbl { let this = (*this).get_impl(); match ICertServerPolicy_Impl::GetRequestAttribute(this, core::mem::transmute(&strattributename)) { Ok(ok__) => { - core::ptr::write(pstrattributevalue, core::mem::transmute(ok__)); + pstrattributevalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4016,7 +4016,7 @@ impl ICertServerPolicy_Vtbl { let this = (*this).get_impl(); match ICertServerPolicy_Impl::GetCertificateProperty(this, core::mem::transmute(&strpropertyname), core::mem::transmute_copy(&propertytype)) { Ok(ok__) => { - core::ptr::write(pvarpropertyvalue, core::mem::transmute(ok__)); + pvarpropertyvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4032,7 +4032,7 @@ impl ICertServerPolicy_Vtbl { let this = (*this).get_impl(); match ICertServerPolicy_Impl::GetCertificateExtension(this, core::mem::transmute(&strextensionname), core::mem::transmute_copy(&r#type)) { Ok(ok__) => { - core::ptr::write(pvarvalue, core::mem::transmute(ok__)); + pvarvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4043,7 +4043,7 @@ impl ICertServerPolicy_Vtbl { let this = (*this).get_impl(); match ICertServerPolicy_Impl::GetCertificateExtensionFlags(this) { Ok(ok__) => { - core::ptr::write(pextflags, core::mem::transmute(ok__)); + pextflags.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4064,7 +4064,7 @@ impl ICertServerPolicy_Vtbl { let this = (*this).get_impl(); match ICertServerPolicy_Impl::EnumerateExtensions(this) { Ok(ok__) => { - core::ptr::write(pstrextensionname, core::mem::transmute(ok__)); + pstrextensionname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4085,7 +4085,7 @@ impl ICertServerPolicy_Vtbl { let this = (*this).get_impl(); match ICertServerPolicy_Impl::EnumerateAttributes(this) { Ok(ok__) => { - core::ptr::write(pstrattributename, core::mem::transmute(ok__)); + pstrattributename.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4144,7 +4144,7 @@ impl ICertView_Vtbl { let this = (*this).get_impl(); match ICertView_Impl::EnumCertViewColumn(this, core::mem::transmute_copy(&fresultcolumn)) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4180,7 +4180,7 @@ impl ICertView_Vtbl { let this = (*this).get_impl(); match ICertView_Impl::OpenView(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4243,7 +4243,7 @@ impl ICertificateAttestationChallenge_Vtbl { let this = (*this).get_impl(); match ICertificateAttestationChallenge_Impl::DecryptChallenge(this, core::mem::transmute_copy(&encoding)) { Ok(ok__) => { - core::ptr::write(pstrenvelopedpkcs7reencryptedtoca, core::mem::transmute(ok__)); + pstrenvelopedpkcs7reencryptedtoca.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4254,7 +4254,7 @@ impl ICertificateAttestationChallenge_Vtbl { let this = (*this).get_impl(); match ICertificateAttestationChallenge_Impl::RequestID(this) { Ok(ok__) => { - core::ptr::write(pstrrequestid, core::mem::transmute(ok__)); + pstrrequestid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4320,7 +4320,7 @@ impl ICertificatePolicies_Vtbl { let this = (*this).get_impl(); match ICertificatePolicies_Impl::get_ItemByIndex(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4331,7 +4331,7 @@ impl ICertificatePolicies_Vtbl { let this = (*this).get_impl(); match ICertificatePolicies_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4342,7 +4342,7 @@ impl ICertificatePolicies_Vtbl { let this = (*this).get_impl(); match ICertificatePolicies_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4398,7 +4398,7 @@ impl ICertificatePolicy_Vtbl { let this = (*this).get_impl(); match ICertificatePolicy_Impl::ObjectId(this) { Ok(ok__) => { - core::ptr::write(ppvalue, core::mem::transmute(ok__)); + ppvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4409,7 +4409,7 @@ impl ICertificatePolicy_Vtbl { let this = (*this).get_impl(); match ICertificatePolicy_Impl::PolicyQualifiers(this) { Ok(ok__) => { - core::ptr::write(ppvalue, core::mem::transmute(ok__)); + ppvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4447,7 +4447,7 @@ impl ICertificationAuthorities_Vtbl { let this = (*this).get_impl(); match ICertificationAuthorities_Impl::get_ItemByIndex(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4458,7 +4458,7 @@ impl ICertificationAuthorities_Vtbl { let this = (*this).get_impl(); match ICertificationAuthorities_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4469,7 +4469,7 @@ impl ICertificationAuthorities_Vtbl { let this = (*this).get_impl(); match ICertificationAuthorities_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4500,7 +4500,7 @@ impl ICertificationAuthorities_Vtbl { let this = (*this).get_impl(); match ICertificationAuthorities_Impl::get_ItemByName(this, core::mem::transmute(&strname)) { Ok(ok__) => { - core::ptr::write(ppvalue, core::mem::transmute(ok__)); + ppvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4536,7 +4536,7 @@ impl ICertificationAuthority_Vtbl { let this = (*this).get_impl(); match ICertificationAuthority_Impl::get_Property(this, core::mem::transmute_copy(&property)) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4575,7 +4575,7 @@ impl ICryptAttribute_Vtbl { let this = (*this).get_impl(); match ICryptAttribute_Impl::ObjectId(this) { Ok(ok__) => { - core::ptr::write(ppvalue, core::mem::transmute(ok__)); + ppvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4586,7 +4586,7 @@ impl ICryptAttribute_Vtbl { let this = (*this).get_impl(); match ICryptAttribute_Impl::Values(this) { Ok(ok__) => { - core::ptr::write(ppvalue, core::mem::transmute(ok__)); + ppvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4625,7 +4625,7 @@ impl ICryptAttributes_Vtbl { let this = (*this).get_impl(); match ICryptAttributes_Impl::get_ItemByIndex(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4636,7 +4636,7 @@ impl ICryptAttributes_Vtbl { let this = (*this).get_impl(); match ICryptAttributes_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4647,7 +4647,7 @@ impl ICryptAttributes_Vtbl { let this = (*this).get_impl(); match ICryptAttributes_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4673,7 +4673,7 @@ impl ICryptAttributes_Vtbl { let this = (*this).get_impl(); match ICryptAttributes_Impl::get_IndexByObjectId(this, windows_core::from_raw_borrowed(&pobjectid)) { Ok(ok__) => { - core::ptr::write(pindex, core::mem::transmute(ok__)); + pindex.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4723,7 +4723,7 @@ impl ICspAlgorithm_Vtbl { let this = (*this).get_impl(); match ICspAlgorithm_Impl::GetAlgorithmOid(this, core::mem::transmute_copy(&length), core::mem::transmute_copy(&algflags)) { Ok(ok__) => { - core::ptr::write(ppvalue, core::mem::transmute(ok__)); + ppvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4734,7 +4734,7 @@ impl ICspAlgorithm_Vtbl { let this = (*this).get_impl(); match ICspAlgorithm_Impl::DefaultLength(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4745,7 +4745,7 @@ impl ICspAlgorithm_Vtbl { let this = (*this).get_impl(); match ICspAlgorithm_Impl::IncrementLength(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4756,7 +4756,7 @@ impl ICspAlgorithm_Vtbl { let this = (*this).get_impl(); match ICspAlgorithm_Impl::LongName(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4767,7 +4767,7 @@ impl ICspAlgorithm_Vtbl { let this = (*this).get_impl(); match ICspAlgorithm_Impl::Valid(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4778,7 +4778,7 @@ impl ICspAlgorithm_Vtbl { let this = (*this).get_impl(); match ICspAlgorithm_Impl::MaxLength(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4789,7 +4789,7 @@ impl ICspAlgorithm_Vtbl { let this = (*this).get_impl(); match ICspAlgorithm_Impl::MinLength(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4800,7 +4800,7 @@ impl ICspAlgorithm_Vtbl { let this = (*this).get_impl(); match ICspAlgorithm_Impl::Name(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4811,7 +4811,7 @@ impl ICspAlgorithm_Vtbl { let this = (*this).get_impl(); match ICspAlgorithm_Impl::Type(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4822,7 +4822,7 @@ impl ICspAlgorithm_Vtbl { let this = (*this).get_impl(); match ICspAlgorithm_Impl::Operations(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4867,7 +4867,7 @@ impl ICspAlgorithms_Vtbl { let this = (*this).get_impl(); match ICspAlgorithms_Impl::get_ItemByIndex(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4878,7 +4878,7 @@ impl ICspAlgorithms_Vtbl { let this = (*this).get_impl(); match ICspAlgorithms_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4889,7 +4889,7 @@ impl ICspAlgorithms_Vtbl { let this = (*this).get_impl(); match ICspAlgorithms_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4915,7 +4915,7 @@ impl ICspAlgorithms_Vtbl { let this = (*this).get_impl(); match ICspAlgorithms_Impl::get_ItemByName(this, core::mem::transmute(&strname)) { Ok(ok__) => { - core::ptr::write(ppvalue, core::mem::transmute(ok__)); + ppvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4926,7 +4926,7 @@ impl ICspAlgorithms_Vtbl { let this = (*this).get_impl(); match ICspAlgorithms_Impl::get_IndexByObjectId(this, windows_core::from_raw_borrowed(&pobjectid)) { Ok(ok__) => { - core::ptr::write(pindex, core::mem::transmute(ok__)); + pindex.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4988,7 +4988,7 @@ impl ICspInformation_Vtbl { let this = (*this).get_impl(); match ICspInformation_Impl::CspAlgorithms(this) { Ok(ok__) => { - core::ptr::write(ppvalue, core::mem::transmute(ok__)); + ppvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4999,7 +4999,7 @@ impl ICspInformation_Vtbl { let this = (*this).get_impl(); match ICspInformation_Impl::HasHardwareRandomNumberGenerator(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5010,7 +5010,7 @@ impl ICspInformation_Vtbl { let this = (*this).get_impl(); match ICspInformation_Impl::IsHardwareDevice(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5021,7 +5021,7 @@ impl ICspInformation_Vtbl { let this = (*this).get_impl(); match ICspInformation_Impl::IsRemovable(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5032,7 +5032,7 @@ impl ICspInformation_Vtbl { let this = (*this).get_impl(); match ICspInformation_Impl::IsSoftwareDevice(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5043,7 +5043,7 @@ impl ICspInformation_Vtbl { let this = (*this).get_impl(); match ICspInformation_Impl::Valid(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5054,7 +5054,7 @@ impl ICspInformation_Vtbl { let this = (*this).get_impl(); match ICspInformation_Impl::MaxKeyContainerNameLength(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5065,7 +5065,7 @@ impl ICspInformation_Vtbl { let this = (*this).get_impl(); match ICspInformation_Impl::Name(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5076,7 +5076,7 @@ impl ICspInformation_Vtbl { let this = (*this).get_impl(); match ICspInformation_Impl::Type(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5087,7 +5087,7 @@ impl ICspInformation_Vtbl { let this = (*this).get_impl(); match ICspInformation_Impl::Version(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5098,7 +5098,7 @@ impl ICspInformation_Vtbl { let this = (*this).get_impl(); match ICspInformation_Impl::KeySpec(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5109,7 +5109,7 @@ impl ICspInformation_Vtbl { let this = (*this).get_impl(); match ICspInformation_Impl::IsSmartCard(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5120,7 +5120,7 @@ impl ICspInformation_Vtbl { let this = (*this).get_impl(); match ICspInformation_Impl::GetDefaultSecurityDescriptor(this, core::mem::transmute_copy(&machinecontext)) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5131,7 +5131,7 @@ impl ICspInformation_Vtbl { let this = (*this).get_impl(); match ICspInformation_Impl::LegacyCsp(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5142,7 +5142,7 @@ impl ICspInformation_Vtbl { let this = (*this).get_impl(); match ICspInformation_Impl::GetCspStatusFromOperations(this, windows_core::from_raw_borrowed(&palgorithm), core::mem::transmute_copy(&operations)) { Ok(ok__) => { - core::ptr::write(ppvalue, core::mem::transmute(ok__)); + ppvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5198,7 +5198,7 @@ impl ICspInformations_Vtbl { let this = (*this).get_impl(); match ICspInformations_Impl::get_ItemByIndex(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5209,7 +5209,7 @@ impl ICspInformations_Vtbl { let this = (*this).get_impl(); match ICspInformations_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5220,7 +5220,7 @@ impl ICspInformations_Vtbl { let this = (*this).get_impl(); match ICspInformations_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5251,7 +5251,7 @@ impl ICspInformations_Vtbl { let this = (*this).get_impl(); match ICspInformations_Impl::get_ItemByName(this, core::mem::transmute(&strname)) { Ok(ok__) => { - core::ptr::write(ppcspinformation, core::mem::transmute(ok__)); + ppcspinformation.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5262,7 +5262,7 @@ impl ICspInformations_Vtbl { let this = (*this).get_impl(); match ICspInformations_Impl::GetCspStatusFromProviderName(this, core::mem::transmute(&strprovidername), core::mem::transmute_copy(&legacykeyspec)) { Ok(ok__) => { - core::ptr::write(ppvalue, core::mem::transmute(ok__)); + ppvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5273,7 +5273,7 @@ impl ICspInformations_Vtbl { let this = (*this).get_impl(); match ICspInformations_Impl::GetCspStatusesFromOperations(this, core::mem::transmute_copy(&operations), windows_core::from_raw_borrowed(&pcspinformation)) { Ok(ok__) => { - core::ptr::write(ppvalue, core::mem::transmute(ok__)); + ppvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5284,7 +5284,7 @@ impl ICspInformations_Vtbl { let this = (*this).get_impl(); match ICspInformations_Impl::GetEncryptionCspAlgorithms(this, windows_core::from_raw_borrowed(&pcspinformation)) { Ok(ok__) => { - core::ptr::write(ppvalue, core::mem::transmute(ok__)); + ppvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5295,7 +5295,7 @@ impl ICspInformations_Vtbl { let this = (*this).get_impl(); match ICspInformations_Impl::GetHashAlgorithms(this, windows_core::from_raw_borrowed(&pcspinformation)) { Ok(ok__) => { - core::ptr::write(ppvalue, core::mem::transmute(ok__)); + ppvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5346,7 +5346,7 @@ impl ICspStatus_Vtbl { let this = (*this).get_impl(); match ICspStatus_Impl::Ordinal(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5362,7 +5362,7 @@ impl ICspStatus_Vtbl { let this = (*this).get_impl(); match ICspStatus_Impl::CspAlgorithm(this) { Ok(ok__) => { - core::ptr::write(ppvalue, core::mem::transmute(ok__)); + ppvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5373,7 +5373,7 @@ impl ICspStatus_Vtbl { let this = (*this).get_impl(); match ICspStatus_Impl::CspInformation(this) { Ok(ok__) => { - core::ptr::write(ppvalue, core::mem::transmute(ok__)); + ppvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5384,7 +5384,7 @@ impl ICspStatus_Vtbl { let this = (*this).get_impl(); match ICspStatus_Impl::EnrollmentStatus(this) { Ok(ok__) => { - core::ptr::write(ppvalue, core::mem::transmute(ok__)); + ppvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5395,7 +5395,7 @@ impl ICspStatus_Vtbl { let this = (*this).get_impl(); match ICspStatus_Impl::DisplayName(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5439,7 +5439,7 @@ impl ICspStatuses_Vtbl { let this = (*this).get_impl(); match ICspStatuses_Impl::get_ItemByIndex(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5450,7 +5450,7 @@ impl ICspStatuses_Vtbl { let this = (*this).get_impl(); match ICspStatuses_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5461,7 +5461,7 @@ impl ICspStatuses_Vtbl { let this = (*this).get_impl(); match ICspStatuses_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5487,7 +5487,7 @@ impl ICspStatuses_Vtbl { let this = (*this).get_impl(); match ICspStatuses_Impl::get_ItemByName(this, core::mem::transmute(&strcspname), core::mem::transmute(&stralgorithmname)) { Ok(ok__) => { - core::ptr::write(ppvalue, core::mem::transmute(ok__)); + ppvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5498,7 +5498,7 @@ impl ICspStatuses_Vtbl { let this = (*this).get_impl(); match ICspStatuses_Impl::get_ItemByOrdinal(this, core::mem::transmute_copy(&ordinal)) { Ok(ok__) => { - core::ptr::write(ppvalue, core::mem::transmute(ok__)); + ppvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5509,7 +5509,7 @@ impl ICspStatuses_Vtbl { let this = (*this).get_impl(); match ICspStatuses_Impl::get_ItemByOperations(this, core::mem::transmute(&strcspname), core::mem::transmute(&stralgorithmname), core::mem::transmute_copy(&operations)) { Ok(ok__) => { - core::ptr::write(ppvalue, core::mem::transmute(ok__)); + ppvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5520,7 +5520,7 @@ impl ICspStatuses_Vtbl { let this = (*this).get_impl(); match ICspStatuses_Impl::get_ItemByProvider(this, windows_core::from_raw_borrowed(&pcspstatus)) { Ok(ok__) => { - core::ptr::write(ppvalue, core::mem::transmute(ok__)); + ppvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6467,7 +6467,7 @@ impl IEnumCERTVIEWATTRIBUTE_Vtbl { let this = (*this).get_impl(); match IEnumCERTVIEWATTRIBUTE_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6555,7 +6555,7 @@ impl IEnumCERTVIEWCOLUMN_Vtbl { let this = (*this).get_impl(); match IEnumCERTVIEWCOLUMN_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6629,7 +6629,7 @@ impl IEnumCERTVIEWEXTENSION_Vtbl { let this = (*this).get_impl(); match IEnumCERTVIEWEXTENSION_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6676,7 +6676,7 @@ impl IEnumCERTVIEWROW_Vtbl { let this = (*this).get_impl(); match IEnumCERTVIEWROW_Impl::EnumCertViewColumn(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6687,7 +6687,7 @@ impl IEnumCERTVIEWROW_Vtbl { let this = (*this).get_impl(); match IEnumCERTVIEWROW_Impl::EnumCertViewAttribute(this, core::mem::transmute_copy(&flags)) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6698,7 +6698,7 @@ impl IEnumCERTVIEWROW_Vtbl { let this = (*this).get_impl(); match IEnumCERTVIEWROW_Impl::EnumCertViewExtension(this, core::mem::transmute_copy(&flags)) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6719,7 +6719,7 @@ impl IEnumCERTVIEWROW_Vtbl { let this = (*this).get_impl(); match IEnumCERTVIEWROW_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6771,7 +6771,7 @@ impl INDESPolicy_Vtbl { let this = (*this).get_impl(); match INDESPolicy_Impl::GenerateChallenge(this, core::mem::transmute(&pwsztemplate), core::mem::transmute(&pwszparams)) { Ok(ok__) => { - core::ptr::write(ppwszresponse, core::mem::transmute(ok__)); + ppwszresponse.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6782,7 +6782,7 @@ impl INDESPolicy_Vtbl { let this = (*this).get_impl(); match INDESPolicy_Impl::VerifyRequest(this, core::mem::transmute_copy(&pctbrequest), core::mem::transmute_copy(&pctbsigningcertencoded), core::mem::transmute(&pwsztemplate), core::mem::transmute(&pwsztransactionid)) { Ok(ok__) => { - core::ptr::write(pfverified, core::mem::transmute(ok__)); + pfverified.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6829,7 +6829,7 @@ impl IOCSPAdmin_Vtbl { let this = (*this).get_impl(); match IOCSPAdmin_Impl::OCSPServiceProperties(this) { Ok(ok__) => { - core::ptr::write(ppval, core::mem::transmute(ok__)); + ppval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6840,7 +6840,7 @@ impl IOCSPAdmin_Vtbl { let this = (*this).get_impl(); match IOCSPAdmin_Impl::OCSPCAConfigurationCollection(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6861,7 +6861,7 @@ impl IOCSPAdmin_Vtbl { let this = (*this).get_impl(); match IOCSPAdmin_Impl::GetMyRoles(this, core::mem::transmute(&bstrservername)) { Ok(ok__) => { - core::ptr::write(proles, core::mem::transmute(ok__)); + proles.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6882,7 +6882,7 @@ impl IOCSPAdmin_Vtbl { let this = (*this).get_impl(); match IOCSPAdmin_Impl::GetSecurity(this, core::mem::transmute(&bstrservername)) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6893,7 +6893,7 @@ impl IOCSPAdmin_Vtbl { let this = (*this).get_impl(); match IOCSPAdmin_Impl::GetSigningCertificates(this, core::mem::transmute(&bstrservername), core::mem::transmute_copy(&pcacertvar)) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6904,7 +6904,7 @@ impl IOCSPAdmin_Vtbl { let this = (*this).get_impl(); match IOCSPAdmin_Impl::GetHashAlgorithms(this, core::mem::transmute(&bstrservername), core::mem::transmute(&bstrcaid)) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6965,7 +6965,7 @@ impl IOCSPCAConfiguration_Vtbl { let this = (*this).get_impl(); match IOCSPCAConfiguration_Impl::Identifier(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6976,7 +6976,7 @@ impl IOCSPCAConfiguration_Vtbl { let this = (*this).get_impl(); match IOCSPCAConfiguration_Impl::CACertificate(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6987,7 +6987,7 @@ impl IOCSPCAConfiguration_Vtbl { let this = (*this).get_impl(); match IOCSPCAConfiguration_Impl::HashAlgorithm(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7003,7 +7003,7 @@ impl IOCSPCAConfiguration_Vtbl { let this = (*this).get_impl(); match IOCSPCAConfiguration_Impl::SigningFlags(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7019,7 +7019,7 @@ impl IOCSPCAConfiguration_Vtbl { let this = (*this).get_impl(); match IOCSPCAConfiguration_Impl::SigningCertificate(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7035,7 +7035,7 @@ impl IOCSPCAConfiguration_Vtbl { let this = (*this).get_impl(); match IOCSPCAConfiguration_Impl::ReminderDuration(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7051,7 +7051,7 @@ impl IOCSPCAConfiguration_Vtbl { let this = (*this).get_impl(); match IOCSPCAConfiguration_Impl::ErrorCode(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7062,7 +7062,7 @@ impl IOCSPCAConfiguration_Vtbl { let this = (*this).get_impl(); match IOCSPCAConfiguration_Impl::CSPName(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7073,7 +7073,7 @@ impl IOCSPCAConfiguration_Vtbl { let this = (*this).get_impl(); match IOCSPCAConfiguration_Impl::KeySpec(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7084,7 +7084,7 @@ impl IOCSPCAConfiguration_Vtbl { let this = (*this).get_impl(); match IOCSPCAConfiguration_Impl::ProviderCLSID(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7100,7 +7100,7 @@ impl IOCSPCAConfiguration_Vtbl { let this = (*this).get_impl(); match IOCSPCAConfiguration_Impl::ProviderProperties(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7116,7 +7116,7 @@ impl IOCSPCAConfiguration_Vtbl { let this = (*this).get_impl(); match IOCSPCAConfiguration_Impl::Modified(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7127,7 +7127,7 @@ impl IOCSPCAConfiguration_Vtbl { let this = (*this).get_impl(); match IOCSPCAConfiguration_Impl::LocalRevocationInformation(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7143,7 +7143,7 @@ impl IOCSPCAConfiguration_Vtbl { let this = (*this).get_impl(); match IOCSPCAConfiguration_Impl::SigningCertificateTemplate(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7159,7 +7159,7 @@ impl IOCSPCAConfiguration_Vtbl { let this = (*this).get_impl(); match IOCSPCAConfiguration_Impl::CAConfig(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7221,7 +7221,7 @@ impl IOCSPCAConfigurationCollection_Vtbl { let this = (*this).get_impl(); match IOCSPCAConfigurationCollection_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7232,7 +7232,7 @@ impl IOCSPCAConfigurationCollection_Vtbl { let this = (*this).get_impl(); match IOCSPCAConfigurationCollection_Impl::get_Item(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7243,7 +7243,7 @@ impl IOCSPCAConfigurationCollection_Vtbl { let this = (*this).get_impl(); match IOCSPCAConfigurationCollection_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7254,7 +7254,7 @@ impl IOCSPCAConfigurationCollection_Vtbl { let this = (*this).get_impl(); match IOCSPCAConfigurationCollection_Impl::get_ItemByName(this, core::mem::transmute(&bstridentifier)) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7265,7 +7265,7 @@ impl IOCSPCAConfigurationCollection_Vtbl { let this = (*this).get_impl(); match IOCSPCAConfigurationCollection_Impl::CreateCAConfiguration(this, core::mem::transmute(&bstridentifier), core::mem::transmute(&varcacert)) { Ok(ok__) => { - core::ptr::write(ppval, core::mem::transmute(ok__)); + ppval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7307,7 +7307,7 @@ impl IOCSPProperty_Vtbl { let this = (*this).get_impl(); match IOCSPProperty_Impl::Name(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7318,7 +7318,7 @@ impl IOCSPProperty_Vtbl { let this = (*this).get_impl(); match IOCSPProperty_Impl::Value(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7334,7 +7334,7 @@ impl IOCSPProperty_Vtbl { let this = (*this).get_impl(); match IOCSPProperty_Impl::Modified(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7373,7 +7373,7 @@ impl IOCSPPropertyCollection_Vtbl { let this = (*this).get_impl(); match IOCSPPropertyCollection_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(ppval, core::mem::transmute(ok__)); + ppval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7384,7 +7384,7 @@ impl IOCSPPropertyCollection_Vtbl { let this = (*this).get_impl(); match IOCSPPropertyCollection_Impl::get_Item(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7395,7 +7395,7 @@ impl IOCSPPropertyCollection_Vtbl { let this = (*this).get_impl(); match IOCSPPropertyCollection_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7406,7 +7406,7 @@ impl IOCSPPropertyCollection_Vtbl { let this = (*this).get_impl(); match IOCSPPropertyCollection_Impl::get_ItemByName(this, core::mem::transmute(&bstrpropname)) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7417,7 +7417,7 @@ impl IOCSPPropertyCollection_Vtbl { let this = (*this).get_impl(); match IOCSPPropertyCollection_Impl::CreateProperty(this, core::mem::transmute(&bstrpropname), core::mem::transmute_copy(&pvarpropvalue)) { Ok(ok__) => { - core::ptr::write(ppval, core::mem::transmute(ok__)); + ppval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7438,7 +7438,7 @@ impl IOCSPPropertyCollection_Vtbl { let this = (*this).get_impl(); match IOCSPPropertyCollection_Impl::GetAllProperties(this) { Ok(ok__) => { - core::ptr::write(pvarproperties, core::mem::transmute(ok__)); + pvarproperties.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7496,7 +7496,7 @@ impl IObjectId_Vtbl { let this = (*this).get_impl(); match IObjectId_Impl::Name(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7507,7 +7507,7 @@ impl IObjectId_Vtbl { let this = (*this).get_impl(); match IObjectId_Impl::FriendlyName(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7523,7 +7523,7 @@ impl IObjectId_Vtbl { let this = (*this).get_impl(); match IObjectId_Impl::Value(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7534,7 +7534,7 @@ impl IObjectId_Vtbl { let this = (*this).get_impl(); match IObjectId_Impl::GetAlgorithmName(this, core::mem::transmute_copy(&groupid), core::mem::transmute_copy(&keyflags)) { Ok(ok__) => { - core::ptr::write(pstralgorithmname, core::mem::transmute(ok__)); + pstralgorithmname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7576,7 +7576,7 @@ impl IObjectIds_Vtbl { let this = (*this).get_impl(); match IObjectIds_Impl::get_ItemByIndex(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7587,7 +7587,7 @@ impl IObjectIds_Vtbl { let this = (*this).get_impl(); match IObjectIds_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7598,7 +7598,7 @@ impl IObjectIds_Vtbl { let this = (*this).get_impl(); match IObjectIds_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7662,7 +7662,7 @@ impl IPolicyQualifier_Vtbl { let this = (*this).get_impl(); match IPolicyQualifier_Impl::ObjectId(this) { Ok(ok__) => { - core::ptr::write(ppvalue, core::mem::transmute(ok__)); + ppvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7673,7 +7673,7 @@ impl IPolicyQualifier_Vtbl { let this = (*this).get_impl(); match IPolicyQualifier_Impl::Qualifier(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7684,7 +7684,7 @@ impl IPolicyQualifier_Vtbl { let this = (*this).get_impl(); match IPolicyQualifier_Impl::Type(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7695,7 +7695,7 @@ impl IPolicyQualifier_Vtbl { let this = (*this).get_impl(); match IPolicyQualifier_Impl::get_RawData(this, core::mem::transmute_copy(&encoding)) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7733,7 +7733,7 @@ impl IPolicyQualifiers_Vtbl { let this = (*this).get_impl(); match IPolicyQualifiers_Impl::get_ItemByIndex(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7744,7 +7744,7 @@ impl IPolicyQualifiers_Vtbl { let this = (*this).get_impl(); match IPolicyQualifiers_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7755,7 +7755,7 @@ impl IPolicyQualifiers_Vtbl { let this = (*this).get_impl(); match IPolicyQualifiers_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7819,7 +7819,7 @@ impl ISignerCertificate_Vtbl { let this = (*this).get_impl(); match ISignerCertificate_Impl::get_Certificate(this, core::mem::transmute_copy(&encoding)) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7830,7 +7830,7 @@ impl ISignerCertificate_Vtbl { let this = (*this).get_impl(); match ISignerCertificate_Impl::PrivateKey(this) { Ok(ok__) => { - core::ptr::write(ppvalue, core::mem::transmute(ok__)); + ppvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7841,7 +7841,7 @@ impl ISignerCertificate_Vtbl { let this = (*this).get_impl(); match ISignerCertificate_Impl::Silent(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7857,7 +7857,7 @@ impl ISignerCertificate_Vtbl { let this = (*this).get_impl(); match ISignerCertificate_Impl::ParentWindow(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7873,7 +7873,7 @@ impl ISignerCertificate_Vtbl { let this = (*this).get_impl(); match ISignerCertificate_Impl::UIContextMessage(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7894,7 +7894,7 @@ impl ISignerCertificate_Vtbl { let this = (*this).get_impl(); match ISignerCertificate_Impl::SignatureInformation(this) { Ok(ok__) => { - core::ptr::write(ppvalue, core::mem::transmute(ok__)); + ppvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7939,7 +7939,7 @@ impl ISignerCertificates_Vtbl { let this = (*this).get_impl(); match ISignerCertificates_Impl::get_ItemByIndex(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7950,7 +7950,7 @@ impl ISignerCertificates_Vtbl { let this = (*this).get_impl(); match ISignerCertificates_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7961,7 +7961,7 @@ impl ISignerCertificates_Vtbl { let this = (*this).get_impl(); match ISignerCertificates_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7987,7 +7987,7 @@ impl ISignerCertificates_Vtbl { let this = (*this).get_impl(); match ISignerCertificates_Impl::Find(this, windows_core::from_raw_borrowed(&psignercert)) { Ok(ok__) => { - core::ptr::write(pisignercert, core::mem::transmute(ok__)); + pisignercert.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8029,7 +8029,7 @@ impl ISmimeCapabilities_Vtbl { let this = (*this).get_impl(); match ISmimeCapabilities_Impl::get_ItemByIndex(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8040,7 +8040,7 @@ impl ISmimeCapabilities_Vtbl { let this = (*this).get_impl(); match ISmimeCapabilities_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8051,7 +8051,7 @@ impl ISmimeCapabilities_Vtbl { let this = (*this).get_impl(); match ISmimeCapabilities_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8119,7 +8119,7 @@ impl ISmimeCapability_Vtbl { let this = (*this).get_impl(); match ISmimeCapability_Impl::ObjectId(this) { Ok(ok__) => { - core::ptr::write(ppvalue, core::mem::transmute(ok__)); + ppvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8130,7 +8130,7 @@ impl ISmimeCapability_Vtbl { let this = (*this).get_impl(); match ISmimeCapability_Impl::BitCount(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8174,7 +8174,7 @@ impl IX500DistinguishedName_Vtbl { let this = (*this).get_impl(); match IX500DistinguishedName_Impl::Name(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8185,7 +8185,7 @@ impl IX500DistinguishedName_Vtbl { let this = (*this).get_impl(); match IX500DistinguishedName_Impl::get_EncodedName(this, core::mem::transmute_copy(&encoding)) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8224,7 +8224,7 @@ impl IX509Attribute_Vtbl { let this = (*this).get_impl(); match IX509Attribute_Impl::ObjectId(this) { Ok(ok__) => { - core::ptr::write(ppvalue, core::mem::transmute(ok__)); + ppvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8235,7 +8235,7 @@ impl IX509Attribute_Vtbl { let this = (*this).get_impl(); match IX509Attribute_Impl::get_RawData(this, core::mem::transmute_copy(&encoding)) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8280,7 +8280,7 @@ impl IX509AttributeArchiveKey_Vtbl { let this = (*this).get_impl(); match IX509AttributeArchiveKey_Impl::get_EncryptedKeyBlob(this, core::mem::transmute_copy(&encoding)) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8291,7 +8291,7 @@ impl IX509AttributeArchiveKey_Vtbl { let this = (*this).get_impl(); match IX509AttributeArchiveKey_Impl::EncryptionAlgorithm(this) { Ok(ok__) => { - core::ptr::write(ppvalue, core::mem::transmute(ok__)); + ppvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8302,7 +8302,7 @@ impl IX509AttributeArchiveKey_Vtbl { let this = (*this).get_impl(); match IX509AttributeArchiveKey_Impl::EncryptionStrength(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8347,7 +8347,7 @@ impl IX509AttributeArchiveKeyHash_Vtbl { let this = (*this).get_impl(); match IX509AttributeArchiveKeyHash_Impl::get_EncryptedKeyHashBlob(this, core::mem::transmute_copy(&encoding)) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8393,7 +8393,7 @@ impl IX509AttributeClientId_Vtbl { let this = (*this).get_impl(); match IX509AttributeClientId_Impl::ClientId(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8404,7 +8404,7 @@ impl IX509AttributeClientId_Vtbl { let this = (*this).get_impl(); match IX509AttributeClientId_Impl::MachineDnsName(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8415,7 +8415,7 @@ impl IX509AttributeClientId_Vtbl { let this = (*this).get_impl(); match IX509AttributeClientId_Impl::UserSamName(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8426,7 +8426,7 @@ impl IX509AttributeClientId_Vtbl { let this = (*this).get_impl(); match IX509AttributeClientId_Impl::ProcessName(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8474,7 +8474,7 @@ impl IX509AttributeCspProvider_Vtbl { let this = (*this).get_impl(); match IX509AttributeCspProvider_Impl::KeySpec(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8485,7 +8485,7 @@ impl IX509AttributeCspProvider_Vtbl { let this = (*this).get_impl(); match IX509AttributeCspProvider_Impl::ProviderName(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8496,7 +8496,7 @@ impl IX509AttributeCspProvider_Vtbl { let this = (*this).get_impl(); match IX509AttributeCspProvider_Impl::get_Signature(this, core::mem::transmute_copy(&encoding)) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8541,7 +8541,7 @@ impl IX509AttributeExtensions_Vtbl { let this = (*this).get_impl(); match IX509AttributeExtensions_Impl::X509Extensions(this) { Ok(ok__) => { - core::ptr::write(ppvalue, core::mem::transmute(ok__)); + ppvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8584,7 +8584,7 @@ impl IX509AttributeOSVersion_Vtbl { let this = (*this).get_impl(); match IX509AttributeOSVersion_Impl::OSVersion(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8627,7 +8627,7 @@ impl IX509AttributeRenewalCertificate_Vtbl { let this = (*this).get_impl(); match IX509AttributeRenewalCertificate_Impl::get_RenewalCertificate(this, core::mem::transmute_copy(&encoding)) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8663,7 +8663,7 @@ impl IX509Attributes_Vtbl { let this = (*this).get_impl(); match IX509Attributes_Impl::get_ItemByIndex(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8674,7 +8674,7 @@ impl IX509Attributes_Vtbl { let this = (*this).get_impl(); match IX509Attributes_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8685,7 +8685,7 @@ impl IX509Attributes_Vtbl { let this = (*this).get_impl(); match IX509Attributes_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8773,7 +8773,7 @@ impl IX509CertificateRequest_Vtbl { let this = (*this).get_impl(); match IX509CertificateRequest_Impl::GetInnerRequest(this, core::mem::transmute_copy(&level)) { Ok(ok__) => { - core::ptr::write(ppvalue, core::mem::transmute(ok__)); + ppvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8784,7 +8784,7 @@ impl IX509CertificateRequest_Vtbl { let this = (*this).get_impl(); match IX509CertificateRequest_Impl::Type(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8795,7 +8795,7 @@ impl IX509CertificateRequest_Vtbl { let this = (*this).get_impl(); match IX509CertificateRequest_Impl::EnrollmentContext(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8806,7 +8806,7 @@ impl IX509CertificateRequest_Vtbl { let this = (*this).get_impl(); match IX509CertificateRequest_Impl::Silent(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8822,7 +8822,7 @@ impl IX509CertificateRequest_Vtbl { let this = (*this).get_impl(); match IX509CertificateRequest_Impl::ParentWindow(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8838,7 +8838,7 @@ impl IX509CertificateRequest_Vtbl { let this = (*this).get_impl(); match IX509CertificateRequest_Impl::UIContextMessage(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8854,7 +8854,7 @@ impl IX509CertificateRequest_Vtbl { let this = (*this).get_impl(); match IX509CertificateRequest_Impl::SuppressDefaults(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8870,7 +8870,7 @@ impl IX509CertificateRequest_Vtbl { let this = (*this).get_impl(); match IX509CertificateRequest_Impl::get_RenewalCertificate(this, core::mem::transmute_copy(&encoding)) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8886,7 +8886,7 @@ impl IX509CertificateRequest_Vtbl { let this = (*this).get_impl(); match IX509CertificateRequest_Impl::ClientId(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8902,7 +8902,7 @@ impl IX509CertificateRequest_Vtbl { let this = (*this).get_impl(); match IX509CertificateRequest_Impl::CspInformations(this) { Ok(ok__) => { - core::ptr::write(ppvalue, core::mem::transmute(ok__)); + ppvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8918,7 +8918,7 @@ impl IX509CertificateRequest_Vtbl { let this = (*this).get_impl(); match IX509CertificateRequest_Impl::HashAlgorithm(this) { Ok(ok__) => { - core::ptr::write(ppvalue, core::mem::transmute(ok__)); + ppvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8934,7 +8934,7 @@ impl IX509CertificateRequest_Vtbl { let this = (*this).get_impl(); match IX509CertificateRequest_Impl::AlternateSignatureAlgorithm(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8950,7 +8950,7 @@ impl IX509CertificateRequest_Vtbl { let this = (*this).get_impl(); match IX509CertificateRequest_Impl::get_RawData(this, core::mem::transmute_copy(&encoding)) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9018,7 +9018,7 @@ impl IX509CertificateRequestCertificate_Vtbl { let this = (*this).get_impl(); match IX509CertificateRequestCertificate_Impl::Issuer(this) { Ok(ok__) => { - core::ptr::write(ppvalue, core::mem::transmute(ok__)); + ppvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9034,7 +9034,7 @@ impl IX509CertificateRequestCertificate_Vtbl { let this = (*this).get_impl(); match IX509CertificateRequestCertificate_Impl::NotBefore(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9050,7 +9050,7 @@ impl IX509CertificateRequestCertificate_Vtbl { let this = (*this).get_impl(); match IX509CertificateRequestCertificate_Impl::NotAfter(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9066,7 +9066,7 @@ impl IX509CertificateRequestCertificate_Vtbl { let this = (*this).get_impl(); match IX509CertificateRequestCertificate_Impl::get_SerialNumber(this, core::mem::transmute_copy(&encoding)) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9082,7 +9082,7 @@ impl IX509CertificateRequestCertificate_Vtbl { let this = (*this).get_impl(); match IX509CertificateRequestCertificate_Impl::SignerCertificate(this) { Ok(ok__) => { - core::ptr::write(ppvalue, core::mem::transmute(ok__)); + ppvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9139,7 +9139,7 @@ impl IX509CertificateRequestCertificate2_Vtbl { let this = (*this).get_impl(); match IX509CertificateRequestCertificate2_Impl::PolicyServer(this) { Ok(ok__) => { - core::ptr::write(pppolicyserver, core::mem::transmute(ok__)); + pppolicyserver.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9150,7 +9150,7 @@ impl IX509CertificateRequestCertificate2_Vtbl { let this = (*this).get_impl(); match IX509CertificateRequestCertificate2_Impl::Template(this) { Ok(ok__) => { - core::ptr::write(pptemplate, core::mem::transmute(ok__)); + pptemplate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9209,7 +9209,7 @@ impl IX509CertificateRequestCmc_Vtbl { let this = (*this).get_impl(); match IX509CertificateRequestCmc_Impl::TemplateObjectId(this) { Ok(ok__) => { - core::ptr::write(ppvalue, core::mem::transmute(ok__)); + ppvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9220,7 +9220,7 @@ impl IX509CertificateRequestCmc_Vtbl { let this = (*this).get_impl(); match IX509CertificateRequestCmc_Impl::NullSigned(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9231,7 +9231,7 @@ impl IX509CertificateRequestCmc_Vtbl { let this = (*this).get_impl(); match IX509CertificateRequestCmc_Impl::CryptAttributes(this) { Ok(ok__) => { - core::ptr::write(ppvalue, core::mem::transmute(ok__)); + ppvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9242,7 +9242,7 @@ impl IX509CertificateRequestCmc_Vtbl { let this = (*this).get_impl(); match IX509CertificateRequestCmc_Impl::NameValuePairs(this) { Ok(ok__) => { - core::ptr::write(ppvalue, core::mem::transmute(ok__)); + ppvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9253,7 +9253,7 @@ impl IX509CertificateRequestCmc_Vtbl { let this = (*this).get_impl(); match IX509CertificateRequestCmc_Impl::X509Extensions(this) { Ok(ok__) => { - core::ptr::write(ppvalue, core::mem::transmute(ok__)); + ppvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9264,7 +9264,7 @@ impl IX509CertificateRequestCmc_Vtbl { let this = (*this).get_impl(); match IX509CertificateRequestCmc_Impl::CriticalExtensions(this) { Ok(ok__) => { - core::ptr::write(ppvalue, core::mem::transmute(ok__)); + ppvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9275,7 +9275,7 @@ impl IX509CertificateRequestCmc_Vtbl { let this = (*this).get_impl(); match IX509CertificateRequestCmc_Impl::SuppressOids(this) { Ok(ok__) => { - core::ptr::write(ppvalue, core::mem::transmute(ok__)); + ppvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9286,7 +9286,7 @@ impl IX509CertificateRequestCmc_Vtbl { let this = (*this).get_impl(); match IX509CertificateRequestCmc_Impl::TransactionId(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9302,7 +9302,7 @@ impl IX509CertificateRequestCmc_Vtbl { let this = (*this).get_impl(); match IX509CertificateRequestCmc_Impl::get_SenderNonce(this, core::mem::transmute_copy(&encoding)) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9318,7 +9318,7 @@ impl IX509CertificateRequestCmc_Vtbl { let this = (*this).get_impl(); match IX509CertificateRequestCmc_Impl::SignatureInformation(this) { Ok(ok__) => { - core::ptr::write(ppvalue, core::mem::transmute(ok__)); + ppvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9329,7 +9329,7 @@ impl IX509CertificateRequestCmc_Vtbl { let this = (*this).get_impl(); match IX509CertificateRequestCmc_Impl::ArchivePrivateKey(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9345,7 +9345,7 @@ impl IX509CertificateRequestCmc_Vtbl { let this = (*this).get_impl(); match IX509CertificateRequestCmc_Impl::get_KeyArchivalCertificate(this, core::mem::transmute_copy(&encoding)) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9361,7 +9361,7 @@ impl IX509CertificateRequestCmc_Vtbl { let this = (*this).get_impl(); match IX509CertificateRequestCmc_Impl::EncryptionAlgorithm(this) { Ok(ok__) => { - core::ptr::write(ppvalue, core::mem::transmute(ok__)); + ppvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9377,7 +9377,7 @@ impl IX509CertificateRequestCmc_Vtbl { let this = (*this).get_impl(); match IX509CertificateRequestCmc_Impl::EncryptionStrength(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9393,7 +9393,7 @@ impl IX509CertificateRequestCmc_Vtbl { let this = (*this).get_impl(); match IX509CertificateRequestCmc_Impl::get_EncryptedKeyHash(this, core::mem::transmute_copy(&encoding)) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9404,7 +9404,7 @@ impl IX509CertificateRequestCmc_Vtbl { let this = (*this).get_impl(); match IX509CertificateRequestCmc_Impl::SignerCertificates(this) { Ok(ok__) => { - core::ptr::write(ppvalue, core::mem::transmute(ok__)); + ppvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9470,7 +9470,7 @@ impl IX509CertificateRequestCmc2_Vtbl { let this = (*this).get_impl(); match IX509CertificateRequestCmc2_Impl::PolicyServer(this) { Ok(ok__) => { - core::ptr::write(pppolicyserver, core::mem::transmute(ok__)); + pppolicyserver.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9481,7 +9481,7 @@ impl IX509CertificateRequestCmc2_Vtbl { let this = (*this).get_impl(); match IX509CertificateRequestCmc2_Impl::Template(this) { Ok(ok__) => { - core::ptr::write(pptemplate, core::mem::transmute(ok__)); + pptemplate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9582,7 +9582,7 @@ impl IX509CertificateRequestPkcs10_Vtbl { let this = (*this).get_impl(); match IX509CertificateRequestPkcs10_Impl::IsSmartCard(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9593,7 +9593,7 @@ impl IX509CertificateRequestPkcs10_Vtbl { let this = (*this).get_impl(); match IX509CertificateRequestPkcs10_Impl::TemplateObjectId(this) { Ok(ok__) => { - core::ptr::write(ppvalue, core::mem::transmute(ok__)); + ppvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9604,7 +9604,7 @@ impl IX509CertificateRequestPkcs10_Vtbl { let this = (*this).get_impl(); match IX509CertificateRequestPkcs10_Impl::PublicKey(this) { Ok(ok__) => { - core::ptr::write(ppvalue, core::mem::transmute(ok__)); + ppvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9615,7 +9615,7 @@ impl IX509CertificateRequestPkcs10_Vtbl { let this = (*this).get_impl(); match IX509CertificateRequestPkcs10_Impl::PrivateKey(this) { Ok(ok__) => { - core::ptr::write(ppvalue, core::mem::transmute(ok__)); + ppvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9626,7 +9626,7 @@ impl IX509CertificateRequestPkcs10_Vtbl { let this = (*this).get_impl(); match IX509CertificateRequestPkcs10_Impl::NullSigned(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9637,7 +9637,7 @@ impl IX509CertificateRequestPkcs10_Vtbl { let this = (*this).get_impl(); match IX509CertificateRequestPkcs10_Impl::ReuseKey(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9648,7 +9648,7 @@ impl IX509CertificateRequestPkcs10_Vtbl { let this = (*this).get_impl(); match IX509CertificateRequestPkcs10_Impl::get_OldCertificate(this, core::mem::transmute_copy(&encoding)) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9659,7 +9659,7 @@ impl IX509CertificateRequestPkcs10_Vtbl { let this = (*this).get_impl(); match IX509CertificateRequestPkcs10_Impl::Subject(this) { Ok(ok__) => { - core::ptr::write(ppvalue, core::mem::transmute(ok__)); + ppvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9675,7 +9675,7 @@ impl IX509CertificateRequestPkcs10_Vtbl { let this = (*this).get_impl(); match IX509CertificateRequestPkcs10_Impl::CspStatuses(this) { Ok(ok__) => { - core::ptr::write(ppvalue, core::mem::transmute(ok__)); + ppvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9686,7 +9686,7 @@ impl IX509CertificateRequestPkcs10_Vtbl { let this = (*this).get_impl(); match IX509CertificateRequestPkcs10_Impl::SmimeCapabilities(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9702,7 +9702,7 @@ impl IX509CertificateRequestPkcs10_Vtbl { let this = (*this).get_impl(); match IX509CertificateRequestPkcs10_Impl::SignatureInformation(this) { Ok(ok__) => { - core::ptr::write(ppvalue, core::mem::transmute(ok__)); + ppvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9713,7 +9713,7 @@ impl IX509CertificateRequestPkcs10_Vtbl { let this = (*this).get_impl(); match IX509CertificateRequestPkcs10_Impl::KeyContainerNamePrefix(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9729,7 +9729,7 @@ impl IX509CertificateRequestPkcs10_Vtbl { let this = (*this).get_impl(); match IX509CertificateRequestPkcs10_Impl::CryptAttributes(this) { Ok(ok__) => { - core::ptr::write(ppvalue, core::mem::transmute(ok__)); + ppvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9740,7 +9740,7 @@ impl IX509CertificateRequestPkcs10_Vtbl { let this = (*this).get_impl(); match IX509CertificateRequestPkcs10_Impl::X509Extensions(this) { Ok(ok__) => { - core::ptr::write(ppvalue, core::mem::transmute(ok__)); + ppvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9751,7 +9751,7 @@ impl IX509CertificateRequestPkcs10_Vtbl { let this = (*this).get_impl(); match IX509CertificateRequestPkcs10_Impl::CriticalExtensions(this) { Ok(ok__) => { - core::ptr::write(ppvalue, core::mem::transmute(ok__)); + ppvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9762,7 +9762,7 @@ impl IX509CertificateRequestPkcs10_Vtbl { let this = (*this).get_impl(); match IX509CertificateRequestPkcs10_Impl::SuppressOids(this) { Ok(ok__) => { - core::ptr::write(ppvalue, core::mem::transmute(ok__)); + ppvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9773,7 +9773,7 @@ impl IX509CertificateRequestPkcs10_Vtbl { let this = (*this).get_impl(); match IX509CertificateRequestPkcs10_Impl::get_RawDataToBeSigned(this, core::mem::transmute_copy(&encoding)) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9784,7 +9784,7 @@ impl IX509CertificateRequestPkcs10_Vtbl { let this = (*this).get_impl(); match IX509CertificateRequestPkcs10_Impl::get_Signature(this, core::mem::transmute_copy(&encoding)) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9795,7 +9795,7 @@ impl IX509CertificateRequestPkcs10_Vtbl { let this = (*this).get_impl(); match IX509CertificateRequestPkcs10_Impl::GetCspStatuses(this, core::mem::transmute_copy(&keyspec)) { Ok(ok__) => { - core::ptr::write(ppcspstatuses, core::mem::transmute(ok__)); + ppcspstatuses.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9870,7 +9870,7 @@ impl IX509CertificateRequestPkcs10V2_Vtbl { let this = (*this).get_impl(); match IX509CertificateRequestPkcs10V2_Impl::PolicyServer(this) { Ok(ok__) => { - core::ptr::write(pppolicyserver, core::mem::transmute(ok__)); + pppolicyserver.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9881,7 +9881,7 @@ impl IX509CertificateRequestPkcs10V2_Vtbl { let this = (*this).get_impl(); match IX509CertificateRequestPkcs10V2_Impl::Template(this) { Ok(ok__) => { - core::ptr::write(pptemplate, core::mem::transmute(ok__)); + pptemplate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9924,7 +9924,7 @@ impl IX509CertificateRequestPkcs10V3_Vtbl { let this = (*this).get_impl(); match IX509CertificateRequestPkcs10V3_Impl::AttestPrivateKey(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9940,7 +9940,7 @@ impl IX509CertificateRequestPkcs10V3_Vtbl { let this = (*this).get_impl(); match IX509CertificateRequestPkcs10V3_Impl::get_AttestationEncryptionCertificate(this, core::mem::transmute_copy(&encoding)) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9956,7 +9956,7 @@ impl IX509CertificateRequestPkcs10V3_Vtbl { let this = (*this).get_impl(); match IX509CertificateRequestPkcs10V3_Impl::EncryptionAlgorithm(this) { Ok(ok__) => { - core::ptr::write(ppvalue, core::mem::transmute(ok__)); + ppvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9972,7 +9972,7 @@ impl IX509CertificateRequestPkcs10V3_Vtbl { let this = (*this).get_impl(); match IX509CertificateRequestPkcs10V3_Impl::EncryptionStrength(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9988,7 +9988,7 @@ impl IX509CertificateRequestPkcs10V3_Vtbl { let this = (*this).get_impl(); match IX509CertificateRequestPkcs10V3_Impl::ChallengePassword(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10004,7 +10004,7 @@ impl IX509CertificateRequestPkcs10V3_Vtbl { let this = (*this).get_impl(); match IX509CertificateRequestPkcs10V3_Impl::NameValuePairs(this) { Ok(ok__) => { - core::ptr::write(ppvalue, core::mem::transmute(ok__)); + ppvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10046,7 +10046,7 @@ impl IX509CertificateRequestPkcs10V4_Vtbl { let this = (*this).get_impl(); match IX509CertificateRequestPkcs10V4_Impl::ClaimType(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10062,7 +10062,7 @@ impl IX509CertificateRequestPkcs10V4_Vtbl { let this = (*this).get_impl(); match IX509CertificateRequestPkcs10V4_Impl::AttestPrivateKeyPreferred(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10126,7 +10126,7 @@ impl IX509CertificateRequestPkcs7_Vtbl { let this = (*this).get_impl(); match IX509CertificateRequestPkcs7_Impl::RequesterName(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10142,7 +10142,7 @@ impl IX509CertificateRequestPkcs7_Vtbl { let this = (*this).get_impl(); match IX509CertificateRequestPkcs7_Impl::SignerCertificate(this) { Ok(ok__) => { - core::ptr::write(ppvalue, core::mem::transmute(ok__)); + ppvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10191,7 +10191,7 @@ impl IX509CertificateRequestPkcs7V2_Vtbl { let this = (*this).get_impl(); match IX509CertificateRequestPkcs7V2_Impl::PolicyServer(this) { Ok(ok__) => { - core::ptr::write(pppolicyserver, core::mem::transmute(ok__)); + pppolicyserver.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10202,7 +10202,7 @@ impl IX509CertificateRequestPkcs7V2_Vtbl { let this = (*this).get_impl(); match IX509CertificateRequestPkcs7V2_Impl::Template(this) { Ok(ok__) => { - core::ptr::write(pptemplate, core::mem::transmute(ok__)); + pptemplate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10299,7 +10299,7 @@ impl IX509CertificateRevocationList_Vtbl { let this = (*this).get_impl(); match IX509CertificateRevocationList_Impl::Issuer(this) { Ok(ok__) => { - core::ptr::write(ppvalue, core::mem::transmute(ok__)); + ppvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10315,7 +10315,7 @@ impl IX509CertificateRevocationList_Vtbl { let this = (*this).get_impl(); match IX509CertificateRevocationList_Impl::ThisUpdate(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10331,7 +10331,7 @@ impl IX509CertificateRevocationList_Vtbl { let this = (*this).get_impl(); match IX509CertificateRevocationList_Impl::NextUpdate(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10347,7 +10347,7 @@ impl IX509CertificateRevocationList_Vtbl { let this = (*this).get_impl(); match IX509CertificateRevocationList_Impl::X509CRLEntries(this) { Ok(ok__) => { - core::ptr::write(ppvalue, core::mem::transmute(ok__)); + ppvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10358,7 +10358,7 @@ impl IX509CertificateRevocationList_Vtbl { let this = (*this).get_impl(); match IX509CertificateRevocationList_Impl::X509Extensions(this) { Ok(ok__) => { - core::ptr::write(ppvalue, core::mem::transmute(ok__)); + ppvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10369,7 +10369,7 @@ impl IX509CertificateRevocationList_Vtbl { let this = (*this).get_impl(); match IX509CertificateRevocationList_Impl::CriticalExtensions(this) { Ok(ok__) => { - core::ptr::write(ppvalue, core::mem::transmute(ok__)); + ppvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10380,7 +10380,7 @@ impl IX509CertificateRevocationList_Vtbl { let this = (*this).get_impl(); match IX509CertificateRevocationList_Impl::SignerCertificate(this) { Ok(ok__) => { - core::ptr::write(ppvalue, core::mem::transmute(ok__)); + ppvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10396,7 +10396,7 @@ impl IX509CertificateRevocationList_Vtbl { let this = (*this).get_impl(); match IX509CertificateRevocationList_Impl::get_CRLNumber(this, core::mem::transmute_copy(&encoding)) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10412,7 +10412,7 @@ impl IX509CertificateRevocationList_Vtbl { let this = (*this).get_impl(); match IX509CertificateRevocationList_Impl::CAVersion(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10428,7 +10428,7 @@ impl IX509CertificateRevocationList_Vtbl { let this = (*this).get_impl(); match IX509CertificateRevocationList_Impl::BaseCRL(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10439,7 +10439,7 @@ impl IX509CertificateRevocationList_Vtbl { let this = (*this).get_impl(); match IX509CertificateRevocationList_Impl::NullSigned(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10450,7 +10450,7 @@ impl IX509CertificateRevocationList_Vtbl { let this = (*this).get_impl(); match IX509CertificateRevocationList_Impl::HashAlgorithm(this) { Ok(ok__) => { - core::ptr::write(ppvalue, core::mem::transmute(ok__)); + ppvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10466,7 +10466,7 @@ impl IX509CertificateRevocationList_Vtbl { let this = (*this).get_impl(); match IX509CertificateRevocationList_Impl::AlternateSignatureAlgorithm(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10482,7 +10482,7 @@ impl IX509CertificateRevocationList_Vtbl { let this = (*this).get_impl(); match IX509CertificateRevocationList_Impl::SignatureInformation(this) { Ok(ok__) => { - core::ptr::write(ppvalue, core::mem::transmute(ok__)); + ppvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10493,7 +10493,7 @@ impl IX509CertificateRevocationList_Vtbl { let this = (*this).get_impl(); match IX509CertificateRevocationList_Impl::get_RawData(this, core::mem::transmute_copy(&encoding)) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10504,7 +10504,7 @@ impl IX509CertificateRevocationList_Vtbl { let this = (*this).get_impl(); match IX509CertificateRevocationList_Impl::get_RawDataToBeSigned(this, core::mem::transmute_copy(&encoding)) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10515,7 +10515,7 @@ impl IX509CertificateRevocationList_Vtbl { let this = (*this).get_impl(); match IX509CertificateRevocationList_Impl::get_Signature(this, core::mem::transmute_copy(&encoding)) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10581,7 +10581,7 @@ impl IX509CertificateRevocationListEntries_Vtbl { let this = (*this).get_impl(); match IX509CertificateRevocationListEntries_Impl::get_ItemByIndex(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10592,7 +10592,7 @@ impl IX509CertificateRevocationListEntries_Vtbl { let this = (*this).get_impl(); match IX509CertificateRevocationListEntries_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10603,7 +10603,7 @@ impl IX509CertificateRevocationListEntries_Vtbl { let this = (*this).get_impl(); match IX509CertificateRevocationListEntries_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10629,7 +10629,7 @@ impl IX509CertificateRevocationListEntries_Vtbl { let this = (*this).get_impl(); match IX509CertificateRevocationListEntries_Impl::get_IndexBySerialNumber(this, core::mem::transmute_copy(&encoding), core::mem::transmute(&serialnumber)) { Ok(ok__) => { - core::ptr::write(pindex, core::mem::transmute(ok__)); + pindex.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10681,7 +10681,7 @@ impl IX509CertificateRevocationListEntry_Vtbl { let this = (*this).get_impl(); match IX509CertificateRevocationListEntry_Impl::get_SerialNumber(this, core::mem::transmute_copy(&encoding)) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10692,7 +10692,7 @@ impl IX509CertificateRevocationListEntry_Vtbl { let this = (*this).get_impl(); match IX509CertificateRevocationListEntry_Impl::RevocationDate(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10703,7 +10703,7 @@ impl IX509CertificateRevocationListEntry_Vtbl { let this = (*this).get_impl(); match IX509CertificateRevocationListEntry_Impl::RevocationReason(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10719,7 +10719,7 @@ impl IX509CertificateRevocationListEntry_Vtbl { let this = (*this).get_impl(); match IX509CertificateRevocationListEntry_Impl::X509Extensions(this) { Ok(ok__) => { - core::ptr::write(ppvalue, core::mem::transmute(ok__)); + ppvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10730,7 +10730,7 @@ impl IX509CertificateRevocationListEntry_Vtbl { let this = (*this).get_impl(); match IX509CertificateRevocationListEntry_Impl::CriticalExtensions(this) { Ok(ok__) => { - core::ptr::write(ppvalue, core::mem::transmute(ok__)); + ppvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10765,7 +10765,7 @@ impl IX509CertificateTemplate_Vtbl { let this = (*this).get_impl(); match IX509CertificateTemplate_Impl::get_Property(this, core::mem::transmute_copy(&property)) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10805,7 +10805,7 @@ impl IX509CertificateTemplateWritable_Vtbl { let this = (*this).get_impl(); match IX509CertificateTemplateWritable_Impl::get_Property(this, core::mem::transmute_copy(&property)) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10821,7 +10821,7 @@ impl IX509CertificateTemplateWritable_Vtbl { let this = (*this).get_impl(); match IX509CertificateTemplateWritable_Impl::Template(this) { Ok(ok__) => { - core::ptr::write(ppvalue, core::mem::transmute(ok__)); + ppvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10861,7 +10861,7 @@ impl IX509CertificateTemplates_Vtbl { let this = (*this).get_impl(); match IX509CertificateTemplates_Impl::get_ItemByIndex(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10872,7 +10872,7 @@ impl IX509CertificateTemplates_Vtbl { let this = (*this).get_impl(); match IX509CertificateTemplates_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10883,7 +10883,7 @@ impl IX509CertificateTemplates_Vtbl { let this = (*this).get_impl(); match IX509CertificateTemplates_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10909,7 +10909,7 @@ impl IX509CertificateTemplates_Vtbl { let this = (*this).get_impl(); match IX509CertificateTemplates_Impl::get_ItemByName(this, core::mem::transmute(&bstrname)) { Ok(ok__) => { - core::ptr::write(ppvalue, core::mem::transmute(ok__)); + ppvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10920,7 +10920,7 @@ impl IX509CertificateTemplates_Vtbl { let this = (*this).get_impl(); match IX509CertificateTemplates_Impl::get_ItemByOid(this, windows_core::from_raw_borrowed(&poid)) { Ok(ok__) => { - core::ptr::write(ppvalue, core::mem::transmute(ok__)); + ppvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10966,7 +10966,7 @@ impl IX509EndorsementKey_Vtbl { let this = (*this).get_impl(); match IX509EndorsementKey_Impl::ProviderName(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10982,7 +10982,7 @@ impl IX509EndorsementKey_Vtbl { let this = (*this).get_impl(); match IX509EndorsementKey_Impl::Length(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10993,7 +10993,7 @@ impl IX509EndorsementKey_Vtbl { let this = (*this).get_impl(); match IX509EndorsementKey_Impl::Opened(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11014,7 +11014,7 @@ impl IX509EndorsementKey_Vtbl { let this = (*this).get_impl(); match IX509EndorsementKey_Impl::GetCertificateByIndex(this, core::mem::transmute_copy(&manufactureronly), core::mem::transmute_copy(&dwindex), core::mem::transmute_copy(&encoding)) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11025,7 +11025,7 @@ impl IX509EndorsementKey_Vtbl { let this = (*this).get_impl(); match IX509EndorsementKey_Impl::GetCertificateCount(this, core::mem::transmute_copy(&manufactureronly)) { Ok(ok__) => { - core::ptr::write(pcount, core::mem::transmute(ok__)); + pcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11036,7 +11036,7 @@ impl IX509EndorsementKey_Vtbl { let this = (*this).get_impl(); match IX509EndorsementKey_Impl::ExportPublicKey(this) { Ok(ok__) => { - core::ptr::write(pppublickey, core::mem::transmute(ok__)); + pppublickey.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11122,7 +11122,7 @@ impl IX509Enrollment_Vtbl { let this = (*this).get_impl(); match IX509Enrollment_Impl::CreateRequest(this, core::mem::transmute_copy(&encoding)) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11143,7 +11143,7 @@ impl IX509Enrollment_Vtbl { let this = (*this).get_impl(); match IX509Enrollment_Impl::CreatePFX(this, core::mem::transmute(&strpassword), core::mem::transmute_copy(&exportoptions), core::mem::transmute_copy(&encoding)) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11154,7 +11154,7 @@ impl IX509Enrollment_Vtbl { let this = (*this).get_impl(); match IX509Enrollment_Impl::Request(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11165,7 +11165,7 @@ impl IX509Enrollment_Vtbl { let this = (*this).get_impl(); match IX509Enrollment_Impl::Silent(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11181,7 +11181,7 @@ impl IX509Enrollment_Vtbl { let this = (*this).get_impl(); match IX509Enrollment_Impl::ParentWindow(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11197,7 +11197,7 @@ impl IX509Enrollment_Vtbl { let this = (*this).get_impl(); match IX509Enrollment_Impl::NameValuePairs(this) { Ok(ok__) => { - core::ptr::write(ppvalue, core::mem::transmute(ok__)); + ppvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11208,7 +11208,7 @@ impl IX509Enrollment_Vtbl { let this = (*this).get_impl(); match IX509Enrollment_Impl::EnrollmentContext(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11219,7 +11219,7 @@ impl IX509Enrollment_Vtbl { let this = (*this).get_impl(); match IX509Enrollment_Impl::Status(this) { Ok(ok__) => { - core::ptr::write(ppvalue, core::mem::transmute(ok__)); + ppvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11230,7 +11230,7 @@ impl IX509Enrollment_Vtbl { let this = (*this).get_impl(); match IX509Enrollment_Impl::get_Certificate(this, core::mem::transmute_copy(&encoding)) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11241,7 +11241,7 @@ impl IX509Enrollment_Vtbl { let this = (*this).get_impl(); match IX509Enrollment_Impl::get_Response(this, core::mem::transmute_copy(&encoding)) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11252,7 +11252,7 @@ impl IX509Enrollment_Vtbl { let this = (*this).get_impl(); match IX509Enrollment_Impl::CertificateFriendlyName(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11268,7 +11268,7 @@ impl IX509Enrollment_Vtbl { let this = (*this).get_impl(); match IX509Enrollment_Impl::CertificateDescription(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11284,7 +11284,7 @@ impl IX509Enrollment_Vtbl { let this = (*this).get_impl(); match IX509Enrollment_Impl::RequestId(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11295,7 +11295,7 @@ impl IX509Enrollment_Vtbl { let this = (*this).get_impl(); match IX509Enrollment_Impl::CAConfigString(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11360,7 +11360,7 @@ impl IX509Enrollment2_Vtbl { let this = (*this).get_impl(); match IX509Enrollment2_Impl::PolicyServer(this) { Ok(ok__) => { - core::ptr::write(pppolicyserver, core::mem::transmute(ok__)); + pppolicyserver.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11371,7 +11371,7 @@ impl IX509Enrollment2_Vtbl { let this = (*this).get_impl(); match IX509Enrollment2_Impl::Template(this) { Ok(ok__) => { - core::ptr::write(pptemplate, core::mem::transmute(ok__)); + pptemplate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11382,7 +11382,7 @@ impl IX509Enrollment2_Vtbl { let this = (*this).get_impl(); match IX509Enrollment2_Impl::RequestIdString(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11428,7 +11428,7 @@ impl IX509EnrollmentHelper_Vtbl { let this = (*this).get_impl(); match IX509EnrollmentHelper_Impl::Enroll(this, core::mem::transmute(&strenrollmentpolicyserveruri), core::mem::transmute(&strtemplatename), core::mem::transmute_copy(&encoding), core::mem::transmute_copy(&enrollflags)) { Ok(ok__) => { - core::ptr::write(pstrcertificate, core::mem::transmute(ok__)); + pstrcertificate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11498,7 +11498,7 @@ impl IX509EnrollmentPolicyServer_Vtbl { let this = (*this).get_impl(); match IX509EnrollmentPolicyServer_Impl::GetTemplates(this) { Ok(ok__) => { - core::ptr::write(ptemplates, core::mem::transmute(ok__)); + ptemplates.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11509,7 +11509,7 @@ impl IX509EnrollmentPolicyServer_Vtbl { let this = (*this).get_impl(); match IX509EnrollmentPolicyServer_Impl::GetCAsForTemplate(this, windows_core::from_raw_borrowed(&ptemplate)) { Ok(ok__) => { - core::ptr::write(ppcas, core::mem::transmute(ok__)); + ppcas.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11520,7 +11520,7 @@ impl IX509EnrollmentPolicyServer_Vtbl { let this = (*this).get_impl(); match IX509EnrollmentPolicyServer_Impl::GetCAs(this) { Ok(ok__) => { - core::ptr::write(ppcas, core::mem::transmute(ok__)); + ppcas.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11536,7 +11536,7 @@ impl IX509EnrollmentPolicyServer_Vtbl { let this = (*this).get_impl(); match IX509EnrollmentPolicyServer_Impl::GetCustomOids(this) { Ok(ok__) => { - core::ptr::write(ppobjectids, core::mem::transmute(ok__)); + ppobjectids.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11547,7 +11547,7 @@ impl IX509EnrollmentPolicyServer_Vtbl { let this = (*this).get_impl(); match IX509EnrollmentPolicyServer_Impl::GetNextUpdateTime(this) { Ok(ok__) => { - core::ptr::write(pdate, core::mem::transmute(ok__)); + pdate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11558,7 +11558,7 @@ impl IX509EnrollmentPolicyServer_Vtbl { let this = (*this).get_impl(); match IX509EnrollmentPolicyServer_Impl::GetLastUpdateTime(this) { Ok(ok__) => { - core::ptr::write(pdate, core::mem::transmute(ok__)); + pdate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11569,7 +11569,7 @@ impl IX509EnrollmentPolicyServer_Vtbl { let this = (*this).get_impl(); match IX509EnrollmentPolicyServer_Impl::GetPolicyServerUrl(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11580,7 +11580,7 @@ impl IX509EnrollmentPolicyServer_Vtbl { let this = (*this).get_impl(); match IX509EnrollmentPolicyServer_Impl::GetPolicyServerId(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11591,7 +11591,7 @@ impl IX509EnrollmentPolicyServer_Vtbl { let this = (*this).get_impl(); match IX509EnrollmentPolicyServer_Impl::GetFriendlyName(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11602,7 +11602,7 @@ impl IX509EnrollmentPolicyServer_Vtbl { let this = (*this).get_impl(); match IX509EnrollmentPolicyServer_Impl::GetIsDefaultCEP(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11613,7 +11613,7 @@ impl IX509EnrollmentPolicyServer_Vtbl { let this = (*this).get_impl(); match IX509EnrollmentPolicyServer_Impl::GetUseClientId(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11624,7 +11624,7 @@ impl IX509EnrollmentPolicyServer_Vtbl { let this = (*this).get_impl(); match IX509EnrollmentPolicyServer_Impl::GetAllowUnTrustedCA(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11635,7 +11635,7 @@ impl IX509EnrollmentPolicyServer_Vtbl { let this = (*this).get_impl(); match IX509EnrollmentPolicyServer_Impl::GetCachePath(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11646,7 +11646,7 @@ impl IX509EnrollmentPolicyServer_Vtbl { let this = (*this).get_impl(); match IX509EnrollmentPolicyServer_Impl::GetCacheDir(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11657,7 +11657,7 @@ impl IX509EnrollmentPolicyServer_Vtbl { let this = (*this).get_impl(); match IX509EnrollmentPolicyServer_Impl::GetAuthFlags(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11673,7 +11673,7 @@ impl IX509EnrollmentPolicyServer_Vtbl { let this = (*this).get_impl(); match IX509EnrollmentPolicyServer_Impl::QueryChanges(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11689,7 +11689,7 @@ impl IX509EnrollmentPolicyServer_Vtbl { let this = (*this).get_impl(); match IX509EnrollmentPolicyServer_Impl::Export(this, core::mem::transmute_copy(&exportflags)) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11700,7 +11700,7 @@ impl IX509EnrollmentPolicyServer_Vtbl { let this = (*this).get_impl(); match IX509EnrollmentPolicyServer_Impl::Cost(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11773,7 +11773,7 @@ impl IX509EnrollmentStatus_Vtbl { let this = (*this).get_impl(); match IX509EnrollmentStatus_Impl::Text(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11789,7 +11789,7 @@ impl IX509EnrollmentStatus_Vtbl { let this = (*this).get_impl(); match IX509EnrollmentStatus_Impl::Selected(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11805,7 +11805,7 @@ impl IX509EnrollmentStatus_Vtbl { let this = (*this).get_impl(); match IX509EnrollmentStatus_Impl::Display(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11821,7 +11821,7 @@ impl IX509EnrollmentStatus_Vtbl { let this = (*this).get_impl(); match IX509EnrollmentStatus_Impl::Status(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11837,7 +11837,7 @@ impl IX509EnrollmentStatus_Vtbl { let this = (*this).get_impl(); match IX509EnrollmentStatus_Impl::Error(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11853,7 +11853,7 @@ impl IX509EnrollmentStatus_Vtbl { let this = (*this).get_impl(); match IX509EnrollmentStatus_Impl::ErrorText(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11893,7 +11893,7 @@ impl IX509EnrollmentWebClassFactory_Vtbl { let this = (*this).get_impl(); match IX509EnrollmentWebClassFactory_Impl::CreateObject(this, core::mem::transmute(&strprogid)) { Ok(ok__) => { - core::ptr::write(ppiunknown, core::mem::transmute(ok__)); + ppiunknown.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11928,7 +11928,7 @@ impl IX509Extension_Vtbl { let this = (*this).get_impl(); match IX509Extension_Impl::ObjectId(this) { Ok(ok__) => { - core::ptr::write(ppvalue, core::mem::transmute(ok__)); + ppvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11939,7 +11939,7 @@ impl IX509Extension_Vtbl { let this = (*this).get_impl(); match IX509Extension_Impl::get_RawData(this, core::mem::transmute_copy(&encoding)) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11950,7 +11950,7 @@ impl IX509Extension_Vtbl { let this = (*this).get_impl(); match IX509Extension_Impl::Critical(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12000,7 +12000,7 @@ impl IX509ExtensionAlternativeNames_Vtbl { let this = (*this).get_impl(); match IX509ExtensionAlternativeNames_Impl::AlternativeNames(this) { Ok(ok__) => { - core::ptr::write(ppvalue, core::mem::transmute(ok__)); + ppvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12043,7 +12043,7 @@ impl IX509ExtensionAuthorityKeyIdentifier_Vtbl { let this = (*this).get_impl(); match IX509ExtensionAuthorityKeyIdentifier_Impl::get_AuthorityKeyIdentifier(this, core::mem::transmute_copy(&encoding)) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12087,7 +12087,7 @@ impl IX509ExtensionBasicConstraints_Vtbl { let this = (*this).get_impl(); match IX509ExtensionBasicConstraints_Impl::IsCA(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12098,7 +12098,7 @@ impl IX509ExtensionBasicConstraints_Vtbl { let this = (*this).get_impl(); match IX509ExtensionBasicConstraints_Impl::PathLenConstraint(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12142,7 +12142,7 @@ impl IX509ExtensionCertificatePolicies_Vtbl { let this = (*this).get_impl(); match IX509ExtensionCertificatePolicies_Impl::Policies(this) { Ok(ok__) => { - core::ptr::write(ppvalue, core::mem::transmute(ok__)); + ppvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12185,7 +12185,7 @@ impl IX509ExtensionEnhancedKeyUsage_Vtbl { let this = (*this).get_impl(); match IX509ExtensionEnhancedKeyUsage_Impl::EnhancedKeyUsage(this) { Ok(ok__) => { - core::ptr::write(ppvalue, core::mem::transmute(ok__)); + ppvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12228,7 +12228,7 @@ impl IX509ExtensionKeyUsage_Vtbl { let this = (*this).get_impl(); match IX509ExtensionKeyUsage_Impl::KeyUsage(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12271,7 +12271,7 @@ impl IX509ExtensionMSApplicationPolicies_Vtbl { let this = (*this).get_impl(); match IX509ExtensionMSApplicationPolicies_Impl::Policies(this) { Ok(ok__) => { - core::ptr::write(ppvalue, core::mem::transmute(ok__)); + ppvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12314,7 +12314,7 @@ impl IX509ExtensionSmimeCapabilities_Vtbl { let this = (*this).get_impl(); match IX509ExtensionSmimeCapabilities_Impl::SmimeCapabilities(this) { Ok(ok__) => { - core::ptr::write(ppvalue, core::mem::transmute(ok__)); + ppvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12357,7 +12357,7 @@ impl IX509ExtensionSubjectKeyIdentifier_Vtbl { let this = (*this).get_impl(); match IX509ExtensionSubjectKeyIdentifier_Impl::get_SubjectKeyIdentifier(this, core::mem::transmute_copy(&encoding)) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12402,7 +12402,7 @@ impl IX509ExtensionTemplate_Vtbl { let this = (*this).get_impl(); match IX509ExtensionTemplate_Impl::TemplateOid(this) { Ok(ok__) => { - core::ptr::write(ppvalue, core::mem::transmute(ok__)); + ppvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12413,7 +12413,7 @@ impl IX509ExtensionTemplate_Vtbl { let this = (*this).get_impl(); match IX509ExtensionTemplate_Impl::MajorVersion(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12424,7 +12424,7 @@ impl IX509ExtensionTemplate_Vtbl { let this = (*this).get_impl(); match IX509ExtensionTemplate_Impl::MinorVersion(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12469,7 +12469,7 @@ impl IX509ExtensionTemplateName_Vtbl { let this = (*this).get_impl(); match IX509ExtensionTemplateName_Impl::TemplateName(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12507,7 +12507,7 @@ impl IX509Extensions_Vtbl { let this = (*this).get_impl(); match IX509Extensions_Impl::get_ItemByIndex(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12518,7 +12518,7 @@ impl IX509Extensions_Vtbl { let this = (*this).get_impl(); match IX509Extensions_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12529,7 +12529,7 @@ impl IX509Extensions_Vtbl { let this = (*this).get_impl(); match IX509Extensions_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12555,7 +12555,7 @@ impl IX509Extensions_Vtbl { let this = (*this).get_impl(); match IX509Extensions_Impl::get_IndexByObjectId(this, windows_core::from_raw_borrowed(&pobjectid)) { Ok(ok__) => { - core::ptr::write(pindex, core::mem::transmute(ok__)); + pindex.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12596,7 +12596,7 @@ impl IX509MachineEnrollmentFactory_Vtbl { let this = (*this).get_impl(); match IX509MachineEnrollmentFactory_Impl::CreateObject(this, core::mem::transmute(&strprogid)) { Ok(ok__) => { - core::ptr::write(ppihelper, core::mem::transmute(ok__)); + ppihelper.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12629,7 +12629,7 @@ impl IX509NameValuePair_Vtbl { let this = (*this).get_impl(); match IX509NameValuePair_Impl::Value(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12640,7 +12640,7 @@ impl IX509NameValuePair_Vtbl { let this = (*this).get_impl(); match IX509NameValuePair_Impl::Name(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12676,7 +12676,7 @@ impl IX509NameValuePairs_Vtbl { let this = (*this).get_impl(); match IX509NameValuePairs_Impl::get_ItemByIndex(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12687,7 +12687,7 @@ impl IX509NameValuePairs_Vtbl { let this = (*this).get_impl(); match IX509NameValuePairs_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12698,7 +12698,7 @@ impl IX509NameValuePairs_Vtbl { let this = (*this).get_impl(); match IX509NameValuePairs_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12753,7 +12753,7 @@ impl IX509PolicyServerListManager_Vtbl { let this = (*this).get_impl(); match IX509PolicyServerListManager_Impl::get_ItemByIndex(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12764,7 +12764,7 @@ impl IX509PolicyServerListManager_Vtbl { let this = (*this).get_impl(); match IX509PolicyServerListManager_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12775,7 +12775,7 @@ impl IX509PolicyServerListManager_Vtbl { let this = (*this).get_impl(); match IX509PolicyServerListManager_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12849,7 +12849,7 @@ impl IX509PolicyServerUrl_Vtbl { let this = (*this).get_impl(); match IX509PolicyServerUrl_Impl::Url(this) { Ok(ok__) => { - core::ptr::write(ppvalue, core::mem::transmute(ok__)); + ppvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12865,7 +12865,7 @@ impl IX509PolicyServerUrl_Vtbl { let this = (*this).get_impl(); match IX509PolicyServerUrl_Impl::Default(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12881,7 +12881,7 @@ impl IX509PolicyServerUrl_Vtbl { let this = (*this).get_impl(); match IX509PolicyServerUrl_Impl::Flags(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12897,7 +12897,7 @@ impl IX509PolicyServerUrl_Vtbl { let this = (*this).get_impl(); match IX509PolicyServerUrl_Impl::AuthFlags(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12913,7 +12913,7 @@ impl IX509PolicyServerUrl_Vtbl { let this = (*this).get_impl(); match IX509PolicyServerUrl_Impl::Cost(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12929,7 +12929,7 @@ impl IX509PolicyServerUrl_Vtbl { let this = (*this).get_impl(); match IX509PolicyServerUrl_Impl::GetStringProperty(this, core::mem::transmute_copy(&propertyid)) { Ok(ok__) => { - core::ptr::write(ppvalue, core::mem::transmute(ok__)); + ppvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13074,7 +13074,7 @@ impl IX509PrivateKey_Vtbl { let this = (*this).get_impl(); match IX509PrivateKey_Impl::Export(this, core::mem::transmute(&strexporttype), core::mem::transmute_copy(&encoding)) { Ok(ok__) => { - core::ptr::write(pstrencodedkey, core::mem::transmute(ok__)); + pstrencodedkey.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13085,7 +13085,7 @@ impl IX509PrivateKey_Vtbl { let this = (*this).get_impl(); match IX509PrivateKey_Impl::ExportPublicKey(this) { Ok(ok__) => { - core::ptr::write(pppublickey, core::mem::transmute(ok__)); + pppublickey.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13096,7 +13096,7 @@ impl IX509PrivateKey_Vtbl { let this = (*this).get_impl(); match IX509PrivateKey_Impl::ContainerName(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13112,7 +13112,7 @@ impl IX509PrivateKey_Vtbl { let this = (*this).get_impl(); match IX509PrivateKey_Impl::ContainerNamePrefix(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13128,7 +13128,7 @@ impl IX509PrivateKey_Vtbl { let this = (*this).get_impl(); match IX509PrivateKey_Impl::ReaderName(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13144,7 +13144,7 @@ impl IX509PrivateKey_Vtbl { let this = (*this).get_impl(); match IX509PrivateKey_Impl::CspInformations(this) { Ok(ok__) => { - core::ptr::write(ppvalue, core::mem::transmute(ok__)); + ppvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13160,7 +13160,7 @@ impl IX509PrivateKey_Vtbl { let this = (*this).get_impl(); match IX509PrivateKey_Impl::CspStatus(this) { Ok(ok__) => { - core::ptr::write(ppvalue, core::mem::transmute(ok__)); + ppvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13176,7 +13176,7 @@ impl IX509PrivateKey_Vtbl { let this = (*this).get_impl(); match IX509PrivateKey_Impl::ProviderName(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13192,7 +13192,7 @@ impl IX509PrivateKey_Vtbl { let this = (*this).get_impl(); match IX509PrivateKey_Impl::ProviderType(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13208,7 +13208,7 @@ impl IX509PrivateKey_Vtbl { let this = (*this).get_impl(); match IX509PrivateKey_Impl::LegacyCsp(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13224,7 +13224,7 @@ impl IX509PrivateKey_Vtbl { let this = (*this).get_impl(); match IX509PrivateKey_Impl::Algorithm(this) { Ok(ok__) => { - core::ptr::write(ppvalue, core::mem::transmute(ok__)); + ppvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13240,7 +13240,7 @@ impl IX509PrivateKey_Vtbl { let this = (*this).get_impl(); match IX509PrivateKey_Impl::KeySpec(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13256,7 +13256,7 @@ impl IX509PrivateKey_Vtbl { let this = (*this).get_impl(); match IX509PrivateKey_Impl::Length(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13272,7 +13272,7 @@ impl IX509PrivateKey_Vtbl { let this = (*this).get_impl(); match IX509PrivateKey_Impl::ExportPolicy(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13288,7 +13288,7 @@ impl IX509PrivateKey_Vtbl { let this = (*this).get_impl(); match IX509PrivateKey_Impl::KeyUsage(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13304,7 +13304,7 @@ impl IX509PrivateKey_Vtbl { let this = (*this).get_impl(); match IX509PrivateKey_Impl::KeyProtection(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13320,7 +13320,7 @@ impl IX509PrivateKey_Vtbl { let this = (*this).get_impl(); match IX509PrivateKey_Impl::MachineContext(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13336,7 +13336,7 @@ impl IX509PrivateKey_Vtbl { let this = (*this).get_impl(); match IX509PrivateKey_Impl::SecurityDescriptor(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13352,7 +13352,7 @@ impl IX509PrivateKey_Vtbl { let this = (*this).get_impl(); match IX509PrivateKey_Impl::get_Certificate(this, core::mem::transmute_copy(&encoding)) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13368,7 +13368,7 @@ impl IX509PrivateKey_Vtbl { let this = (*this).get_impl(); match IX509PrivateKey_Impl::UniqueContainerName(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13379,7 +13379,7 @@ impl IX509PrivateKey_Vtbl { let this = (*this).get_impl(); match IX509PrivateKey_Impl::Opened(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13390,7 +13390,7 @@ impl IX509PrivateKey_Vtbl { let this = (*this).get_impl(); match IX509PrivateKey_Impl::DefaultContainer(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13401,7 +13401,7 @@ impl IX509PrivateKey_Vtbl { let this = (*this).get_impl(); match IX509PrivateKey_Impl::Existing(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13417,7 +13417,7 @@ impl IX509PrivateKey_Vtbl { let this = (*this).get_impl(); match IX509PrivateKey_Impl::Silent(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13433,7 +13433,7 @@ impl IX509PrivateKey_Vtbl { let this = (*this).get_impl(); match IX509PrivateKey_Impl::ParentWindow(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13449,7 +13449,7 @@ impl IX509PrivateKey_Vtbl { let this = (*this).get_impl(); match IX509PrivateKey_Impl::UIContextMessage(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13470,7 +13470,7 @@ impl IX509PrivateKey_Vtbl { let this = (*this).get_impl(); match IX509PrivateKey_Impl::FriendlyName(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13486,7 +13486,7 @@ impl IX509PrivateKey_Vtbl { let this = (*this).get_impl(); match IX509PrivateKey_Impl::Description(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13586,7 +13586,7 @@ impl IX509PrivateKey2_Vtbl { let this = (*this).get_impl(); match IX509PrivateKey2_Impl::HardwareKeyUsage(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13602,7 +13602,7 @@ impl IX509PrivateKey2_Vtbl { let this = (*this).get_impl(); match IX509PrivateKey2_Impl::AlternateStorageLocation(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13618,7 +13618,7 @@ impl IX509PrivateKey2_Vtbl { let this = (*this).get_impl(); match IX509PrivateKey2_Impl::AlgorithmName(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13634,7 +13634,7 @@ impl IX509PrivateKey2_Vtbl { let this = (*this).get_impl(); match IX509PrivateKey2_Impl::get_AlgorithmParameters(this, core::mem::transmute_copy(&encoding)) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13650,7 +13650,7 @@ impl IX509PrivateKey2_Vtbl { let this = (*this).get_impl(); match IX509PrivateKey2_Impl::ParametersExportType(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13709,7 +13709,7 @@ impl IX509PublicKey_Vtbl { let this = (*this).get_impl(); match IX509PublicKey_Impl::Algorithm(this) { Ok(ok__) => { - core::ptr::write(ppvalue, core::mem::transmute(ok__)); + ppvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13720,7 +13720,7 @@ impl IX509PublicKey_Vtbl { let this = (*this).get_impl(); match IX509PublicKey_Impl::Length(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13731,7 +13731,7 @@ impl IX509PublicKey_Vtbl { let this = (*this).get_impl(); match IX509PublicKey_Impl::get_EncodedKey(this, core::mem::transmute_copy(&encoding)) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13742,7 +13742,7 @@ impl IX509PublicKey_Vtbl { let this = (*this).get_impl(); match IX509PublicKey_Impl::get_EncodedParameters(this, core::mem::transmute_copy(&encoding)) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13753,7 +13753,7 @@ impl IX509PublicKey_Vtbl { let this = (*this).get_impl(); match IX509PublicKey_Impl::ComputeKeyIdentifier(this, core::mem::transmute_copy(&algorithm), core::mem::transmute_copy(&encoding)) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13819,7 +13819,7 @@ impl IX509SCEPEnrollment_Vtbl { let this = (*this).get_impl(); match IX509SCEPEnrollment_Impl::CreateRequestMessage(this, core::mem::transmute_copy(&encoding)) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13830,7 +13830,7 @@ impl IX509SCEPEnrollment_Vtbl { let this = (*this).get_impl(); match IX509SCEPEnrollment_Impl::CreateRetrievePendingMessage(this, core::mem::transmute_copy(&encoding)) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13841,7 +13841,7 @@ impl IX509SCEPEnrollment_Vtbl { let this = (*this).get_impl(); match IX509SCEPEnrollment_Impl::CreateRetrieveCertificateMessage(this, core::mem::transmute_copy(&context), core::mem::transmute(&strissuer), core::mem::transmute_copy(&issuerencoding), core::mem::transmute(&strserialnumber), core::mem::transmute_copy(&serialnumberencoding), core::mem::transmute_copy(&encoding)) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13852,7 +13852,7 @@ impl IX509SCEPEnrollment_Vtbl { let this = (*this).get_impl(); match IX509SCEPEnrollment_Impl::ProcessResponseMessage(this, core::mem::transmute(&strresponse), core::mem::transmute_copy(&encoding)) { Ok(ok__) => { - core::ptr::write(pdisposition, core::mem::transmute(ok__)); + pdisposition.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13868,7 +13868,7 @@ impl IX509SCEPEnrollment_Vtbl { let this = (*this).get_impl(); match IX509SCEPEnrollment_Impl::FailInfo(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13879,7 +13879,7 @@ impl IX509SCEPEnrollment_Vtbl { let this = (*this).get_impl(); match IX509SCEPEnrollment_Impl::SignerCertificate(this) { Ok(ok__) => { - core::ptr::write(ppvalue, core::mem::transmute(ok__)); + ppvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13895,7 +13895,7 @@ impl IX509SCEPEnrollment_Vtbl { let this = (*this).get_impl(); match IX509SCEPEnrollment_Impl::OldCertificate(this) { Ok(ok__) => { - core::ptr::write(ppvalue, core::mem::transmute(ok__)); + ppvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13911,7 +13911,7 @@ impl IX509SCEPEnrollment_Vtbl { let this = (*this).get_impl(); match IX509SCEPEnrollment_Impl::get_TransactionId(this, core::mem::transmute_copy(&encoding)) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13927,7 +13927,7 @@ impl IX509SCEPEnrollment_Vtbl { let this = (*this).get_impl(); match IX509SCEPEnrollment_Impl::Request(this) { Ok(ok__) => { - core::ptr::write(ppvalue, core::mem::transmute(ok__)); + ppvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13938,7 +13938,7 @@ impl IX509SCEPEnrollment_Vtbl { let this = (*this).get_impl(); match IX509SCEPEnrollment_Impl::CertificateFriendlyName(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13954,7 +13954,7 @@ impl IX509SCEPEnrollment_Vtbl { let this = (*this).get_impl(); match IX509SCEPEnrollment_Impl::Status(this) { Ok(ok__) => { - core::ptr::write(ppvalue, core::mem::transmute(ok__)); + ppvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13965,7 +13965,7 @@ impl IX509SCEPEnrollment_Vtbl { let this = (*this).get_impl(); match IX509SCEPEnrollment_Impl::get_Certificate(this, core::mem::transmute_copy(&encoding)) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13976,7 +13976,7 @@ impl IX509SCEPEnrollment_Vtbl { let this = (*this).get_impl(); match IX509SCEPEnrollment_Impl::Silent(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -14041,7 +14041,7 @@ impl IX509SCEPEnrollment2_Vtbl { let this = (*this).get_impl(); match IX509SCEPEnrollment2_Impl::CreateChallengeAnswerMessage(this, core::mem::transmute_copy(&encoding)) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -14052,7 +14052,7 @@ impl IX509SCEPEnrollment2_Vtbl { let this = (*this).get_impl(); match IX509SCEPEnrollment2_Impl::ProcessResponseMessage2(this, core::mem::transmute_copy(&flags), core::mem::transmute(&strresponse), core::mem::transmute_copy(&encoding)) { Ok(ok__) => { - core::ptr::write(pdisposition, core::mem::transmute(ok__)); + pdisposition.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -14063,7 +14063,7 @@ impl IX509SCEPEnrollment2_Vtbl { let this = (*this).get_impl(); match IX509SCEPEnrollment2_Impl::ResultMessageText(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -14074,7 +14074,7 @@ impl IX509SCEPEnrollment2_Vtbl { let this = (*this).get_impl(); match IX509SCEPEnrollment2_Impl::DelayRetry(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -14085,7 +14085,7 @@ impl IX509SCEPEnrollment2_Vtbl { let this = (*this).get_impl(); match IX509SCEPEnrollment2_Impl::ActivityId(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -14139,7 +14139,7 @@ impl IX509SCEPEnrollmentHelper_Vtbl { let this = (*this).get_impl(); match IX509SCEPEnrollmentHelper_Impl::Enroll(this, core::mem::transmute_copy(&processflags)) { Ok(ok__) => { - core::ptr::write(pdisposition, core::mem::transmute(ok__)); + pdisposition.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -14150,7 +14150,7 @@ impl IX509SCEPEnrollmentHelper_Vtbl { let this = (*this).get_impl(); match IX509SCEPEnrollmentHelper_Impl::FetchPending(this, core::mem::transmute_copy(&processflags)) { Ok(ok__) => { - core::ptr::write(pdisposition, core::mem::transmute(ok__)); + pdisposition.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -14161,7 +14161,7 @@ impl IX509SCEPEnrollmentHelper_Vtbl { let this = (*this).get_impl(); match IX509SCEPEnrollmentHelper_Impl::X509SCEPEnrollment(this) { Ok(ok__) => { - core::ptr::write(ppvalue, core::mem::transmute(ok__)); + ppvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -14172,7 +14172,7 @@ impl IX509SCEPEnrollmentHelper_Vtbl { let this = (*this).get_impl(); match IX509SCEPEnrollmentHelper_Impl::ResultMessageText(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -14218,7 +14218,7 @@ impl IX509SignatureInformation_Vtbl { let this = (*this).get_impl(); match IX509SignatureInformation_Impl::HashAlgorithm(this) { Ok(ok__) => { - core::ptr::write(ppvalue, core::mem::transmute(ok__)); + ppvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -14234,7 +14234,7 @@ impl IX509SignatureInformation_Vtbl { let this = (*this).get_impl(); match IX509SignatureInformation_Impl::PublicKeyAlgorithm(this) { Ok(ok__) => { - core::ptr::write(ppvalue, core::mem::transmute(ok__)); + ppvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -14250,7 +14250,7 @@ impl IX509SignatureInformation_Vtbl { let this = (*this).get_impl(); match IX509SignatureInformation_Impl::get_Parameters(this, core::mem::transmute_copy(&encoding)) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -14266,7 +14266,7 @@ impl IX509SignatureInformation_Vtbl { let this = (*this).get_impl(); match IX509SignatureInformation_Impl::AlternateSignatureAlgorithm(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -14282,7 +14282,7 @@ impl IX509SignatureInformation_Vtbl { let this = (*this).get_impl(); match IX509SignatureInformation_Impl::AlternateSignatureAlgorithmSet(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -14293,7 +14293,7 @@ impl IX509SignatureInformation_Vtbl { let this = (*this).get_impl(); match IX509SignatureInformation_Impl::NullSigned(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -14309,7 +14309,7 @@ impl IX509SignatureInformation_Vtbl { let this = (*this).get_impl(); match IX509SignatureInformation_Impl::GetSignatureAlgorithm(this, core::mem::transmute_copy(&pkcs7signature), core::mem::transmute_copy(&signaturekey)) { Ok(ok__) => { - core::ptr::write(ppvalue, core::mem::transmute(ok__)); + ppvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/Win32/Security/Cryptography/impl.rs b/crates/libs/windows/src/Windows/Win32/Security/Cryptography/impl.rs index 829583e61c..23393e291b 100644 --- a/crates/libs/windows/src/Windows/Win32/Security/Cryptography/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Security/Cryptography/impl.rs @@ -31,7 +31,7 @@ impl ICertSrvSetup_Vtbl { let this = (*this).get_impl(); match ICertSrvSetup_Impl::CAErrorId(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -42,7 +42,7 @@ impl ICertSrvSetup_Vtbl { let this = (*this).get_impl(); match ICertSrvSetup_Impl::CAErrorString(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -58,7 +58,7 @@ impl ICertSrvSetup_Vtbl { let this = (*this).get_impl(); match ICertSrvSetup_Impl::GetCASetupProperty(this, core::mem::transmute_copy(&propertyid)) { Ok(ok__) => { - core::ptr::write(ppropertyvalue, core::mem::transmute(ok__)); + ppropertyvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -74,7 +74,7 @@ impl ICertSrvSetup_Vtbl { let this = (*this).get_impl(); match ICertSrvSetup_Impl::IsPropertyEditable(this, core::mem::transmute_copy(&propertyid)) { Ok(ok__) => { - core::ptr::write(pbeditable, core::mem::transmute(ok__)); + pbeditable.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -85,7 +85,7 @@ impl ICertSrvSetup_Vtbl { let this = (*this).get_impl(); match ICertSrvSetup_Impl::GetSupportedCATypes(this) { Ok(ok__) => { - core::ptr::write(pcatypes, core::mem::transmute(ok__)); + pcatypes.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -96,7 +96,7 @@ impl ICertSrvSetup_Vtbl { let this = (*this).get_impl(); match ICertSrvSetup_Impl::GetProviderNameList(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -107,7 +107,7 @@ impl ICertSrvSetup_Vtbl { let this = (*this).get_impl(); match ICertSrvSetup_Impl::GetKeyLengthList(this, core::mem::transmute(&bstrprovidername)) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -118,7 +118,7 @@ impl ICertSrvSetup_Vtbl { let this = (*this).get_impl(); match ICertSrvSetup_Impl::GetHashAlgorithmList(this, core::mem::transmute(&bstrprovidername)) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -129,7 +129,7 @@ impl ICertSrvSetup_Vtbl { let this = (*this).get_impl(); match ICertSrvSetup_Impl::GetPrivateKeyContainerList(this, core::mem::transmute(&bstrprovidername)) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -140,7 +140,7 @@ impl ICertSrvSetup_Vtbl { let this = (*this).get_impl(); match ICertSrvSetup_Impl::GetExistingCACertificates(this) { Ok(ok__) => { - core::ptr::write(ppval, core::mem::transmute(ok__)); + ppval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -151,7 +151,7 @@ impl ICertSrvSetup_Vtbl { let this = (*this).get_impl(); match ICertSrvSetup_Impl::CAImportPFX(this, core::mem::transmute(&bstrfilename), core::mem::transmute(&bstrpasswd), core::mem::transmute_copy(&boverwriteexistingkey)) { Ok(ok__) => { - core::ptr::write(ppval, core::mem::transmute(ok__)); + ppval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -245,7 +245,7 @@ impl ICertSrvSetupKeyInformation_Vtbl { let this = (*this).get_impl(); match ICertSrvSetupKeyInformation_Impl::ProviderName(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -261,7 +261,7 @@ impl ICertSrvSetupKeyInformation_Vtbl { let this = (*this).get_impl(); match ICertSrvSetupKeyInformation_Impl::Length(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -277,7 +277,7 @@ impl ICertSrvSetupKeyInformation_Vtbl { let this = (*this).get_impl(); match ICertSrvSetupKeyInformation_Impl::Existing(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -293,7 +293,7 @@ impl ICertSrvSetupKeyInformation_Vtbl { let this = (*this).get_impl(); match ICertSrvSetupKeyInformation_Impl::ContainerName(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -309,7 +309,7 @@ impl ICertSrvSetupKeyInformation_Vtbl { let this = (*this).get_impl(); match ICertSrvSetupKeyInformation_Impl::HashAlgorithm(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -325,7 +325,7 @@ impl ICertSrvSetupKeyInformation_Vtbl { let this = (*this).get_impl(); match ICertSrvSetupKeyInformation_Impl::ExistingCACertificate(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -373,7 +373,7 @@ impl ICertSrvSetupKeyInformationCollection_Vtbl { let this = (*this).get_impl(); match ICertSrvSetupKeyInformationCollection_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(ppval, core::mem::transmute(ok__)); + ppval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -384,7 +384,7 @@ impl ICertSrvSetupKeyInformationCollection_Vtbl { let this = (*this).get_impl(); match ICertSrvSetupKeyInformationCollection_Impl::get_Item(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -395,7 +395,7 @@ impl ICertSrvSetupKeyInformationCollection_Vtbl { let this = (*this).get_impl(); match ICertSrvSetupKeyInformationCollection_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -437,7 +437,7 @@ impl ICertificateEnrollmentPolicyServerSetup_Vtbl { let this = (*this).get_impl(); match ICertificateEnrollmentPolicyServerSetup_Impl::ErrorString(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -453,7 +453,7 @@ impl ICertificateEnrollmentPolicyServerSetup_Vtbl { let this = (*this).get_impl(); match ICertificateEnrollmentPolicyServerSetup_Impl::GetProperty(this, core::mem::transmute_copy(&propertyid)) { Ok(ok__) => { - core::ptr::write(ppropertyvalue, core::mem::transmute(ok__)); + ppropertyvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -508,7 +508,7 @@ impl ICertificateEnrollmentServerSetup_Vtbl { let this = (*this).get_impl(); match ICertificateEnrollmentServerSetup_Impl::ErrorString(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -524,7 +524,7 @@ impl ICertificateEnrollmentServerSetup_Vtbl { let this = (*this).get_impl(); match ICertificateEnrollmentServerSetup_Impl::GetProperty(this, core::mem::transmute_copy(&propertyid)) { Ok(ok__) => { - core::ptr::write(ppropertyvalue, core::mem::transmute(ok__)); + ppropertyvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -590,7 +590,7 @@ impl IMSCEPSetup_Vtbl { let this = (*this).get_impl(); match IMSCEPSetup_Impl::MSCEPErrorId(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -601,7 +601,7 @@ impl IMSCEPSetup_Vtbl { let this = (*this).get_impl(); match IMSCEPSetup_Impl::MSCEPErrorString(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -617,7 +617,7 @@ impl IMSCEPSetup_Vtbl { let this = (*this).get_impl(); match IMSCEPSetup_Impl::GetMSCEPSetupProperty(this, core::mem::transmute_copy(&propertyid)) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -638,7 +638,7 @@ impl IMSCEPSetup_Vtbl { let this = (*this).get_impl(); match IMSCEPSetup_Impl::IsMSCEPStoreEmpty(this) { Ok(ok__) => { - core::ptr::write(pbempty, core::mem::transmute(ok__)); + pbempty.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -649,7 +649,7 @@ impl IMSCEPSetup_Vtbl { let this = (*this).get_impl(); match IMSCEPSetup_Impl::GetProviderNameList(this, core::mem::transmute_copy(&bexchange)) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -660,7 +660,7 @@ impl IMSCEPSetup_Vtbl { let this = (*this).get_impl(); match IMSCEPSetup_Impl::GetKeyLengthList(this, core::mem::transmute_copy(&bexchange), core::mem::transmute(&bstrprovidername)) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/Win32/Security/ExtensibleAuthenticationProtocol/impl.rs b/crates/libs/windows/src/Windows/Win32/Security/ExtensibleAuthenticationProtocol/impl.rs index 4c001f669c..ccbfde8dae 100644 --- a/crates/libs/windows/src/Windows/Win32/Security/ExtensibleAuthenticationProtocol/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Security/ExtensibleAuthenticationProtocol/impl.rs @@ -13,7 +13,7 @@ impl IAccountingProviderConfig_Vtbl { let this = (*this).get_impl(); match IAccountingProviderConfig_Impl::Initialize(this, core::mem::transmute(&pszmachinename)) { Ok(ok__) => { - core::ptr::write(puconnectionparam, core::mem::transmute(ok__)); + puconnectionparam.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -67,7 +67,7 @@ impl IAuthenticationProviderConfig_Vtbl { let this = (*this).get_impl(); match IAuthenticationProviderConfig_Impl::Initialize(this, core::mem::transmute(&pszmachinename)) { Ok(ok__) => { - core::ptr::write(puconnectionparam, core::mem::transmute(ok__)); + puconnectionparam.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -121,7 +121,7 @@ impl IEAPProviderConfig_Vtbl { let this = (*this).get_impl(); match IEAPProviderConfig_Impl::Initialize(this, core::mem::transmute(&pszmachinename), core::mem::transmute_copy(&dweaptypeid)) { Ok(ok__) => { - core::ptr::write(puconnectionparam, core::mem::transmute(ok__)); + puconnectionparam.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/Win32/Security/Isolation/impl.rs b/crates/libs/windows/src/Windows/Win32/Security/Isolation/impl.rs index b6cb735f01..c3990d9113 100644 --- a/crates/libs/windows/src/Windows/Win32/Security/Isolation/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Security/Isolation/impl.rs @@ -40,7 +40,7 @@ impl IIsolatedProcessLauncher_Vtbl { let this = (*this).get_impl(); match IIsolatedProcessLauncher_Impl::GetContainerGuid(this) { Ok(ok__) => { - core::ptr::write(guid, core::mem::transmute(ok__)); + guid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -56,7 +56,7 @@ impl IIsolatedProcessLauncher_Vtbl { let this = (*this).get_impl(); match IIsolatedProcessLauncher_Impl::IsContainerRunning(this) { Ok(ok__) => { - core::ptr::write(running, core::mem::transmute(ok__)); + running.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/Win32/Security/Tpm/impl.rs b/crates/libs/windows/src/Windows/Win32/Security/Tpm/impl.rs index af6a27e1ba..c4ab32218a 100644 --- a/crates/libs/windows/src/Windows/Win32/Security/Tpm/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Security/Tpm/impl.rs @@ -32,7 +32,7 @@ impl ITpmVirtualSmartCardManager_Vtbl { let this = (*this).get_impl(); match ITpmVirtualSmartCardManager_Impl::DestroyVirtualSmartCard(this, core::mem::transmute(&pszinstanceid), windows_core::from_raw_borrowed(&pstatuscallback)) { Ok(ok__) => { - core::ptr::write(pfneedreboot, core::mem::transmute(ok__)); + pfneedreboot.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -115,7 +115,7 @@ impl ITpmVirtualSmartCardManager3_Vtbl { windows_core::from_raw_borrowed(&pstatuscallback), ) { Ok(ok__) => { - core::ptr::write(ppszinstanceid, core::mem::transmute(ok__)); + ppszinstanceid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/Win32/Storage/DataDeduplication/impl.rs b/crates/libs/windows/src/Windows/Win32/Storage/DataDeduplication/impl.rs index bdd11b5529..c951de1e0f 100644 --- a/crates/libs/windows/src/Windows/Win32/Storage/DataDeduplication/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Storage/DataDeduplication/impl.rs @@ -44,7 +44,7 @@ impl IDedupChunkLibrary_Vtbl { let this = (*this).get_impl(); match IDedupChunkLibrary_Impl::StartChunking(this, core::mem::transmute(&iiditeratorinterfaceid)) { Ok(ok__) => { - core::ptr::write(ppchunksenum, core::mem::transmute(ok__)); + ppchunksenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -92,7 +92,7 @@ impl IDedupDataPort_Vtbl { let this = (*this).get_impl(); match IDedupDataPort_Impl::LookupChunks(this, core::mem::transmute_copy(&count), core::mem::transmute_copy(&phashes)) { Ok(ok__) => { - core::ptr::write(prequestid, core::mem::transmute(ok__)); + prequestid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -103,7 +103,7 @@ impl IDedupDataPort_Vtbl { let this = (*this).get_impl(); match IDedupDataPort_Impl::InsertChunks(this, core::mem::transmute_copy(&chunkcount), core::mem::transmute_copy(&pchunkmetadata), core::mem::transmute_copy(&databytecount), core::mem::transmute_copy(&pchunkdata)) { Ok(ok__) => { - core::ptr::write(prequestid, core::mem::transmute(ok__)); + prequestid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -114,7 +114,7 @@ impl IDedupDataPort_Vtbl { let this = (*this).get_impl(); match IDedupDataPort_Impl::InsertChunksWithStream(this, core::mem::transmute_copy(&chunkcount), core::mem::transmute_copy(&pchunkmetadata), core::mem::transmute_copy(&databytecount), windows_core::from_raw_borrowed(&pchunkdatastream)) { Ok(ok__) => { - core::ptr::write(prequestid, core::mem::transmute(ok__)); + prequestid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -125,7 +125,7 @@ impl IDedupDataPort_Vtbl { let this = (*this).get_impl(); match IDedupDataPort_Impl::CommitStreams(this, core::mem::transmute_copy(&streamcount), core::mem::transmute_copy(&pstreams), core::mem::transmute_copy(&entrycount), core::mem::transmute_copy(&pentries)) { Ok(ok__) => { - core::ptr::write(prequestid, core::mem::transmute(ok__)); + prequestid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -136,7 +136,7 @@ impl IDedupDataPort_Vtbl { let this = (*this).get_impl(); match IDedupDataPort_Impl::CommitStreamsWithStream(this, core::mem::transmute_copy(&streamcount), core::mem::transmute_copy(&pstreams), core::mem::transmute_copy(&entrycount), windows_core::from_raw_borrowed(&pentriesstream)) { Ok(ok__) => { - core::ptr::write(prequestid, core::mem::transmute(ok__)); + prequestid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -147,7 +147,7 @@ impl IDedupDataPort_Vtbl { let this = (*this).get_impl(); match IDedupDataPort_Impl::GetStreams(this, core::mem::transmute_copy(&streamcount), core::mem::transmute_copy(&pstreampaths)) { Ok(ok__) => { - core::ptr::write(prequestid, core::mem::transmute(ok__)); + prequestid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -163,7 +163,7 @@ impl IDedupDataPort_Vtbl { let this = (*this).get_impl(); match IDedupDataPort_Impl::GetChunks(this, core::mem::transmute_copy(&count), core::mem::transmute_copy(&phashes)) { Ok(ok__) => { - core::ptr::write(prequestid, core::mem::transmute(ok__)); + prequestid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -179,7 +179,7 @@ impl IDedupDataPort_Vtbl { let this = (*this).get_impl(); match IDedupDataPort_Impl::GetRequestStatus(this, core::mem::transmute(&requestid)) { Ok(ok__) => { - core::ptr::write(pstatus, core::mem::transmute(ok__)); + pstatus.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -228,7 +228,7 @@ impl IDedupDataPortManager_Vtbl { let this = (*this).get_impl(); match IDedupDataPortManager_Impl::GetVolumeStatus(this, core::mem::transmute_copy(&options), core::mem::transmute(&path)) { Ok(ok__) => { - core::ptr::write(pstatus, core::mem::transmute(ok__)); + pstatus.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -239,7 +239,7 @@ impl IDedupDataPortManager_Vtbl { let this = (*this).get_impl(); match IDedupDataPortManager_Impl::GetVolumeDataPort(this, core::mem::transmute_copy(&options), core::mem::transmute(&path)) { Ok(ok__) => { - core::ptr::write(ppdataport, core::mem::transmute(ok__)); + ppdataport.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/Win32/Storage/EnhancedStorage/impl.rs b/crates/libs/windows/src/Windows/Win32/Storage/EnhancedStorage/impl.rs index cf0025327c..63b359fd33 100644 --- a/crates/libs/windows/src/Windows/Win32/Storage/EnhancedStorage/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Storage/EnhancedStorage/impl.rs @@ -24,7 +24,7 @@ impl IEnhancedStorageACT_Vtbl { let this = (*this).get_impl(); match IEnhancedStorageACT_Impl::GetAuthorizationState(this) { Ok(ok__) => { - core::ptr::write(pstate, core::mem::transmute(ok__)); + pstate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -35,7 +35,7 @@ impl IEnhancedStorageACT_Vtbl { let this = (*this).get_impl(); match IEnhancedStorageACT_Impl::GetMatchingVolume(this) { Ok(ok__) => { - core::ptr::write(ppwszvolume, core::mem::transmute(ok__)); + ppwszvolume.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -46,7 +46,7 @@ impl IEnhancedStorageACT_Vtbl { let this = (*this).get_impl(); match IEnhancedStorageACT_Impl::GetUniqueIdentity(this) { Ok(ok__) => { - core::ptr::write(ppwszidentity, core::mem::transmute(ok__)); + ppwszidentity.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -83,7 +83,7 @@ impl IEnhancedStorageACT2_Vtbl { let this = (*this).get_impl(); match IEnhancedStorageACT2_Impl::GetDeviceName(this) { Ok(ok__) => { - core::ptr::write(ppwszdevicename, core::mem::transmute(ok__)); + ppwszdevicename.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -94,7 +94,7 @@ impl IEnhancedStorageACT2_Vtbl { let this = (*this).get_impl(); match IEnhancedStorageACT2_Impl::IsDeviceRemovable(this) { Ok(ok__) => { - core::ptr::write(pisdeviceremovable, core::mem::transmute(ok__)); + pisdeviceremovable.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -128,7 +128,7 @@ impl IEnhancedStorageACT3_Vtbl { let this = (*this).get_impl(); match IEnhancedStorageACT3_Impl::IsQueueFrozen(this) { Ok(ok__) => { - core::ptr::write(pisqueuefrozen, core::mem::transmute(ok__)); + pisqueuefrozen.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -139,7 +139,7 @@ impl IEnhancedStorageACT3_Vtbl { let this = (*this).get_impl(); match IEnhancedStorageACT3_Impl::GetShellExtSupport(this) { Ok(ok__) => { - core::ptr::write(pshellextsupport, core::mem::transmute(ok__)); + pshellextsupport.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -174,7 +174,7 @@ impl IEnhancedStorageSilo_Vtbl { let this = (*this).get_impl(); match IEnhancedStorageSilo_Impl::GetInfo(this) { Ok(ok__) => { - core::ptr::write(psiloinfo, core::mem::transmute(ok__)); + psiloinfo.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -195,7 +195,7 @@ impl IEnhancedStorageSilo_Vtbl { let this = (*this).get_impl(); match IEnhancedStorageSilo_Impl::GetPortableDevice(this) { Ok(ok__) => { - core::ptr::write(ppiportabledevice, core::mem::transmute(ok__)); + ppiportabledevice.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -206,7 +206,7 @@ impl IEnhancedStorageSilo_Vtbl { let this = (*this).get_impl(); match IEnhancedStorageSilo_Impl::GetDevicePath(this) { Ok(ok__) => { - core::ptr::write(ppwszsilodevicepath, core::mem::transmute(ok__)); + ppwszsilodevicepath.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -238,7 +238,7 @@ impl IEnhancedStorageSiloAction_Vtbl { let this = (*this).get_impl(); match IEnhancedStorageSiloAction_Impl::GetName(this) { Ok(ok__) => { - core::ptr::write(ppwszactionname, core::mem::transmute(ok__)); + ppwszactionname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -249,7 +249,7 @@ impl IEnhancedStorageSiloAction_Vtbl { let this = (*this).get_impl(); match IEnhancedStorageSiloAction_Impl::GetDescription(this) { Ok(ok__) => { - core::ptr::write(ppwszactiondescription, core::mem::transmute(ok__)); + ppwszactiondescription.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -288,7 +288,7 @@ impl IEnumEnhancedStorageACT_Vtbl { let this = (*this).get_impl(); match IEnumEnhancedStorageACT_Impl::GetMatchingACT(this, core::mem::transmute(&szvolume)) { Ok(ok__) => { - core::ptr::write(ppienhancedstorageact, core::mem::transmute(ok__)); + ppienhancedstorageact.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/Win32/Storage/FileHistory/impl.rs b/crates/libs/windows/src/Windows/Win32/Storage/FileHistory/impl.rs index 720dbc9554..72d901e1e5 100644 --- a/crates/libs/windows/src/Windows/Win32/Storage/FileHistory/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Storage/FileHistory/impl.rs @@ -42,7 +42,7 @@ impl IFhConfigMgr_Vtbl { let this = (*this).get_impl(); match IFhConfigMgr_Impl::GetIncludeExcludeRules(this, core::mem::transmute_copy(&include), core::mem::transmute_copy(&category)) { Ok(ok__) => { - core::ptr::write(iterator, core::mem::transmute(ok__)); + iterator.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -53,7 +53,7 @@ impl IFhConfigMgr_Vtbl { let this = (*this).get_impl(); match IFhConfigMgr_Impl::GetLocalPolicy(this, core::mem::transmute_copy(&localpolicytype)) { Ok(ok__) => { - core::ptr::write(policyvalue, core::mem::transmute(ok__)); + policyvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -69,7 +69,7 @@ impl IFhConfigMgr_Vtbl { let this = (*this).get_impl(); match IFhConfigMgr_Impl::GetBackupStatus(this) { Ok(ok__) => { - core::ptr::write(backupstatus, core::mem::transmute(ok__)); + backupstatus.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -85,7 +85,7 @@ impl IFhConfigMgr_Vtbl { let this = (*this).get_impl(); match IFhConfigMgr_Impl::GetDefaultTarget(this) { Ok(ok__) => { - core::ptr::write(defaulttarget, core::mem::transmute(ok__)); + defaulttarget.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -96,7 +96,7 @@ impl IFhConfigMgr_Vtbl { let this = (*this).get_impl(); match IFhConfigMgr_Impl::ValidateTarget(this, core::mem::transmute(&targeturl)) { Ok(ok__) => { - core::ptr::write(validationresult, core::mem::transmute(ok__)); + validationresult.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -154,7 +154,7 @@ impl IFhReassociation_Vtbl { let this = (*this).get_impl(); match IFhReassociation_Impl::ValidateTarget(this, core::mem::transmute(&targeturl)) { Ok(ok__) => { - core::ptr::write(validationresult, core::mem::transmute(ok__)); + validationresult.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -210,7 +210,7 @@ impl IFhScopeIterator_Vtbl { let this = (*this).get_impl(); match IFhScopeIterator_Impl::GetItem(this) { Ok(ok__) => { - core::ptr::write(item, core::mem::transmute(ok__)); + item.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -238,7 +238,7 @@ impl IFhTarget_Vtbl { let this = (*this).get_impl(); match IFhTarget_Impl::GetStringProperty(this, core::mem::transmute_copy(&propertytype)) { Ok(ok__) => { - core::ptr::write(propertyvalue, core::mem::transmute(ok__)); + propertyvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -249,7 +249,7 @@ impl IFhTarget_Vtbl { let this = (*this).get_impl(); match IFhTarget_Impl::GetNumericalProperty(this, core::mem::transmute_copy(&propertytype)) { Ok(ok__) => { - core::ptr::write(propertyvalue, core::mem::transmute(ok__)); + propertyvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/Win32/Storage/FileServerResourceManager/impl.rs b/crates/libs/windows/src/Windows/Win32/Storage/FileServerResourceManager/impl.rs index 7329d7eb1d..1a21b4f7e9 100644 --- a/crates/libs/windows/src/Windows/Win32/Storage/FileServerResourceManager/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Storage/FileServerResourceManager/impl.rs @@ -25,7 +25,7 @@ impl IFsrmAccessDeniedRemediationClient_Vtbl { let this = (*this).get_impl(); match IFsrmAccessDeniedRemediationClient_Impl::Show(this, core::mem::transmute_copy(&parentwnd), core::mem::transmute(&accesspath), core::mem::transmute_copy(&errortype), core::mem::transmute_copy(&flags), core::mem::transmute(&windowtitle), core::mem::transmute(&windowmessage)) { Ok(ok__) => { - core::ptr::write(result, core::mem::transmute(ok__)); + result.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -55,7 +55,7 @@ impl IFsrmAction_Vtbl { let this = (*this).get_impl(); match IFsrmAction_Impl::Id(this) { Ok(ok__) => { - core::ptr::write(id, core::mem::transmute(ok__)); + id.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -66,7 +66,7 @@ impl IFsrmAction_Vtbl { let this = (*this).get_impl(); match IFsrmAction_Impl::ActionType(this) { Ok(ok__) => { - core::ptr::write(actiontype, core::mem::transmute(ok__)); + actiontype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -77,7 +77,7 @@ impl IFsrmAction_Vtbl { let this = (*this).get_impl(); match IFsrmAction_Impl::RunLimitInterval(this) { Ok(ok__) => { - core::ptr::write(minutes, core::mem::transmute(ok__)); + minutes.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -133,7 +133,7 @@ impl IFsrmActionCommand_Vtbl { let this = (*this).get_impl(); match IFsrmActionCommand_Impl::ExecutablePath(this) { Ok(ok__) => { - core::ptr::write(executablepath, core::mem::transmute(ok__)); + executablepath.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -149,7 +149,7 @@ impl IFsrmActionCommand_Vtbl { let this = (*this).get_impl(); match IFsrmActionCommand_Impl::Arguments(this) { Ok(ok__) => { - core::ptr::write(arguments, core::mem::transmute(ok__)); + arguments.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -165,7 +165,7 @@ impl IFsrmActionCommand_Vtbl { let this = (*this).get_impl(); match IFsrmActionCommand_Impl::Account(this) { Ok(ok__) => { - core::ptr::write(account, core::mem::transmute(ok__)); + account.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -181,7 +181,7 @@ impl IFsrmActionCommand_Vtbl { let this = (*this).get_impl(); match IFsrmActionCommand_Impl::WorkingDirectory(this) { Ok(ok__) => { - core::ptr::write(workingdirectory, core::mem::transmute(ok__)); + workingdirectory.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -197,7 +197,7 @@ impl IFsrmActionCommand_Vtbl { let this = (*this).get_impl(); match IFsrmActionCommand_Impl::MonitorCommand(this) { Ok(ok__) => { - core::ptr::write(monitorcommand, core::mem::transmute(ok__)); + monitorcommand.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -213,7 +213,7 @@ impl IFsrmActionCommand_Vtbl { let this = (*this).get_impl(); match IFsrmActionCommand_Impl::KillTimeOut(this) { Ok(ok__) => { - core::ptr::write(minutes, core::mem::transmute(ok__)); + minutes.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -229,7 +229,7 @@ impl IFsrmActionCommand_Vtbl { let this = (*this).get_impl(); match IFsrmActionCommand_Impl::LogResult(this) { Ok(ok__) => { - core::ptr::write(logresults, core::mem::transmute(ok__)); + logresults.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -289,7 +289,7 @@ impl IFsrmActionEmail_Vtbl { let this = (*this).get_impl(); match IFsrmActionEmail_Impl::MailFrom(this) { Ok(ok__) => { - core::ptr::write(mailfrom, core::mem::transmute(ok__)); + mailfrom.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -305,7 +305,7 @@ impl IFsrmActionEmail_Vtbl { let this = (*this).get_impl(); match IFsrmActionEmail_Impl::MailReplyTo(this) { Ok(ok__) => { - core::ptr::write(mailreplyto, core::mem::transmute(ok__)); + mailreplyto.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -321,7 +321,7 @@ impl IFsrmActionEmail_Vtbl { let this = (*this).get_impl(); match IFsrmActionEmail_Impl::MailTo(this) { Ok(ok__) => { - core::ptr::write(mailto, core::mem::transmute(ok__)); + mailto.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -337,7 +337,7 @@ impl IFsrmActionEmail_Vtbl { let this = (*this).get_impl(); match IFsrmActionEmail_Impl::MailCc(this) { Ok(ok__) => { - core::ptr::write(mailcc, core::mem::transmute(ok__)); + mailcc.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -353,7 +353,7 @@ impl IFsrmActionEmail_Vtbl { let this = (*this).get_impl(); match IFsrmActionEmail_Impl::MailBcc(this) { Ok(ok__) => { - core::ptr::write(mailbcc, core::mem::transmute(ok__)); + mailbcc.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -369,7 +369,7 @@ impl IFsrmActionEmail_Vtbl { let this = (*this).get_impl(); match IFsrmActionEmail_Impl::MailSubject(this) { Ok(ok__) => { - core::ptr::write(mailsubject, core::mem::transmute(ok__)); + mailsubject.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -385,7 +385,7 @@ impl IFsrmActionEmail_Vtbl { let this = (*this).get_impl(); match IFsrmActionEmail_Impl::MessageText(this) { Ok(ok__) => { - core::ptr::write(messagetext, core::mem::transmute(ok__)); + messagetext.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -433,7 +433,7 @@ impl IFsrmActionEmail2_Vtbl { let this = (*this).get_impl(); match IFsrmActionEmail2_Impl::AttachmentFileListSize(this) { Ok(ok__) => { - core::ptr::write(attachmentfilelistsize, core::mem::transmute(ok__)); + attachmentfilelistsize.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -471,7 +471,7 @@ impl IFsrmActionEventLog_Vtbl { let this = (*this).get_impl(); match IFsrmActionEventLog_Impl::EventType(this) { Ok(ok__) => { - core::ptr::write(eventtype, core::mem::transmute(ok__)); + eventtype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -487,7 +487,7 @@ impl IFsrmActionEventLog_Vtbl { let this = (*this).get_impl(); match IFsrmActionEventLog_Impl::MessageText(this) { Ok(ok__) => { - core::ptr::write(messagetext, core::mem::transmute(ok__)); + messagetext.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -527,7 +527,7 @@ impl IFsrmActionReport_Vtbl { let this = (*this).get_impl(); match IFsrmActionReport_Impl::ReportTypes(this) { Ok(ok__) => { - core::ptr::write(reporttypes, core::mem::transmute(ok__)); + reporttypes.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -543,7 +543,7 @@ impl IFsrmActionReport_Vtbl { let this = (*this).get_impl(); match IFsrmActionReport_Impl::MailTo(this) { Ok(ok__) => { - core::ptr::write(mailto, core::mem::transmute(ok__)); + mailto.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -582,7 +582,7 @@ impl IFsrmAutoApplyQuota_Vtbl { let this = (*this).get_impl(); match IFsrmAutoApplyQuota_Impl::ExcludeFolders(this) { Ok(ok__) => { - core::ptr::write(folders, core::mem::transmute(ok__)); + folders.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -598,7 +598,7 @@ impl IFsrmAutoApplyQuota_Vtbl { let this = (*this).get_impl(); match IFsrmAutoApplyQuota_Impl::CommitAndUpdateDerived(this, core::mem::transmute_copy(&commitoptions), core::mem::transmute_copy(&applyoptions)) { Ok(ok__) => { - core::ptr::write(derivedobjectsresult, core::mem::transmute(ok__)); + derivedobjectsresult.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -655,7 +655,7 @@ impl IFsrmClassificationManager_Vtbl { let this = (*this).get_impl(); match IFsrmClassificationManager_Impl::ClassificationReportFormats(this) { Ok(ok__) => { - core::ptr::write(formats, core::mem::transmute(ok__)); + formats.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -671,7 +671,7 @@ impl IFsrmClassificationManager_Vtbl { let this = (*this).get_impl(); match IFsrmClassificationManager_Impl::Logging(this) { Ok(ok__) => { - core::ptr::write(logging, core::mem::transmute(ok__)); + logging.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -687,7 +687,7 @@ impl IFsrmClassificationManager_Vtbl { let this = (*this).get_impl(); match IFsrmClassificationManager_Impl::ClassificationReportMailTo(this) { Ok(ok__) => { - core::ptr::write(mailto, core::mem::transmute(ok__)); + mailto.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -703,7 +703,7 @@ impl IFsrmClassificationManager_Vtbl { let this = (*this).get_impl(); match IFsrmClassificationManager_Impl::ClassificationReportEnabled(this) { Ok(ok__) => { - core::ptr::write(reportenabled, core::mem::transmute(ok__)); + reportenabled.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -719,7 +719,7 @@ impl IFsrmClassificationManager_Vtbl { let this = (*this).get_impl(); match IFsrmClassificationManager_Impl::ClassificationLastReportPathWithoutExtension(this) { Ok(ok__) => { - core::ptr::write(lastreportpath, core::mem::transmute(ok__)); + lastreportpath.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -730,7 +730,7 @@ impl IFsrmClassificationManager_Vtbl { let this = (*this).get_impl(); match IFsrmClassificationManager_Impl::ClassificationLastError(this) { Ok(ok__) => { - core::ptr::write(lasterror, core::mem::transmute(ok__)); + lasterror.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -741,7 +741,7 @@ impl IFsrmClassificationManager_Vtbl { let this = (*this).get_impl(); match IFsrmClassificationManager_Impl::ClassificationRunningStatus(this) { Ok(ok__) => { - core::ptr::write(runningstatus, core::mem::transmute(ok__)); + runningstatus.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -752,7 +752,7 @@ impl IFsrmClassificationManager_Vtbl { let this = (*this).get_impl(); match IFsrmClassificationManager_Impl::EnumPropertyDefinitions(this, core::mem::transmute_copy(&options)) { Ok(ok__) => { - core::ptr::write(propertydefinitions, core::mem::transmute(ok__)); + propertydefinitions.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -763,7 +763,7 @@ impl IFsrmClassificationManager_Vtbl { let this = (*this).get_impl(); match IFsrmClassificationManager_Impl::CreatePropertyDefinition(this) { Ok(ok__) => { - core::ptr::write(propertydefinition, core::mem::transmute(ok__)); + propertydefinition.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -774,7 +774,7 @@ impl IFsrmClassificationManager_Vtbl { let this = (*this).get_impl(); match IFsrmClassificationManager_Impl::GetPropertyDefinition(this, core::mem::transmute(&propertyname)) { Ok(ok__) => { - core::ptr::write(propertydefinition, core::mem::transmute(ok__)); + propertydefinition.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -785,7 +785,7 @@ impl IFsrmClassificationManager_Vtbl { let this = (*this).get_impl(); match IFsrmClassificationManager_Impl::EnumRules(this, core::mem::transmute_copy(&ruletype), core::mem::transmute_copy(&options)) { Ok(ok__) => { - core::ptr::write(rules, core::mem::transmute(ok__)); + rules.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -796,7 +796,7 @@ impl IFsrmClassificationManager_Vtbl { let this = (*this).get_impl(); match IFsrmClassificationManager_Impl::CreateRule(this, core::mem::transmute_copy(&ruletype)) { Ok(ok__) => { - core::ptr::write(rule, core::mem::transmute(ok__)); + rule.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -807,7 +807,7 @@ impl IFsrmClassificationManager_Vtbl { let this = (*this).get_impl(); match IFsrmClassificationManager_Impl::GetRule(this, core::mem::transmute(&rulename), core::mem::transmute_copy(&ruletype)) { Ok(ok__) => { - core::ptr::write(rule, core::mem::transmute(ok__)); + rule.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -818,7 +818,7 @@ impl IFsrmClassificationManager_Vtbl { let this = (*this).get_impl(); match IFsrmClassificationManager_Impl::EnumModuleDefinitions(this, core::mem::transmute_copy(&moduletype), core::mem::transmute_copy(&options)) { Ok(ok__) => { - core::ptr::write(moduledefinitions, core::mem::transmute(ok__)); + moduledefinitions.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -829,7 +829,7 @@ impl IFsrmClassificationManager_Vtbl { let this = (*this).get_impl(); match IFsrmClassificationManager_Impl::CreateModuleDefinition(this, core::mem::transmute_copy(&moduletype)) { Ok(ok__) => { - core::ptr::write(moduledefinition, core::mem::transmute(ok__)); + moduledefinition.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -840,7 +840,7 @@ impl IFsrmClassificationManager_Vtbl { let this = (*this).get_impl(); match IFsrmClassificationManager_Impl::GetModuleDefinition(this, core::mem::transmute(&modulename), core::mem::transmute_copy(&moduletype)) { Ok(ok__) => { - core::ptr::write(moduledefinition, core::mem::transmute(ok__)); + moduledefinition.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -856,7 +856,7 @@ impl IFsrmClassificationManager_Vtbl { let this = (*this).get_impl(); match IFsrmClassificationManager_Impl::WaitForClassificationCompletion(this, core::mem::transmute_copy(&waitseconds)) { Ok(ok__) => { - core::ptr::write(completed, core::mem::transmute(ok__)); + completed.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -872,7 +872,7 @@ impl IFsrmClassificationManager_Vtbl { let this = (*this).get_impl(); match IFsrmClassificationManager_Impl::EnumFileProperties(this, core::mem::transmute(&filepath), core::mem::transmute_copy(&options)) { Ok(ok__) => { - core::ptr::write(fileproperties, core::mem::transmute(ok__)); + fileproperties.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -883,7 +883,7 @@ impl IFsrmClassificationManager_Vtbl { let this = (*this).get_impl(); match IFsrmClassificationManager_Impl::GetFileProperty(this, core::mem::transmute(&filepath), core::mem::transmute(&propertyname), core::mem::transmute_copy(&options)) { Ok(ok__) => { - core::ptr::write(property, core::mem::transmute(ok__)); + property.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -973,7 +973,7 @@ impl IFsrmClassificationRule_Vtbl { let this = (*this).get_impl(); match IFsrmClassificationRule_Impl::ExecutionOption(this) { Ok(ok__) => { - core::ptr::write(executionoption, core::mem::transmute(ok__)); + executionoption.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -989,7 +989,7 @@ impl IFsrmClassificationRule_Vtbl { let this = (*this).get_impl(); match IFsrmClassificationRule_Impl::PropertyAffected(this) { Ok(ok__) => { - core::ptr::write(property, core::mem::transmute(ok__)); + property.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1005,7 +1005,7 @@ impl IFsrmClassificationRule_Vtbl { let this = (*this).get_impl(); match IFsrmClassificationRule_Impl::Value(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1049,7 +1049,7 @@ impl IFsrmClassifierModuleDefinition_Vtbl { let this = (*this).get_impl(); match IFsrmClassifierModuleDefinition_Impl::PropertiesAffected(this) { Ok(ok__) => { - core::ptr::write(propertiesaffected, core::mem::transmute(ok__)); + propertiesaffected.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1065,7 +1065,7 @@ impl IFsrmClassifierModuleDefinition_Vtbl { let this = (*this).get_impl(); match IFsrmClassifierModuleDefinition_Impl::PropertiesUsed(this) { Ok(ok__) => { - core::ptr::write(propertiesused, core::mem::transmute(ok__)); + propertiesused.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1081,7 +1081,7 @@ impl IFsrmClassifierModuleDefinition_Vtbl { let this = (*this).get_impl(); match IFsrmClassifierModuleDefinition_Impl::NeedsExplicitValue(this) { Ok(ok__) => { - core::ptr::write(needsexplicitvalue, core::mem::transmute(ok__)); + needsexplicitvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1125,7 +1125,7 @@ impl IFsrmClassifierModuleImplementation_Vtbl { let this = (*this).get_impl(); match IFsrmClassifierModuleImplementation_Impl::LastModified(this) { Ok(ok__) => { - core::ptr::write(lastmodified, core::mem::transmute(ok__)); + lastmodified.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1190,7 +1190,7 @@ impl IFsrmCollection_Vtbl { let this = (*this).get_impl(); match IFsrmCollection_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(unknown, core::mem::transmute(ok__)); + unknown.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1201,7 +1201,7 @@ impl IFsrmCollection_Vtbl { let this = (*this).get_impl(); match IFsrmCollection_Impl::get_Item(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(item, core::mem::transmute(ok__)); + item.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1212,7 +1212,7 @@ impl IFsrmCollection_Vtbl { let this = (*this).get_impl(); match IFsrmCollection_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(count, core::mem::transmute(ok__)); + count.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1223,7 +1223,7 @@ impl IFsrmCollection_Vtbl { let this = (*this).get_impl(); match IFsrmCollection_Impl::State(this) { Ok(ok__) => { - core::ptr::write(state, core::mem::transmute(ok__)); + state.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1239,7 +1239,7 @@ impl IFsrmCollection_Vtbl { let this = (*this).get_impl(); match IFsrmCollection_Impl::WaitForCompletion(this, core::mem::transmute_copy(&waitseconds)) { Ok(ok__) => { - core::ptr::write(completed, core::mem::transmute(ok__)); + completed.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1250,7 +1250,7 @@ impl IFsrmCollection_Vtbl { let this = (*this).get_impl(); match IFsrmCollection_Impl::GetById(this, core::mem::transmute(&id)) { Ok(ok__) => { - core::ptr::write(entry, core::mem::transmute(ok__)); + entry.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1285,7 +1285,7 @@ impl IFsrmCommittableCollection_Vtbl { let this = (*this).get_impl(); match IFsrmCommittableCollection_Impl::Commit(this, core::mem::transmute_copy(&options)) { Ok(ok__) => { - core::ptr::write(results, core::mem::transmute(ok__)); + results.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1312,7 +1312,7 @@ impl IFsrmDerivedObjectsResult_Vtbl { let this = (*this).get_impl(); match IFsrmDerivedObjectsResult_Impl::DerivedObjects(this) { Ok(ok__) => { - core::ptr::write(derivedobjects, core::mem::transmute(ok__)); + derivedobjects.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1323,7 +1323,7 @@ impl IFsrmDerivedObjectsResult_Vtbl { let this = (*this).get_impl(); match IFsrmDerivedObjectsResult_Impl::Results(this) { Ok(ok__) => { - core::ptr::write(results, core::mem::transmute(ok__)); + results.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1363,7 +1363,7 @@ impl IFsrmExportImport_Vtbl { let this = (*this).get_impl(); match IFsrmExportImport_Impl::ImportFileGroups(this, core::mem::transmute(&filepath), core::mem::transmute_copy(&filegroupnamessafearray), core::mem::transmute(&remotehost)) { Ok(ok__) => { - core::ptr::write(filegroups, core::mem::transmute(ok__)); + filegroups.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1379,7 +1379,7 @@ impl IFsrmExportImport_Vtbl { let this = (*this).get_impl(); match IFsrmExportImport_Impl::ImportFileScreenTemplates(this, core::mem::transmute(&filepath), core::mem::transmute_copy(&templatenamessafearray), core::mem::transmute(&remotehost)) { Ok(ok__) => { - core::ptr::write(templates, core::mem::transmute(ok__)); + templates.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1395,7 +1395,7 @@ impl IFsrmExportImport_Vtbl { let this = (*this).get_impl(); match IFsrmExportImport_Impl::ImportQuotaTemplates(this, core::mem::transmute(&filepath), core::mem::transmute_copy(&templatenamessafearray), core::mem::transmute(&remotehost)) { Ok(ok__) => { - core::ptr::write(templates, core::mem::transmute(ok__)); + templates.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1430,7 +1430,7 @@ impl IFsrmFileCondition_Vtbl { let this = (*this).get_impl(); match IFsrmFileCondition_Impl::Type(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1474,7 +1474,7 @@ impl IFsrmFileConditionProperty_Vtbl { let this = (*this).get_impl(); match IFsrmFileConditionProperty_Impl::PropertyName(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1490,7 +1490,7 @@ impl IFsrmFileConditionProperty_Vtbl { let this = (*this).get_impl(); match IFsrmFileConditionProperty_Impl::PropertyId(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1506,7 +1506,7 @@ impl IFsrmFileConditionProperty_Vtbl { let this = (*this).get_impl(); match IFsrmFileConditionProperty_Impl::Operator(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1522,7 +1522,7 @@ impl IFsrmFileConditionProperty_Vtbl { let this = (*this).get_impl(); match IFsrmFileConditionProperty_Impl::ValueType(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1538,7 +1538,7 @@ impl IFsrmFileConditionProperty_Vtbl { let this = (*this).get_impl(); match IFsrmFileConditionProperty_Impl::Value(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1586,7 +1586,7 @@ impl IFsrmFileGroup_Vtbl { let this = (*this).get_impl(); match IFsrmFileGroup_Impl::Name(this) { Ok(ok__) => { - core::ptr::write(name, core::mem::transmute(ok__)); + name.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1602,7 +1602,7 @@ impl IFsrmFileGroup_Vtbl { let this = (*this).get_impl(); match IFsrmFileGroup_Impl::Members(this) { Ok(ok__) => { - core::ptr::write(members, core::mem::transmute(ok__)); + members.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1618,7 +1618,7 @@ impl IFsrmFileGroup_Vtbl { let this = (*this).get_impl(); match IFsrmFileGroup_Impl::NonMembers(this) { Ok(ok__) => { - core::ptr::write(nonmembers, core::mem::transmute(ok__)); + nonmembers.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1658,7 +1658,7 @@ impl IFsrmFileGroupImported_Vtbl { let this = (*this).get_impl(); match IFsrmFileGroupImported_Impl::OverwriteOnCommit(this) { Ok(ok__) => { - core::ptr::write(overwrite, core::mem::transmute(ok__)); + overwrite.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1697,7 +1697,7 @@ impl IFsrmFileGroupManager_Vtbl { let this = (*this).get_impl(); match IFsrmFileGroupManager_Impl::CreateFileGroup(this) { Ok(ok__) => { - core::ptr::write(filegroup, core::mem::transmute(ok__)); + filegroup.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1708,7 +1708,7 @@ impl IFsrmFileGroupManager_Vtbl { let this = (*this).get_impl(); match IFsrmFileGroupManager_Impl::GetFileGroup(this, core::mem::transmute(&name)) { Ok(ok__) => { - core::ptr::write(filegroup, core::mem::transmute(ok__)); + filegroup.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1719,7 +1719,7 @@ impl IFsrmFileGroupManager_Vtbl { let this = (*this).get_impl(); match IFsrmFileGroupManager_Impl::EnumFileGroups(this, core::mem::transmute_copy(&options)) { Ok(ok__) => { - core::ptr::write(filegroups, core::mem::transmute(ok__)); + filegroups.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1730,7 +1730,7 @@ impl IFsrmFileGroupManager_Vtbl { let this = (*this).get_impl(); match IFsrmFileGroupManager_Impl::ExportFileGroups(this, core::mem::transmute_copy(&filegroupnamesarray)) { Ok(ok__) => { - core::ptr::write(serializedfilegroups, core::mem::transmute(ok__)); + serializedfilegroups.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1741,7 +1741,7 @@ impl IFsrmFileGroupManager_Vtbl { let this = (*this).get_impl(); match IFsrmFileGroupManager_Impl::ImportFileGroups(this, core::mem::transmute(&serializedfilegroups), core::mem::transmute_copy(&filegroupnamesarray)) { Ok(ok__) => { - core::ptr::write(filegroups, core::mem::transmute(ok__)); + filegroups.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1822,7 +1822,7 @@ impl IFsrmFileManagementJob_Vtbl { let this = (*this).get_impl(); match IFsrmFileManagementJob_Impl::Name(this) { Ok(ok__) => { - core::ptr::write(name, core::mem::transmute(ok__)); + name.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1838,7 +1838,7 @@ impl IFsrmFileManagementJob_Vtbl { let this = (*this).get_impl(); match IFsrmFileManagementJob_Impl::NamespaceRoots(this) { Ok(ok__) => { - core::ptr::write(namespaceroots, core::mem::transmute(ok__)); + namespaceroots.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1854,7 +1854,7 @@ impl IFsrmFileManagementJob_Vtbl { let this = (*this).get_impl(); match IFsrmFileManagementJob_Impl::Enabled(this) { Ok(ok__) => { - core::ptr::write(enabled, core::mem::transmute(ok__)); + enabled.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1870,7 +1870,7 @@ impl IFsrmFileManagementJob_Vtbl { let this = (*this).get_impl(); match IFsrmFileManagementJob_Impl::OperationType(this) { Ok(ok__) => { - core::ptr::write(operationtype, core::mem::transmute(ok__)); + operationtype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1886,7 +1886,7 @@ impl IFsrmFileManagementJob_Vtbl { let this = (*this).get_impl(); match IFsrmFileManagementJob_Impl::ExpirationDirectory(this) { Ok(ok__) => { - core::ptr::write(expirationdirectory, core::mem::transmute(ok__)); + expirationdirectory.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1902,7 +1902,7 @@ impl IFsrmFileManagementJob_Vtbl { let this = (*this).get_impl(); match IFsrmFileManagementJob_Impl::CustomAction(this) { Ok(ok__) => { - core::ptr::write(action, core::mem::transmute(ok__)); + action.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1913,7 +1913,7 @@ impl IFsrmFileManagementJob_Vtbl { let this = (*this).get_impl(); match IFsrmFileManagementJob_Impl::Notifications(this) { Ok(ok__) => { - core::ptr::write(notifications, core::mem::transmute(ok__)); + notifications.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1924,7 +1924,7 @@ impl IFsrmFileManagementJob_Vtbl { let this = (*this).get_impl(); match IFsrmFileManagementJob_Impl::Logging(this) { Ok(ok__) => { - core::ptr::write(loggingflags, core::mem::transmute(ok__)); + loggingflags.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1940,7 +1940,7 @@ impl IFsrmFileManagementJob_Vtbl { let this = (*this).get_impl(); match IFsrmFileManagementJob_Impl::ReportEnabled(this) { Ok(ok__) => { - core::ptr::write(reportenabled, core::mem::transmute(ok__)); + reportenabled.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1956,7 +1956,7 @@ impl IFsrmFileManagementJob_Vtbl { let this = (*this).get_impl(); match IFsrmFileManagementJob_Impl::Formats(this) { Ok(ok__) => { - core::ptr::write(formats, core::mem::transmute(ok__)); + formats.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1972,7 +1972,7 @@ impl IFsrmFileManagementJob_Vtbl { let this = (*this).get_impl(); match IFsrmFileManagementJob_Impl::MailTo(this) { Ok(ok__) => { - core::ptr::write(mailto, core::mem::transmute(ok__)); + mailto.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1988,7 +1988,7 @@ impl IFsrmFileManagementJob_Vtbl { let this = (*this).get_impl(); match IFsrmFileManagementJob_Impl::DaysSinceFileCreated(this) { Ok(ok__) => { - core::ptr::write(dayssincecreation, core::mem::transmute(ok__)); + dayssincecreation.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2004,7 +2004,7 @@ impl IFsrmFileManagementJob_Vtbl { let this = (*this).get_impl(); match IFsrmFileManagementJob_Impl::DaysSinceFileLastAccessed(this) { Ok(ok__) => { - core::ptr::write(dayssinceaccess, core::mem::transmute(ok__)); + dayssinceaccess.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2020,7 +2020,7 @@ impl IFsrmFileManagementJob_Vtbl { let this = (*this).get_impl(); match IFsrmFileManagementJob_Impl::DaysSinceFileLastModified(this) { Ok(ok__) => { - core::ptr::write(dayssincemodify, core::mem::transmute(ok__)); + dayssincemodify.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2036,7 +2036,7 @@ impl IFsrmFileManagementJob_Vtbl { let this = (*this).get_impl(); match IFsrmFileManagementJob_Impl::PropertyConditions(this) { Ok(ok__) => { - core::ptr::write(propertyconditions, core::mem::transmute(ok__)); + propertyconditions.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2047,7 +2047,7 @@ impl IFsrmFileManagementJob_Vtbl { let this = (*this).get_impl(); match IFsrmFileManagementJob_Impl::FromDate(this) { Ok(ok__) => { - core::ptr::write(fromdate, core::mem::transmute(ok__)); + fromdate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2063,7 +2063,7 @@ impl IFsrmFileManagementJob_Vtbl { let this = (*this).get_impl(); match IFsrmFileManagementJob_Impl::Task(this) { Ok(ok__) => { - core::ptr::write(taskname, core::mem::transmute(ok__)); + taskname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2079,7 +2079,7 @@ impl IFsrmFileManagementJob_Vtbl { let this = (*this).get_impl(); match IFsrmFileManagementJob_Impl::Parameters(this) { Ok(ok__) => { - core::ptr::write(parameters, core::mem::transmute(ok__)); + parameters.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2095,7 +2095,7 @@ impl IFsrmFileManagementJob_Vtbl { let this = (*this).get_impl(); match IFsrmFileManagementJob_Impl::RunningStatus(this) { Ok(ok__) => { - core::ptr::write(runningstatus, core::mem::transmute(ok__)); + runningstatus.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2106,7 +2106,7 @@ impl IFsrmFileManagementJob_Vtbl { let this = (*this).get_impl(); match IFsrmFileManagementJob_Impl::LastError(this) { Ok(ok__) => { - core::ptr::write(lasterror, core::mem::transmute(ok__)); + lasterror.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2117,7 +2117,7 @@ impl IFsrmFileManagementJob_Vtbl { let this = (*this).get_impl(); match IFsrmFileManagementJob_Impl::LastReportPathWithoutExtension(this) { Ok(ok__) => { - core::ptr::write(path, core::mem::transmute(ok__)); + path.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2128,7 +2128,7 @@ impl IFsrmFileManagementJob_Vtbl { let this = (*this).get_impl(); match IFsrmFileManagementJob_Impl::LastRun(this) { Ok(ok__) => { - core::ptr::write(lastrun, core::mem::transmute(ok__)); + lastrun.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2139,7 +2139,7 @@ impl IFsrmFileManagementJob_Vtbl { let this = (*this).get_impl(); match IFsrmFileManagementJob_Impl::FileNamePattern(this) { Ok(ok__) => { - core::ptr::write(filenamepattern, core::mem::transmute(ok__)); + filenamepattern.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2160,7 +2160,7 @@ impl IFsrmFileManagementJob_Vtbl { let this = (*this).get_impl(); match IFsrmFileManagementJob_Impl::WaitForCompletion(this, core::mem::transmute_copy(&waitseconds)) { Ok(ok__) => { - core::ptr::write(completed, core::mem::transmute(ok__)); + completed.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2191,7 +2191,7 @@ impl IFsrmFileManagementJob_Vtbl { let this = (*this).get_impl(); match IFsrmFileManagementJob_Impl::CreateNotificationAction(this, core::mem::transmute_copy(&days), core::mem::transmute_copy(&actiontype)) { Ok(ok__) => { - core::ptr::write(action, core::mem::transmute(ok__)); + action.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2202,7 +2202,7 @@ impl IFsrmFileManagementJob_Vtbl { let this = (*this).get_impl(); match IFsrmFileManagementJob_Impl::EnumNotificationActions(this, core::mem::transmute_copy(&days)) { Ok(ok__) => { - core::ptr::write(actions, core::mem::transmute(ok__)); + actions.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2213,7 +2213,7 @@ impl IFsrmFileManagementJob_Vtbl { let this = (*this).get_impl(); match IFsrmFileManagementJob_Impl::CreatePropertyCondition(this, core::mem::transmute(&name)) { Ok(ok__) => { - core::ptr::write(propertycondition, core::mem::transmute(ok__)); + propertycondition.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2224,7 +2224,7 @@ impl IFsrmFileManagementJob_Vtbl { let this = (*this).get_impl(); match IFsrmFileManagementJob_Impl::CreateCustomAction(this) { Ok(ok__) => { - core::ptr::write(customaction, core::mem::transmute(ok__)); + customaction.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2305,7 +2305,7 @@ impl IFsrmFileManagementJobManager_Vtbl { let this = (*this).get_impl(); match IFsrmFileManagementJobManager_Impl::ActionVariables(this) { Ok(ok__) => { - core::ptr::write(variables, core::mem::transmute(ok__)); + variables.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2316,7 +2316,7 @@ impl IFsrmFileManagementJobManager_Vtbl { let this = (*this).get_impl(); match IFsrmFileManagementJobManager_Impl::ActionVariableDescriptions(this) { Ok(ok__) => { - core::ptr::write(descriptions, core::mem::transmute(ok__)); + descriptions.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2327,7 +2327,7 @@ impl IFsrmFileManagementJobManager_Vtbl { let this = (*this).get_impl(); match IFsrmFileManagementJobManager_Impl::EnumFileManagementJobs(this, core::mem::transmute_copy(&options)) { Ok(ok__) => { - core::ptr::write(filemanagementjobs, core::mem::transmute(ok__)); + filemanagementjobs.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2338,7 +2338,7 @@ impl IFsrmFileManagementJobManager_Vtbl { let this = (*this).get_impl(); match IFsrmFileManagementJobManager_Impl::CreateFileManagementJob(this) { Ok(ok__) => { - core::ptr::write(filemanagementjob, core::mem::transmute(ok__)); + filemanagementjob.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2349,7 +2349,7 @@ impl IFsrmFileManagementJobManager_Vtbl { let this = (*this).get_impl(); match IFsrmFileManagementJobManager_Impl::GetFileManagementJob(this, core::mem::transmute(&name)) { Ok(ok__) => { - core::ptr::write(filemanagementjob, core::mem::transmute(ok__)); + filemanagementjob.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2387,7 +2387,7 @@ impl IFsrmFileScreen_Vtbl { let this = (*this).get_impl(); match IFsrmFileScreen_Impl::Path(this) { Ok(ok__) => { - core::ptr::write(path, core::mem::transmute(ok__)); + path.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2398,7 +2398,7 @@ impl IFsrmFileScreen_Vtbl { let this = (*this).get_impl(); match IFsrmFileScreen_Impl::SourceTemplateName(this) { Ok(ok__) => { - core::ptr::write(filescreentemplatename, core::mem::transmute(ok__)); + filescreentemplatename.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2409,7 +2409,7 @@ impl IFsrmFileScreen_Vtbl { let this = (*this).get_impl(); match IFsrmFileScreen_Impl::MatchesSourceTemplate(this) { Ok(ok__) => { - core::ptr::write(matches, core::mem::transmute(ok__)); + matches.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2420,7 +2420,7 @@ impl IFsrmFileScreen_Vtbl { let this = (*this).get_impl(); match IFsrmFileScreen_Impl::UserSid(this) { Ok(ok__) => { - core::ptr::write(usersid, core::mem::transmute(ok__)); + usersid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2431,7 +2431,7 @@ impl IFsrmFileScreen_Vtbl { let this = (*this).get_impl(); match IFsrmFileScreen_Impl::UserAccount(this) { Ok(ok__) => { - core::ptr::write(useraccount, core::mem::transmute(ok__)); + useraccount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2475,7 +2475,7 @@ impl IFsrmFileScreenBase_Vtbl { let this = (*this).get_impl(); match IFsrmFileScreenBase_Impl::BlockedFileGroups(this) { Ok(ok__) => { - core::ptr::write(blocklist, core::mem::transmute(ok__)); + blocklist.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2491,7 +2491,7 @@ impl IFsrmFileScreenBase_Vtbl { let this = (*this).get_impl(); match IFsrmFileScreenBase_Impl::FileScreenFlags(this) { Ok(ok__) => { - core::ptr::write(filescreenflags, core::mem::transmute(ok__)); + filescreenflags.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2507,7 +2507,7 @@ impl IFsrmFileScreenBase_Vtbl { let this = (*this).get_impl(); match IFsrmFileScreenBase_Impl::CreateAction(this, core::mem::transmute_copy(&actiontype)) { Ok(ok__) => { - core::ptr::write(action, core::mem::transmute(ok__)); + action.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2518,7 +2518,7 @@ impl IFsrmFileScreenBase_Vtbl { let this = (*this).get_impl(); match IFsrmFileScreenBase_Impl::EnumActions(this) { Ok(ok__) => { - core::ptr::write(actions, core::mem::transmute(ok__)); + actions.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2554,7 +2554,7 @@ impl IFsrmFileScreenException_Vtbl { let this = (*this).get_impl(); match IFsrmFileScreenException_Impl::Path(this) { Ok(ok__) => { - core::ptr::write(path, core::mem::transmute(ok__)); + path.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2565,7 +2565,7 @@ impl IFsrmFileScreenException_Vtbl { let this = (*this).get_impl(); match IFsrmFileScreenException_Impl::AllowedFileGroups(this) { Ok(ok__) => { - core::ptr::write(allowlist, core::mem::transmute(ok__)); + allowlist.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2609,7 +2609,7 @@ impl IFsrmFileScreenManager_Vtbl { let this = (*this).get_impl(); match IFsrmFileScreenManager_Impl::ActionVariables(this) { Ok(ok__) => { - core::ptr::write(variables, core::mem::transmute(ok__)); + variables.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2620,7 +2620,7 @@ impl IFsrmFileScreenManager_Vtbl { let this = (*this).get_impl(); match IFsrmFileScreenManager_Impl::ActionVariableDescriptions(this) { Ok(ok__) => { - core::ptr::write(descriptions, core::mem::transmute(ok__)); + descriptions.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2631,7 +2631,7 @@ impl IFsrmFileScreenManager_Vtbl { let this = (*this).get_impl(); match IFsrmFileScreenManager_Impl::CreateFileScreen(this, core::mem::transmute(&path)) { Ok(ok__) => { - core::ptr::write(filescreen, core::mem::transmute(ok__)); + filescreen.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2642,7 +2642,7 @@ impl IFsrmFileScreenManager_Vtbl { let this = (*this).get_impl(); match IFsrmFileScreenManager_Impl::GetFileScreen(this, core::mem::transmute(&path)) { Ok(ok__) => { - core::ptr::write(filescreen, core::mem::transmute(ok__)); + filescreen.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2653,7 +2653,7 @@ impl IFsrmFileScreenManager_Vtbl { let this = (*this).get_impl(); match IFsrmFileScreenManager_Impl::EnumFileScreens(this, core::mem::transmute(&path), core::mem::transmute_copy(&options)) { Ok(ok__) => { - core::ptr::write(filescreens, core::mem::transmute(ok__)); + filescreens.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2664,7 +2664,7 @@ impl IFsrmFileScreenManager_Vtbl { let this = (*this).get_impl(); match IFsrmFileScreenManager_Impl::CreateFileScreenException(this, core::mem::transmute(&path)) { Ok(ok__) => { - core::ptr::write(filescreenexception, core::mem::transmute(ok__)); + filescreenexception.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2675,7 +2675,7 @@ impl IFsrmFileScreenManager_Vtbl { let this = (*this).get_impl(); match IFsrmFileScreenManager_Impl::GetFileScreenException(this, core::mem::transmute(&path)) { Ok(ok__) => { - core::ptr::write(filescreenexception, core::mem::transmute(ok__)); + filescreenexception.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2686,7 +2686,7 @@ impl IFsrmFileScreenManager_Vtbl { let this = (*this).get_impl(); match IFsrmFileScreenManager_Impl::EnumFileScreenExceptions(this, core::mem::transmute(&path), core::mem::transmute_copy(&options)) { Ok(ok__) => { - core::ptr::write(filescreenexceptions, core::mem::transmute(ok__)); + filescreenexceptions.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2697,7 +2697,7 @@ impl IFsrmFileScreenManager_Vtbl { let this = (*this).get_impl(); match IFsrmFileScreenManager_Impl::CreateFileScreenCollection(this) { Ok(ok__) => { - core::ptr::write(collection, core::mem::transmute(ok__)); + collection.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2737,7 +2737,7 @@ impl IFsrmFileScreenTemplate_Vtbl { let this = (*this).get_impl(); match IFsrmFileScreenTemplate_Impl::Name(this) { Ok(ok__) => { - core::ptr::write(name, core::mem::transmute(ok__)); + name.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2758,7 +2758,7 @@ impl IFsrmFileScreenTemplate_Vtbl { let this = (*this).get_impl(); match IFsrmFileScreenTemplate_Impl::CommitAndUpdateDerived(this, core::mem::transmute_copy(&commitoptions), core::mem::transmute_copy(&applyoptions)) { Ok(ok__) => { - core::ptr::write(derivedobjectsresult, core::mem::transmute(ok__)); + derivedobjectsresult.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2791,7 +2791,7 @@ impl IFsrmFileScreenTemplateImported_Vtbl { let this = (*this).get_impl(); match IFsrmFileScreenTemplateImported_Impl::OverwriteOnCommit(this) { Ok(ok__) => { - core::ptr::write(overwrite, core::mem::transmute(ok__)); + overwrite.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2830,7 +2830,7 @@ impl IFsrmFileScreenTemplateManager_Vtbl { let this = (*this).get_impl(); match IFsrmFileScreenTemplateManager_Impl::CreateTemplate(this) { Ok(ok__) => { - core::ptr::write(filescreentemplate, core::mem::transmute(ok__)); + filescreentemplate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2841,7 +2841,7 @@ impl IFsrmFileScreenTemplateManager_Vtbl { let this = (*this).get_impl(); match IFsrmFileScreenTemplateManager_Impl::GetTemplate(this, core::mem::transmute(&name)) { Ok(ok__) => { - core::ptr::write(filescreentemplate, core::mem::transmute(ok__)); + filescreentemplate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2852,7 +2852,7 @@ impl IFsrmFileScreenTemplateManager_Vtbl { let this = (*this).get_impl(); match IFsrmFileScreenTemplateManager_Impl::EnumTemplates(this, core::mem::transmute_copy(&options)) { Ok(ok__) => { - core::ptr::write(filescreentemplates, core::mem::transmute(ok__)); + filescreentemplates.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2863,7 +2863,7 @@ impl IFsrmFileScreenTemplateManager_Vtbl { let this = (*this).get_impl(); match IFsrmFileScreenTemplateManager_Impl::ExportTemplates(this, core::mem::transmute_copy(&filescreentemplatenamesarray)) { Ok(ok__) => { - core::ptr::write(serializedfilescreentemplates, core::mem::transmute(ok__)); + serializedfilescreentemplates.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2874,7 +2874,7 @@ impl IFsrmFileScreenTemplateManager_Vtbl { let this = (*this).get_impl(); match IFsrmFileScreenTemplateManager_Impl::ImportTemplates(this, core::mem::transmute(&serializedfilescreentemplates), core::mem::transmute_copy(&filescreentemplatenamesarray)) { Ok(ok__) => { - core::ptr::write(filescreentemplates, core::mem::transmute(ok__)); + filescreentemplates.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2925,7 +2925,7 @@ impl IFsrmMutableCollection_Vtbl { let this = (*this).get_impl(); match IFsrmMutableCollection_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(collection, core::mem::transmute(ok__)); + collection.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2961,7 +2961,7 @@ impl IFsrmObject_Vtbl { let this = (*this).get_impl(); match IFsrmObject_Impl::Id(this) { Ok(ok__) => { - core::ptr::write(id, core::mem::transmute(ok__)); + id.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2972,7 +2972,7 @@ impl IFsrmObject_Vtbl { let this = (*this).get_impl(); match IFsrmObject_Impl::Description(this) { Ok(ok__) => { - core::ptr::write(description, core::mem::transmute(ok__)); + description.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3020,7 +3020,7 @@ impl IFsrmPathMapper_Vtbl { let this = (*this).get_impl(); match IFsrmPathMapper_Impl::GetSharePathsForLocalPath(this, core::mem::transmute(&localpath)) { Ok(ok__) => { - core::ptr::write(sharepaths, core::mem::transmute(ok__)); + sharepaths.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3053,7 +3053,7 @@ impl IFsrmPipelineModuleConnector_Vtbl { let this = (*this).get_impl(); match IFsrmPipelineModuleConnector_Impl::ModuleImplementation(this) { Ok(ok__) => { - core::ptr::write(pipelinemoduleimplementation, core::mem::transmute(ok__)); + pipelinemoduleimplementation.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3064,7 +3064,7 @@ impl IFsrmPipelineModuleConnector_Vtbl { let this = (*this).get_impl(); match IFsrmPipelineModuleConnector_Impl::ModuleName(this) { Ok(ok__) => { - core::ptr::write(username, core::mem::transmute(ok__)); + username.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3075,7 +3075,7 @@ impl IFsrmPipelineModuleConnector_Vtbl { let this = (*this).get_impl(); match IFsrmPipelineModuleConnector_Impl::HostingUserAccount(this) { Ok(ok__) => { - core::ptr::write(useraccount, core::mem::transmute(ok__)); + useraccount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3086,7 +3086,7 @@ impl IFsrmPipelineModuleConnector_Vtbl { let this = (*this).get_impl(); match IFsrmPipelineModuleConnector_Impl::HostingProcessPid(this) { Ok(ok__) => { - core::ptr::write(pid, core::mem::transmute(ok__)); + pid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3142,7 +3142,7 @@ impl IFsrmPipelineModuleDefinition_Vtbl { let this = (*this).get_impl(); match IFsrmPipelineModuleDefinition_Impl::ModuleClsid(this) { Ok(ok__) => { - core::ptr::write(moduleclsid, core::mem::transmute(ok__)); + moduleclsid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3158,7 +3158,7 @@ impl IFsrmPipelineModuleDefinition_Vtbl { let this = (*this).get_impl(); match IFsrmPipelineModuleDefinition_Impl::Name(this) { Ok(ok__) => { - core::ptr::write(name, core::mem::transmute(ok__)); + name.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3174,7 +3174,7 @@ impl IFsrmPipelineModuleDefinition_Vtbl { let this = (*this).get_impl(); match IFsrmPipelineModuleDefinition_Impl::Company(this) { Ok(ok__) => { - core::ptr::write(company, core::mem::transmute(ok__)); + company.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3190,7 +3190,7 @@ impl IFsrmPipelineModuleDefinition_Vtbl { let this = (*this).get_impl(); match IFsrmPipelineModuleDefinition_Impl::Version(this) { Ok(ok__) => { - core::ptr::write(version, core::mem::transmute(ok__)); + version.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3206,7 +3206,7 @@ impl IFsrmPipelineModuleDefinition_Vtbl { let this = (*this).get_impl(); match IFsrmPipelineModuleDefinition_Impl::ModuleType(this) { Ok(ok__) => { - core::ptr::write(moduletype, core::mem::transmute(ok__)); + moduletype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3217,7 +3217,7 @@ impl IFsrmPipelineModuleDefinition_Vtbl { let this = (*this).get_impl(); match IFsrmPipelineModuleDefinition_Impl::Enabled(this) { Ok(ok__) => { - core::ptr::write(enabled, core::mem::transmute(ok__)); + enabled.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3233,7 +3233,7 @@ impl IFsrmPipelineModuleDefinition_Vtbl { let this = (*this).get_impl(); match IFsrmPipelineModuleDefinition_Impl::NeedsFileContent(this) { Ok(ok__) => { - core::ptr::write(needsfilecontent, core::mem::transmute(ok__)); + needsfilecontent.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3249,7 +3249,7 @@ impl IFsrmPipelineModuleDefinition_Vtbl { let this = (*this).get_impl(); match IFsrmPipelineModuleDefinition_Impl::Account(this) { Ok(ok__) => { - core::ptr::write(retrievalaccount, core::mem::transmute(ok__)); + retrievalaccount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3265,7 +3265,7 @@ impl IFsrmPipelineModuleDefinition_Vtbl { let this = (*this).get_impl(); match IFsrmPipelineModuleDefinition_Impl::SupportedExtensions(this) { Ok(ok__) => { - core::ptr::write(supportedextensions, core::mem::transmute(ok__)); + supportedextensions.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3281,7 +3281,7 @@ impl IFsrmPipelineModuleDefinition_Vtbl { let this = (*this).get_impl(); match IFsrmPipelineModuleDefinition_Impl::Parameters(this) { Ok(ok__) => { - core::ptr::write(parameters, core::mem::transmute(ok__)); + parameters.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3334,7 +3334,7 @@ impl IFsrmPipelineModuleImplementation_Vtbl { let this = (*this).get_impl(); match IFsrmPipelineModuleImplementation_Impl::OnLoad(this, windows_core::from_raw_borrowed(&moduledefinition)) { Ok(ok__) => { - core::ptr::write(moduleconnector, core::mem::transmute(ok__)); + moduleconnector.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3372,7 +3372,7 @@ impl IFsrmProperty_Vtbl { let this = (*this).get_impl(); match IFsrmProperty_Impl::Name(this) { Ok(ok__) => { - core::ptr::write(name, core::mem::transmute(ok__)); + name.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3383,7 +3383,7 @@ impl IFsrmProperty_Vtbl { let this = (*this).get_impl(); match IFsrmProperty_Impl::Value(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3394,7 +3394,7 @@ impl IFsrmProperty_Vtbl { let this = (*this).get_impl(); match IFsrmProperty_Impl::Sources(this) { Ok(ok__) => { - core::ptr::write(sources, core::mem::transmute(ok__)); + sources.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3405,7 +3405,7 @@ impl IFsrmProperty_Vtbl { let this = (*this).get_impl(); match IFsrmProperty_Impl::PropertyFlags(this) { Ok(ok__) => { - core::ptr::write(flags, core::mem::transmute(ok__)); + flags.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3457,7 +3457,7 @@ impl IFsrmPropertyBag_Vtbl { let this = (*this).get_impl(); match IFsrmPropertyBag_Impl::Name(this) { Ok(ok__) => { - core::ptr::write(name, core::mem::transmute(ok__)); + name.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3468,7 +3468,7 @@ impl IFsrmPropertyBag_Vtbl { let this = (*this).get_impl(); match IFsrmPropertyBag_Impl::RelativePath(this) { Ok(ok__) => { - core::ptr::write(path, core::mem::transmute(ok__)); + path.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3479,7 +3479,7 @@ impl IFsrmPropertyBag_Vtbl { let this = (*this).get_impl(); match IFsrmPropertyBag_Impl::VolumeName(this) { Ok(ok__) => { - core::ptr::write(volumename, core::mem::transmute(ok__)); + volumename.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3490,7 +3490,7 @@ impl IFsrmPropertyBag_Vtbl { let this = (*this).get_impl(); match IFsrmPropertyBag_Impl::RelativeNamespaceRoot(this) { Ok(ok__) => { - core::ptr::write(relativenamespaceroot, core::mem::transmute(ok__)); + relativenamespaceroot.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3501,7 +3501,7 @@ impl IFsrmPropertyBag_Vtbl { let this = (*this).get_impl(); match IFsrmPropertyBag_Impl::VolumeIndex(this) { Ok(ok__) => { - core::ptr::write(volumeid, core::mem::transmute(ok__)); + volumeid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3512,7 +3512,7 @@ impl IFsrmPropertyBag_Vtbl { let this = (*this).get_impl(); match IFsrmPropertyBag_Impl::FileId(this) { Ok(ok__) => { - core::ptr::write(fileid, core::mem::transmute(ok__)); + fileid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3523,7 +3523,7 @@ impl IFsrmPropertyBag_Vtbl { let this = (*this).get_impl(); match IFsrmPropertyBag_Impl::ParentDirectoryId(this) { Ok(ok__) => { - core::ptr::write(parentdirectoryid, core::mem::transmute(ok__)); + parentdirectoryid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3534,7 +3534,7 @@ impl IFsrmPropertyBag_Vtbl { let this = (*this).get_impl(); match IFsrmPropertyBag_Impl::Size(this) { Ok(ok__) => { - core::ptr::write(size, core::mem::transmute(ok__)); + size.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3545,7 +3545,7 @@ impl IFsrmPropertyBag_Vtbl { let this = (*this).get_impl(); match IFsrmPropertyBag_Impl::SizeAllocated(this) { Ok(ok__) => { - core::ptr::write(sizeallocated, core::mem::transmute(ok__)); + sizeallocated.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3556,7 +3556,7 @@ impl IFsrmPropertyBag_Vtbl { let this = (*this).get_impl(); match IFsrmPropertyBag_Impl::CreationTime(this) { Ok(ok__) => { - core::ptr::write(creationtime, core::mem::transmute(ok__)); + creationtime.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3567,7 +3567,7 @@ impl IFsrmPropertyBag_Vtbl { let this = (*this).get_impl(); match IFsrmPropertyBag_Impl::LastAccessTime(this) { Ok(ok__) => { - core::ptr::write(lastaccesstime, core::mem::transmute(ok__)); + lastaccesstime.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3578,7 +3578,7 @@ impl IFsrmPropertyBag_Vtbl { let this = (*this).get_impl(); match IFsrmPropertyBag_Impl::LastModificationTime(this) { Ok(ok__) => { - core::ptr::write(lastmodificationtime, core::mem::transmute(ok__)); + lastmodificationtime.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3589,7 +3589,7 @@ impl IFsrmPropertyBag_Vtbl { let this = (*this).get_impl(); match IFsrmPropertyBag_Impl::Attributes(this) { Ok(ok__) => { - core::ptr::write(attributes, core::mem::transmute(ok__)); + attributes.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3600,7 +3600,7 @@ impl IFsrmPropertyBag_Vtbl { let this = (*this).get_impl(); match IFsrmPropertyBag_Impl::OwnerSid(this) { Ok(ok__) => { - core::ptr::write(ownersid, core::mem::transmute(ok__)); + ownersid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3611,7 +3611,7 @@ impl IFsrmPropertyBag_Vtbl { let this = (*this).get_impl(); match IFsrmPropertyBag_Impl::FilePropertyNames(this) { Ok(ok__) => { - core::ptr::write(filepropertynames, core::mem::transmute(ok__)); + filepropertynames.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3622,7 +3622,7 @@ impl IFsrmPropertyBag_Vtbl { let this = (*this).get_impl(); match IFsrmPropertyBag_Impl::Messages(this) { Ok(ok__) => { - core::ptr::write(messages, core::mem::transmute(ok__)); + messages.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3633,7 +3633,7 @@ impl IFsrmPropertyBag_Vtbl { let this = (*this).get_impl(); match IFsrmPropertyBag_Impl::PropertyBagFlags(this) { Ok(ok__) => { - core::ptr::write(flags, core::mem::transmute(ok__)); + flags.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3644,7 +3644,7 @@ impl IFsrmPropertyBag_Vtbl { let this = (*this).get_impl(); match IFsrmPropertyBag_Impl::GetFileProperty(this, core::mem::transmute(&name)) { Ok(ok__) => { - core::ptr::write(fileproperty, core::mem::transmute(ok__)); + fileproperty.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3665,7 +3665,7 @@ impl IFsrmPropertyBag_Vtbl { let this = (*this).get_impl(); match IFsrmPropertyBag_Impl::GetFileStreamInterface(this, core::mem::transmute_copy(&accessmode), core::mem::transmute_copy(&interfacetype)) { Ok(ok__) => { - core::ptr::write(pstreaminterface, core::mem::transmute(ok__)); + pstreaminterface.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3715,7 +3715,7 @@ impl IFsrmPropertyBag2_Vtbl { let this = (*this).get_impl(); match IFsrmPropertyBag2_Impl::GetFieldValue(this, core::mem::transmute_copy(&field)) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3726,7 +3726,7 @@ impl IFsrmPropertyBag2_Vtbl { let this = (*this).get_impl(); match IFsrmPropertyBag2_Impl::GetUntrustedInFileProperties(this) { Ok(ok__) => { - core::ptr::write(props, core::mem::transmute(ok__)); + props.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3762,7 +3762,7 @@ impl IFsrmPropertyCondition_Vtbl { let this = (*this).get_impl(); match IFsrmPropertyCondition_Impl::Name(this) { Ok(ok__) => { - core::ptr::write(name, core::mem::transmute(ok__)); + name.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3778,7 +3778,7 @@ impl IFsrmPropertyCondition_Vtbl { let this = (*this).get_impl(); match IFsrmPropertyCondition_Impl::Type(this) { Ok(ok__) => { - core::ptr::write(r#type, core::mem::transmute(ok__)); + r#type.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3794,7 +3794,7 @@ impl IFsrmPropertyCondition_Vtbl { let this = (*this).get_impl(); match IFsrmPropertyCondition_Impl::Value(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3848,7 +3848,7 @@ impl IFsrmPropertyDefinition_Vtbl { let this = (*this).get_impl(); match IFsrmPropertyDefinition_Impl::Name(this) { Ok(ok__) => { - core::ptr::write(name, core::mem::transmute(ok__)); + name.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3864,7 +3864,7 @@ impl IFsrmPropertyDefinition_Vtbl { let this = (*this).get_impl(); match IFsrmPropertyDefinition_Impl::Type(this) { Ok(ok__) => { - core::ptr::write(r#type, core::mem::transmute(ok__)); + r#type.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3880,7 +3880,7 @@ impl IFsrmPropertyDefinition_Vtbl { let this = (*this).get_impl(); match IFsrmPropertyDefinition_Impl::PossibleValues(this) { Ok(ok__) => { - core::ptr::write(possiblevalues, core::mem::transmute(ok__)); + possiblevalues.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3896,7 +3896,7 @@ impl IFsrmPropertyDefinition_Vtbl { let this = (*this).get_impl(); match IFsrmPropertyDefinition_Impl::ValueDescriptions(this) { Ok(ok__) => { - core::ptr::write(valuedescriptions, core::mem::transmute(ok__)); + valuedescriptions.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3912,7 +3912,7 @@ impl IFsrmPropertyDefinition_Vtbl { let this = (*this).get_impl(); match IFsrmPropertyDefinition_Impl::Parameters(this) { Ok(ok__) => { - core::ptr::write(parameters, core::mem::transmute(ok__)); + parameters.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3959,7 +3959,7 @@ impl IFsrmPropertyDefinition2_Vtbl { let this = (*this).get_impl(); match IFsrmPropertyDefinition2_Impl::PropertyDefinitionFlags(this) { Ok(ok__) => { - core::ptr::write(propertydefinitionflags, core::mem::transmute(ok__)); + propertydefinitionflags.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3970,7 +3970,7 @@ impl IFsrmPropertyDefinition2_Vtbl { let this = (*this).get_impl(); match IFsrmPropertyDefinition2_Impl::DisplayName(this) { Ok(ok__) => { - core::ptr::write(name, core::mem::transmute(ok__)); + name.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3986,7 +3986,7 @@ impl IFsrmPropertyDefinition2_Vtbl { let this = (*this).get_impl(); match IFsrmPropertyDefinition2_Impl::AppliesTo(this) { Ok(ok__) => { - core::ptr::write(appliesto, core::mem::transmute(ok__)); + appliesto.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3997,7 +3997,7 @@ impl IFsrmPropertyDefinition2_Vtbl { let this = (*this).get_impl(); match IFsrmPropertyDefinition2_Impl::ValueDefinitions(this) { Ok(ok__) => { - core::ptr::write(valuedefinitions, core::mem::transmute(ok__)); + valuedefinitions.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4033,7 +4033,7 @@ impl IFsrmPropertyDefinitionValue_Vtbl { let this = (*this).get_impl(); match IFsrmPropertyDefinitionValue_Impl::Name(this) { Ok(ok__) => { - core::ptr::write(name, core::mem::transmute(ok__)); + name.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4044,7 +4044,7 @@ impl IFsrmPropertyDefinitionValue_Vtbl { let this = (*this).get_impl(); match IFsrmPropertyDefinitionValue_Impl::DisplayName(this) { Ok(ok__) => { - core::ptr::write(displayname, core::mem::transmute(ok__)); + displayname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4055,7 +4055,7 @@ impl IFsrmPropertyDefinitionValue_Vtbl { let this = (*this).get_impl(); match IFsrmPropertyDefinitionValue_Impl::Description(this) { Ok(ok__) => { - core::ptr::write(description, core::mem::transmute(ok__)); + description.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4066,7 +4066,7 @@ impl IFsrmPropertyDefinitionValue_Vtbl { let this = (*this).get_impl(); match IFsrmPropertyDefinitionValue_Impl::UniqueID(this) { Ok(ok__) => { - core::ptr::write(uniqueid, core::mem::transmute(ok__)); + uniqueid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4102,7 +4102,7 @@ impl IFsrmQuota_Vtbl { let this = (*this).get_impl(); match IFsrmQuota_Impl::QuotaUsed(this) { Ok(ok__) => { - core::ptr::write(used, core::mem::transmute(ok__)); + used.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4113,7 +4113,7 @@ impl IFsrmQuota_Vtbl { let this = (*this).get_impl(); match IFsrmQuota_Impl::QuotaPeakUsage(this) { Ok(ok__) => { - core::ptr::write(peakusage, core::mem::transmute(ok__)); + peakusage.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4124,7 +4124,7 @@ impl IFsrmQuota_Vtbl { let this = (*this).get_impl(); match IFsrmQuota_Impl::QuotaPeakUsageTime(this) { Ok(ok__) => { - core::ptr::write(peakusagedatetime, core::mem::transmute(ok__)); + peakusagedatetime.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4176,7 +4176,7 @@ impl IFsrmQuotaBase_Vtbl { let this = (*this).get_impl(); match IFsrmQuotaBase_Impl::QuotaLimit(this) { Ok(ok__) => { - core::ptr::write(quotalimit, core::mem::transmute(ok__)); + quotalimit.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4192,7 +4192,7 @@ impl IFsrmQuotaBase_Vtbl { let this = (*this).get_impl(); match IFsrmQuotaBase_Impl::QuotaFlags(this) { Ok(ok__) => { - core::ptr::write(quotaflags, core::mem::transmute(ok__)); + quotaflags.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4208,7 +4208,7 @@ impl IFsrmQuotaBase_Vtbl { let this = (*this).get_impl(); match IFsrmQuotaBase_Impl::Thresholds(this) { Ok(ok__) => { - core::ptr::write(thresholds, core::mem::transmute(ok__)); + thresholds.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4234,7 +4234,7 @@ impl IFsrmQuotaBase_Vtbl { let this = (*this).get_impl(); match IFsrmQuotaBase_Impl::CreateThresholdAction(this, core::mem::transmute_copy(&threshold), core::mem::transmute_copy(&actiontype)) { Ok(ok__) => { - core::ptr::write(action, core::mem::transmute(ok__)); + action.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4245,7 +4245,7 @@ impl IFsrmQuotaBase_Vtbl { let this = (*this).get_impl(); match IFsrmQuotaBase_Impl::EnumThresholdActions(this, core::mem::transmute_copy(&threshold)) { Ok(ok__) => { - core::ptr::write(actions, core::mem::transmute(ok__)); + actions.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4294,7 +4294,7 @@ impl IFsrmQuotaManager_Vtbl { let this = (*this).get_impl(); match IFsrmQuotaManager_Impl::ActionVariables(this) { Ok(ok__) => { - core::ptr::write(variables, core::mem::transmute(ok__)); + variables.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4305,7 +4305,7 @@ impl IFsrmQuotaManager_Vtbl { let this = (*this).get_impl(); match IFsrmQuotaManager_Impl::ActionVariableDescriptions(this) { Ok(ok__) => { - core::ptr::write(descriptions, core::mem::transmute(ok__)); + descriptions.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4316,7 +4316,7 @@ impl IFsrmQuotaManager_Vtbl { let this = (*this).get_impl(); match IFsrmQuotaManager_Impl::CreateQuota(this, core::mem::transmute(&path)) { Ok(ok__) => { - core::ptr::write(quota, core::mem::transmute(ok__)); + quota.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4327,7 +4327,7 @@ impl IFsrmQuotaManager_Vtbl { let this = (*this).get_impl(); match IFsrmQuotaManager_Impl::CreateAutoApplyQuota(this, core::mem::transmute("atemplatename), core::mem::transmute(&path)) { Ok(ok__) => { - core::ptr::write(quota, core::mem::transmute(ok__)); + quota.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4338,7 +4338,7 @@ impl IFsrmQuotaManager_Vtbl { let this = (*this).get_impl(); match IFsrmQuotaManager_Impl::GetQuota(this, core::mem::transmute(&path)) { Ok(ok__) => { - core::ptr::write(quota, core::mem::transmute(ok__)); + quota.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4349,7 +4349,7 @@ impl IFsrmQuotaManager_Vtbl { let this = (*this).get_impl(); match IFsrmQuotaManager_Impl::GetAutoApplyQuota(this, core::mem::transmute(&path)) { Ok(ok__) => { - core::ptr::write(quota, core::mem::transmute(ok__)); + quota.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4360,7 +4360,7 @@ impl IFsrmQuotaManager_Vtbl { let this = (*this).get_impl(); match IFsrmQuotaManager_Impl::GetRestrictiveQuota(this, core::mem::transmute(&path)) { Ok(ok__) => { - core::ptr::write(quota, core::mem::transmute(ok__)); + quota.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4371,7 +4371,7 @@ impl IFsrmQuotaManager_Vtbl { let this = (*this).get_impl(); match IFsrmQuotaManager_Impl::EnumQuotas(this, core::mem::transmute(&path), core::mem::transmute_copy(&options)) { Ok(ok__) => { - core::ptr::write(quotas, core::mem::transmute(ok__)); + quotas.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4382,7 +4382,7 @@ impl IFsrmQuotaManager_Vtbl { let this = (*this).get_impl(); match IFsrmQuotaManager_Impl::EnumAutoApplyQuotas(this, core::mem::transmute(&path), core::mem::transmute_copy(&options)) { Ok(ok__) => { - core::ptr::write(quotas, core::mem::transmute(ok__)); + quotas.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4393,7 +4393,7 @@ impl IFsrmQuotaManager_Vtbl { let this = (*this).get_impl(); match IFsrmQuotaManager_Impl::EnumEffectiveQuotas(this, core::mem::transmute(&path), core::mem::transmute_copy(&options)) { Ok(ok__) => { - core::ptr::write(quotas, core::mem::transmute(ok__)); + quotas.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4409,7 +4409,7 @@ impl IFsrmQuotaManager_Vtbl { let this = (*this).get_impl(); match IFsrmQuotaManager_Impl::CreateQuotaCollection(this) { Ok(ok__) => { - core::ptr::write(collection, core::mem::transmute(ok__)); + collection.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4449,7 +4449,7 @@ impl IFsrmQuotaManagerEx_Vtbl { let this = (*this).get_impl(); match IFsrmQuotaManagerEx_Impl::IsAffectedByQuota(this, core::mem::transmute(&path), core::mem::transmute_copy(&options)) { Ok(ok__) => { - core::ptr::write(affected, core::mem::transmute(ok__)); + affected.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4480,7 +4480,7 @@ impl IFsrmQuotaObject_Vtbl { let this = (*this).get_impl(); match IFsrmQuotaObject_Impl::Path(this) { Ok(ok__) => { - core::ptr::write(path, core::mem::transmute(ok__)); + path.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4491,7 +4491,7 @@ impl IFsrmQuotaObject_Vtbl { let this = (*this).get_impl(); match IFsrmQuotaObject_Impl::UserSid(this) { Ok(ok__) => { - core::ptr::write(usersid, core::mem::transmute(ok__)); + usersid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4502,7 +4502,7 @@ impl IFsrmQuotaObject_Vtbl { let this = (*this).get_impl(); match IFsrmQuotaObject_Impl::UserAccount(this) { Ok(ok__) => { - core::ptr::write(useraccount, core::mem::transmute(ok__)); + useraccount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4513,7 +4513,7 @@ impl IFsrmQuotaObject_Vtbl { let this = (*this).get_impl(); match IFsrmQuotaObject_Impl::SourceTemplateName(this) { Ok(ok__) => { - core::ptr::write(quotatemplatename, core::mem::transmute(ok__)); + quotatemplatename.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4524,7 +4524,7 @@ impl IFsrmQuotaObject_Vtbl { let this = (*this).get_impl(); match IFsrmQuotaObject_Impl::MatchesSourceTemplate(this) { Ok(ok__) => { - core::ptr::write(matches, core::mem::transmute(ok__)); + matches.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4566,7 +4566,7 @@ impl IFsrmQuotaTemplate_Vtbl { let this = (*this).get_impl(); match IFsrmQuotaTemplate_Impl::Name(this) { Ok(ok__) => { - core::ptr::write(name, core::mem::transmute(ok__)); + name.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4587,7 +4587,7 @@ impl IFsrmQuotaTemplate_Vtbl { let this = (*this).get_impl(); match IFsrmQuotaTemplate_Impl::CommitAndUpdateDerived(this, core::mem::transmute_copy(&commitoptions), core::mem::transmute_copy(&applyoptions)) { Ok(ok__) => { - core::ptr::write(derivedobjectsresult, core::mem::transmute(ok__)); + derivedobjectsresult.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4620,7 +4620,7 @@ impl IFsrmQuotaTemplateImported_Vtbl { let this = (*this).get_impl(); match IFsrmQuotaTemplateImported_Impl::OverwriteOnCommit(this) { Ok(ok__) => { - core::ptr::write(overwrite, core::mem::transmute(ok__)); + overwrite.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4659,7 +4659,7 @@ impl IFsrmQuotaTemplateManager_Vtbl { let this = (*this).get_impl(); match IFsrmQuotaTemplateManager_Impl::CreateTemplate(this) { Ok(ok__) => { - core::ptr::write(quotatemplate, core::mem::transmute(ok__)); + quotatemplate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4670,7 +4670,7 @@ impl IFsrmQuotaTemplateManager_Vtbl { let this = (*this).get_impl(); match IFsrmQuotaTemplateManager_Impl::GetTemplate(this, core::mem::transmute(&name)) { Ok(ok__) => { - core::ptr::write(quotatemplate, core::mem::transmute(ok__)); + quotatemplate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4681,7 +4681,7 @@ impl IFsrmQuotaTemplateManager_Vtbl { let this = (*this).get_impl(); match IFsrmQuotaTemplateManager_Impl::EnumTemplates(this, core::mem::transmute_copy(&options)) { Ok(ok__) => { - core::ptr::write(quotatemplates, core::mem::transmute(ok__)); + quotatemplates.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4692,7 +4692,7 @@ impl IFsrmQuotaTemplateManager_Vtbl { let this = (*this).get_impl(); match IFsrmQuotaTemplateManager_Impl::ExportTemplates(this, core::mem::transmute_copy("atemplatenamesarray)) { Ok(ok__) => { - core::ptr::write(serializedquotatemplates, core::mem::transmute(ok__)); + serializedquotatemplates.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4703,7 +4703,7 @@ impl IFsrmQuotaTemplateManager_Vtbl { let this = (*this).get_impl(); match IFsrmQuotaTemplateManager_Impl::ImportTemplates(this, core::mem::transmute(&serializedquotatemplates), core::mem::transmute_copy("atemplatenamesarray)) { Ok(ok__) => { - core::ptr::write(quotatemplates, core::mem::transmute(ok__)); + quotatemplates.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4744,7 +4744,7 @@ impl IFsrmReport_Vtbl { let this = (*this).get_impl(); match IFsrmReport_Impl::Type(this) { Ok(ok__) => { - core::ptr::write(reporttype, core::mem::transmute(ok__)); + reporttype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4755,7 +4755,7 @@ impl IFsrmReport_Vtbl { let this = (*this).get_impl(); match IFsrmReport_Impl::Name(this) { Ok(ok__) => { - core::ptr::write(name, core::mem::transmute(ok__)); + name.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4771,7 +4771,7 @@ impl IFsrmReport_Vtbl { let this = (*this).get_impl(); match IFsrmReport_Impl::Description(this) { Ok(ok__) => { - core::ptr::write(description, core::mem::transmute(ok__)); + description.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4787,7 +4787,7 @@ impl IFsrmReport_Vtbl { let this = (*this).get_impl(); match IFsrmReport_Impl::LastGeneratedFileNamePrefix(this) { Ok(ok__) => { - core::ptr::write(prefix, core::mem::transmute(ok__)); + prefix.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4798,7 +4798,7 @@ impl IFsrmReport_Vtbl { let this = (*this).get_impl(); match IFsrmReport_Impl::GetFilter(this, core::mem::transmute_copy(&filter)) { Ok(ok__) => { - core::ptr::write(filtervalue, core::mem::transmute(ok__)); + filtervalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4861,7 +4861,7 @@ impl IFsrmReportJob_Vtbl { let this = (*this).get_impl(); match IFsrmReportJob_Impl::Task(this) { Ok(ok__) => { - core::ptr::write(taskname, core::mem::transmute(ok__)); + taskname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4877,7 +4877,7 @@ impl IFsrmReportJob_Vtbl { let this = (*this).get_impl(); match IFsrmReportJob_Impl::NamespaceRoots(this) { Ok(ok__) => { - core::ptr::write(namespaceroots, core::mem::transmute(ok__)); + namespaceroots.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4893,7 +4893,7 @@ impl IFsrmReportJob_Vtbl { let this = (*this).get_impl(); match IFsrmReportJob_Impl::Formats(this) { Ok(ok__) => { - core::ptr::write(formats, core::mem::transmute(ok__)); + formats.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4909,7 +4909,7 @@ impl IFsrmReportJob_Vtbl { let this = (*this).get_impl(); match IFsrmReportJob_Impl::MailTo(this) { Ok(ok__) => { - core::ptr::write(mailto, core::mem::transmute(ok__)); + mailto.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4925,7 +4925,7 @@ impl IFsrmReportJob_Vtbl { let this = (*this).get_impl(); match IFsrmReportJob_Impl::RunningStatus(this) { Ok(ok__) => { - core::ptr::write(runningstatus, core::mem::transmute(ok__)); + runningstatus.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4936,7 +4936,7 @@ impl IFsrmReportJob_Vtbl { let this = (*this).get_impl(); match IFsrmReportJob_Impl::LastRun(this) { Ok(ok__) => { - core::ptr::write(lastrun, core::mem::transmute(ok__)); + lastrun.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4947,7 +4947,7 @@ impl IFsrmReportJob_Vtbl { let this = (*this).get_impl(); match IFsrmReportJob_Impl::LastError(this) { Ok(ok__) => { - core::ptr::write(lasterror, core::mem::transmute(ok__)); + lasterror.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4958,7 +4958,7 @@ impl IFsrmReportJob_Vtbl { let this = (*this).get_impl(); match IFsrmReportJob_Impl::LastGeneratedInDirectory(this) { Ok(ok__) => { - core::ptr::write(path, core::mem::transmute(ok__)); + path.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4969,7 +4969,7 @@ impl IFsrmReportJob_Vtbl { let this = (*this).get_impl(); match IFsrmReportJob_Impl::EnumReports(this) { Ok(ok__) => { - core::ptr::write(reports, core::mem::transmute(ok__)); + reports.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4980,7 +4980,7 @@ impl IFsrmReportJob_Vtbl { let this = (*this).get_impl(); match IFsrmReportJob_Impl::CreateReport(this, core::mem::transmute_copy(&reporttype)) { Ok(ok__) => { - core::ptr::write(report, core::mem::transmute(ok__)); + report.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4996,7 +4996,7 @@ impl IFsrmReportJob_Vtbl { let this = (*this).get_impl(); match IFsrmReportJob_Impl::WaitForCompletion(this, core::mem::transmute_copy(&waitseconds)) { Ok(ok__) => { - core::ptr::write(completed, core::mem::transmute(ok__)); + completed.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5055,7 +5055,7 @@ impl IFsrmReportManager_Vtbl { let this = (*this).get_impl(); match IFsrmReportManager_Impl::EnumReportJobs(this, core::mem::transmute_copy(&options)) { Ok(ok__) => { - core::ptr::write(reportjobs, core::mem::transmute(ok__)); + reportjobs.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5066,7 +5066,7 @@ impl IFsrmReportManager_Vtbl { let this = (*this).get_impl(); match IFsrmReportManager_Impl::CreateReportJob(this) { Ok(ok__) => { - core::ptr::write(reportjob, core::mem::transmute(ok__)); + reportjob.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5077,7 +5077,7 @@ impl IFsrmReportManager_Vtbl { let this = (*this).get_impl(); match IFsrmReportManager_Impl::GetReportJob(this, core::mem::transmute(&taskname)) { Ok(ok__) => { - core::ptr::write(reportjob, core::mem::transmute(ok__)); + reportjob.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5088,7 +5088,7 @@ impl IFsrmReportManager_Vtbl { let this = (*this).get_impl(); match IFsrmReportManager_Impl::GetOutputDirectory(this, core::mem::transmute_copy(&context)) { Ok(ok__) => { - core::ptr::write(path, core::mem::transmute(ok__)); + path.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5104,7 +5104,7 @@ impl IFsrmReportManager_Vtbl { let this = (*this).get_impl(); match IFsrmReportManager_Impl::IsFilterValidForReportType(this, core::mem::transmute_copy(&reporttype), core::mem::transmute_copy(&filter)) { Ok(ok__) => { - core::ptr::write(valid, core::mem::transmute(ok__)); + valid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5115,7 +5115,7 @@ impl IFsrmReportManager_Vtbl { let this = (*this).get_impl(); match IFsrmReportManager_Impl::GetDefaultFilter(this, core::mem::transmute_copy(&reporttype), core::mem::transmute_copy(&filter)) { Ok(ok__) => { - core::ptr::write(filtervalue, core::mem::transmute(ok__)); + filtervalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5131,7 +5131,7 @@ impl IFsrmReportManager_Vtbl { let this = (*this).get_impl(); match IFsrmReportManager_Impl::GetReportSizeLimit(this, core::mem::transmute_copy(&limit)) { Ok(ok__) => { - core::ptr::write(limitvalue, core::mem::transmute(ok__)); + limitvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5229,7 +5229,7 @@ impl IFsrmRule_Vtbl { let this = (*this).get_impl(); match IFsrmRule_Impl::Name(this) { Ok(ok__) => { - core::ptr::write(name, core::mem::transmute(ok__)); + name.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5245,7 +5245,7 @@ impl IFsrmRule_Vtbl { let this = (*this).get_impl(); match IFsrmRule_Impl::RuleType(this) { Ok(ok__) => { - core::ptr::write(ruletype, core::mem::transmute(ok__)); + ruletype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5256,7 +5256,7 @@ impl IFsrmRule_Vtbl { let this = (*this).get_impl(); match IFsrmRule_Impl::ModuleDefinitionName(this) { Ok(ok__) => { - core::ptr::write(moduledefinitionname, core::mem::transmute(ok__)); + moduledefinitionname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5272,7 +5272,7 @@ impl IFsrmRule_Vtbl { let this = (*this).get_impl(); match IFsrmRule_Impl::NamespaceRoots(this) { Ok(ok__) => { - core::ptr::write(namespaceroots, core::mem::transmute(ok__)); + namespaceroots.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5288,7 +5288,7 @@ impl IFsrmRule_Vtbl { let this = (*this).get_impl(); match IFsrmRule_Impl::RuleFlags(this) { Ok(ok__) => { - core::ptr::write(ruleflags, core::mem::transmute(ok__)); + ruleflags.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5304,7 +5304,7 @@ impl IFsrmRule_Vtbl { let this = (*this).get_impl(); match IFsrmRule_Impl::Parameters(this) { Ok(ok__) => { - core::ptr::write(parameters, core::mem::transmute(ok__)); + parameters.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5320,7 +5320,7 @@ impl IFsrmRule_Vtbl { let this = (*this).get_impl(); match IFsrmRule_Impl::LastModified(this) { Ok(ok__) => { - core::ptr::write(lastmodified, core::mem::transmute(ok__)); + lastmodified.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5372,7 +5372,7 @@ impl IFsrmSetting_Vtbl { let this = (*this).get_impl(); match IFsrmSetting_Impl::SmtpServer(this) { Ok(ok__) => { - core::ptr::write(smtpserver, core::mem::transmute(ok__)); + smtpserver.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5388,7 +5388,7 @@ impl IFsrmSetting_Vtbl { let this = (*this).get_impl(); match IFsrmSetting_Impl::MailFrom(this) { Ok(ok__) => { - core::ptr::write(mailfrom, core::mem::transmute(ok__)); + mailfrom.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5404,7 +5404,7 @@ impl IFsrmSetting_Vtbl { let this = (*this).get_impl(); match IFsrmSetting_Impl::AdminEmail(this) { Ok(ok__) => { - core::ptr::write(adminemail, core::mem::transmute(ok__)); + adminemail.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5420,7 +5420,7 @@ impl IFsrmSetting_Vtbl { let this = (*this).get_impl(); match IFsrmSetting_Impl::DisableCommandLine(this) { Ok(ok__) => { - core::ptr::write(disablecommandline, core::mem::transmute(ok__)); + disablecommandline.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5436,7 +5436,7 @@ impl IFsrmSetting_Vtbl { let this = (*this).get_impl(); match IFsrmSetting_Impl::EnableScreeningAudit(this) { Ok(ok__) => { - core::ptr::write(enablescreeningaudit, core::mem::transmute(ok__)); + enablescreeningaudit.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5462,7 +5462,7 @@ impl IFsrmSetting_Vtbl { let this = (*this).get_impl(); match IFsrmSetting_Impl::GetActionRunLimitInterval(this, core::mem::transmute_copy(&actiontype)) { Ok(ok__) => { - core::ptr::write(delaytimeminutes, core::mem::transmute(ok__)); + delaytimeminutes.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5508,7 +5508,7 @@ impl IFsrmStorageModuleDefinition_Vtbl { let this = (*this).get_impl(); match IFsrmStorageModuleDefinition_Impl::Capabilities(this) { Ok(ok__) => { - core::ptr::write(capabilities, core::mem::transmute(ok__)); + capabilities.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5524,7 +5524,7 @@ impl IFsrmStorageModuleDefinition_Vtbl { let this = (*this).get_impl(); match IFsrmStorageModuleDefinition_Impl::StorageType(this) { Ok(ok__) => { - core::ptr::write(storagetype, core::mem::transmute(ok__)); + storagetype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5540,7 +5540,7 @@ impl IFsrmStorageModuleDefinition_Vtbl { let this = (*this).get_impl(); match IFsrmStorageModuleDefinition_Impl::UpdatesFileContent(this) { Ok(ok__) => { - core::ptr::write(updatesfilecontent, core::mem::transmute(ok__)); + updatesfilecontent.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/Win32/Storage/FileSystem/impl.rs b/crates/libs/windows/src/Windows/Win32/Storage/FileSystem/impl.rs index bf83265b10..54bbcb162d 100644 --- a/crates/libs/windows/src/Windows/Win32/Storage/FileSystem/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Storage/FileSystem/impl.rs @@ -87,7 +87,7 @@ impl IDiskQuotaControl_Vtbl { let this = (*this).get_impl(); match IDiskQuotaControl_Impl::AddUserSid(this, core::mem::transmute_copy(&pusersid), core::mem::transmute_copy(&fnameresolution)) { Ok(ok__) => { - core::ptr::write(ppuser, core::mem::transmute(ok__)); + ppuser.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -98,7 +98,7 @@ impl IDiskQuotaControl_Vtbl { let this = (*this).get_impl(); match IDiskQuotaControl_Impl::AddUserName(this, core::mem::transmute(&pszlogonname), core::mem::transmute_copy(&fnameresolution)) { Ok(ok__) => { - core::ptr::write(ppuser, core::mem::transmute(ok__)); + ppuser.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -114,7 +114,7 @@ impl IDiskQuotaControl_Vtbl { let this = (*this).get_impl(); match IDiskQuotaControl_Impl::FindUserSid(this, core::mem::transmute_copy(&pusersid), core::mem::transmute_copy(&fnameresolution)) { Ok(ok__) => { - core::ptr::write(ppuser, core::mem::transmute(ok__)); + ppuser.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -125,7 +125,7 @@ impl IDiskQuotaControl_Vtbl { let this = (*this).get_impl(); match IDiskQuotaControl_Impl::FindUserName(this, core::mem::transmute(&pszlogonname)) { Ok(ok__) => { - core::ptr::write(ppuser, core::mem::transmute(ok__)); + ppuser.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -141,7 +141,7 @@ impl IDiskQuotaControl_Vtbl { let this = (*this).get_impl(); match IDiskQuotaControl_Impl::CreateUserBatch(this) { Ok(ok__) => { - core::ptr::write(ppbatch, core::mem::transmute(ok__)); + ppbatch.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -396,7 +396,7 @@ impl IEnumDiskQuotaUsers_Vtbl { let this = (*this).get_impl(); match IEnumDiskQuotaUsers_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/Win32/Storage/Imapi/impl.rs b/crates/libs/windows/src/Windows/Win32/Storage/Imapi/impl.rs index 06cfa3ee4b..c5454185ae 100644 --- a/crates/libs/windows/src/Windows/Win32/Storage/Imapi/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Storage/Imapi/impl.rs @@ -183,7 +183,7 @@ impl IBlockRange_Vtbl { let this = (*this).get_impl(); match IBlockRange_Impl::StartLba(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -194,7 +194,7 @@ impl IBlockRange_Vtbl { let this = (*this).get_impl(); match IBlockRange_Impl::EndLba(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -224,7 +224,7 @@ impl IBlockRangeList_Vtbl { let this = (*this).get_impl(); match IBlockRangeList_Impl::BlockRanges(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -258,7 +258,7 @@ impl IBootOptions_Vtbl { let this = (*this).get_impl(); match IBootOptions_Impl::BootImage(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -269,7 +269,7 @@ impl IBootOptions_Vtbl { let this = (*this).get_impl(); match IBootOptions_Impl::Manufacturer(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -285,7 +285,7 @@ impl IBootOptions_Vtbl { let this = (*this).get_impl(); match IBootOptions_Impl::PlatformId(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -301,7 +301,7 @@ impl IBootOptions_Vtbl { let this = (*this).get_impl(); match IBootOptions_Impl::Emulation(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -317,7 +317,7 @@ impl IBootOptions_Vtbl { let this = (*this).get_impl(); match IBootOptions_Impl::ImageSize(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -362,7 +362,7 @@ impl IBurnVerification_Vtbl { let this = (*this).get_impl(); match IBurnVerification_Impl::BurnVerificationLevel(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -396,7 +396,7 @@ impl IDiscFormat2_Vtbl { let this = (*this).get_impl(); match IDiscFormat2_Impl::IsRecorderSupported(this, windows_core::from_raw_borrowed(&recorder)) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -407,7 +407,7 @@ impl IDiscFormat2_Vtbl { let this = (*this).get_impl(); match IDiscFormat2_Impl::IsCurrentMediaSupported(this, windows_core::from_raw_borrowed(&recorder)) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -418,7 +418,7 @@ impl IDiscFormat2_Vtbl { let this = (*this).get_impl(); match IDiscFormat2_Impl::MediaPhysicallyBlank(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -429,7 +429,7 @@ impl IDiscFormat2_Vtbl { let this = (*this).get_impl(); match IDiscFormat2_Impl::MediaHeuristicallyBlank(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -440,7 +440,7 @@ impl IDiscFormat2_Vtbl { let this = (*this).get_impl(); match IDiscFormat2_Impl::SupportedMediaTypes(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -509,7 +509,7 @@ impl IDiscFormat2Data_Vtbl { let this = (*this).get_impl(); match IDiscFormat2Data_Impl::Recorder(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -525,7 +525,7 @@ impl IDiscFormat2Data_Vtbl { let this = (*this).get_impl(); match IDiscFormat2Data_Impl::BufferUnderrunFreeDisabled(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -541,7 +541,7 @@ impl IDiscFormat2Data_Vtbl { let this = (*this).get_impl(); match IDiscFormat2Data_Impl::PostgapAlreadyInImage(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -552,7 +552,7 @@ impl IDiscFormat2Data_Vtbl { let this = (*this).get_impl(); match IDiscFormat2Data_Impl::CurrentMediaStatus(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -563,7 +563,7 @@ impl IDiscFormat2Data_Vtbl { let this = (*this).get_impl(); match IDiscFormat2Data_Impl::WriteProtectStatus(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -574,7 +574,7 @@ impl IDiscFormat2Data_Vtbl { let this = (*this).get_impl(); match IDiscFormat2Data_Impl::TotalSectorsOnMedia(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -585,7 +585,7 @@ impl IDiscFormat2Data_Vtbl { let this = (*this).get_impl(); match IDiscFormat2Data_Impl::FreeSectorsOnMedia(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -596,7 +596,7 @@ impl IDiscFormat2Data_Vtbl { let this = (*this).get_impl(); match IDiscFormat2Data_Impl::NextWritableAddress(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -607,7 +607,7 @@ impl IDiscFormat2Data_Vtbl { let this = (*this).get_impl(); match IDiscFormat2Data_Impl::StartAddressOfPreviousSession(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -618,7 +618,7 @@ impl IDiscFormat2Data_Vtbl { let this = (*this).get_impl(); match IDiscFormat2Data_Impl::LastWrittenAddressOfPreviousSession(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -634,7 +634,7 @@ impl IDiscFormat2Data_Vtbl { let this = (*this).get_impl(); match IDiscFormat2Data_Impl::ForceMediaToBeClosed(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -650,7 +650,7 @@ impl IDiscFormat2Data_Vtbl { let this = (*this).get_impl(); match IDiscFormat2Data_Impl::DisableConsumerDvdCompatibilityMode(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -661,7 +661,7 @@ impl IDiscFormat2Data_Vtbl { let this = (*this).get_impl(); match IDiscFormat2Data_Impl::CurrentPhysicalMediaType(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -677,7 +677,7 @@ impl IDiscFormat2Data_Vtbl { let this = (*this).get_impl(); match IDiscFormat2Data_Impl::ClientName(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -688,7 +688,7 @@ impl IDiscFormat2Data_Vtbl { let this = (*this).get_impl(); match IDiscFormat2Data_Impl::RequestedWriteSpeed(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -699,7 +699,7 @@ impl IDiscFormat2Data_Vtbl { let this = (*this).get_impl(); match IDiscFormat2Data_Impl::RequestedRotationTypeIsPureCAV(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -710,7 +710,7 @@ impl IDiscFormat2Data_Vtbl { let this = (*this).get_impl(); match IDiscFormat2Data_Impl::CurrentWriteSpeed(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -721,7 +721,7 @@ impl IDiscFormat2Data_Vtbl { let this = (*this).get_impl(); match IDiscFormat2Data_Impl::CurrentRotationTypeIsPureCAV(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -732,7 +732,7 @@ impl IDiscFormat2Data_Vtbl { let this = (*this).get_impl(); match IDiscFormat2Data_Impl::SupportedWriteSpeeds(this) { Ok(ok__) => { - core::ptr::write(supportedspeeds, core::mem::transmute(ok__)); + supportedspeeds.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -743,7 +743,7 @@ impl IDiscFormat2Data_Vtbl { let this = (*this).get_impl(); match IDiscFormat2Data_Impl::SupportedWriteSpeedDescriptors(this) { Ok(ok__) => { - core::ptr::write(supportedspeeddescriptors, core::mem::transmute(ok__)); + supportedspeeddescriptors.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -759,7 +759,7 @@ impl IDiscFormat2Data_Vtbl { let this = (*this).get_impl(); match IDiscFormat2Data_Impl::ForceOverwrite(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -770,7 +770,7 @@ impl IDiscFormat2Data_Vtbl { let this = (*this).get_impl(); match IDiscFormat2Data_Impl::MultisessionInterfaces(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -848,7 +848,7 @@ impl IDiscFormat2DataEventArgs_Vtbl { let this = (*this).get_impl(); match IDiscFormat2DataEventArgs_Impl::ElapsedTime(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -859,7 +859,7 @@ impl IDiscFormat2DataEventArgs_Vtbl { let this = (*this).get_impl(); match IDiscFormat2DataEventArgs_Impl::RemainingTime(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -870,7 +870,7 @@ impl IDiscFormat2DataEventArgs_Vtbl { let this = (*this).get_impl(); match IDiscFormat2DataEventArgs_Impl::TotalTime(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -881,7 +881,7 @@ impl IDiscFormat2DataEventArgs_Vtbl { let this = (*this).get_impl(); match IDiscFormat2DataEventArgs_Impl::CurrentAction(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -925,7 +925,7 @@ impl IDiscFormat2Erase_Vtbl { let this = (*this).get_impl(); match IDiscFormat2Erase_Impl::Recorder(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -941,7 +941,7 @@ impl IDiscFormat2Erase_Vtbl { let this = (*this).get_impl(); match IDiscFormat2Erase_Impl::FullErase(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -952,7 +952,7 @@ impl IDiscFormat2Erase_Vtbl { let this = (*this).get_impl(); match IDiscFormat2Erase_Impl::CurrentPhysicalMediaType(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -968,7 +968,7 @@ impl IDiscFormat2Erase_Vtbl { let this = (*this).get_impl(); match IDiscFormat2Erase_Impl::ClientName(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1067,7 +1067,7 @@ impl IDiscFormat2RawCD_Vtbl { let this = (*this).get_impl(); match IDiscFormat2RawCD_Impl::Recorder(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1083,7 +1083,7 @@ impl IDiscFormat2RawCD_Vtbl { let this = (*this).get_impl(); match IDiscFormat2RawCD_Impl::BufferUnderrunFreeDisabled(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1094,7 +1094,7 @@ impl IDiscFormat2RawCD_Vtbl { let this = (*this).get_impl(); match IDiscFormat2RawCD_Impl::StartOfNextSession(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1105,7 +1105,7 @@ impl IDiscFormat2RawCD_Vtbl { let this = (*this).get_impl(); match IDiscFormat2RawCD_Impl::LastPossibleStartOfLeadout(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1116,7 +1116,7 @@ impl IDiscFormat2RawCD_Vtbl { let this = (*this).get_impl(); match IDiscFormat2RawCD_Impl::CurrentPhysicalMediaType(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1127,7 +1127,7 @@ impl IDiscFormat2RawCD_Vtbl { let this = (*this).get_impl(); match IDiscFormat2RawCD_Impl::SupportedSectorTypes(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1143,7 +1143,7 @@ impl IDiscFormat2RawCD_Vtbl { let this = (*this).get_impl(); match IDiscFormat2RawCD_Impl::RequestedSectorType(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1159,7 +1159,7 @@ impl IDiscFormat2RawCD_Vtbl { let this = (*this).get_impl(); match IDiscFormat2RawCD_Impl::ClientName(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1170,7 +1170,7 @@ impl IDiscFormat2RawCD_Vtbl { let this = (*this).get_impl(); match IDiscFormat2RawCD_Impl::RequestedWriteSpeed(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1181,7 +1181,7 @@ impl IDiscFormat2RawCD_Vtbl { let this = (*this).get_impl(); match IDiscFormat2RawCD_Impl::RequestedRotationTypeIsPureCAV(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1192,7 +1192,7 @@ impl IDiscFormat2RawCD_Vtbl { let this = (*this).get_impl(); match IDiscFormat2RawCD_Impl::CurrentWriteSpeed(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1203,7 +1203,7 @@ impl IDiscFormat2RawCD_Vtbl { let this = (*this).get_impl(); match IDiscFormat2RawCD_Impl::CurrentRotationTypeIsPureCAV(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1214,7 +1214,7 @@ impl IDiscFormat2RawCD_Vtbl { let this = (*this).get_impl(); match IDiscFormat2RawCD_Impl::SupportedWriteSpeeds(this) { Ok(ok__) => { - core::ptr::write(supportedspeeds, core::mem::transmute(ok__)); + supportedspeeds.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1225,7 +1225,7 @@ impl IDiscFormat2RawCD_Vtbl { let this = (*this).get_impl(); match IDiscFormat2RawCD_Impl::SupportedWriteSpeedDescriptors(this) { Ok(ok__) => { - core::ptr::write(supportedspeeddescriptors, core::mem::transmute(ok__)); + supportedspeeddescriptors.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1279,7 +1279,7 @@ impl IDiscFormat2RawCDEventArgs_Vtbl { let this = (*this).get_impl(); match IDiscFormat2RawCDEventArgs_Impl::CurrentAction(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1290,7 +1290,7 @@ impl IDiscFormat2RawCDEventArgs_Vtbl { let this = (*this).get_impl(); match IDiscFormat2RawCDEventArgs_Impl::ElapsedTime(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1301,7 +1301,7 @@ impl IDiscFormat2RawCDEventArgs_Vtbl { let this = (*this).get_impl(); match IDiscFormat2RawCDEventArgs_Impl::RemainingTime(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1386,7 +1386,7 @@ impl IDiscFormat2TrackAtOnce_Vtbl { let this = (*this).get_impl(); match IDiscFormat2TrackAtOnce_Impl::Recorder(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1402,7 +1402,7 @@ impl IDiscFormat2TrackAtOnce_Vtbl { let this = (*this).get_impl(); match IDiscFormat2TrackAtOnce_Impl::BufferUnderrunFreeDisabled(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1413,7 +1413,7 @@ impl IDiscFormat2TrackAtOnce_Vtbl { let this = (*this).get_impl(); match IDiscFormat2TrackAtOnce_Impl::NumberOfExistingTracks(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1424,7 +1424,7 @@ impl IDiscFormat2TrackAtOnce_Vtbl { let this = (*this).get_impl(); match IDiscFormat2TrackAtOnce_Impl::TotalSectorsOnMedia(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1435,7 +1435,7 @@ impl IDiscFormat2TrackAtOnce_Vtbl { let this = (*this).get_impl(); match IDiscFormat2TrackAtOnce_Impl::FreeSectorsOnMedia(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1446,7 +1446,7 @@ impl IDiscFormat2TrackAtOnce_Vtbl { let this = (*this).get_impl(); match IDiscFormat2TrackAtOnce_Impl::UsedSectorsOnMedia(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1462,7 +1462,7 @@ impl IDiscFormat2TrackAtOnce_Vtbl { let this = (*this).get_impl(); match IDiscFormat2TrackAtOnce_Impl::DoNotFinalizeMedia(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1473,7 +1473,7 @@ impl IDiscFormat2TrackAtOnce_Vtbl { let this = (*this).get_impl(); match IDiscFormat2TrackAtOnce_Impl::ExpectedTableOfContents(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1484,7 +1484,7 @@ impl IDiscFormat2TrackAtOnce_Vtbl { let this = (*this).get_impl(); match IDiscFormat2TrackAtOnce_Impl::CurrentPhysicalMediaType(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1500,7 +1500,7 @@ impl IDiscFormat2TrackAtOnce_Vtbl { let this = (*this).get_impl(); match IDiscFormat2TrackAtOnce_Impl::ClientName(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1511,7 +1511,7 @@ impl IDiscFormat2TrackAtOnce_Vtbl { let this = (*this).get_impl(); match IDiscFormat2TrackAtOnce_Impl::RequestedWriteSpeed(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1522,7 +1522,7 @@ impl IDiscFormat2TrackAtOnce_Vtbl { let this = (*this).get_impl(); match IDiscFormat2TrackAtOnce_Impl::RequestedRotationTypeIsPureCAV(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1533,7 +1533,7 @@ impl IDiscFormat2TrackAtOnce_Vtbl { let this = (*this).get_impl(); match IDiscFormat2TrackAtOnce_Impl::CurrentWriteSpeed(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1544,7 +1544,7 @@ impl IDiscFormat2TrackAtOnce_Vtbl { let this = (*this).get_impl(); match IDiscFormat2TrackAtOnce_Impl::CurrentRotationTypeIsPureCAV(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1555,7 +1555,7 @@ impl IDiscFormat2TrackAtOnce_Vtbl { let this = (*this).get_impl(); match IDiscFormat2TrackAtOnce_Impl::SupportedWriteSpeeds(this) { Ok(ok__) => { - core::ptr::write(supportedspeeds, core::mem::transmute(ok__)); + supportedspeeds.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1566,7 +1566,7 @@ impl IDiscFormat2TrackAtOnce_Vtbl { let this = (*this).get_impl(); match IDiscFormat2TrackAtOnce_Impl::SupportedWriteSpeedDescriptors(this) { Ok(ok__) => { - core::ptr::write(supportedspeeddescriptors, core::mem::transmute(ok__)); + supportedspeeddescriptors.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1622,7 +1622,7 @@ impl IDiscFormat2TrackAtOnceEventArgs_Vtbl { let this = (*this).get_impl(); match IDiscFormat2TrackAtOnceEventArgs_Impl::CurrentTrackNumber(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1633,7 +1633,7 @@ impl IDiscFormat2TrackAtOnceEventArgs_Vtbl { let this = (*this).get_impl(); match IDiscFormat2TrackAtOnceEventArgs_Impl::CurrentAction(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1644,7 +1644,7 @@ impl IDiscFormat2TrackAtOnceEventArgs_Vtbl { let this = (*this).get_impl(); match IDiscFormat2TrackAtOnceEventArgs_Impl::ElapsedTime(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1655,7 +1655,7 @@ impl IDiscFormat2TrackAtOnceEventArgs_Vtbl { let this = (*this).get_impl(); match IDiscFormat2TrackAtOnceEventArgs_Impl::RemainingTime(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1700,7 +1700,7 @@ impl IDiscMaster_Vtbl { let this = (*this).get_impl(); match IDiscMaster_Impl::EnumDiscMasterFormats(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1711,7 +1711,7 @@ impl IDiscMaster_Vtbl { let this = (*this).get_impl(); match IDiscMaster_Impl::GetActiveDiscMasterFormat(this) { Ok(ok__) => { - core::ptr::write(lpiid, core::mem::transmute(ok__)); + lpiid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1727,7 +1727,7 @@ impl IDiscMaster_Vtbl { let this = (*this).get_impl(); match IDiscMaster_Impl::EnumDiscRecorders(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1738,7 +1738,7 @@ impl IDiscMaster_Vtbl { let this = (*this).get_impl(); match IDiscMaster_Impl::GetActiveDiscRecorder(this) { Ok(ok__) => { - core::ptr::write(pprecorder, core::mem::transmute(ok__)); + pprecorder.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1759,7 +1759,7 @@ impl IDiscMaster_Vtbl { let this = (*this).get_impl(); match IDiscMaster_Impl::ProgressAdvise(this, windows_core::from_raw_borrowed(&pevents)) { Ok(ok__) => { - core::ptr::write(pvcookie, core::mem::transmute(ok__)); + pvcookie.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1817,7 +1817,7 @@ impl IDiscMaster2_Vtbl { let this = (*this).get_impl(); match IDiscMaster2_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(ppunk, core::mem::transmute(ok__)); + ppunk.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1828,7 +1828,7 @@ impl IDiscMaster2_Vtbl { let this = (*this).get_impl(); match IDiscMaster2_Impl::get_Item(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1839,7 +1839,7 @@ impl IDiscMaster2_Vtbl { let this = (*this).get_impl(); match IDiscMaster2_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1850,7 +1850,7 @@ impl IDiscMaster2_Vtbl { let this = (*this).get_impl(); match IDiscMaster2_Impl::IsSupportedEnvironment(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1887,7 +1887,7 @@ impl IDiscMasterProgressEvents_Vtbl { let this = (*this).get_impl(); match IDiscMasterProgressEvents_Impl::QueryCancel(this) { Ok(ok__) => { - core::ptr::write(pbcancel, core::mem::transmute(ok__)); + pbcancel.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1988,7 +1988,7 @@ impl IDiscRecorder_Vtbl { let this = (*this).get_impl(); match IDiscRecorder_Impl::GetRecorderType(this) { Ok(ok__) => { - core::ptr::write(ftypecode, core::mem::transmute(ok__)); + ftypecode.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2004,7 +2004,7 @@ impl IDiscRecorder_Vtbl { let this = (*this).get_impl(); match IDiscRecorder_Impl::GetBasePnPID(this) { Ok(ok__) => { - core::ptr::write(pbstrbasepnpid, core::mem::transmute(ok__)); + pbstrbasepnpid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2015,7 +2015,7 @@ impl IDiscRecorder_Vtbl { let this = (*this).get_impl(); match IDiscRecorder_Impl::GetPath(this) { Ok(ok__) => { - core::ptr::write(pbstrpath, core::mem::transmute(ok__)); + pbstrpath.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2026,7 +2026,7 @@ impl IDiscRecorder_Vtbl { let this = (*this).get_impl(); match IDiscRecorder_Impl::GetRecorderProperties(this) { Ok(ok__) => { - core::ptr::write(pppropstg, core::mem::transmute(ok__)); + pppropstg.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2042,7 +2042,7 @@ impl IDiscRecorder_Vtbl { let this = (*this).get_impl(); match IDiscRecorder_Impl::GetRecorderState(this) { Ok(ok__) => { - core::ptr::write(puldevstateflags, core::mem::transmute(ok__)); + puldevstateflags.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2170,7 +2170,7 @@ impl IDiscRecorder2_Vtbl { let this = (*this).get_impl(); match IDiscRecorder2_Impl::ActiveDiscRecorder(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2181,7 +2181,7 @@ impl IDiscRecorder2_Vtbl { let this = (*this).get_impl(); match IDiscRecorder2_Impl::VendorId(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2192,7 +2192,7 @@ impl IDiscRecorder2_Vtbl { let this = (*this).get_impl(); match IDiscRecorder2_Impl::ProductId(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2203,7 +2203,7 @@ impl IDiscRecorder2_Vtbl { let this = (*this).get_impl(); match IDiscRecorder2_Impl::ProductRevision(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2214,7 +2214,7 @@ impl IDiscRecorder2_Vtbl { let this = (*this).get_impl(); match IDiscRecorder2_Impl::VolumeName(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2225,7 +2225,7 @@ impl IDiscRecorder2_Vtbl { let this = (*this).get_impl(); match IDiscRecorder2_Impl::VolumePathNames(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2236,7 +2236,7 @@ impl IDiscRecorder2_Vtbl { let this = (*this).get_impl(); match IDiscRecorder2_Impl::DeviceCanLoadMedia(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2247,7 +2247,7 @@ impl IDiscRecorder2_Vtbl { let this = (*this).get_impl(); match IDiscRecorder2_Impl::LegacyDeviceNumber(this) { Ok(ok__) => { - core::ptr::write(legacydevicenumber, core::mem::transmute(ok__)); + legacydevicenumber.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2258,7 +2258,7 @@ impl IDiscRecorder2_Vtbl { let this = (*this).get_impl(); match IDiscRecorder2_Impl::SupportedFeaturePages(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2269,7 +2269,7 @@ impl IDiscRecorder2_Vtbl { let this = (*this).get_impl(); match IDiscRecorder2_Impl::CurrentFeaturePages(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2280,7 +2280,7 @@ impl IDiscRecorder2_Vtbl { let this = (*this).get_impl(); match IDiscRecorder2_Impl::SupportedProfiles(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2291,7 +2291,7 @@ impl IDiscRecorder2_Vtbl { let this = (*this).get_impl(); match IDiscRecorder2_Impl::CurrentProfiles(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2302,7 +2302,7 @@ impl IDiscRecorder2_Vtbl { let this = (*this).get_impl(); match IDiscRecorder2_Impl::SupportedModePages(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2313,7 +2313,7 @@ impl IDiscRecorder2_Vtbl { let this = (*this).get_impl(); match IDiscRecorder2_Impl::ExclusiveAccessOwner(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2451,7 +2451,7 @@ impl IDiscRecorder2Ex_Vtbl { let this = (*this).get_impl(); match IDiscRecorder2Ex_Impl::GetByteAlignmentMask(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2462,7 +2462,7 @@ impl IDiscRecorder2Ex_Vtbl { let this = (*this).get_impl(); match IDiscRecorder2Ex_Impl::GetMaximumNonPageAlignedTransferSize(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2473,7 +2473,7 @@ impl IDiscRecorder2Ex_Vtbl { let this = (*this).get_impl(); match IDiscRecorder2Ex_Impl::GetMaximumPageAlignedTransferSize(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2534,7 +2534,7 @@ impl IEnumDiscMasterFormats_Vtbl { let this = (*this).get_impl(); match IEnumDiscMasterFormats_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2581,7 +2581,7 @@ impl IEnumDiscRecorders_Vtbl { let this = (*this).get_impl(); match IEnumDiscRecorders_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2631,7 +2631,7 @@ impl IEnumFsiItems_Vtbl { let this = (*this).get_impl(); match IEnumFsiItems_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2681,7 +2681,7 @@ impl IEnumProgressItems_Vtbl { let this = (*this).get_impl(); match IEnumProgressItems_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2762,7 +2762,7 @@ impl IFileSystemImage_Vtbl { let this = (*this).get_impl(); match IFileSystemImage_Impl::Root(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2773,7 +2773,7 @@ impl IFileSystemImage_Vtbl { let this = (*this).get_impl(); match IFileSystemImage_Impl::SessionStartBlock(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2789,7 +2789,7 @@ impl IFileSystemImage_Vtbl { let this = (*this).get_impl(); match IFileSystemImage_Impl::FreeMediaBlocks(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2810,7 +2810,7 @@ impl IFileSystemImage_Vtbl { let this = (*this).get_impl(); match IFileSystemImage_Impl::UsedBlocks(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2821,7 +2821,7 @@ impl IFileSystemImage_Vtbl { let this = (*this).get_impl(); match IFileSystemImage_Impl::VolumeName(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2837,7 +2837,7 @@ impl IFileSystemImage_Vtbl { let this = (*this).get_impl(); match IFileSystemImage_Impl::ImportedVolumeName(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2848,7 +2848,7 @@ impl IFileSystemImage_Vtbl { let this = (*this).get_impl(); match IFileSystemImage_Impl::BootImageOptions(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2864,7 +2864,7 @@ impl IFileSystemImage_Vtbl { let this = (*this).get_impl(); match IFileSystemImage_Impl::FileCount(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2875,7 +2875,7 @@ impl IFileSystemImage_Vtbl { let this = (*this).get_impl(); match IFileSystemImage_Impl::DirectoryCount(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2886,7 +2886,7 @@ impl IFileSystemImage_Vtbl { let this = (*this).get_impl(); match IFileSystemImage_Impl::WorkingDirectory(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2902,7 +2902,7 @@ impl IFileSystemImage_Vtbl { let this = (*this).get_impl(); match IFileSystemImage_Impl::ChangePoint(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2913,7 +2913,7 @@ impl IFileSystemImage_Vtbl { let this = (*this).get_impl(); match IFileSystemImage_Impl::StrictFileSystemCompliance(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2929,7 +2929,7 @@ impl IFileSystemImage_Vtbl { let this = (*this).get_impl(); match IFileSystemImage_Impl::UseRestrictedCharacterSet(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2945,7 +2945,7 @@ impl IFileSystemImage_Vtbl { let this = (*this).get_impl(); match IFileSystemImage_Impl::FileSystemsToCreate(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2961,7 +2961,7 @@ impl IFileSystemImage_Vtbl { let this = (*this).get_impl(); match IFileSystemImage_Impl::FileSystemsSupported(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2977,7 +2977,7 @@ impl IFileSystemImage_Vtbl { let this = (*this).get_impl(); match IFileSystemImage_Impl::UDFRevision(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2988,7 +2988,7 @@ impl IFileSystemImage_Vtbl { let this = (*this).get_impl(); match IFileSystemImage_Impl::UDFRevisionsSupported(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3014,7 +3014,7 @@ impl IFileSystemImage_Vtbl { let this = (*this).get_impl(); match IFileSystemImage_Impl::ISO9660InterchangeLevel(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3025,7 +3025,7 @@ impl IFileSystemImage_Vtbl { let this = (*this).get_impl(); match IFileSystemImage_Impl::ISO9660InterchangeLevelsSupported(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3036,7 +3036,7 @@ impl IFileSystemImage_Vtbl { let this = (*this).get_impl(); match IFileSystemImage_Impl::CreateResultImage(this) { Ok(ok__) => { - core::ptr::write(resultstream, core::mem::transmute(ok__)); + resultstream.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3047,7 +3047,7 @@ impl IFileSystemImage_Vtbl { let this = (*this).get_impl(); match IFileSystemImage_Impl::Exists(this, core::mem::transmute(&fullpath)) { Ok(ok__) => { - core::ptr::write(itemtype, core::mem::transmute(ok__)); + itemtype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3058,7 +3058,7 @@ impl IFileSystemImage_Vtbl { let this = (*this).get_impl(); match IFileSystemImage_Impl::CalculateDiscIdentifier(this) { Ok(ok__) => { - core::ptr::write(discidentifier, core::mem::transmute(ok__)); + discidentifier.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3069,7 +3069,7 @@ impl IFileSystemImage_Vtbl { let this = (*this).get_impl(); match IFileSystemImage_Impl::IdentifyFileSystemsOnDisc(this, windows_core::from_raw_borrowed(&discrecorder)) { Ok(ok__) => { - core::ptr::write(filesystems, core::mem::transmute(ok__)); + filesystems.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3080,7 +3080,7 @@ impl IFileSystemImage_Vtbl { let this = (*this).get_impl(); match IFileSystemImage_Impl::GetDefaultFileSystemForImport(this, core::mem::transmute_copy(&filesystems)) { Ok(ok__) => { - core::ptr::write(importdefault, core::mem::transmute(ok__)); + importdefault.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3091,7 +3091,7 @@ impl IFileSystemImage_Vtbl { let this = (*this).get_impl(); match IFileSystemImage_Impl::ImportFileSystem(this) { Ok(ok__) => { - core::ptr::write(importedfilesystem, core::mem::transmute(ok__)); + importedfilesystem.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3117,7 +3117,7 @@ impl IFileSystemImage_Vtbl { let this = (*this).get_impl(); match IFileSystemImage_Impl::CreateDirectoryItem(this, core::mem::transmute(&name)) { Ok(ok__) => { - core::ptr::write(newitem, core::mem::transmute(ok__)); + newitem.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3128,7 +3128,7 @@ impl IFileSystemImage_Vtbl { let this = (*this).get_impl(); match IFileSystemImage_Impl::CreateFileItem(this, core::mem::transmute(&name)) { Ok(ok__) => { - core::ptr::write(newitem, core::mem::transmute(ok__)); + newitem.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3139,7 +3139,7 @@ impl IFileSystemImage_Vtbl { let this = (*this).get_impl(); match IFileSystemImage_Impl::VolumeNameUDF(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3150,7 +3150,7 @@ impl IFileSystemImage_Vtbl { let this = (*this).get_impl(); match IFileSystemImage_Impl::VolumeNameJoliet(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3161,7 +3161,7 @@ impl IFileSystemImage_Vtbl { let this = (*this).get_impl(); match IFileSystemImage_Impl::VolumeNameISO9660(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3172,7 +3172,7 @@ impl IFileSystemImage_Vtbl { let this = (*this).get_impl(); match IFileSystemImage_Impl::StageFiles(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3188,7 +3188,7 @@ impl IFileSystemImage_Vtbl { let this = (*this).get_impl(); match IFileSystemImage_Impl::MultisessionInterfaces(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3272,7 +3272,7 @@ impl IFileSystemImage2_Vtbl { let this = (*this).get_impl(); match IFileSystemImage2_Impl::BootImageOptionsArray(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3309,7 +3309,7 @@ impl IFileSystemImage3_Vtbl { let this = (*this).get_impl(); match IFileSystemImage3_Impl::CreateRedundantUdfMetadataFiles(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3325,7 +3325,7 @@ impl IFileSystemImage3_Vtbl { let this = (*this).get_impl(); match IFileSystemImage3_Impl::ProbeSpecificFileSystem(this, core::mem::transmute_copy(&filesystemtoprobe)) { Ok(ok__) => { - core::ptr::write(isappendable, core::mem::transmute(ok__)); + isappendable.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3360,7 +3360,7 @@ impl IFileSystemImageResult_Vtbl { let this = (*this).get_impl(); match IFileSystemImageResult_Impl::ImageStream(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3371,7 +3371,7 @@ impl IFileSystemImageResult_Vtbl { let this = (*this).get_impl(); match IFileSystemImageResult_Impl::ProgressItems(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3382,7 +3382,7 @@ impl IFileSystemImageResult_Vtbl { let this = (*this).get_impl(); match IFileSystemImageResult_Impl::TotalBlocks(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3393,7 +3393,7 @@ impl IFileSystemImageResult_Vtbl { let this = (*this).get_impl(); match IFileSystemImageResult_Impl::BlockSize(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3404,7 +3404,7 @@ impl IFileSystemImageResult_Vtbl { let this = (*this).get_impl(); match IFileSystemImageResult_Impl::DiscId(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3437,7 +3437,7 @@ impl IFileSystemImageResult2_Vtbl { let this = (*this).get_impl(); match IFileSystemImageResult2_Impl::ModifiedBlocks(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3472,7 +3472,7 @@ impl IFsiDirectoryItem_Vtbl { let this = (*this).get_impl(); match IFsiDirectoryItem_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(newenum, core::mem::transmute(ok__)); + newenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3483,7 +3483,7 @@ impl IFsiDirectoryItem_Vtbl { let this = (*this).get_impl(); match IFsiDirectoryItem_Impl::get_Item(this, core::mem::transmute(&path)) { Ok(ok__) => { - core::ptr::write(item, core::mem::transmute(ok__)); + item.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3494,7 +3494,7 @@ impl IFsiDirectoryItem_Vtbl { let this = (*this).get_impl(); match IFsiDirectoryItem_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(count, core::mem::transmute(ok__)); + count.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3505,7 +3505,7 @@ impl IFsiDirectoryItem_Vtbl { let this = (*this).get_impl(); match IFsiDirectoryItem_Impl::EnumFsiItems(this) { Ok(ok__) => { - core::ptr::write(newenum, core::mem::transmute(ok__)); + newenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3597,7 +3597,7 @@ impl IFsiFileItem_Vtbl { let this = (*this).get_impl(); match IFsiFileItem_Impl::DataSize(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3608,7 +3608,7 @@ impl IFsiFileItem_Vtbl { let this = (*this).get_impl(); match IFsiFileItem_Impl::DataSize32BitLow(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3619,7 +3619,7 @@ impl IFsiFileItem_Vtbl { let this = (*this).get_impl(); match IFsiFileItem_Impl::DataSize32BitHigh(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3630,7 +3630,7 @@ impl IFsiFileItem_Vtbl { let this = (*this).get_impl(); match IFsiFileItem_Impl::Data(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3673,7 +3673,7 @@ impl IFsiFileItem2_Vtbl { let this = (*this).get_impl(); match IFsiFileItem2_Impl::FsiNamedStreams(this) { Ok(ok__) => { - core::ptr::write(streams, core::mem::transmute(ok__)); + streams.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3684,7 +3684,7 @@ impl IFsiFileItem2_Vtbl { let this = (*this).get_impl(); match IFsiFileItem2_Impl::IsNamedStream(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3705,7 +3705,7 @@ impl IFsiFileItem2_Vtbl { let this = (*this).get_impl(); match IFsiFileItem2_Impl::IsRealTime(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3755,7 +3755,7 @@ impl IFsiItem_Vtbl { let this = (*this).get_impl(); match IFsiItem_Impl::Name(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3766,7 +3766,7 @@ impl IFsiItem_Vtbl { let this = (*this).get_impl(); match IFsiItem_Impl::FullPath(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3777,7 +3777,7 @@ impl IFsiItem_Vtbl { let this = (*this).get_impl(); match IFsiItem_Impl::CreationTime(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3793,7 +3793,7 @@ impl IFsiItem_Vtbl { let this = (*this).get_impl(); match IFsiItem_Impl::LastAccessedTime(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3809,7 +3809,7 @@ impl IFsiItem_Vtbl { let this = (*this).get_impl(); match IFsiItem_Impl::LastModifiedTime(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3825,7 +3825,7 @@ impl IFsiItem_Vtbl { let this = (*this).get_impl(); match IFsiItem_Impl::IsHidden(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3841,7 +3841,7 @@ impl IFsiItem_Vtbl { let this = (*this).get_impl(); match IFsiItem_Impl::FileSystemName(this, core::mem::transmute_copy(&filesystem)) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3852,7 +3852,7 @@ impl IFsiItem_Vtbl { let this = (*this).get_impl(); match IFsiItem_Impl::FileSystemPath(this, core::mem::transmute_copy(&filesystem)) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3895,7 +3895,7 @@ impl IFsiNamedStreams_Vtbl { let this = (*this).get_impl(); match IFsiNamedStreams_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(newenum, core::mem::transmute(ok__)); + newenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3906,7 +3906,7 @@ impl IFsiNamedStreams_Vtbl { let this = (*this).get_impl(); match IFsiNamedStreams_Impl::get_Item(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(item, core::mem::transmute(ok__)); + item.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3917,7 +3917,7 @@ impl IFsiNamedStreams_Vtbl { let this = (*this).get_impl(); match IFsiNamedStreams_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(count, core::mem::transmute(ok__)); + count.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3928,7 +3928,7 @@ impl IFsiNamedStreams_Vtbl { let this = (*this).get_impl(); match IFsiNamedStreams_Impl::EnumNamedStreams(this) { Ok(ok__) => { - core::ptr::write(newenum, core::mem::transmute(ok__)); + newenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3964,7 +3964,7 @@ impl IIsoImageManager_Vtbl { let this = (*this).get_impl(); match IIsoImageManager_Impl::Path(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3975,7 +3975,7 @@ impl IIsoImageManager_Vtbl { let this = (*this).get_impl(); match IIsoImageManager_Impl::Stream(this) { Ok(ok__) => { - core::ptr::write(data, core::mem::transmute(ok__)); + data.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4028,7 +4028,7 @@ impl IJolietDiscMaster_Vtbl { let this = (*this).get_impl(); match IJolietDiscMaster_Impl::GetTotalDataBlocks(this) { Ok(ok__) => { - core::ptr::write(pnblocks, core::mem::transmute(ok__)); + pnblocks.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4039,7 +4039,7 @@ impl IJolietDiscMaster_Vtbl { let this = (*this).get_impl(); match IJolietDiscMaster_Impl::GetUsedDataBlocks(this) { Ok(ok__) => { - core::ptr::write(pnblocks, core::mem::transmute(ok__)); + pnblocks.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4050,7 +4050,7 @@ impl IJolietDiscMaster_Vtbl { let this = (*this).get_impl(); match IJolietDiscMaster_Impl::GetDataBlockSize(this) { Ok(ok__) => { - core::ptr::write(pnblockbytes, core::mem::transmute(ok__)); + pnblockbytes.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4066,7 +4066,7 @@ impl IJolietDiscMaster_Vtbl { let this = (*this).get_impl(); match IJolietDiscMaster_Impl::GetJolietProperties(this) { Ok(ok__) => { - core::ptr::write(pppropstg, core::mem::transmute(ok__)); + pppropstg.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4108,7 +4108,7 @@ impl IMultisession_Vtbl { let this = (*this).get_impl(); match IMultisession_Impl::IsSupportedOnCurrentMediaState(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4124,7 +4124,7 @@ impl IMultisession_Vtbl { let this = (*this).get_impl(); match IMultisession_Impl::InUse(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4135,7 +4135,7 @@ impl IMultisession_Vtbl { let this = (*this).get_impl(); match IMultisession_Impl::ImportRecorder(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4169,7 +4169,7 @@ impl IMultisessionRandomWrite_Vtbl { let this = (*this).get_impl(); match IMultisessionRandomWrite_Impl::WriteUnitSize(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4180,7 +4180,7 @@ impl IMultisessionRandomWrite_Vtbl { let this = (*this).get_impl(); match IMultisessionRandomWrite_Impl::LastWrittenAddress(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4191,7 +4191,7 @@ impl IMultisessionRandomWrite_Vtbl { let this = (*this).get_impl(); match IMultisessionRandomWrite_Impl::TotalSectorsOnMedia(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4226,7 +4226,7 @@ impl IMultisessionSequential_Vtbl { let this = (*this).get_impl(); match IMultisessionSequential_Impl::IsFirstDataSession(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4237,7 +4237,7 @@ impl IMultisessionSequential_Vtbl { let this = (*this).get_impl(); match IMultisessionSequential_Impl::StartAddressOfPreviousSession(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4248,7 +4248,7 @@ impl IMultisessionSequential_Vtbl { let this = (*this).get_impl(); match IMultisessionSequential_Impl::LastWrittenAddressOfPreviousSession(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4259,7 +4259,7 @@ impl IMultisessionSequential_Vtbl { let this = (*this).get_impl(); match IMultisessionSequential_Impl::NextWritableAddress(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4270,7 +4270,7 @@ impl IMultisessionSequential_Vtbl { let this = (*this).get_impl(); match IMultisessionSequential_Impl::FreeSectorsOnMedia(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4303,7 +4303,7 @@ impl IMultisessionSequential2_Vtbl { let this = (*this).get_impl(); match IMultisessionSequential2_Impl::WriteUnitSize(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4332,7 +4332,7 @@ impl IProgressItem_Vtbl { let this = (*this).get_impl(); match IProgressItem_Impl::Description(this) { Ok(ok__) => { - core::ptr::write(desc, core::mem::transmute(ok__)); + desc.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4343,7 +4343,7 @@ impl IProgressItem_Vtbl { let this = (*this).get_impl(); match IProgressItem_Impl::FirstBlock(this) { Ok(ok__) => { - core::ptr::write(block, core::mem::transmute(ok__)); + block.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4354,7 +4354,7 @@ impl IProgressItem_Vtbl { let this = (*this).get_impl(); match IProgressItem_Impl::LastBlock(this) { Ok(ok__) => { - core::ptr::write(block, core::mem::transmute(ok__)); + block.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4365,7 +4365,7 @@ impl IProgressItem_Vtbl { let this = (*this).get_impl(); match IProgressItem_Impl::BlockCount(this) { Ok(ok__) => { - core::ptr::write(blocks, core::mem::transmute(ok__)); + blocks.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4402,7 +4402,7 @@ impl IProgressItems_Vtbl { let this = (*this).get_impl(); match IProgressItems_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(newenum, core::mem::transmute(ok__)); + newenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4413,7 +4413,7 @@ impl IProgressItems_Vtbl { let this = (*this).get_impl(); match IProgressItems_Impl::get_Item(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(item, core::mem::transmute(ok__)); + item.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4424,7 +4424,7 @@ impl IProgressItems_Vtbl { let this = (*this).get_impl(); match IProgressItems_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(count, core::mem::transmute(ok__)); + count.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4435,7 +4435,7 @@ impl IProgressItems_Vtbl { let this = (*this).get_impl(); match IProgressItems_Impl::ProgressItemFromBlock(this, core::mem::transmute_copy(&block)) { Ok(ok__) => { - core::ptr::write(item, core::mem::transmute(ok__)); + item.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4446,7 +4446,7 @@ impl IProgressItems_Vtbl { let this = (*this).get_impl(); match IProgressItems_Impl::ProgressItemFromDescription(this, core::mem::transmute(&description)) { Ok(ok__) => { - core::ptr::write(item, core::mem::transmute(ok__)); + item.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4457,7 +4457,7 @@ impl IProgressItems_Vtbl { let this = (*this).get_impl(); match IProgressItems_Impl::EnumProgressItems(this) { Ok(ok__) => { - core::ptr::write(newenum, core::mem::transmute(ok__)); + newenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4509,7 +4509,7 @@ impl IRawCDImageCreator_Vtbl { let this = (*this).get_impl(); match IRawCDImageCreator_Impl::CreateResultImage(this) { Ok(ok__) => { - core::ptr::write(resultstream, core::mem::transmute(ok__)); + resultstream.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4520,7 +4520,7 @@ impl IRawCDImageCreator_Vtbl { let this = (*this).get_impl(); match IRawCDImageCreator_Impl::AddTrack(this, core::mem::transmute_copy(&datatype), windows_core::from_raw_borrowed(&data)) { Ok(ok__) => { - core::ptr::write(trackindex, core::mem::transmute(ok__)); + trackindex.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4546,7 +4546,7 @@ impl IRawCDImageCreator_Vtbl { let this = (*this).get_impl(); match IRawCDImageCreator_Impl::ResultingImageType(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4557,7 +4557,7 @@ impl IRawCDImageCreator_Vtbl { let this = (*this).get_impl(); match IRawCDImageCreator_Impl::StartOfLeadout(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4573,7 +4573,7 @@ impl IRawCDImageCreator_Vtbl { let this = (*this).get_impl(); match IRawCDImageCreator_Impl::StartOfLeadoutLimit(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4589,7 +4589,7 @@ impl IRawCDImageCreator_Vtbl { let this = (*this).get_impl(); match IRawCDImageCreator_Impl::DisableGaplessAudio(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4605,7 +4605,7 @@ impl IRawCDImageCreator_Vtbl { let this = (*this).get_impl(); match IRawCDImageCreator_Impl::MediaCatalogNumber(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4621,7 +4621,7 @@ impl IRawCDImageCreator_Vtbl { let this = (*this).get_impl(); match IRawCDImageCreator_Impl::StartingTrackNumber(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4632,7 +4632,7 @@ impl IRawCDImageCreator_Vtbl { let this = (*this).get_impl(); match IRawCDImageCreator_Impl::get_TrackInfo(this, core::mem::transmute_copy(&trackindex)) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4643,7 +4643,7 @@ impl IRawCDImageCreator_Vtbl { let this = (*this).get_impl(); match IRawCDImageCreator_Impl::NumberOfExistingTracks(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4654,7 +4654,7 @@ impl IRawCDImageCreator_Vtbl { let this = (*this).get_impl(); match IRawCDImageCreator_Impl::LastUsedUserSectorInImage(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4665,7 +4665,7 @@ impl IRawCDImageCreator_Vtbl { let this = (*this).get_impl(); match IRawCDImageCreator_Impl::ExpectedTableOfContents(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4724,7 +4724,7 @@ impl IRawCDImageTrackInfo_Vtbl { let this = (*this).get_impl(); match IRawCDImageTrackInfo_Impl::StartingLba(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4735,7 +4735,7 @@ impl IRawCDImageTrackInfo_Vtbl { let this = (*this).get_impl(); match IRawCDImageTrackInfo_Impl::SectorCount(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4746,7 +4746,7 @@ impl IRawCDImageTrackInfo_Vtbl { let this = (*this).get_impl(); match IRawCDImageTrackInfo_Impl::TrackNumber(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4757,7 +4757,7 @@ impl IRawCDImageTrackInfo_Vtbl { let this = (*this).get_impl(); match IRawCDImageTrackInfo_Impl::SectorType(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4768,7 +4768,7 @@ impl IRawCDImageTrackInfo_Vtbl { let this = (*this).get_impl(); match IRawCDImageTrackInfo_Impl::ISRC(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4784,7 +4784,7 @@ impl IRawCDImageTrackInfo_Vtbl { let this = (*this).get_impl(); match IRawCDImageTrackInfo_Impl::DigitalAudioCopySetting(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4800,7 +4800,7 @@ impl IRawCDImageTrackInfo_Vtbl { let this = (*this).get_impl(); match IRawCDImageTrackInfo_Impl::AudioHasPreemphasis(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4816,7 +4816,7 @@ impl IRawCDImageTrackInfo_Vtbl { let this = (*this).get_impl(); match IRawCDImageTrackInfo_Impl::TrackIndexes(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4871,7 +4871,7 @@ impl IRedbookDiscMaster_Vtbl { let this = (*this).get_impl(); match IRedbookDiscMaster_Impl::GetTotalAudioTracks(this) { Ok(ok__) => { - core::ptr::write(pntracks, core::mem::transmute(ok__)); + pntracks.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4882,7 +4882,7 @@ impl IRedbookDiscMaster_Vtbl { let this = (*this).get_impl(); match IRedbookDiscMaster_Impl::GetTotalAudioBlocks(this) { Ok(ok__) => { - core::ptr::write(pnblocks, core::mem::transmute(ok__)); + pnblocks.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4893,7 +4893,7 @@ impl IRedbookDiscMaster_Vtbl { let this = (*this).get_impl(); match IRedbookDiscMaster_Impl::GetUsedAudioBlocks(this) { Ok(ok__) => { - core::ptr::write(pnblocks, core::mem::transmute(ok__)); + pnblocks.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4904,7 +4904,7 @@ impl IRedbookDiscMaster_Vtbl { let this = (*this).get_impl(); match IRedbookDiscMaster_Impl::GetAvailableAudioTrackBlocks(this) { Ok(ok__) => { - core::ptr::write(pnblocks, core::mem::transmute(ok__)); + pnblocks.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4915,7 +4915,7 @@ impl IRedbookDiscMaster_Vtbl { let this = (*this).get_impl(); match IRedbookDiscMaster_Impl::GetAudioBlockSize(this) { Ok(ok__) => { - core::ptr::write(pnblockbytes, core::mem::transmute(ok__)); + pnblockbytes.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5038,7 +5038,7 @@ impl IStreamPseudoRandomBased_Vtbl { let this = (*this).get_impl(); match IStreamPseudoRandomBased_Impl::Seed(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5107,7 +5107,7 @@ impl IWriteEngine2_Vtbl { let this = (*this).get_impl(); match IWriteEngine2_Impl::Recorder(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5123,7 +5123,7 @@ impl IWriteEngine2_Vtbl { let this = (*this).get_impl(); match IWriteEngine2_Impl::UseStreamingWrite12(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5139,7 +5139,7 @@ impl IWriteEngine2_Vtbl { let this = (*this).get_impl(); match IWriteEngine2_Impl::StartingSectorsPerSecond(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5155,7 +5155,7 @@ impl IWriteEngine2_Vtbl { let this = (*this).get_impl(); match IWriteEngine2_Impl::EndingSectorsPerSecond(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5171,7 +5171,7 @@ impl IWriteEngine2_Vtbl { let this = (*this).get_impl(); match IWriteEngine2_Impl::BytesPerSector(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5182,7 +5182,7 @@ impl IWriteEngine2_Vtbl { let this = (*this).get_impl(); match IWriteEngine2_Impl::WriteInProgress(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5229,7 +5229,7 @@ impl IWriteEngine2EventArgs_Vtbl { let this = (*this).get_impl(); match IWriteEngine2EventArgs_Impl::StartLba(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5240,7 +5240,7 @@ impl IWriteEngine2EventArgs_Vtbl { let this = (*this).get_impl(); match IWriteEngine2EventArgs_Impl::SectorCount(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5251,7 +5251,7 @@ impl IWriteEngine2EventArgs_Vtbl { let this = (*this).get_impl(); match IWriteEngine2EventArgs_Impl::LastReadLba(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5262,7 +5262,7 @@ impl IWriteEngine2EventArgs_Vtbl { let this = (*this).get_impl(); match IWriteEngine2EventArgs_Impl::LastWrittenLba(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5273,7 +5273,7 @@ impl IWriteEngine2EventArgs_Vtbl { let this = (*this).get_impl(); match IWriteEngine2EventArgs_Impl::TotalSystemBuffer(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5284,7 +5284,7 @@ impl IWriteEngine2EventArgs_Vtbl { let this = (*this).get_impl(); match IWriteEngine2EventArgs_Impl::UsedSystemBuffer(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5295,7 +5295,7 @@ impl IWriteEngine2EventArgs_Vtbl { let this = (*this).get_impl(); match IWriteEngine2EventArgs_Impl::FreeSystemBuffer(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5332,7 +5332,7 @@ impl IWriteSpeedDescriptor_Vtbl { let this = (*this).get_impl(); match IWriteSpeedDescriptor_Impl::MediaType(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5343,7 +5343,7 @@ impl IWriteSpeedDescriptor_Vtbl { let this = (*this).get_impl(); match IWriteSpeedDescriptor_Impl::RotationTypeIsPureCAV(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5354,7 +5354,7 @@ impl IWriteSpeedDescriptor_Vtbl { let this = (*this).get_impl(); match IWriteSpeedDescriptor_Impl::WriteSpeed(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/Win32/Storage/OfflineFiles/impl.rs b/crates/libs/windows/src/Windows/Win32/Storage/OfflineFiles/impl.rs index d52c6e8002..6763582f0e 100644 --- a/crates/libs/windows/src/Windows/Win32/Storage/OfflineFiles/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Storage/OfflineFiles/impl.rs @@ -27,7 +27,7 @@ impl IEnumOfflineFilesItems_Vtbl { let this = (*this).get_impl(); match IEnumOfflineFilesItems_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -74,7 +74,7 @@ impl IEnumOfflineFilesSettings_Vtbl { let this = (*this).get_impl(); match IEnumOfflineFilesSettings_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -154,7 +154,7 @@ impl IOfflineFilesCache_Vtbl { let this = (*this).get_impl(); match IOfflineFilesCache_Impl::FindItem(this, core::mem::transmute(&pszpath), core::mem::transmute_copy(&dwqueryflags)) { Ok(ok__) => { - core::ptr::write(ppitem, core::mem::transmute(ok__)); + ppitem.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -165,7 +165,7 @@ impl IOfflineFilesCache_Vtbl { let this = (*this).get_impl(); match IOfflineFilesCache_Impl::FindItemEx(this, core::mem::transmute(&pszpath), windows_core::from_raw_borrowed(&pincludefilefilter), windows_core::from_raw_borrowed(&pincludedirfilter), windows_core::from_raw_borrowed(&pexcludefilefilter), windows_core::from_raw_borrowed(&pexcludedirfilter), core::mem::transmute_copy(&dwqueryflags)) { Ok(ok__) => { - core::ptr::write(ppitem, core::mem::transmute(ok__)); + ppitem.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -181,7 +181,7 @@ impl IOfflineFilesCache_Vtbl { let this = (*this).get_impl(); match IOfflineFilesCache_Impl::GetLocation(this) { Ok(ok__) => { - core::ptr::write(ppszpath, core::mem::transmute(ok__)); + ppszpath.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -207,7 +207,7 @@ impl IOfflineFilesCache_Vtbl { let this = (*this).get_impl(); match IOfflineFilesCache_Impl::GetSettingObject(this, core::mem::transmute(&pszsettingname)) { Ok(ok__) => { - core::ptr::write(ppsetting, core::mem::transmute(ok__)); + ppsetting.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -218,7 +218,7 @@ impl IOfflineFilesCache_Vtbl { let this = (*this).get_impl(); match IOfflineFilesCache_Impl::EnumSettingObjects(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -292,7 +292,7 @@ impl IOfflineFilesChangeInfo_Vtbl { let this = (*this).get_impl(); match IOfflineFilesChangeInfo_Impl::IsDeletedOffline(this) { Ok(ok__) => { - core::ptr::write(pbdeletedoffline, core::mem::transmute(ok__)); + pbdeletedoffline.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -303,7 +303,7 @@ impl IOfflineFilesChangeInfo_Vtbl { let this = (*this).get_impl(); match IOfflineFilesChangeInfo_Impl::IsCreatedOffline(this) { Ok(ok__) => { - core::ptr::write(pbcreatedoffline, core::mem::transmute(ok__)); + pbcreatedoffline.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -314,7 +314,7 @@ impl IOfflineFilesChangeInfo_Vtbl { let this = (*this).get_impl(); match IOfflineFilesChangeInfo_Impl::IsLocallyModifiedData(this) { Ok(ok__) => { - core::ptr::write(pblocallymodifieddata, core::mem::transmute(ok__)); + pblocallymodifieddata.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -325,7 +325,7 @@ impl IOfflineFilesChangeInfo_Vtbl { let this = (*this).get_impl(); match IOfflineFilesChangeInfo_Impl::IsLocallyModifiedAttributes(this) { Ok(ok__) => { - core::ptr::write(pblocallymodifiedattributes, core::mem::transmute(ok__)); + pblocallymodifiedattributes.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -336,7 +336,7 @@ impl IOfflineFilesChangeInfo_Vtbl { let this = (*this).get_impl(); match IOfflineFilesChangeInfo_Impl::IsLocallyModifiedTime(this) { Ok(ok__) => { - core::ptr::write(pblocallymodifiedtime, core::mem::transmute(ok__)); + pblocallymodifiedtime.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -385,7 +385,7 @@ impl IOfflineFilesConnectionInfo_Vtbl { let this = (*this).get_impl(); match IOfflineFilesConnectionInfo_Impl::TransitionOffline(this, core::mem::transmute_copy(&hwndparent), core::mem::transmute_copy(&dwflags), core::mem::transmute_copy(&bforceopenfilesclosed)) { Ok(ok__) => { - core::ptr::write(pbopenfilespreventedtransition, core::mem::transmute(ok__)); + pbopenfilespreventedtransition.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -425,7 +425,7 @@ impl IOfflineFilesDirtyInfo_Vtbl { let this = (*this).get_impl(); match IOfflineFilesDirtyInfo_Impl::LocalDirtyByteCount(this) { Ok(ok__) => { - core::ptr::write(pdirtybytecount, core::mem::transmute(ok__)); + pdirtybytecount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -436,7 +436,7 @@ impl IOfflineFilesDirtyInfo_Vtbl { let this = (*this).get_impl(); match IOfflineFilesDirtyInfo_Impl::RemoteDirtyByteCount(this) { Ok(ok__) => { - core::ptr::write(pdirtybytecount, core::mem::transmute(ok__)); + pdirtybytecount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -467,7 +467,7 @@ impl IOfflineFilesErrorInfo_Vtbl { let this = (*this).get_impl(); match IOfflineFilesErrorInfo_Impl::GetRawData(this) { Ok(ok__) => { - core::ptr::write(ppblob, core::mem::transmute(ok__)); + ppblob.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -478,7 +478,7 @@ impl IOfflineFilesErrorInfo_Vtbl { let this = (*this).get_impl(); match IOfflineFilesErrorInfo_Impl::GetDescription(this) { Ok(ok__) => { - core::ptr::write(ppszdescription, core::mem::transmute(ok__)); + ppszdescription.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -865,7 +865,7 @@ impl IOfflineFilesFileItem_Vtbl { let this = (*this).get_impl(); match IOfflineFilesFileItem_Impl::IsSparse(this) { Ok(ok__) => { - core::ptr::write(pbissparse, core::mem::transmute(ok__)); + pbissparse.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -876,7 +876,7 @@ impl IOfflineFilesFileItem_Vtbl { let this = (*this).get_impl(); match IOfflineFilesFileItem_Impl::IsEncrypted(this) { Ok(ok__) => { - core::ptr::write(pbisencrypted, core::mem::transmute(ok__)); + pbisencrypted.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -905,7 +905,7 @@ impl IOfflineFilesFileSysInfo_Vtbl { let this = (*this).get_impl(); match IOfflineFilesFileSysInfo_Impl::GetAttributes(this, core::mem::transmute_copy(©)) { Ok(ok__) => { - core::ptr::write(pdwattributes, core::mem::transmute(ok__)); + pdwattributes.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -921,7 +921,7 @@ impl IOfflineFilesFileSysInfo_Vtbl { let this = (*this).get_impl(); match IOfflineFilesFileSysInfo_Impl::GetFileSize(this, core::mem::transmute_copy(©)) { Ok(ok__) => { - core::ptr::write(psize, core::mem::transmute(ok__)); + psize.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -949,7 +949,7 @@ impl IOfflineFilesGhostInfo_Vtbl { let this = (*this).get_impl(); match IOfflineFilesGhostInfo_Impl::IsGhosted(this) { Ok(ok__) => { - core::ptr::write(pbghosted, core::mem::transmute(ok__)); + pbghosted.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -976,7 +976,7 @@ impl IOfflineFilesItem_Vtbl { let this = (*this).get_impl(); match IOfflineFilesItem_Impl::GetItemType(this) { Ok(ok__) => { - core::ptr::write(pitemtype, core::mem::transmute(ok__)); + pitemtype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -987,7 +987,7 @@ impl IOfflineFilesItem_Vtbl { let this = (*this).get_impl(); match IOfflineFilesItem_Impl::GetPath(this) { Ok(ok__) => { - core::ptr::write(ppszpath, core::mem::transmute(ok__)); + ppszpath.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -998,7 +998,7 @@ impl IOfflineFilesItem_Vtbl { let this = (*this).get_impl(); match IOfflineFilesItem_Impl::GetParentItem(this) { Ok(ok__) => { - core::ptr::write(ppitem, core::mem::transmute(ok__)); + ppitem.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1014,7 +1014,7 @@ impl IOfflineFilesItem_Vtbl { let this = (*this).get_impl(); match IOfflineFilesItem_Impl::IsMarkedForDeletion(this) { Ok(ok__) => { - core::ptr::write(pbmarkedfordeletion, core::mem::transmute(ok__)); + pbmarkedfordeletion.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1045,7 +1045,7 @@ impl IOfflineFilesItemContainer_Vtbl { let this = (*this).get_impl(); match IOfflineFilesItemContainer_Impl::EnumItems(this, core::mem::transmute_copy(&dwqueryflags)) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1056,7 +1056,7 @@ impl IOfflineFilesItemContainer_Vtbl { let this = (*this).get_impl(); match IOfflineFilesItemContainer_Impl::EnumItemsEx(this, windows_core::from_raw_borrowed(&pincludefilefilter), windows_core::from_raw_borrowed(&pincludedirfilter), windows_core::from_raw_borrowed(&pexcludefilefilter), windows_core::from_raw_borrowed(&pexcludedirfilter), core::mem::transmute_copy(&dwenumflags), core::mem::transmute_copy(&dwqueryflags)) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1121,7 +1121,7 @@ impl IOfflineFilesPinInfo_Vtbl { let this = (*this).get_impl(); match IOfflineFilesPinInfo_Impl::IsPinned(this) { Ok(ok__) => { - core::ptr::write(pbpinned, core::mem::transmute(ok__)); + pbpinned.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1171,7 +1171,7 @@ impl IOfflineFilesPinInfo2_Vtbl { let this = (*this).get_impl(); match IOfflineFilesPinInfo2_Impl::IsPartlyPinned(this) { Ok(ok__) => { - core::ptr::write(pbpartlypinned, core::mem::transmute(ok__)); + pbpartlypinned.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1196,7 +1196,7 @@ impl IOfflineFilesProgress_Vtbl { let this = (*this).get_impl(); match IOfflineFilesProgress_Impl::Begin(this) { Ok(ok__) => { - core::ptr::write(pbabort, core::mem::transmute(ok__)); + pbabort.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1207,7 +1207,7 @@ impl IOfflineFilesProgress_Vtbl { let this = (*this).get_impl(); match IOfflineFilesProgress_Impl::QueryAbort(this) { Ok(ok__) => { - core::ptr::write(pbabort, core::mem::transmute(ok__)); + pbabort.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1258,7 +1258,7 @@ impl IOfflineFilesSetting_Vtbl { let this = (*this).get_impl(); match IOfflineFilesSetting_Impl::GetName(this) { Ok(ok__) => { - core::ptr::write(ppszname, core::mem::transmute(ok__)); + ppszname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1269,7 +1269,7 @@ impl IOfflineFilesSetting_Vtbl { let this = (*this).get_impl(); match IOfflineFilesSetting_Impl::GetValueType(this) { Ok(ok__) => { - core::ptr::write(ptype, core::mem::transmute(ok__)); + ptype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1285,7 +1285,7 @@ impl IOfflineFilesSetting_Vtbl { let this = (*this).get_impl(); match IOfflineFilesSetting_Impl::GetPreferenceScope(this) { Ok(ok__) => { - core::ptr::write(pdwscope, core::mem::transmute(ok__)); + pdwscope.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1311,7 +1311,7 @@ impl IOfflineFilesSetting_Vtbl { let this = (*this).get_impl(); match IOfflineFilesSetting_Impl::GetPolicyScope(this) { Ok(ok__) => { - core::ptr::write(pdwscope, core::mem::transmute(ok__)); + pdwscope.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1352,7 +1352,7 @@ impl IOfflineFilesShareInfo_Vtbl { let this = (*this).get_impl(); match IOfflineFilesShareInfo_Impl::GetShareItem(this) { Ok(ok__) => { - core::ptr::write(ppshareitem, core::mem::transmute(ok__)); + ppshareitem.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1363,7 +1363,7 @@ impl IOfflineFilesShareInfo_Vtbl { let this = (*this).get_impl(); match IOfflineFilesShareInfo_Impl::GetShareCachingMode(this) { Ok(ok__) => { - core::ptr::write(pcachingmode, core::mem::transmute(ok__)); + pcachingmode.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1374,7 +1374,7 @@ impl IOfflineFilesShareInfo_Vtbl { let this = (*this).get_impl(); match IOfflineFilesShareInfo_Impl::IsShareDfsJunction(this) { Ok(ok__) => { - core::ptr::write(pbisdfsjunction, core::mem::transmute(ok__)); + pbisdfsjunction.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1413,7 +1413,7 @@ impl IOfflineFilesSimpleProgress_Vtbl { let this = (*this).get_impl(); match IOfflineFilesSimpleProgress_Impl::ItemBegin(this, core::mem::transmute(&pszfile)) { Ok(ok__) => { - core::ptr::write(presponse, core::mem::transmute(ok__)); + presponse.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1424,7 +1424,7 @@ impl IOfflineFilesSimpleProgress_Vtbl { let this = (*this).get_impl(); match IOfflineFilesSimpleProgress_Impl::ItemResult(this, core::mem::transmute(&pszfile), core::mem::transmute_copy(&hrresult)) { Ok(ok__) => { - core::ptr::write(presponse, core::mem::transmute(ok__)); + presponse.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1511,7 +1511,7 @@ impl IOfflineFilesSyncErrorInfo_Vtbl { let this = (*this).get_impl(); match IOfflineFilesSyncErrorInfo_Impl::GetSyncOperation(this) { Ok(ok__) => { - core::ptr::write(psyncop, core::mem::transmute(ok__)); + psyncop.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1522,7 +1522,7 @@ impl IOfflineFilesSyncErrorInfo_Vtbl { let this = (*this).get_impl(); match IOfflineFilesSyncErrorInfo_Impl::GetItemChangeFlags(this) { Ok(ok__) => { - core::ptr::write(pdwitemchangeflags, core::mem::transmute(ok__)); + pdwitemchangeflags.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1543,7 +1543,7 @@ impl IOfflineFilesSyncErrorInfo_Vtbl { let this = (*this).get_impl(); match IOfflineFilesSyncErrorInfo_Impl::GetLocalInfo(this) { Ok(ok__) => { - core::ptr::write(ppinfo, core::mem::transmute(ok__)); + ppinfo.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1554,7 +1554,7 @@ impl IOfflineFilesSyncErrorInfo_Vtbl { let this = (*this).get_impl(); match IOfflineFilesSyncErrorInfo_Impl::GetRemoteInfo(this) { Ok(ok__) => { - core::ptr::write(ppinfo, core::mem::transmute(ok__)); + ppinfo.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1565,7 +1565,7 @@ impl IOfflineFilesSyncErrorInfo_Vtbl { let this = (*this).get_impl(); match IOfflineFilesSyncErrorInfo_Impl::GetOriginalInfo(this) { Ok(ok__) => { - core::ptr::write(ppinfo, core::mem::transmute(ok__)); + ppinfo.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1599,7 +1599,7 @@ impl IOfflineFilesSyncErrorItemInfo_Vtbl { let this = (*this).get_impl(); match IOfflineFilesSyncErrorItemInfo_Impl::GetFileAttributes(this) { Ok(ok__) => { - core::ptr::write(pdwattributes, core::mem::transmute(ok__)); + pdwattributes.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1615,7 +1615,7 @@ impl IOfflineFilesSyncErrorItemInfo_Vtbl { let this = (*this).get_impl(); match IOfflineFilesSyncErrorItemInfo_Impl::GetFileSize(this) { Ok(ok__) => { - core::ptr::write(psize, core::mem::transmute(ok__)); + psize.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1644,7 +1644,7 @@ impl IOfflineFilesSyncProgress_Vtbl { let this = (*this).get_impl(); match IOfflineFilesSyncProgress_Impl::SyncItemBegin(this, core::mem::transmute(&pszfile)) { Ok(ok__) => { - core::ptr::write(presponse, core::mem::transmute(ok__)); + presponse.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1655,7 +1655,7 @@ impl IOfflineFilesSyncProgress_Vtbl { let this = (*this).get_impl(); match IOfflineFilesSyncProgress_Impl::SyncItemResult(this, core::mem::transmute(&pszfile), core::mem::transmute_copy(&hrresult), windows_core::from_raw_borrowed(&perrorinfo)) { Ok(ok__) => { - core::ptr::write(presponse, core::mem::transmute(ok__)); + presponse.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1682,7 +1682,7 @@ impl IOfflineFilesTransparentCacheInfo_Vtbl { let this = (*this).get_impl(); match IOfflineFilesTransparentCacheInfo_Impl::IsTransparentlyCached(this) { Ok(ok__) => { - core::ptr::write(pbtransparentlycached, core::mem::transmute(ok__)); + pbtransparentlycached.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/Win32/Storage/Packaging/Appx/impl.rs b/crates/libs/windows/src/Windows/Win32/Storage/Packaging/Appx/impl.rs index 57a7c27d61..d7ad88e515 100644 --- a/crates/libs/windows/src/Windows/Win32/Storage/Packaging/Appx/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Storage/Packaging/Appx/impl.rs @@ -12,7 +12,7 @@ impl IAppxAppInstallerReader_Vtbl { let this = (*this).get_impl(); match IAppxAppInstallerReader_Impl::GetXmlDom(this) { Ok(ok__) => { - core::ptr::write(dom, core::mem::transmute(ok__)); + dom.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -36,7 +36,7 @@ impl IAppxBlockMapBlock_Vtbl { let this = (*this).get_impl(); match IAppxBlockMapBlock_Impl::GetHash(this, core::mem::transmute_copy(&buffersize)) { Ok(ok__) => { - core::ptr::write(buffer, core::mem::transmute(ok__)); + buffer.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -47,7 +47,7 @@ impl IAppxBlockMapBlock_Vtbl { let this = (*this).get_impl(); match IAppxBlockMapBlock_Impl::GetCompressedSize(this) { Ok(ok__) => { - core::ptr::write(size, core::mem::transmute(ok__)); + size.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -76,7 +76,7 @@ impl IAppxBlockMapBlocksEnumerator_Vtbl { let this = (*this).get_impl(); match IAppxBlockMapBlocksEnumerator_Impl::GetCurrent(this) { Ok(ok__) => { - core::ptr::write(block, core::mem::transmute(ok__)); + block.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -87,7 +87,7 @@ impl IAppxBlockMapBlocksEnumerator_Vtbl { let this = (*this).get_impl(); match IAppxBlockMapBlocksEnumerator_Impl::GetHasCurrent(this) { Ok(ok__) => { - core::ptr::write(hascurrent, core::mem::transmute(ok__)); + hascurrent.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -98,7 +98,7 @@ impl IAppxBlockMapBlocksEnumerator_Vtbl { let this = (*this).get_impl(); match IAppxBlockMapBlocksEnumerator_Impl::MoveNext(this) { Ok(ok__) => { - core::ptr::write(hasnext, core::mem::transmute(ok__)); + hasnext.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -133,7 +133,7 @@ impl IAppxBlockMapFile_Vtbl { let this = (*this).get_impl(); match IAppxBlockMapFile_Impl::GetBlocks(this) { Ok(ok__) => { - core::ptr::write(blocks, core::mem::transmute(ok__)); + blocks.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -144,7 +144,7 @@ impl IAppxBlockMapFile_Vtbl { let this = (*this).get_impl(); match IAppxBlockMapFile_Impl::GetLocalFileHeaderSize(this) { Ok(ok__) => { - core::ptr::write(lfhsize, core::mem::transmute(ok__)); + lfhsize.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -155,7 +155,7 @@ impl IAppxBlockMapFile_Vtbl { let this = (*this).get_impl(); match IAppxBlockMapFile_Impl::GetName(this) { Ok(ok__) => { - core::ptr::write(name, core::mem::transmute(ok__)); + name.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -166,7 +166,7 @@ impl IAppxBlockMapFile_Vtbl { let this = (*this).get_impl(); match IAppxBlockMapFile_Impl::GetUncompressedSize(this) { Ok(ok__) => { - core::ptr::write(size, core::mem::transmute(ok__)); + size.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -177,7 +177,7 @@ impl IAppxBlockMapFile_Vtbl { let this = (*this).get_impl(); match IAppxBlockMapFile_Impl::ValidateFileHash(this, windows_core::from_raw_borrowed(&filestream)) { Ok(ok__) => { - core::ptr::write(isvalid, core::mem::transmute(ok__)); + isvalid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -209,7 +209,7 @@ impl IAppxBlockMapFilesEnumerator_Vtbl { let this = (*this).get_impl(); match IAppxBlockMapFilesEnumerator_Impl::GetCurrent(this) { Ok(ok__) => { - core::ptr::write(file, core::mem::transmute(ok__)); + file.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -220,7 +220,7 @@ impl IAppxBlockMapFilesEnumerator_Vtbl { let this = (*this).get_impl(); match IAppxBlockMapFilesEnumerator_Impl::GetHasCurrent(this) { Ok(ok__) => { - core::ptr::write(hascurrent, core::mem::transmute(ok__)); + hascurrent.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -231,7 +231,7 @@ impl IAppxBlockMapFilesEnumerator_Vtbl { let this = (*this).get_impl(); match IAppxBlockMapFilesEnumerator_Impl::MoveNext(this) { Ok(ok__) => { - core::ptr::write(hascurrent, core::mem::transmute(ok__)); + hascurrent.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -265,7 +265,7 @@ impl IAppxBlockMapReader_Vtbl { let this = (*this).get_impl(); match IAppxBlockMapReader_Impl::GetFile(this, core::mem::transmute(&filename)) { Ok(ok__) => { - core::ptr::write(file, core::mem::transmute(ok__)); + file.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -276,7 +276,7 @@ impl IAppxBlockMapReader_Vtbl { let this = (*this).get_impl(); match IAppxBlockMapReader_Impl::GetFiles(this) { Ok(ok__) => { - core::ptr::write(enumerator, core::mem::transmute(ok__)); + enumerator.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -287,7 +287,7 @@ impl IAppxBlockMapReader_Vtbl { let this = (*this).get_impl(); match IAppxBlockMapReader_Impl::GetHashMethod(this) { Ok(ok__) => { - core::ptr::write(hashmethod, core::mem::transmute(ok__)); + hashmethod.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -298,7 +298,7 @@ impl IAppxBlockMapReader_Vtbl { let this = (*this).get_impl(); match IAppxBlockMapReader_Impl::GetStream(this) { Ok(ok__) => { - core::ptr::write(blockmapstream, core::mem::transmute(ok__)); + blockmapstream.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -332,7 +332,7 @@ impl IAppxBundleFactory_Vtbl { let this = (*this).get_impl(); match IAppxBundleFactory_Impl::CreateBundleWriter(this, windows_core::from_raw_borrowed(&outputstream), core::mem::transmute_copy(&bundleversion)) { Ok(ok__) => { - core::ptr::write(bundlewriter, core::mem::transmute(ok__)); + bundlewriter.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -343,7 +343,7 @@ impl IAppxBundleFactory_Vtbl { let this = (*this).get_impl(); match IAppxBundleFactory_Impl::CreateBundleReader(this, windows_core::from_raw_borrowed(&inputstream)) { Ok(ok__) => { - core::ptr::write(bundlereader, core::mem::transmute(ok__)); + bundlereader.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -354,7 +354,7 @@ impl IAppxBundleFactory_Vtbl { let this = (*this).get_impl(); match IAppxBundleFactory_Impl::CreateBundleManifestReader(this, windows_core::from_raw_borrowed(&inputstream)) { Ok(ok__) => { - core::ptr::write(manifestreader, core::mem::transmute(ok__)); + manifestreader.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -385,7 +385,7 @@ impl IAppxBundleFactory2_Vtbl { let this = (*this).get_impl(); match IAppxBundleFactory2_Impl::CreateBundleReader2(this, windows_core::from_raw_borrowed(&inputstream), core::mem::transmute(&expecteddigest)) { Ok(ok__) => { - core::ptr::write(bundlereader, core::mem::transmute(ok__)); + bundlereader.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -410,7 +410,7 @@ impl IAppxBundleManifestOptionalBundleInfo_Vtbl { let this = (*this).get_impl(); match IAppxBundleManifestOptionalBundleInfo_Impl::GetPackageId(this) { Ok(ok__) => { - core::ptr::write(packageid, core::mem::transmute(ok__)); + packageid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -421,7 +421,7 @@ impl IAppxBundleManifestOptionalBundleInfo_Vtbl { let this = (*this).get_impl(); match IAppxBundleManifestOptionalBundleInfo_Impl::GetFileName(this) { Ok(ok__) => { - core::ptr::write(filename, core::mem::transmute(ok__)); + filename.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -432,7 +432,7 @@ impl IAppxBundleManifestOptionalBundleInfo_Vtbl { let this = (*this).get_impl(); match IAppxBundleManifestOptionalBundleInfo_Impl::GetPackageInfoItems(this) { Ok(ok__) => { - core::ptr::write(packageinfoitems, core::mem::transmute(ok__)); + packageinfoitems.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -462,7 +462,7 @@ impl IAppxBundleManifestOptionalBundleInfoEnumerator_Vtbl { let this = (*this).get_impl(); match IAppxBundleManifestOptionalBundleInfoEnumerator_Impl::GetCurrent(this) { Ok(ok__) => { - core::ptr::write(optionalbundle, core::mem::transmute(ok__)); + optionalbundle.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -473,7 +473,7 @@ impl IAppxBundleManifestOptionalBundleInfoEnumerator_Vtbl { let this = (*this).get_impl(); match IAppxBundleManifestOptionalBundleInfoEnumerator_Impl::GetHasCurrent(this) { Ok(ok__) => { - core::ptr::write(hascurrent, core::mem::transmute(ok__)); + hascurrent.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -484,7 +484,7 @@ impl IAppxBundleManifestOptionalBundleInfoEnumerator_Vtbl { let this = (*this).get_impl(); match IAppxBundleManifestOptionalBundleInfoEnumerator_Impl::MoveNext(this) { Ok(ok__) => { - core::ptr::write(hasnext, core::mem::transmute(ok__)); + hasnext.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -517,7 +517,7 @@ impl IAppxBundleManifestPackageInfo_Vtbl { let this = (*this).get_impl(); match IAppxBundleManifestPackageInfo_Impl::GetPackageType(this) { Ok(ok__) => { - core::ptr::write(packagetype, core::mem::transmute(ok__)); + packagetype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -528,7 +528,7 @@ impl IAppxBundleManifestPackageInfo_Vtbl { let this = (*this).get_impl(); match IAppxBundleManifestPackageInfo_Impl::GetPackageId(this) { Ok(ok__) => { - core::ptr::write(packageid, core::mem::transmute(ok__)); + packageid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -539,7 +539,7 @@ impl IAppxBundleManifestPackageInfo_Vtbl { let this = (*this).get_impl(); match IAppxBundleManifestPackageInfo_Impl::GetFileName(this) { Ok(ok__) => { - core::ptr::write(filename, core::mem::transmute(ok__)); + filename.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -550,7 +550,7 @@ impl IAppxBundleManifestPackageInfo_Vtbl { let this = (*this).get_impl(); match IAppxBundleManifestPackageInfo_Impl::GetOffset(this) { Ok(ok__) => { - core::ptr::write(offset, core::mem::transmute(ok__)); + offset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -561,7 +561,7 @@ impl IAppxBundleManifestPackageInfo_Vtbl { let this = (*this).get_impl(); match IAppxBundleManifestPackageInfo_Impl::GetSize(this) { Ok(ok__) => { - core::ptr::write(size, core::mem::transmute(ok__)); + size.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -572,7 +572,7 @@ impl IAppxBundleManifestPackageInfo_Vtbl { let this = (*this).get_impl(); match IAppxBundleManifestPackageInfo_Impl::GetResources(this) { Ok(ok__) => { - core::ptr::write(resources, core::mem::transmute(ok__)); + resources.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -605,7 +605,7 @@ impl IAppxBundleManifestPackageInfo2_Vtbl { let this = (*this).get_impl(); match IAppxBundleManifestPackageInfo2_Impl::GetIsPackageReference(this) { Ok(ok__) => { - core::ptr::write(ispackagereference, core::mem::transmute(ok__)); + ispackagereference.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -616,7 +616,7 @@ impl IAppxBundleManifestPackageInfo2_Vtbl { let this = (*this).get_impl(); match IAppxBundleManifestPackageInfo2_Impl::GetIsNonQualifiedResourcePackage(this) { Ok(ok__) => { - core::ptr::write(isnonqualifiedresourcepackage, core::mem::transmute(ok__)); + isnonqualifiedresourcepackage.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -627,7 +627,7 @@ impl IAppxBundleManifestPackageInfo2_Vtbl { let this = (*this).get_impl(); match IAppxBundleManifestPackageInfo2_Impl::GetIsDefaultApplicablePackage(this) { Ok(ok__) => { - core::ptr::write(isdefaultapplicablepackage, core::mem::transmute(ok__)); + isdefaultapplicablepackage.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -655,7 +655,7 @@ impl IAppxBundleManifestPackageInfo3_Vtbl { let this = (*this).get_impl(); match IAppxBundleManifestPackageInfo3_Impl::GetTargetDeviceFamilies(this) { Ok(ok__) => { - core::ptr::write(targetdevicefamilies, core::mem::transmute(ok__)); + targetdevicefamilies.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -678,7 +678,7 @@ impl IAppxBundleManifestPackageInfo4_Vtbl { let this = (*this).get_impl(); match IAppxBundleManifestPackageInfo4_Impl::GetIsStub(this) { Ok(ok__) => { - core::ptr::write(isstub, core::mem::transmute(ok__)); + isstub.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -703,7 +703,7 @@ impl IAppxBundleManifestPackageInfoEnumerator_Vtbl { let this = (*this).get_impl(); match IAppxBundleManifestPackageInfoEnumerator_Impl::GetCurrent(this) { Ok(ok__) => { - core::ptr::write(packageinfo, core::mem::transmute(ok__)); + packageinfo.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -714,7 +714,7 @@ impl IAppxBundleManifestPackageInfoEnumerator_Vtbl { let this = (*this).get_impl(); match IAppxBundleManifestPackageInfoEnumerator_Impl::GetHasCurrent(this) { Ok(ok__) => { - core::ptr::write(hascurrent, core::mem::transmute(ok__)); + hascurrent.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -725,7 +725,7 @@ impl IAppxBundleManifestPackageInfoEnumerator_Vtbl { let this = (*this).get_impl(); match IAppxBundleManifestPackageInfoEnumerator_Impl::MoveNext(this) { Ok(ok__) => { - core::ptr::write(hasnext, core::mem::transmute(ok__)); + hasnext.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -758,7 +758,7 @@ impl IAppxBundleManifestReader_Vtbl { let this = (*this).get_impl(); match IAppxBundleManifestReader_Impl::GetPackageId(this) { Ok(ok__) => { - core::ptr::write(packageid, core::mem::transmute(ok__)); + packageid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -769,7 +769,7 @@ impl IAppxBundleManifestReader_Vtbl { let this = (*this).get_impl(); match IAppxBundleManifestReader_Impl::GetPackageInfoItems(this) { Ok(ok__) => { - core::ptr::write(packageinfoitems, core::mem::transmute(ok__)); + packageinfoitems.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -780,7 +780,7 @@ impl IAppxBundleManifestReader_Vtbl { let this = (*this).get_impl(); match IAppxBundleManifestReader_Impl::GetStream(this) { Ok(ok__) => { - core::ptr::write(manifeststream, core::mem::transmute(ok__)); + manifeststream.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -808,7 +808,7 @@ impl IAppxBundleManifestReader2_Vtbl { let this = (*this).get_impl(); match IAppxBundleManifestReader2_Impl::GetOptionalBundles(this) { Ok(ok__) => { - core::ptr::write(optionalbundles, core::mem::transmute(ok__)); + optionalbundles.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -835,7 +835,7 @@ impl IAppxBundleReader_Vtbl { let this = (*this).get_impl(); match IAppxBundleReader_Impl::GetFootprintFile(this, core::mem::transmute_copy(&filetype)) { Ok(ok__) => { - core::ptr::write(footprintfile, core::mem::transmute(ok__)); + footprintfile.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -846,7 +846,7 @@ impl IAppxBundleReader_Vtbl { let this = (*this).get_impl(); match IAppxBundleReader_Impl::GetBlockMap(this) { Ok(ok__) => { - core::ptr::write(blockmapreader, core::mem::transmute(ok__)); + blockmapreader.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -857,7 +857,7 @@ impl IAppxBundleReader_Vtbl { let this = (*this).get_impl(); match IAppxBundleReader_Impl::GetManifest(this) { Ok(ok__) => { - core::ptr::write(manifestreader, core::mem::transmute(ok__)); + manifestreader.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -868,7 +868,7 @@ impl IAppxBundleReader_Vtbl { let this = (*this).get_impl(); match IAppxBundleReader_Impl::GetPayloadPackages(this) { Ok(ok__) => { - core::ptr::write(payloadpackages, core::mem::transmute(ok__)); + payloadpackages.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -879,7 +879,7 @@ impl IAppxBundleReader_Vtbl { let this = (*this).get_impl(); match IAppxBundleReader_Impl::GetPayloadPackage(this, core::mem::transmute(&filename)) { Ok(ok__) => { - core::ptr::write(payloadpackage, core::mem::transmute(ok__)); + payloadpackage.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1030,7 +1030,7 @@ impl IAppxContentGroup_Vtbl { let this = (*this).get_impl(); match IAppxContentGroup_Impl::GetName(this) { Ok(ok__) => { - core::ptr::write(groupname, core::mem::transmute(ok__)); + groupname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1041,7 +1041,7 @@ impl IAppxContentGroup_Vtbl { let this = (*this).get_impl(); match IAppxContentGroup_Impl::GetFiles(this) { Ok(ok__) => { - core::ptr::write(enumerator, core::mem::transmute(ok__)); + enumerator.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1070,7 +1070,7 @@ impl IAppxContentGroupFilesEnumerator_Vtbl { let this = (*this).get_impl(); match IAppxContentGroupFilesEnumerator_Impl::GetCurrent(this) { Ok(ok__) => { - core::ptr::write(file, core::mem::transmute(ok__)); + file.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1081,7 +1081,7 @@ impl IAppxContentGroupFilesEnumerator_Vtbl { let this = (*this).get_impl(); match IAppxContentGroupFilesEnumerator_Impl::GetHasCurrent(this) { Ok(ok__) => { - core::ptr::write(hascurrent, core::mem::transmute(ok__)); + hascurrent.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1092,7 +1092,7 @@ impl IAppxContentGroupFilesEnumerator_Vtbl { let this = (*this).get_impl(); match IAppxContentGroupFilesEnumerator_Impl::MoveNext(this) { Ok(ok__) => { - core::ptr::write(hasnext, core::mem::transmute(ok__)); + hasnext.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1121,7 +1121,7 @@ impl IAppxContentGroupMapReader_Vtbl { let this = (*this).get_impl(); match IAppxContentGroupMapReader_Impl::GetRequiredGroup(this) { Ok(ok__) => { - core::ptr::write(requiredgroup, core::mem::transmute(ok__)); + requiredgroup.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1132,7 +1132,7 @@ impl IAppxContentGroupMapReader_Vtbl { let this = (*this).get_impl(); match IAppxContentGroupMapReader_Impl::GetAutomaticGroups(this) { Ok(ok__) => { - core::ptr::write(automaticgroupsenumerator, core::mem::transmute(ok__)); + automaticgroupsenumerator.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1195,7 +1195,7 @@ impl IAppxContentGroupsEnumerator_Vtbl { let this = (*this).get_impl(); match IAppxContentGroupsEnumerator_Impl::GetCurrent(this) { Ok(ok__) => { - core::ptr::write(stream, core::mem::transmute(ok__)); + stream.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1206,7 +1206,7 @@ impl IAppxContentGroupsEnumerator_Vtbl { let this = (*this).get_impl(); match IAppxContentGroupsEnumerator_Impl::GetHasCurrent(this) { Ok(ok__) => { - core::ptr::write(hascurrent, core::mem::transmute(ok__)); + hascurrent.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1217,7 +1217,7 @@ impl IAppxContentGroupsEnumerator_Vtbl { let this = (*this).get_impl(); match IAppxContentGroupsEnumerator_Impl::MoveNext(this) { Ok(ok__) => { - core::ptr::write(hasnext, core::mem::transmute(ok__)); + hasnext.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1245,7 +1245,7 @@ impl IAppxDigestProvider_Vtbl { let this = (*this).get_impl(); match IAppxDigestProvider_Impl::GetDigest(this) { Ok(ok__) => { - core::ptr::write(digest, core::mem::transmute(ok__)); + digest.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1421,7 +1421,7 @@ impl IAppxEncryptionFactory_Vtbl { let this = (*this).get_impl(); match IAppxEncryptionFactory_Impl::CreateEncryptedPackageWriter(this, windows_core::from_raw_borrowed(&outputstream), windows_core::from_raw_borrowed(&manifeststream), core::mem::transmute_copy(&settings), core::mem::transmute_copy(&keyinfo), core::mem::transmute_copy(&exemptedfiles)) { Ok(ok__) => { - core::ptr::write(packagewriter, core::mem::transmute(ok__)); + packagewriter.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1432,7 +1432,7 @@ impl IAppxEncryptionFactory_Vtbl { let this = (*this).get_impl(); match IAppxEncryptionFactory_Impl::CreateEncryptedPackageReader(this, windows_core::from_raw_borrowed(&inputstream), core::mem::transmute_copy(&keyinfo)) { Ok(ok__) => { - core::ptr::write(packagereader, core::mem::transmute(ok__)); + packagereader.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1453,7 +1453,7 @@ impl IAppxEncryptionFactory_Vtbl { let this = (*this).get_impl(); match IAppxEncryptionFactory_Impl::CreateEncryptedBundleWriter(this, windows_core::from_raw_borrowed(&outputstream), core::mem::transmute_copy(&bundleversion), core::mem::transmute_copy(&settings), core::mem::transmute_copy(&keyinfo), core::mem::transmute_copy(&exemptedfiles)) { Ok(ok__) => { - core::ptr::write(bundlewriter, core::mem::transmute(ok__)); + bundlewriter.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1464,7 +1464,7 @@ impl IAppxEncryptionFactory_Vtbl { let this = (*this).get_impl(); match IAppxEncryptionFactory_Impl::CreateEncryptedBundleReader(this, windows_core::from_raw_borrowed(&inputstream), core::mem::transmute_copy(&keyinfo)) { Ok(ok__) => { - core::ptr::write(bundlereader, core::mem::transmute(ok__)); + bundlereader.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1500,7 +1500,7 @@ impl IAppxEncryptionFactory2_Vtbl { let this = (*this).get_impl(); match IAppxEncryptionFactory2_Impl::CreateEncryptedPackageWriter(this, windows_core::from_raw_borrowed(&outputstream), windows_core::from_raw_borrowed(&manifeststream), windows_core::from_raw_borrowed(&contentgroupmapstream), core::mem::transmute_copy(&settings), core::mem::transmute_copy(&keyinfo), core::mem::transmute_copy(&exemptedfiles)) { Ok(ok__) => { - core::ptr::write(packagewriter, core::mem::transmute(ok__)); + packagewriter.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1537,7 +1537,7 @@ impl IAppxEncryptionFactory3_Vtbl { let this = (*this).get_impl(); match IAppxEncryptionFactory3_Impl::CreateEncryptedPackageWriter(this, windows_core::from_raw_borrowed(&outputstream), windows_core::from_raw_borrowed(&manifeststream), windows_core::from_raw_borrowed(&contentgroupmapstream), core::mem::transmute_copy(&settings), core::mem::transmute_copy(&keyinfo), core::mem::transmute_copy(&exemptedfiles)) { Ok(ok__) => { - core::ptr::write(packagewriter, core::mem::transmute(ok__)); + packagewriter.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1553,7 +1553,7 @@ impl IAppxEncryptionFactory3_Vtbl { let this = (*this).get_impl(); match IAppxEncryptionFactory3_Impl::CreateEncryptedBundleWriter(this, windows_core::from_raw_borrowed(&outputstream), core::mem::transmute_copy(&bundleversion), core::mem::transmute_copy(&settings), core::mem::transmute_copy(&keyinfo), core::mem::transmute_copy(&exemptedfiles)) { Ok(ok__) => { - core::ptr::write(bundlewriter, core::mem::transmute(ok__)); + bundlewriter.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1606,7 +1606,7 @@ impl IAppxEncryptionFactory5_Vtbl { let this = (*this).get_impl(); match IAppxEncryptionFactory5_Impl::CreateEncryptedPackageReader2(this, windows_core::from_raw_borrowed(&inputstream), core::mem::transmute_copy(&keyinfo), core::mem::transmute(&expecteddigest)) { Ok(ok__) => { - core::ptr::write(packagereader, core::mem::transmute(ok__)); + packagereader.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1617,7 +1617,7 @@ impl IAppxEncryptionFactory5_Vtbl { let this = (*this).get_impl(); match IAppxEncryptionFactory5_Impl::CreateEncryptedBundleReader2(this, windows_core::from_raw_borrowed(&inputstream), core::mem::transmute_copy(&keyinfo), core::mem::transmute(&expecteddigest)) { Ok(ok__) => { - core::ptr::write(bundlereader, core::mem::transmute(ok__)); + bundlereader.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1651,7 +1651,7 @@ impl IAppxFactory_Vtbl { let this = (*this).get_impl(); match IAppxFactory_Impl::CreatePackageWriter(this, windows_core::from_raw_borrowed(&outputstream), core::mem::transmute_copy(&settings)) { Ok(ok__) => { - core::ptr::write(packagewriter, core::mem::transmute(ok__)); + packagewriter.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1662,7 +1662,7 @@ impl IAppxFactory_Vtbl { let this = (*this).get_impl(); match IAppxFactory_Impl::CreatePackageReader(this, windows_core::from_raw_borrowed(&inputstream)) { Ok(ok__) => { - core::ptr::write(packagereader, core::mem::transmute(ok__)); + packagereader.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1673,7 +1673,7 @@ impl IAppxFactory_Vtbl { let this = (*this).get_impl(); match IAppxFactory_Impl::CreateManifestReader(this, windows_core::from_raw_borrowed(&inputstream)) { Ok(ok__) => { - core::ptr::write(manifestreader, core::mem::transmute(ok__)); + manifestreader.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1684,7 +1684,7 @@ impl IAppxFactory_Vtbl { let this = (*this).get_impl(); match IAppxFactory_Impl::CreateBlockMapReader(this, windows_core::from_raw_borrowed(&inputstream)) { Ok(ok__) => { - core::ptr::write(blockmapreader, core::mem::transmute(ok__)); + blockmapreader.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1695,7 +1695,7 @@ impl IAppxFactory_Vtbl { let this = (*this).get_impl(); match IAppxFactory_Impl::CreateValidatedBlockMapReader(this, windows_core::from_raw_borrowed(&blockmapstream), core::mem::transmute(&signaturefilename)) { Ok(ok__) => { - core::ptr::write(blockmapreader, core::mem::transmute(ok__)); + blockmapreader.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1730,7 +1730,7 @@ impl IAppxFactory2_Vtbl { let this = (*this).get_impl(); match IAppxFactory2_Impl::CreateContentGroupMapReader(this, windows_core::from_raw_borrowed(&inputstream)) { Ok(ok__) => { - core::ptr::write(contentgroupmapreader, core::mem::transmute(ok__)); + contentgroupmapreader.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1741,7 +1741,7 @@ impl IAppxFactory2_Vtbl { let this = (*this).get_impl(); match IAppxFactory2_Impl::CreateSourceContentGroupMapReader(this, windows_core::from_raw_borrowed(&inputstream)) { Ok(ok__) => { - core::ptr::write(reader, core::mem::transmute(ok__)); + reader.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1752,7 +1752,7 @@ impl IAppxFactory2_Vtbl { let this = (*this).get_impl(); match IAppxFactory2_Impl::CreateContentGroupMapWriter(this, windows_core::from_raw_borrowed(&stream)) { Ok(ok__) => { - core::ptr::write(contentgroupmapwriter, core::mem::transmute(ok__)); + contentgroupmapwriter.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1785,7 +1785,7 @@ impl IAppxFactory3_Vtbl { let this = (*this).get_impl(); match IAppxFactory3_Impl::CreatePackageReader2(this, windows_core::from_raw_borrowed(&inputstream), core::mem::transmute(&expecteddigest)) { Ok(ok__) => { - core::ptr::write(packagereader, core::mem::transmute(ok__)); + packagereader.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1796,7 +1796,7 @@ impl IAppxFactory3_Vtbl { let this = (*this).get_impl(); match IAppxFactory3_Impl::CreateManifestReader2(this, windows_core::from_raw_borrowed(&inputstream), core::mem::transmute(&expecteddigest)) { Ok(ok__) => { - core::ptr::write(manifestreader, core::mem::transmute(ok__)); + manifestreader.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1807,7 +1807,7 @@ impl IAppxFactory3_Vtbl { let this = (*this).get_impl(); match IAppxFactory3_Impl::CreateAppInstallerReader(this, windows_core::from_raw_borrowed(&inputstream), core::mem::transmute(&expecteddigest)) { Ok(ok__) => { - core::ptr::write(appinstallerreader, core::mem::transmute(ok__)); + appinstallerreader.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1842,7 +1842,7 @@ impl IAppxFile_Vtbl { let this = (*this).get_impl(); match IAppxFile_Impl::GetCompressionOption(this) { Ok(ok__) => { - core::ptr::write(compressionoption, core::mem::transmute(ok__)); + compressionoption.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1853,7 +1853,7 @@ impl IAppxFile_Vtbl { let this = (*this).get_impl(); match IAppxFile_Impl::GetContentType(this) { Ok(ok__) => { - core::ptr::write(contenttype, core::mem::transmute(ok__)); + contenttype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1864,7 +1864,7 @@ impl IAppxFile_Vtbl { let this = (*this).get_impl(); match IAppxFile_Impl::GetName(this) { Ok(ok__) => { - core::ptr::write(filename, core::mem::transmute(ok__)); + filename.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1875,7 +1875,7 @@ impl IAppxFile_Vtbl { let this = (*this).get_impl(); match IAppxFile_Impl::GetSize(this) { Ok(ok__) => { - core::ptr::write(size, core::mem::transmute(ok__)); + size.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1886,7 +1886,7 @@ impl IAppxFile_Vtbl { let this = (*this).get_impl(); match IAppxFile_Impl::GetStream(this) { Ok(ok__) => { - core::ptr::write(stream, core::mem::transmute(ok__)); + stream.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1918,7 +1918,7 @@ impl IAppxFilesEnumerator_Vtbl { let this = (*this).get_impl(); match IAppxFilesEnumerator_Impl::GetCurrent(this) { Ok(ok__) => { - core::ptr::write(file, core::mem::transmute(ok__)); + file.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1929,7 +1929,7 @@ impl IAppxFilesEnumerator_Vtbl { let this = (*this).get_impl(); match IAppxFilesEnumerator_Impl::GetHasCurrent(this) { Ok(ok__) => { - core::ptr::write(hascurrent, core::mem::transmute(ok__)); + hascurrent.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1940,7 +1940,7 @@ impl IAppxFilesEnumerator_Vtbl { let this = (*this).get_impl(); match IAppxFilesEnumerator_Impl::MoveNext(this) { Ok(ok__) => { - core::ptr::write(hasnext, core::mem::transmute(ok__)); + hasnext.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1969,7 +1969,7 @@ impl IAppxManifestApplication_Vtbl { let this = (*this).get_impl(); match IAppxManifestApplication_Impl::GetStringValue(this, core::mem::transmute(&name)) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1980,7 +1980,7 @@ impl IAppxManifestApplication_Vtbl { let this = (*this).get_impl(); match IAppxManifestApplication_Impl::GetAppUserModelId(this) { Ok(ok__) => { - core::ptr::write(appusermodelid, core::mem::transmute(ok__)); + appusermodelid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2009,7 +2009,7 @@ impl IAppxManifestApplicationsEnumerator_Vtbl { let this = (*this).get_impl(); match IAppxManifestApplicationsEnumerator_Impl::GetCurrent(this) { Ok(ok__) => { - core::ptr::write(application, core::mem::transmute(ok__)); + application.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2020,7 +2020,7 @@ impl IAppxManifestApplicationsEnumerator_Vtbl { let this = (*this).get_impl(); match IAppxManifestApplicationsEnumerator_Impl::GetHasCurrent(this) { Ok(ok__) => { - core::ptr::write(hascurrent, core::mem::transmute(ok__)); + hascurrent.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2031,7 +2031,7 @@ impl IAppxManifestApplicationsEnumerator_Vtbl { let this = (*this).get_impl(); match IAppxManifestApplicationsEnumerator_Impl::MoveNext(this) { Ok(ok__) => { - core::ptr::write(hasnext, core::mem::transmute(ok__)); + hasnext.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2061,7 +2061,7 @@ impl IAppxManifestCapabilitiesEnumerator_Vtbl { let this = (*this).get_impl(); match IAppxManifestCapabilitiesEnumerator_Impl::GetCurrent(this) { Ok(ok__) => { - core::ptr::write(capability, core::mem::transmute(ok__)); + capability.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2072,7 +2072,7 @@ impl IAppxManifestCapabilitiesEnumerator_Vtbl { let this = (*this).get_impl(); match IAppxManifestCapabilitiesEnumerator_Impl::GetHasCurrent(this) { Ok(ok__) => { - core::ptr::write(hascurrent, core::mem::transmute(ok__)); + hascurrent.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2083,7 +2083,7 @@ impl IAppxManifestCapabilitiesEnumerator_Vtbl { let this = (*this).get_impl(); match IAppxManifestCapabilitiesEnumerator_Impl::MoveNext(this) { Ok(ok__) => { - core::ptr::write(hasnext, core::mem::transmute(ok__)); + hasnext.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2113,7 +2113,7 @@ impl IAppxManifestDeviceCapabilitiesEnumerator_Vtbl { let this = (*this).get_impl(); match IAppxManifestDeviceCapabilitiesEnumerator_Impl::GetCurrent(this) { Ok(ok__) => { - core::ptr::write(devicecapability, core::mem::transmute(ok__)); + devicecapability.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2124,7 +2124,7 @@ impl IAppxManifestDeviceCapabilitiesEnumerator_Vtbl { let this = (*this).get_impl(); match IAppxManifestDeviceCapabilitiesEnumerator_Impl::GetHasCurrent(this) { Ok(ok__) => { - core::ptr::write(hascurrent, core::mem::transmute(ok__)); + hascurrent.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2135,7 +2135,7 @@ impl IAppxManifestDeviceCapabilitiesEnumerator_Vtbl { let this = (*this).get_impl(); match IAppxManifestDeviceCapabilitiesEnumerator_Impl::MoveNext(this) { Ok(ok__) => { - core::ptr::write(hasnext, core::mem::transmute(ok__)); + hasnext.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2165,7 +2165,7 @@ impl IAppxManifestDriverConstraint_Vtbl { let this = (*this).get_impl(); match IAppxManifestDriverConstraint_Impl::GetName(this) { Ok(ok__) => { - core::ptr::write(name, core::mem::transmute(ok__)); + name.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2176,7 +2176,7 @@ impl IAppxManifestDriverConstraint_Vtbl { let this = (*this).get_impl(); match IAppxManifestDriverConstraint_Impl::GetMinVersion(this) { Ok(ok__) => { - core::ptr::write(minversion, core::mem::transmute(ok__)); + minversion.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2187,7 +2187,7 @@ impl IAppxManifestDriverConstraint_Vtbl { let this = (*this).get_impl(); match IAppxManifestDriverConstraint_Impl::GetMinDate(this) { Ok(ok__) => { - core::ptr::write(mindate, core::mem::transmute(ok__)); + mindate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2217,7 +2217,7 @@ impl IAppxManifestDriverConstraintsEnumerator_Vtbl { let this = (*this).get_impl(); match IAppxManifestDriverConstraintsEnumerator_Impl::GetCurrent(this) { Ok(ok__) => { - core::ptr::write(driverconstraint, core::mem::transmute(ok__)); + driverconstraint.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2228,7 +2228,7 @@ impl IAppxManifestDriverConstraintsEnumerator_Vtbl { let this = (*this).get_impl(); match IAppxManifestDriverConstraintsEnumerator_Impl::GetHasCurrent(this) { Ok(ok__) => { - core::ptr::write(hascurrent, core::mem::transmute(ok__)); + hascurrent.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2239,7 +2239,7 @@ impl IAppxManifestDriverConstraintsEnumerator_Vtbl { let this = (*this).get_impl(); match IAppxManifestDriverConstraintsEnumerator_Impl::MoveNext(this) { Ok(ok__) => { - core::ptr::write(hasnext, core::mem::transmute(ok__)); + hasnext.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2269,7 +2269,7 @@ impl IAppxManifestDriverDependenciesEnumerator_Vtbl { let this = (*this).get_impl(); match IAppxManifestDriverDependenciesEnumerator_Impl::GetCurrent(this) { Ok(ok__) => { - core::ptr::write(driverdependency, core::mem::transmute(ok__)); + driverdependency.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2280,7 +2280,7 @@ impl IAppxManifestDriverDependenciesEnumerator_Vtbl { let this = (*this).get_impl(); match IAppxManifestDriverDependenciesEnumerator_Impl::GetHasCurrent(this) { Ok(ok__) => { - core::ptr::write(hascurrent, core::mem::transmute(ok__)); + hascurrent.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2291,7 +2291,7 @@ impl IAppxManifestDriverDependenciesEnumerator_Vtbl { let this = (*this).get_impl(); match IAppxManifestDriverDependenciesEnumerator_Impl::MoveNext(this) { Ok(ok__) => { - core::ptr::write(hasnext, core::mem::transmute(ok__)); + hasnext.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2319,7 +2319,7 @@ impl IAppxManifestDriverDependency_Vtbl { let this = (*this).get_impl(); match IAppxManifestDriverDependency_Impl::GetDriverConstraints(this) { Ok(ok__) => { - core::ptr::write(driverconstraints, core::mem::transmute(ok__)); + driverconstraints.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2344,7 +2344,7 @@ impl IAppxManifestHostRuntimeDependenciesEnumerator_Vtbl { let this = (*this).get_impl(); match IAppxManifestHostRuntimeDependenciesEnumerator_Impl::GetCurrent(this) { Ok(ok__) => { - core::ptr::write(hostruntimedependency, core::mem::transmute(ok__)); + hostruntimedependency.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2355,7 +2355,7 @@ impl IAppxManifestHostRuntimeDependenciesEnumerator_Vtbl { let this = (*this).get_impl(); match IAppxManifestHostRuntimeDependenciesEnumerator_Impl::GetHasCurrent(this) { Ok(ok__) => { - core::ptr::write(hascurrent, core::mem::transmute(ok__)); + hascurrent.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2366,7 +2366,7 @@ impl IAppxManifestHostRuntimeDependenciesEnumerator_Vtbl { let this = (*this).get_impl(); match IAppxManifestHostRuntimeDependenciesEnumerator_Impl::MoveNext(this) { Ok(ok__) => { - core::ptr::write(hasnext, core::mem::transmute(ok__)); + hasnext.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2396,7 +2396,7 @@ impl IAppxManifestHostRuntimeDependency_Vtbl { let this = (*this).get_impl(); match IAppxManifestHostRuntimeDependency_Impl::GetName(this) { Ok(ok__) => { - core::ptr::write(name, core::mem::transmute(ok__)); + name.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2407,7 +2407,7 @@ impl IAppxManifestHostRuntimeDependency_Vtbl { let this = (*this).get_impl(); match IAppxManifestHostRuntimeDependency_Impl::GetPublisher(this) { Ok(ok__) => { - core::ptr::write(publisher, core::mem::transmute(ok__)); + publisher.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2418,7 +2418,7 @@ impl IAppxManifestHostRuntimeDependency_Vtbl { let this = (*this).get_impl(); match IAppxManifestHostRuntimeDependency_Impl::GetMinVersion(this) { Ok(ok__) => { - core::ptr::write(minversion, core::mem::transmute(ok__)); + minversion.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2446,7 +2446,7 @@ impl IAppxManifestHostRuntimeDependency2_Vtbl { let this = (*this).get_impl(); match IAppxManifestHostRuntimeDependency2_Impl::GetPackageFamilyName(this) { Ok(ok__) => { - core::ptr::write(packagefamilyname, core::mem::transmute(ok__)); + packagefamilyname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2471,7 +2471,7 @@ impl IAppxManifestMainPackageDependenciesEnumerator_Vtbl { let this = (*this).get_impl(); match IAppxManifestMainPackageDependenciesEnumerator_Impl::GetCurrent(this) { Ok(ok__) => { - core::ptr::write(mainpackagedependency, core::mem::transmute(ok__)); + mainpackagedependency.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2482,7 +2482,7 @@ impl IAppxManifestMainPackageDependenciesEnumerator_Vtbl { let this = (*this).get_impl(); match IAppxManifestMainPackageDependenciesEnumerator_Impl::GetHasCurrent(this) { Ok(ok__) => { - core::ptr::write(hascurrent, core::mem::transmute(ok__)); + hascurrent.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2493,7 +2493,7 @@ impl IAppxManifestMainPackageDependenciesEnumerator_Vtbl { let this = (*this).get_impl(); match IAppxManifestMainPackageDependenciesEnumerator_Impl::MoveNext(this) { Ok(ok__) => { - core::ptr::write(hasnext, core::mem::transmute(ok__)); + hasnext.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2523,7 +2523,7 @@ impl IAppxManifestMainPackageDependency_Vtbl { let this = (*this).get_impl(); match IAppxManifestMainPackageDependency_Impl::GetName(this) { Ok(ok__) => { - core::ptr::write(name, core::mem::transmute(ok__)); + name.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2534,7 +2534,7 @@ impl IAppxManifestMainPackageDependency_Vtbl { let this = (*this).get_impl(); match IAppxManifestMainPackageDependency_Impl::GetPublisher(this) { Ok(ok__) => { - core::ptr::write(publisher, core::mem::transmute(ok__)); + publisher.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2545,7 +2545,7 @@ impl IAppxManifestMainPackageDependency_Vtbl { let this = (*this).get_impl(); match IAppxManifestMainPackageDependency_Impl::GetPackageFamilyName(this) { Ok(ok__) => { - core::ptr::write(packagefamilyname, core::mem::transmute(ok__)); + packagefamilyname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2575,7 +2575,7 @@ impl IAppxManifestOSPackageDependenciesEnumerator_Vtbl { let this = (*this).get_impl(); match IAppxManifestOSPackageDependenciesEnumerator_Impl::GetCurrent(this) { Ok(ok__) => { - core::ptr::write(ospackagedependency, core::mem::transmute(ok__)); + ospackagedependency.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2586,7 +2586,7 @@ impl IAppxManifestOSPackageDependenciesEnumerator_Vtbl { let this = (*this).get_impl(); match IAppxManifestOSPackageDependenciesEnumerator_Impl::GetHasCurrent(this) { Ok(ok__) => { - core::ptr::write(hascurrent, core::mem::transmute(ok__)); + hascurrent.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2597,7 +2597,7 @@ impl IAppxManifestOSPackageDependenciesEnumerator_Vtbl { let this = (*this).get_impl(); match IAppxManifestOSPackageDependenciesEnumerator_Impl::MoveNext(this) { Ok(ok__) => { - core::ptr::write(hasnext, core::mem::transmute(ok__)); + hasnext.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2626,7 +2626,7 @@ impl IAppxManifestOSPackageDependency_Vtbl { let this = (*this).get_impl(); match IAppxManifestOSPackageDependency_Impl::GetName(this) { Ok(ok__) => { - core::ptr::write(name, core::mem::transmute(ok__)); + name.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2637,7 +2637,7 @@ impl IAppxManifestOSPackageDependency_Vtbl { let this = (*this).get_impl(); match IAppxManifestOSPackageDependency_Impl::GetVersion(this) { Ok(ok__) => { - core::ptr::write(version, core::mem::transmute(ok__)); + version.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2665,7 +2665,7 @@ impl IAppxManifestOptionalPackageInfo_Vtbl { let this = (*this).get_impl(); match IAppxManifestOptionalPackageInfo_Impl::GetIsOptionalPackage(this) { Ok(ok__) => { - core::ptr::write(isoptionalpackage, core::mem::transmute(ok__)); + isoptionalpackage.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2676,7 +2676,7 @@ impl IAppxManifestOptionalPackageInfo_Vtbl { let this = (*this).get_impl(); match IAppxManifestOptionalPackageInfo_Impl::GetMainPackageName(this) { Ok(ok__) => { - core::ptr::write(mainpackagename, core::mem::transmute(ok__)); + mainpackagename.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2705,7 +2705,7 @@ impl IAppxManifestPackageDependenciesEnumerator_Vtbl { let this = (*this).get_impl(); match IAppxManifestPackageDependenciesEnumerator_Impl::GetCurrent(this) { Ok(ok__) => { - core::ptr::write(dependency, core::mem::transmute(ok__)); + dependency.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2716,7 +2716,7 @@ impl IAppxManifestPackageDependenciesEnumerator_Vtbl { let this = (*this).get_impl(); match IAppxManifestPackageDependenciesEnumerator_Impl::GetHasCurrent(this) { Ok(ok__) => { - core::ptr::write(hascurrent, core::mem::transmute(ok__)); + hascurrent.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2727,7 +2727,7 @@ impl IAppxManifestPackageDependenciesEnumerator_Vtbl { let this = (*this).get_impl(); match IAppxManifestPackageDependenciesEnumerator_Impl::MoveNext(this) { Ok(ok__) => { - core::ptr::write(hasnext, core::mem::transmute(ok__)); + hasnext.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2757,7 +2757,7 @@ impl IAppxManifestPackageDependency_Vtbl { let this = (*this).get_impl(); match IAppxManifestPackageDependency_Impl::GetName(this) { Ok(ok__) => { - core::ptr::write(name, core::mem::transmute(ok__)); + name.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2768,7 +2768,7 @@ impl IAppxManifestPackageDependency_Vtbl { let this = (*this).get_impl(); match IAppxManifestPackageDependency_Impl::GetPublisher(this) { Ok(ok__) => { - core::ptr::write(publisher, core::mem::transmute(ok__)); + publisher.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2779,7 +2779,7 @@ impl IAppxManifestPackageDependency_Vtbl { let this = (*this).get_impl(); match IAppxManifestPackageDependency_Impl::GetMinVersion(this) { Ok(ok__) => { - core::ptr::write(minversion, core::mem::transmute(ok__)); + minversion.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2807,7 +2807,7 @@ impl IAppxManifestPackageDependency2_Vtbl { let this = (*this).get_impl(); match IAppxManifestPackageDependency2_Impl::GetMaxMajorVersionTested(this) { Ok(ok__) => { - core::ptr::write(maxmajorversiontested, core::mem::transmute(ok__)); + maxmajorversiontested.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2833,7 +2833,7 @@ impl IAppxManifestPackageDependency3_Vtbl { let this = (*this).get_impl(); match IAppxManifestPackageDependency3_Impl::GetIsOptional(this) { Ok(ok__) => { - core::ptr::write(isoptional, core::mem::transmute(ok__)); + isoptional.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2863,7 +2863,7 @@ impl IAppxManifestPackageId_Vtbl { let this = (*this).get_impl(); match IAppxManifestPackageId_Impl::GetName(this) { Ok(ok__) => { - core::ptr::write(name, core::mem::transmute(ok__)); + name.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2874,7 +2874,7 @@ impl IAppxManifestPackageId_Vtbl { let this = (*this).get_impl(); match IAppxManifestPackageId_Impl::GetArchitecture(this) { Ok(ok__) => { - core::ptr::write(architecture, core::mem::transmute(ok__)); + architecture.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2885,7 +2885,7 @@ impl IAppxManifestPackageId_Vtbl { let this = (*this).get_impl(); match IAppxManifestPackageId_Impl::GetPublisher(this) { Ok(ok__) => { - core::ptr::write(publisher, core::mem::transmute(ok__)); + publisher.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2896,7 +2896,7 @@ impl IAppxManifestPackageId_Vtbl { let this = (*this).get_impl(); match IAppxManifestPackageId_Impl::GetVersion(this) { Ok(ok__) => { - core::ptr::write(packageversion, core::mem::transmute(ok__)); + packageversion.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2907,7 +2907,7 @@ impl IAppxManifestPackageId_Vtbl { let this = (*this).get_impl(); match IAppxManifestPackageId_Impl::GetResourceId(this) { Ok(ok__) => { - core::ptr::write(resourceid, core::mem::transmute(ok__)); + resourceid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2918,7 +2918,7 @@ impl IAppxManifestPackageId_Vtbl { let this = (*this).get_impl(); match IAppxManifestPackageId_Impl::ComparePublisher(this, core::mem::transmute(&other)) { Ok(ok__) => { - core::ptr::write(issame, core::mem::transmute(ok__)); + issame.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2929,7 +2929,7 @@ impl IAppxManifestPackageId_Vtbl { let this = (*this).get_impl(); match IAppxManifestPackageId_Impl::GetPackageFullName(this) { Ok(ok__) => { - core::ptr::write(packagefullname, core::mem::transmute(ok__)); + packagefullname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2940,7 +2940,7 @@ impl IAppxManifestPackageId_Vtbl { let this = (*this).get_impl(); match IAppxManifestPackageId_Impl::GetPackageFamilyName(this) { Ok(ok__) => { - core::ptr::write(packagefamilyname, core::mem::transmute(ok__)); + packagefamilyname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2973,7 +2973,7 @@ impl IAppxManifestPackageId2_Vtbl { let this = (*this).get_impl(); match IAppxManifestPackageId2_Impl::GetArchitecture2(this) { Ok(ok__) => { - core::ptr::write(architecture, core::mem::transmute(ok__)); + architecture.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2997,7 +2997,7 @@ impl IAppxManifestProperties_Vtbl { let this = (*this).get_impl(); match IAppxManifestProperties_Impl::GetBoolValue(this, core::mem::transmute(&name)) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3008,7 +3008,7 @@ impl IAppxManifestProperties_Vtbl { let this = (*this).get_impl(); match IAppxManifestProperties_Impl::GetStringValue(this, core::mem::transmute(&name)) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3037,7 +3037,7 @@ impl IAppxManifestQualifiedResource_Vtbl { let this = (*this).get_impl(); match IAppxManifestQualifiedResource_Impl::GetLanguage(this) { Ok(ok__) => { - core::ptr::write(language, core::mem::transmute(ok__)); + language.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3048,7 +3048,7 @@ impl IAppxManifestQualifiedResource_Vtbl { let this = (*this).get_impl(); match IAppxManifestQualifiedResource_Impl::GetScale(this) { Ok(ok__) => { - core::ptr::write(scale, core::mem::transmute(ok__)); + scale.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3059,7 +3059,7 @@ impl IAppxManifestQualifiedResource_Vtbl { let this = (*this).get_impl(); match IAppxManifestQualifiedResource_Impl::GetDXFeatureLevel(this) { Ok(ok__) => { - core::ptr::write(dxfeaturelevel, core::mem::transmute(ok__)); + dxfeaturelevel.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3089,7 +3089,7 @@ impl IAppxManifestQualifiedResourcesEnumerator_Vtbl { let this = (*this).get_impl(); match IAppxManifestQualifiedResourcesEnumerator_Impl::GetCurrent(this) { Ok(ok__) => { - core::ptr::write(resource, core::mem::transmute(ok__)); + resource.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3100,7 +3100,7 @@ impl IAppxManifestQualifiedResourcesEnumerator_Vtbl { let this = (*this).get_impl(); match IAppxManifestQualifiedResourcesEnumerator_Impl::GetHasCurrent(this) { Ok(ok__) => { - core::ptr::write(hascurrent, core::mem::transmute(ok__)); + hascurrent.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3111,7 +3111,7 @@ impl IAppxManifestQualifiedResourcesEnumerator_Vtbl { let this = (*this).get_impl(); match IAppxManifestQualifiedResourcesEnumerator_Impl::MoveNext(this) { Ok(ok__) => { - core::ptr::write(hasnext, core::mem::transmute(ok__)); + hasnext.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3150,7 +3150,7 @@ impl IAppxManifestReader_Vtbl { let this = (*this).get_impl(); match IAppxManifestReader_Impl::GetPackageId(this) { Ok(ok__) => { - core::ptr::write(packageid, core::mem::transmute(ok__)); + packageid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3161,7 +3161,7 @@ impl IAppxManifestReader_Vtbl { let this = (*this).get_impl(); match IAppxManifestReader_Impl::GetProperties(this) { Ok(ok__) => { - core::ptr::write(packageproperties, core::mem::transmute(ok__)); + packageproperties.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3172,7 +3172,7 @@ impl IAppxManifestReader_Vtbl { let this = (*this).get_impl(); match IAppxManifestReader_Impl::GetPackageDependencies(this) { Ok(ok__) => { - core::ptr::write(dependencies, core::mem::transmute(ok__)); + dependencies.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3183,7 +3183,7 @@ impl IAppxManifestReader_Vtbl { let this = (*this).get_impl(); match IAppxManifestReader_Impl::GetCapabilities(this) { Ok(ok__) => { - core::ptr::write(capabilities, core::mem::transmute(ok__)); + capabilities.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3194,7 +3194,7 @@ impl IAppxManifestReader_Vtbl { let this = (*this).get_impl(); match IAppxManifestReader_Impl::GetResources(this) { Ok(ok__) => { - core::ptr::write(resources, core::mem::transmute(ok__)); + resources.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3205,7 +3205,7 @@ impl IAppxManifestReader_Vtbl { let this = (*this).get_impl(); match IAppxManifestReader_Impl::GetDeviceCapabilities(this) { Ok(ok__) => { - core::ptr::write(devicecapabilities, core::mem::transmute(ok__)); + devicecapabilities.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3216,7 +3216,7 @@ impl IAppxManifestReader_Vtbl { let this = (*this).get_impl(); match IAppxManifestReader_Impl::GetPrerequisite(this, core::mem::transmute(&name)) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3227,7 +3227,7 @@ impl IAppxManifestReader_Vtbl { let this = (*this).get_impl(); match IAppxManifestReader_Impl::GetApplications(this) { Ok(ok__) => { - core::ptr::write(applications, core::mem::transmute(ok__)); + applications.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3238,7 +3238,7 @@ impl IAppxManifestReader_Vtbl { let this = (*this).get_impl(); match IAppxManifestReader_Impl::GetStream(this) { Ok(ok__) => { - core::ptr::write(manifeststream, core::mem::transmute(ok__)); + manifeststream.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3275,7 +3275,7 @@ impl IAppxManifestReader2_Vtbl { let this = (*this).get_impl(); match IAppxManifestReader2_Impl::GetQualifiedResources(this) { Ok(ok__) => { - core::ptr::write(resources, core::mem::transmute(ok__)); + resources.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3302,7 +3302,7 @@ impl IAppxManifestReader3_Vtbl { let this = (*this).get_impl(); match IAppxManifestReader3_Impl::GetCapabilitiesByCapabilityClass(this, core::mem::transmute_copy(&capabilityclass)) { Ok(ok__) => { - core::ptr::write(capabilities, core::mem::transmute(ok__)); + capabilities.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3313,7 +3313,7 @@ impl IAppxManifestReader3_Vtbl { let this = (*this).get_impl(); match IAppxManifestReader3_Impl::GetTargetDeviceFamilies(this) { Ok(ok__) => { - core::ptr::write(targetdevicefamilies, core::mem::transmute(ok__)); + targetdevicefamilies.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3343,7 +3343,7 @@ impl IAppxManifestReader4_Vtbl { let this = (*this).get_impl(); match IAppxManifestReader4_Impl::GetOptionalPackageInfo(this) { Ok(ok__) => { - core::ptr::write(optionalpackageinfo, core::mem::transmute(ok__)); + optionalpackageinfo.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3366,7 +3366,7 @@ impl IAppxManifestReader5_Vtbl { let this = (*this).get_impl(); match IAppxManifestReader5_Impl::GetMainPackageDependencies(this) { Ok(ok__) => { - core::ptr::write(mainpackagedependencies, core::mem::transmute(ok__)); + mainpackagedependencies.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3389,7 +3389,7 @@ impl IAppxManifestReader6_Vtbl { let this = (*this).get_impl(); match IAppxManifestReader6_Impl::GetIsNonQualifiedResourcePackage(this) { Ok(ok__) => { - core::ptr::write(isnonqualifiedresourcepackage, core::mem::transmute(ok__)); + isnonqualifiedresourcepackage.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3417,7 +3417,7 @@ impl IAppxManifestReader7_Vtbl { let this = (*this).get_impl(); match IAppxManifestReader7_Impl::GetDriverDependencies(this) { Ok(ok__) => { - core::ptr::write(driverdependencies, core::mem::transmute(ok__)); + driverdependencies.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3428,7 +3428,7 @@ impl IAppxManifestReader7_Vtbl { let this = (*this).get_impl(); match IAppxManifestReader7_Impl::GetOSPackageDependencies(this) { Ok(ok__) => { - core::ptr::write(ospackagedependencies, core::mem::transmute(ok__)); + ospackagedependencies.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3439,7 +3439,7 @@ impl IAppxManifestReader7_Vtbl { let this = (*this).get_impl(); match IAppxManifestReader7_Impl::GetHostRuntimeDependencies(this) { Ok(ok__) => { - core::ptr::write(hostruntimedependencies, core::mem::transmute(ok__)); + hostruntimedependencies.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3469,7 +3469,7 @@ impl IAppxManifestResourcesEnumerator_Vtbl { let this = (*this).get_impl(); match IAppxManifestResourcesEnumerator_Impl::GetCurrent(this) { Ok(ok__) => { - core::ptr::write(resource, core::mem::transmute(ok__)); + resource.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3480,7 +3480,7 @@ impl IAppxManifestResourcesEnumerator_Vtbl { let this = (*this).get_impl(); match IAppxManifestResourcesEnumerator_Impl::GetHasCurrent(this) { Ok(ok__) => { - core::ptr::write(hascurrent, core::mem::transmute(ok__)); + hascurrent.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3491,7 +3491,7 @@ impl IAppxManifestResourcesEnumerator_Vtbl { let this = (*this).get_impl(); match IAppxManifestResourcesEnumerator_Impl::MoveNext(this) { Ok(ok__) => { - core::ptr::write(hasnext, core::mem::transmute(ok__)); + hasnext.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3521,7 +3521,7 @@ impl IAppxManifestTargetDeviceFamiliesEnumerator_Vtbl { let this = (*this).get_impl(); match IAppxManifestTargetDeviceFamiliesEnumerator_Impl::GetCurrent(this) { Ok(ok__) => { - core::ptr::write(targetdevicefamily, core::mem::transmute(ok__)); + targetdevicefamily.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3532,7 +3532,7 @@ impl IAppxManifestTargetDeviceFamiliesEnumerator_Vtbl { let this = (*this).get_impl(); match IAppxManifestTargetDeviceFamiliesEnumerator_Impl::GetHasCurrent(this) { Ok(ok__) => { - core::ptr::write(hascurrent, core::mem::transmute(ok__)); + hascurrent.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3543,7 +3543,7 @@ impl IAppxManifestTargetDeviceFamiliesEnumerator_Vtbl { let this = (*this).get_impl(); match IAppxManifestTargetDeviceFamiliesEnumerator_Impl::MoveNext(this) { Ok(ok__) => { - core::ptr::write(hasnext, core::mem::transmute(ok__)); + hasnext.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3573,7 +3573,7 @@ impl IAppxManifestTargetDeviceFamily_Vtbl { let this = (*this).get_impl(); match IAppxManifestTargetDeviceFamily_Impl::GetName(this) { Ok(ok__) => { - core::ptr::write(name, core::mem::transmute(ok__)); + name.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3584,7 +3584,7 @@ impl IAppxManifestTargetDeviceFamily_Vtbl { let this = (*this).get_impl(); match IAppxManifestTargetDeviceFamily_Impl::GetMinVersion(this) { Ok(ok__) => { - core::ptr::write(minversion, core::mem::transmute(ok__)); + minversion.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3595,7 +3595,7 @@ impl IAppxManifestTargetDeviceFamily_Vtbl { let this = (*this).get_impl(); match IAppxManifestTargetDeviceFamily_Impl::GetMaxVersionTested(this) { Ok(ok__) => { - core::ptr::write(maxversiontested, core::mem::transmute(ok__)); + maxversiontested.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3685,7 +3685,7 @@ impl IAppxPackageReader_Vtbl { let this = (*this).get_impl(); match IAppxPackageReader_Impl::GetBlockMap(this) { Ok(ok__) => { - core::ptr::write(blockmapreader, core::mem::transmute(ok__)); + blockmapreader.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3696,7 +3696,7 @@ impl IAppxPackageReader_Vtbl { let this = (*this).get_impl(); match IAppxPackageReader_Impl::GetFootprintFile(this, core::mem::transmute_copy(&r#type)) { Ok(ok__) => { - core::ptr::write(file, core::mem::transmute(ok__)); + file.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3707,7 +3707,7 @@ impl IAppxPackageReader_Vtbl { let this = (*this).get_impl(); match IAppxPackageReader_Impl::GetPayloadFile(this, core::mem::transmute(&filename)) { Ok(ok__) => { - core::ptr::write(file, core::mem::transmute(ok__)); + file.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3718,7 +3718,7 @@ impl IAppxPackageReader_Vtbl { let this = (*this).get_impl(); match IAppxPackageReader_Impl::GetPayloadFiles(this) { Ok(ok__) => { - core::ptr::write(filesenumerator, core::mem::transmute(ok__)); + filesenumerator.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3729,7 +3729,7 @@ impl IAppxPackageReader_Vtbl { let this = (*this).get_impl(); match IAppxPackageReader_Impl::GetManifest(this) { Ok(ok__) => { - core::ptr::write(manifestreader, core::mem::transmute(ok__)); + manifestreader.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3874,7 +3874,7 @@ impl IAppxSourceContentGroupMapReader_Vtbl { let this = (*this).get_impl(); match IAppxSourceContentGroupMapReader_Impl::GetRequiredGroup(this) { Ok(ok__) => { - core::ptr::write(requiredgroup, core::mem::transmute(ok__)); + requiredgroup.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3885,7 +3885,7 @@ impl IAppxSourceContentGroupMapReader_Vtbl { let this = (*this).get_impl(); match IAppxSourceContentGroupMapReader_Impl::GetAutomaticGroups(this) { Ok(ok__) => { - core::ptr::write(automaticgroupsenumerator, core::mem::transmute(ok__)); + automaticgroupsenumerator.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/Win32/Storage/Packaging/Opc/impl.rs b/crates/libs/windows/src/Windows/Win32/Storage/Packaging/Opc/impl.rs index f10d6f5a8a..79d9363232 100644 --- a/crates/libs/windows/src/Windows/Win32/Storage/Packaging/Opc/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Storage/Packaging/Opc/impl.rs @@ -15,7 +15,7 @@ impl IOpcCertificateEnumerator_Vtbl { let this = (*this).get_impl(); match IOpcCertificateEnumerator_Impl::MoveNext(this) { Ok(ok__) => { - core::ptr::write(hasnext, core::mem::transmute(ok__)); + hasnext.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -26,7 +26,7 @@ impl IOpcCertificateEnumerator_Vtbl { let this = (*this).get_impl(); match IOpcCertificateEnumerator_Impl::MovePrevious(this) { Ok(ok__) => { - core::ptr::write(hasprevious, core::mem::transmute(ok__)); + hasprevious.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -37,7 +37,7 @@ impl IOpcCertificateEnumerator_Vtbl { let this = (*this).get_impl(); match IOpcCertificateEnumerator_Impl::GetCurrent(this) { Ok(ok__) => { - core::ptr::write(certificate, core::mem::transmute(ok__)); + certificate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -48,7 +48,7 @@ impl IOpcCertificateEnumerator_Vtbl { let this = (*this).get_impl(); match IOpcCertificateEnumerator_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(copy, core::mem::transmute(ok__)); + copy.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -92,7 +92,7 @@ impl IOpcCertificateSet_Vtbl { let this = (*this).get_impl(); match IOpcCertificateSet_Impl::GetEnumerator(this) { Ok(ok__) => { - core::ptr::write(certificateenumerator, core::mem::transmute(ok__)); + certificateenumerator.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -142,7 +142,7 @@ impl IOpcDigitalSignature_Vtbl { let this = (*this).get_impl(); match IOpcDigitalSignature_Impl::GetSignatureId(this) { Ok(ok__) => { - core::ptr::write(signatureid, core::mem::transmute(ok__)); + signatureid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -153,7 +153,7 @@ impl IOpcDigitalSignature_Vtbl { let this = (*this).get_impl(); match IOpcDigitalSignature_Impl::GetSignaturePartName(this) { Ok(ok__) => { - core::ptr::write(signaturepartname, core::mem::transmute(ok__)); + signaturepartname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -164,7 +164,7 @@ impl IOpcDigitalSignature_Vtbl { let this = (*this).get_impl(); match IOpcDigitalSignature_Impl::GetSignatureMethod(this) { Ok(ok__) => { - core::ptr::write(signaturemethod, core::mem::transmute(ok__)); + signaturemethod.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -175,7 +175,7 @@ impl IOpcDigitalSignature_Vtbl { let this = (*this).get_impl(); match IOpcDigitalSignature_Impl::GetCanonicalizationMethod(this) { Ok(ok__) => { - core::ptr::write(canonicalizationmethod, core::mem::transmute(ok__)); + canonicalizationmethod.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -191,7 +191,7 @@ impl IOpcDigitalSignature_Vtbl { let this = (*this).get_impl(); match IOpcDigitalSignature_Impl::GetSignaturePartReferenceEnumerator(this) { Ok(ok__) => { - core::ptr::write(partreferenceenumerator, core::mem::transmute(ok__)); + partreferenceenumerator.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -202,7 +202,7 @@ impl IOpcDigitalSignature_Vtbl { let this = (*this).get_impl(); match IOpcDigitalSignature_Impl::GetSignatureRelationshipReferenceEnumerator(this) { Ok(ok__) => { - core::ptr::write(relationshipreferenceenumerator, core::mem::transmute(ok__)); + relationshipreferenceenumerator.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -213,7 +213,7 @@ impl IOpcDigitalSignature_Vtbl { let this = (*this).get_impl(); match IOpcDigitalSignature_Impl::GetSigningTime(this) { Ok(ok__) => { - core::ptr::write(signingtime, core::mem::transmute(ok__)); + signingtime.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -224,7 +224,7 @@ impl IOpcDigitalSignature_Vtbl { let this = (*this).get_impl(); match IOpcDigitalSignature_Impl::GetTimeFormat(this) { Ok(ok__) => { - core::ptr::write(timeformat, core::mem::transmute(ok__)); + timeformat.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -235,7 +235,7 @@ impl IOpcDigitalSignature_Vtbl { let this = (*this).get_impl(); match IOpcDigitalSignature_Impl::GetPackageObjectReference(this) { Ok(ok__) => { - core::ptr::write(packageobjectreference, core::mem::transmute(ok__)); + packageobjectreference.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -246,7 +246,7 @@ impl IOpcDigitalSignature_Vtbl { let this = (*this).get_impl(); match IOpcDigitalSignature_Impl::GetCertificateEnumerator(this) { Ok(ok__) => { - core::ptr::write(certificateenumerator, core::mem::transmute(ok__)); + certificateenumerator.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -257,7 +257,7 @@ impl IOpcDigitalSignature_Vtbl { let this = (*this).get_impl(); match IOpcDigitalSignature_Impl::GetCustomReferenceEnumerator(this) { Ok(ok__) => { - core::ptr::write(customreferenceenumerator, core::mem::transmute(ok__)); + customreferenceenumerator.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -268,7 +268,7 @@ impl IOpcDigitalSignature_Vtbl { let this = (*this).get_impl(); match IOpcDigitalSignature_Impl::GetCustomObjectEnumerator(this) { Ok(ok__) => { - core::ptr::write(customobjectenumerator, core::mem::transmute(ok__)); + customobjectenumerator.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -316,7 +316,7 @@ impl IOpcDigitalSignatureEnumerator_Vtbl { let this = (*this).get_impl(); match IOpcDigitalSignatureEnumerator_Impl::MoveNext(this) { Ok(ok__) => { - core::ptr::write(hasnext, core::mem::transmute(ok__)); + hasnext.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -327,7 +327,7 @@ impl IOpcDigitalSignatureEnumerator_Vtbl { let this = (*this).get_impl(); match IOpcDigitalSignatureEnumerator_Impl::MovePrevious(this) { Ok(ok__) => { - core::ptr::write(hasprevious, core::mem::transmute(ok__)); + hasprevious.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -338,7 +338,7 @@ impl IOpcDigitalSignatureEnumerator_Vtbl { let this = (*this).get_impl(); match IOpcDigitalSignatureEnumerator_Impl::GetCurrent(this) { Ok(ok__) => { - core::ptr::write(digitalsignature, core::mem::transmute(ok__)); + digitalsignature.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -349,7 +349,7 @@ impl IOpcDigitalSignatureEnumerator_Vtbl { let this = (*this).get_impl(); match IOpcDigitalSignatureEnumerator_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(copy, core::mem::transmute(ok__)); + copy.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -388,7 +388,7 @@ impl IOpcDigitalSignatureManager_Vtbl { let this = (*this).get_impl(); match IOpcDigitalSignatureManager_Impl::GetSignatureOriginPartName(this) { Ok(ok__) => { - core::ptr::write(signatureoriginpartname, core::mem::transmute(ok__)); + signatureoriginpartname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -404,7 +404,7 @@ impl IOpcDigitalSignatureManager_Vtbl { let this = (*this).get_impl(); match IOpcDigitalSignatureManager_Impl::GetSignatureEnumerator(this) { Ok(ok__) => { - core::ptr::write(signatureenumerator, core::mem::transmute(ok__)); + signatureenumerator.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -420,7 +420,7 @@ impl IOpcDigitalSignatureManager_Vtbl { let this = (*this).get_impl(); match IOpcDigitalSignatureManager_Impl::CreateSigningOptions(this) { Ok(ok__) => { - core::ptr::write(signingoptions, core::mem::transmute(ok__)); + signingoptions.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -431,7 +431,7 @@ impl IOpcDigitalSignatureManager_Vtbl { let this = (*this).get_impl(); match IOpcDigitalSignatureManager_Impl::Validate(this, windows_core::from_raw_borrowed(&signature), core::mem::transmute_copy(&certificate)) { Ok(ok__) => { - core::ptr::write(validationresult, core::mem::transmute(ok__)); + validationresult.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -442,7 +442,7 @@ impl IOpcDigitalSignatureManager_Vtbl { let this = (*this).get_impl(); match IOpcDigitalSignatureManager_Impl::Sign(this, core::mem::transmute_copy(&certificate), windows_core::from_raw_borrowed(&signingoptions)) { Ok(ok__) => { - core::ptr::write(digitalsignature, core::mem::transmute(ok__)); + digitalsignature.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -453,7 +453,7 @@ impl IOpcDigitalSignatureManager_Vtbl { let this = (*this).get_impl(); match IOpcDigitalSignatureManager_Impl::ReplaceSignatureXml(this, windows_core::from_raw_borrowed(&signaturepartname), core::mem::transmute_copy(&newsignaturexml), core::mem::transmute_copy(&count)) { Ok(ok__) => { - core::ptr::write(digitalsignature, core::mem::transmute(ok__)); + digitalsignature.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -495,7 +495,7 @@ impl IOpcFactory_Vtbl { let this = (*this).get_impl(); match IOpcFactory_Impl::CreatePackageRootUri(this) { Ok(ok__) => { - core::ptr::write(rooturi, core::mem::transmute(ok__)); + rooturi.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -506,7 +506,7 @@ impl IOpcFactory_Vtbl { let this = (*this).get_impl(); match IOpcFactory_Impl::CreatePartUri(this, core::mem::transmute(&pwzuri)) { Ok(ok__) => { - core::ptr::write(parturi, core::mem::transmute(ok__)); + parturi.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -517,7 +517,7 @@ impl IOpcFactory_Vtbl { let this = (*this).get_impl(); match IOpcFactory_Impl::CreateStreamOnFile(this, core::mem::transmute(&filename), core::mem::transmute_copy(&iomode), core::mem::transmute_copy(&securityattributes), core::mem::transmute_copy(&dwflagsandattributes)) { Ok(ok__) => { - core::ptr::write(stream, core::mem::transmute(ok__)); + stream.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -528,7 +528,7 @@ impl IOpcFactory_Vtbl { let this = (*this).get_impl(); match IOpcFactory_Impl::CreatePackage(this) { Ok(ok__) => { - core::ptr::write(package, core::mem::transmute(ok__)); + package.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -539,7 +539,7 @@ impl IOpcFactory_Vtbl { let this = (*this).get_impl(); match IOpcFactory_Impl::ReadPackageFromStream(this, windows_core::from_raw_borrowed(&stream), core::mem::transmute_copy(&flags)) { Ok(ok__) => { - core::ptr::write(package, core::mem::transmute(ok__)); + package.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -555,7 +555,7 @@ impl IOpcFactory_Vtbl { let this = (*this).get_impl(); match IOpcFactory_Impl::CreateDigitalSignatureManager(this, windows_core::from_raw_borrowed(&package)) { Ok(ok__) => { - core::ptr::write(signaturemanager, core::mem::transmute(ok__)); + signaturemanager.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -588,7 +588,7 @@ impl IOpcPackage_Vtbl { let this = (*this).get_impl(); match IOpcPackage_Impl::GetPartSet(this) { Ok(ok__) => { - core::ptr::write(partset, core::mem::transmute(ok__)); + partset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -599,7 +599,7 @@ impl IOpcPackage_Vtbl { let this = (*this).get_impl(); match IOpcPackage_Impl::GetRelationshipSet(this) { Ok(ok__) => { - core::ptr::write(relationshipset, core::mem::transmute(ok__)); + relationshipset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -633,7 +633,7 @@ impl IOpcPart_Vtbl { let this = (*this).get_impl(); match IOpcPart_Impl::GetRelationshipSet(this) { Ok(ok__) => { - core::ptr::write(relationshipset, core::mem::transmute(ok__)); + relationshipset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -644,7 +644,7 @@ impl IOpcPart_Vtbl { let this = (*this).get_impl(); match IOpcPart_Impl::GetContentStream(this) { Ok(ok__) => { - core::ptr::write(stream, core::mem::transmute(ok__)); + stream.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -655,7 +655,7 @@ impl IOpcPart_Vtbl { let this = (*this).get_impl(); match IOpcPart_Impl::GetName(this) { Ok(ok__) => { - core::ptr::write(name, core::mem::transmute(ok__)); + name.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -666,7 +666,7 @@ impl IOpcPart_Vtbl { let this = (*this).get_impl(); match IOpcPart_Impl::GetContentType(this) { Ok(ok__) => { - core::ptr::write(contenttype, core::mem::transmute(ok__)); + contenttype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -677,7 +677,7 @@ impl IOpcPart_Vtbl { let this = (*this).get_impl(); match IOpcPart_Impl::GetCompressionOptions(this) { Ok(ok__) => { - core::ptr::write(compressionoptions, core::mem::transmute(ok__)); + compressionoptions.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -710,7 +710,7 @@ impl IOpcPartEnumerator_Vtbl { let this = (*this).get_impl(); match IOpcPartEnumerator_Impl::MoveNext(this) { Ok(ok__) => { - core::ptr::write(hasnext, core::mem::transmute(ok__)); + hasnext.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -721,7 +721,7 @@ impl IOpcPartEnumerator_Vtbl { let this = (*this).get_impl(); match IOpcPartEnumerator_Impl::MovePrevious(this) { Ok(ok__) => { - core::ptr::write(hasprevious, core::mem::transmute(ok__)); + hasprevious.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -732,7 +732,7 @@ impl IOpcPartEnumerator_Vtbl { let this = (*this).get_impl(); match IOpcPartEnumerator_Impl::GetCurrent(this) { Ok(ok__) => { - core::ptr::write(part, core::mem::transmute(ok__)); + part.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -743,7 +743,7 @@ impl IOpcPartEnumerator_Vtbl { let this = (*this).get_impl(); match IOpcPartEnumerator_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(copy, core::mem::transmute(ok__)); + copy.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -779,7 +779,7 @@ impl IOpcPartSet_Vtbl { let this = (*this).get_impl(); match IOpcPartSet_Impl::GetPart(this, windows_core::from_raw_borrowed(&name)) { Ok(ok__) => { - core::ptr::write(part, core::mem::transmute(ok__)); + part.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -790,7 +790,7 @@ impl IOpcPartSet_Vtbl { let this = (*this).get_impl(); match IOpcPartSet_Impl::CreatePart(this, windows_core::from_raw_borrowed(&name), core::mem::transmute(&contenttype), core::mem::transmute_copy(&compressionoptions)) { Ok(ok__) => { - core::ptr::write(part, core::mem::transmute(ok__)); + part.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -806,7 +806,7 @@ impl IOpcPartSet_Vtbl { let this = (*this).get_impl(); match IOpcPartSet_Impl::PartExists(this, windows_core::from_raw_borrowed(&name)) { Ok(ok__) => { - core::ptr::write(partexists, core::mem::transmute(ok__)); + partexists.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -817,7 +817,7 @@ impl IOpcPartSet_Vtbl { let this = (*this).get_impl(); match IOpcPartSet_Impl::GetEnumerator(this) { Ok(ok__) => { - core::ptr::write(partenumerator, core::mem::transmute(ok__)); + partenumerator.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -852,7 +852,7 @@ impl IOpcPartUri_Vtbl { let this = (*this).get_impl(); match IOpcPartUri_Impl::ComparePartUri(this, windows_core::from_raw_borrowed(&parturi)) { Ok(ok__) => { - core::ptr::write(comparisonresult, core::mem::transmute(ok__)); + comparisonresult.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -863,7 +863,7 @@ impl IOpcPartUri_Vtbl { let this = (*this).get_impl(); match IOpcPartUri_Impl::GetSourceUri(this) { Ok(ok__) => { - core::ptr::write(sourceuri, core::mem::transmute(ok__)); + sourceuri.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -874,7 +874,7 @@ impl IOpcPartUri_Vtbl { let this = (*this).get_impl(); match IOpcPartUri_Impl::IsRelationshipsPartUri(this) { Ok(ok__) => { - core::ptr::write(isrelationshipuri, core::mem::transmute(ok__)); + isrelationshipuri.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -909,7 +909,7 @@ impl IOpcRelationship_Vtbl { let this = (*this).get_impl(); match IOpcRelationship_Impl::GetId(this) { Ok(ok__) => { - core::ptr::write(relationshipidentifier, core::mem::transmute(ok__)); + relationshipidentifier.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -920,7 +920,7 @@ impl IOpcRelationship_Vtbl { let this = (*this).get_impl(); match IOpcRelationship_Impl::GetRelationshipType(this) { Ok(ok__) => { - core::ptr::write(relationshiptype, core::mem::transmute(ok__)); + relationshiptype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -931,7 +931,7 @@ impl IOpcRelationship_Vtbl { let this = (*this).get_impl(); match IOpcRelationship_Impl::GetSourceUri(this) { Ok(ok__) => { - core::ptr::write(sourceuri, core::mem::transmute(ok__)); + sourceuri.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -942,7 +942,7 @@ impl IOpcRelationship_Vtbl { let this = (*this).get_impl(); match IOpcRelationship_Impl::GetTargetUri(this) { Ok(ok__) => { - core::ptr::write(targeturi, core::mem::transmute(ok__)); + targeturi.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -953,7 +953,7 @@ impl IOpcRelationship_Vtbl { let this = (*this).get_impl(); match IOpcRelationship_Impl::GetTargetMode(this) { Ok(ok__) => { - core::ptr::write(targetmode, core::mem::transmute(ok__)); + targetmode.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -986,7 +986,7 @@ impl IOpcRelationshipEnumerator_Vtbl { let this = (*this).get_impl(); match IOpcRelationshipEnumerator_Impl::MoveNext(this) { Ok(ok__) => { - core::ptr::write(hasnext, core::mem::transmute(ok__)); + hasnext.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -997,7 +997,7 @@ impl IOpcRelationshipEnumerator_Vtbl { let this = (*this).get_impl(); match IOpcRelationshipEnumerator_Impl::MovePrevious(this) { Ok(ok__) => { - core::ptr::write(hasprevious, core::mem::transmute(ok__)); + hasprevious.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1008,7 +1008,7 @@ impl IOpcRelationshipEnumerator_Vtbl { let this = (*this).get_impl(); match IOpcRelationshipEnumerator_Impl::GetCurrent(this) { Ok(ok__) => { - core::ptr::write(relationship, core::mem::transmute(ok__)); + relationship.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1019,7 +1019,7 @@ impl IOpcRelationshipEnumerator_Vtbl { let this = (*this).get_impl(); match IOpcRelationshipEnumerator_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(copy, core::mem::transmute(ok__)); + copy.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1049,7 +1049,7 @@ impl IOpcRelationshipSelector_Vtbl { let this = (*this).get_impl(); match IOpcRelationshipSelector_Impl::GetSelectorType(this) { Ok(ok__) => { - core::ptr::write(selector, core::mem::transmute(ok__)); + selector.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1060,7 +1060,7 @@ impl IOpcRelationshipSelector_Vtbl { let this = (*this).get_impl(); match IOpcRelationshipSelector_Impl::GetSelectionCriterion(this) { Ok(ok__) => { - core::ptr::write(selectioncriterion, core::mem::transmute(ok__)); + selectioncriterion.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1090,7 +1090,7 @@ impl IOpcRelationshipSelectorEnumerator_Vtbl { let this = (*this).get_impl(); match IOpcRelationshipSelectorEnumerator_Impl::MoveNext(this) { Ok(ok__) => { - core::ptr::write(hasnext, core::mem::transmute(ok__)); + hasnext.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1101,7 +1101,7 @@ impl IOpcRelationshipSelectorEnumerator_Vtbl { let this = (*this).get_impl(); match IOpcRelationshipSelectorEnumerator_Impl::MovePrevious(this) { Ok(ok__) => { - core::ptr::write(hasprevious, core::mem::transmute(ok__)); + hasprevious.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1112,7 +1112,7 @@ impl IOpcRelationshipSelectorEnumerator_Vtbl { let this = (*this).get_impl(); match IOpcRelationshipSelectorEnumerator_Impl::GetCurrent(this) { Ok(ok__) => { - core::ptr::write(relationshipselector, core::mem::transmute(ok__)); + relationshipselector.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1123,7 +1123,7 @@ impl IOpcRelationshipSelectorEnumerator_Vtbl { let this = (*this).get_impl(); match IOpcRelationshipSelectorEnumerator_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(copy, core::mem::transmute(ok__)); + copy.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1154,7 +1154,7 @@ impl IOpcRelationshipSelectorSet_Vtbl { let this = (*this).get_impl(); match IOpcRelationshipSelectorSet_Impl::Create(this, core::mem::transmute_copy(&selector), core::mem::transmute(&selectioncriterion)) { Ok(ok__) => { - core::ptr::write(relationshipselector, core::mem::transmute(ok__)); + relationshipselector.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1170,7 +1170,7 @@ impl IOpcRelationshipSelectorSet_Vtbl { let this = (*this).get_impl(); match IOpcRelationshipSelectorSet_Impl::GetEnumerator(this) { Ok(ok__) => { - core::ptr::write(relationshipselectorenumerator, core::mem::transmute(ok__)); + relationshipselectorenumerator.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1207,7 +1207,7 @@ impl IOpcRelationshipSet_Vtbl { let this = (*this).get_impl(); match IOpcRelationshipSet_Impl::GetRelationship(this, core::mem::transmute(&relationshipidentifier)) { Ok(ok__) => { - core::ptr::write(relationship, core::mem::transmute(ok__)); + relationship.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1218,7 +1218,7 @@ impl IOpcRelationshipSet_Vtbl { let this = (*this).get_impl(); match IOpcRelationshipSet_Impl::CreateRelationship(this, core::mem::transmute(&relationshipidentifier), core::mem::transmute(&relationshiptype), windows_core::from_raw_borrowed(&targeturi), core::mem::transmute_copy(&targetmode)) { Ok(ok__) => { - core::ptr::write(relationship, core::mem::transmute(ok__)); + relationship.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1234,7 +1234,7 @@ impl IOpcRelationshipSet_Vtbl { let this = (*this).get_impl(); match IOpcRelationshipSet_Impl::RelationshipExists(this, core::mem::transmute(&relationshipidentifier)) { Ok(ok__) => { - core::ptr::write(relationshipexists, core::mem::transmute(ok__)); + relationshipexists.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1245,7 +1245,7 @@ impl IOpcRelationshipSet_Vtbl { let this = (*this).get_impl(); match IOpcRelationshipSet_Impl::GetEnumerator(this) { Ok(ok__) => { - core::ptr::write(relationshipenumerator, core::mem::transmute(ok__)); + relationshipenumerator.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1256,7 +1256,7 @@ impl IOpcRelationshipSet_Vtbl { let this = (*this).get_impl(); match IOpcRelationshipSet_Impl::GetEnumeratorForType(this, core::mem::transmute(&relationshiptype)) { Ok(ok__) => { - core::ptr::write(relationshipenumerator, core::mem::transmute(ok__)); + relationshipenumerator.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1267,7 +1267,7 @@ impl IOpcRelationshipSet_Vtbl { let this = (*this).get_impl(); match IOpcRelationshipSet_Impl::GetRelationshipsContentStream(this) { Ok(ok__) => { - core::ptr::write(contents, core::mem::transmute(ok__)); + contents.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1319,7 +1319,7 @@ impl IOpcSignatureCustomObjectEnumerator_Vtbl { let this = (*this).get_impl(); match IOpcSignatureCustomObjectEnumerator_Impl::MoveNext(this) { Ok(ok__) => { - core::ptr::write(hasnext, core::mem::transmute(ok__)); + hasnext.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1330,7 +1330,7 @@ impl IOpcSignatureCustomObjectEnumerator_Vtbl { let this = (*this).get_impl(); match IOpcSignatureCustomObjectEnumerator_Impl::MovePrevious(this) { Ok(ok__) => { - core::ptr::write(hasprevious, core::mem::transmute(ok__)); + hasprevious.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1341,7 +1341,7 @@ impl IOpcSignatureCustomObjectEnumerator_Vtbl { let this = (*this).get_impl(); match IOpcSignatureCustomObjectEnumerator_Impl::GetCurrent(this) { Ok(ok__) => { - core::ptr::write(customobject, core::mem::transmute(ok__)); + customobject.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1352,7 +1352,7 @@ impl IOpcSignatureCustomObjectEnumerator_Vtbl { let this = (*this).get_impl(); match IOpcSignatureCustomObjectEnumerator_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(copy, core::mem::transmute(ok__)); + copy.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1383,7 +1383,7 @@ impl IOpcSignatureCustomObjectSet_Vtbl { let this = (*this).get_impl(); match IOpcSignatureCustomObjectSet_Impl::Create(this, core::mem::transmute_copy(&xmlmarkup), core::mem::transmute_copy(&count)) { Ok(ok__) => { - core::ptr::write(customobject, core::mem::transmute(ok__)); + customobject.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1399,7 +1399,7 @@ impl IOpcSignatureCustomObjectSet_Vtbl { let this = (*this).get_impl(); match IOpcSignatureCustomObjectSet_Impl::GetEnumerator(this) { Ok(ok__) => { - core::ptr::write(customobjectenumerator, core::mem::transmute(ok__)); + customobjectenumerator.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1434,7 +1434,7 @@ impl IOpcSignaturePartReference_Vtbl { let this = (*this).get_impl(); match IOpcSignaturePartReference_Impl::GetPartName(this) { Ok(ok__) => { - core::ptr::write(partname, core::mem::transmute(ok__)); + partname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1445,7 +1445,7 @@ impl IOpcSignaturePartReference_Vtbl { let this = (*this).get_impl(); match IOpcSignaturePartReference_Impl::GetContentType(this) { Ok(ok__) => { - core::ptr::write(contenttype, core::mem::transmute(ok__)); + contenttype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1456,7 +1456,7 @@ impl IOpcSignaturePartReference_Vtbl { let this = (*this).get_impl(); match IOpcSignaturePartReference_Impl::GetDigestMethod(this) { Ok(ok__) => { - core::ptr::write(digestmethod, core::mem::transmute(ok__)); + digestmethod.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1472,7 +1472,7 @@ impl IOpcSignaturePartReference_Vtbl { let this = (*this).get_impl(); match IOpcSignaturePartReference_Impl::GetTransformMethod(this) { Ok(ok__) => { - core::ptr::write(transformmethod, core::mem::transmute(ok__)); + transformmethod.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1505,7 +1505,7 @@ impl IOpcSignaturePartReferenceEnumerator_Vtbl { let this = (*this).get_impl(); match IOpcSignaturePartReferenceEnumerator_Impl::MoveNext(this) { Ok(ok__) => { - core::ptr::write(hasnext, core::mem::transmute(ok__)); + hasnext.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1516,7 +1516,7 @@ impl IOpcSignaturePartReferenceEnumerator_Vtbl { let this = (*this).get_impl(); match IOpcSignaturePartReferenceEnumerator_Impl::MovePrevious(this) { Ok(ok__) => { - core::ptr::write(hasprevious, core::mem::transmute(ok__)); + hasprevious.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1527,7 +1527,7 @@ impl IOpcSignaturePartReferenceEnumerator_Vtbl { let this = (*this).get_impl(); match IOpcSignaturePartReferenceEnumerator_Impl::GetCurrent(this) { Ok(ok__) => { - core::ptr::write(partreference, core::mem::transmute(ok__)); + partreference.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1538,7 +1538,7 @@ impl IOpcSignaturePartReferenceEnumerator_Vtbl { let this = (*this).get_impl(); match IOpcSignaturePartReferenceEnumerator_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(copy, core::mem::transmute(ok__)); + copy.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1572,7 +1572,7 @@ impl IOpcSignaturePartReferenceSet_Vtbl { let this = (*this).get_impl(); match IOpcSignaturePartReferenceSet_Impl::Create(this, windows_core::from_raw_borrowed(&parturi), core::mem::transmute(&digestmethod), core::mem::transmute_copy(&transformmethod)) { Ok(ok__) => { - core::ptr::write(partreference, core::mem::transmute(ok__)); + partreference.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1588,7 +1588,7 @@ impl IOpcSignaturePartReferenceSet_Vtbl { let this = (*this).get_impl(); match IOpcSignaturePartReferenceSet_Impl::GetEnumerator(this) { Ok(ok__) => { - core::ptr::write(partreferenceenumerator, core::mem::transmute(ok__)); + partreferenceenumerator.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1624,7 +1624,7 @@ impl IOpcSignatureReference_Vtbl { let this = (*this).get_impl(); match IOpcSignatureReference_Impl::GetId(this) { Ok(ok__) => { - core::ptr::write(referenceid, core::mem::transmute(ok__)); + referenceid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1635,7 +1635,7 @@ impl IOpcSignatureReference_Vtbl { let this = (*this).get_impl(); match IOpcSignatureReference_Impl::GetUri(this) { Ok(ok__) => { - core::ptr::write(referenceuri, core::mem::transmute(ok__)); + referenceuri.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1646,7 +1646,7 @@ impl IOpcSignatureReference_Vtbl { let this = (*this).get_impl(); match IOpcSignatureReference_Impl::GetType(this) { Ok(ok__) => { - core::ptr::write(r#type, core::mem::transmute(ok__)); + r#type.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1657,7 +1657,7 @@ impl IOpcSignatureReference_Vtbl { let this = (*this).get_impl(); match IOpcSignatureReference_Impl::GetTransformMethod(this) { Ok(ok__) => { - core::ptr::write(transformmethod, core::mem::transmute(ok__)); + transformmethod.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1668,7 +1668,7 @@ impl IOpcSignatureReference_Vtbl { let this = (*this).get_impl(); match IOpcSignatureReference_Impl::GetDigestMethod(this) { Ok(ok__) => { - core::ptr::write(digestmethod, core::mem::transmute(ok__)); + digestmethod.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1707,7 +1707,7 @@ impl IOpcSignatureReferenceEnumerator_Vtbl { let this = (*this).get_impl(); match IOpcSignatureReferenceEnumerator_Impl::MoveNext(this) { Ok(ok__) => { - core::ptr::write(hasnext, core::mem::transmute(ok__)); + hasnext.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1718,7 +1718,7 @@ impl IOpcSignatureReferenceEnumerator_Vtbl { let this = (*this).get_impl(); match IOpcSignatureReferenceEnumerator_Impl::MovePrevious(this) { Ok(ok__) => { - core::ptr::write(hasprevious, core::mem::transmute(ok__)); + hasprevious.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1729,7 +1729,7 @@ impl IOpcSignatureReferenceEnumerator_Vtbl { let this = (*this).get_impl(); match IOpcSignatureReferenceEnumerator_Impl::GetCurrent(this) { Ok(ok__) => { - core::ptr::write(reference, core::mem::transmute(ok__)); + reference.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1740,7 +1740,7 @@ impl IOpcSignatureReferenceEnumerator_Vtbl { let this = (*this).get_impl(); match IOpcSignatureReferenceEnumerator_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(copy, core::mem::transmute(ok__)); + copy.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1774,7 +1774,7 @@ impl IOpcSignatureReferenceSet_Vtbl { let this = (*this).get_impl(); match IOpcSignatureReferenceSet_Impl::Create(this, windows_core::from_raw_borrowed(&referenceuri), core::mem::transmute(&referenceid), core::mem::transmute(&r#type), core::mem::transmute(&digestmethod), core::mem::transmute_copy(&transformmethod)) { Ok(ok__) => { - core::ptr::write(reference, core::mem::transmute(ok__)); + reference.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1790,7 +1790,7 @@ impl IOpcSignatureReferenceSet_Vtbl { let this = (*this).get_impl(); match IOpcSignatureReferenceSet_Impl::GetEnumerator(this) { Ok(ok__) => { - core::ptr::write(referenceenumerator, core::mem::transmute(ok__)); + referenceenumerator.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1826,7 +1826,7 @@ impl IOpcSignatureRelationshipReference_Vtbl { let this = (*this).get_impl(); match IOpcSignatureRelationshipReference_Impl::GetSourceUri(this) { Ok(ok__) => { - core::ptr::write(sourceuri, core::mem::transmute(ok__)); + sourceuri.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1837,7 +1837,7 @@ impl IOpcSignatureRelationshipReference_Vtbl { let this = (*this).get_impl(); match IOpcSignatureRelationshipReference_Impl::GetDigestMethod(this) { Ok(ok__) => { - core::ptr::write(digestmethod, core::mem::transmute(ok__)); + digestmethod.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1853,7 +1853,7 @@ impl IOpcSignatureRelationshipReference_Vtbl { let this = (*this).get_impl(); match IOpcSignatureRelationshipReference_Impl::GetTransformMethod(this) { Ok(ok__) => { - core::ptr::write(transformmethod, core::mem::transmute(ok__)); + transformmethod.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1864,7 +1864,7 @@ impl IOpcSignatureRelationshipReference_Vtbl { let this = (*this).get_impl(); match IOpcSignatureRelationshipReference_Impl::GetRelationshipSigningOption(this) { Ok(ok__) => { - core::ptr::write(relationshipsigningoption, core::mem::transmute(ok__)); + relationshipsigningoption.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1875,7 +1875,7 @@ impl IOpcSignatureRelationshipReference_Vtbl { let this = (*this).get_impl(); match IOpcSignatureRelationshipReference_Impl::GetRelationshipSelectorEnumerator(this) { Ok(ok__) => { - core::ptr::write(selectorenumerator, core::mem::transmute(ok__)); + selectorenumerator.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1909,7 +1909,7 @@ impl IOpcSignatureRelationshipReferenceEnumerator_Vtbl { let this = (*this).get_impl(); match IOpcSignatureRelationshipReferenceEnumerator_Impl::MoveNext(this) { Ok(ok__) => { - core::ptr::write(hasnext, core::mem::transmute(ok__)); + hasnext.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1920,7 +1920,7 @@ impl IOpcSignatureRelationshipReferenceEnumerator_Vtbl { let this = (*this).get_impl(); match IOpcSignatureRelationshipReferenceEnumerator_Impl::MovePrevious(this) { Ok(ok__) => { - core::ptr::write(hasprevious, core::mem::transmute(ok__)); + hasprevious.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1931,7 +1931,7 @@ impl IOpcSignatureRelationshipReferenceEnumerator_Vtbl { let this = (*this).get_impl(); match IOpcSignatureRelationshipReferenceEnumerator_Impl::GetCurrent(this) { Ok(ok__) => { - core::ptr::write(relationshipreference, core::mem::transmute(ok__)); + relationshipreference.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1942,7 +1942,7 @@ impl IOpcSignatureRelationshipReferenceEnumerator_Vtbl { let this = (*this).get_impl(); match IOpcSignatureRelationshipReferenceEnumerator_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(copy, core::mem::transmute(ok__)); + copy.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1977,7 +1977,7 @@ impl IOpcSignatureRelationshipReferenceSet_Vtbl { let this = (*this).get_impl(); match IOpcSignatureRelationshipReferenceSet_Impl::Create(this, windows_core::from_raw_borrowed(&sourceuri), core::mem::transmute(&digestmethod), core::mem::transmute_copy(&relationshipsigningoption), windows_core::from_raw_borrowed(&selectorset), core::mem::transmute_copy(&transformmethod)) { Ok(ok__) => { - core::ptr::write(relationshipreference, core::mem::transmute(ok__)); + relationshipreference.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1988,7 +1988,7 @@ impl IOpcSignatureRelationshipReferenceSet_Vtbl { let this = (*this).get_impl(); match IOpcSignatureRelationshipReferenceSet_Impl::CreateRelationshipSelectorSet(this) { Ok(ok__) => { - core::ptr::write(selectorset, core::mem::transmute(ok__)); + selectorset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2004,7 +2004,7 @@ impl IOpcSignatureRelationshipReferenceSet_Vtbl { let this = (*this).get_impl(); match IOpcSignatureRelationshipReferenceSet_Impl::GetEnumerator(this) { Ok(ok__) => { - core::ptr::write(relationshipreferenceenumerator, core::mem::transmute(ok__)); + relationshipreferenceenumerator.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2052,7 +2052,7 @@ impl IOpcSigningOptions_Vtbl { let this = (*this).get_impl(); match IOpcSigningOptions_Impl::GetSignatureId(this) { Ok(ok__) => { - core::ptr::write(signatureid, core::mem::transmute(ok__)); + signatureid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2068,7 +2068,7 @@ impl IOpcSigningOptions_Vtbl { let this = (*this).get_impl(); match IOpcSigningOptions_Impl::GetSignatureMethod(this) { Ok(ok__) => { - core::ptr::write(signaturemethod, core::mem::transmute(ok__)); + signaturemethod.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2084,7 +2084,7 @@ impl IOpcSigningOptions_Vtbl { let this = (*this).get_impl(); match IOpcSigningOptions_Impl::GetDefaultDigestMethod(this) { Ok(ok__) => { - core::ptr::write(digestmethod, core::mem::transmute(ok__)); + digestmethod.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2100,7 +2100,7 @@ impl IOpcSigningOptions_Vtbl { let this = (*this).get_impl(); match IOpcSigningOptions_Impl::GetCertificateEmbeddingOption(this) { Ok(ok__) => { - core::ptr::write(embeddingoption, core::mem::transmute(ok__)); + embeddingoption.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2116,7 +2116,7 @@ impl IOpcSigningOptions_Vtbl { let this = (*this).get_impl(); match IOpcSigningOptions_Impl::GetTimeFormat(this) { Ok(ok__) => { - core::ptr::write(timeformat, core::mem::transmute(ok__)); + timeformat.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2132,7 +2132,7 @@ impl IOpcSigningOptions_Vtbl { let this = (*this).get_impl(); match IOpcSigningOptions_Impl::GetSignaturePartReferenceSet(this) { Ok(ok__) => { - core::ptr::write(partreferenceset, core::mem::transmute(ok__)); + partreferenceset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2143,7 +2143,7 @@ impl IOpcSigningOptions_Vtbl { let this = (*this).get_impl(); match IOpcSigningOptions_Impl::GetSignatureRelationshipReferenceSet(this) { Ok(ok__) => { - core::ptr::write(relationshipreferenceset, core::mem::transmute(ok__)); + relationshipreferenceset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2154,7 +2154,7 @@ impl IOpcSigningOptions_Vtbl { let this = (*this).get_impl(); match IOpcSigningOptions_Impl::GetCustomObjectSet(this) { Ok(ok__) => { - core::ptr::write(customobjectset, core::mem::transmute(ok__)); + customobjectset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2165,7 +2165,7 @@ impl IOpcSigningOptions_Vtbl { let this = (*this).get_impl(); match IOpcSigningOptions_Impl::GetCustomReferenceSet(this) { Ok(ok__) => { - core::ptr::write(customreferenceset, core::mem::transmute(ok__)); + customreferenceset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2176,7 +2176,7 @@ impl IOpcSigningOptions_Vtbl { let this = (*this).get_impl(); match IOpcSigningOptions_Impl::GetCertificateSet(this) { Ok(ok__) => { - core::ptr::write(certificateset, core::mem::transmute(ok__)); + certificateset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2187,7 +2187,7 @@ impl IOpcSigningOptions_Vtbl { let this = (*this).get_impl(); match IOpcSigningOptions_Impl::GetSignaturePartName(this) { Ok(ok__) => { - core::ptr::write(signaturepartname, core::mem::transmute(ok__)); + signaturepartname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2239,7 +2239,7 @@ impl IOpcUri_Vtbl { let this = (*this).get_impl(); match IOpcUri_Impl::GetRelationshipsPartUri(this) { Ok(ok__) => { - core::ptr::write(relationshipparturi, core::mem::transmute(ok__)); + relationshipparturi.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2250,7 +2250,7 @@ impl IOpcUri_Vtbl { let this = (*this).get_impl(); match IOpcUri_Impl::GetRelativeUri(this, windows_core::from_raw_borrowed(&targetparturi)) { Ok(ok__) => { - core::ptr::write(relativeuri, core::mem::transmute(ok__)); + relativeuri.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2261,7 +2261,7 @@ impl IOpcUri_Vtbl { let this = (*this).get_impl(); match IOpcUri_Impl::CombinePartUri(this, windows_core::from_raw_borrowed(&relativeuri)) { Ok(ok__) => { - core::ptr::write(combineduri, core::mem::transmute(ok__)); + combineduri.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/Win32/Storage/VirtualDiskService/impl.rs b/crates/libs/windows/src/Windows/Win32/Storage/VirtualDiskService/impl.rs index a24b880105..113f41f8f9 100644 --- a/crates/libs/windows/src/Windows/Win32/Storage/VirtualDiskService/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Storage/VirtualDiskService/impl.rs @@ -27,7 +27,7 @@ impl IEnumVdsObject_Vtbl { let this = (*this).get_impl(); match IEnumVdsObject_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -102,7 +102,7 @@ impl IVdsAdvancedDisk_Vtbl { let this = (*this).get_impl(); match IVdsAdvancedDisk_Impl::CreatePartition(this, core::mem::transmute_copy(&ulloffset), core::mem::transmute_copy(&ullsize), core::mem::transmute_copy(¶)) { Ok(ok__) => { - core::ptr::write(ppasync, core::mem::transmute(ok__)); + ppasync.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -138,7 +138,7 @@ impl IVdsAdvancedDisk_Vtbl { let this = (*this).get_impl(); match IVdsAdvancedDisk_Impl::FormatPartition(this, core::mem::transmute_copy(&ulloffset), core::mem::transmute_copy(&r#type), core::mem::transmute(&pwszlabel), core::mem::transmute_copy(&dwunitallocationsize), core::mem::transmute_copy(&bforce), core::mem::transmute_copy(&bquickformat), core::mem::transmute_copy(&benablecompression)) { Ok(ok__) => { - core::ptr::write(ppasync, core::mem::transmute(ok__)); + ppasync.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -149,7 +149,7 @@ impl IVdsAdvancedDisk_Vtbl { let this = (*this).get_impl(); match IVdsAdvancedDisk_Impl::Clean(this, core::mem::transmute_copy(&bforce), core::mem::transmute_copy(&bforceoem), core::mem::transmute_copy(&bfullclean)) { Ok(ok__) => { - core::ptr::write(ppasync, core::mem::transmute(ok__)); + ppasync.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -207,7 +207,7 @@ impl IVdsAdvancedDisk3_Vtbl { let this = (*this).get_impl(); match IVdsAdvancedDisk3_Impl::GetUniqueId(this) { Ok(ok__) => { - core::ptr::write(ppwszid, core::mem::transmute(ok__)); + ppwszid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -297,7 +297,7 @@ impl IVdsController_Vtbl { let this = (*this).get_impl(); match IVdsController_Impl::GetSubSystem(this) { Ok(ok__) => { - core::ptr::write(ppsubsystem, core::mem::transmute(ok__)); + ppsubsystem.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -328,7 +328,7 @@ impl IVdsController_Vtbl { let this = (*this).get_impl(); match IVdsController_Impl::QueryAssociatedLuns(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -366,7 +366,7 @@ impl IVdsControllerControllerPort_Vtbl { let this = (*this).get_impl(); match IVdsControllerControllerPort_Impl::QueryControllerPorts(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -398,7 +398,7 @@ impl IVdsControllerPort_Vtbl { let this = (*this).get_impl(); match IVdsControllerPort_Impl::GetController(this) { Ok(ok__) => { - core::ptr::write(ppcontroller, core::mem::transmute(ok__)); + ppcontroller.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -409,7 +409,7 @@ impl IVdsControllerPort_Vtbl { let this = (*this).get_impl(); match IVdsControllerPort_Impl::QueryAssociatedLuns(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -449,7 +449,7 @@ impl IVdsCreatePartitionEx_Vtbl { let this = (*this).get_impl(); match IVdsCreatePartitionEx_Impl::CreatePartitionEx(this, core::mem::transmute_copy(&ulloffset), core::mem::transmute_copy(&ullsize), core::mem::transmute_copy(&ulalign), core::mem::transmute_copy(¶)) { Ok(ok__) => { - core::ptr::write(ppasync, core::mem::transmute(ok__)); + ppasync.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -483,7 +483,7 @@ impl IVdsDisk_Vtbl { let this = (*this).get_impl(); match IVdsDisk_Impl::GetPack(this) { Ok(ok__) => { - core::ptr::write(pppack, core::mem::transmute(ok__)); + pppack.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -619,7 +619,7 @@ impl IVdsDiskPartitionMF_Vtbl { let this = (*this).get_impl(); match IVdsDiskPartitionMF_Impl::GetPartitionFileSystemTypeName(this, core::mem::transmute_copy(&ulloffset)) { Ok(ok__) => { - core::ptr::write(ppwszfilesystemtypename, core::mem::transmute(ok__)); + ppwszfilesystemtypename.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -635,7 +635,7 @@ impl IVdsDiskPartitionMF_Vtbl { let this = (*this).get_impl(); match IVdsDiskPartitionMF_Impl::FormatPartitionEx(this, core::mem::transmute_copy(&ulloffset), core::mem::transmute(&pwszfilesystemtypename), core::mem::transmute_copy(&usfilesystemrevision), core::mem::transmute_copy(&uldesiredunitallocationsize), core::mem::transmute(&pwszlabel), core::mem::transmute_copy(&bforce), core::mem::transmute_copy(&bquickformat), core::mem::transmute_copy(&benablecompression)) { Ok(ok__) => { - core::ptr::write(ppasync, core::mem::transmute(ok__)); + ppasync.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -664,7 +664,7 @@ impl IVdsDiskPartitionMF2_Vtbl { let this = (*this).get_impl(); match IVdsDiskPartitionMF2_Impl::FormatPartitionEx2(this, core::mem::transmute_copy(&ulloffset), core::mem::transmute(&pwszfilesystemtypename), core::mem::transmute_copy(&usfilesystemrevision), core::mem::transmute_copy(&uldesiredunitallocationsize), core::mem::transmute(&pwszlabel), core::mem::transmute_copy(&options)) { Ok(ok__) => { - core::ptr::write(ppasync, core::mem::transmute(ok__)); + ppasync.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -697,7 +697,7 @@ impl IVdsDrive_Vtbl { let this = (*this).get_impl(); match IVdsDrive_Impl::GetSubSystem(this) { Ok(ok__) => { - core::ptr::write(ppsubsystem, core::mem::transmute(ok__)); + ppsubsystem.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -794,7 +794,7 @@ impl IVdsHwProvider_Vtbl { let this = (*this).get_impl(); match IVdsHwProvider_Impl::QuerySubSystems(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -832,7 +832,7 @@ impl IVdsHwProviderPrivate_Vtbl { let this = (*this).get_impl(); match IVdsHwProviderPrivate_Impl::QueryIfCreatedLun(this, core::mem::transmute(&pwszdevicepath), core::mem::transmute_copy(&pvdsluninformation)) { Ok(ok__) => { - core::ptr::write(plunid, core::mem::transmute(ok__)); + plunid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -877,7 +877,7 @@ impl IVdsHwProviderStoragePools_Vtbl { let this = (*this).get_impl(); match IVdsHwProviderStoragePools_Impl::QueryStoragePools(this, core::mem::transmute_copy(&ulflags), core::mem::transmute_copy(&ullremainingfreespace), core::mem::transmute_copy(&ppoolattributes)) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -888,7 +888,7 @@ impl IVdsHwProviderStoragePools_Vtbl { let this = (*this).get_impl(); match IVdsHwProviderStoragePools_Impl::CreateLunInStoragePool(this, core::mem::transmute_copy(&r#type), core::mem::transmute_copy(&ullsizeinbytes), core::mem::transmute(&storagepoolid), core::mem::transmute(&pwszunmaskinglist), core::mem::transmute_copy(&phints2)) { Ok(ok__) => { - core::ptr::write(ppasync, core::mem::transmute(ok__)); + ppasync.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -899,7 +899,7 @@ impl IVdsHwProviderStoragePools_Vtbl { let this = (*this).get_impl(); match IVdsHwProviderStoragePools_Impl::QueryMaxLunCreateSizeInStoragePool(this, core::mem::transmute_copy(&r#type), core::mem::transmute(&storagepoolid), core::mem::transmute_copy(&phints2)) { Ok(ok__) => { - core::ptr::write(pullmaxlunsize, core::mem::transmute(ok__)); + pullmaxlunsize.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -927,7 +927,7 @@ impl IVdsHwProviderType_Vtbl { let this = (*this).get_impl(); match IVdsHwProviderType_Impl::GetProviderType(this) { Ok(ok__) => { - core::ptr::write(ptype, core::mem::transmute(ok__)); + ptype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -950,7 +950,7 @@ impl IVdsHwProviderType2_Vtbl { let this = (*this).get_impl(); match IVdsHwProviderType2_Impl::GetProviderType2(this) { Ok(ok__) => { - core::ptr::write(ptype, core::mem::transmute(ok__)); + ptype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -981,7 +981,7 @@ impl IVdsIscsiInitiatorAdapter_Vtbl { let this = (*this).get_impl(); match IVdsIscsiInitiatorAdapter_Impl::QueryInitiatorPortals(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -992,7 +992,7 @@ impl IVdsIscsiInitiatorAdapter_Vtbl { let this = (*this).get_impl(); match IVdsIscsiInitiatorAdapter_Impl::LoginToTarget(this, core::mem::transmute_copy(&logintype), core::mem::transmute(&targetid), core::mem::transmute(&targetportalid), core::mem::transmute(&initiatorportalid), core::mem::transmute_copy(&ulloginflags), core::mem::transmute_copy(&bheaderdigest), core::mem::transmute_copy(&bdatadigest), core::mem::transmute_copy(&authtype)) { Ok(ok__) => { - core::ptr::write(ppasync, core::mem::transmute(ok__)); + ppasync.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1003,7 +1003,7 @@ impl IVdsIscsiInitiatorAdapter_Vtbl { let this = (*this).get_impl(); match IVdsIscsiInitiatorAdapter_Impl::LogoutFromTarget(this, core::mem::transmute(&targetid)) { Ok(ok__) => { - core::ptr::write(ppasync, core::mem::transmute(ok__)); + ppasync.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1041,7 +1041,7 @@ impl IVdsIscsiInitiatorPortal_Vtbl { let this = (*this).get_impl(); match IVdsIscsiInitiatorPortal_Impl::GetInitiatorAdapter(this) { Ok(ok__) => { - core::ptr::write(ppinitiatoradapter, core::mem::transmute(ok__)); + ppinitiatoradapter.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1057,7 +1057,7 @@ impl IVdsIscsiInitiatorPortal_Vtbl { let this = (*this).get_impl(); match IVdsIscsiInitiatorPortal_Impl::GetIpsecSecurity(this, core::mem::transmute(&targetportalid)) { Ok(ok__) => { - core::ptr::write(pullsecurityflags, core::mem::transmute(ok__)); + pullsecurityflags.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1103,7 +1103,7 @@ impl IVdsIscsiPortal_Vtbl { let this = (*this).get_impl(); match IVdsIscsiPortal_Impl::GetSubSystem(this) { Ok(ok__) => { - core::ptr::write(ppsubsystem, core::mem::transmute(ok__)); + ppsubsystem.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1114,7 +1114,7 @@ impl IVdsIscsiPortal_Vtbl { let this = (*this).get_impl(); match IVdsIscsiPortal_Impl::QueryAssociatedPortalGroups(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1135,7 +1135,7 @@ impl IVdsIscsiPortal_Vtbl { let this = (*this).get_impl(); match IVdsIscsiPortal_Impl::GetIpsecSecurity(this, core::mem::transmute_copy(&pinitiatorportaladdress)) { Ok(ok__) => { - core::ptr::write(pullsecurityflags, core::mem::transmute(ok__)); + pullsecurityflags.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1182,7 +1182,7 @@ impl IVdsIscsiPortalGroup_Vtbl { let this = (*this).get_impl(); match IVdsIscsiPortalGroup_Impl::GetTarget(this) { Ok(ok__) => { - core::ptr::write(pptarget, core::mem::transmute(ok__)); + pptarget.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1193,7 +1193,7 @@ impl IVdsIscsiPortalGroup_Vtbl { let this = (*this).get_impl(); match IVdsIscsiPortalGroup_Impl::QueryAssociatedPortals(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1204,7 +1204,7 @@ impl IVdsIscsiPortalGroup_Vtbl { let this = (*this).get_impl(); match IVdsIscsiPortalGroup_Impl::AddPortal(this, core::mem::transmute(&portalid)) { Ok(ok__) => { - core::ptr::write(ppasync, core::mem::transmute(ok__)); + ppasync.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1215,7 +1215,7 @@ impl IVdsIscsiPortalGroup_Vtbl { let this = (*this).get_impl(); match IVdsIscsiPortalGroup_Impl::RemovePortal(this, core::mem::transmute(&portalid)) { Ok(ok__) => { - core::ptr::write(ppasync, core::mem::transmute(ok__)); + ppasync.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1226,7 +1226,7 @@ impl IVdsIscsiPortalGroup_Vtbl { let this = (*this).get_impl(); match IVdsIscsiPortalGroup_Impl::Delete(this) { Ok(ok__) => { - core::ptr::write(ppasync, core::mem::transmute(ok__)); + ppasync.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1288,7 +1288,7 @@ impl IVdsIscsiTarget_Vtbl { let this = (*this).get_impl(); match IVdsIscsiTarget_Impl::GetSubSystem(this) { Ok(ok__) => { - core::ptr::write(ppsubsystem, core::mem::transmute(ok__)); + ppsubsystem.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1299,7 +1299,7 @@ impl IVdsIscsiTarget_Vtbl { let this = (*this).get_impl(); match IVdsIscsiTarget_Impl::QueryPortalGroups(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1310,7 +1310,7 @@ impl IVdsIscsiTarget_Vtbl { let this = (*this).get_impl(); match IVdsIscsiTarget_Impl::QueryAssociatedLuns(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1321,7 +1321,7 @@ impl IVdsIscsiTarget_Vtbl { let this = (*this).get_impl(); match IVdsIscsiTarget_Impl::CreatePortalGroup(this) { Ok(ok__) => { - core::ptr::write(ppasync, core::mem::transmute(ok__)); + ppasync.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1332,7 +1332,7 @@ impl IVdsIscsiTarget_Vtbl { let this = (*this).get_impl(); match IVdsIscsiTarget_Impl::Delete(this) { Ok(ok__) => { - core::ptr::write(ppasync, core::mem::transmute(ok__)); + ppasync.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1408,7 +1408,7 @@ impl IVdsLun_Vtbl { let this = (*this).get_impl(); match IVdsLun_Impl::GetSubSystem(this) { Ok(ok__) => { - core::ptr::write(ppsubsystem, core::mem::transmute(ok__)); + ppsubsystem.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1424,7 +1424,7 @@ impl IVdsLun_Vtbl { let this = (*this).get_impl(); match IVdsLun_Impl::QueryActiveControllers(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1435,7 +1435,7 @@ impl IVdsLun_Vtbl { let this = (*this).get_impl(); match IVdsLun_Impl::Extend(this, core::mem::transmute_copy(&ullnumberofbytestoadd), core::mem::transmute_copy(&pdriveidarray), core::mem::transmute_copy(&lnumberofdrives)) { Ok(ok__) => { - core::ptr::write(ppasync, core::mem::transmute(ok__)); + ppasync.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1446,7 +1446,7 @@ impl IVdsLun_Vtbl { let this = (*this).get_impl(); match IVdsLun_Impl::Shrink(this, core::mem::transmute_copy(&ullnumberofbytestoremove)) { Ok(ok__) => { - core::ptr::write(ppasync, core::mem::transmute(ok__)); + ppasync.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1457,7 +1457,7 @@ impl IVdsLun_Vtbl { let this = (*this).get_impl(); match IVdsLun_Impl::QueryPlexes(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1468,7 +1468,7 @@ impl IVdsLun_Vtbl { let this = (*this).get_impl(); match IVdsLun_Impl::AddPlex(this, core::mem::transmute(&lunid)) { Ok(ok__) => { - core::ptr::write(ppasync, core::mem::transmute(ok__)); + ppasync.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1479,7 +1479,7 @@ impl IVdsLun_Vtbl { let this = (*this).get_impl(); match IVdsLun_Impl::RemovePlex(this, core::mem::transmute(&plexid)) { Ok(ok__) => { - core::ptr::write(ppasync, core::mem::transmute(ok__)); + ppasync.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1490,7 +1490,7 @@ impl IVdsLun_Vtbl { let this = (*this).get_impl(); match IVdsLun_Impl::Recover(this) { Ok(ok__) => { - core::ptr::write(ppasync, core::mem::transmute(ok__)); + ppasync.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1531,7 +1531,7 @@ impl IVdsLun_Vtbl { let this = (*this).get_impl(); match IVdsLun_Impl::QueryMaxLunExtendSize(this, core::mem::transmute_copy(&pdriveidarray), core::mem::transmute_copy(&lnumberofdrives)) { Ok(ok__) => { - core::ptr::write(pullmaxbytestobeadded, core::mem::transmute(ok__)); + pullmaxbytestobeadded.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1606,7 +1606,7 @@ impl IVdsLunControllerPorts_Vtbl { let this = (*this).get_impl(); match IVdsLunControllerPorts_Impl::QueryActiveControllerPorts(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1639,7 +1639,7 @@ impl IVdsLunIscsi_Vtbl { let this = (*this).get_impl(); match IVdsLunIscsi_Impl::QueryAssociatedTargets(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1684,7 +1684,7 @@ impl IVdsLunMpio_Vtbl { let this = (*this).get_impl(); match IVdsLunMpio_Impl::GetSupportedLbPolicies(this) { Ok(ok__) => { - core::ptr::write(pullbflags, core::mem::transmute(ok__)); + pullbflags.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1730,7 +1730,7 @@ impl IVdsLunNumber_Vtbl { let this = (*this).get_impl(); match IVdsLunNumber_Impl::GetLunNumber(this) { Ok(ok__) => { - core::ptr::write(pullunnumber, core::mem::transmute(ok__)); + pullunnumber.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1762,7 +1762,7 @@ impl IVdsLunPlex_Vtbl { let this = (*this).get_impl(); match IVdsLunPlex_Impl::GetLun(this) { Ok(ok__) => { - core::ptr::write(pplun, core::mem::transmute(ok__)); + pplun.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1849,7 +1849,7 @@ impl IVdsOpenVDisk_Vtbl { let this = (*this).get_impl(); match IVdsOpenVDisk_Impl::Attach(this, core::mem::transmute(&pstringsecuritydescriptor), core::mem::transmute_copy(&flags), core::mem::transmute_copy(&providerspecificflags), core::mem::transmute_copy(&timeoutinms)) { Ok(ok__) => { - core::ptr::write(ppasync, core::mem::transmute(ok__)); + ppasync.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1870,7 +1870,7 @@ impl IVdsOpenVDisk_Vtbl { let this = (*this).get_impl(); match IVdsOpenVDisk_Impl::Compact(this, core::mem::transmute_copy(&flags), core::mem::transmute_copy(&reserved)) { Ok(ok__) => { - core::ptr::write(ppasync, core::mem::transmute(ok__)); + ppasync.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1881,7 +1881,7 @@ impl IVdsOpenVDisk_Vtbl { let this = (*this).get_impl(); match IVdsOpenVDisk_Impl::Merge(this, core::mem::transmute_copy(&flags), core::mem::transmute_copy(&mergedepth)) { Ok(ok__) => { - core::ptr::write(ppasync, core::mem::transmute(ok__)); + ppasync.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1892,7 +1892,7 @@ impl IVdsOpenVDisk_Vtbl { let this = (*this).get_impl(); match IVdsOpenVDisk_Impl::Expand(this, core::mem::transmute_copy(&flags), core::mem::transmute_copy(&newsize)) { Ok(ok__) => { - core::ptr::write(ppasync, core::mem::transmute(ok__)); + ppasync.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1937,7 +1937,7 @@ impl IVdsPack_Vtbl { let this = (*this).get_impl(); match IVdsPack_Impl::GetProvider(this) { Ok(ok__) => { - core::ptr::write(ppprovider, core::mem::transmute(ok__)); + ppprovider.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1948,7 +1948,7 @@ impl IVdsPack_Vtbl { let this = (*this).get_impl(); match IVdsPack_Impl::QueryVolumes(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1959,7 +1959,7 @@ impl IVdsPack_Vtbl { let this = (*this).get_impl(); match IVdsPack_Impl::QueryDisks(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1970,7 +1970,7 @@ impl IVdsPack_Vtbl { let this = (*this).get_impl(); match IVdsPack_Impl::CreateVolume(this, core::mem::transmute_copy(&r#type), core::mem::transmute_copy(&pinputdiskarray), core::mem::transmute_copy(&lnumberofdisks), core::mem::transmute_copy(&ulstripesize)) { Ok(ok__) => { - core::ptr::write(ppasync, core::mem::transmute(ok__)); + ppasync.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1991,7 +1991,7 @@ impl IVdsPack_Vtbl { let this = (*this).get_impl(); match IVdsPack_Impl::ReplaceDisk(this, core::mem::transmute(&olddiskid), core::mem::transmute(&newdiskid)) { Ok(ok__) => { - core::ptr::write(ppasync, core::mem::transmute(ok__)); + ppasync.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2007,7 +2007,7 @@ impl IVdsPack_Vtbl { let this = (*this).get_impl(); match IVdsPack_Impl::Recover(this) { Ok(ok__) => { - core::ptr::write(ppasync, core::mem::transmute(ok__)); + ppasync.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2042,7 +2042,7 @@ impl IVdsPack2_Vtbl { let this = (*this).get_impl(); match IVdsPack2_Impl::CreateVolume2(this, core::mem::transmute_copy(&r#type), core::mem::transmute_copy(&pinputdiskarray), core::mem::transmute_copy(&lnumberofdisks), core::mem::transmute_copy(&ulstripesize), core::mem::transmute_copy(&ulalign)) { Ok(ok__) => { - core::ptr::write(ppasync, core::mem::transmute(ok__)); + ppasync.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2084,7 +2084,7 @@ impl IVdsProviderPrivate_Vtbl { let this = (*this).get_impl(); match IVdsProviderPrivate_Impl::GetObject(this, core::mem::transmute(&objectid), core::mem::transmute_copy(&r#type)) { Ok(ok__) => { - core::ptr::write(ppobjectunk, core::mem::transmute(ok__)); + ppobjectunk.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2122,7 +2122,7 @@ impl IVdsProviderSupport_Vtbl { let this = (*this).get_impl(); match IVdsProviderSupport_Impl::GetVersionSupport(this) { Ok(ok__) => { - core::ptr::write(ulversionsupport, core::mem::transmute(ok__)); + ulversionsupport.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2198,7 +2198,7 @@ impl IVdsService_Vtbl { let this = (*this).get_impl(); match IVdsService_Impl::GetProperties(this) { Ok(ok__) => { - core::ptr::write(pserviceprop, core::mem::transmute(ok__)); + pserviceprop.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2209,7 +2209,7 @@ impl IVdsService_Vtbl { let this = (*this).get_impl(); match IVdsService_Impl::QueryProviders(this, core::mem::transmute_copy(&masks)) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2220,7 +2220,7 @@ impl IVdsService_Vtbl { let this = (*this).get_impl(); match IVdsService_Impl::QueryMaskedDisks(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2231,7 +2231,7 @@ impl IVdsService_Vtbl { let this = (*this).get_impl(); match IVdsService_Impl::QueryUnallocatedDisks(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2242,7 +2242,7 @@ impl IVdsService_Vtbl { let this = (*this).get_impl(); match IVdsService_Impl::GetObject(this, core::mem::transmute(&objectid), core::mem::transmute_copy(&r#type)) { Ok(ok__) => { - core::ptr::write(ppobjectunk, core::mem::transmute(ok__)); + ppobjectunk.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2278,7 +2278,7 @@ impl IVdsService_Vtbl { let this = (*this).get_impl(); match IVdsService_Impl::Advise(this, windows_core::from_raw_borrowed(&psink)) { Ok(ok__) => { - core::ptr::write(pdwcookie, core::mem::transmute(ok__)); + pdwcookie.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2340,7 +2340,7 @@ impl IVdsServiceHba_Vtbl { let this = (*this).get_impl(); match IVdsServiceHba_Impl::QueryHbaPorts(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2386,7 +2386,7 @@ impl IVdsServiceIscsi_Vtbl { let this = (*this).get_impl(); match IVdsServiceIscsi_Impl::GetInitiatorName(this) { Ok(ok__) => { - core::ptr::write(ppwsziscsiname, core::mem::transmute(ok__)); + ppwsziscsiname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2397,7 +2397,7 @@ impl IVdsServiceIscsi_Vtbl { let this = (*this).get_impl(); match IVdsServiceIscsi_Impl::QueryInitiatorAdapters(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2454,7 +2454,7 @@ impl IVdsServiceLoader_Vtbl { let this = (*this).get_impl(); match IVdsServiceLoader_Impl::LoadService(this, core::mem::transmute(&pwszmachinename)) { Ok(ok__) => { - core::ptr::write(ppservice, core::mem::transmute(ok__)); + ppservice.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2478,7 +2478,7 @@ impl IVdsServiceSAN_Vtbl { let this = (*this).get_impl(); match IVdsServiceSAN_Impl::GetSANPolicy(this) { Ok(ok__) => { - core::ptr::write(psanpolicy, core::mem::transmute(ok__)); + psanpolicy.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2510,7 +2510,7 @@ impl IVdsServiceSw_Vtbl { let this = (*this).get_impl(); match IVdsServiceSw_Impl::GetDiskObject(this, core::mem::transmute(&pwszdeviceid)) { Ok(ok__) => { - core::ptr::write(ppdiskunk, core::mem::transmute(ok__)); + ppdiskunk.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2534,7 +2534,7 @@ impl IVdsServiceUninstallDisk_Vtbl { let this = (*this).get_impl(); match IVdsServiceUninstallDisk_Impl::GetDiskIdFromLunInfo(this, core::mem::transmute_copy(&pluninfo)) { Ok(ok__) => { - core::ptr::write(pdiskid, core::mem::transmute(ok__)); + pdiskid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2571,7 +2571,7 @@ impl IVdsStoragePool_Vtbl { let this = (*this).get_impl(); match IVdsStoragePool_Impl::GetProvider(this) { Ok(ok__) => { - core::ptr::write(ppprovider, core::mem::transmute(ok__)); + ppprovider.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2597,7 +2597,7 @@ impl IVdsStoragePool_Vtbl { let this = (*this).get_impl(); match IVdsStoragePool_Impl::QueryAllocatedLuns(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2608,7 +2608,7 @@ impl IVdsStoragePool_Vtbl { let this = (*this).get_impl(); match IVdsStoragePool_Impl::QueryAllocatedStoragePools(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2655,7 +2655,7 @@ impl IVdsSubSystem_Vtbl { let this = (*this).get_impl(); match IVdsSubSystem_Impl::GetProvider(this) { Ok(ok__) => { - core::ptr::write(ppprovider, core::mem::transmute(ok__)); + ppprovider.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2666,7 +2666,7 @@ impl IVdsSubSystem_Vtbl { let this = (*this).get_impl(); match IVdsSubSystem_Impl::QueryControllers(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2677,7 +2677,7 @@ impl IVdsSubSystem_Vtbl { let this = (*this).get_impl(); match IVdsSubSystem_Impl::QueryLuns(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2688,7 +2688,7 @@ impl IVdsSubSystem_Vtbl { let this = (*this).get_impl(); match IVdsSubSystem_Impl::QueryDrives(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2699,7 +2699,7 @@ impl IVdsSubSystem_Vtbl { let this = (*this).get_impl(); match IVdsSubSystem_Impl::GetDrive(this, core::mem::transmute_copy(&sbusnumber), core::mem::transmute_copy(&sslotnumber)) { Ok(ok__) => { - core::ptr::write(ppdrive, core::mem::transmute(ok__)); + ppdrive.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2720,7 +2720,7 @@ impl IVdsSubSystem_Vtbl { let this = (*this).get_impl(); match IVdsSubSystem_Impl::CreateLun(this, core::mem::transmute_copy(&r#type), core::mem::transmute_copy(&ullsizeinbytes), core::mem::transmute_copy(&pdriveidarray), core::mem::transmute_copy(&lnumberofdrives), core::mem::transmute(&pwszunmaskinglist), core::mem::transmute_copy(&phints)) { Ok(ok__) => { - core::ptr::write(ppasync, core::mem::transmute(ok__)); + ppasync.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2741,7 +2741,7 @@ impl IVdsSubSystem_Vtbl { let this = (*this).get_impl(); match IVdsSubSystem_Impl::QueryMaxLunCreateSize(this, core::mem::transmute_copy(&r#type), core::mem::transmute_copy(&pdriveidarray), core::mem::transmute_copy(&lnumberofdrives), core::mem::transmute_copy(&phints)) { Ok(ok__) => { - core::ptr::write(pullmaxlunsize, core::mem::transmute(ok__)); + pullmaxlunsize.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2786,7 +2786,7 @@ impl IVdsSubSystem2_Vtbl { let this = (*this).get_impl(); match IVdsSubSystem2_Impl::GetDrive2(this, core::mem::transmute_copy(&sbusnumber), core::mem::transmute_copy(&sslotnumber), core::mem::transmute_copy(&ulenclosurenumber)) { Ok(ok__) => { - core::ptr::write(ppdrive, core::mem::transmute(ok__)); + ppdrive.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2797,7 +2797,7 @@ impl IVdsSubSystem2_Vtbl { let this = (*this).get_impl(); match IVdsSubSystem2_Impl::CreateLun2(this, core::mem::transmute_copy(&r#type), core::mem::transmute_copy(&ullsizeinbytes), core::mem::transmute_copy(&pdriveidarray), core::mem::transmute_copy(&lnumberofdrives), core::mem::transmute(&pwszunmaskinglist), core::mem::transmute_copy(&phints2)) { Ok(ok__) => { - core::ptr::write(ppasync, core::mem::transmute(ok__)); + ppasync.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2808,7 +2808,7 @@ impl IVdsSubSystem2_Vtbl { let this = (*this).get_impl(); match IVdsSubSystem2_Impl::QueryMaxLunCreateSize2(this, core::mem::transmute_copy(&r#type), core::mem::transmute_copy(&pdriveidarray), core::mem::transmute_copy(&lnumberofdrives), core::mem::transmute_copy(&phints2)) { Ok(ok__) => { - core::ptr::write(pullmaxlunsize, core::mem::transmute(ok__)); + pullmaxlunsize.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2838,7 +2838,7 @@ impl IVdsSubSystemImportTarget_Vtbl { let this = (*this).get_impl(); match IVdsSubSystemImportTarget_Impl::GetImportTarget(this) { Ok(ok__) => { - core::ptr::write(ppwsziscsiname, core::mem::transmute(ok__)); + ppwsziscsiname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2870,7 +2870,7 @@ impl IVdsSubSystemInterconnect_Vtbl { let this = (*this).get_impl(); match IVdsSubSystemInterconnect_Impl::GetSupportedInterconnects(this) { Ok(ok__) => { - core::ptr::write(pulsupportedinterconnectsflag, core::mem::transmute(ok__)); + pulsupportedinterconnectsflag.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2896,7 +2896,7 @@ impl IVdsSubSystemIscsi_Vtbl { let this = (*this).get_impl(); match IVdsSubSystemIscsi_Impl::QueryTargets(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2907,7 +2907,7 @@ impl IVdsSubSystemIscsi_Vtbl { let this = (*this).get_impl(); match IVdsSubSystemIscsi_Impl::QueryPortals(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2918,7 +2918,7 @@ impl IVdsSubSystemIscsi_Vtbl { let this = (*this).get_impl(); match IVdsSubSystemIscsi_Impl::CreateTarget(this, core::mem::transmute(&pwsziscsiname), core::mem::transmute(&pwszfriendlyname)) { Ok(ok__) => { - core::ptr::write(ppasync, core::mem::transmute(ok__)); + ppasync.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2970,7 +2970,7 @@ impl IVdsSwProvider_Vtbl { let this = (*this).get_impl(); match IVdsSwProvider_Impl::QueryPacks(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2981,7 +2981,7 @@ impl IVdsSwProvider_Vtbl { let this = (*this).get_impl(); match IVdsSwProvider_Impl::CreatePack(this) { Ok(ok__) => { - core::ptr::write(pppack, core::mem::transmute(ok__)); + pppack.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3014,7 +3014,7 @@ impl IVdsVDisk_Vtbl { let this = (*this).get_impl(); match IVdsVDisk_Impl::Open(this, core::mem::transmute_copy(&accessmask), core::mem::transmute_copy(&flags), core::mem::transmute_copy(&readwritedepth)) { Ok(ok__) => { - core::ptr::write(ppopenvdisk, core::mem::transmute(ok__)); + ppopenvdisk.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3030,7 +3030,7 @@ impl IVdsVDisk_Vtbl { let this = (*this).get_impl(); match IVdsVDisk_Impl::GetHostVolume(this) { Ok(ok__) => { - core::ptr::write(ppvolume, core::mem::transmute(ok__)); + ppvolume.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3041,7 +3041,7 @@ impl IVdsVDisk_Vtbl { let this = (*this).get_impl(); match IVdsVDisk_Impl::GetDeviceName(this) { Ok(ok__) => { - core::ptr::write(ppdevicename, core::mem::transmute(ok__)); + ppdevicename.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3077,7 +3077,7 @@ impl IVdsVdProvider_Vtbl { let this = (*this).get_impl(); match IVdsVdProvider_Impl::QueryVDisks(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3098,7 +3098,7 @@ impl IVdsVdProvider_Vtbl { let this = (*this).get_impl(); match IVdsVdProvider_Impl::GetDiskFromVDisk(this, windows_core::from_raw_borrowed(&pvdisk)) { Ok(ok__) => { - core::ptr::write(ppdisk, core::mem::transmute(ok__)); + ppdisk.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3109,7 +3109,7 @@ impl IVdsVdProvider_Vtbl { let this = (*this).get_impl(); match IVdsVdProvider_Impl::GetVDiskFromDisk(this, windows_core::from_raw_borrowed(&pdisk)) { Ok(ok__) => { - core::ptr::write(ppvdisk, core::mem::transmute(ok__)); + ppvdisk.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3154,7 +3154,7 @@ impl IVdsVolume_Vtbl { let this = (*this).get_impl(); match IVdsVolume_Impl::GetPack(this) { Ok(ok__) => { - core::ptr::write(pppack, core::mem::transmute(ok__)); + pppack.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3165,7 +3165,7 @@ impl IVdsVolume_Vtbl { let this = (*this).get_impl(); match IVdsVolume_Impl::QueryPlexes(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3176,7 +3176,7 @@ impl IVdsVolume_Vtbl { let this = (*this).get_impl(); match IVdsVolume_Impl::Extend(this, core::mem::transmute_copy(&pinputdiskarray), core::mem::transmute_copy(&lnumberofdisks)) { Ok(ok__) => { - core::ptr::write(ppasync, core::mem::transmute(ok__)); + ppasync.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3187,7 +3187,7 @@ impl IVdsVolume_Vtbl { let this = (*this).get_impl(); match IVdsVolume_Impl::Shrink(this, core::mem::transmute_copy(&ullnumberofbytestoremove)) { Ok(ok__) => { - core::ptr::write(ppasync, core::mem::transmute(ok__)); + ppasync.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3198,7 +3198,7 @@ impl IVdsVolume_Vtbl { let this = (*this).get_impl(); match IVdsVolume_Impl::AddPlex(this, core::mem::transmute(&volumeid)) { Ok(ok__) => { - core::ptr::write(ppasync, core::mem::transmute(ok__)); + ppasync.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3209,7 +3209,7 @@ impl IVdsVolume_Vtbl { let this = (*this).get_impl(); match IVdsVolume_Impl::BreakPlex(this, core::mem::transmute(&plexid)) { Ok(ok__) => { - core::ptr::write(ppasync, core::mem::transmute(ok__)); + ppasync.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3220,7 +3220,7 @@ impl IVdsVolume_Vtbl { let this = (*this).get_impl(); match IVdsVolume_Impl::RemovePlex(this, core::mem::transmute(&plexid)) { Ok(ok__) => { - core::ptr::write(ppasync, core::mem::transmute(ok__)); + ppasync.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3302,7 +3302,7 @@ impl IVdsVolumeMF_Vtbl { let this = (*this).get_impl(); match IVdsVolumeMF_Impl::Format(this, core::mem::transmute_copy(&r#type), core::mem::transmute(&pwszlabel), core::mem::transmute_copy(&dwunitallocationsize), core::mem::transmute_copy(&bforce), core::mem::transmute_copy(&bquickformat), core::mem::transmute_copy(&benablecompression)) { Ok(ok__) => { - core::ptr::write(ppasync, core::mem::transmute(ok__)); + ppasync.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3379,7 +3379,7 @@ impl IVdsVolumeMF2_Vtbl { let this = (*this).get_impl(); match IVdsVolumeMF2_Impl::GetFileSystemTypeName(this) { Ok(ok__) => { - core::ptr::write(ppwszfilesystemtypename, core::mem::transmute(ok__)); + ppwszfilesystemtypename.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3395,7 +3395,7 @@ impl IVdsVolumeMF2_Vtbl { let this = (*this).get_impl(); match IVdsVolumeMF2_Impl::FormatEx(this, core::mem::transmute(&pwszfilesystemtypename), core::mem::transmute_copy(&usfilesystemrevision), core::mem::transmute_copy(&uldesiredunitallocationsize), core::mem::transmute(&pwszlabel), core::mem::transmute_copy(&bforce), core::mem::transmute_copy(&bquickformat), core::mem::transmute_copy(&benablecompression)) { Ok(ok__) => { - core::ptr::write(ppasync, core::mem::transmute(ok__)); + ppasync.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3430,7 +3430,7 @@ impl IVdsVolumeMF3_Vtbl { let this = (*this).get_impl(); match IVdsVolumeMF3_Impl::FormatEx2(this, core::mem::transmute(&pwszfilesystemtypename), core::mem::transmute_copy(&usfilesystemrevision), core::mem::transmute_copy(&uldesiredunitallocationsize), core::mem::transmute(&pwszlabel), core::mem::transmute_copy(&options)) { Ok(ok__) => { - core::ptr::write(ppasync, core::mem::transmute(ok__)); + ppasync.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3488,7 +3488,7 @@ impl IVdsVolumePlex_Vtbl { let this = (*this).get_impl(); match IVdsVolumePlex_Impl::GetVolume(this) { Ok(ok__) => { - core::ptr::write(ppvolume, core::mem::transmute(ok__)); + ppvolume.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3504,7 +3504,7 @@ impl IVdsVolumePlex_Vtbl { let this = (*this).get_impl(); match IVdsVolumePlex_Impl::Repair(this, core::mem::transmute_copy(&pinputdiskarray), core::mem::transmute_copy(&lnumberofdisks)) { Ok(ok__) => { - core::ptr::write(ppasync, core::mem::transmute(ok__)); + ppasync.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3534,7 +3534,7 @@ impl IVdsVolumeShrink_Vtbl { let this = (*this).get_impl(); match IVdsVolumeShrink_Impl::QueryMaxReclaimableBytes(this) { Ok(ok__) => { - core::ptr::write(pullmaxnumberofreclaimablebytes, core::mem::transmute(ok__)); + pullmaxnumberofreclaimablebytes.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3545,7 +3545,7 @@ impl IVdsVolumeShrink_Vtbl { let this = (*this).get_impl(); match IVdsVolumeShrink_Impl::Shrink(this, core::mem::transmute_copy(&ulldesirednumberofreclaimablebytes), core::mem::transmute_copy(&ullminnumberofreclaimablebytes)) { Ok(ok__) => { - core::ptr::write(ppasync, core::mem::transmute(ok__)); + ppasync.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/Win32/Storage/Vss/impl.rs b/crates/libs/windows/src/Windows/Win32/Storage/Vss/impl.rs index 6ff7797877..8a9561f6ad 100644 --- a/crates/libs/windows/src/Windows/Win32/Storage/Vss/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Storage/Vss/impl.rs @@ -22,7 +22,7 @@ impl IVssAdmin_Vtbl { let this = (*this).get_impl(); match IVssAdmin_Impl::QueryProviders(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -58,7 +58,7 @@ impl IVssAdminEx_Vtbl { let this = (*this).get_impl(); match IVssAdminEx_Impl::GetProviderCapability(this, core::mem::transmute(&pproviderid)) { Ok(ok__) => { - core::ptr::write(plloriginalcapabilitymask, core::mem::transmute(ok__)); + plloriginalcapabilitymask.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -69,7 +69,7 @@ impl IVssAdminEx_Vtbl { let this = (*this).get_impl(); match IVssAdminEx_Impl::GetProviderContext(this, core::mem::transmute(&providerid)) { Ok(ok__) => { - core::ptr::write(plcontext, core::mem::transmute(ok__)); + plcontext.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -198,7 +198,7 @@ impl IVssComponent_Vtbl { let this = (*this).get_impl(); match IVssComponent_Impl::GetAlternateLocationMapping(this, core::mem::transmute_copy(&imapping)) { Ok(ok__) => { - core::ptr::write(ppfiledesc, core::mem::transmute(ok__)); + ppfiledesc.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -249,7 +249,7 @@ impl IVssComponent_Vtbl { let this = (*this).get_impl(); match IVssComponent_Impl::GetNewTarget(this, core::mem::transmute_copy(&inewtarget)) { Ok(ok__) => { - core::ptr::write(ppfiledesc, core::mem::transmute(ok__)); + ppfiledesc.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -443,7 +443,7 @@ impl IVssComponentEx_Vtbl { let this = (*this).get_impl(); match IVssComponentEx_Impl::GetPrepareForBackupFailureMsg(this) { Ok(ok__) => { - core::ptr::write(pbstrfailuremsg, core::mem::transmute(ok__)); + pbstrfailuremsg.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -454,7 +454,7 @@ impl IVssComponentEx_Vtbl { let this = (*this).get_impl(); match IVssComponentEx_Impl::GetPostSnapshotFailureMsg(this) { Ok(ok__) => { - core::ptr::write(pbstrfailuremsg, core::mem::transmute(ok__)); + pbstrfailuremsg.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -465,7 +465,7 @@ impl IVssComponentEx_Vtbl { let this = (*this).get_impl(); match IVssComponentEx_Impl::GetAuthoritativeRestore(this) { Ok(ok__) => { - core::ptr::write(pbauth, core::mem::transmute(ok__)); + pbauth.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -481,7 +481,7 @@ impl IVssComponentEx_Vtbl { let this = (*this).get_impl(); match IVssComponentEx_Impl::GetRestoreName(this) { Ok(ok__) => { - core::ptr::write(pbstrname, core::mem::transmute(ok__)); + pbstrname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -576,7 +576,7 @@ impl IVssCreateExpressWriterMetadata_Vtbl { let this = (*this).get_impl(); match IVssCreateExpressWriterMetadata_Impl::SaveAsXML(this) { Ok(ok__) => { - core::ptr::write(pbstrxml, core::mem::transmute(ok__)); + pbstrxml.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -670,7 +670,7 @@ impl IVssCreateWriterMetadata_Vtbl { let this = &*((*this).this as *const Impl); match IVssCreateWriterMetadata_Impl::GetDocument(this) { Ok(ok__) => { - core::ptr::write(pdoc, core::mem::transmute(ok__)); + pdoc.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -738,7 +738,7 @@ impl IVssDifferentialSoftwareSnapshotMgmt_Vtbl { let this = (*this).get_impl(); match IVssDifferentialSoftwareSnapshotMgmt_Impl::QueryVolumesSupportedForDiffAreas(this, core::mem::transmute_copy(&pwszoriginalvolumename)) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -749,7 +749,7 @@ impl IVssDifferentialSoftwareSnapshotMgmt_Vtbl { let this = (*this).get_impl(); match IVssDifferentialSoftwareSnapshotMgmt_Impl::QueryDiffAreasForVolume(this, core::mem::transmute_copy(&pwszvolumename)) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -760,7 +760,7 @@ impl IVssDifferentialSoftwareSnapshotMgmt_Vtbl { let this = (*this).get_impl(); match IVssDifferentialSoftwareSnapshotMgmt_Impl::QueryDiffAreasOnVolume(this, core::mem::transmute_copy(&pwszvolumename)) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -771,7 +771,7 @@ impl IVssDifferentialSoftwareSnapshotMgmt_Vtbl { let this = (*this).get_impl(); match IVssDifferentialSoftwareSnapshotMgmt_Impl::QueryDiffAreasForSnapshot(this, core::mem::transmute(&snapshotid)) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -815,7 +815,7 @@ impl IVssDifferentialSoftwareSnapshotMgmt2_Vtbl { let this = (*this).get_impl(); match IVssDifferentialSoftwareSnapshotMgmt2_Impl::QueryMigrationStatus(this, core::mem::transmute_copy(&pwszvolumename), core::mem::transmute_copy(&pwszdiffareavolumename)) { Ok(ok__) => { - core::ptr::write(ppasync, core::mem::transmute(ok__)); + ppasync.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -982,7 +982,7 @@ impl IVssExpressWriter_Vtbl { let this = (*this).get_impl(); match IVssExpressWriter_Impl::CreateMetadata(this, core::mem::transmute(&writerid), core::mem::transmute(&writername), core::mem::transmute_copy(&usagetype), core::mem::transmute_copy(&versionmajor), core::mem::transmute_copy(&versionminor), core::mem::transmute_copy(&reserved)) { Ok(ok__) => { - core::ptr::write(ppmetadata, core::mem::transmute(ok__)); + ppmetadata.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1043,7 +1043,7 @@ impl IVssFileShareSnapshotProvider_Vtbl { let this = (*this).get_impl(); match IVssFileShareSnapshotProvider_Impl::Query(this, core::mem::transmute(&queriedobjectid), core::mem::transmute_copy(&equeriedobjecttype), core::mem::transmute_copy(&ereturnedobjectstype)) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1064,7 +1064,7 @@ impl IVssFileShareSnapshotProvider_Vtbl { let this = (*this).get_impl(); match IVssFileShareSnapshotProvider_Impl::IsPathSupported(this, core::mem::transmute_copy(&pwszsharepath)) { Ok(ok__) => { - core::ptr::write(pbsupportedbythisprovider, core::mem::transmute(ok__)); + pbsupportedbythisprovider.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1171,7 +1171,7 @@ impl IVssHardwareSnapshotProviderEx_Vtbl { let this = (*this).get_impl(); match IVssHardwareSnapshotProviderEx_Impl::GetProviderCapabilities(this) { Ok(ok__) => { - core::ptr::write(plloriginalcapabilitymask, core::mem::transmute(ok__)); + plloriginalcapabilitymask.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1187,7 +1187,7 @@ impl IVssHardwareSnapshotProviderEx_Vtbl { let this = (*this).get_impl(); match IVssHardwareSnapshotProviderEx_Impl::ResyncLuns(this, core::mem::transmute_copy(&psourceluns), core::mem::transmute_copy(&ptargetluns), core::mem::transmute_copy(&dwcount)) { Ok(ok__) => { - core::ptr::write(ppasync, core::mem::transmute(ok__)); + ppasync.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1312,7 +1312,7 @@ impl IVssSnapshotMgmt_Vtbl { let this = (*this).get_impl(); match IVssSnapshotMgmt_Impl::GetProviderMgmtInterface(this, core::mem::transmute(&providerid), core::mem::transmute_copy(&interfaceid)) { Ok(ok__) => { - core::ptr::write(ppitf, core::mem::transmute(ok__)); + ppitf.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1323,7 +1323,7 @@ impl IVssSnapshotMgmt_Vtbl { let this = (*this).get_impl(); match IVssSnapshotMgmt_Impl::QueryVolumesSupportedForSnapshots(this, core::mem::transmute(&providerid), core::mem::transmute_copy(&lcontext)) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1334,7 +1334,7 @@ impl IVssSnapshotMgmt_Vtbl { let this = (*this).get_impl(); match IVssSnapshotMgmt_Impl::QuerySnapshotsByVolume(this, core::mem::transmute_copy(&pwszvolumename), core::mem::transmute(&providerid)) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1362,7 +1362,7 @@ impl IVssSnapshotMgmt2_Vtbl { let this = (*this).get_impl(); match IVssSnapshotMgmt2_Impl::GetMinDiffAreaSize(this) { Ok(ok__) => { - core::ptr::write(pllmindiffareasize, core::mem::transmute(ok__)); + pllmindiffareasize.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1404,7 +1404,7 @@ impl IVssSoftwareSnapshotProvider_Vtbl { let this = (*this).get_impl(); match IVssSoftwareSnapshotProvider_Impl::Query(this, core::mem::transmute(&queriedobjectid), core::mem::transmute_copy(&equeriedobjecttype), core::mem::transmute_copy(&ereturnedobjectstype)) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1425,7 +1425,7 @@ impl IVssSoftwareSnapshotProvider_Vtbl { let this = (*this).get_impl(); match IVssSoftwareSnapshotProvider_Impl::IsVolumeSupported(this, core::mem::transmute_copy(&pwszvolumename)) { Ok(ok__) => { - core::ptr::write(pbsupportedbythisprovider, core::mem::transmute(ok__)); + pbsupportedbythisprovider.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1451,7 +1451,7 @@ impl IVssSoftwareSnapshotProvider_Vtbl { let this = (*this).get_impl(); match IVssSoftwareSnapshotProvider_Impl::QueryRevertStatus(this, core::mem::transmute_copy(&pwszvolume)) { Ok(ok__) => { - core::ptr::write(ppasync, core::mem::transmute(ok__)); + ppasync.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1524,7 +1524,7 @@ impl IVssWMFiledesc_Vtbl { let this = (*this).get_impl(); match IVssWMFiledesc_Impl::GetPath(this) { Ok(ok__) => { - core::ptr::write(pbstrpath, core::mem::transmute(ok__)); + pbstrpath.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1535,7 +1535,7 @@ impl IVssWMFiledesc_Vtbl { let this = (*this).get_impl(); match IVssWMFiledesc_Impl::GetFilespec(this) { Ok(ok__) => { - core::ptr::write(pbstrfilespec, core::mem::transmute(ok__)); + pbstrfilespec.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1546,7 +1546,7 @@ impl IVssWMFiledesc_Vtbl { let this = (*this).get_impl(); match IVssWMFiledesc_Impl::GetRecursive(this) { Ok(ok__) => { - core::ptr::write(pbrecursive, core::mem::transmute(ok__)); + pbrecursive.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1557,7 +1557,7 @@ impl IVssWMFiledesc_Vtbl { let this = (*this).get_impl(); match IVssWMFiledesc_Impl::GetAlternateLocation(this) { Ok(ok__) => { - core::ptr::write(pbstralternatelocation, core::mem::transmute(ok__)); + pbstralternatelocation.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1568,7 +1568,7 @@ impl IVssWMFiledesc_Vtbl { let this = (*this).get_impl(); match IVssWMFiledesc_Impl::GetBackupTypeMask(this) { Ok(ok__) => { - core::ptr::write(pdwtypemask, core::mem::transmute(ok__)); + pdwtypemask.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1609,7 +1609,7 @@ impl IVssWriterComponents_Vtbl { let this = &*((*this).this as *const Impl); match IVssWriterComponents_Impl::GetComponent(this, core::mem::transmute_copy(&icomponent)) { Ok(ok__) => { - core::ptr::write(ppcomponent, core::mem::transmute(ok__)); + ppcomponent.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/Win32/Storage/Xps/Printing/impl.rs b/crates/libs/windows/src/Windows/Win32/Storage/Xps/Printing/impl.rs index 965cb2503e..cef283f065 100644 --- a/crates/libs/windows/src/Windows/Win32/Storage/Xps/Printing/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Storage/Xps/Printing/impl.rs @@ -67,7 +67,7 @@ impl IPrintDocumentPackageTarget2_Vtbl { let this = (*this).get_impl(); match IPrintDocumentPackageTarget2_Impl::GetIsTargetIppPrinter(this) { Ok(ok__) => { - core::ptr::write(isippprinter, core::mem::transmute(ok__)); + isippprinter.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -102,7 +102,7 @@ impl IPrintDocumentPackageTargetFactory_Vtbl { let this = (*this).get_impl(); match IPrintDocumentPackageTargetFactory_Impl::CreateDocumentPackageTargetForPrintJob(this, core::mem::transmute(&printername), core::mem::transmute(&jobname), windows_core::from_raw_borrowed(&joboutputstream), windows_core::from_raw_borrowed(&jobprintticketstream)) { Ok(ok__) => { - core::ptr::write(docpackagetarget, core::mem::transmute(ok__)); + docpackagetarget.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/Win32/Storage/Xps/impl.rs b/crates/libs/windows/src/Windows/Win32/Storage/Xps/impl.rs index 6f8c4399b4..aa4aba991c 100644 --- a/crates/libs/windows/src/Windows/Win32/Storage/Xps/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Storage/Xps/impl.rs @@ -14,7 +14,7 @@ impl IXpsDocumentPackageTarget_Vtbl { let this = (*this).get_impl(); match IXpsDocumentPackageTarget_Impl::GetXpsOMPackageWriter(this, windows_core::from_raw_borrowed(&documentsequencepartname), windows_core::from_raw_borrowed(&discardcontrolpartname)) { Ok(ok__) => { - core::ptr::write(packagewriter, core::mem::transmute(ok__)); + packagewriter.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -25,7 +25,7 @@ impl IXpsDocumentPackageTarget_Vtbl { let this = (*this).get_impl(); match IXpsDocumentPackageTarget_Impl::GetXpsOMFactory(this) { Ok(ok__) => { - core::ptr::write(xpsfactory, core::mem::transmute(ok__)); + xpsfactory.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -36,7 +36,7 @@ impl IXpsDocumentPackageTarget_Vtbl { let this = (*this).get_impl(); match IXpsDocumentPackageTarget_Impl::GetXpsType(this) { Ok(ok__) => { - core::ptr::write(documenttype, core::mem::transmute(ok__)); + documenttype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -68,7 +68,7 @@ impl IXpsDocumentPackageTarget3D_Vtbl { let this = (*this).get_impl(); match IXpsDocumentPackageTarget3D_Impl::GetXpsOMPackageWriter3D(this, windows_core::from_raw_borrowed(&documentsequencepartname), windows_core::from_raw_borrowed(&discardcontrolpartname), windows_core::from_raw_borrowed(&modelpartname), windows_core::from_raw_borrowed(&modeldata)) { Ok(ok__) => { - core::ptr::write(packagewriter, core::mem::transmute(ok__)); + packagewriter.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -79,7 +79,7 @@ impl IXpsDocumentPackageTarget3D_Vtbl { let this = (*this).get_impl(); match IXpsDocumentPackageTarget3D_Impl::GetXpsOMFactory(this) { Ok(ok__) => { - core::ptr::write(xpsfactory, core::mem::transmute(ok__)); + xpsfactory.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -107,7 +107,7 @@ impl IXpsOMBrush_Vtbl { let this = (*this).get_impl(); match IXpsOMBrush_Impl::GetOpacity(this) { Ok(ok__) => { - core::ptr::write(opacity, core::mem::transmute(ok__)); + opacity.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -154,7 +154,7 @@ impl IXpsOMCanvas_Vtbl { let this = (*this).get_impl(); match IXpsOMCanvas_Impl::GetVisuals(this) { Ok(ok__) => { - core::ptr::write(visuals, core::mem::transmute(ok__)); + visuals.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -165,7 +165,7 @@ impl IXpsOMCanvas_Vtbl { let this = (*this).get_impl(); match IXpsOMCanvas_Impl::GetUseAliasedEdgeMode(this) { Ok(ok__) => { - core::ptr::write(usealiasededgemode, core::mem::transmute(ok__)); + usealiasededgemode.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -181,7 +181,7 @@ impl IXpsOMCanvas_Vtbl { let this = (*this).get_impl(); match IXpsOMCanvas_Impl::GetAccessibilityShortDescription(this) { Ok(ok__) => { - core::ptr::write(shortdescription, core::mem::transmute(ok__)); + shortdescription.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -197,7 +197,7 @@ impl IXpsOMCanvas_Vtbl { let this = (*this).get_impl(); match IXpsOMCanvas_Impl::GetAccessibilityLongDescription(this) { Ok(ok__) => { - core::ptr::write(longdescription, core::mem::transmute(ok__)); + longdescription.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -213,7 +213,7 @@ impl IXpsOMCanvas_Vtbl { let this = (*this).get_impl(); match IXpsOMCanvas_Impl::GetDictionary(this) { Ok(ok__) => { - core::ptr::write(resourcedictionary, core::mem::transmute(ok__)); + resourcedictionary.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -224,7 +224,7 @@ impl IXpsOMCanvas_Vtbl { let this = (*this).get_impl(); match IXpsOMCanvas_Impl::GetDictionaryLocal(this) { Ok(ok__) => { - core::ptr::write(resourcedictionary, core::mem::transmute(ok__)); + resourcedictionary.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -240,7 +240,7 @@ impl IXpsOMCanvas_Vtbl { let this = (*this).get_impl(); match IXpsOMCanvas_Impl::GetDictionaryResource(this) { Ok(ok__) => { - core::ptr::write(remotedictionaryresource, core::mem::transmute(ok__)); + remotedictionaryresource.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -256,7 +256,7 @@ impl IXpsOMCanvas_Vtbl { let this = (*this).get_impl(); match IXpsOMCanvas_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(canvas, core::mem::transmute(ok__)); + canvas.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -298,7 +298,7 @@ impl IXpsOMColorProfileResource_Vtbl { let this = (*this).get_impl(); match IXpsOMColorProfileResource_Impl::GetStream(this) { Ok(ok__) => { - core::ptr::write(stream, core::mem::transmute(ok__)); + stream.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -339,7 +339,7 @@ impl IXpsOMColorProfileResourceCollection_Vtbl { let this = (*this).get_impl(); match IXpsOMColorProfileResourceCollection_Impl::GetCount(this) { Ok(ok__) => { - core::ptr::write(count, core::mem::transmute(ok__)); + count.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -350,7 +350,7 @@ impl IXpsOMColorProfileResourceCollection_Vtbl { let this = (*this).get_impl(); match IXpsOMColorProfileResourceCollection_Impl::GetAt(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(object, core::mem::transmute(ok__)); + object.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -381,7 +381,7 @@ impl IXpsOMColorProfileResourceCollection_Vtbl { let this = (*this).get_impl(); match IXpsOMColorProfileResourceCollection_Impl::GetByPartName(this, windows_core::from_raw_borrowed(&partname)) { Ok(ok__) => { - core::ptr::write(part, core::mem::transmute(ok__)); + part.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -449,7 +449,7 @@ impl IXpsOMCoreProperties_Vtbl { let this = (*this).get_impl(); match IXpsOMCoreProperties_Impl::GetOwner(this) { Ok(ok__) => { - core::ptr::write(package, core::mem::transmute(ok__)); + package.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -460,7 +460,7 @@ impl IXpsOMCoreProperties_Vtbl { let this = (*this).get_impl(); match IXpsOMCoreProperties_Impl::GetCategory(this) { Ok(ok__) => { - core::ptr::write(category, core::mem::transmute(ok__)); + category.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -476,7 +476,7 @@ impl IXpsOMCoreProperties_Vtbl { let this = (*this).get_impl(); match IXpsOMCoreProperties_Impl::GetContentStatus(this) { Ok(ok__) => { - core::ptr::write(contentstatus, core::mem::transmute(ok__)); + contentstatus.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -492,7 +492,7 @@ impl IXpsOMCoreProperties_Vtbl { let this = (*this).get_impl(); match IXpsOMCoreProperties_Impl::GetContentType(this) { Ok(ok__) => { - core::ptr::write(contenttype, core::mem::transmute(ok__)); + contenttype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -508,7 +508,7 @@ impl IXpsOMCoreProperties_Vtbl { let this = (*this).get_impl(); match IXpsOMCoreProperties_Impl::GetCreated(this) { Ok(ok__) => { - core::ptr::write(created, core::mem::transmute(ok__)); + created.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -524,7 +524,7 @@ impl IXpsOMCoreProperties_Vtbl { let this = (*this).get_impl(); match IXpsOMCoreProperties_Impl::GetCreator(this) { Ok(ok__) => { - core::ptr::write(creator, core::mem::transmute(ok__)); + creator.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -540,7 +540,7 @@ impl IXpsOMCoreProperties_Vtbl { let this = (*this).get_impl(); match IXpsOMCoreProperties_Impl::GetDescription(this) { Ok(ok__) => { - core::ptr::write(description, core::mem::transmute(ok__)); + description.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -556,7 +556,7 @@ impl IXpsOMCoreProperties_Vtbl { let this = (*this).get_impl(); match IXpsOMCoreProperties_Impl::GetIdentifier(this) { Ok(ok__) => { - core::ptr::write(identifier, core::mem::transmute(ok__)); + identifier.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -572,7 +572,7 @@ impl IXpsOMCoreProperties_Vtbl { let this = (*this).get_impl(); match IXpsOMCoreProperties_Impl::GetKeywords(this) { Ok(ok__) => { - core::ptr::write(keywords, core::mem::transmute(ok__)); + keywords.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -588,7 +588,7 @@ impl IXpsOMCoreProperties_Vtbl { let this = (*this).get_impl(); match IXpsOMCoreProperties_Impl::GetLanguage(this) { Ok(ok__) => { - core::ptr::write(language, core::mem::transmute(ok__)); + language.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -604,7 +604,7 @@ impl IXpsOMCoreProperties_Vtbl { let this = (*this).get_impl(); match IXpsOMCoreProperties_Impl::GetLastModifiedBy(this) { Ok(ok__) => { - core::ptr::write(lastmodifiedby, core::mem::transmute(ok__)); + lastmodifiedby.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -620,7 +620,7 @@ impl IXpsOMCoreProperties_Vtbl { let this = (*this).get_impl(); match IXpsOMCoreProperties_Impl::GetLastPrinted(this) { Ok(ok__) => { - core::ptr::write(lastprinted, core::mem::transmute(ok__)); + lastprinted.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -636,7 +636,7 @@ impl IXpsOMCoreProperties_Vtbl { let this = (*this).get_impl(); match IXpsOMCoreProperties_Impl::GetModified(this) { Ok(ok__) => { - core::ptr::write(modified, core::mem::transmute(ok__)); + modified.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -652,7 +652,7 @@ impl IXpsOMCoreProperties_Vtbl { let this = (*this).get_impl(); match IXpsOMCoreProperties_Impl::GetRevision(this) { Ok(ok__) => { - core::ptr::write(revision, core::mem::transmute(ok__)); + revision.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -668,7 +668,7 @@ impl IXpsOMCoreProperties_Vtbl { let this = (*this).get_impl(); match IXpsOMCoreProperties_Impl::GetSubject(this) { Ok(ok__) => { - core::ptr::write(subject, core::mem::transmute(ok__)); + subject.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -684,7 +684,7 @@ impl IXpsOMCoreProperties_Vtbl { let this = (*this).get_impl(); match IXpsOMCoreProperties_Impl::GetTitle(this) { Ok(ok__) => { - core::ptr::write(title, core::mem::transmute(ok__)); + title.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -700,7 +700,7 @@ impl IXpsOMCoreProperties_Vtbl { let this = (*this).get_impl(); match IXpsOMCoreProperties_Impl::GetVersion(this) { Ok(ok__) => { - core::ptr::write(version, core::mem::transmute(ok__)); + version.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -716,7 +716,7 @@ impl IXpsOMCoreProperties_Vtbl { let this = (*this).get_impl(); match IXpsOMCoreProperties_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(coreproperties, core::mem::transmute(ok__)); + coreproperties.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -780,7 +780,7 @@ impl IXpsOMDashCollection_Vtbl { let this = (*this).get_impl(); match IXpsOMDashCollection_Impl::GetCount(this) { Ok(ok__) => { - core::ptr::write(count, core::mem::transmute(ok__)); + count.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -791,7 +791,7 @@ impl IXpsOMDashCollection_Vtbl { let this = (*this).get_impl(); match IXpsOMDashCollection_Impl::GetAt(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(dash, core::mem::transmute(ok__)); + dash.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -851,7 +851,7 @@ impl IXpsOMDictionary_Vtbl { let this = (*this).get_impl(); match IXpsOMDictionary_Impl::GetOwner(this) { Ok(ok__) => { - core::ptr::write(owner, core::mem::transmute(ok__)); + owner.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -862,7 +862,7 @@ impl IXpsOMDictionary_Vtbl { let this = (*this).get_impl(); match IXpsOMDictionary_Impl::GetCount(this) { Ok(ok__) => { - core::ptr::write(count, core::mem::transmute(ok__)); + count.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -873,7 +873,7 @@ impl IXpsOMDictionary_Vtbl { let this = (*this).get_impl(); match IXpsOMDictionary_Impl::GetAt(this, core::mem::transmute_copy(&index), core::mem::transmute_copy(&key)) { Ok(ok__) => { - core::ptr::write(entry, core::mem::transmute(ok__)); + entry.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -884,7 +884,7 @@ impl IXpsOMDictionary_Vtbl { let this = (*this).get_impl(); match IXpsOMDictionary_Impl::GetByKey(this, core::mem::transmute(&key), windows_core::from_raw_borrowed(&beforeentry)) { Ok(ok__) => { - core::ptr::write(entry, core::mem::transmute(ok__)); + entry.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -895,7 +895,7 @@ impl IXpsOMDictionary_Vtbl { let this = (*this).get_impl(); match IXpsOMDictionary_Impl::GetIndex(this, windows_core::from_raw_borrowed(&entry)) { Ok(ok__) => { - core::ptr::write(index, core::mem::transmute(ok__)); + index.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -926,7 +926,7 @@ impl IXpsOMDictionary_Vtbl { let this = (*this).get_impl(); match IXpsOMDictionary_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(dictionary, core::mem::transmute(ok__)); + dictionary.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -971,7 +971,7 @@ impl IXpsOMDocument_Vtbl { let this = (*this).get_impl(); match IXpsOMDocument_Impl::GetOwner(this) { Ok(ok__) => { - core::ptr::write(documentsequence, core::mem::transmute(ok__)); + documentsequence.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -982,7 +982,7 @@ impl IXpsOMDocument_Vtbl { let this = (*this).get_impl(); match IXpsOMDocument_Impl::GetPageReferences(this) { Ok(ok__) => { - core::ptr::write(pagereferences, core::mem::transmute(ok__)); + pagereferences.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -993,7 +993,7 @@ impl IXpsOMDocument_Vtbl { let this = (*this).get_impl(); match IXpsOMDocument_Impl::GetPrintTicketResource(this) { Ok(ok__) => { - core::ptr::write(printticketresource, core::mem::transmute(ok__)); + printticketresource.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1009,7 +1009,7 @@ impl IXpsOMDocument_Vtbl { let this = (*this).get_impl(); match IXpsOMDocument_Impl::GetDocumentStructureResource(this) { Ok(ok__) => { - core::ptr::write(documentstructureresource, core::mem::transmute(ok__)); + documentstructureresource.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1025,7 +1025,7 @@ impl IXpsOMDocument_Vtbl { let this = (*this).get_impl(); match IXpsOMDocument_Impl::GetSignatureBlockResources(this) { Ok(ok__) => { - core::ptr::write(signatureblockresources, core::mem::transmute(ok__)); + signatureblockresources.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1036,7 +1036,7 @@ impl IXpsOMDocument_Vtbl { let this = (*this).get_impl(); match IXpsOMDocument_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(document, core::mem::transmute(ok__)); + document.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1074,7 +1074,7 @@ impl IXpsOMDocumentCollection_Vtbl { let this = (*this).get_impl(); match IXpsOMDocumentCollection_Impl::GetCount(this) { Ok(ok__) => { - core::ptr::write(count, core::mem::transmute(ok__)); + count.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1085,7 +1085,7 @@ impl IXpsOMDocumentCollection_Vtbl { let this = (*this).get_impl(); match IXpsOMDocumentCollection_Impl::GetAt(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(document, core::mem::transmute(ok__)); + document.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1142,7 +1142,7 @@ impl IXpsOMDocumentSequence_Vtbl { let this = (*this).get_impl(); match IXpsOMDocumentSequence_Impl::GetOwner(this) { Ok(ok__) => { - core::ptr::write(package, core::mem::transmute(ok__)); + package.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1153,7 +1153,7 @@ impl IXpsOMDocumentSequence_Vtbl { let this = (*this).get_impl(); match IXpsOMDocumentSequence_Impl::GetDocuments(this) { Ok(ok__) => { - core::ptr::write(documents, core::mem::transmute(ok__)); + documents.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1164,7 +1164,7 @@ impl IXpsOMDocumentSequence_Vtbl { let this = (*this).get_impl(); match IXpsOMDocumentSequence_Impl::GetPrintTicketResource(this) { Ok(ok__) => { - core::ptr::write(printticketresource, core::mem::transmute(ok__)); + printticketresource.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1203,7 +1203,7 @@ impl IXpsOMDocumentStructureResource_Vtbl { let this = (*this).get_impl(); match IXpsOMDocumentStructureResource_Impl::GetOwner(this) { Ok(ok__) => { - core::ptr::write(owner, core::mem::transmute(ok__)); + owner.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1214,7 +1214,7 @@ impl IXpsOMDocumentStructureResource_Vtbl { let this = (*this).get_impl(); match IXpsOMDocumentStructureResource_Impl::GetStream(this) { Ok(ok__) => { - core::ptr::write(stream, core::mem::transmute(ok__)); + stream.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1252,7 +1252,7 @@ impl IXpsOMFontResource_Vtbl { let this = (*this).get_impl(); match IXpsOMFontResource_Impl::GetStream(this) { Ok(ok__) => { - core::ptr::write(readerstream, core::mem::transmute(ok__)); + readerstream.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1268,7 +1268,7 @@ impl IXpsOMFontResource_Vtbl { let this = (*this).get_impl(); match IXpsOMFontResource_Impl::GetEmbeddingOption(this) { Ok(ok__) => { - core::ptr::write(embeddingoption, core::mem::transmute(ok__)); + embeddingoption.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1305,7 +1305,7 @@ impl IXpsOMFontResourceCollection_Vtbl { let this = (*this).get_impl(); match IXpsOMFontResourceCollection_Impl::GetCount(this) { Ok(ok__) => { - core::ptr::write(count, core::mem::transmute(ok__)); + count.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1316,7 +1316,7 @@ impl IXpsOMFontResourceCollection_Vtbl { let this = (*this).get_impl(); match IXpsOMFontResourceCollection_Impl::GetAt(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1347,7 +1347,7 @@ impl IXpsOMFontResourceCollection_Vtbl { let this = (*this).get_impl(); match IXpsOMFontResourceCollection_Impl::GetByPartName(this, windows_core::from_raw_borrowed(&partname)) { Ok(ok__) => { - core::ptr::write(part, core::mem::transmute(ok__)); + part.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1387,7 +1387,7 @@ impl IXpsOMGeometry_Vtbl { let this = (*this).get_impl(); match IXpsOMGeometry_Impl::GetFigures(this) { Ok(ok__) => { - core::ptr::write(figures, core::mem::transmute(ok__)); + figures.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1398,7 +1398,7 @@ impl IXpsOMGeometry_Vtbl { let this = (*this).get_impl(); match IXpsOMGeometry_Impl::GetFillRule(this) { Ok(ok__) => { - core::ptr::write(fillrule, core::mem::transmute(ok__)); + fillrule.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1414,7 +1414,7 @@ impl IXpsOMGeometry_Vtbl { let this = (*this).get_impl(); match IXpsOMGeometry_Impl::GetTransform(this) { Ok(ok__) => { - core::ptr::write(transform, core::mem::transmute(ok__)); + transform.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1425,7 +1425,7 @@ impl IXpsOMGeometry_Vtbl { let this = (*this).get_impl(); match IXpsOMGeometry_Impl::GetTransformLocal(this) { Ok(ok__) => { - core::ptr::write(transform, core::mem::transmute(ok__)); + transform.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1441,7 +1441,7 @@ impl IXpsOMGeometry_Vtbl { let this = (*this).get_impl(); match IXpsOMGeometry_Impl::GetTransformLookup(this) { Ok(ok__) => { - core::ptr::write(lookup, core::mem::transmute(ok__)); + lookup.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1457,7 +1457,7 @@ impl IXpsOMGeometry_Vtbl { let this = (*this).get_impl(); match IXpsOMGeometry_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(geometry, core::mem::transmute(ok__)); + geometry.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1505,7 +1505,7 @@ impl IXpsOMGeometryFigure_Vtbl { let this = (*this).get_impl(); match IXpsOMGeometryFigure_Impl::GetOwner(this) { Ok(ok__) => { - core::ptr::write(owner, core::mem::transmute(ok__)); + owner.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1536,7 +1536,7 @@ impl IXpsOMGeometryFigure_Vtbl { let this = (*this).get_impl(); match IXpsOMGeometryFigure_Impl::GetStartPoint(this) { Ok(ok__) => { - core::ptr::write(startpoint, core::mem::transmute(ok__)); + startpoint.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1552,7 +1552,7 @@ impl IXpsOMGeometryFigure_Vtbl { let this = (*this).get_impl(); match IXpsOMGeometryFigure_Impl::GetIsClosed(this) { Ok(ok__) => { - core::ptr::write(isclosed, core::mem::transmute(ok__)); + isclosed.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1568,7 +1568,7 @@ impl IXpsOMGeometryFigure_Vtbl { let this = (*this).get_impl(); match IXpsOMGeometryFigure_Impl::GetIsFilled(this) { Ok(ok__) => { - core::ptr::write(isfilled, core::mem::transmute(ok__)); + isfilled.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1584,7 +1584,7 @@ impl IXpsOMGeometryFigure_Vtbl { let this = (*this).get_impl(); match IXpsOMGeometryFigure_Impl::GetSegmentCount(this) { Ok(ok__) => { - core::ptr::write(segmentcount, core::mem::transmute(ok__)); + segmentcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1595,7 +1595,7 @@ impl IXpsOMGeometryFigure_Vtbl { let this = (*this).get_impl(); match IXpsOMGeometryFigure_Impl::GetSegmentDataCount(this) { Ok(ok__) => { - core::ptr::write(segmentdatacount, core::mem::transmute(ok__)); + segmentdatacount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1606,7 +1606,7 @@ impl IXpsOMGeometryFigure_Vtbl { let this = (*this).get_impl(); match IXpsOMGeometryFigure_Impl::GetSegmentStrokePattern(this) { Ok(ok__) => { - core::ptr::write(segmentstrokepattern, core::mem::transmute(ok__)); + segmentstrokepattern.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1617,7 +1617,7 @@ impl IXpsOMGeometryFigure_Vtbl { let this = (*this).get_impl(); match IXpsOMGeometryFigure_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(geometryfigure, core::mem::transmute(ok__)); + geometryfigure.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1662,7 +1662,7 @@ impl IXpsOMGeometryFigureCollection_Vtbl { let this = (*this).get_impl(); match IXpsOMGeometryFigureCollection_Impl::GetCount(this) { Ok(ok__) => { - core::ptr::write(count, core::mem::transmute(ok__)); + count.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1673,7 +1673,7 @@ impl IXpsOMGeometryFigureCollection_Vtbl { let this = (*this).get_impl(); match IXpsOMGeometryFigureCollection_Impl::GetAt(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(geometryfigure, core::mem::transmute(ok__)); + geometryfigure.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1753,7 +1753,7 @@ impl IXpsOMGlyphs_Vtbl { let this = (*this).get_impl(); match IXpsOMGlyphs_Impl::GetUnicodeString(this) { Ok(ok__) => { - core::ptr::write(unicodestring, core::mem::transmute(ok__)); + unicodestring.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1764,7 +1764,7 @@ impl IXpsOMGlyphs_Vtbl { let this = (*this).get_impl(); match IXpsOMGlyphs_Impl::GetGlyphIndexCount(this) { Ok(ok__) => { - core::ptr::write(indexcount, core::mem::transmute(ok__)); + indexcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1780,7 +1780,7 @@ impl IXpsOMGlyphs_Vtbl { let this = (*this).get_impl(); match IXpsOMGlyphs_Impl::GetGlyphMappingCount(this) { Ok(ok__) => { - core::ptr::write(glyphmappingcount, core::mem::transmute(ok__)); + glyphmappingcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1796,7 +1796,7 @@ impl IXpsOMGlyphs_Vtbl { let this = (*this).get_impl(); match IXpsOMGlyphs_Impl::GetProhibitedCaretStopCount(this) { Ok(ok__) => { - core::ptr::write(prohibitedcaretstopcount, core::mem::transmute(ok__)); + prohibitedcaretstopcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1812,7 +1812,7 @@ impl IXpsOMGlyphs_Vtbl { let this = (*this).get_impl(); match IXpsOMGlyphs_Impl::GetBidiLevel(this) { Ok(ok__) => { - core::ptr::write(bidilevel, core::mem::transmute(ok__)); + bidilevel.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1823,7 +1823,7 @@ impl IXpsOMGlyphs_Vtbl { let this = (*this).get_impl(); match IXpsOMGlyphs_Impl::GetIsSideways(this) { Ok(ok__) => { - core::ptr::write(issideways, core::mem::transmute(ok__)); + issideways.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1834,7 +1834,7 @@ impl IXpsOMGlyphs_Vtbl { let this = (*this).get_impl(); match IXpsOMGlyphs_Impl::GetDeviceFontName(this) { Ok(ok__) => { - core::ptr::write(devicefontname, core::mem::transmute(ok__)); + devicefontname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1845,7 +1845,7 @@ impl IXpsOMGlyphs_Vtbl { let this = (*this).get_impl(); match IXpsOMGlyphs_Impl::GetStyleSimulations(this) { Ok(ok__) => { - core::ptr::write(stylesimulations, core::mem::transmute(ok__)); + stylesimulations.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1861,7 +1861,7 @@ impl IXpsOMGlyphs_Vtbl { let this = (*this).get_impl(); match IXpsOMGlyphs_Impl::GetOrigin(this) { Ok(ok__) => { - core::ptr::write(origin, core::mem::transmute(ok__)); + origin.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1877,7 +1877,7 @@ impl IXpsOMGlyphs_Vtbl { let this = (*this).get_impl(); match IXpsOMGlyphs_Impl::GetFontRenderingEmSize(this) { Ok(ok__) => { - core::ptr::write(fontrenderingemsize, core::mem::transmute(ok__)); + fontrenderingemsize.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1893,7 +1893,7 @@ impl IXpsOMGlyphs_Vtbl { let this = (*this).get_impl(); match IXpsOMGlyphs_Impl::GetFontResource(this) { Ok(ok__) => { - core::ptr::write(fontresource, core::mem::transmute(ok__)); + fontresource.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1909,7 +1909,7 @@ impl IXpsOMGlyphs_Vtbl { let this = (*this).get_impl(); match IXpsOMGlyphs_Impl::GetFontFaceIndex(this) { Ok(ok__) => { - core::ptr::write(fontfaceindex, core::mem::transmute(ok__)); + fontfaceindex.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1925,7 +1925,7 @@ impl IXpsOMGlyphs_Vtbl { let this = (*this).get_impl(); match IXpsOMGlyphs_Impl::GetFillBrush(this) { Ok(ok__) => { - core::ptr::write(fillbrush, core::mem::transmute(ok__)); + fillbrush.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1936,7 +1936,7 @@ impl IXpsOMGlyphs_Vtbl { let this = (*this).get_impl(); match IXpsOMGlyphs_Impl::GetFillBrushLocal(this) { Ok(ok__) => { - core::ptr::write(fillbrush, core::mem::transmute(ok__)); + fillbrush.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1952,7 +1952,7 @@ impl IXpsOMGlyphs_Vtbl { let this = (*this).get_impl(); match IXpsOMGlyphs_Impl::GetFillBrushLookup(this) { Ok(ok__) => { - core::ptr::write(key, core::mem::transmute(ok__)); + key.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1968,7 +1968,7 @@ impl IXpsOMGlyphs_Vtbl { let this = (*this).get_impl(); match IXpsOMGlyphs_Impl::GetGlyphsEditor(this) { Ok(ok__) => { - core::ptr::write(editor, core::mem::transmute(ok__)); + editor.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1979,7 +1979,7 @@ impl IXpsOMGlyphs_Vtbl { let this = (*this).get_impl(); match IXpsOMGlyphs_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(glyphs, core::mem::transmute(ok__)); + glyphs.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2053,7 +2053,7 @@ impl IXpsOMGlyphsEditor_Vtbl { let this = (*this).get_impl(); match IXpsOMGlyphsEditor_Impl::GetUnicodeString(this) { Ok(ok__) => { - core::ptr::write(unicodestring, core::mem::transmute(ok__)); + unicodestring.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2069,7 +2069,7 @@ impl IXpsOMGlyphsEditor_Vtbl { let this = (*this).get_impl(); match IXpsOMGlyphsEditor_Impl::GetGlyphIndexCount(this) { Ok(ok__) => { - core::ptr::write(indexcount, core::mem::transmute(ok__)); + indexcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2090,7 +2090,7 @@ impl IXpsOMGlyphsEditor_Vtbl { let this = (*this).get_impl(); match IXpsOMGlyphsEditor_Impl::GetGlyphMappingCount(this) { Ok(ok__) => { - core::ptr::write(glyphmappingcount, core::mem::transmute(ok__)); + glyphmappingcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2111,7 +2111,7 @@ impl IXpsOMGlyphsEditor_Vtbl { let this = (*this).get_impl(); match IXpsOMGlyphsEditor_Impl::GetProhibitedCaretStopCount(this) { Ok(ok__) => { - core::ptr::write(prohibitedcaretstopcount, core::mem::transmute(ok__)); + prohibitedcaretstopcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2132,7 +2132,7 @@ impl IXpsOMGlyphsEditor_Vtbl { let this = (*this).get_impl(); match IXpsOMGlyphsEditor_Impl::GetBidiLevel(this) { Ok(ok__) => { - core::ptr::write(bidilevel, core::mem::transmute(ok__)); + bidilevel.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2148,7 +2148,7 @@ impl IXpsOMGlyphsEditor_Vtbl { let this = (*this).get_impl(); match IXpsOMGlyphsEditor_Impl::GetIsSideways(this) { Ok(ok__) => { - core::ptr::write(issideways, core::mem::transmute(ok__)); + issideways.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2164,7 +2164,7 @@ impl IXpsOMGlyphsEditor_Vtbl { let this = (*this).get_impl(); match IXpsOMGlyphsEditor_Impl::GetDeviceFontName(this) { Ok(ok__) => { - core::ptr::write(devicefontname, core::mem::transmute(ok__)); + devicefontname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2221,7 +2221,7 @@ impl IXpsOMGradientBrush_Vtbl { let this = (*this).get_impl(); match IXpsOMGradientBrush_Impl::GetGradientStops(this) { Ok(ok__) => { - core::ptr::write(gradientstops, core::mem::transmute(ok__)); + gradientstops.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2232,7 +2232,7 @@ impl IXpsOMGradientBrush_Vtbl { let this = (*this).get_impl(); match IXpsOMGradientBrush_Impl::GetTransform(this) { Ok(ok__) => { - core::ptr::write(transform, core::mem::transmute(ok__)); + transform.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2243,7 +2243,7 @@ impl IXpsOMGradientBrush_Vtbl { let this = (*this).get_impl(); match IXpsOMGradientBrush_Impl::GetTransformLocal(this) { Ok(ok__) => { - core::ptr::write(transform, core::mem::transmute(ok__)); + transform.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2259,7 +2259,7 @@ impl IXpsOMGradientBrush_Vtbl { let this = (*this).get_impl(); match IXpsOMGradientBrush_Impl::GetTransformLookup(this) { Ok(ok__) => { - core::ptr::write(key, core::mem::transmute(ok__)); + key.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2275,7 +2275,7 @@ impl IXpsOMGradientBrush_Vtbl { let this = (*this).get_impl(); match IXpsOMGradientBrush_Impl::GetSpreadMethod(this) { Ok(ok__) => { - core::ptr::write(spreadmethod, core::mem::transmute(ok__)); + spreadmethod.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2291,7 +2291,7 @@ impl IXpsOMGradientBrush_Vtbl { let this = (*this).get_impl(); match IXpsOMGradientBrush_Impl::GetColorInterpolationMode(this) { Ok(ok__) => { - core::ptr::write(colorinterpolationmode, core::mem::transmute(ok__)); + colorinterpolationmode.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2336,7 +2336,7 @@ impl IXpsOMGradientStop_Vtbl { let this = (*this).get_impl(); match IXpsOMGradientStop_Impl::GetOwner(this) { Ok(ok__) => { - core::ptr::write(owner, core::mem::transmute(ok__)); + owner.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2347,7 +2347,7 @@ impl IXpsOMGradientStop_Vtbl { let this = (*this).get_impl(); match IXpsOMGradientStop_Impl::GetOffset(this) { Ok(ok__) => { - core::ptr::write(offset, core::mem::transmute(ok__)); + offset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2363,7 +2363,7 @@ impl IXpsOMGradientStop_Vtbl { let this = (*this).get_impl(); match IXpsOMGradientStop_Impl::GetColor(this, core::mem::transmute_copy(&color)) { Ok(ok__) => { - core::ptr::write(colorprofile, core::mem::transmute(ok__)); + colorprofile.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2379,7 +2379,7 @@ impl IXpsOMGradientStop_Vtbl { let this = (*this).get_impl(); match IXpsOMGradientStop_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(gradientstop, core::mem::transmute(ok__)); + gradientstop.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2415,7 +2415,7 @@ impl IXpsOMGradientStopCollection_Vtbl { let this = (*this).get_impl(); match IXpsOMGradientStopCollection_Impl::GetCount(this) { Ok(ok__) => { - core::ptr::write(count, core::mem::transmute(ok__)); + count.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2426,7 +2426,7 @@ impl IXpsOMGradientStopCollection_Vtbl { let this = (*this).get_impl(); match IXpsOMGradientStopCollection_Impl::GetAt(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(stop, core::mem::transmute(ok__)); + stop.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2481,7 +2481,7 @@ impl IXpsOMImageBrush_Vtbl { let this = (*this).get_impl(); match IXpsOMImageBrush_Impl::GetImageResource(this) { Ok(ok__) => { - core::ptr::write(imageresource, core::mem::transmute(ok__)); + imageresource.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2497,7 +2497,7 @@ impl IXpsOMImageBrush_Vtbl { let this = (*this).get_impl(); match IXpsOMImageBrush_Impl::GetColorProfileResource(this) { Ok(ok__) => { - core::ptr::write(colorprofileresource, core::mem::transmute(ok__)); + colorprofileresource.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2513,7 +2513,7 @@ impl IXpsOMImageBrush_Vtbl { let this = (*this).get_impl(); match IXpsOMImageBrush_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(imagebrush, core::mem::transmute(ok__)); + imagebrush.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2548,7 +2548,7 @@ impl IXpsOMImageResource_Vtbl { let this = (*this).get_impl(); match IXpsOMImageResource_Impl::GetStream(this) { Ok(ok__) => { - core::ptr::write(readerstream, core::mem::transmute(ok__)); + readerstream.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2564,7 +2564,7 @@ impl IXpsOMImageResource_Vtbl { let this = (*this).get_impl(); match IXpsOMImageResource_Impl::GetImageType(this) { Ok(ok__) => { - core::ptr::write(imagetype, core::mem::transmute(ok__)); + imagetype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2601,7 +2601,7 @@ impl IXpsOMImageResourceCollection_Vtbl { let this = (*this).get_impl(); match IXpsOMImageResourceCollection_Impl::GetCount(this) { Ok(ok__) => { - core::ptr::write(count, core::mem::transmute(ok__)); + count.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2612,7 +2612,7 @@ impl IXpsOMImageResourceCollection_Vtbl { let this = (*this).get_impl(); match IXpsOMImageResourceCollection_Impl::GetAt(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(object, core::mem::transmute(ok__)); + object.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2643,7 +2643,7 @@ impl IXpsOMImageResourceCollection_Vtbl { let this = (*this).get_impl(); match IXpsOMImageResourceCollection_Impl::GetByPartName(this, windows_core::from_raw_borrowed(&partname)) { Ok(ok__) => { - core::ptr::write(part, core::mem::transmute(ok__)); + part.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2679,7 +2679,7 @@ impl IXpsOMLinearGradientBrush_Vtbl { let this = (*this).get_impl(); match IXpsOMLinearGradientBrush_Impl::GetStartPoint(this) { Ok(ok__) => { - core::ptr::write(startpoint, core::mem::transmute(ok__)); + startpoint.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2695,7 +2695,7 @@ impl IXpsOMLinearGradientBrush_Vtbl { let this = (*this).get_impl(); match IXpsOMLinearGradientBrush_Impl::GetEndPoint(this) { Ok(ok__) => { - core::ptr::write(endpoint, core::mem::transmute(ok__)); + endpoint.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2711,7 +2711,7 @@ impl IXpsOMLinearGradientBrush_Vtbl { let this = (*this).get_impl(); match IXpsOMLinearGradientBrush_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(lineargradientbrush, core::mem::transmute(ok__)); + lineargradientbrush.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2743,7 +2743,7 @@ impl IXpsOMMatrixTransform_Vtbl { let this = (*this).get_impl(); match IXpsOMMatrixTransform_Impl::GetMatrix(this) { Ok(ok__) => { - core::ptr::write(matrix, core::mem::transmute(ok__)); + matrix.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2759,7 +2759,7 @@ impl IXpsOMMatrixTransform_Vtbl { let this = (*this).get_impl(); match IXpsOMMatrixTransform_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(matrixtransform, core::mem::transmute(ok__)); + matrixtransform.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2788,7 +2788,7 @@ impl IXpsOMNameCollection_Vtbl { let this = (*this).get_impl(); match IXpsOMNameCollection_Impl::GetCount(this) { Ok(ok__) => { - core::ptr::write(count, core::mem::transmute(ok__)); + count.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2799,7 +2799,7 @@ impl IXpsOMNameCollection_Vtbl { let this = (*this).get_impl(); match IXpsOMNameCollection_Impl::GetAt(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(name, core::mem::transmute(ok__)); + name.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2865,7 +2865,7 @@ impl IXpsOMObjectFactory_Vtbl { let this = (*this).get_impl(); match IXpsOMObjectFactory_Impl::CreatePackage(this) { Ok(ok__) => { - core::ptr::write(package, core::mem::transmute(ok__)); + package.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2876,7 +2876,7 @@ impl IXpsOMObjectFactory_Vtbl { let this = (*this).get_impl(); match IXpsOMObjectFactory_Impl::CreatePackageFromFile(this, core::mem::transmute(&filename), core::mem::transmute_copy(&reuseobjects)) { Ok(ok__) => { - core::ptr::write(package, core::mem::transmute(ok__)); + package.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2887,7 +2887,7 @@ impl IXpsOMObjectFactory_Vtbl { let this = (*this).get_impl(); match IXpsOMObjectFactory_Impl::CreatePackageFromStream(this, windows_core::from_raw_borrowed(&stream), core::mem::transmute_copy(&reuseobjects)) { Ok(ok__) => { - core::ptr::write(package, core::mem::transmute(ok__)); + package.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2898,7 +2898,7 @@ impl IXpsOMObjectFactory_Vtbl { let this = (*this).get_impl(); match IXpsOMObjectFactory_Impl::CreateStoryFragmentsResource(this, windows_core::from_raw_borrowed(&acquiredstream), windows_core::from_raw_borrowed(&parturi)) { Ok(ok__) => { - core::ptr::write(storyfragmentsresource, core::mem::transmute(ok__)); + storyfragmentsresource.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2909,7 +2909,7 @@ impl IXpsOMObjectFactory_Vtbl { let this = (*this).get_impl(); match IXpsOMObjectFactory_Impl::CreateDocumentStructureResource(this, windows_core::from_raw_borrowed(&acquiredstream), windows_core::from_raw_borrowed(&parturi)) { Ok(ok__) => { - core::ptr::write(documentstructureresource, core::mem::transmute(ok__)); + documentstructureresource.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2920,7 +2920,7 @@ impl IXpsOMObjectFactory_Vtbl { let this = (*this).get_impl(); match IXpsOMObjectFactory_Impl::CreateSignatureBlockResource(this, windows_core::from_raw_borrowed(&acquiredstream), windows_core::from_raw_borrowed(&parturi)) { Ok(ok__) => { - core::ptr::write(signatureblockresource, core::mem::transmute(ok__)); + signatureblockresource.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2931,7 +2931,7 @@ impl IXpsOMObjectFactory_Vtbl { let this = (*this).get_impl(); match IXpsOMObjectFactory_Impl::CreateRemoteDictionaryResource(this, windows_core::from_raw_borrowed(&dictionary), windows_core::from_raw_borrowed(&parturi)) { Ok(ok__) => { - core::ptr::write(remotedictionaryresource, core::mem::transmute(ok__)); + remotedictionaryresource.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2942,7 +2942,7 @@ impl IXpsOMObjectFactory_Vtbl { let this = (*this).get_impl(); match IXpsOMObjectFactory_Impl::CreateRemoteDictionaryResourceFromStream(this, windows_core::from_raw_borrowed(&dictionarymarkupstream), windows_core::from_raw_borrowed(&dictionaryparturi), windows_core::from_raw_borrowed(&resources)) { Ok(ok__) => { - core::ptr::write(dictionaryresource, core::mem::transmute(ok__)); + dictionaryresource.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2953,7 +2953,7 @@ impl IXpsOMObjectFactory_Vtbl { let this = (*this).get_impl(); match IXpsOMObjectFactory_Impl::CreatePartResources(this) { Ok(ok__) => { - core::ptr::write(partresources, core::mem::transmute(ok__)); + partresources.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2964,7 +2964,7 @@ impl IXpsOMObjectFactory_Vtbl { let this = (*this).get_impl(); match IXpsOMObjectFactory_Impl::CreateDocumentSequence(this, windows_core::from_raw_borrowed(&parturi)) { Ok(ok__) => { - core::ptr::write(documentsequence, core::mem::transmute(ok__)); + documentsequence.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2975,7 +2975,7 @@ impl IXpsOMObjectFactory_Vtbl { let this = (*this).get_impl(); match IXpsOMObjectFactory_Impl::CreateDocument(this, windows_core::from_raw_borrowed(&parturi)) { Ok(ok__) => { - core::ptr::write(document, core::mem::transmute(ok__)); + document.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2986,7 +2986,7 @@ impl IXpsOMObjectFactory_Vtbl { let this = (*this).get_impl(); match IXpsOMObjectFactory_Impl::CreatePageReference(this, core::mem::transmute_copy(&advisorypagedimensions)) { Ok(ok__) => { - core::ptr::write(pagereference, core::mem::transmute(ok__)); + pagereference.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2997,7 +2997,7 @@ impl IXpsOMObjectFactory_Vtbl { let this = (*this).get_impl(); match IXpsOMObjectFactory_Impl::CreatePage(this, core::mem::transmute_copy(&pagedimensions), core::mem::transmute(&language), windows_core::from_raw_borrowed(&parturi)) { Ok(ok__) => { - core::ptr::write(page, core::mem::transmute(ok__)); + page.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3008,7 +3008,7 @@ impl IXpsOMObjectFactory_Vtbl { let this = (*this).get_impl(); match IXpsOMObjectFactory_Impl::CreatePageFromStream(this, windows_core::from_raw_borrowed(&pagemarkupstream), windows_core::from_raw_borrowed(&parturi), windows_core::from_raw_borrowed(&resources), core::mem::transmute_copy(&reuseobjects)) { Ok(ok__) => { - core::ptr::write(page, core::mem::transmute(ok__)); + page.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3019,7 +3019,7 @@ impl IXpsOMObjectFactory_Vtbl { let this = (*this).get_impl(); match IXpsOMObjectFactory_Impl::CreateCanvas(this) { Ok(ok__) => { - core::ptr::write(canvas, core::mem::transmute(ok__)); + canvas.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3030,7 +3030,7 @@ impl IXpsOMObjectFactory_Vtbl { let this = (*this).get_impl(); match IXpsOMObjectFactory_Impl::CreateGlyphs(this, windows_core::from_raw_borrowed(&fontresource)) { Ok(ok__) => { - core::ptr::write(glyphs, core::mem::transmute(ok__)); + glyphs.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3041,7 +3041,7 @@ impl IXpsOMObjectFactory_Vtbl { let this = (*this).get_impl(); match IXpsOMObjectFactory_Impl::CreatePath(this) { Ok(ok__) => { - core::ptr::write(path, core::mem::transmute(ok__)); + path.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3052,7 +3052,7 @@ impl IXpsOMObjectFactory_Vtbl { let this = (*this).get_impl(); match IXpsOMObjectFactory_Impl::CreateGeometry(this) { Ok(ok__) => { - core::ptr::write(geometry, core::mem::transmute(ok__)); + geometry.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3063,7 +3063,7 @@ impl IXpsOMObjectFactory_Vtbl { let this = (*this).get_impl(); match IXpsOMObjectFactory_Impl::CreateGeometryFigure(this, core::mem::transmute_copy(&startpoint)) { Ok(ok__) => { - core::ptr::write(figure, core::mem::transmute(ok__)); + figure.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3074,7 +3074,7 @@ impl IXpsOMObjectFactory_Vtbl { let this = (*this).get_impl(); match IXpsOMObjectFactory_Impl::CreateMatrixTransform(this, core::mem::transmute_copy(&matrix)) { Ok(ok__) => { - core::ptr::write(transform, core::mem::transmute(ok__)); + transform.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3085,7 +3085,7 @@ impl IXpsOMObjectFactory_Vtbl { let this = (*this).get_impl(); match IXpsOMObjectFactory_Impl::CreateSolidColorBrush(this, core::mem::transmute_copy(&color), windows_core::from_raw_borrowed(&colorprofile)) { Ok(ok__) => { - core::ptr::write(solidcolorbrush, core::mem::transmute(ok__)); + solidcolorbrush.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3096,7 +3096,7 @@ impl IXpsOMObjectFactory_Vtbl { let this = (*this).get_impl(); match IXpsOMObjectFactory_Impl::CreateColorProfileResource(this, windows_core::from_raw_borrowed(&acquiredstream), windows_core::from_raw_borrowed(&parturi)) { Ok(ok__) => { - core::ptr::write(colorprofileresource, core::mem::transmute(ok__)); + colorprofileresource.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3107,7 +3107,7 @@ impl IXpsOMObjectFactory_Vtbl { let this = (*this).get_impl(); match IXpsOMObjectFactory_Impl::CreateImageBrush(this, windows_core::from_raw_borrowed(&image), core::mem::transmute_copy(&viewbox), core::mem::transmute_copy(&viewport)) { Ok(ok__) => { - core::ptr::write(imagebrush, core::mem::transmute(ok__)); + imagebrush.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3118,7 +3118,7 @@ impl IXpsOMObjectFactory_Vtbl { let this = (*this).get_impl(); match IXpsOMObjectFactory_Impl::CreateVisualBrush(this, core::mem::transmute_copy(&viewbox), core::mem::transmute_copy(&viewport)) { Ok(ok__) => { - core::ptr::write(visualbrush, core::mem::transmute(ok__)); + visualbrush.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3129,7 +3129,7 @@ impl IXpsOMObjectFactory_Vtbl { let this = (*this).get_impl(); match IXpsOMObjectFactory_Impl::CreateImageResource(this, windows_core::from_raw_borrowed(&acquiredstream), core::mem::transmute_copy(&contenttype), windows_core::from_raw_borrowed(&parturi)) { Ok(ok__) => { - core::ptr::write(imageresource, core::mem::transmute(ok__)); + imageresource.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3140,7 +3140,7 @@ impl IXpsOMObjectFactory_Vtbl { let this = (*this).get_impl(); match IXpsOMObjectFactory_Impl::CreatePrintTicketResource(this, windows_core::from_raw_borrowed(&acquiredstream), windows_core::from_raw_borrowed(&parturi)) { Ok(ok__) => { - core::ptr::write(printticketresource, core::mem::transmute(ok__)); + printticketresource.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3151,7 +3151,7 @@ impl IXpsOMObjectFactory_Vtbl { let this = (*this).get_impl(); match IXpsOMObjectFactory_Impl::CreateFontResource(this, windows_core::from_raw_borrowed(&acquiredstream), core::mem::transmute_copy(&fontembedding), windows_core::from_raw_borrowed(&parturi), core::mem::transmute_copy(&isobfsourcestream)) { Ok(ok__) => { - core::ptr::write(fontresource, core::mem::transmute(ok__)); + fontresource.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3162,7 +3162,7 @@ impl IXpsOMObjectFactory_Vtbl { let this = (*this).get_impl(); match IXpsOMObjectFactory_Impl::CreateGradientStop(this, core::mem::transmute_copy(&color), windows_core::from_raw_borrowed(&colorprofile), core::mem::transmute_copy(&offset)) { Ok(ok__) => { - core::ptr::write(gradientstop, core::mem::transmute(ok__)); + gradientstop.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3173,7 +3173,7 @@ impl IXpsOMObjectFactory_Vtbl { let this = (*this).get_impl(); match IXpsOMObjectFactory_Impl::CreateLinearGradientBrush(this, windows_core::from_raw_borrowed(&gradstop1), windows_core::from_raw_borrowed(&gradstop2), core::mem::transmute_copy(&startpoint), core::mem::transmute_copy(&endpoint)) { Ok(ok__) => { - core::ptr::write(lineargradientbrush, core::mem::transmute(ok__)); + lineargradientbrush.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3184,7 +3184,7 @@ impl IXpsOMObjectFactory_Vtbl { let this = (*this).get_impl(); match IXpsOMObjectFactory_Impl::CreateRadialGradientBrush(this, windows_core::from_raw_borrowed(&gradstop1), windows_core::from_raw_borrowed(&gradstop2), core::mem::transmute_copy(¢erpoint), core::mem::transmute_copy(&gradientorigin), core::mem::transmute_copy(&radiisizes)) { Ok(ok__) => { - core::ptr::write(radialgradientbrush, core::mem::transmute(ok__)); + radialgradientbrush.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3195,7 +3195,7 @@ impl IXpsOMObjectFactory_Vtbl { let this = (*this).get_impl(); match IXpsOMObjectFactory_Impl::CreateCoreProperties(this, windows_core::from_raw_borrowed(&parturi)) { Ok(ok__) => { - core::ptr::write(coreproperties, core::mem::transmute(ok__)); + coreproperties.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3206,7 +3206,7 @@ impl IXpsOMObjectFactory_Vtbl { let this = (*this).get_impl(); match IXpsOMObjectFactory_Impl::CreateDictionary(this) { Ok(ok__) => { - core::ptr::write(dictionary, core::mem::transmute(ok__)); + dictionary.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3217,7 +3217,7 @@ impl IXpsOMObjectFactory_Vtbl { let this = (*this).get_impl(); match IXpsOMObjectFactory_Impl::CreatePartUriCollection(this) { Ok(ok__) => { - core::ptr::write(parturicollection, core::mem::transmute(ok__)); + parturicollection.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3240,7 +3240,7 @@ impl IXpsOMObjectFactory_Vtbl { windows_core::from_raw_borrowed(&discardcontrolpartname), ) { Ok(ok__) => { - core::ptr::write(packagewriter, core::mem::transmute(ok__)); + packagewriter.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3251,7 +3251,7 @@ impl IXpsOMObjectFactory_Vtbl { let this = (*this).get_impl(); match IXpsOMObjectFactory_Impl::CreatePackageWriterOnStream(this, windows_core::from_raw_borrowed(&outputstream), core::mem::transmute_copy(&optimizemarkupsize), core::mem::transmute_copy(&interleaving), windows_core::from_raw_borrowed(&documentsequencepartname), windows_core::from_raw_borrowed(&coreproperties), windows_core::from_raw_borrowed(&packagethumbnail), windows_core::from_raw_borrowed(&documentsequenceprintticket), windows_core::from_raw_borrowed(&discardcontrolpartname)) { Ok(ok__) => { - core::ptr::write(packagewriter, core::mem::transmute(ok__)); + packagewriter.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3262,7 +3262,7 @@ impl IXpsOMObjectFactory_Vtbl { let this = (*this).get_impl(); match IXpsOMObjectFactory_Impl::CreatePartUri(this, core::mem::transmute(&uri)) { Ok(ok__) => { - core::ptr::write(parturi, core::mem::transmute(ok__)); + parturi.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3273,7 +3273,7 @@ impl IXpsOMObjectFactory_Vtbl { let this = (*this).get_impl(); match IXpsOMObjectFactory_Impl::CreateReadOnlyStreamOnFile(this, core::mem::transmute(&filename)) { Ok(ok__) => { - core::ptr::write(stream, core::mem::transmute(ok__)); + stream.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3349,7 +3349,7 @@ impl IXpsOMObjectFactory1_Vtbl { let this = (*this).get_impl(); match IXpsOMObjectFactory1_Impl::GetDocumentTypeFromFile(this, core::mem::transmute(&filename)) { Ok(ok__) => { - core::ptr::write(documenttype, core::mem::transmute(ok__)); + documenttype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3360,7 +3360,7 @@ impl IXpsOMObjectFactory1_Vtbl { let this = (*this).get_impl(); match IXpsOMObjectFactory1_Impl::GetDocumentTypeFromStream(this, windows_core::from_raw_borrowed(&xpsdocumentstream)) { Ok(ok__) => { - core::ptr::write(documenttype, core::mem::transmute(ok__)); + documenttype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3394,7 +3394,7 @@ impl IXpsOMObjectFactory1_Vtbl { core::mem::transmute_copy(&documenttype), ) { Ok(ok__) => { - core::ptr::write(packagewriter, core::mem::transmute(ok__)); + packagewriter.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3405,7 +3405,7 @@ impl IXpsOMObjectFactory1_Vtbl { let this = (*this).get_impl(); match IXpsOMObjectFactory1_Impl::CreatePackageWriterOnStream1(this, windows_core::from_raw_borrowed(&outputstream), core::mem::transmute_copy(&optimizemarkupsize), core::mem::transmute_copy(&interleaving), windows_core::from_raw_borrowed(&documentsequencepartname), windows_core::from_raw_borrowed(&coreproperties), windows_core::from_raw_borrowed(&packagethumbnail), windows_core::from_raw_borrowed(&documentsequenceprintticket), windows_core::from_raw_borrowed(&discardcontrolpartname), core::mem::transmute_copy(&documenttype)) { Ok(ok__) => { - core::ptr::write(packagewriter, core::mem::transmute(ok__)); + packagewriter.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3416,7 +3416,7 @@ impl IXpsOMObjectFactory1_Vtbl { let this = (*this).get_impl(); match IXpsOMObjectFactory1_Impl::CreatePackage1(this) { Ok(ok__) => { - core::ptr::write(package, core::mem::transmute(ok__)); + package.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3427,7 +3427,7 @@ impl IXpsOMObjectFactory1_Vtbl { let this = (*this).get_impl(); match IXpsOMObjectFactory1_Impl::CreatePackageFromStream1(this, windows_core::from_raw_borrowed(&stream), core::mem::transmute_copy(&reuseobjects)) { Ok(ok__) => { - core::ptr::write(package, core::mem::transmute(ok__)); + package.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3438,7 +3438,7 @@ impl IXpsOMObjectFactory1_Vtbl { let this = (*this).get_impl(); match IXpsOMObjectFactory1_Impl::CreatePackageFromFile1(this, core::mem::transmute(&filename), core::mem::transmute_copy(&reuseobjects)) { Ok(ok__) => { - core::ptr::write(package, core::mem::transmute(ok__)); + package.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3449,7 +3449,7 @@ impl IXpsOMObjectFactory1_Vtbl { let this = (*this).get_impl(); match IXpsOMObjectFactory1_Impl::CreatePage1(this, core::mem::transmute_copy(&pagedimensions), core::mem::transmute(&language), windows_core::from_raw_borrowed(&parturi)) { Ok(ok__) => { - core::ptr::write(page, core::mem::transmute(ok__)); + page.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3460,7 +3460,7 @@ impl IXpsOMObjectFactory1_Vtbl { let this = (*this).get_impl(); match IXpsOMObjectFactory1_Impl::CreatePageFromStream1(this, windows_core::from_raw_borrowed(&pagemarkupstream), windows_core::from_raw_borrowed(&parturi), windows_core::from_raw_borrowed(&resources), core::mem::transmute_copy(&reuseobjects)) { Ok(ok__) => { - core::ptr::write(page, core::mem::transmute(ok__)); + page.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3471,7 +3471,7 @@ impl IXpsOMObjectFactory1_Vtbl { let this = (*this).get_impl(); match IXpsOMObjectFactory1_Impl::CreateRemoteDictionaryResourceFromStream1(this, windows_core::from_raw_borrowed(&dictionarymarkupstream), windows_core::from_raw_borrowed(&parturi), windows_core::from_raw_borrowed(&resources)) { Ok(ok__) => { - core::ptr::write(dictionaryresource, core::mem::transmute(ok__)); + dictionaryresource.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3520,7 +3520,7 @@ impl IXpsOMPackage_Vtbl { let this = (*this).get_impl(); match IXpsOMPackage_Impl::GetDocumentSequence(this) { Ok(ok__) => { - core::ptr::write(documentsequence, core::mem::transmute(ok__)); + documentsequence.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3536,7 +3536,7 @@ impl IXpsOMPackage_Vtbl { let this = (*this).get_impl(); match IXpsOMPackage_Impl::GetCoreProperties(this) { Ok(ok__) => { - core::ptr::write(coreproperties, core::mem::transmute(ok__)); + coreproperties.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3552,7 +3552,7 @@ impl IXpsOMPackage_Vtbl { let this = (*this).get_impl(); match IXpsOMPackage_Impl::GetDiscardControlPartName(this) { Ok(ok__) => { - core::ptr::write(discardcontrolparturi, core::mem::transmute(ok__)); + discardcontrolparturi.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3568,7 +3568,7 @@ impl IXpsOMPackage_Vtbl { let this = (*this).get_impl(); match IXpsOMPackage_Impl::GetThumbnailResource(this) { Ok(ok__) => { - core::ptr::write(imageresource, core::mem::transmute(ok__)); + imageresource.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3623,7 +3623,7 @@ impl IXpsOMPackage1_Vtbl { let this = (*this).get_impl(); match IXpsOMPackage1_Impl::GetDocumentType(this) { Ok(ok__) => { - core::ptr::write(documenttype, core::mem::transmute(ok__)); + documenttype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3664,7 +3664,7 @@ impl IXpsOMPackageTarget_Vtbl { let this = (*this).get_impl(); match IXpsOMPackageTarget_Impl::CreateXpsOMPackageWriter(this, windows_core::from_raw_borrowed(&documentsequencepartname), windows_core::from_raw_borrowed(&documentsequenceprintticket), windows_core::from_raw_borrowed(&discardcontrolpartname)) { Ok(ok__) => { - core::ptr::write(packagewriter, core::mem::transmute(ok__)); + packagewriter.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3714,7 +3714,7 @@ impl IXpsOMPackageWriter_Vtbl { let this = (*this).get_impl(); match IXpsOMPackageWriter_Impl::IsClosed(this) { Ok(ok__) => { - core::ptr::write(isclosed, core::mem::transmute(ok__)); + isclosed.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3798,7 +3798,7 @@ impl IXpsOMPage_Vtbl { let this = (*this).get_impl(); match IXpsOMPage_Impl::GetOwner(this) { Ok(ok__) => { - core::ptr::write(pagereference, core::mem::transmute(ok__)); + pagereference.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3809,7 +3809,7 @@ impl IXpsOMPage_Vtbl { let this = (*this).get_impl(); match IXpsOMPage_Impl::GetVisuals(this) { Ok(ok__) => { - core::ptr::write(visuals, core::mem::transmute(ok__)); + visuals.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3820,7 +3820,7 @@ impl IXpsOMPage_Vtbl { let this = (*this).get_impl(); match IXpsOMPage_Impl::GetPageDimensions(this) { Ok(ok__) => { - core::ptr::write(pagedimensions, core::mem::transmute(ok__)); + pagedimensions.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3836,7 +3836,7 @@ impl IXpsOMPage_Vtbl { let this = (*this).get_impl(); match IXpsOMPage_Impl::GetContentBox(this) { Ok(ok__) => { - core::ptr::write(contentbox, core::mem::transmute(ok__)); + contentbox.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3852,7 +3852,7 @@ impl IXpsOMPage_Vtbl { let this = (*this).get_impl(); match IXpsOMPage_Impl::GetBleedBox(this) { Ok(ok__) => { - core::ptr::write(bleedbox, core::mem::transmute(ok__)); + bleedbox.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3868,7 +3868,7 @@ impl IXpsOMPage_Vtbl { let this = (*this).get_impl(); match IXpsOMPage_Impl::GetLanguage(this) { Ok(ok__) => { - core::ptr::write(language, core::mem::transmute(ok__)); + language.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3884,7 +3884,7 @@ impl IXpsOMPage_Vtbl { let this = (*this).get_impl(); match IXpsOMPage_Impl::GetName(this) { Ok(ok__) => { - core::ptr::write(name, core::mem::transmute(ok__)); + name.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3900,7 +3900,7 @@ impl IXpsOMPage_Vtbl { let this = (*this).get_impl(); match IXpsOMPage_Impl::GetIsHyperlinkTarget(this) { Ok(ok__) => { - core::ptr::write(ishyperlinktarget, core::mem::transmute(ok__)); + ishyperlinktarget.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3916,7 +3916,7 @@ impl IXpsOMPage_Vtbl { let this = (*this).get_impl(); match IXpsOMPage_Impl::GetDictionary(this) { Ok(ok__) => { - core::ptr::write(resourcedictionary, core::mem::transmute(ok__)); + resourcedictionary.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3927,7 +3927,7 @@ impl IXpsOMPage_Vtbl { let this = (*this).get_impl(); match IXpsOMPage_Impl::GetDictionaryLocal(this) { Ok(ok__) => { - core::ptr::write(resourcedictionary, core::mem::transmute(ok__)); + resourcedictionary.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3943,7 +3943,7 @@ impl IXpsOMPage_Vtbl { let this = (*this).get_impl(); match IXpsOMPage_Impl::GetDictionaryResource(this) { Ok(ok__) => { - core::ptr::write(remotedictionaryresource, core::mem::transmute(ok__)); + remotedictionaryresource.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3964,7 +3964,7 @@ impl IXpsOMPage_Vtbl { let this = (*this).get_impl(); match IXpsOMPage_Impl::GenerateUnusedLookupKey(this, core::mem::transmute_copy(&r#type)) { Ok(ok__) => { - core::ptr::write(key, core::mem::transmute(ok__)); + key.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3975,7 +3975,7 @@ impl IXpsOMPage_Vtbl { let this = (*this).get_impl(); match IXpsOMPage_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(page, core::mem::transmute(ok__)); + page.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4026,7 +4026,7 @@ impl IXpsOMPage1_Vtbl { let this = (*this).get_impl(); match IXpsOMPage1_Impl::GetDocumentType(this) { Ok(ok__) => { - core::ptr::write(documenttype, core::mem::transmute(ok__)); + documenttype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4074,7 +4074,7 @@ impl IXpsOMPageReference_Vtbl { let this = (*this).get_impl(); match IXpsOMPageReference_Impl::GetOwner(this) { Ok(ok__) => { - core::ptr::write(document, core::mem::transmute(ok__)); + document.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4085,7 +4085,7 @@ impl IXpsOMPageReference_Vtbl { let this = (*this).get_impl(); match IXpsOMPageReference_Impl::GetPage(this) { Ok(ok__) => { - core::ptr::write(page, core::mem::transmute(ok__)); + page.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4106,7 +4106,7 @@ impl IXpsOMPageReference_Vtbl { let this = (*this).get_impl(); match IXpsOMPageReference_Impl::IsPageLoaded(this) { Ok(ok__) => { - core::ptr::write(ispageloaded, core::mem::transmute(ok__)); + ispageloaded.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4117,7 +4117,7 @@ impl IXpsOMPageReference_Vtbl { let this = (*this).get_impl(); match IXpsOMPageReference_Impl::GetAdvisoryPageDimensions(this) { Ok(ok__) => { - core::ptr::write(pagedimensions, core::mem::transmute(ok__)); + pagedimensions.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4133,7 +4133,7 @@ impl IXpsOMPageReference_Vtbl { let this = (*this).get_impl(); match IXpsOMPageReference_Impl::GetStoryFragmentsResource(this) { Ok(ok__) => { - core::ptr::write(storyfragmentsresource, core::mem::transmute(ok__)); + storyfragmentsresource.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4149,7 +4149,7 @@ impl IXpsOMPageReference_Vtbl { let this = (*this).get_impl(); match IXpsOMPageReference_Impl::GetPrintTicketResource(this) { Ok(ok__) => { - core::ptr::write(printticketresource, core::mem::transmute(ok__)); + printticketresource.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4165,7 +4165,7 @@ impl IXpsOMPageReference_Vtbl { let this = (*this).get_impl(); match IXpsOMPageReference_Impl::GetThumbnailResource(this) { Ok(ok__) => { - core::ptr::write(imageresource, core::mem::transmute(ok__)); + imageresource.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4181,7 +4181,7 @@ impl IXpsOMPageReference_Vtbl { let this = (*this).get_impl(); match IXpsOMPageReference_Impl::CollectLinkTargets(this) { Ok(ok__) => { - core::ptr::write(linktargets, core::mem::transmute(ok__)); + linktargets.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4192,7 +4192,7 @@ impl IXpsOMPageReference_Vtbl { let this = (*this).get_impl(); match IXpsOMPageReference_Impl::CollectPartResources(this) { Ok(ok__) => { - core::ptr::write(partresources, core::mem::transmute(ok__)); + partresources.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4203,7 +4203,7 @@ impl IXpsOMPageReference_Vtbl { let this = (*this).get_impl(); match IXpsOMPageReference_Impl::HasRestrictedFonts(this) { Ok(ok__) => { - core::ptr::write(restrictedfonts, core::mem::transmute(ok__)); + restrictedfonts.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4214,7 +4214,7 @@ impl IXpsOMPageReference_Vtbl { let this = (*this).get_impl(); match IXpsOMPageReference_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(pagereference, core::mem::transmute(ok__)); + pagereference.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4261,7 +4261,7 @@ impl IXpsOMPageReferenceCollection_Vtbl { let this = (*this).get_impl(); match IXpsOMPageReferenceCollection_Impl::GetCount(this) { Ok(ok__) => { - core::ptr::write(count, core::mem::transmute(ok__)); + count.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4272,7 +4272,7 @@ impl IXpsOMPageReferenceCollection_Vtbl { let this = (*this).get_impl(); match IXpsOMPageReferenceCollection_Impl::GetAt(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(pagereference, core::mem::transmute(ok__)); + pagereference.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4327,7 +4327,7 @@ impl IXpsOMPart_Vtbl { let this = (*this).get_impl(); match IXpsOMPart_Impl::GetPartName(this) { Ok(ok__) => { - core::ptr::write(parturi, core::mem::transmute(ok__)); + parturi.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4362,7 +4362,7 @@ impl IXpsOMPartResources_Vtbl { let this = (*this).get_impl(); match IXpsOMPartResources_Impl::GetFontResources(this) { Ok(ok__) => { - core::ptr::write(fontresources, core::mem::transmute(ok__)); + fontresources.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4373,7 +4373,7 @@ impl IXpsOMPartResources_Vtbl { let this = (*this).get_impl(); match IXpsOMPartResources_Impl::GetImageResources(this) { Ok(ok__) => { - core::ptr::write(imageresources, core::mem::transmute(ok__)); + imageresources.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4384,7 +4384,7 @@ impl IXpsOMPartResources_Vtbl { let this = (*this).get_impl(); match IXpsOMPartResources_Impl::GetColorProfileResources(this) { Ok(ok__) => { - core::ptr::write(colorprofileresources, core::mem::transmute(ok__)); + colorprofileresources.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4395,7 +4395,7 @@ impl IXpsOMPartResources_Vtbl { let this = (*this).get_impl(); match IXpsOMPartResources_Impl::GetRemoteDictionaryResources(this) { Ok(ok__) => { - core::ptr::write(dictionaryresources, core::mem::transmute(ok__)); + dictionaryresources.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4432,7 +4432,7 @@ impl IXpsOMPartUriCollection_Vtbl { let this = (*this).get_impl(); match IXpsOMPartUriCollection_Impl::GetCount(this) { Ok(ok__) => { - core::ptr::write(count, core::mem::transmute(ok__)); + count.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4443,7 +4443,7 @@ impl IXpsOMPartUriCollection_Vtbl { let this = (*this).get_impl(); match IXpsOMPartUriCollection_Impl::GetAt(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(parturi, core::mem::transmute(ok__)); + parturi.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4533,7 +4533,7 @@ impl IXpsOMPath_Vtbl { let this = (*this).get_impl(); match IXpsOMPath_Impl::GetGeometry(this) { Ok(ok__) => { - core::ptr::write(geometry, core::mem::transmute(ok__)); + geometry.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4544,7 +4544,7 @@ impl IXpsOMPath_Vtbl { let this = (*this).get_impl(); match IXpsOMPath_Impl::GetGeometryLocal(this) { Ok(ok__) => { - core::ptr::write(geometry, core::mem::transmute(ok__)); + geometry.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4560,7 +4560,7 @@ impl IXpsOMPath_Vtbl { let this = (*this).get_impl(); match IXpsOMPath_Impl::GetGeometryLookup(this) { Ok(ok__) => { - core::ptr::write(lookup, core::mem::transmute(ok__)); + lookup.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4576,7 +4576,7 @@ impl IXpsOMPath_Vtbl { let this = (*this).get_impl(); match IXpsOMPath_Impl::GetAccessibilityShortDescription(this) { Ok(ok__) => { - core::ptr::write(shortdescription, core::mem::transmute(ok__)); + shortdescription.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4592,7 +4592,7 @@ impl IXpsOMPath_Vtbl { let this = (*this).get_impl(); match IXpsOMPath_Impl::GetAccessibilityLongDescription(this) { Ok(ok__) => { - core::ptr::write(longdescription, core::mem::transmute(ok__)); + longdescription.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4608,7 +4608,7 @@ impl IXpsOMPath_Vtbl { let this = (*this).get_impl(); match IXpsOMPath_Impl::GetSnapsToPixels(this) { Ok(ok__) => { - core::ptr::write(snapstopixels, core::mem::transmute(ok__)); + snapstopixels.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4624,7 +4624,7 @@ impl IXpsOMPath_Vtbl { let this = (*this).get_impl(); match IXpsOMPath_Impl::GetStrokeBrush(this) { Ok(ok__) => { - core::ptr::write(brush, core::mem::transmute(ok__)); + brush.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4635,7 +4635,7 @@ impl IXpsOMPath_Vtbl { let this = (*this).get_impl(); match IXpsOMPath_Impl::GetStrokeBrushLocal(this) { Ok(ok__) => { - core::ptr::write(brush, core::mem::transmute(ok__)); + brush.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4651,7 +4651,7 @@ impl IXpsOMPath_Vtbl { let this = (*this).get_impl(); match IXpsOMPath_Impl::GetStrokeBrushLookup(this) { Ok(ok__) => { - core::ptr::write(lookup, core::mem::transmute(ok__)); + lookup.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4667,7 +4667,7 @@ impl IXpsOMPath_Vtbl { let this = (*this).get_impl(); match IXpsOMPath_Impl::GetStrokeDashes(this) { Ok(ok__) => { - core::ptr::write(strokedashes, core::mem::transmute(ok__)); + strokedashes.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4678,7 +4678,7 @@ impl IXpsOMPath_Vtbl { let this = (*this).get_impl(); match IXpsOMPath_Impl::GetStrokeDashCap(this) { Ok(ok__) => { - core::ptr::write(strokedashcap, core::mem::transmute(ok__)); + strokedashcap.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4694,7 +4694,7 @@ impl IXpsOMPath_Vtbl { let this = (*this).get_impl(); match IXpsOMPath_Impl::GetStrokeDashOffset(this) { Ok(ok__) => { - core::ptr::write(strokedashoffset, core::mem::transmute(ok__)); + strokedashoffset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4710,7 +4710,7 @@ impl IXpsOMPath_Vtbl { let this = (*this).get_impl(); match IXpsOMPath_Impl::GetStrokeStartLineCap(this) { Ok(ok__) => { - core::ptr::write(strokestartlinecap, core::mem::transmute(ok__)); + strokestartlinecap.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4726,7 +4726,7 @@ impl IXpsOMPath_Vtbl { let this = (*this).get_impl(); match IXpsOMPath_Impl::GetStrokeEndLineCap(this) { Ok(ok__) => { - core::ptr::write(strokeendlinecap, core::mem::transmute(ok__)); + strokeendlinecap.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4742,7 +4742,7 @@ impl IXpsOMPath_Vtbl { let this = (*this).get_impl(); match IXpsOMPath_Impl::GetStrokeLineJoin(this) { Ok(ok__) => { - core::ptr::write(strokelinejoin, core::mem::transmute(ok__)); + strokelinejoin.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4758,7 +4758,7 @@ impl IXpsOMPath_Vtbl { let this = (*this).get_impl(); match IXpsOMPath_Impl::GetStrokeMiterLimit(this) { Ok(ok__) => { - core::ptr::write(strokemiterlimit, core::mem::transmute(ok__)); + strokemiterlimit.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4774,7 +4774,7 @@ impl IXpsOMPath_Vtbl { let this = (*this).get_impl(); match IXpsOMPath_Impl::GetStrokeThickness(this) { Ok(ok__) => { - core::ptr::write(strokethickness, core::mem::transmute(ok__)); + strokethickness.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4790,7 +4790,7 @@ impl IXpsOMPath_Vtbl { let this = (*this).get_impl(); match IXpsOMPath_Impl::GetFillBrush(this) { Ok(ok__) => { - core::ptr::write(brush, core::mem::transmute(ok__)); + brush.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4801,7 +4801,7 @@ impl IXpsOMPath_Vtbl { let this = (*this).get_impl(); match IXpsOMPath_Impl::GetFillBrushLocal(this) { Ok(ok__) => { - core::ptr::write(brush, core::mem::transmute(ok__)); + brush.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4817,7 +4817,7 @@ impl IXpsOMPath_Vtbl { let this = (*this).get_impl(); match IXpsOMPath_Impl::GetFillBrushLookup(this) { Ok(ok__) => { - core::ptr::write(lookup, core::mem::transmute(ok__)); + lookup.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4833,7 +4833,7 @@ impl IXpsOMPath_Vtbl { let this = (*this).get_impl(); match IXpsOMPath_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(path, core::mem::transmute(ok__)); + path.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4899,7 +4899,7 @@ impl IXpsOMPrintTicketResource_Vtbl { let this = (*this).get_impl(); match IXpsOMPrintTicketResource_Impl::GetStream(this) { Ok(ok__) => { - core::ptr::write(stream, core::mem::transmute(ok__)); + stream.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4937,7 +4937,7 @@ impl IXpsOMRadialGradientBrush_Vtbl { let this = (*this).get_impl(); match IXpsOMRadialGradientBrush_Impl::GetCenter(this) { Ok(ok__) => { - core::ptr::write(center, core::mem::transmute(ok__)); + center.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4953,7 +4953,7 @@ impl IXpsOMRadialGradientBrush_Vtbl { let this = (*this).get_impl(); match IXpsOMRadialGradientBrush_Impl::GetRadiiSizes(this) { Ok(ok__) => { - core::ptr::write(radiisizes, core::mem::transmute(ok__)); + radiisizes.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4969,7 +4969,7 @@ impl IXpsOMRadialGradientBrush_Vtbl { let this = (*this).get_impl(); match IXpsOMRadialGradientBrush_Impl::GetGradientOrigin(this) { Ok(ok__) => { - core::ptr::write(origin, core::mem::transmute(ok__)); + origin.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4985,7 +4985,7 @@ impl IXpsOMRadialGradientBrush_Vtbl { let this = (*this).get_impl(); match IXpsOMRadialGradientBrush_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(radialgradientbrush, core::mem::transmute(ok__)); + radialgradientbrush.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5021,7 +5021,7 @@ impl IXpsOMRemoteDictionaryResource_Vtbl { let this = (*this).get_impl(); match IXpsOMRemoteDictionaryResource_Impl::GetDictionary(this) { Ok(ok__) => { - core::ptr::write(dictionary, core::mem::transmute(ok__)); + dictionary.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5057,7 +5057,7 @@ impl IXpsOMRemoteDictionaryResource1_Vtbl { let this = (*this).get_impl(); match IXpsOMRemoteDictionaryResource1_Impl::GetDocumentType(this) { Ok(ok__) => { - core::ptr::write(documenttype, core::mem::transmute(ok__)); + documenttype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5098,7 +5098,7 @@ impl IXpsOMRemoteDictionaryResourceCollection_Vtbl { let this = (*this).get_impl(); match IXpsOMRemoteDictionaryResourceCollection_Impl::GetCount(this) { Ok(ok__) => { - core::ptr::write(count, core::mem::transmute(ok__)); + count.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5109,7 +5109,7 @@ impl IXpsOMRemoteDictionaryResourceCollection_Vtbl { let this = (*this).get_impl(); match IXpsOMRemoteDictionaryResourceCollection_Impl::GetAt(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(object, core::mem::transmute(ok__)); + object.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5140,7 +5140,7 @@ impl IXpsOMRemoteDictionaryResourceCollection_Vtbl { let this = (*this).get_impl(); match IXpsOMRemoteDictionaryResourceCollection_Impl::GetByPartName(this, windows_core::from_raw_borrowed(&partname)) { Ok(ok__) => { - core::ptr::write(remotedictionaryresource, core::mem::transmute(ok__)); + remotedictionaryresource.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5186,7 +5186,7 @@ impl IXpsOMShareable_Vtbl { let this = (*this).get_impl(); match IXpsOMShareable_Impl::GetOwner(this) { Ok(ok__) => { - core::ptr::write(owner, core::mem::transmute(ok__)); + owner.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5197,7 +5197,7 @@ impl IXpsOMShareable_Vtbl { let this = (*this).get_impl(); match IXpsOMShareable_Impl::GetType(this) { Ok(ok__) => { - core::ptr::write(r#type, core::mem::transmute(ok__)); + r#type.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5229,7 +5229,7 @@ impl IXpsOMSignatureBlockResource_Vtbl { let this = (*this).get_impl(); match IXpsOMSignatureBlockResource_Impl::GetOwner(this) { Ok(ok__) => { - core::ptr::write(owner, core::mem::transmute(ok__)); + owner.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5240,7 +5240,7 @@ impl IXpsOMSignatureBlockResource_Vtbl { let this = (*this).get_impl(); match IXpsOMSignatureBlockResource_Impl::GetStream(this) { Ok(ok__) => { - core::ptr::write(stream, core::mem::transmute(ok__)); + stream.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5282,7 +5282,7 @@ impl IXpsOMSignatureBlockResourceCollection_Vtbl { let this = (*this).get_impl(); match IXpsOMSignatureBlockResourceCollection_Impl::GetCount(this) { Ok(ok__) => { - core::ptr::write(count, core::mem::transmute(ok__)); + count.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5293,7 +5293,7 @@ impl IXpsOMSignatureBlockResourceCollection_Vtbl { let this = (*this).get_impl(); match IXpsOMSignatureBlockResourceCollection_Impl::GetAt(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(signatureblockresource, core::mem::transmute(ok__)); + signatureblockresource.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5324,7 +5324,7 @@ impl IXpsOMSignatureBlockResourceCollection_Vtbl { let this = (*this).get_impl(); match IXpsOMSignatureBlockResourceCollection_Impl::GetByPartName(this, windows_core::from_raw_borrowed(&partname)) { Ok(ok__) => { - core::ptr::write(signatureblockresource, core::mem::transmute(ok__)); + signatureblockresource.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5358,7 +5358,7 @@ impl IXpsOMSolidColorBrush_Vtbl { let this = (*this).get_impl(); match IXpsOMSolidColorBrush_Impl::GetColor(this, core::mem::transmute_copy(&color)) { Ok(ok__) => { - core::ptr::write(colorprofile, core::mem::transmute(ok__)); + colorprofile.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5374,7 +5374,7 @@ impl IXpsOMSolidColorBrush_Vtbl { let this = (*this).get_impl(); match IXpsOMSolidColorBrush_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(solidcolorbrush, core::mem::transmute(ok__)); + solidcolorbrush.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5407,7 +5407,7 @@ impl IXpsOMStoryFragmentsResource_Vtbl { let this = (*this).get_impl(); match IXpsOMStoryFragmentsResource_Impl::GetOwner(this) { Ok(ok__) => { - core::ptr::write(owner, core::mem::transmute(ok__)); + owner.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5418,7 +5418,7 @@ impl IXpsOMStoryFragmentsResource_Vtbl { let this = (*this).get_impl(); match IXpsOMStoryFragmentsResource_Impl::GetStream(this) { Ok(ok__) => { - core::ptr::write(stream, core::mem::transmute(ok__)); + stream.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5454,7 +5454,7 @@ impl IXpsOMThumbnailGenerator_Vtbl { let this = (*this).get_impl(); match IXpsOMThumbnailGenerator_Impl::GenerateThumbnail(this, windows_core::from_raw_borrowed(&page), core::mem::transmute_copy(&thumbnailtype), core::mem::transmute_copy(&thumbnailsize), windows_core::from_raw_borrowed(&imageresourcepartname)) { Ok(ok__) => { - core::ptr::write(imageresource, core::mem::transmute(ok__)); + imageresource.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5487,7 +5487,7 @@ impl IXpsOMTileBrush_Vtbl { let this = (*this).get_impl(); match IXpsOMTileBrush_Impl::GetTransform(this) { Ok(ok__) => { - core::ptr::write(transform, core::mem::transmute(ok__)); + transform.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5498,7 +5498,7 @@ impl IXpsOMTileBrush_Vtbl { let this = (*this).get_impl(); match IXpsOMTileBrush_Impl::GetTransformLocal(this) { Ok(ok__) => { - core::ptr::write(transform, core::mem::transmute(ok__)); + transform.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5514,7 +5514,7 @@ impl IXpsOMTileBrush_Vtbl { let this = (*this).get_impl(); match IXpsOMTileBrush_Impl::GetTransformLookup(this) { Ok(ok__) => { - core::ptr::write(key, core::mem::transmute(ok__)); + key.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5530,7 +5530,7 @@ impl IXpsOMTileBrush_Vtbl { let this = (*this).get_impl(); match IXpsOMTileBrush_Impl::GetViewbox(this) { Ok(ok__) => { - core::ptr::write(viewbox, core::mem::transmute(ok__)); + viewbox.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5546,7 +5546,7 @@ impl IXpsOMTileBrush_Vtbl { let this = (*this).get_impl(); match IXpsOMTileBrush_Impl::GetViewport(this) { Ok(ok__) => { - core::ptr::write(viewport, core::mem::transmute(ok__)); + viewport.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5562,7 +5562,7 @@ impl IXpsOMTileBrush_Vtbl { let this = (*this).get_impl(); match IXpsOMTileBrush_Impl::GetTileMode(this) { Ok(ok__) => { - core::ptr::write(tilemode, core::mem::transmute(ok__)); + tilemode.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5630,7 +5630,7 @@ impl IXpsOMVisual_Vtbl { let this = (*this).get_impl(); match IXpsOMVisual_Impl::GetTransform(this) { Ok(ok__) => { - core::ptr::write(matrixtransform, core::mem::transmute(ok__)); + matrixtransform.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5641,7 +5641,7 @@ impl IXpsOMVisual_Vtbl { let this = (*this).get_impl(); match IXpsOMVisual_Impl::GetTransformLocal(this) { Ok(ok__) => { - core::ptr::write(matrixtransform, core::mem::transmute(ok__)); + matrixtransform.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5657,7 +5657,7 @@ impl IXpsOMVisual_Vtbl { let this = (*this).get_impl(); match IXpsOMVisual_Impl::GetTransformLookup(this) { Ok(ok__) => { - core::ptr::write(key, core::mem::transmute(ok__)); + key.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5673,7 +5673,7 @@ impl IXpsOMVisual_Vtbl { let this = (*this).get_impl(); match IXpsOMVisual_Impl::GetClipGeometry(this) { Ok(ok__) => { - core::ptr::write(clipgeometry, core::mem::transmute(ok__)); + clipgeometry.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5684,7 +5684,7 @@ impl IXpsOMVisual_Vtbl { let this = (*this).get_impl(); match IXpsOMVisual_Impl::GetClipGeometryLocal(this) { Ok(ok__) => { - core::ptr::write(clipgeometry, core::mem::transmute(ok__)); + clipgeometry.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5700,7 +5700,7 @@ impl IXpsOMVisual_Vtbl { let this = (*this).get_impl(); match IXpsOMVisual_Impl::GetClipGeometryLookup(this) { Ok(ok__) => { - core::ptr::write(key, core::mem::transmute(ok__)); + key.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5716,7 +5716,7 @@ impl IXpsOMVisual_Vtbl { let this = (*this).get_impl(); match IXpsOMVisual_Impl::GetOpacity(this) { Ok(ok__) => { - core::ptr::write(opacity, core::mem::transmute(ok__)); + opacity.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5732,7 +5732,7 @@ impl IXpsOMVisual_Vtbl { let this = (*this).get_impl(); match IXpsOMVisual_Impl::GetOpacityMaskBrush(this) { Ok(ok__) => { - core::ptr::write(opacitymaskbrush, core::mem::transmute(ok__)); + opacitymaskbrush.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5743,7 +5743,7 @@ impl IXpsOMVisual_Vtbl { let this = (*this).get_impl(); match IXpsOMVisual_Impl::GetOpacityMaskBrushLocal(this) { Ok(ok__) => { - core::ptr::write(opacitymaskbrush, core::mem::transmute(ok__)); + opacitymaskbrush.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5759,7 +5759,7 @@ impl IXpsOMVisual_Vtbl { let this = (*this).get_impl(); match IXpsOMVisual_Impl::GetOpacityMaskBrushLookup(this) { Ok(ok__) => { - core::ptr::write(key, core::mem::transmute(ok__)); + key.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5775,7 +5775,7 @@ impl IXpsOMVisual_Vtbl { let this = (*this).get_impl(); match IXpsOMVisual_Impl::GetName(this) { Ok(ok__) => { - core::ptr::write(name, core::mem::transmute(ok__)); + name.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5791,7 +5791,7 @@ impl IXpsOMVisual_Vtbl { let this = (*this).get_impl(); match IXpsOMVisual_Impl::GetIsHyperlinkTarget(this) { Ok(ok__) => { - core::ptr::write(ishyperlink, core::mem::transmute(ok__)); + ishyperlink.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5807,7 +5807,7 @@ impl IXpsOMVisual_Vtbl { let this = (*this).get_impl(); match IXpsOMVisual_Impl::GetHyperlinkNavigateUri(this) { Ok(ok__) => { - core::ptr::write(hyperlinkuri, core::mem::transmute(ok__)); + hyperlinkuri.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5823,7 +5823,7 @@ impl IXpsOMVisual_Vtbl { let this = (*this).get_impl(); match IXpsOMVisual_Impl::GetLanguage(this) { Ok(ok__) => { - core::ptr::write(language, core::mem::transmute(ok__)); + language.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5883,7 +5883,7 @@ impl IXpsOMVisualBrush_Vtbl { let this = (*this).get_impl(); match IXpsOMVisualBrush_Impl::GetVisual(this) { Ok(ok__) => { - core::ptr::write(visual, core::mem::transmute(ok__)); + visual.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5894,7 +5894,7 @@ impl IXpsOMVisualBrush_Vtbl { let this = (*this).get_impl(); match IXpsOMVisualBrush_Impl::GetVisualLocal(this) { Ok(ok__) => { - core::ptr::write(visual, core::mem::transmute(ok__)); + visual.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5910,7 +5910,7 @@ impl IXpsOMVisualBrush_Vtbl { let this = (*this).get_impl(); match IXpsOMVisualBrush_Impl::GetVisualLookup(this) { Ok(ok__) => { - core::ptr::write(lookup, core::mem::transmute(ok__)); + lookup.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5926,7 +5926,7 @@ impl IXpsOMVisualBrush_Vtbl { let this = (*this).get_impl(); match IXpsOMVisualBrush_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(visualbrush, core::mem::transmute(ok__)); + visualbrush.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5962,7 +5962,7 @@ impl IXpsOMVisualCollection_Vtbl { let this = (*this).get_impl(); match IXpsOMVisualCollection_Impl::GetCount(this) { Ok(ok__) => { - core::ptr::write(count, core::mem::transmute(ok__)); + count.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5973,7 +5973,7 @@ impl IXpsOMVisualCollection_Vtbl { let this = (*this).get_impl(); match IXpsOMVisualCollection_Impl::GetAt(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(object, core::mem::transmute(ok__)); + object.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6038,7 +6038,7 @@ impl IXpsSignature_Vtbl { let this = (*this).get_impl(); match IXpsSignature_Impl::GetSignatureId(this) { Ok(ok__) => { - core::ptr::write(sigid, core::mem::transmute(ok__)); + sigid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6054,7 +6054,7 @@ impl IXpsSignature_Vtbl { let this = (*this).get_impl(); match IXpsSignature_Impl::GetCertificateEnumerator(this) { Ok(ok__) => { - core::ptr::write(certificateenumerator, core::mem::transmute(ok__)); + certificateenumerator.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6065,7 +6065,7 @@ impl IXpsSignature_Vtbl { let this = (*this).get_impl(); match IXpsSignature_Impl::GetSigningTime(this) { Ok(ok__) => { - core::ptr::write(sigdatetimestring, core::mem::transmute(ok__)); + sigdatetimestring.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6076,7 +6076,7 @@ impl IXpsSignature_Vtbl { let this = (*this).get_impl(); match IXpsSignature_Impl::GetSigningTimeFormat(this) { Ok(ok__) => { - core::ptr::write(timeformat, core::mem::transmute(ok__)); + timeformat.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6087,7 +6087,7 @@ impl IXpsSignature_Vtbl { let this = (*this).get_impl(); match IXpsSignature_Impl::GetSignaturePartName(this) { Ok(ok__) => { - core::ptr::write(signaturepartname, core::mem::transmute(ok__)); + signaturepartname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6098,7 +6098,7 @@ impl IXpsSignature_Vtbl { let this = (*this).get_impl(); match IXpsSignature_Impl::Verify(this, core::mem::transmute_copy(&x509certificate)) { Ok(ok__) => { - core::ptr::write(sigstatus, core::mem::transmute(ok__)); + sigstatus.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6109,7 +6109,7 @@ impl IXpsSignature_Vtbl { let this = (*this).get_impl(); match IXpsSignature_Impl::GetPolicy(this) { Ok(ok__) => { - core::ptr::write(policy, core::mem::transmute(ok__)); + policy.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6120,7 +6120,7 @@ impl IXpsSignature_Vtbl { let this = (*this).get_impl(); match IXpsSignature_Impl::GetCustomObjectEnumerator(this) { Ok(ok__) => { - core::ptr::write(customobjectenumerator, core::mem::transmute(ok__)); + customobjectenumerator.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6131,7 +6131,7 @@ impl IXpsSignature_Vtbl { let this = (*this).get_impl(); match IXpsSignature_Impl::GetCustomReferenceEnumerator(this) { Ok(ok__) => { - core::ptr::write(customreferenceenumerator, core::mem::transmute(ok__)); + customreferenceenumerator.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6185,7 +6185,7 @@ impl IXpsSignatureBlock_Vtbl { let this = (*this).get_impl(); match IXpsSignatureBlock_Impl::GetRequests(this) { Ok(ok__) => { - core::ptr::write(requests, core::mem::transmute(ok__)); + requests.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6196,7 +6196,7 @@ impl IXpsSignatureBlock_Vtbl { let this = (*this).get_impl(); match IXpsSignatureBlock_Impl::GetPartName(this) { Ok(ok__) => { - core::ptr::write(partname, core::mem::transmute(ok__)); + partname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6207,7 +6207,7 @@ impl IXpsSignatureBlock_Vtbl { let this = (*this).get_impl(); match IXpsSignatureBlock_Impl::GetDocumentIndex(this) { Ok(ok__) => { - core::ptr::write(fixeddocumentindex, core::mem::transmute(ok__)); + fixeddocumentindex.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6218,7 +6218,7 @@ impl IXpsSignatureBlock_Vtbl { let this = (*this).get_impl(); match IXpsSignatureBlock_Impl::GetDocumentName(this) { Ok(ok__) => { - core::ptr::write(fixeddocumentname, core::mem::transmute(ok__)); + fixeddocumentname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6229,7 +6229,7 @@ impl IXpsSignatureBlock_Vtbl { let this = (*this).get_impl(); match IXpsSignatureBlock_Impl::CreateRequest(this, core::mem::transmute(&requestid)) { Ok(ok__) => { - core::ptr::write(signaturerequest, core::mem::transmute(ok__)); + signaturerequest.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6261,7 +6261,7 @@ impl IXpsSignatureBlockCollection_Vtbl { let this = (*this).get_impl(); match IXpsSignatureBlockCollection_Impl::GetCount(this) { Ok(ok__) => { - core::ptr::write(count, core::mem::transmute(ok__)); + count.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6272,7 +6272,7 @@ impl IXpsSignatureBlockCollection_Vtbl { let this = (*this).get_impl(); match IXpsSignatureBlockCollection_Impl::GetAt(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(signatureblock, core::mem::transmute(ok__)); + signatureblock.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6307,7 +6307,7 @@ impl IXpsSignatureCollection_Vtbl { let this = (*this).get_impl(); match IXpsSignatureCollection_Impl::GetCount(this) { Ok(ok__) => { - core::ptr::write(count, core::mem::transmute(ok__)); + count.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6318,7 +6318,7 @@ impl IXpsSignatureCollection_Vtbl { let this = (*this).get_impl(); match IXpsSignatureCollection_Impl::GetAt(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(signature, core::mem::transmute(ok__)); + signature.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6374,7 +6374,7 @@ impl IXpsSignatureManager_Vtbl { let this = (*this).get_impl(); match IXpsSignatureManager_Impl::Sign(this, windows_core::from_raw_borrowed(&signoptions), core::mem::transmute_copy(&x509certificate)) { Ok(ok__) => { - core::ptr::write(signature, core::mem::transmute(ok__)); + signature.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6385,7 +6385,7 @@ impl IXpsSignatureManager_Vtbl { let this = (*this).get_impl(); match IXpsSignatureManager_Impl::GetSignatureOriginPartName(this) { Ok(ok__) => { - core::ptr::write(signatureoriginpartname, core::mem::transmute(ok__)); + signatureoriginpartname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6401,7 +6401,7 @@ impl IXpsSignatureManager_Vtbl { let this = (*this).get_impl(); match IXpsSignatureManager_Impl::GetSignatures(this) { Ok(ok__) => { - core::ptr::write(signatures, core::mem::transmute(ok__)); + signatures.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6412,7 +6412,7 @@ impl IXpsSignatureManager_Vtbl { let this = (*this).get_impl(); match IXpsSignatureManager_Impl::AddSignatureBlock(this, windows_core::from_raw_borrowed(&partname), core::mem::transmute_copy(&fixeddocumentindex)) { Ok(ok__) => { - core::ptr::write(signatureblock, core::mem::transmute(ok__)); + signatureblock.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6423,7 +6423,7 @@ impl IXpsSignatureManager_Vtbl { let this = (*this).get_impl(); match IXpsSignatureManager_Impl::GetSignatureBlocks(this) { Ok(ok__) => { - core::ptr::write(signatureblocks, core::mem::transmute(ok__)); + signatureblocks.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6434,7 +6434,7 @@ impl IXpsSignatureManager_Vtbl { let this = (*this).get_impl(); match IXpsSignatureManager_Impl::CreateSigningOptions(this) { Ok(ok__) => { - core::ptr::write(signingoptions, core::mem::transmute(ok__)); + signingoptions.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6494,7 +6494,7 @@ impl IXpsSignatureRequest_Vtbl { let this = (*this).get_impl(); match IXpsSignatureRequest_Impl::GetIntent(this) { Ok(ok__) => { - core::ptr::write(intent, core::mem::transmute(ok__)); + intent.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6510,7 +6510,7 @@ impl IXpsSignatureRequest_Vtbl { let this = (*this).get_impl(); match IXpsSignatureRequest_Impl::GetRequestedSigner(this) { Ok(ok__) => { - core::ptr::write(signername, core::mem::transmute(ok__)); + signername.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6526,7 +6526,7 @@ impl IXpsSignatureRequest_Vtbl { let this = (*this).get_impl(); match IXpsSignatureRequest_Impl::GetRequestSignByDate(this) { Ok(ok__) => { - core::ptr::write(datestring, core::mem::transmute(ok__)); + datestring.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6542,7 +6542,7 @@ impl IXpsSignatureRequest_Vtbl { let this = (*this).get_impl(); match IXpsSignatureRequest_Impl::GetSigningLocale(this) { Ok(ok__) => { - core::ptr::write(place, core::mem::transmute(ok__)); + place.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6568,7 +6568,7 @@ impl IXpsSignatureRequest_Vtbl { let this = (*this).get_impl(); match IXpsSignatureRequest_Impl::GetRequestId(this) { Ok(ok__) => { - core::ptr::write(requestid, core::mem::transmute(ok__)); + requestid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6579,7 +6579,7 @@ impl IXpsSignatureRequest_Vtbl { let this = (*this).get_impl(); match IXpsSignatureRequest_Impl::GetSignature(this) { Ok(ok__) => { - core::ptr::write(signature, core::mem::transmute(ok__)); + signature.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6618,7 +6618,7 @@ impl IXpsSignatureRequestCollection_Vtbl { let this = (*this).get_impl(); match IXpsSignatureRequestCollection_Impl::GetCount(this) { Ok(ok__) => { - core::ptr::write(count, core::mem::transmute(ok__)); + count.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6629,7 +6629,7 @@ impl IXpsSignatureRequestCollection_Vtbl { let this = (*this).get_impl(); match IXpsSignatureRequestCollection_Impl::GetAt(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(signaturerequest, core::mem::transmute(ok__)); + signaturerequest.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6681,7 +6681,7 @@ impl IXpsSigningOptions_Vtbl { let this = (*this).get_impl(); match IXpsSigningOptions_Impl::GetSignatureId(this) { Ok(ok__) => { - core::ptr::write(signatureid, core::mem::transmute(ok__)); + signatureid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6697,7 +6697,7 @@ impl IXpsSigningOptions_Vtbl { let this = (*this).get_impl(); match IXpsSigningOptions_Impl::GetSignatureMethod(this) { Ok(ok__) => { - core::ptr::write(signaturemethod, core::mem::transmute(ok__)); + signaturemethod.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6713,7 +6713,7 @@ impl IXpsSigningOptions_Vtbl { let this = (*this).get_impl(); match IXpsSigningOptions_Impl::GetDigestMethod(this) { Ok(ok__) => { - core::ptr::write(digestmethod, core::mem::transmute(ok__)); + digestmethod.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6729,7 +6729,7 @@ impl IXpsSigningOptions_Vtbl { let this = (*this).get_impl(); match IXpsSigningOptions_Impl::GetSignaturePartName(this) { Ok(ok__) => { - core::ptr::write(signaturepartname, core::mem::transmute(ok__)); + signaturepartname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6745,7 +6745,7 @@ impl IXpsSigningOptions_Vtbl { let this = (*this).get_impl(); match IXpsSigningOptions_Impl::GetPolicy(this) { Ok(ok__) => { - core::ptr::write(policy, core::mem::transmute(ok__)); + policy.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6761,7 +6761,7 @@ impl IXpsSigningOptions_Vtbl { let this = (*this).get_impl(); match IXpsSigningOptions_Impl::GetSigningTimeFormat(this) { Ok(ok__) => { - core::ptr::write(timeformat, core::mem::transmute(ok__)); + timeformat.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6777,7 +6777,7 @@ impl IXpsSigningOptions_Vtbl { let this = (*this).get_impl(); match IXpsSigningOptions_Impl::GetCustomObjects(this) { Ok(ok__) => { - core::ptr::write(customobjectset, core::mem::transmute(ok__)); + customobjectset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6788,7 +6788,7 @@ impl IXpsSigningOptions_Vtbl { let this = (*this).get_impl(); match IXpsSigningOptions_Impl::GetCustomReferences(this) { Ok(ok__) => { - core::ptr::write(customreferenceset, core::mem::transmute(ok__)); + customreferenceset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6799,7 +6799,7 @@ impl IXpsSigningOptions_Vtbl { let this = (*this).get_impl(); match IXpsSigningOptions_Impl::GetCertificateSet(this) { Ok(ok__) => { - core::ptr::write(certificateset, core::mem::transmute(ok__)); + certificateset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6810,7 +6810,7 @@ impl IXpsSigningOptions_Vtbl { let this = (*this).get_impl(); match IXpsSigningOptions_Impl::GetFlags(this) { Ok(ok__) => { - core::ptr::write(flags, core::mem::transmute(ok__)); + flags.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/Win32/System/AddressBook/impl.rs b/crates/libs/windows/src/Windows/Win32/System/AddressBook/impl.rs index 1e7e593af6..8971e9a378 100644 --- a/crates/libs/windows/src/Windows/Win32/System/AddressBook/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/AddressBook/impl.rs @@ -15,7 +15,7 @@ impl IABContainer_Vtbl { let this = (*this).get_impl(); match IABContainer_Impl::CreateEntry(this, core::mem::transmute_copy(&cbentryid), core::mem::transmute_copy(&lpentryid), core::mem::transmute_copy(&ulcreateflags)) { Ok(ok__) => { - core::ptr::write(lppmapipropentry, core::mem::transmute(ok__)); + lppmapipropentry.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -36,7 +36,7 @@ impl IABContainer_Vtbl { let this = (*this).get_impl(); match IABContainer_Impl::ResolveNames(this, core::mem::transmute_copy(&lpproptagarray), core::mem::transmute_copy(&ulflags), core::mem::transmute_copy(&lpadrlist)) { Ok(ok__) => { - core::ptr::write(lpflaglist, core::mem::transmute(ok__)); + lpflaglist.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -226,7 +226,7 @@ impl IDistList_Vtbl { let this = (*this).get_impl(); match IDistList_Impl::CreateEntry(this, core::mem::transmute_copy(&cbentryid), core::mem::transmute_copy(&lpentryid), core::mem::transmute_copy(&ulcreateflags)) { Ok(ok__) => { - core::ptr::write(lppmapipropentry, core::mem::transmute(ok__)); + lppmapipropentry.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -247,7 +247,7 @@ impl IDistList_Vtbl { let this = (*this).get_impl(); match IDistList_Impl::ResolveNames(this, core::mem::transmute_copy(&lpproptagarray), core::mem::transmute_copy(&ulflags), core::mem::transmute_copy(&lpadrlist)) { Ok(ok__) => { - core::ptr::write(lpflaglist, core::mem::transmute(ok__)); + lpflaglist.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -303,7 +303,7 @@ impl IMAPIContainer_Vtbl { let this = (*this).get_impl(); match IMAPIContainer_Impl::GetContentsTable(this, core::mem::transmute_copy(&ulflags)) { Ok(ok__) => { - core::ptr::write(lpptable, core::mem::transmute(ok__)); + lpptable.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -314,7 +314,7 @@ impl IMAPIContainer_Vtbl { let this = (*this).get_impl(); match IMAPIContainer_Impl::GetHierarchyTable(this, core::mem::transmute_copy(&ulflags)) { Ok(ok__) => { - core::ptr::write(lpptable, core::mem::transmute(ok__)); + lpptable.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -361,7 +361,7 @@ impl IMAPIControl_Vtbl { let this = (*this).get_impl(); match IMAPIControl_Impl::GetLastError(this, core::mem::transmute_copy(&hresult), core::mem::transmute_copy(&ulflags)) { Ok(ok__) => { - core::ptr::write(lppmapierror, core::mem::transmute(ok__)); + lppmapierror.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -427,7 +427,7 @@ impl IMAPIFolder_Vtbl { let this = (*this).get_impl(); match IMAPIFolder_Impl::CreateFolder(this, core::mem::transmute_copy(&ulfoldertype), core::mem::transmute_copy(&lpszfoldername), core::mem::transmute_copy(&lpszfoldercomment), core::mem::transmute_copy(&lpinterface), core::mem::transmute_copy(&ulflags)) { Ok(ok__) => { - core::ptr::write(lppfolder, core::mem::transmute(ok__)); + lppfolder.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -453,7 +453,7 @@ impl IMAPIFolder_Vtbl { let this = (*this).get_impl(); match IMAPIFolder_Impl::GetMessageStatus(this, core::mem::transmute_copy(&cbentryid), core::mem::transmute_copy(&lpentryid), core::mem::transmute_copy(&ulflags)) { Ok(ok__) => { - core::ptr::write(lpulmessagestatus, core::mem::transmute(ok__)); + lpulmessagestatus.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -464,7 +464,7 @@ impl IMAPIFolder_Vtbl { let this = (*this).get_impl(); match IMAPIFolder_Impl::SetMessageStatus(this, core::mem::transmute_copy(&cbentryid), core::mem::transmute_copy(&lpentryid), core::mem::transmute_copy(&ulnewstatus), core::mem::transmute_copy(&ulnewstatusmask)) { Ok(ok__) => { - core::ptr::write(lpuloldstatus, core::mem::transmute(ok__)); + lpuloldstatus.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -895,7 +895,7 @@ impl IMessage_Vtbl { let this = (*this).get_impl(); match IMessage_Impl::GetAttachmentTable(this, core::mem::transmute_copy(&ulflags)) { Ok(ok__) => { - core::ptr::write(lpptable, core::mem::transmute(ok__)); + lpptable.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -906,7 +906,7 @@ impl IMessage_Vtbl { let this = (*this).get_impl(); match IMessage_Impl::OpenAttach(this, core::mem::transmute_copy(&ulattachmentnum), core::mem::transmute_copy(&lpinterface), core::mem::transmute_copy(&ulflags)) { Ok(ok__) => { - core::ptr::write(lppattach, core::mem::transmute(ok__)); + lppattach.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -927,7 +927,7 @@ impl IMessage_Vtbl { let this = (*this).get_impl(); match IMessage_Impl::GetRecipientTable(this, core::mem::transmute_copy(&ulflags)) { Ok(ok__) => { - core::ptr::write(lpptable, core::mem::transmute(ok__)); + lpptable.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -990,7 +990,7 @@ impl IMsgStore_Vtbl { let this = (*this).get_impl(); match IMsgStore_Impl::Advise(this, core::mem::transmute_copy(&cbentryid), core::mem::transmute_copy(&lpentryid), core::mem::transmute_copy(&uleventmask), windows_core::from_raw_borrowed(&lpadvisesink)) { Ok(ok__) => { - core::ptr::write(lpulconnection, core::mem::transmute(ok__)); + lpulconnection.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1006,7 +1006,7 @@ impl IMsgStore_Vtbl { let this = (*this).get_impl(); match IMsgStore_Impl::CompareEntryIDs(this, core::mem::transmute_copy(&cbentryid1), core::mem::transmute_copy(&lpentryid1), core::mem::transmute_copy(&cbentryid2), core::mem::transmute_copy(&lpentryid2), core::mem::transmute_copy(&ulflags)) { Ok(ok__) => { - core::ptr::write(lpulresult, core::mem::transmute(ok__)); + lpulresult.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1032,7 +1032,7 @@ impl IMsgStore_Vtbl { let this = (*this).get_impl(); match IMsgStore_Impl::GetReceiveFolderTable(this, core::mem::transmute_copy(&ulflags)) { Ok(ok__) => { - core::ptr::write(lpptable, core::mem::transmute(ok__)); + lpptable.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1053,7 +1053,7 @@ impl IMsgStore_Vtbl { let this = (*this).get_impl(); match IMsgStore_Impl::GetOutgoingQueue(this, core::mem::transmute_copy(&ulflags)) { Ok(ok__) => { - core::ptr::write(lpptable, core::mem::transmute(ok__)); + lpptable.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1170,7 +1170,7 @@ impl IProviderAdmin_Vtbl { let this = (*this).get_impl(); match IProviderAdmin_Impl::GetLastError(this, core::mem::transmute_copy(&hresult), core::mem::transmute_copy(&ulflags)) { Ok(ok__) => { - core::ptr::write(lppmapierror, core::mem::transmute(ok__)); + lppmapierror.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1181,7 +1181,7 @@ impl IProviderAdmin_Vtbl { let this = (*this).get_impl(); match IProviderAdmin_Impl::GetProviderTable(this, core::mem::transmute_copy(&ulflags)) { Ok(ok__) => { - core::ptr::write(lpptable, core::mem::transmute(ok__)); + lpptable.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1192,7 +1192,7 @@ impl IProviderAdmin_Vtbl { let this = (*this).get_impl(); match IProviderAdmin_Impl::CreateProvider(this, core::mem::transmute_copy(&lpszprovider), core::mem::transmute_copy(&cvalues), core::mem::transmute_copy(&lpprops), core::mem::transmute_copy(&uluiparam), core::mem::transmute_copy(&ulflags)) { Ok(ok__) => { - core::ptr::write(lpuid, core::mem::transmute(ok__)); + lpuid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1208,7 +1208,7 @@ impl IProviderAdmin_Vtbl { let this = (*this).get_impl(); match IProviderAdmin_Impl::OpenProfileSection(this, core::mem::transmute_copy(&lpuid), core::mem::transmute_copy(&lpinterface), core::mem::transmute_copy(&ulflags)) { Ok(ok__) => { - core::ptr::write(lppprofsect, core::mem::transmute(ok__)); + lppprofsect.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1386,7 +1386,7 @@ impl IWABObject_Vtbl { let this = (*this).get_impl(); match IWABObject_Impl::LDAPUrl(this, windows_core::from_raw_borrowed(&lpiab), core::mem::transmute_copy(&hwnd), core::mem::transmute_copy(&ulflags), core::mem::transmute(&lpszurl)) { Ok(ok__) => { - core::ptr::write(lppmailuser, core::mem::transmute(ok__)); + lppmailuser.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1402,7 +1402,7 @@ impl IWABObject_Vtbl { let this = (*this).get_impl(); match IWABObject_Impl::VCardRetrieve(this, windows_core::from_raw_borrowed(&lpiab), core::mem::transmute_copy(&ulflags), core::mem::transmute(&lpszvcard)) { Ok(ok__) => { - core::ptr::write(lppmailuser, core::mem::transmute(ok__)); + lppmailuser.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/Win32/System/Antimalware/impl.rs b/crates/libs/windows/src/Windows/Win32/System/Antimalware/impl.rs index bc7895aa11..6834db59ac 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Antimalware/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Antimalware/impl.rs @@ -63,7 +63,7 @@ impl IAntimalware2_Vtbl { let this = (*this).get_impl(); match IAntimalware2_Impl::Notify(this, core::mem::transmute_copy(&buffer), core::mem::transmute_copy(&length), core::mem::transmute(&contentname), core::mem::transmute(&appname)) { Ok(ok__) => { - core::ptr::write(presult, core::mem::transmute(ok__)); + presult.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -88,7 +88,7 @@ impl IAntimalwareProvider_Vtbl { let this = (*this).get_impl(); match IAntimalwareProvider_Impl::Scan(this, windows_core::from_raw_borrowed(&stream)) { Ok(ok__) => { - core::ptr::write(result, core::mem::transmute(ok__)); + result.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -104,7 +104,7 @@ impl IAntimalwareProvider_Vtbl { let this = (*this).get_impl(); match IAntimalwareProvider_Impl::DisplayName(this) { Ok(ok__) => { - core::ptr::write(displayname, core::mem::transmute(ok__)); + displayname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -132,7 +132,7 @@ impl IAntimalwareProvider2_Vtbl { let this = (*this).get_impl(); match IAntimalwareProvider2_Impl::Notify(this, core::mem::transmute_copy(&buffer), core::mem::transmute_copy(&length), core::mem::transmute(&contentname), core::mem::transmute(&appname)) { Ok(ok__) => { - core::ptr::write(presult, core::mem::transmute(ok__)); + presult.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -156,7 +156,7 @@ impl IAntimalwareUacProvider_Vtbl { let this = (*this).get_impl(); match IAntimalwareUacProvider_Impl::UacScan(this, core::mem::transmute_copy(&context)) { Ok(ok__) => { - core::ptr::write(result, core::mem::transmute(ok__)); + result.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -167,7 +167,7 @@ impl IAntimalwareUacProvider_Vtbl { let this = (*this).get_impl(); match IAntimalwareUacProvider_Impl::DisplayName(this) { Ok(ok__) => { - core::ptr::write(displayname, core::mem::transmute(ok__)); + displayname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/Win32/System/ApplicationInstallationAndServicing/impl.rs b/crates/libs/windows/src/Windows/Win32/System/ApplicationInstallationAndServicing/impl.rs index ec19c7f269..771af46ef3 100644 --- a/crates/libs/windows/src/Windows/Win32/System/ApplicationInstallationAndServicing/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/ApplicationInstallationAndServicing/impl.rs @@ -28,7 +28,7 @@ impl IAssemblyCache_Vtbl { let this = (*this).get_impl(); match IAssemblyCache_Impl::Reserved(this) { Ok(ok__) => { - core::ptr::write(ppunk, core::mem::transmute(ok__)); + ppunk.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -148,7 +148,7 @@ impl IAssemblyName_Vtbl { let this = (*this).get_impl(); match IAssemblyName_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(pname, core::mem::transmute(ok__)); + pname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -203,7 +203,7 @@ impl IEnumMsmDependency_Vtbl { let this = (*this).get_impl(); match IEnumMsmDependency_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(pemsmdependencies, core::mem::transmute(ok__)); + pemsmdependencies.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -253,7 +253,7 @@ impl IEnumMsmError_Vtbl { let this = (*this).get_impl(); match IEnumMsmError_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(pemsmerrors, core::mem::transmute(ok__)); + pemsmerrors.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -300,7 +300,7 @@ impl IEnumMsmString_Vtbl { let this = (*this).get_impl(); match IEnumMsmString_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(pemsmstrings, core::mem::transmute(ok__)); + pemsmstrings.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -334,7 +334,7 @@ impl IMsmDependencies_Vtbl { let this = (*this).get_impl(); match IMsmDependencies_Impl::get_Item(this, core::mem::transmute_copy(&item)) { Ok(ok__) => { - core::ptr::write(r#return, core::mem::transmute(ok__)); + r#return.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -350,7 +350,7 @@ impl IMsmDependencies_Vtbl { let this = (*this).get_impl(); match IMsmDependencies_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(newenum, core::mem::transmute(ok__)); + newenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -444,7 +444,7 @@ impl IMsmError_Vtbl { let this = (*this).get_impl(); match IMsmError_Impl::DatabaseKeys(this) { Ok(ok__) => { - core::ptr::write(errorkeys, core::mem::transmute(ok__)); + errorkeys.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -460,7 +460,7 @@ impl IMsmError_Vtbl { let this = (*this).get_impl(); match IMsmError_Impl::ModuleKeys(this) { Ok(ok__) => { - core::ptr::write(errorkeys, core::mem::transmute(ok__)); + errorkeys.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -497,7 +497,7 @@ impl IMsmErrors_Vtbl { let this = (*this).get_impl(); match IMsmErrors_Impl::get_Item(this, core::mem::transmute_copy(&item)) { Ok(ok__) => { - core::ptr::write(r#return, core::mem::transmute(ok__)); + r#return.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -513,7 +513,7 @@ impl IMsmErrors_Vtbl { let this = (*this).get_impl(); match IMsmErrors_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(newenum, core::mem::transmute(ok__)); + newenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -544,7 +544,7 @@ impl IMsmGetFiles_Vtbl { let this = (*this).get_impl(); match IMsmGetFiles_Impl::ModuleFiles(this) { Ok(ok__) => { - core::ptr::write(files, core::mem::transmute(ok__)); + files.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -617,7 +617,7 @@ impl IMsmMerge_Vtbl { let this = (*this).get_impl(); match IMsmMerge_Impl::Errors(this) { Ok(ok__) => { - core::ptr::write(errors, core::mem::transmute(ok__)); + errors.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -628,7 +628,7 @@ impl IMsmMerge_Vtbl { let this = (*this).get_impl(); match IMsmMerge_Impl::Dependencies(this) { Ok(ok__) => { - core::ptr::write(dependencies, core::mem::transmute(ok__)); + dependencies.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -701,7 +701,7 @@ impl IMsmStrings_Vtbl { let this = (*this).get_impl(); match IMsmStrings_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(newenum, core::mem::transmute(ok__)); + newenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -783,7 +783,7 @@ impl IPMApplicationInfo_Vtbl { let this = (*this).get_impl(); match IPMApplicationInfo_Impl::ProductID(this) { Ok(ok__) => { - core::ptr::write(pproductid, core::mem::transmute(ok__)); + pproductid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -794,7 +794,7 @@ impl IPMApplicationInfo_Vtbl { let this = (*this).get_impl(); match IPMApplicationInfo_Impl::InstanceID(this) { Ok(ok__) => { - core::ptr::write(pinstanceid, core::mem::transmute(ok__)); + pinstanceid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -805,7 +805,7 @@ impl IPMApplicationInfo_Vtbl { let this = (*this).get_impl(); match IPMApplicationInfo_Impl::OfferID(this) { Ok(ok__) => { - core::ptr::write(pofferid, core::mem::transmute(ok__)); + pofferid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -831,7 +831,7 @@ impl IPMApplicationInfo_Vtbl { let this = (*this).get_impl(); match IPMApplicationInfo_Impl::NotificationState(this) { Ok(ok__) => { - core::ptr::write(pisnotified, core::mem::transmute(ok__)); + pisnotified.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -842,7 +842,7 @@ impl IPMApplicationInfo_Vtbl { let this = (*this).get_impl(); match IPMApplicationInfo_Impl::AppInstallType(this) { Ok(ok__) => { - core::ptr::write(pappinstalltype, core::mem::transmute(ok__)); + pappinstalltype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -853,7 +853,7 @@ impl IPMApplicationInfo_Vtbl { let this = (*this).get_impl(); match IPMApplicationInfo_Impl::State(this) { Ok(ok__) => { - core::ptr::write(pstate, core::mem::transmute(ok__)); + pstate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -864,7 +864,7 @@ impl IPMApplicationInfo_Vtbl { let this = (*this).get_impl(); match IPMApplicationInfo_Impl::IsRevoked(this) { Ok(ok__) => { - core::ptr::write(pisrevoked, core::mem::transmute(ok__)); + pisrevoked.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -875,7 +875,7 @@ impl IPMApplicationInfo_Vtbl { let this = (*this).get_impl(); match IPMApplicationInfo_Impl::UpdateAvailable(this) { Ok(ok__) => { - core::ptr::write(pisupdateavailable, core::mem::transmute(ok__)); + pisupdateavailable.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -886,7 +886,7 @@ impl IPMApplicationInfo_Vtbl { let this = (*this).get_impl(); match IPMApplicationInfo_Impl::InstallDate(this) { Ok(ok__) => { - core::ptr::write(pinstalldate, core::mem::transmute(ok__)); + pinstalldate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -897,7 +897,7 @@ impl IPMApplicationInfo_Vtbl { let this = (*this).get_impl(); match IPMApplicationInfo_Impl::IsUninstallable(this) { Ok(ok__) => { - core::ptr::write(pisuninstallable, core::mem::transmute(ok__)); + pisuninstallable.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -908,7 +908,7 @@ impl IPMApplicationInfo_Vtbl { let this = (*this).get_impl(); match IPMApplicationInfo_Impl::IsThemable(this) { Ok(ok__) => { - core::ptr::write(pisthemable, core::mem::transmute(ok__)); + pisthemable.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -919,7 +919,7 @@ impl IPMApplicationInfo_Vtbl { let this = (*this).get_impl(); match IPMApplicationInfo_Impl::IsTrial(this) { Ok(ok__) => { - core::ptr::write(pistrial, core::mem::transmute(ok__)); + pistrial.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -940,7 +940,7 @@ impl IPMApplicationInfo_Vtbl { let this = (*this).get_impl(); match IPMApplicationInfo_Impl::Genre(this) { Ok(ok__) => { - core::ptr::write(pgenre, core::mem::transmute(ok__)); + pgenre.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -976,7 +976,7 @@ impl IPMApplicationInfo_Vtbl { let this = (*this).get_impl(); match IPMApplicationInfo_Impl::AppPlatMajorVersion(this) { Ok(ok__) => { - core::ptr::write(pmajorver, core::mem::transmute(ok__)); + pmajorver.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -987,7 +987,7 @@ impl IPMApplicationInfo_Vtbl { let this = (*this).get_impl(); match IPMApplicationInfo_Impl::AppPlatMinorVersion(this) { Ok(ok__) => { - core::ptr::write(pminorver, core::mem::transmute(ok__)); + pminorver.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -998,7 +998,7 @@ impl IPMApplicationInfo_Vtbl { let this = (*this).get_impl(); match IPMApplicationInfo_Impl::PublisherID(this) { Ok(ok__) => { - core::ptr::write(ppublisherid, core::mem::transmute(ok__)); + ppublisherid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1009,7 +1009,7 @@ impl IPMApplicationInfo_Vtbl { let this = (*this).get_impl(); match IPMApplicationInfo_Impl::IsMultiCore(this) { Ok(ok__) => { - core::ptr::write(pismulticore, core::mem::transmute(ok__)); + pismulticore.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1025,7 +1025,7 @@ impl IPMApplicationInfo_Vtbl { let this = (*this).get_impl(); match IPMApplicationInfo_Impl::AppPlatMajorVersionLightUp(this) { Ok(ok__) => { - core::ptr::write(pmajorver, core::mem::transmute(ok__)); + pmajorver.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1036,7 +1036,7 @@ impl IPMApplicationInfo_Vtbl { let this = (*this).get_impl(); match IPMApplicationInfo_Impl::AppPlatMinorVersionLightUp(this) { Ok(ok__) => { - core::ptr::write(pminorver, core::mem::transmute(ok__)); + pminorver.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1067,7 +1067,7 @@ impl IPMApplicationInfo_Vtbl { let this = (*this).get_impl(); match IPMApplicationInfo_Impl::IsPinableOnKidZone(this) { Ok(ok__) => { - core::ptr::write(pispinable, core::mem::transmute(ok__)); + pispinable.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1078,7 +1078,7 @@ impl IPMApplicationInfo_Vtbl { let this = (*this).get_impl(); match IPMApplicationInfo_Impl::IsOriginallyPreInstalled(this) { Ok(ok__) => { - core::ptr::write(pispreinstalled, core::mem::transmute(ok__)); + pispreinstalled.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1089,7 +1089,7 @@ impl IPMApplicationInfo_Vtbl { let this = (*this).get_impl(); match IPMApplicationInfo_Impl::IsInstallOnSD(this) { Ok(ok__) => { - core::ptr::write(pisinstallonsd, core::mem::transmute(ok__)); + pisinstallonsd.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1100,7 +1100,7 @@ impl IPMApplicationInfo_Vtbl { let this = (*this).get_impl(); match IPMApplicationInfo_Impl::IsOptoutOnSD(this) { Ok(ok__) => { - core::ptr::write(pisoptoutonsd, core::mem::transmute(ok__)); + pisoptoutonsd.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1111,7 +1111,7 @@ impl IPMApplicationInfo_Vtbl { let this = (*this).get_impl(); match IPMApplicationInfo_Impl::IsOptoutBackupRestore(this) { Ok(ok__) => { - core::ptr::write(pisoptoutbackuprestore, core::mem::transmute(ok__)); + pisoptoutbackuprestore.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1132,7 +1132,7 @@ impl IPMApplicationInfo_Vtbl { let this = (*this).get_impl(); match IPMApplicationInfo_Impl::EnterpriseDisabled(this) { Ok(ok__) => { - core::ptr::write(isdisabled, core::mem::transmute(ok__)); + isdisabled.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1143,7 +1143,7 @@ impl IPMApplicationInfo_Vtbl { let this = (*this).get_impl(); match IPMApplicationInfo_Impl::EnterpriseUninstallable(this) { Ok(ok__) => { - core::ptr::write(isuninstallable, core::mem::transmute(ok__)); + isuninstallable.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1154,7 +1154,7 @@ impl IPMApplicationInfo_Vtbl { let this = (*this).get_impl(); match IPMApplicationInfo_Impl::IsVisibleOnAppList(this) { Ok(ok__) => { - core::ptr::write(pisvisible, core::mem::transmute(ok__)); + pisvisible.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1165,7 +1165,7 @@ impl IPMApplicationInfo_Vtbl { let this = (*this).get_impl(); match IPMApplicationInfo_Impl::IsInboxApp(this) { Ok(ok__) => { - core::ptr::write(pisinboxapp, core::mem::transmute(ok__)); + pisinboxapp.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1176,7 +1176,7 @@ impl IPMApplicationInfo_Vtbl { let this = (*this).get_impl(); match IPMApplicationInfo_Impl::StorageID(this) { Ok(ok__) => { - core::ptr::write(pstorageid, core::mem::transmute(ok__)); + pstorageid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1192,7 +1192,7 @@ impl IPMApplicationInfo_Vtbl { let this = (*this).get_impl(); match IPMApplicationInfo_Impl::IsMovable(this) { Ok(ok__) => { - core::ptr::write(pismovable, core::mem::transmute(ok__)); + pismovable.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1203,7 +1203,7 @@ impl IPMApplicationInfo_Vtbl { let this = (*this).get_impl(); match IPMApplicationInfo_Impl::DeploymentAppEnumerationHubFilter(this) { Ok(ok__) => { - core::ptr::write(hubtype, core::mem::transmute(ok__)); + hubtype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1214,7 +1214,7 @@ impl IPMApplicationInfo_Vtbl { let this = (*this).get_impl(); match IPMApplicationInfo_Impl::ModifiedDate(this) { Ok(ok__) => { - core::ptr::write(pmodifieddate, core::mem::transmute(ok__)); + pmodifieddate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1225,7 +1225,7 @@ impl IPMApplicationInfo_Vtbl { let this = (*this).get_impl(); match IPMApplicationInfo_Impl::IsOriginallyRestored(this) { Ok(ok__) => { - core::ptr::write(pisrestored, core::mem::transmute(ok__)); + pisrestored.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1236,7 +1236,7 @@ impl IPMApplicationInfo_Vtbl { let this = (*this).get_impl(); match IPMApplicationInfo_Impl::ShouldDeferMdilBind(this) { Ok(ok__) => { - core::ptr::write(pfdefermdilbind, core::mem::transmute(ok__)); + pfdefermdilbind.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1247,7 +1247,7 @@ impl IPMApplicationInfo_Vtbl { let this = (*this).get_impl(); match IPMApplicationInfo_Impl::IsFullyPreInstall(this) { Ok(ok__) => { - core::ptr::write(pfisfullypreinstall, core::mem::transmute(ok__)); + pfisfullypreinstall.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1337,7 +1337,7 @@ impl IPMApplicationInfoEnumerator_Vtbl { let this = (*this).get_impl(); match IPMApplicationInfoEnumerator_Impl::Next(this) { Ok(ok__) => { - core::ptr::write(ppappinfo, core::mem::transmute(ok__)); + ppappinfo.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1373,7 +1373,7 @@ impl IPMBackgroundServiceAgentInfo_Vtbl { let this = (*this).get_impl(); match IPMBackgroundServiceAgentInfo_Impl::ProductID(this) { Ok(ok__) => { - core::ptr::write(pproductid, core::mem::transmute(ok__)); + pproductid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1389,7 +1389,7 @@ impl IPMBackgroundServiceAgentInfo_Vtbl { let this = (*this).get_impl(); match IPMBackgroundServiceAgentInfo_Impl::BSAID(this) { Ok(ok__) => { - core::ptr::write(pbsaid, core::mem::transmute(ok__)); + pbsaid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1420,7 +1420,7 @@ impl IPMBackgroundServiceAgentInfo_Vtbl { let this = (*this).get_impl(); match IPMBackgroundServiceAgentInfo_Impl::IsPeriodic(this) { Ok(ok__) => { - core::ptr::write(pisperiodic, core::mem::transmute(ok__)); + pisperiodic.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1431,7 +1431,7 @@ impl IPMBackgroundServiceAgentInfo_Vtbl { let this = (*this).get_impl(); match IPMBackgroundServiceAgentInfo_Impl::IsScheduled(this) { Ok(ok__) => { - core::ptr::write(pisscheduled, core::mem::transmute(ok__)); + pisscheduled.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1442,7 +1442,7 @@ impl IPMBackgroundServiceAgentInfo_Vtbl { let this = (*this).get_impl(); match IPMBackgroundServiceAgentInfo_Impl::IsScheduleAllowed(this) { Ok(ok__) => { - core::ptr::write(pisscheduleallowed, core::mem::transmute(ok__)); + pisscheduleallowed.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1458,7 +1458,7 @@ impl IPMBackgroundServiceAgentInfo_Vtbl { let this = (*this).get_impl(); match IPMBackgroundServiceAgentInfo_Impl::IsLaunchOnBoot(this) { Ok(ok__) => { - core::ptr::write(plaunchonboot, core::mem::transmute(ok__)); + plaunchonboot.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1507,7 +1507,7 @@ impl IPMBackgroundServiceAgentInfoEnumerator_Vtbl { let this = (*this).get_impl(); match IPMBackgroundServiceAgentInfoEnumerator_Impl::Next(this) { Ok(ok__) => { - core::ptr::write(ppbsainfo, core::mem::transmute(ok__)); + ppbsainfo.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1535,7 +1535,7 @@ impl IPMBackgroundWorkerInfo_Vtbl { let this = (*this).get_impl(); match IPMBackgroundWorkerInfo_Impl::ProductID(this) { Ok(ok__) => { - core::ptr::write(pproductid, core::mem::transmute(ok__)); + pproductid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1556,7 +1556,7 @@ impl IPMBackgroundWorkerInfo_Vtbl { let this = (*this).get_impl(); match IPMBackgroundWorkerInfo_Impl::MaxStartupLatency(this) { Ok(ok__) => { - core::ptr::write(pmaxstartuplatency, core::mem::transmute(ok__)); + pmaxstartuplatency.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1567,7 +1567,7 @@ impl IPMBackgroundWorkerInfo_Vtbl { let this = (*this).get_impl(); match IPMBackgroundWorkerInfo_Impl::ExpectedRuntime(this) { Ok(ok__) => { - core::ptr::write(pexpectedruntime, core::mem::transmute(ok__)); + pexpectedruntime.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1578,7 +1578,7 @@ impl IPMBackgroundWorkerInfo_Vtbl { let this = (*this).get_impl(); match IPMBackgroundWorkerInfo_Impl::IsBootWorker(this) { Ok(ok__) => { - core::ptr::write(pisbootworker, core::mem::transmute(ok__)); + pisbootworker.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1609,7 +1609,7 @@ impl IPMBackgroundWorkerInfoEnumerator_Vtbl { let this = (*this).get_impl(); match IPMBackgroundWorkerInfoEnumerator_Impl::Next(this) { Ok(ok__) => { - core::ptr::write(ppbwinfo, core::mem::transmute(ok__)); + ppbwinfo.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1779,7 +1779,7 @@ impl IPMDeploymentManager_Vtbl { let this = (*this).get_impl(); match IPMDeploymentManager_Impl::SetApplicationsNeedMaintenance(this, core::mem::transmute_copy(&requiredmaintenanceoperations)) { Ok(ok__) => { - core::ptr::write(pcapplications, core::mem::transmute(ok__)); + pcapplications.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1795,7 +1795,7 @@ impl IPMDeploymentManager_Vtbl { let this = (*this).get_impl(); match IPMDeploymentManager_Impl::EnterprisePolicyIsApplicationAllowed(this, core::mem::transmute(&productid), core::mem::transmute(&publishername)) { Ok(ok__) => { - core::ptr::write(pisallowed, core::mem::transmute(ok__)); + pisallowed.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1952,7 +1952,7 @@ impl IPMEnumerationManager_Vtbl { let this = (*this).get_impl(); match IPMEnumerationManager_Impl::get_ApplicationInfo(this, core::mem::transmute(&productid)) { Ok(ok__) => { - core::ptr::write(ppappinfo, core::mem::transmute(ok__)); + ppappinfo.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1963,7 +1963,7 @@ impl IPMEnumerationManager_Vtbl { let this = (*this).get_impl(); match IPMEnumerationManager_Impl::get_TileInfo(this, core::mem::transmute(&productid), core::mem::transmute(&tileid)) { Ok(ok__) => { - core::ptr::write(pptileinfo, core::mem::transmute(ok__)); + pptileinfo.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1974,7 +1974,7 @@ impl IPMEnumerationManager_Vtbl { let this = (*this).get_impl(); match IPMEnumerationManager_Impl::get_TaskInfo(this, core::mem::transmute(&productid), core::mem::transmute(&taskid)) { Ok(ok__) => { - core::ptr::write(pptaskinfo, core::mem::transmute(ok__)); + pptaskinfo.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1985,7 +1985,7 @@ impl IPMEnumerationManager_Vtbl { let this = (*this).get_impl(); match IPMEnumerationManager_Impl::get_TaskInfoEx(this, core::mem::transmute(&productid), core::mem::transmute(&taskid)) { Ok(ok__) => { - core::ptr::write(pptaskinfo, core::mem::transmute(ok__)); + pptaskinfo.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1996,7 +1996,7 @@ impl IPMEnumerationManager_Vtbl { let this = (*this).get_impl(); match IPMEnumerationManager_Impl::get_BackgroundServiceAgentInfo(this, core::mem::transmute_copy(&bsaid)) { Ok(ok__) => { - core::ptr::write(pptaskinfo, core::mem::transmute(ok__)); + pptaskinfo.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2007,7 +2007,7 @@ impl IPMEnumerationManager_Vtbl { let this = (*this).get_impl(); match IPMEnumerationManager_Impl::AllLiveTileJobs(this) { Ok(ok__) => { - core::ptr::write(pplivetilejobenum, core::mem::transmute(ok__)); + pplivetilejobenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2018,7 +2018,7 @@ impl IPMEnumerationManager_Vtbl { let this = (*this).get_impl(); match IPMEnumerationManager_Impl::get_LiveTileJob(this, core::mem::transmute(&productid), core::mem::transmute(&tileid), core::mem::transmute_copy(&recurrencetype)) { Ok(ok__) => { - core::ptr::write(pplivetilejobinfo, core::mem::transmute(ok__)); + pplivetilejobinfo.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2029,7 +2029,7 @@ impl IPMEnumerationManager_Vtbl { let this = (*this).get_impl(); match IPMEnumerationManager_Impl::get_ApplicationInfoExternal(this, core::mem::transmute(&productid)) { Ok(ok__) => { - core::ptr::write(ppappinfo, core::mem::transmute(ok__)); + ppappinfo.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2045,7 +2045,7 @@ impl IPMEnumerationManager_Vtbl { let this = (*this).get_impl(); match IPMEnumerationManager_Impl::get_ApplicationInfoFromAccessClaims(this, core::mem::transmute(&sysappid0), core::mem::transmute(&sysappid1)) { Ok(ok__) => { - core::ptr::write(ppappinfo, core::mem::transmute(ok__)); + ppappinfo.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2098,7 +2098,7 @@ impl IPMExtensionCachedFileUpdaterInfo_Vtbl { let this = (*this).get_impl(); match IPMExtensionCachedFileUpdaterInfo_Impl::SupportsUpdates(this) { Ok(ok__) => { - core::ptr::write(psupportsupdates, core::mem::transmute(ok__)); + psupportsupdates.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2206,7 +2206,7 @@ impl IPMExtensionFileOpenPickerInfo_Vtbl { let this = (*this).get_impl(); match IPMExtensionFileOpenPickerInfo_Impl::SupportsAllFileTypes(this) { Ok(ok__) => { - core::ptr::write(psupportsalltypes, core::mem::transmute(ok__)); + psupportsalltypes.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2239,7 +2239,7 @@ impl IPMExtensionFileSavePickerInfo_Vtbl { let this = (*this).get_impl(); match IPMExtensionFileSavePickerInfo_Impl::SupportsAllFileTypes(this) { Ok(ok__) => { - core::ptr::write(psupportsalltypes, core::mem::transmute(ok__)); + psupportsalltypes.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2271,7 +2271,7 @@ impl IPMExtensionInfo_Vtbl { let this = (*this).get_impl(); match IPMExtensionInfo_Impl::SupplierPID(this) { Ok(ok__) => { - core::ptr::write(psupplierpid, core::mem::transmute(ok__)); + psupplierpid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2327,7 +2327,7 @@ impl IPMExtensionInfoEnumerator_Vtbl { let this = (*this).get_impl(); match IPMExtensionInfoEnumerator_Impl::Next(this) { Ok(ok__) => { - core::ptr::write(ppextensioninfo, core::mem::transmute(ok__)); + ppextensioninfo.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2389,7 +2389,7 @@ impl IPMExtensionShareTargetInfo_Vtbl { let this = (*this).get_impl(); match IPMExtensionShareTargetInfo_Impl::SupportsAllFileTypes(this) { Ok(ok__) => { - core::ptr::write(psupportsalltypes, core::mem::transmute(ok__)); + psupportsalltypes.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2440,7 +2440,7 @@ impl IPMLiveTileJobInfo_Vtbl { let this = (*this).get_impl(); match IPMLiveTileJobInfo_Impl::ProductID(this) { Ok(ok__) => { - core::ptr::write(pproductid, core::mem::transmute(ok__)); + pproductid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2456,7 +2456,7 @@ impl IPMLiveTileJobInfo_Vtbl { let this = (*this).get_impl(); match IPMLiveTileJobInfo_Impl::NextSchedule(this) { Ok(ok__) => { - core::ptr::write(pnextschedule, core::mem::transmute(ok__)); + pnextschedule.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2472,7 +2472,7 @@ impl IPMLiveTileJobInfo_Vtbl { let this = (*this).get_impl(); match IPMLiveTileJobInfo_Impl::StartSchedule(this) { Ok(ok__) => { - core::ptr::write(pstartschedule, core::mem::transmute(ok__)); + pstartschedule.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2488,7 +2488,7 @@ impl IPMLiveTileJobInfo_Vtbl { let this = (*this).get_impl(); match IPMLiveTileJobInfo_Impl::IntervalDuration(this) { Ok(ok__) => { - core::ptr::write(pintervalduration, core::mem::transmute(ok__)); + pintervalduration.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2504,7 +2504,7 @@ impl IPMLiveTileJobInfo_Vtbl { let this = (*this).get_impl(); match IPMLiveTileJobInfo_Impl::RunForever(this) { Ok(ok__) => { - core::ptr::write(isrunforever, core::mem::transmute(ok__)); + isrunforever.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2520,7 +2520,7 @@ impl IPMLiveTileJobInfo_Vtbl { let this = (*this).get_impl(); match IPMLiveTileJobInfo_Impl::MaxRunCount(this) { Ok(ok__) => { - core::ptr::write(pmaxruncount, core::mem::transmute(ok__)); + pmaxruncount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2536,7 +2536,7 @@ impl IPMLiveTileJobInfo_Vtbl { let this = (*this).get_impl(); match IPMLiveTileJobInfo_Impl::RunCount(this) { Ok(ok__) => { - core::ptr::write(pruncount, core::mem::transmute(ok__)); + pruncount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2552,7 +2552,7 @@ impl IPMLiveTileJobInfo_Vtbl { let this = (*this).get_impl(); match IPMLiveTileJobInfo_Impl::RecurrenceType(this) { Ok(ok__) => { - core::ptr::write(precurrencetype, core::mem::transmute(ok__)); + precurrencetype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2588,7 +2588,7 @@ impl IPMLiveTileJobInfo_Vtbl { let this = (*this).get_impl(); match IPMLiveTileJobInfo_Impl::AttemptCount(this) { Ok(ok__) => { - core::ptr::write(pattemptcount, core::mem::transmute(ok__)); + pattemptcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2604,7 +2604,7 @@ impl IPMLiveTileJobInfo_Vtbl { let this = (*this).get_impl(); match IPMLiveTileJobInfo_Impl::DownloadState(this) { Ok(ok__) => { - core::ptr::write(pdownloadstate, core::mem::transmute(ok__)); + pdownloadstate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2658,7 +2658,7 @@ impl IPMLiveTileJobInfoEnumerator_Vtbl { let this = (*this).get_impl(); match IPMLiveTileJobInfoEnumerator_Impl::Next(this) { Ok(ok__) => { - core::ptr::write(pplivetilejobinfo, core::mem::transmute(ok__)); + pplivetilejobinfo.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2701,7 +2701,7 @@ impl IPMTaskInfo_Vtbl { let this = (*this).get_impl(); match IPMTaskInfo_Impl::ProductID(this) { Ok(ok__) => { - core::ptr::write(pproductid, core::mem::transmute(ok__)); + pproductid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2722,7 +2722,7 @@ impl IPMTaskInfo_Vtbl { let this = (*this).get_impl(); match IPMTaskInfo_Impl::TaskTransition(this) { Ok(ok__) => { - core::ptr::write(ptasktransition, core::mem::transmute(ok__)); + ptasktransition.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2733,7 +2733,7 @@ impl IPMTaskInfo_Vtbl { let this = (*this).get_impl(); match IPMTaskInfo_Impl::RuntimeType(this) { Ok(ok__) => { - core::ptr::write(pruntimetype, core::mem::transmute(ok__)); + pruntimetype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2744,7 +2744,7 @@ impl IPMTaskInfo_Vtbl { let this = (*this).get_impl(); match IPMTaskInfo_Impl::ActivationPolicy(this) { Ok(ok__) => { - core::ptr::write(pactivationpolicy, core::mem::transmute(ok__)); + pactivationpolicy.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2755,7 +2755,7 @@ impl IPMTaskInfo_Vtbl { let this = (*this).get_impl(); match IPMTaskInfo_Impl::TaskType(this) { Ok(ok__) => { - core::ptr::write(ptasktype, core::mem::transmute(ok__)); + ptasktype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2791,7 +2791,7 @@ impl IPMTaskInfo_Vtbl { let this = (*this).get_impl(); match IPMTaskInfo_Impl::IsSingleInstanceHost(this) { Ok(ok__) => { - core::ptr::write(pissingleinstancehost, core::mem::transmute(ok__)); + pissingleinstancehost.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2802,7 +2802,7 @@ impl IPMTaskInfo_Vtbl { let this = (*this).get_impl(); match IPMTaskInfo_Impl::IsInteropEnabled(this) { Ok(ok__) => { - core::ptr::write(pisinteropenabled, core::mem::transmute(ok__)); + pisinteropenabled.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2813,7 +2813,7 @@ impl IPMTaskInfo_Vtbl { let this = (*this).get_impl(); match IPMTaskInfo_Impl::ApplicationState(this) { Ok(ok__) => { - core::ptr::write(papplicationstate, core::mem::transmute(ok__)); + papplicationstate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2824,7 +2824,7 @@ impl IPMTaskInfo_Vtbl { let this = (*this).get_impl(); match IPMTaskInfo_Impl::InstallType(this) { Ok(ok__) => { - core::ptr::write(pinstalltype, core::mem::transmute(ok__)); + pinstalltype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2840,7 +2840,7 @@ impl IPMTaskInfo_Vtbl { let this = (*this).get_impl(); match IPMTaskInfo_Impl::BitsPerPixel(this) { Ok(ok__) => { - core::ptr::write(pbitsperpixel, core::mem::transmute(ok__)); + pbitsperpixel.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2851,7 +2851,7 @@ impl IPMTaskInfo_Vtbl { let this = (*this).get_impl(); match IPMTaskInfo_Impl::SuppressesDehydration(this) { Ok(ok__) => { - core::ptr::write(psuppressesdehydration, core::mem::transmute(ok__)); + psuppressesdehydration.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2867,7 +2867,7 @@ impl IPMTaskInfo_Vtbl { let this = (*this).get_impl(); match IPMTaskInfo_Impl::IsOptedForExtendedMem(this) { Ok(ok__) => { - core::ptr::write(pisoptedin, core::mem::transmute(ok__)); + pisoptedin.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2913,7 +2913,7 @@ impl IPMTaskInfoEnumerator_Vtbl { let this = (*this).get_impl(); match IPMTaskInfoEnumerator_Impl::Next(this) { Ok(ok__) => { - core::ptr::write(pptaskinfo, core::mem::transmute(ok__)); + pptaskinfo.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2959,7 +2959,7 @@ impl IPMTileInfo_Vtbl { let this = (*this).get_impl(); match IPMTileInfo_Impl::ProductID(this) { Ok(ok__) => { - core::ptr::write(pproductid, core::mem::transmute(ok__)); + pproductid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2975,7 +2975,7 @@ impl IPMTileInfo_Vtbl { let this = (*this).get_impl(); match IPMTileInfo_Impl::TemplateType(this) { Ok(ok__) => { - core::ptr::write(ptemplatetype, core::mem::transmute(ok__)); + ptemplatetype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2986,7 +2986,7 @@ impl IPMTileInfo_Vtbl { let this = (*this).get_impl(); match IPMTileInfo_Impl::get_HubPinnedState(this, core::mem::transmute_copy(&hubtype)) { Ok(ok__) => { - core::ptr::write(ppinned, core::mem::transmute(ok__)); + ppinned.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2997,7 +2997,7 @@ impl IPMTileInfo_Vtbl { let this = (*this).get_impl(); match IPMTileInfo_Impl::get_HubPosition(this, core::mem::transmute_copy(&hubtype)) { Ok(ok__) => { - core::ptr::write(pposition, core::mem::transmute(ok__)); + pposition.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3008,7 +3008,7 @@ impl IPMTileInfo_Vtbl { let this = (*this).get_impl(); match IPMTileInfo_Impl::IsNotified(this) { Ok(ok__) => { - core::ptr::write(pisnotified, core::mem::transmute(ok__)); + pisnotified.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3019,7 +3019,7 @@ impl IPMTileInfo_Vtbl { let this = (*this).get_impl(); match IPMTileInfo_Impl::IsDefault(this) { Ok(ok__) => { - core::ptr::write(pisdefault, core::mem::transmute(ok__)); + pisdefault.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3035,7 +3035,7 @@ impl IPMTileInfo_Vtbl { let this = (*this).get_impl(); match IPMTileInfo_Impl::TileType(this) { Ok(ok__) => { - core::ptr::write(pstarttiletype, core::mem::transmute(ok__)); + pstarttiletype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3046,7 +3046,7 @@ impl IPMTileInfo_Vtbl { let this = (*this).get_impl(); match IPMTileInfo_Impl::IsThemable(this) { Ok(ok__) => { - core::ptr::write(pisthemable, core::mem::transmute(ok__)); + pisthemable.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3057,7 +3057,7 @@ impl IPMTileInfo_Vtbl { let this = (*this).get_impl(); match IPMTileInfo_Impl::get_PropertyById(this, core::mem::transmute_copy(&propid)) { Ok(ok__) => { - core::ptr::write(pppropinfo, core::mem::transmute(ok__)); + pppropinfo.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3073,7 +3073,7 @@ impl IPMTileInfo_Vtbl { let this = (*this).get_impl(); match IPMTileInfo_Impl::PropertyEnum(this) { Ok(ok__) => { - core::ptr::write(pptilepropenum, core::mem::transmute(ok__)); + pptilepropenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3084,7 +3084,7 @@ impl IPMTileInfo_Vtbl { let this = (*this).get_impl(); match IPMTileInfo_Impl::get_HubTileSize(this, core::mem::transmute_copy(&hubtype)) { Ok(ok__) => { - core::ptr::write(psize, core::mem::transmute(ok__)); + psize.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3125,7 +3125,7 @@ impl IPMTileInfo_Vtbl { let this = (*this).get_impl(); match IPMTileInfo_Impl::IsRestoring(this) { Ok(ok__) => { - core::ptr::write(pisrestoring, core::mem::transmute(ok__)); + pisrestoring.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3136,7 +3136,7 @@ impl IPMTileInfo_Vtbl { let this = (*this).get_impl(); match IPMTileInfo_Impl::IsAutoRestoreDisabled(this) { Ok(ok__) => { - core::ptr::write(pisautorestoredisabled, core::mem::transmute(ok__)); + pisautorestoredisabled.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3195,7 +3195,7 @@ impl IPMTileInfoEnumerator_Vtbl { let this = (*this).get_impl(); match IPMTileInfoEnumerator_Impl::Next(this) { Ok(ok__) => { - core::ptr::write(pptileinfo, core::mem::transmute(ok__)); + pptileinfo.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3218,7 +3218,7 @@ impl IPMTilePropertyEnumerator_Vtbl { let this = (*this).get_impl(); match IPMTilePropertyEnumerator_Impl::Next(this) { Ok(ok__) => { - core::ptr::write(pppropinfo, core::mem::transmute(ok__)); + pppropinfo.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3243,7 +3243,7 @@ impl IPMTilePropertyInfo_Vtbl { let this = (*this).get_impl(); match IPMTilePropertyInfo_Impl::PropertyID(this) { Ok(ok__) => { - core::ptr::write(ppropid, core::mem::transmute(ok__)); + ppropid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/Win32/System/AssessmentTool/impl.rs b/crates/libs/windows/src/Windows/Win32/System/AssessmentTool/impl.rs index 3b4bc79b83..45d7ddcd38 100644 --- a/crates/libs/windows/src/Windows/Win32/System/AssessmentTool/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/AssessmentTool/impl.rs @@ -71,7 +71,7 @@ impl IProvideWinSATAssessmentInfo_Vtbl { let this = (*this).get_impl(); match IProvideWinSATAssessmentInfo_Impl::Score(this) { Ok(ok__) => { - core::ptr::write(score, core::mem::transmute(ok__)); + score.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -82,7 +82,7 @@ impl IProvideWinSATAssessmentInfo_Vtbl { let this = (*this).get_impl(); match IProvideWinSATAssessmentInfo_Impl::Title(this) { Ok(ok__) => { - core::ptr::write(title, core::mem::transmute(ok__)); + title.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -93,7 +93,7 @@ impl IProvideWinSATAssessmentInfo_Vtbl { let this = (*this).get_impl(); match IProvideWinSATAssessmentInfo_Impl::Description(this) { Ok(ok__) => { - core::ptr::write(description, core::mem::transmute(ok__)); + description.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -128,7 +128,7 @@ impl IProvideWinSATResultsInfo_Vtbl { let this = (*this).get_impl(); match IProvideWinSATResultsInfo_Impl::GetAssessmentInfo(this, core::mem::transmute_copy(&assessment)) { Ok(ok__) => { - core::ptr::write(ppinfo, core::mem::transmute(ok__)); + ppinfo.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -139,7 +139,7 @@ impl IProvideWinSATResultsInfo_Vtbl { let this = (*this).get_impl(); match IProvideWinSATResultsInfo_Impl::AssessmentState(this) { Ok(ok__) => { - core::ptr::write(state, core::mem::transmute(ok__)); + state.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -150,7 +150,7 @@ impl IProvideWinSATResultsInfo_Vtbl { let this = (*this).get_impl(); match IProvideWinSATResultsInfo_Impl::AssessmentDateTime(this) { Ok(ok__) => { - core::ptr::write(filetime, core::mem::transmute(ok__)); + filetime.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -161,7 +161,7 @@ impl IProvideWinSATResultsInfo_Vtbl { let this = (*this).get_impl(); match IProvideWinSATResultsInfo_Impl::SystemRating(this) { Ok(ok__) => { - core::ptr::write(level, core::mem::transmute(ok__)); + level.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -172,7 +172,7 @@ impl IProvideWinSATResultsInfo_Vtbl { let this = (*this).get_impl(); match IProvideWinSATResultsInfo_Impl::RatingStateDesc(this) { Ok(ok__) => { - core::ptr::write(description, core::mem::transmute(ok__)); + description.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -205,7 +205,7 @@ impl IProvideWinSATVisuals_Vtbl { let this = (*this).get_impl(); match IProvideWinSATVisuals_Impl::get_Bitmap(this, core::mem::transmute_copy(&bitmapsize), core::mem::transmute_copy(&state), core::mem::transmute_copy(&rating)) { Ok(ok__) => { - core::ptr::write(pbitmap, core::mem::transmute(ok__)); + pbitmap.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -231,7 +231,7 @@ impl IQueryAllWinSATAssessments_Vtbl { let this = (*this).get_impl(); match IQueryAllWinSATAssessments_Impl::get_AllXML(this, core::mem::transmute(&xpath), core::mem::transmute(&namespaces)) { Ok(ok__) => { - core::ptr::write(ppdomnodelist, core::mem::transmute(ok__)); + ppdomnodelist.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -254,7 +254,7 @@ impl IQueryOEMWinSATCustomization_Vtbl { let this = (*this).get_impl(); match IQueryOEMWinSATCustomization_Impl::GetOEMPrePopulationInfo(this) { Ok(ok__) => { - core::ptr::write(state, core::mem::transmute(ok__)); + state.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -281,7 +281,7 @@ impl IQueryRecentWinSATAssessment_Vtbl { let this = (*this).get_impl(); match IQueryRecentWinSATAssessment_Impl::get_XML(this, core::mem::transmute(&xpath), core::mem::transmute(&namespaces)) { Ok(ok__) => { - core::ptr::write(ppdomnodelist, core::mem::transmute(ok__)); + ppdomnodelist.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -292,7 +292,7 @@ impl IQueryRecentWinSATAssessment_Vtbl { let this = (*this).get_impl(); match IQueryRecentWinSATAssessment_Impl::Info(this) { Ok(ok__) => { - core::ptr::write(ppwinsatassessmentinfo, core::mem::transmute(ok__)); + ppwinsatassessmentinfo.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/Win32/System/ClrHosting/impl.rs b/crates/libs/windows/src/Windows/Win32/System/ClrHosting/impl.rs index c3000aac85..021b03491f 100644 --- a/crates/libs/windows/src/Windows/Win32/System/ClrHosting/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/ClrHosting/impl.rs @@ -103,7 +103,7 @@ impl ICLRAssemblyIdentityManager_Vtbl { let this = (*this).get_impl(); match ICLRAssemblyIdentityManager_Impl::GetCLRAssemblyReferenceList(this, core::mem::transmute_copy(&ppwzassemblyreferences), core::mem::transmute_copy(&dwnumofreferences)) { Ok(ok__) => { - core::ptr::write(ppreferencelist, core::mem::transmute(ok__)); + ppreferencelist.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -124,7 +124,7 @@ impl ICLRAssemblyIdentityManager_Vtbl { let this = (*this).get_impl(); match ICLRAssemblyIdentityManager_Impl::GetReferencedAssembliesFromFile(this, core::mem::transmute(&pwzfilepath), core::mem::transmute_copy(&dwflags), windows_core::from_raw_borrowed(&pexcludeassemblieslist)) { Ok(ok__) => { - core::ptr::write(ppreferenceenum, core::mem::transmute(ok__)); + ppreferenceenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -135,7 +135,7 @@ impl ICLRAssemblyIdentityManager_Vtbl { let this = (*this).get_impl(); match ICLRAssemblyIdentityManager_Impl::GetReferencedAssembliesFromStream(this, windows_core::from_raw_borrowed(&pstream), core::mem::transmute_copy(&dwflags), windows_core::from_raw_borrowed(&pexcludeassemblieslist)) { Ok(ok__) => { - core::ptr::write(ppreferenceenum, core::mem::transmute(ok__)); + ppreferenceenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -146,7 +146,7 @@ impl ICLRAssemblyIdentityManager_Vtbl { let this = (*this).get_impl(); match ICLRAssemblyIdentityManager_Impl::GetProbingAssembliesFromReference(this, core::mem::transmute_copy(&dwmachinetype), core::mem::transmute_copy(&dwflags), core::mem::transmute(&pwzreferenceidentity)) { Ok(ok__) => { - core::ptr::write(ppprobingassemblyenum, core::mem::transmute(ok__)); + ppprobingassemblyenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -157,7 +157,7 @@ impl ICLRAssemblyIdentityManager_Vtbl { let this = (*this).get_impl(); match ICLRAssemblyIdentityManager_Impl::IsStronglyNamed(this, core::mem::transmute(&pwzassemblyidentity)) { Ok(ok__) => { - core::ptr::write(pbisstronglynamed, core::mem::transmute(ok__)); + pbisstronglynamed.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -272,7 +272,7 @@ impl ICLRDebugManager_Vtbl { let this = (*this).get_impl(); match ICLRDebugManager_Impl::GetDacl(this) { Ok(ok__) => { - core::ptr::write(pacl, core::mem::transmute(ok__)); + pacl.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -283,7 +283,7 @@ impl ICLRDebugManager_Vtbl { let this = (*this).get_impl(); match ICLRDebugManager_Impl::IsDebuggerAttached(this) { Ok(ok__) => { - core::ptr::write(pbattached, core::mem::transmute(ok__)); + pbattached.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -347,7 +347,7 @@ impl ICLRDebuggingLibraryProvider_Vtbl { let this = (*this).get_impl(); match ICLRDebuggingLibraryProvider_Impl::ProvideLibrary(this, core::mem::transmute(&pwszfilename), core::mem::transmute_copy(&dwtimestamp), core::mem::transmute_copy(&dwsizeofimage)) { Ok(ok__) => { - core::ptr::write(phmodule, core::mem::transmute(ok__)); + phmodule.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -589,7 +589,7 @@ impl ICLRMetaHost_Vtbl { let this = (*this).get_impl(); match ICLRMetaHost_Impl::EnumerateInstalledRuntimes(this) { Ok(ok__) => { - core::ptr::write(ppenumerator, core::mem::transmute(ok__)); + ppenumerator.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -600,7 +600,7 @@ impl ICLRMetaHost_Vtbl { let this = (*this).get_impl(); match ICLRMetaHost_Impl::EnumerateLoadedRuntimes(this, core::mem::transmute_copy(&hndprocess)) { Ok(ok__) => { - core::ptr::write(ppenumerator, core::mem::transmute(ok__)); + ppenumerator.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -823,7 +823,7 @@ impl ICLRRuntimeHost_Vtbl { let this = (*this).get_impl(); match ICLRRuntimeHost_Impl::GetCLRControl(this) { Ok(ok__) => { - core::ptr::write(pclrcontrol, core::mem::transmute(ok__)); + pclrcontrol.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -844,7 +844,7 @@ impl ICLRRuntimeHost_Vtbl { let this = (*this).get_impl(); match ICLRRuntimeHost_Impl::GetCurrentAppDomainId(this) { Ok(ok__) => { - core::ptr::write(pdwappdomainid, core::mem::transmute(ok__)); + pdwappdomainid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -855,7 +855,7 @@ impl ICLRRuntimeHost_Vtbl { let this = (*this).get_impl(); match ICLRRuntimeHost_Impl::ExecuteApplication(this, core::mem::transmute(&pwzappfullname), core::mem::transmute_copy(&dwmanifestpaths), core::mem::transmute_copy(&ppwzmanifestpaths), core::mem::transmute_copy(&dwactivationdata), core::mem::transmute_copy(&ppwzactivationdata)) { Ok(ok__) => { - core::ptr::write(preturnvalue, core::mem::transmute(ok__)); + preturnvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -866,7 +866,7 @@ impl ICLRRuntimeHost_Vtbl { let this = (*this).get_impl(); match ICLRRuntimeHost_Impl::ExecuteInDefaultAppDomain(this, core::mem::transmute(&pwzassemblypath), core::mem::transmute(&pwztypename), core::mem::transmute(&pwzmethodname), core::mem::transmute(&pwzargument)) { Ok(ok__) => { - core::ptr::write(preturnvalue, core::mem::transmute(ok__)); + preturnvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -921,7 +921,7 @@ impl ICLRRuntimeInfo_Vtbl { let this = (*this).get_impl(); match ICLRRuntimeInfo_Impl::IsLoaded(this, core::mem::transmute_copy(&hndprocess)) { Ok(ok__) => { - core::ptr::write(pbloaded, core::mem::transmute(ok__)); + pbloaded.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -937,7 +937,7 @@ impl ICLRRuntimeInfo_Vtbl { let this = (*this).get_impl(); match ICLRRuntimeInfo_Impl::LoadLibraryA(this, core::mem::transmute(&pwzdllname)) { Ok(ok__) => { - core::ptr::write(phndmodule, core::mem::transmute(ok__)); + phndmodule.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -948,7 +948,7 @@ impl ICLRRuntimeInfo_Vtbl { let this = (*this).get_impl(); match ICLRRuntimeInfo_Impl::GetProcAddress(this, core::mem::transmute(&pszprocname)) { Ok(ok__) => { - core::ptr::write(ppproc, core::mem::transmute(ok__)); + ppproc.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -964,7 +964,7 @@ impl ICLRRuntimeInfo_Vtbl { let this = (*this).get_impl(); match ICLRRuntimeInfo_Impl::IsLoadable(this) { Ok(ok__) => { - core::ptr::write(pbloadable, core::mem::transmute(ok__)); + pbloadable.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1075,7 +1075,7 @@ impl ICLRStrongName_Vtbl { let this = (*this).get_impl(); match ICLRStrongName_Impl::StrongNameCompareAssemblies(this, core::mem::transmute(&pwzassembly1), core::mem::transmute(&pwzassembly2)) { Ok(ok__) => { - core::ptr::write(pdwresult, core::mem::transmute(ok__)); + pdwresult.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1106,7 +1106,7 @@ impl ICLRStrongName_Vtbl { let this = (*this).get_impl(); match ICLRStrongName_Impl::StrongNameHashSize(this, core::mem::transmute_copy(&ulhashalg)) { Ok(ok__) => { - core::ptr::write(pcbsize, core::mem::transmute(ok__)); + pcbsize.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1152,7 +1152,7 @@ impl ICLRStrongName_Vtbl { let this = (*this).get_impl(); match ICLRStrongName_Impl::StrongNameSignatureVerification(this, core::mem::transmute(&pwzfilepath), core::mem::transmute_copy(&dwinflags)) { Ok(ok__) => { - core::ptr::write(pdwoutflags, core::mem::transmute(ok__)); + pdwoutflags.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1163,7 +1163,7 @@ impl ICLRStrongName_Vtbl { let this = (*this).get_impl(); match ICLRStrongName_Impl::StrongNameSignatureVerificationEx(this, core::mem::transmute(&pwzfilepath), core::mem::transmute_copy(&fforceverification)) { Ok(ok__) => { - core::ptr::write(pfwasverified, core::mem::transmute(ok__)); + pfwasverified.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1174,7 +1174,7 @@ impl ICLRStrongName_Vtbl { let this = (*this).get_impl(); match ICLRStrongName_Impl::StrongNameSignatureVerificationFromImage(this, core::mem::transmute_copy(&pbbase), core::mem::transmute_copy(&dwlength), core::mem::transmute_copy(&dwinflags)) { Ok(ok__) => { - core::ptr::write(pdwoutflags, core::mem::transmute(ok__)); + pdwoutflags.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1245,7 +1245,7 @@ impl ICLRStrongName2_Vtbl { let this = (*this).get_impl(); match ICLRStrongName2_Impl::StrongNameSignatureVerificationEx2(this, core::mem::transmute(&wszfilepath), core::mem::transmute_copy(&fforceverification), core::mem::transmute_copy(&pbecmapublickey), core::mem::transmute_copy(&cbecmapublickey)) { Ok(ok__) => { - core::ptr::write(pfwasverified, core::mem::transmute(ok__)); + pfwasverified.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1309,7 +1309,7 @@ impl ICLRSyncManager_Vtbl { let this = (*this).get_impl(); match ICLRSyncManager_Impl::GetMonitorOwner(this, core::mem::transmute_copy(&cookie)) { Ok(ok__) => { - core::ptr::write(ppownerhosttask, core::mem::transmute(ok__)); + ppownerhosttask.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1320,7 +1320,7 @@ impl ICLRSyncManager_Vtbl { let this = (*this).get_impl(); match ICLRSyncManager_Impl::CreateRWLockOwnerIterator(this, core::mem::transmute_copy(&cookie)) { Ok(ok__) => { - core::ptr::write(piterator, core::mem::transmute(ok__)); + piterator.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1331,7 +1331,7 @@ impl ICLRSyncManager_Vtbl { let this = (*this).get_impl(); match ICLRSyncManager_Impl::GetRWLockOwnerNext(this, core::mem::transmute_copy(&iterator)) { Ok(ok__) => { - core::ptr::write(ppownerhosttask, core::mem::transmute(ok__)); + ppownerhosttask.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1385,7 +1385,7 @@ impl ICLRTask_Vtbl { let this = (*this).get_impl(); match ICLRTask_Impl::GetMemStats(this) { Ok(ok__) => { - core::ptr::write(memusage, core::mem::transmute(ok__)); + memusage.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1416,7 +1416,7 @@ impl ICLRTask_Vtbl { let this = (*this).get_impl(); match ICLRTask_Impl::NeedsPriorityScheduling(this) { Ok(ok__) => { - core::ptr::write(pbneedspriorityscheduling, core::mem::transmute(ok__)); + pbneedspriorityscheduling.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1432,7 +1432,7 @@ impl ICLRTask_Vtbl { let this = (*this).get_impl(); match ICLRTask_Impl::LocksHeld(this) { Ok(ok__) => { - core::ptr::write(plockcount, core::mem::transmute(ok__)); + plockcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1504,7 +1504,7 @@ impl ICLRTaskManager_Vtbl { let this = (*this).get_impl(); match ICLRTaskManager_Impl::CreateTask(this) { Ok(ok__) => { - core::ptr::write(ptask, core::mem::transmute(ok__)); + ptask.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1515,7 +1515,7 @@ impl ICLRTaskManager_Vtbl { let this = (*this).get_impl(); match ICLRTaskManager_Impl::GetCurrentTask(this) { Ok(ok__) => { - core::ptr::write(ptask, core::mem::transmute(ok__)); + ptask.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1536,7 +1536,7 @@ impl ICLRTaskManager_Vtbl { let this = (*this).get_impl(); match ICLRTaskManager_Impl::GetCurrentTaskType(this) { Ok(ok__) => { - core::ptr::write(ptasktype, core::mem::transmute(ok__)); + ptasktype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1667,7 +1667,7 @@ impl ICorRuntimeHost_Vtbl { let this = (*this).get_impl(); match ICorRuntimeHost_Impl::SwitchOutLogicalThreadState(this) { Ok(ok__) => { - core::ptr::write(pfibercookie, core::mem::transmute(ok__)); + pfibercookie.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1678,7 +1678,7 @@ impl ICorRuntimeHost_Vtbl { let this = (*this).get_impl(); match ICorRuntimeHost_Impl::LocksHeldByLogicalThread(this) { Ok(ok__) => { - core::ptr::write(pcount, core::mem::transmute(ok__)); + pcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1689,7 +1689,7 @@ impl ICorRuntimeHost_Vtbl { let this = (*this).get_impl(); match ICorRuntimeHost_Impl::MapFile(this, core::mem::transmute_copy(&hfile)) { Ok(ok__) => { - core::ptr::write(hmapaddress, core::mem::transmute(ok__)); + hmapaddress.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1700,7 +1700,7 @@ impl ICorRuntimeHost_Vtbl { let this = (*this).get_impl(); match ICorRuntimeHost_Impl::GetConfiguration(this) { Ok(ok__) => { - core::ptr::write(pconfiguration, core::mem::transmute(ok__)); + pconfiguration.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1721,7 +1721,7 @@ impl ICorRuntimeHost_Vtbl { let this = (*this).get_impl(); match ICorRuntimeHost_Impl::CreateDomain(this, core::mem::transmute(&pwzfriendlyname), windows_core::from_raw_borrowed(&pidentityarray)) { Ok(ok__) => { - core::ptr::write(pappdomain, core::mem::transmute(ok__)); + pappdomain.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1732,7 +1732,7 @@ impl ICorRuntimeHost_Vtbl { let this = (*this).get_impl(); match ICorRuntimeHost_Impl::GetDefaultDomain(this) { Ok(ok__) => { - core::ptr::write(pappdomain, core::mem::transmute(ok__)); + pappdomain.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1748,7 +1748,7 @@ impl ICorRuntimeHost_Vtbl { let this = (*this).get_impl(); match ICorRuntimeHost_Impl::NextDomain(this, core::mem::transmute_copy(&henum)) { Ok(ok__) => { - core::ptr::write(pappdomain, core::mem::transmute(ok__)); + pappdomain.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1764,7 +1764,7 @@ impl ICorRuntimeHost_Vtbl { let this = (*this).get_impl(); match ICorRuntimeHost_Impl::CreateDomainEx(this, core::mem::transmute(&pwzfriendlyname), windows_core::from_raw_borrowed(&psetup), windows_core::from_raw_borrowed(&pevidence)) { Ok(ok__) => { - core::ptr::write(pappdomain, core::mem::transmute(ok__)); + pappdomain.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1775,7 +1775,7 @@ impl ICorRuntimeHost_Vtbl { let this = (*this).get_impl(); match ICorRuntimeHost_Impl::CreateDomainSetup(this) { Ok(ok__) => { - core::ptr::write(pappdomainsetup, core::mem::transmute(ok__)); + pappdomainsetup.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1786,7 +1786,7 @@ impl ICorRuntimeHost_Vtbl { let this = (*this).get_impl(); match ICorRuntimeHost_Impl::CreateEvidence(this) { Ok(ok__) => { - core::ptr::write(pevidence, core::mem::transmute(ok__)); + pevidence.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1802,7 +1802,7 @@ impl ICorRuntimeHost_Vtbl { let this = (*this).get_impl(); match ICorRuntimeHost_Impl::CurrentDomain(this) { Ok(ok__) => { - core::ptr::write(pappdomain, core::mem::transmute(ok__)); + pappdomain.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1859,7 +1859,7 @@ impl ICorThreadpool_Vtbl { let this = (*this).get_impl(); match ICorThreadpool_Impl::CorRegisterWaitForSingleObject(this, core::mem::transmute_copy(&phnewwaitobject), core::mem::transmute_copy(&hwaitobject), core::mem::transmute_copy(&callback), core::mem::transmute_copy(&context), core::mem::transmute_copy(&timeout), core::mem::transmute_copy(&executeonlyonce)) { Ok(ok__) => { - core::ptr::write(result, core::mem::transmute(ok__)); + result.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1870,7 +1870,7 @@ impl ICorThreadpool_Vtbl { let this = (*this).get_impl(); match ICorThreadpool_Impl::CorUnregisterWait(this, core::mem::transmute_copy(&hwaitobject), core::mem::transmute_copy(&completionevent)) { Ok(ok__) => { - core::ptr::write(result, core::mem::transmute(ok__)); + result.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1881,7 +1881,7 @@ impl ICorThreadpool_Vtbl { let this = (*this).get_impl(); match ICorThreadpool_Impl::CorQueueUserWorkItem(this, core::mem::transmute_copy(&function), core::mem::transmute_copy(&context), core::mem::transmute_copy(&executeonlyonce)) { Ok(ok__) => { - core::ptr::write(result, core::mem::transmute(ok__)); + result.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1892,7 +1892,7 @@ impl ICorThreadpool_Vtbl { let this = (*this).get_impl(); match ICorThreadpool_Impl::CorCreateTimer(this, core::mem::transmute_copy(&phnewtimer), core::mem::transmute_copy(&callback), core::mem::transmute_copy(¶meter), core::mem::transmute_copy(&duetime), core::mem::transmute_copy(&period)) { Ok(ok__) => { - core::ptr::write(result, core::mem::transmute(ok__)); + result.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1903,7 +1903,7 @@ impl ICorThreadpool_Vtbl { let this = (*this).get_impl(); match ICorThreadpool_Impl::CorChangeTimer(this, core::mem::transmute_copy(&timer), core::mem::transmute_copy(&duetime), core::mem::transmute_copy(&period)) { Ok(ok__) => { - core::ptr::write(result, core::mem::transmute(ok__)); + result.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1914,7 +1914,7 @@ impl ICorThreadpool_Vtbl { let this = (*this).get_impl(); match ICorThreadpool_Impl::CorDeleteTimer(this, core::mem::transmute_copy(&timer), core::mem::transmute_copy(&completionevent)) { Ok(ok__) => { - core::ptr::write(result, core::mem::transmute(ok__)); + result.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1930,7 +1930,7 @@ impl ICorThreadpool_Vtbl { let this = (*this).get_impl(); match ICorThreadpool_Impl::CorCallOrQueueUserWorkItem(this, core::mem::transmute_copy(&function), core::mem::transmute_copy(&context)) { Ok(ok__) => { - core::ptr::write(result, core::mem::transmute(ok__)); + result.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1981,7 +1981,7 @@ impl IDebuggerInfo_Vtbl { let this = (*this).get_impl(); match IDebuggerInfo_Impl::IsDebuggerAttached(this) { Ok(ok__) => { - core::ptr::write(pbattached, core::mem::transmute(ok__)); + pbattached.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2155,7 +2155,7 @@ impl IHostAssemblyManager_Vtbl { let this = (*this).get_impl(); match IHostAssemblyManager_Impl::GetNonHostStoreAssemblies(this) { Ok(ok__) => { - core::ptr::write(ppreferencelist, core::mem::transmute(ok__)); + ppreferencelist.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2166,7 +2166,7 @@ impl IHostAssemblyManager_Vtbl { let this = (*this).get_impl(); match IHostAssemblyManager_Impl::GetAssemblyStore(this) { Ok(ok__) => { - core::ptr::write(ppassemblystore, core::mem::transmute(ok__)); + ppassemblystore.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2286,7 +2286,7 @@ impl IHostCrst_Vtbl { let this = (*this).get_impl(); match IHostCrst_Impl::TryEnter(this, core::mem::transmute_copy(&option)) { Ok(ok__) => { - core::ptr::write(pbsucceeded, core::mem::transmute(ok__)); + pbsucceeded.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2364,7 +2364,7 @@ impl IHostIoCompletionManager_Vtbl { let this = (*this).get_impl(); match IHostIoCompletionManager_Impl::CreateIoCompletionPort(this) { Ok(ok__) => { - core::ptr::write(phport, core::mem::transmute(ok__)); + phport.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2385,7 +2385,7 @@ impl IHostIoCompletionManager_Vtbl { let this = (*this).get_impl(); match IHostIoCompletionManager_Impl::GetMaxThreads(this) { Ok(ok__) => { - core::ptr::write(pdwmaxiocompletionthreads, core::mem::transmute(ok__)); + pdwmaxiocompletionthreads.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2396,7 +2396,7 @@ impl IHostIoCompletionManager_Vtbl { let this = (*this).get_impl(); match IHostIoCompletionManager_Impl::GetAvailableThreads(this) { Ok(ok__) => { - core::ptr::write(pdwavailableiocompletionthreads, core::mem::transmute(ok__)); + pdwavailableiocompletionthreads.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2407,7 +2407,7 @@ impl IHostIoCompletionManager_Vtbl { let this = (*this).get_impl(); match IHostIoCompletionManager_Impl::GetHostOverlappedSize(this) { Ok(ok__) => { - core::ptr::write(pcbsize, core::mem::transmute(ok__)); + pcbsize.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2438,7 +2438,7 @@ impl IHostIoCompletionManager_Vtbl { let this = (*this).get_impl(); match IHostIoCompletionManager_Impl::GetMinThreads(this) { Ok(ok__) => { - core::ptr::write(pdwminiocompletionthreads, core::mem::transmute(ok__)); + pdwminiocompletionthreads.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2551,7 +2551,7 @@ impl IHostMemoryManager_Vtbl { let this = (*this).get_impl(); match IHostMemoryManager_Impl::CreateMalloc(this, core::mem::transmute_copy(&dwmalloctype)) { Ok(ok__) => { - core::ptr::write(ppmalloc, core::mem::transmute(ok__)); + ppmalloc.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2577,7 +2577,7 @@ impl IHostMemoryManager_Vtbl { let this = (*this).get_impl(); match IHostMemoryManager_Impl::VirtualProtect(this, core::mem::transmute_copy(&lpaddress), core::mem::transmute_copy(&dwsize), core::mem::transmute_copy(&flnewprotect)) { Ok(ok__) => { - core::ptr::write(pfloldprotect, core::mem::transmute(ok__)); + pfloldprotect.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2671,7 +2671,7 @@ impl IHostSecurityContext_Vtbl { let this = (*this).get_impl(); match IHostSecurityContext_Impl::Capture(this) { Ok(ok__) => { - core::ptr::write(ppclonedcontext, core::mem::transmute(ok__)); + ppclonedcontext.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2709,7 +2709,7 @@ impl IHostSecurityManager_Vtbl { let this = (*this).get_impl(); match IHostSecurityManager_Impl::OpenThreadToken(this, core::mem::transmute_copy(&dwdesiredaccess), core::mem::transmute_copy(&bopenasself)) { Ok(ok__) => { - core::ptr::write(phthreadtoken, core::mem::transmute(ok__)); + phthreadtoken.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2725,7 +2725,7 @@ impl IHostSecurityManager_Vtbl { let this = (*this).get_impl(); match IHostSecurityManager_Impl::GetSecurityContext(this, core::mem::transmute_copy(&econtexttype)) { Ok(ok__) => { - core::ptr::write(ppsecuritycontext, core::mem::transmute(ok__)); + ppsecuritycontext.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2767,7 +2767,7 @@ impl IHostSemaphore_Vtbl { let this = (*this).get_impl(); match IHostSemaphore_Impl::ReleaseSemaphore(this, core::mem::transmute_copy(&lreleasecount)) { Ok(ok__) => { - core::ptr::write(lppreviouscount, core::mem::transmute(ok__)); + lppreviouscount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2807,7 +2807,7 @@ impl IHostSyncManager_Vtbl { let this = (*this).get_impl(); match IHostSyncManager_Impl::CreateCrst(this) { Ok(ok__) => { - core::ptr::write(ppcrst, core::mem::transmute(ok__)); + ppcrst.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2818,7 +2818,7 @@ impl IHostSyncManager_Vtbl { let this = (*this).get_impl(); match IHostSyncManager_Impl::CreateCrstWithSpinCount(this, core::mem::transmute_copy(&dwspincount)) { Ok(ok__) => { - core::ptr::write(ppcrst, core::mem::transmute(ok__)); + ppcrst.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2829,7 +2829,7 @@ impl IHostSyncManager_Vtbl { let this = (*this).get_impl(); match IHostSyncManager_Impl::CreateAutoEvent(this) { Ok(ok__) => { - core::ptr::write(ppevent, core::mem::transmute(ok__)); + ppevent.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2840,7 +2840,7 @@ impl IHostSyncManager_Vtbl { let this = (*this).get_impl(); match IHostSyncManager_Impl::CreateManualEvent(this, core::mem::transmute_copy(&binitialstate)) { Ok(ok__) => { - core::ptr::write(ppevent, core::mem::transmute(ok__)); + ppevent.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2851,7 +2851,7 @@ impl IHostSyncManager_Vtbl { let this = (*this).get_impl(); match IHostSyncManager_Impl::CreateMonitorEvent(this, core::mem::transmute_copy(&cookie)) { Ok(ok__) => { - core::ptr::write(ppevent, core::mem::transmute(ok__)); + ppevent.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2862,7 +2862,7 @@ impl IHostSyncManager_Vtbl { let this = (*this).get_impl(); match IHostSyncManager_Impl::CreateRWLockWriterEvent(this, core::mem::transmute_copy(&cookie)) { Ok(ok__) => { - core::ptr::write(ppevent, core::mem::transmute(ok__)); + ppevent.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2873,7 +2873,7 @@ impl IHostSyncManager_Vtbl { let this = (*this).get_impl(); match IHostSyncManager_Impl::CreateRWLockReaderEvent(this, core::mem::transmute_copy(&binitialstate), core::mem::transmute_copy(&cookie)) { Ok(ok__) => { - core::ptr::write(ppevent, core::mem::transmute(ok__)); + ppevent.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2884,7 +2884,7 @@ impl IHostSyncManager_Vtbl { let this = (*this).get_impl(); match IHostSyncManager_Impl::CreateSemaphoreA(this, core::mem::transmute_copy(&dwinitial), core::mem::transmute_copy(&dwmax)) { Ok(ok__) => { - core::ptr::write(ppsemaphore, core::mem::transmute(ok__)); + ppsemaphore.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2943,7 +2943,7 @@ impl IHostTask_Vtbl { let this = (*this).get_impl(); match IHostTask_Impl::GetPriority(this) { Ok(ok__) => { - core::ptr::write(ppriority, core::mem::transmute(ok__)); + ppriority.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2999,7 +2999,7 @@ impl IHostTaskManager_Vtbl { let this = (*this).get_impl(); match IHostTaskManager_Impl::GetCurrentTask(this) { Ok(ok__) => { - core::ptr::write(ptask, core::mem::transmute(ok__)); + ptask.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3010,7 +3010,7 @@ impl IHostTaskManager_Vtbl { let this = (*this).get_impl(); match IHostTaskManager_Impl::CreateTask(this, core::mem::transmute_copy(&dwstacksize), core::mem::transmute_copy(&pstartaddress), core::mem::transmute_copy(&pparameter)) { Ok(ok__) => { - core::ptr::write(pptask, core::mem::transmute(ok__)); + pptask.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3041,7 +3041,7 @@ impl IHostTaskManager_Vtbl { let this = (*this).get_impl(); match IHostTaskManager_Impl::CallNeedsHostHook(this, core::mem::transmute_copy(&target)) { Ok(ok__) => { - core::ptr::write(pbcallneedshosthook, core::mem::transmute(ok__)); + pbcallneedshosthook.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3097,7 +3097,7 @@ impl IHostTaskManager_Vtbl { let this = (*this).get_impl(); match IHostTaskManager_Impl::GetStackGuarantee(this) { Ok(ok__) => { - core::ptr::write(pguarantee, core::mem::transmute(ok__)); + pguarantee.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3163,7 +3163,7 @@ impl IHostThreadpoolManager_Vtbl { let this = (*this).get_impl(); match IHostThreadpoolManager_Impl::GetMaxThreads(this) { Ok(ok__) => { - core::ptr::write(pdwmaxworkerthreads, core::mem::transmute(ok__)); + pdwmaxworkerthreads.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3174,7 +3174,7 @@ impl IHostThreadpoolManager_Vtbl { let this = (*this).get_impl(); match IHostThreadpoolManager_Impl::GetAvailableThreads(this) { Ok(ok__) => { - core::ptr::write(pdwavailableworkerthreads, core::mem::transmute(ok__)); + pdwavailableworkerthreads.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3190,7 +3190,7 @@ impl IHostThreadpoolManager_Vtbl { let this = (*this).get_impl(); match IHostThreadpoolManager_Impl::GetMinThreads(this) { Ok(ok__) => { - core::ptr::write(pdwminiocompletionthreads, core::mem::transmute(ok__)); + pdwminiocompletionthreads.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3222,7 +3222,7 @@ impl IManagedObject_Vtbl { let this = (*this).get_impl(); match IManagedObject_Impl::GetSerializedBuffer(this) { Ok(ok__) => { - core::ptr::write(pbstr, core::mem::transmute(ok__)); + pbstr.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3254,7 +3254,7 @@ impl IObjectHandle_Vtbl { let this = (*this).get_impl(); match IObjectHandle_Impl::Unwrap(this) { Ok(ok__) => { - core::ptr::write(ppv, core::mem::transmute(ok__)); + ppv.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3283,7 +3283,7 @@ impl ITypeName_Vtbl { let this = (*this).get_impl(); match ITypeName_Impl::GetNameCount(this) { Ok(ok__) => { - core::ptr::write(pcount, core::mem::transmute(ok__)); + pcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3294,7 +3294,7 @@ impl ITypeName_Vtbl { let this = (*this).get_impl(); match ITypeName_Impl::GetNames(this, core::mem::transmute_copy(&count), core::mem::transmute_copy(&rgbsznames)) { Ok(ok__) => { - core::ptr::write(pcount, core::mem::transmute(ok__)); + pcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3305,7 +3305,7 @@ impl ITypeName_Vtbl { let this = (*this).get_impl(); match ITypeName_Impl::GetTypeArgumentCount(this) { Ok(ok__) => { - core::ptr::write(pcount, core::mem::transmute(ok__)); + pcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3316,7 +3316,7 @@ impl ITypeName_Vtbl { let this = (*this).get_impl(); match ITypeName_Impl::GetTypeArguments(this, core::mem::transmute_copy(&count), core::mem::transmute_copy(&rgparguments)) { Ok(ok__) => { - core::ptr::write(pcount, core::mem::transmute(ok__)); + pcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3327,7 +3327,7 @@ impl ITypeName_Vtbl { let this = (*this).get_impl(); match ITypeName_Impl::GetModifierLength(this) { Ok(ok__) => { - core::ptr::write(pcount, core::mem::transmute(ok__)); + pcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3338,7 +3338,7 @@ impl ITypeName_Vtbl { let this = (*this).get_impl(); match ITypeName_Impl::GetModifiers(this, core::mem::transmute_copy(&count), core::mem::transmute_copy(&rgmodifiers)) { Ok(ok__) => { - core::ptr::write(pcount, core::mem::transmute(ok__)); + pcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3349,7 +3349,7 @@ impl ITypeName_Vtbl { let this = (*this).get_impl(); match ITypeName_Impl::GetAssemblyName(this) { Ok(ok__) => { - core::ptr::write(rgbszassemblynames, core::mem::transmute(ok__)); + rgbszassemblynames.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3442,7 +3442,7 @@ impl ITypeNameBuilder_Vtbl { let this = (*this).get_impl(); match ITypeNameBuilder_Impl::ToString(this) { Ok(ok__) => { - core::ptr::write(pszstringrepresentation, core::mem::transmute(ok__)); + pszstringrepresentation.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3485,7 +3485,7 @@ impl ITypeNameFactory_Vtbl { let this = (*this).get_impl(); match ITypeNameFactory_Impl::ParseTypeName(this, core::mem::transmute(&szname), core::mem::transmute_copy(&perror)) { Ok(ok__) => { - core::ptr::write(pptypename, core::mem::transmute(ok__)); + pptypename.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3496,7 +3496,7 @@ impl ITypeNameFactory_Vtbl { let this = (*this).get_impl(); match ITypeNameFactory_Impl::GetTypeNameBuilder(this) { Ok(ok__) => { - core::ptr::write(pptypebuilder, core::mem::transmute(ok__)); + pptypebuilder.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/Win32/System/Com/CallObj/impl.rs b/crates/libs/windows/src/Windows/Win32/System/Com/CallObj/impl.rs index 7a7f426d78..1f74d1bca6 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Com/CallObj/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Com/CallObj/impl.rs @@ -62,7 +62,7 @@ impl ICallFrame_Vtbl { let this = (*this).get_impl(); match ICallFrame_Impl::GetParamInfo(this, core::mem::transmute_copy(&iparam)) { Ok(ok__) => { - core::ptr::write(pinfo, core::mem::transmute(ok__)); + pinfo.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -78,7 +78,7 @@ impl ICallFrame_Vtbl { let this = (*this).get_impl(); match ICallFrame_Impl::GetParam(this, core::mem::transmute_copy(&iparam)) { Ok(ok__) => { - core::ptr::write(pvar, core::mem::transmute(ok__)); + pvar.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -89,7 +89,7 @@ impl ICallFrame_Vtbl { let this = (*this).get_impl(); match ICallFrame_Impl::Copy(this, core::mem::transmute_copy(©control), windows_core::from_raw_borrowed(&pwalker)) { Ok(ok__) => { - core::ptr::write(ppframe, core::mem::transmute(ok__)); + ppframe.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -115,7 +115,7 @@ impl ICallFrame_Vtbl { let this = (*this).get_impl(); match ICallFrame_Impl::GetMarshalSizeMax(this, core::mem::transmute_copy(&pmshlcontext), core::mem::transmute_copy(&mshlflags)) { Ok(ok__) => { - core::ptr::write(pcbbufferneeded, core::mem::transmute(ok__)); + pcbbufferneeded.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -131,7 +131,7 @@ impl ICallFrame_Vtbl { let this = (*this).get_impl(); match ICallFrame_Impl::Unmarshal(this, core::mem::transmute_copy(&pbuffer), core::mem::transmute_copy(&cbbuffer), core::mem::transmute_copy(&datarep), core::mem::transmute_copy(&pcontext)) { Ok(ok__) => { - core::ptr::write(pcbunmarshalled, core::mem::transmute(ok__)); + pcbunmarshalled.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -232,7 +232,7 @@ impl ICallIndirect_Vtbl { let this = (*this).get_impl(); match ICallIndirect_Impl::GetStackSize(this, core::mem::transmute_copy(&imethod)) { Ok(ok__) => { - core::ptr::write(cbargs, core::mem::transmute(ok__)); + cbargs.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -272,7 +272,7 @@ impl ICallInterceptor_Vtbl { let this = (*this).get_impl(); match ICallInterceptor_Impl::GetRegisteredSink(this) { Ok(ok__) => { - core::ptr::write(ppsink, core::mem::transmute(ok__)); + ppsink.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -332,7 +332,7 @@ impl IInterfaceRelated_Vtbl { let this = (*this).get_impl(); match IInterfaceRelated_Impl::GetIID(this) { Ok(ok__) => { - core::ptr::write(piid, core::mem::transmute(ok__)); + piid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/Win32/System/Com/Events/impl.rs b/crates/libs/windows/src/Windows/Win32/System/Com/Events/impl.rs index 7887e9b75c..24c97810c9 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Com/Events/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Com/Events/impl.rs @@ -22,7 +22,7 @@ impl IEnumEventObject_Vtbl { let this = (*this).get_impl(); match IEnumEventObject_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppinterface, core::mem::transmute(ok__)); + ppinterface.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -79,7 +79,7 @@ impl IEventClass_Vtbl { let this = (*this).get_impl(); match IEventClass_Impl::EventClassID(this) { Ok(ok__) => { - core::ptr::write(pbstreventclassid, core::mem::transmute(ok__)); + pbstreventclassid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -95,7 +95,7 @@ impl IEventClass_Vtbl { let this = (*this).get_impl(); match IEventClass_Impl::EventClassName(this) { Ok(ok__) => { - core::ptr::write(pbstreventclassname, core::mem::transmute(ok__)); + pbstreventclassname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -111,7 +111,7 @@ impl IEventClass_Vtbl { let this = (*this).get_impl(); match IEventClass_Impl::OwnerSID(this) { Ok(ok__) => { - core::ptr::write(pbstrownersid, core::mem::transmute(ok__)); + pbstrownersid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -127,7 +127,7 @@ impl IEventClass_Vtbl { let this = (*this).get_impl(); match IEventClass_Impl::FiringInterfaceID(this) { Ok(ok__) => { - core::ptr::write(pbstrfiringinterfaceid, core::mem::transmute(ok__)); + pbstrfiringinterfaceid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -143,7 +143,7 @@ impl IEventClass_Vtbl { let this = (*this).get_impl(); match IEventClass_Impl::Description(this) { Ok(ok__) => { - core::ptr::write(pbstrdescription, core::mem::transmute(ok__)); + pbstrdescription.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -159,7 +159,7 @@ impl IEventClass_Vtbl { let this = (*this).get_impl(); match IEventClass_Impl::CustomConfigCLSID(this) { Ok(ok__) => { - core::ptr::write(pbstrcustomconfigclsid, core::mem::transmute(ok__)); + pbstrcustomconfigclsid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -175,7 +175,7 @@ impl IEventClass_Vtbl { let this = (*this).get_impl(); match IEventClass_Impl::TypeLib(this) { Ok(ok__) => { - core::ptr::write(pbstrtypelib, core::mem::transmute(ok__)); + pbstrtypelib.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -226,7 +226,7 @@ impl IEventClass2_Vtbl { let this = (*this).get_impl(); match IEventClass2_Impl::PublisherID(this) { Ok(ok__) => { - core::ptr::write(pbstrpublisherid, core::mem::transmute(ok__)); + pbstrpublisherid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -242,7 +242,7 @@ impl IEventClass2_Vtbl { let this = (*this).get_impl(); match IEventClass2_Impl::MultiInterfacePublisherFilterCLSID(this) { Ok(ok__) => { - core::ptr::write(pbstrpubfilclsid, core::mem::transmute(ok__)); + pbstrpubfilclsid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -258,7 +258,7 @@ impl IEventClass2_Vtbl { let this = (*this).get_impl(); match IEventClass2_Impl::AllowInprocActivation(this) { Ok(ok__) => { - core::ptr::write(pfallowinprocactivation, core::mem::transmute(ok__)); + pfallowinprocactivation.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -274,7 +274,7 @@ impl IEventClass2_Vtbl { let this = (*this).get_impl(); match IEventClass2_Impl::FireInParallel(this) { Ok(ok__) => { - core::ptr::write(pffireinparallel, core::mem::transmute(ok__)); + pffireinparallel.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -321,7 +321,7 @@ impl IEventControl_Vtbl { let this = (*this).get_impl(); match IEventControl_Impl::AllowInprocActivation(this) { Ok(ok__) => { - core::ptr::write(pfallowinprocactivation, core::mem::transmute(ok__)); + pfallowinprocactivation.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -337,7 +337,7 @@ impl IEventControl_Vtbl { let this = (*this).get_impl(); match IEventControl_Impl::GetSubscriptions(this, core::mem::transmute(&methodname), core::mem::transmute(&optionalcriteria), core::mem::transmute_copy(&optionalerrorindex)) { Ok(ok__) => { - core::ptr::write(ppcollection, core::mem::transmute(ok__)); + ppcollection.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -348,7 +348,7 @@ impl IEventControl_Vtbl { let this = (*this).get_impl(); match IEventControl_Impl::SetDefaultQuery(this, core::mem::transmute(&methodname), core::mem::transmute(&criteria)) { Ok(ok__) => { - core::ptr::write(errorindex, core::mem::transmute(ok__)); + errorindex.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -444,7 +444,7 @@ impl IEventObjectCollection_Vtbl { let this = (*this).get_impl(); match IEventObjectCollection_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(ppunkenum, core::mem::transmute(ok__)); + ppunkenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -455,7 +455,7 @@ impl IEventObjectCollection_Vtbl { let this = (*this).get_impl(); match IEventObjectCollection_Impl::get_Item(this, core::mem::transmute(&objectid)) { Ok(ok__) => { - core::ptr::write(pitem, core::mem::transmute(ok__)); + pitem.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -466,7 +466,7 @@ impl IEventObjectCollection_Vtbl { let this = (*this).get_impl(); match IEventObjectCollection_Impl::NewEnum(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -477,7 +477,7 @@ impl IEventObjectCollection_Vtbl { let this = (*this).get_impl(); match IEventObjectCollection_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(pcount, core::mem::transmute(ok__)); + pcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -521,7 +521,7 @@ impl IEventProperty_Vtbl { let this = (*this).get_impl(); match IEventProperty_Impl::Name(this) { Ok(ok__) => { - core::ptr::write(propertyname, core::mem::transmute(ok__)); + propertyname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -537,7 +537,7 @@ impl IEventProperty_Vtbl { let this = (*this).get_impl(); match IEventProperty_Impl::Value(this) { Ok(ok__) => { - core::ptr::write(propertyvalue, core::mem::transmute(ok__)); + propertyvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -584,7 +584,7 @@ impl IEventPublisher_Vtbl { let this = (*this).get_impl(); match IEventPublisher_Impl::PublisherID(this) { Ok(ok__) => { - core::ptr::write(pbstrpublisherid, core::mem::transmute(ok__)); + pbstrpublisherid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -600,7 +600,7 @@ impl IEventPublisher_Vtbl { let this = (*this).get_impl(); match IEventPublisher_Impl::PublisherName(this) { Ok(ok__) => { - core::ptr::write(pbstrpublishername, core::mem::transmute(ok__)); + pbstrpublishername.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -616,7 +616,7 @@ impl IEventPublisher_Vtbl { let this = (*this).get_impl(); match IEventPublisher_Impl::PublisherType(this) { Ok(ok__) => { - core::ptr::write(pbstrpublishertype, core::mem::transmute(ok__)); + pbstrpublishertype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -632,7 +632,7 @@ impl IEventPublisher_Vtbl { let this = (*this).get_impl(); match IEventPublisher_Impl::OwnerSID(this) { Ok(ok__) => { - core::ptr::write(pbstrownersid, core::mem::transmute(ok__)); + pbstrownersid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -648,7 +648,7 @@ impl IEventPublisher_Vtbl { let this = (*this).get_impl(); match IEventPublisher_Impl::Description(this) { Ok(ok__) => { - core::ptr::write(pbstrdescription, core::mem::transmute(ok__)); + pbstrdescription.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -664,7 +664,7 @@ impl IEventPublisher_Vtbl { let this = (*this).get_impl(); match IEventPublisher_Impl::GetDefaultProperty(this, core::mem::transmute(&bstrpropertyname)) { Ok(ok__) => { - core::ptr::write(propertyvalue, core::mem::transmute(ok__)); + propertyvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -685,7 +685,7 @@ impl IEventPublisher_Vtbl { let this = (*this).get_impl(); match IEventPublisher_Impl::GetDefaultPropertyCollection(this) { Ok(ok__) => { - core::ptr::write(collection, core::mem::transmute(ok__)); + collection.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -757,7 +757,7 @@ impl IEventSubscription_Vtbl { let this = (*this).get_impl(); match IEventSubscription_Impl::SubscriptionID(this) { Ok(ok__) => { - core::ptr::write(pbstrsubscriptionid, core::mem::transmute(ok__)); + pbstrsubscriptionid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -773,7 +773,7 @@ impl IEventSubscription_Vtbl { let this = (*this).get_impl(); match IEventSubscription_Impl::SubscriptionName(this) { Ok(ok__) => { - core::ptr::write(pbstrsubscriptionname, core::mem::transmute(ok__)); + pbstrsubscriptionname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -789,7 +789,7 @@ impl IEventSubscription_Vtbl { let this = (*this).get_impl(); match IEventSubscription_Impl::PublisherID(this) { Ok(ok__) => { - core::ptr::write(pbstrpublisherid, core::mem::transmute(ok__)); + pbstrpublisherid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -805,7 +805,7 @@ impl IEventSubscription_Vtbl { let this = (*this).get_impl(); match IEventSubscription_Impl::EventClassID(this) { Ok(ok__) => { - core::ptr::write(pbstreventclassid, core::mem::transmute(ok__)); + pbstreventclassid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -821,7 +821,7 @@ impl IEventSubscription_Vtbl { let this = (*this).get_impl(); match IEventSubscription_Impl::MethodName(this) { Ok(ok__) => { - core::ptr::write(pbstrmethodname, core::mem::transmute(ok__)); + pbstrmethodname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -837,7 +837,7 @@ impl IEventSubscription_Vtbl { let this = (*this).get_impl(); match IEventSubscription_Impl::SubscriberCLSID(this) { Ok(ok__) => { - core::ptr::write(pbstrsubscriberclsid, core::mem::transmute(ok__)); + pbstrsubscriberclsid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -853,7 +853,7 @@ impl IEventSubscription_Vtbl { let this = (*this).get_impl(); match IEventSubscription_Impl::SubscriberInterface(this) { Ok(ok__) => { - core::ptr::write(ppsubscriberinterface, core::mem::transmute(ok__)); + ppsubscriberinterface.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -869,7 +869,7 @@ impl IEventSubscription_Vtbl { let this = (*this).get_impl(); match IEventSubscription_Impl::PerUser(this) { Ok(ok__) => { - core::ptr::write(pfperuser, core::mem::transmute(ok__)); + pfperuser.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -885,7 +885,7 @@ impl IEventSubscription_Vtbl { let this = (*this).get_impl(); match IEventSubscription_Impl::OwnerSID(this) { Ok(ok__) => { - core::ptr::write(pbstrownersid, core::mem::transmute(ok__)); + pbstrownersid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -901,7 +901,7 @@ impl IEventSubscription_Vtbl { let this = (*this).get_impl(); match IEventSubscription_Impl::Enabled(this) { Ok(ok__) => { - core::ptr::write(pfenabled, core::mem::transmute(ok__)); + pfenabled.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -917,7 +917,7 @@ impl IEventSubscription_Vtbl { let this = (*this).get_impl(); match IEventSubscription_Impl::Description(this) { Ok(ok__) => { - core::ptr::write(pbstrdescription, core::mem::transmute(ok__)); + pbstrdescription.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -933,7 +933,7 @@ impl IEventSubscription_Vtbl { let this = (*this).get_impl(); match IEventSubscription_Impl::MachineName(this) { Ok(ok__) => { - core::ptr::write(pbstrmachinename, core::mem::transmute(ok__)); + pbstrmachinename.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -949,7 +949,7 @@ impl IEventSubscription_Vtbl { let this = (*this).get_impl(); match IEventSubscription_Impl::GetPublisherProperty(this, core::mem::transmute(&bstrpropertyname)) { Ok(ok__) => { - core::ptr::write(propertyvalue, core::mem::transmute(ok__)); + propertyvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -970,7 +970,7 @@ impl IEventSubscription_Vtbl { let this = (*this).get_impl(); match IEventSubscription_Impl::GetPublisherPropertyCollection(this) { Ok(ok__) => { - core::ptr::write(collection, core::mem::transmute(ok__)); + collection.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -981,7 +981,7 @@ impl IEventSubscription_Vtbl { let this = (*this).get_impl(); match IEventSubscription_Impl::GetSubscriberProperty(this, core::mem::transmute(&bstrpropertyname)) { Ok(ok__) => { - core::ptr::write(propertyvalue, core::mem::transmute(ok__)); + propertyvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1002,7 +1002,7 @@ impl IEventSubscription_Vtbl { let this = (*this).get_impl(); match IEventSubscription_Impl::GetSubscriberPropertyCollection(this) { Ok(ok__) => { - core::ptr::write(collection, core::mem::transmute(ok__)); + collection.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1013,7 +1013,7 @@ impl IEventSubscription_Vtbl { let this = (*this).get_impl(); match IEventSubscription_Impl::InterfaceID(this) { Ok(ok__) => { - core::ptr::write(pbstrinterfaceid, core::mem::transmute(ok__)); + pbstrinterfaceid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1082,7 +1082,7 @@ impl IEventSystem_Vtbl { let this = (*this).get_impl(); match IEventSystem_Impl::Query(this, core::mem::transmute(&progid), core::mem::transmute(&querycriteria), core::mem::transmute_copy(&errorindex)) { Ok(ok__) => { - core::ptr::write(ppinterface, core::mem::transmute(ok__)); + ppinterface.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1098,7 +1098,7 @@ impl IEventSystem_Vtbl { let this = (*this).get_impl(); match IEventSystem_Impl::Remove(this, core::mem::transmute(&progid), core::mem::transmute(&querycriteria)) { Ok(ok__) => { - core::ptr::write(errorindex, core::mem::transmute(ok__)); + errorindex.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1109,7 +1109,7 @@ impl IEventSystem_Vtbl { let this = (*this).get_impl(); match IEventSystem_Impl::EventObjectChangeEventClassID(this) { Ok(ok__) => { - core::ptr::write(pbstreventclassid, core::mem::transmute(ok__)); + pbstreventclassid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1120,7 +1120,7 @@ impl IEventSystem_Vtbl { let this = (*this).get_impl(); match IEventSystem_Impl::QueryS(this, core::mem::transmute(&progid), core::mem::transmute(&querycriteria)) { Ok(ok__) => { - core::ptr::write(ppinterface, core::mem::transmute(ok__)); + ppinterface.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1184,7 +1184,7 @@ impl IMultiInterfaceEventControl_Vtbl { let this = (*this).get_impl(); match IMultiInterfaceEventControl_Impl::GetSubscriptions(this, core::mem::transmute_copy(&eventiid), core::mem::transmute(&bstrmethodname), core::mem::transmute(&optionalcriteria), core::mem::transmute_copy(&optionalerrorindex)) { Ok(ok__) => { - core::ptr::write(ppcollection, core::mem::transmute(ok__)); + ppcollection.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1195,7 +1195,7 @@ impl IMultiInterfaceEventControl_Vtbl { let this = (*this).get_impl(); match IMultiInterfaceEventControl_Impl::SetDefaultQuery(this, core::mem::transmute_copy(&eventiid), core::mem::transmute(&bstrmethodname), core::mem::transmute(&bstrcriteria)) { Ok(ok__) => { - core::ptr::write(errorindex, core::mem::transmute(ok__)); + errorindex.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1206,7 +1206,7 @@ impl IMultiInterfaceEventControl_Vtbl { let this = (*this).get_impl(); match IMultiInterfaceEventControl_Impl::AllowInprocActivation(this) { Ok(ok__) => { - core::ptr::write(pfallowinprocactivation, core::mem::transmute(ok__)); + pfallowinprocactivation.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1222,7 +1222,7 @@ impl IMultiInterfaceEventControl_Vtbl { let this = (*this).get_impl(); match IMultiInterfaceEventControl_Impl::FireInParallel(this) { Ok(ok__) => { - core::ptr::write(pffireinparallel, core::mem::transmute(ok__)); + pffireinparallel.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/Win32/System/Com/Marshal/impl.rs b/crates/libs/windows/src/Windows/Win32/System/Com/Marshal/impl.rs index 213c2d2975..6e7865298d 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Com/Marshal/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Com/Marshal/impl.rs @@ -14,7 +14,7 @@ impl IMarshal_Vtbl { let this = (*this).get_impl(); match IMarshal_Impl::GetUnmarshalClass(this, core::mem::transmute_copy(&riid), core::mem::transmute_copy(&pv), core::mem::transmute_copy(&dwdestcontext), core::mem::transmute_copy(&pvdestcontext), core::mem::transmute_copy(&mshlflags)) { Ok(ok__) => { - core::ptr::write(pcid, core::mem::transmute(ok__)); + pcid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -25,7 +25,7 @@ impl IMarshal_Vtbl { let this = (*this).get_impl(); match IMarshal_Impl::GetMarshalSizeMax(this, core::mem::transmute_copy(&riid), core::mem::transmute_copy(&pv), core::mem::transmute_copy(&dwdestcontext), core::mem::transmute_copy(&pvdestcontext), core::mem::transmute_copy(&mshlflags)) { Ok(ok__) => { - core::ptr::write(psize, core::mem::transmute(ok__)); + psize.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -86,7 +86,7 @@ impl IMarshalingStream_Vtbl { let this = (*this).get_impl(); match IMarshalingStream_Impl::GetMarshalingContextAttribute(this, core::mem::transmute_copy(&attribute)) { Ok(ok__) => { - core::ptr::write(pattributevalue, core::mem::transmute(ok__)); + pattributevalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/Win32/System/Com/StructuredStorage/impl.rs b/crates/libs/windows/src/Windows/Win32/System/Com/StructuredStorage/impl.rs index 9b16f0185d..2679ab1ce5 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Com/StructuredStorage/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Com/StructuredStorage/impl.rs @@ -61,7 +61,7 @@ impl IEnumSTATPROPSETSTG_Vtbl { let this = (*this).get_impl(); match IEnumSTATPROPSETSTG_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -111,7 +111,7 @@ impl IEnumSTATPROPSTG_Vtbl { let this = (*this).get_impl(); match IEnumSTATPROPSTG_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -158,7 +158,7 @@ impl IEnumSTATSTG_Vtbl { let this = (*this).get_impl(); match IEnumSTATSTG_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -190,7 +190,7 @@ impl IFillLockBytes_Vtbl { let this = (*this).get_impl(); match IFillLockBytes_Impl::FillAppend(this, core::mem::transmute_copy(&pv), core::mem::transmute_copy(&cb)) { Ok(ok__) => { - core::ptr::write(pcbwritten, core::mem::transmute(ok__)); + pcbwritten.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -201,7 +201,7 @@ impl IFillLockBytes_Vtbl { let this = (*this).get_impl(); match IFillLockBytes_Impl::FillAt(this, core::mem::transmute_copy(&uloffset), core::mem::transmute_copy(&pv), core::mem::transmute_copy(&cb)) { Ok(ok__) => { - core::ptr::write(pcbwritten, core::mem::transmute(ok__)); + pcbwritten.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -476,7 +476,7 @@ impl IPropertyBag2_Vtbl { let this = (*this).get_impl(); match IPropertyBag2_Impl::CountProperties(this) { Ok(ok__) => { - core::ptr::write(pcproperties, core::mem::transmute(ok__)); + pcproperties.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -519,7 +519,7 @@ impl IPropertySetStorage_Vtbl { let this = (*this).get_impl(); match IPropertySetStorage_Impl::Create(this, core::mem::transmute_copy(&rfmtid), core::mem::transmute_copy(&pclsid), core::mem::transmute_copy(&grfflags), core::mem::transmute_copy(&grfmode)) { Ok(ok__) => { - core::ptr::write(ppprstg, core::mem::transmute(ok__)); + ppprstg.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -530,7 +530,7 @@ impl IPropertySetStorage_Vtbl { let this = (*this).get_impl(); match IPropertySetStorage_Impl::Open(this, core::mem::transmute_copy(&rfmtid), core::mem::transmute_copy(&grfmode)) { Ok(ok__) => { - core::ptr::write(ppprstg, core::mem::transmute(ok__)); + ppprstg.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -546,7 +546,7 @@ impl IPropertySetStorage_Vtbl { let this = (*this).get_impl(); match IPropertySetStorage_Impl::Enum(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -626,7 +626,7 @@ impl IPropertyStorage_Vtbl { let this = (*this).get_impl(); match IPropertyStorage_Impl::Enum(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -709,7 +709,7 @@ impl IStorage_Vtbl { let this = (*this).get_impl(); match IStorage_Impl::CreateStream(this, core::mem::transmute(&pwcsname), core::mem::transmute_copy(&grfmode), core::mem::transmute_copy(&reserved1), core::mem::transmute_copy(&reserved2)) { Ok(ok__) => { - core::ptr::write(ppstm, core::mem::transmute(ok__)); + ppstm.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -720,7 +720,7 @@ impl IStorage_Vtbl { let this = (*this).get_impl(); match IStorage_Impl::OpenStream(this, core::mem::transmute(&pwcsname), core::mem::transmute_copy(&reserved1), core::mem::transmute_copy(&grfmode), core::mem::transmute_copy(&reserved2)) { Ok(ok__) => { - core::ptr::write(ppstm, core::mem::transmute(ok__)); + ppstm.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -731,7 +731,7 @@ impl IStorage_Vtbl { let this = (*this).get_impl(); match IStorage_Impl::CreateStorage(this, core::mem::transmute(&pwcsname), core::mem::transmute_copy(&grfmode), core::mem::transmute_copy(&reserved1), core::mem::transmute_copy(&reserved2)) { Ok(ok__) => { - core::ptr::write(ppstg, core::mem::transmute(ok__)); + ppstg.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -742,7 +742,7 @@ impl IStorage_Vtbl { let this = (*this).get_impl(); match IStorage_Impl::OpenStorage(this, core::mem::transmute(&pwcsname), windows_core::from_raw_borrowed(&pstgpriority), core::mem::transmute_copy(&grfmode), core::mem::transmute_copy(&snbexclude), core::mem::transmute_copy(&reserved)) { Ok(ok__) => { - core::ptr::write(ppstg, core::mem::transmute(ok__)); + ppstg.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -773,7 +773,7 @@ impl IStorage_Vtbl { let this = (*this).get_impl(); match IStorage_Impl::EnumElements(this, core::mem::transmute_copy(&reserved1), core::mem::transmute_copy(&reserved2), core::mem::transmute_copy(&reserved3)) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/Win32/System/Com/Urlmon/impl.rs b/crates/libs/windows/src/Windows/Win32/System/Com/Urlmon/impl.rs index 040551caed..b144dca081 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Com/Urlmon/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Com/Urlmon/impl.rs @@ -9,7 +9,7 @@ impl IBindCallbackRedirect_Vtbl { let this = (*this).get_impl(); match IBindCallbackRedirect_Impl::Redirect(this, core::mem::transmute(&lpcurl)) { Ok(ok__) => { - core::ptr::write(vbcancel, core::mem::transmute(ok__)); + vbcancel.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -32,7 +32,7 @@ impl IBindHttpSecurity_Vtbl { let this = (*this).get_impl(); match IBindHttpSecurity_Impl::GetIgnoreCertMask(this) { Ok(ok__) => { - core::ptr::write(pdwignorecertmask, core::mem::transmute(ok__)); + pdwignorecertmask.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -55,7 +55,7 @@ impl IBindProtocol_Vtbl { let this = (*this).get_impl(); match IBindProtocol_Impl::CreateBinding(this, core::mem::transmute(&szurl), windows_core::from_raw_borrowed(&pbc)) { Ok(ok__) => { - core::ptr::write(ppb, core::mem::transmute(ok__)); + ppb.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -79,7 +79,7 @@ impl ICatalogFileInfo_Vtbl { let this = (*this).get_impl(); match ICatalogFileInfo_Impl::GetCatalogFile(this) { Ok(ok__) => { - core::ptr::write(ppszcatalogfile, core::mem::transmute(ok__)); + ppszcatalogfile.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -163,7 +163,7 @@ impl IEncodingFilterFactory_Vtbl { let this = (*this).get_impl(); match IEncodingFilterFactory_Impl::FindBestFilter(this, core::mem::transmute(&pwzcodein), core::mem::transmute(&pwzcodeout), core::mem::transmute(&info)) { Ok(ok__) => { - core::ptr::write(ppdf, core::mem::transmute(ok__)); + ppdf.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -174,7 +174,7 @@ impl IEncodingFilterFactory_Vtbl { let this = (*this).get_impl(); match IEncodingFilterFactory_Impl::GetDefaultFilter(this, core::mem::transmute(&pwzcodein), core::mem::transmute(&pwzcodeout)) { Ok(ok__) => { - core::ptr::write(ppdf, core::mem::transmute(ok__)); + ppdf.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -201,7 +201,7 @@ impl IGetBindHandle_Vtbl { let this = (*this).get_impl(); match IGetBindHandle_Impl::GetBindHandle(this, core::mem::transmute_copy(&enumrequestedhandle)) { Ok(ok__) => { - core::ptr::write(prethandle, core::mem::transmute(ok__)); + prethandle.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -225,7 +225,7 @@ impl IHttpNegotiate_Vtbl { let this = (*this).get_impl(); match IHttpNegotiate_Impl::BeginningTransaction(this, core::mem::transmute(&szurl), core::mem::transmute(&szheaders), core::mem::transmute_copy(&dwreserved)) { Ok(ok__) => { - core::ptr::write(pszadditionalheaders, core::mem::transmute(ok__)); + pszadditionalheaders.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -236,7 +236,7 @@ impl IHttpNegotiate_Vtbl { let this = (*this).get_impl(); match IHttpNegotiate_Impl::OnResponse(this, core::mem::transmute_copy(&dwresponsecode), core::mem::transmute(&szresponseheaders), core::mem::transmute(&szrequestheaders)) { Ok(ok__) => { - core::ptr::write(pszadditionalrequestheaders, core::mem::transmute(ok__)); + pszadditionalrequestheaders.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -417,7 +417,7 @@ impl IInternetPriority_Vtbl { let this = (*this).get_impl(); match IInternetPriority_Impl::GetPriority(this) { Ok(ok__) => { - core::ptr::write(pnpriority, core::mem::transmute(ok__)); + pnpriority.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -452,7 +452,7 @@ impl IInternetProtocol_Vtbl { let this = (*this).get_impl(); match IInternetProtocol_Impl::Seek(this, core::mem::transmute_copy(&dlibmove), core::mem::transmute_copy(&dworigin)) { Ok(ok__) => { - core::ptr::write(plibnewposition, core::mem::transmute(ok__)); + plibnewposition.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -691,7 +691,7 @@ impl IInternetSecurityManager_Vtbl { let this = (*this).get_impl(); match IInternetSecurityManager_Impl::GetSecuritySite(this) { Ok(ok__) => { - core::ptr::write(ppsite, core::mem::transmute(ok__)); + ppsite.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -813,7 +813,7 @@ impl IInternetSecurityMgrSite_Vtbl { let this = (*this).get_impl(); match IInternetSecurityMgrSite_Impl::GetWindow(this) { Ok(ok__) => { - core::ptr::write(phwnd, core::mem::transmute(ok__)); + phwnd.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -990,7 +990,7 @@ impl IInternetZoneManager_Vtbl { let this = (*this).get_impl(); match IInternetZoneManager_Impl::GetZoneAt(this, core::mem::transmute_copy(&dwenum), core::mem::transmute_copy(&dwindex)) { Ok(ok__) => { - core::ptr::write(pdwzone, core::mem::transmute(ok__)); + pdwzone.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1127,7 +1127,7 @@ impl IPersistMoniker_Vtbl { let this = (*this).get_impl(); match IPersistMoniker_Impl::GetClassID(this) { Ok(ok__) => { - core::ptr::write(pclassid, core::mem::transmute(ok__)); + pclassid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1158,7 +1158,7 @@ impl IPersistMoniker_Vtbl { let this = (*this).get_impl(); match IPersistMoniker_Impl::GetCurMoniker(this) { Ok(ok__) => { - core::ptr::write(ppimkname, core::mem::transmute(ok__)); + ppimkname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1234,7 +1234,7 @@ impl IUriBuilderFactory_Vtbl { let this = (*this).get_impl(); match IUriBuilderFactory_Impl::CreateIUriBuilder(this, core::mem::transmute_copy(&dwflags), core::mem::transmute_copy(&dwreserved)) { Ok(ok__) => { - core::ptr::write(ppiuribuilder, core::mem::transmute(ok__)); + ppiuribuilder.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1245,7 +1245,7 @@ impl IUriBuilderFactory_Vtbl { let this = (*this).get_impl(); match IUriBuilderFactory_Impl::CreateInitializedIUriBuilder(this, core::mem::transmute_copy(&dwflags), core::mem::transmute_copy(&dwreserved)) { Ok(ok__) => { - core::ptr::write(ppiuribuilder, core::mem::transmute(ok__)); + ppiuribuilder.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1272,7 +1272,7 @@ impl IUriContainer_Vtbl { let this = (*this).get_impl(); match IUriContainer_Impl::GetIUri(this) { Ok(ok__) => { - core::ptr::write(ppiuri, core::mem::transmute(ok__)); + ppiuri.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1407,7 +1407,7 @@ impl IWindowForBindingUI_Vtbl { let this = (*this).get_impl(); match IWindowForBindingUI_Impl::GetWindow(this, core::mem::transmute_copy(&rguidreason)) { Ok(ok__) => { - core::ptr::write(phwnd, core::mem::transmute(ok__)); + phwnd.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1449,7 +1449,7 @@ impl IZoneIdentifier_Vtbl { let this = (*this).get_impl(); match IZoneIdentifier_Impl::GetId(this) { Ok(ok__) => { - core::ptr::write(pdwzone, core::mem::transmute(ok__)); + pdwzone.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1492,7 +1492,7 @@ impl IZoneIdentifier2_Vtbl { let this = (*this).get_impl(); match IZoneIdentifier2_Impl::GetLastWriterPackageFamilyName(this) { Ok(ok__) => { - core::ptr::write(packagefamilyname, core::mem::transmute(ok__)); + packagefamilyname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1513,7 +1513,7 @@ impl IZoneIdentifier2_Vtbl { let this = (*this).get_impl(); match IZoneIdentifier2_Impl::GetAppZoneId(this) { Ok(ok__) => { - core::ptr::write(zone, core::mem::transmute(ok__)); + zone.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/Win32/System/Com/impl.rs b/crates/libs/windows/src/Windows/Win32/System/Com/impl.rs index 2fd0af8851..7f98bade78 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Com/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Com/impl.rs @@ -330,7 +330,7 @@ impl IActivationFilter_Vtbl { let this = (*this).get_impl(); match IActivationFilter_Impl::HandleActivation(this, core::mem::transmute_copy(&dwactivationtype), core::mem::transmute_copy(&rclsid)) { Ok(ok__) => { - core::ptr::write(preplacementclsid, core::mem::transmute(ok__)); + preplacementclsid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -500,7 +500,7 @@ impl IAsyncManager_Vtbl { let this = (*this).get_impl(); match IAsyncManager_Impl::GetState(this) { Ok(ok__) => { - core::ptr::write(pulstateflags, core::mem::transmute(ok__)); + pulstateflags.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -630,7 +630,7 @@ impl IBindCtx_Vtbl { let this = (*this).get_impl(); match IBindCtx_Impl::GetRunningObjectTable(this) { Ok(ok__) => { - core::ptr::write(pprot, core::mem::transmute(ok__)); + pprot.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -646,7 +646,7 @@ impl IBindCtx_Vtbl { let this = (*this).get_impl(); match IBindCtx_Impl::GetObjectParam(this, core::mem::transmute(&pszkey)) { Ok(ok__) => { - core::ptr::write(ppunk, core::mem::transmute(ok__)); + ppunk.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -657,7 +657,7 @@ impl IBindCtx_Vtbl { let this = (*this).get_impl(); match IBindCtx_Impl::EnumObjectParam(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -746,7 +746,7 @@ impl IBindStatusCallback_Vtbl { let this = (*this).get_impl(); match IBindStatusCallback_Impl::GetPriority(this) { Ok(ok__) => { - core::ptr::write(pnpriority, core::mem::transmute(ok__)); + pnpriority.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -854,7 +854,7 @@ impl IBinding_Vtbl { let this = (*this).get_impl(); match IBinding_Impl::GetPriority(this) { Ok(ok__) => { - core::ptr::write(pnpriority, core::mem::transmute(ok__)); + pnpriority.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -913,7 +913,7 @@ impl ICallFactory_Vtbl { let this = (*this).get_impl(); match ICallFactory_Impl::CreateCall(this, core::mem::transmute_copy(&riid), windows_core::from_raw_borrowed(&pctrlunk), core::mem::transmute_copy(&riid2)) { Ok(ok__) => { - core::ptr::write(ppv, core::mem::transmute(ok__)); + ppv.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -968,7 +968,7 @@ impl ICatInformation_Vtbl { let this = (*this).get_impl(); match ICatInformation_Impl::EnumCategories(this, core::mem::transmute_copy(&lcid)) { Ok(ok__) => { - core::ptr::write(ppenumcategoryinfo, core::mem::transmute(ok__)); + ppenumcategoryinfo.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -979,7 +979,7 @@ impl ICatInformation_Vtbl { let this = (*this).get_impl(); match ICatInformation_Impl::GetCategoryDesc(this, core::mem::transmute_copy(&rcatid), core::mem::transmute_copy(&lcid)) { Ok(ok__) => { - core::ptr::write(pszdesc, core::mem::transmute(ok__)); + pszdesc.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -990,7 +990,7 @@ impl ICatInformation_Vtbl { let this = (*this).get_impl(); match ICatInformation_Impl::EnumClassesOfCategories(this, core::mem::transmute_copy(&cimplemented), core::mem::transmute_copy(&rgcatidimpl), core::mem::transmute_copy(&crequired), core::mem::transmute_copy(&rgcatidreq)) { Ok(ok__) => { - core::ptr::write(ppenumclsid, core::mem::transmute(ok__)); + ppenumclsid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1006,7 +1006,7 @@ impl ICatInformation_Vtbl { let this = (*this).get_impl(); match ICatInformation_Impl::EnumImplCategoriesOfClass(this, core::mem::transmute_copy(&rclsid)) { Ok(ok__) => { - core::ptr::write(ppenumcatid, core::mem::transmute(ok__)); + ppenumcatid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1017,7 +1017,7 @@ impl ICatInformation_Vtbl { let this = (*this).get_impl(); match ICatInformation_Impl::EnumReqCategoriesOfClass(this, core::mem::transmute_copy(&rclsid)) { Ok(ok__) => { - core::ptr::write(ppenumcatid, core::mem::transmute(ok__)); + ppenumcatid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1214,7 +1214,7 @@ impl IClientSecurity_Vtbl { let this = (*this).get_impl(); match IClientSecurity_Impl::CopyProxy(this, windows_core::from_raw_borrowed(&pproxy)) { Ok(ok__) => { - core::ptr::write(ppcopy, core::mem::transmute(ok__)); + ppcopy.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1245,7 +1245,7 @@ impl IComThreadingInfo_Vtbl { let this = (*this).get_impl(); match IComThreadingInfo_Impl::GetCurrentApartmentType(this) { Ok(ok__) => { - core::ptr::write(papttype, core::mem::transmute(ok__)); + papttype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1256,7 +1256,7 @@ impl IComThreadingInfo_Vtbl { let this = (*this).get_impl(); match IComThreadingInfo_Impl::GetCurrentThreadType(this) { Ok(ok__) => { - core::ptr::write(pthreadtype, core::mem::transmute(ok__)); + pthreadtype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1267,7 +1267,7 @@ impl IComThreadingInfo_Vtbl { let this = (*this).get_impl(); match IComThreadingInfo_Impl::GetCurrentLogicalThreadId(this) { Ok(ok__) => { - core::ptr::write(pguidlogicalthreadid, core::mem::transmute(ok__)); + pguidlogicalthreadid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1305,7 +1305,7 @@ impl IConnectionPoint_Vtbl { let this = (*this).get_impl(); match IConnectionPoint_Impl::GetConnectionInterface(this) { Ok(ok__) => { - core::ptr::write(piid, core::mem::transmute(ok__)); + piid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1316,7 +1316,7 @@ impl IConnectionPoint_Vtbl { let this = (*this).get_impl(); match IConnectionPoint_Impl::GetConnectionPointContainer(this) { Ok(ok__) => { - core::ptr::write(ppcpc, core::mem::transmute(ok__)); + ppcpc.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1327,7 +1327,7 @@ impl IConnectionPoint_Vtbl { let this = (*this).get_impl(); match IConnectionPoint_Impl::Advise(this, windows_core::from_raw_borrowed(&punksink)) { Ok(ok__) => { - core::ptr::write(pdwcookie, core::mem::transmute(ok__)); + pdwcookie.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1343,7 +1343,7 @@ impl IConnectionPoint_Vtbl { let this = (*this).get_impl(); match IConnectionPoint_Impl::EnumConnections(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1374,7 +1374,7 @@ impl IConnectionPointContainer_Vtbl { let this = (*this).get_impl(); match IConnectionPointContainer_Impl::EnumConnectionPoints(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1385,7 +1385,7 @@ impl IConnectionPointContainer_Vtbl { let this = (*this).get_impl(); match IConnectionPointContainer_Impl::FindConnectionPoint(this, core::mem::transmute_copy(&riid)) { Ok(ok__) => { - core::ptr::write(ppcp, core::mem::transmute(ok__)); + ppcp.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1430,7 +1430,7 @@ impl IContext_Vtbl { let this = (*this).get_impl(); match IContext_Impl::EnumContextProps(this) { Ok(ok__) => { - core::ptr::write(ppenumcontextprops, core::mem::transmute(ok__)); + ppenumcontextprops.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1479,7 +1479,7 @@ impl IDataAdviseHolder_Vtbl { let this = (*this).get_impl(); match IDataAdviseHolder_Impl::Advise(this, windows_core::from_raw_borrowed(&pdataobject), core::mem::transmute_copy(&pfetc), core::mem::transmute_copy(&advf), windows_core::from_raw_borrowed(&padvise)) { Ok(ok__) => { - core::ptr::write(pdwconnection, core::mem::transmute(ok__)); + pdwconnection.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1495,7 +1495,7 @@ impl IDataAdviseHolder_Vtbl { let this = (*this).get_impl(); match IDataAdviseHolder_Impl::EnumAdvise(this) { Ok(ok__) => { - core::ptr::write(ppenumadvise, core::mem::transmute(ok__)); + ppenumadvise.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1540,7 +1540,7 @@ impl IDataObject_Vtbl { let this = (*this).get_impl(); match IDataObject_Impl::GetData(this, core::mem::transmute_copy(&pformatetcin)) { Ok(ok__) => { - core::ptr::write(pmedium, core::mem::transmute(ok__)); + pmedium.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1571,7 +1571,7 @@ impl IDataObject_Vtbl { let this = (*this).get_impl(); match IDataObject_Impl::EnumFormatEtc(this, core::mem::transmute_copy(&dwdirection)) { Ok(ok__) => { - core::ptr::write(ppenumformatetc, core::mem::transmute(ok__)); + ppenumformatetc.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1582,7 +1582,7 @@ impl IDataObject_Vtbl { let this = (*this).get_impl(); match IDataObject_Impl::DAdvise(this, core::mem::transmute_copy(&pformatetc), core::mem::transmute_copy(&advf), windows_core::from_raw_borrowed(&padvsink)) { Ok(ok__) => { - core::ptr::write(pdwconnection, core::mem::transmute(ok__)); + pdwconnection.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1598,7 +1598,7 @@ impl IDataObject_Vtbl { let this = (*this).get_impl(); match IDataObject_Impl::EnumDAdvise(this) { Ok(ok__) => { - core::ptr::write(ppenumadvise, core::mem::transmute(ok__)); + ppenumadvise.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1635,7 +1635,7 @@ impl IDispatch_Vtbl { let this = (*this).get_impl(); match IDispatch_Impl::GetTypeInfoCount(this) { Ok(ok__) => { - core::ptr::write(pctinfo, core::mem::transmute(ok__)); + pctinfo.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1646,7 +1646,7 @@ impl IDispatch_Vtbl { let this = (*this).get_impl(); match IDispatch_Impl::GetTypeInfo(this, core::mem::transmute_copy(&itinfo), core::mem::transmute_copy(&lcid)) { Ok(ok__) => { - core::ptr::write(pptinfo, core::mem::transmute(ok__)); + pptinfo.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1703,7 +1703,7 @@ impl IEnumCATEGORYINFO_Vtbl { let this = (*this).get_impl(); match IEnumCATEGORYINFO_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1750,7 +1750,7 @@ impl IEnumConnectionPoints_Vtbl { let this = (*this).get_impl(); match IEnumConnectionPoints_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1797,7 +1797,7 @@ impl IEnumConnections_Vtbl { let this = (*this).get_impl(); match IEnumConnections_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1845,7 +1845,7 @@ impl IEnumContextProps_Vtbl { let this = (*this).get_impl(); match IEnumContextProps_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppenumcontextprops, core::mem::transmute(ok__)); + ppenumcontextprops.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1856,7 +1856,7 @@ impl IEnumContextProps_Vtbl { let this = (*this).get_impl(); match IEnumContextProps_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(pcelt, core::mem::transmute(ok__)); + pcelt.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1904,7 +1904,7 @@ impl IEnumFORMATETC_Vtbl { let this = (*this).get_impl(); match IEnumFORMATETC_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1951,7 +1951,7 @@ impl IEnumGUID_Vtbl { let this = (*this).get_impl(); match IEnumGUID_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1998,7 +1998,7 @@ impl IEnumMoniker_Vtbl { let this = (*this).get_impl(); match IEnumMoniker_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2045,7 +2045,7 @@ impl IEnumSTATDATA_Vtbl { let this = (*this).get_impl(); match IEnumSTATDATA_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2092,7 +2092,7 @@ impl IEnumString_Vtbl { let this = (*this).get_impl(); match IEnumString_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2139,7 +2139,7 @@ impl IEnumUnknown_Vtbl { let this = (*this).get_impl(); match IEnumUnknown_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2172,7 +2172,7 @@ impl IErrorInfo_Vtbl { let this = (*this).get_impl(); match IErrorInfo_Impl::GetGUID(this) { Ok(ok__) => { - core::ptr::write(pguid, core::mem::transmute(ok__)); + pguid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2183,7 +2183,7 @@ impl IErrorInfo_Vtbl { let this = (*this).get_impl(); match IErrorInfo_Impl::GetSource(this) { Ok(ok__) => { - core::ptr::write(pbstrsource, core::mem::transmute(ok__)); + pbstrsource.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2194,7 +2194,7 @@ impl IErrorInfo_Vtbl { let this = (*this).get_impl(); match IErrorInfo_Impl::GetDescription(this) { Ok(ok__) => { - core::ptr::write(pbstrdescription, core::mem::transmute(ok__)); + pbstrdescription.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2205,7 +2205,7 @@ impl IErrorInfo_Vtbl { let this = (*this).get_impl(); match IErrorInfo_Impl::GetHelpFile(this) { Ok(ok__) => { - core::ptr::write(pbstrhelpfile, core::mem::transmute(ok__)); + pbstrhelpfile.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2216,7 +2216,7 @@ impl IErrorInfo_Vtbl { let this = (*this).get_impl(); match IErrorInfo_Impl::GetHelpContext(this) { Ok(ok__) => { - core::ptr::write(pdwhelpcontext, core::mem::transmute(ok__)); + pdwhelpcontext.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2319,7 +2319,7 @@ impl IGlobalInterfaceTable_Vtbl { let this = (*this).get_impl(); match IGlobalInterfaceTable_Impl::RegisterInterfaceInGlobal(this, windows_core::from_raw_borrowed(&punk), core::mem::transmute_copy(&riid)) { Ok(ok__) => { - core::ptr::write(pdwcookie, core::mem::transmute(ok__)); + pdwcookie.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2363,7 +2363,7 @@ impl IGlobalOptions_Vtbl { let this = (*this).get_impl(); match IGlobalOptions_Impl::Query(this, core::mem::transmute_copy(&dwproperty)) { Ok(ok__) => { - core::ptr::write(pdwvalue, core::mem::transmute(ok__)); + pdwvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2446,7 +2446,7 @@ impl IMachineGlobalObjectTable_Vtbl { let this = (*this).get_impl(); match IMachineGlobalObjectTable_Impl::RegisterObject(this, core::mem::transmute_copy(&clsid), core::mem::transmute(&identifier), windows_core::from_raw_borrowed(&object)) { Ok(ok__) => { - core::ptr::write(token, core::mem::transmute(ok__)); + token.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2665,7 +2665,7 @@ impl IMoniker_Vtbl { let this = (*this).get_impl(); match IMoniker_Impl::ComposeWith(this, windows_core::from_raw_borrowed(&pmkright), core::mem::transmute_copy(&fonlyifnotgeneric)) { Ok(ok__) => { - core::ptr::write(ppmkcomposite, core::mem::transmute(ok__)); + ppmkcomposite.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2676,7 +2676,7 @@ impl IMoniker_Vtbl { let this = (*this).get_impl(); match IMoniker_Impl::Enum(this, core::mem::transmute_copy(&fforward)) { Ok(ok__) => { - core::ptr::write(ppenummoniker, core::mem::transmute(ok__)); + ppenummoniker.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2692,7 +2692,7 @@ impl IMoniker_Vtbl { let this = (*this).get_impl(); match IMoniker_Impl::Hash(this) { Ok(ok__) => { - core::ptr::write(pdwhash, core::mem::transmute(ok__)); + pdwhash.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2708,7 +2708,7 @@ impl IMoniker_Vtbl { let this = (*this).get_impl(); match IMoniker_Impl::GetTimeOfLastChange(this, windows_core::from_raw_borrowed(&pbc), windows_core::from_raw_borrowed(&pmktoleft)) { Ok(ok__) => { - core::ptr::write(pfiletime, core::mem::transmute(ok__)); + pfiletime.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2719,7 +2719,7 @@ impl IMoniker_Vtbl { let this = (*this).get_impl(); match IMoniker_Impl::Inverse(this) { Ok(ok__) => { - core::ptr::write(ppmk, core::mem::transmute(ok__)); + ppmk.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2730,7 +2730,7 @@ impl IMoniker_Vtbl { let this = (*this).get_impl(); match IMoniker_Impl::CommonPrefixWith(this, windows_core::from_raw_borrowed(&pmkother)) { Ok(ok__) => { - core::ptr::write(ppmkprefix, core::mem::transmute(ok__)); + ppmkprefix.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2741,7 +2741,7 @@ impl IMoniker_Vtbl { let this = (*this).get_impl(); match IMoniker_Impl::RelativePathTo(this, windows_core::from_raw_borrowed(&pmkother)) { Ok(ok__) => { - core::ptr::write(ppmkrelpath, core::mem::transmute(ok__)); + ppmkrelpath.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2752,7 +2752,7 @@ impl IMoniker_Vtbl { let this = (*this).get_impl(); match IMoniker_Impl::GetDisplayName(this, windows_core::from_raw_borrowed(&pbc), windows_core::from_raw_borrowed(&pmktoleft)) { Ok(ok__) => { - core::ptr::write(ppszdisplayname, core::mem::transmute(ok__)); + ppszdisplayname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2768,7 +2768,7 @@ impl IMoniker_Vtbl { let this = (*this).get_impl(); match IMoniker_Impl::IsSystemMoniker(this) { Ok(ok__) => { - core::ptr::write(pdwmksys, core::mem::transmute(ok__)); + pdwmksys.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2868,7 +2868,7 @@ impl IPSFactoryBuffer_Vtbl { let this = (*this).get_impl(); match IPSFactoryBuffer_Impl::CreateStub(this, core::mem::transmute_copy(&riid), windows_core::from_raw_borrowed(&punkserver)) { Ok(ok__) => { - core::ptr::write(ppstub, core::mem::transmute(ok__)); + ppstub.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2895,7 +2895,7 @@ impl IPersist_Vtbl { let this = (*this).get_impl(); match IPersist_Impl::GetClassID(this) { Ok(ok__) => { - core::ptr::write(pclassid, core::mem::transmute(ok__)); + pclassid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2942,7 +2942,7 @@ impl IPersistFile_Vtbl { let this = (*this).get_impl(); match IPersistFile_Impl::GetCurFile(this) { Ok(ok__) => { - core::ptr::write(ppszfilename, core::mem::transmute(ok__)); + ppszfilename.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2991,7 +2991,7 @@ impl IPersistMemory_Vtbl { let this = (*this).get_impl(); match IPersistMemory_Impl::GetSizeMax(this) { Ok(ok__) => { - core::ptr::write(pcbsize, core::mem::transmute(ok__)); + pcbsize.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3044,7 +3044,7 @@ impl IPersistStream_Vtbl { let this = (*this).get_impl(); match IPersistStream_Impl::GetSizeMax(this) { Ok(ok__) => { - core::ptr::write(pcbsize, core::mem::transmute(ok__)); + pcbsize.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3092,7 +3092,7 @@ impl IPersistStreamInit_Vtbl { let this = (*this).get_impl(); match IPersistStreamInit_Impl::GetSizeMax(this) { Ok(ok__) => { - core::ptr::write(pcbsize, core::mem::transmute(ok__)); + pcbsize.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3339,7 +3339,7 @@ impl IRpcChannelBuffer2_Vtbl { let this = (*this).get_impl(); match IRpcChannelBuffer2_Impl::GetProtocolVersion(this) { Ok(ok__) => { - core::ptr::write(pdwversion, core::mem::transmute(ok__)); + pdwversion.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3393,7 +3393,7 @@ impl IRpcChannelBuffer3_Vtbl { let this = (*this).get_impl(); match IRpcChannelBuffer3_Impl::GetState(this, core::mem::transmute_copy(&pmsg)) { Ok(ok__) => { - core::ptr::write(pstate, core::mem::transmute(ok__)); + pstate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3431,7 +3431,7 @@ impl IRpcHelper_Vtbl { let this = (*this).get_impl(); match IRpcHelper_Impl::GetDCOMProtocolVersion(this) { Ok(ok__) => { - core::ptr::write(pcomversion, core::mem::transmute(ok__)); + pcomversion.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3442,7 +3442,7 @@ impl IRpcHelper_Vtbl { let this = (*this).get_impl(); match IRpcHelper_Impl::GetIIDFromOBJREF(this, core::mem::transmute_copy(&pobjref)) { Ok(ok__) => { - core::ptr::write(piid, core::mem::transmute(ok__)); + piid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3475,7 +3475,7 @@ impl IRpcOptions_Vtbl { let this = (*this).get_impl(); match IRpcOptions_Impl::Query(this, windows_core::from_raw_borrowed(&pprx), core::mem::transmute_copy(&dwproperty)) { Ok(ok__) => { - core::ptr::write(pdwvalue, core::mem::transmute(ok__)); + pdwvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3608,7 +3608,7 @@ impl IRunnableObject_Vtbl { let this = (*this).get_impl(); match IRunnableObject_Impl::GetRunningClass(this) { Ok(ok__) => { - core::ptr::write(lpclsid, core::mem::transmute(ok__)); + lpclsid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3664,7 +3664,7 @@ impl IRunningObjectTable_Vtbl { let this = (*this).get_impl(); match IRunningObjectTable_Impl::Register(this, core::mem::transmute_copy(&grfflags), windows_core::from_raw_borrowed(&punkobject), windows_core::from_raw_borrowed(&pmkobjectname)) { Ok(ok__) => { - core::ptr::write(pdwregister, core::mem::transmute(ok__)); + pdwregister.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3685,7 +3685,7 @@ impl IRunningObjectTable_Vtbl { let this = (*this).get_impl(); match IRunningObjectTable_Impl::GetObject(this, windows_core::from_raw_borrowed(&pmkobjectname)) { Ok(ok__) => { - core::ptr::write(ppunkobject, core::mem::transmute(ok__)); + ppunkobject.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3701,7 +3701,7 @@ impl IRunningObjectTable_Vtbl { let this = (*this).get_impl(); match IRunningObjectTable_Impl::GetTimeOfLastChange(this, windows_core::from_raw_borrowed(&pmkobjectname)) { Ok(ok__) => { - core::ptr::write(pfiletime, core::mem::transmute(ok__)); + pfiletime.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3712,7 +3712,7 @@ impl IRunningObjectTable_Vtbl { let this = (*this).get_impl(); match IRunningObjectTable_Impl::EnumRunning(this) { Ok(ok__) => { - core::ptr::write(ppenummoniker, core::mem::transmute(ok__)); + ppenummoniker.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3825,7 +3825,7 @@ impl IStdMarshalInfo_Vtbl { let this = (*this).get_impl(); match IStdMarshalInfo_Impl::GetClassForHandler(this, core::mem::transmute_copy(&dwdestcontext), core::mem::transmute_copy(&pvdestcontext)) { Ok(ok__) => { - core::ptr::write(pclsid, core::mem::transmute(ok__)); + pclsid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3896,7 +3896,7 @@ impl IStream_Vtbl { let this = (*this).get_impl(); match IStream_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppstm, core::mem::transmute(ok__)); + ppstm.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3988,7 +3988,7 @@ impl ISurrogateService_Vtbl { let this = (*this).get_impl(); match ISurrogateService_Impl::Init(this, core::mem::transmute_copy(&rguidprocessid), windows_core::from_raw_borrowed(&pprocesslock)) { Ok(ok__) => { - core::ptr::write(pfapplicationaware, core::mem::transmute(ok__)); + pfapplicationaware.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4078,7 +4078,7 @@ impl ISynchronizeContainer_Vtbl { let this = (*this).get_impl(); match ISynchronizeContainer_Impl::WaitMultiple(this, core::mem::transmute_copy(&dwflags), core::mem::transmute_copy(&dwtimeout)) { Ok(ok__) => { - core::ptr::write(ppsync, core::mem::transmute(ok__)); + ppsync.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4122,7 +4122,7 @@ impl ISynchronizeHandle_Vtbl { let this = (*this).get_impl(); match ISynchronizeHandle_Impl::GetHandle(this) { Ok(ok__) => { - core::ptr::write(ph, core::mem::transmute(ok__)); + ph.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4230,7 +4230,7 @@ impl ITypeInfo_Vtbl { let this = (*this).get_impl(); match ITypeInfo_Impl::GetTypeAttr(this) { Ok(ok__) => { - core::ptr::write(pptypeattr, core::mem::transmute(ok__)); + pptypeattr.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4241,7 +4241,7 @@ impl ITypeInfo_Vtbl { let this = (*this).get_impl(); match ITypeInfo_Impl::GetTypeComp(this) { Ok(ok__) => { - core::ptr::write(pptcomp, core::mem::transmute(ok__)); + pptcomp.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4252,7 +4252,7 @@ impl ITypeInfo_Vtbl { let this = (*this).get_impl(); match ITypeInfo_Impl::GetFuncDesc(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(ppfuncdesc, core::mem::transmute(ok__)); + ppfuncdesc.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4263,7 +4263,7 @@ impl ITypeInfo_Vtbl { let this = (*this).get_impl(); match ITypeInfo_Impl::GetVarDesc(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(ppvardesc, core::mem::transmute(ok__)); + ppvardesc.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4279,7 +4279,7 @@ impl ITypeInfo_Vtbl { let this = (*this).get_impl(); match ITypeInfo_Impl::GetRefTypeOfImplType(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(preftype, core::mem::transmute(ok__)); + preftype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4290,7 +4290,7 @@ impl ITypeInfo_Vtbl { let this = (*this).get_impl(); match ITypeInfo_Impl::GetImplTypeFlags(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(pimpltypeflags, core::mem::transmute(ok__)); + pimpltypeflags.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4321,7 +4321,7 @@ impl ITypeInfo_Vtbl { let this = (*this).get_impl(); match ITypeInfo_Impl::GetRefTypeInfo(this, core::mem::transmute_copy(&hreftype)) { Ok(ok__) => { - core::ptr::write(pptinfo, core::mem::transmute(ok__)); + pptinfo.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4342,7 +4342,7 @@ impl ITypeInfo_Vtbl { let this = (*this).get_impl(); match ITypeInfo_Impl::GetMops(this, core::mem::transmute_copy(&memid)) { Ok(ok__) => { - core::ptr::write(pbstrmops, core::mem::transmute(ok__)); + pbstrmops.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4423,7 +4423,7 @@ impl ITypeInfo2_Vtbl { let this = (*this).get_impl(); match ITypeInfo2_Impl::GetTypeKind(this) { Ok(ok__) => { - core::ptr::write(ptypekind, core::mem::transmute(ok__)); + ptypekind.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4434,7 +4434,7 @@ impl ITypeInfo2_Vtbl { let this = (*this).get_impl(); match ITypeInfo2_Impl::GetTypeFlags(this) { Ok(ok__) => { - core::ptr::write(ptypeflags, core::mem::transmute(ok__)); + ptypeflags.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4445,7 +4445,7 @@ impl ITypeInfo2_Vtbl { let this = (*this).get_impl(); match ITypeInfo2_Impl::GetFuncIndexOfMemId(this, core::mem::transmute_copy(&memid), core::mem::transmute_copy(&invkind)) { Ok(ok__) => { - core::ptr::write(pfuncindex, core::mem::transmute(ok__)); + pfuncindex.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4456,7 +4456,7 @@ impl ITypeInfo2_Vtbl { let this = (*this).get_impl(); match ITypeInfo2_Impl::GetVarIndexOfMemId(this, core::mem::transmute_copy(&memid)) { Ok(ok__) => { - core::ptr::write(pvarindex, core::mem::transmute(ok__)); + pvarindex.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4467,7 +4467,7 @@ impl ITypeInfo2_Vtbl { let this = (*this).get_impl(); match ITypeInfo2_Impl::GetCustData(this, core::mem::transmute_copy(&guid)) { Ok(ok__) => { - core::ptr::write(pvarval, core::mem::transmute(ok__)); + pvarval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4478,7 +4478,7 @@ impl ITypeInfo2_Vtbl { let this = (*this).get_impl(); match ITypeInfo2_Impl::GetFuncCustData(this, core::mem::transmute_copy(&index), core::mem::transmute_copy(&guid)) { Ok(ok__) => { - core::ptr::write(pvarval, core::mem::transmute(ok__)); + pvarval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4489,7 +4489,7 @@ impl ITypeInfo2_Vtbl { let this = (*this).get_impl(); match ITypeInfo2_Impl::GetParamCustData(this, core::mem::transmute_copy(&indexfunc), core::mem::transmute_copy(&indexparam), core::mem::transmute_copy(&guid)) { Ok(ok__) => { - core::ptr::write(pvarval, core::mem::transmute(ok__)); + pvarval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4500,7 +4500,7 @@ impl ITypeInfo2_Vtbl { let this = (*this).get_impl(); match ITypeInfo2_Impl::GetVarCustData(this, core::mem::transmute_copy(&index), core::mem::transmute_copy(&guid)) { Ok(ok__) => { - core::ptr::write(pvarval, core::mem::transmute(ok__)); + pvarval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4511,7 +4511,7 @@ impl ITypeInfo2_Vtbl { let this = (*this).get_impl(); match ITypeInfo2_Impl::GetImplTypeCustData(this, core::mem::transmute_copy(&index), core::mem::transmute_copy(&guid)) { Ok(ok__) => { - core::ptr::write(pvarval, core::mem::transmute(ok__)); + pvarval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4527,7 +4527,7 @@ impl ITypeInfo2_Vtbl { let this = (*this).get_impl(); match ITypeInfo2_Impl::GetAllCustData(this) { Ok(ok__) => { - core::ptr::write(pcustdata, core::mem::transmute(ok__)); + pcustdata.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4538,7 +4538,7 @@ impl ITypeInfo2_Vtbl { let this = (*this).get_impl(); match ITypeInfo2_Impl::GetAllFuncCustData(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(pcustdata, core::mem::transmute(ok__)); + pcustdata.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4549,7 +4549,7 @@ impl ITypeInfo2_Vtbl { let this = (*this).get_impl(); match ITypeInfo2_Impl::GetAllParamCustData(this, core::mem::transmute_copy(&indexfunc), core::mem::transmute_copy(&indexparam)) { Ok(ok__) => { - core::ptr::write(pcustdata, core::mem::transmute(ok__)); + pcustdata.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4560,7 +4560,7 @@ impl ITypeInfo2_Vtbl { let this = (*this).get_impl(); match ITypeInfo2_Impl::GetAllVarCustData(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(pcustdata, core::mem::transmute(ok__)); + pcustdata.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4571,7 +4571,7 @@ impl ITypeInfo2_Vtbl { let this = (*this).get_impl(); match ITypeInfo2_Impl::GetAllImplTypeCustData(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(pcustdata, core::mem::transmute(ok__)); + pcustdata.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4625,7 +4625,7 @@ impl ITypeLib_Vtbl { let this = (*this).get_impl(); match ITypeLib_Impl::GetTypeInfo(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(pptinfo, core::mem::transmute(ok__)); + pptinfo.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4636,7 +4636,7 @@ impl ITypeLib_Vtbl { let this = (*this).get_impl(); match ITypeLib_Impl::GetTypeInfoType(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(ptkind, core::mem::transmute(ok__)); + ptkind.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4647,7 +4647,7 @@ impl ITypeLib_Vtbl { let this = (*this).get_impl(); match ITypeLib_Impl::GetTypeInfoOfGuid(this, core::mem::transmute_copy(&guid)) { Ok(ok__) => { - core::ptr::write(pptinfo, core::mem::transmute(ok__)); + pptinfo.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4658,7 +4658,7 @@ impl ITypeLib_Vtbl { let this = (*this).get_impl(); match ITypeLib_Impl::GetLibAttr(this) { Ok(ok__) => { - core::ptr::write(pptlibattr, core::mem::transmute(ok__)); + pptlibattr.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4669,7 +4669,7 @@ impl ITypeLib_Vtbl { let this = (*this).get_impl(); match ITypeLib_Impl::GetTypeComp(this) { Ok(ok__) => { - core::ptr::write(pptcomp, core::mem::transmute(ok__)); + pptcomp.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4727,7 +4727,7 @@ impl ITypeLib2_Vtbl { let this = (*this).get_impl(); match ITypeLib2_Impl::GetCustData(this, core::mem::transmute_copy(&guid)) { Ok(ok__) => { - core::ptr::write(pvarval, core::mem::transmute(ok__)); + pvarval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4748,7 +4748,7 @@ impl ITypeLib2_Vtbl { let this = (*this).get_impl(); match ITypeLib2_Impl::GetAllCustData(this) { Ok(ok__) => { - core::ptr::write(pcustdata, core::mem::transmute(ok__)); + pcustdata.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4784,7 +4784,7 @@ impl ITypeLibRegistration_Vtbl { let this = (*this).get_impl(); match ITypeLibRegistration_Impl::GetGuid(this) { Ok(ok__) => { - core::ptr::write(pguid, core::mem::transmute(ok__)); + pguid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4795,7 +4795,7 @@ impl ITypeLibRegistration_Vtbl { let this = (*this).get_impl(); match ITypeLibRegistration_Impl::GetVersion(this) { Ok(ok__) => { - core::ptr::write(pversion, core::mem::transmute(ok__)); + pversion.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4806,7 +4806,7 @@ impl ITypeLibRegistration_Vtbl { let this = (*this).get_impl(); match ITypeLibRegistration_Impl::GetLcid(this) { Ok(ok__) => { - core::ptr::write(plcid, core::mem::transmute(ok__)); + plcid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4817,7 +4817,7 @@ impl ITypeLibRegistration_Vtbl { let this = (*this).get_impl(); match ITypeLibRegistration_Impl::GetWin32Path(this) { Ok(ok__) => { - core::ptr::write(pwin32path, core::mem::transmute(ok__)); + pwin32path.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4828,7 +4828,7 @@ impl ITypeLibRegistration_Vtbl { let this = (*this).get_impl(); match ITypeLibRegistration_Impl::GetWin64Path(this) { Ok(ok__) => { - core::ptr::write(pwin64path, core::mem::transmute(ok__)); + pwin64path.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4839,7 +4839,7 @@ impl ITypeLibRegistration_Vtbl { let this = (*this).get_impl(); match ITypeLibRegistration_Impl::GetDisplayName(this) { Ok(ok__) => { - core::ptr::write(pdisplayname, core::mem::transmute(ok__)); + pdisplayname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4850,7 +4850,7 @@ impl ITypeLibRegistration_Vtbl { let this = (*this).get_impl(); match ITypeLibRegistration_Impl::GetFlags(this) { Ok(ok__) => { - core::ptr::write(pflags, core::mem::transmute(ok__)); + pflags.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4861,7 +4861,7 @@ impl ITypeLibRegistration_Vtbl { let this = (*this).get_impl(); match ITypeLibRegistration_Impl::GetHelpDir(this) { Ok(ok__) => { - core::ptr::write(phelpdir, core::mem::transmute(ok__)); + phelpdir.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4894,7 +4894,7 @@ impl ITypeLibRegistrationReader_Vtbl { let this = (*this).get_impl(); match ITypeLibRegistrationReader_Impl::EnumTypeLibRegistrations(this) { Ok(ok__) => { - core::ptr::write(ppenumunknown, core::mem::transmute(ok__)); + ppenumunknown.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4956,7 +4956,7 @@ impl IUri_Vtbl { let this = (*this).get_impl(); match IUri_Impl::HasProperty(this, core::mem::transmute_copy(&uriprop)) { Ok(ok__) => { - core::ptr::write(pfhasproperty, core::mem::transmute(ok__)); + pfhasproperty.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4967,7 +4967,7 @@ impl IUri_Vtbl { let this = (*this).get_impl(); match IUri_Impl::GetAbsoluteUri(this) { Ok(ok__) => { - core::ptr::write(pbstrabsoluteuri, core::mem::transmute(ok__)); + pbstrabsoluteuri.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4978,7 +4978,7 @@ impl IUri_Vtbl { let this = (*this).get_impl(); match IUri_Impl::GetAuthority(this) { Ok(ok__) => { - core::ptr::write(pbstrauthority, core::mem::transmute(ok__)); + pbstrauthority.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4989,7 +4989,7 @@ impl IUri_Vtbl { let this = (*this).get_impl(); match IUri_Impl::GetDisplayUri(this) { Ok(ok__) => { - core::ptr::write(pbstrdisplaystring, core::mem::transmute(ok__)); + pbstrdisplaystring.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5000,7 +5000,7 @@ impl IUri_Vtbl { let this = (*this).get_impl(); match IUri_Impl::GetDomain(this) { Ok(ok__) => { - core::ptr::write(pbstrdomain, core::mem::transmute(ok__)); + pbstrdomain.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5011,7 +5011,7 @@ impl IUri_Vtbl { let this = (*this).get_impl(); match IUri_Impl::GetExtension(this) { Ok(ok__) => { - core::ptr::write(pbstrextension, core::mem::transmute(ok__)); + pbstrextension.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5022,7 +5022,7 @@ impl IUri_Vtbl { let this = (*this).get_impl(); match IUri_Impl::GetFragment(this) { Ok(ok__) => { - core::ptr::write(pbstrfragment, core::mem::transmute(ok__)); + pbstrfragment.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5033,7 +5033,7 @@ impl IUri_Vtbl { let this = (*this).get_impl(); match IUri_Impl::GetHost(this) { Ok(ok__) => { - core::ptr::write(pbstrhost, core::mem::transmute(ok__)); + pbstrhost.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5044,7 +5044,7 @@ impl IUri_Vtbl { let this = (*this).get_impl(); match IUri_Impl::GetPassword(this) { Ok(ok__) => { - core::ptr::write(pbstrpassword, core::mem::transmute(ok__)); + pbstrpassword.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5055,7 +5055,7 @@ impl IUri_Vtbl { let this = (*this).get_impl(); match IUri_Impl::GetPath(this) { Ok(ok__) => { - core::ptr::write(pbstrpath, core::mem::transmute(ok__)); + pbstrpath.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5066,7 +5066,7 @@ impl IUri_Vtbl { let this = (*this).get_impl(); match IUri_Impl::GetPathAndQuery(this) { Ok(ok__) => { - core::ptr::write(pbstrpathandquery, core::mem::transmute(ok__)); + pbstrpathandquery.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5077,7 +5077,7 @@ impl IUri_Vtbl { let this = (*this).get_impl(); match IUri_Impl::GetQuery(this) { Ok(ok__) => { - core::ptr::write(pbstrquery, core::mem::transmute(ok__)); + pbstrquery.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5088,7 +5088,7 @@ impl IUri_Vtbl { let this = (*this).get_impl(); match IUri_Impl::GetRawUri(this) { Ok(ok__) => { - core::ptr::write(pbstrrawuri, core::mem::transmute(ok__)); + pbstrrawuri.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5099,7 +5099,7 @@ impl IUri_Vtbl { let this = (*this).get_impl(); match IUri_Impl::GetSchemeName(this) { Ok(ok__) => { - core::ptr::write(pbstrschemename, core::mem::transmute(ok__)); + pbstrschemename.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5110,7 +5110,7 @@ impl IUri_Vtbl { let this = (*this).get_impl(); match IUri_Impl::GetUserInfo(this) { Ok(ok__) => { - core::ptr::write(pbstruserinfo, core::mem::transmute(ok__)); + pbstruserinfo.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5121,7 +5121,7 @@ impl IUri_Vtbl { let this = (*this).get_impl(); match IUri_Impl::GetUserName(this) { Ok(ok__) => { - core::ptr::write(pbstrusername, core::mem::transmute(ok__)); + pbstrusername.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5132,7 +5132,7 @@ impl IUri_Vtbl { let this = (*this).get_impl(); match IUri_Impl::GetHostType(this) { Ok(ok__) => { - core::ptr::write(pdwhosttype, core::mem::transmute(ok__)); + pdwhosttype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5143,7 +5143,7 @@ impl IUri_Vtbl { let this = (*this).get_impl(); match IUri_Impl::GetPort(this) { Ok(ok__) => { - core::ptr::write(pdwport, core::mem::transmute(ok__)); + pdwport.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5154,7 +5154,7 @@ impl IUri_Vtbl { let this = (*this).get_impl(); match IUri_Impl::GetScheme(this) { Ok(ok__) => { - core::ptr::write(pdwscheme, core::mem::transmute(ok__)); + pdwscheme.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5165,7 +5165,7 @@ impl IUri_Vtbl { let this = (*this).get_impl(); match IUri_Impl::GetZone(this) { Ok(ok__) => { - core::ptr::write(pdwzone, core::mem::transmute(ok__)); + pdwzone.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5176,7 +5176,7 @@ impl IUri_Vtbl { let this = (*this).get_impl(); match IUri_Impl::GetProperties(this) { Ok(ok__) => { - core::ptr::write(pdwflags, core::mem::transmute(ok__)); + pdwflags.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5187,7 +5187,7 @@ impl IUri_Vtbl { let this = (*this).get_impl(); match IUri_Impl::IsEqual(this, windows_core::from_raw_borrowed(&puri)) { Ok(ok__) => { - core::ptr::write(pfequal, core::mem::transmute(ok__)); + pfequal.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5259,7 +5259,7 @@ impl IUriBuilder_Vtbl { let this = (*this).get_impl(); match IUriBuilder_Impl::CreateUriSimple(this, core::mem::transmute_copy(&dwallowencodingpropertymask), core::mem::transmute_copy(&dwreserved)) { Ok(ok__) => { - core::ptr::write(ppiuri, core::mem::transmute(ok__)); + ppiuri.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5270,7 +5270,7 @@ impl IUriBuilder_Vtbl { let this = (*this).get_impl(); match IUriBuilder_Impl::CreateUri(this, core::mem::transmute_copy(&dwcreateflags), core::mem::transmute_copy(&dwallowencodingpropertymask), core::mem::transmute_copy(&dwreserved)) { Ok(ok__) => { - core::ptr::write(ppiuri, core::mem::transmute(ok__)); + ppiuri.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5281,7 +5281,7 @@ impl IUriBuilder_Vtbl { let this = (*this).get_impl(); match IUriBuilder_Impl::CreateUriWithFlags(this, core::mem::transmute_copy(&dwcreateflags), core::mem::transmute_copy(&dwuribuilderflags), core::mem::transmute_copy(&dwallowencodingpropertymask), core::mem::transmute_copy(&dwreserved)) { Ok(ok__) => { - core::ptr::write(ppiuri, core::mem::transmute(ok__)); + ppiuri.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5292,7 +5292,7 @@ impl IUriBuilder_Vtbl { let this = (*this).get_impl(); match IUriBuilder_Impl::GetIUri(this) { Ok(ok__) => { - core::ptr::write(ppiuri, core::mem::transmute(ok__)); + ppiuri.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5393,7 +5393,7 @@ impl IUriBuilder_Vtbl { let this = (*this).get_impl(); match IUriBuilder_Impl::HasBeenModified(this) { Ok(ok__) => { - core::ptr::write(pfmodified, core::mem::transmute(ok__)); + pfmodified.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5459,7 +5459,7 @@ impl IWaitMultiple_Vtbl { let this = (*this).get_impl(); match IWaitMultiple_Impl::WaitMultiple(this, core::mem::transmute_copy(&timeout)) { Ok(ok__) => { - core::ptr::write(psync, core::mem::transmute(ok__)); + psync.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/Win32/System/ComponentServices/impl.rs b/crates/libs/windows/src/Windows/Win32/System/ComponentServices/impl.rs index d13b687fcc..39ceef5b28 100644 --- a/crates/libs/windows/src/Windows/Win32/System/ComponentServices/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/ComponentServices/impl.rs @@ -16,7 +16,7 @@ impl ContextInfo_Vtbl { let this = (*this).get_impl(); match ContextInfo_Impl::IsInTransaction(this) { Ok(ok__) => { - core::ptr::write(pbisintx, core::mem::transmute(ok__)); + pbisintx.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -27,7 +27,7 @@ impl ContextInfo_Vtbl { let this = (*this).get_impl(); match ContextInfo_Impl::GetTransaction(this) { Ok(ok__) => { - core::ptr::write(pptx, core::mem::transmute(ok__)); + pptx.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -38,7 +38,7 @@ impl ContextInfo_Vtbl { let this = (*this).get_impl(); match ContextInfo_Impl::GetTransactionId(this) { Ok(ok__) => { - core::ptr::write(pbstrtxid, core::mem::transmute(ok__)); + pbstrtxid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -49,7 +49,7 @@ impl ContextInfo_Vtbl { let this = (*this).get_impl(); match ContextInfo_Impl::GetActivityId(this) { Ok(ok__) => { - core::ptr::write(pbstractivityid, core::mem::transmute(ok__)); + pbstractivityid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -60,7 +60,7 @@ impl ContextInfo_Vtbl { let this = (*this).get_impl(); match ContextInfo_Impl::GetContextId(this) { Ok(ok__) => { - core::ptr::write(pbstrctxid, core::mem::transmute(ok__)); + pbstrctxid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -95,7 +95,7 @@ impl ContextInfo2_Vtbl { let this = (*this).get_impl(); match ContextInfo2_Impl::GetPartitionId(this) { Ok(ok__) => { - core::ptr::write(__midl__contextinfo20000, core::mem::transmute(ok__)); + __midl__contextinfo20000.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -106,7 +106,7 @@ impl ContextInfo2_Vtbl { let this = (*this).get_impl(); match ContextInfo2_Impl::GetApplicationId(this) { Ok(ok__) => { - core::ptr::write(__midl__contextinfo20001, core::mem::transmute(ok__)); + __midl__contextinfo20001.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -117,7 +117,7 @@ impl ContextInfo2_Vtbl { let this = (*this).get_impl(); match ContextInfo2_Impl::GetApplicationInstanceId(this) { Ok(ok__) => { - core::ptr::write(__midl__contextinfo20002, core::mem::transmute(ok__)); + __midl__contextinfo20002.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -178,7 +178,7 @@ impl IAssemblyLocator_Vtbl { let this = (*this).get_impl(); match IAssemblyLocator_Impl::GetModules(this, core::mem::transmute(&applicationdir), core::mem::transmute(&applicationname), core::mem::transmute(&assemblyname)) { Ok(ok__) => { - core::ptr::write(pmodules, core::mem::transmute(ok__)); + pmodules.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -246,7 +246,7 @@ impl ICOMAdminCatalog_Vtbl { let this = (*this).get_impl(); match ICOMAdminCatalog_Impl::GetCollection(this, core::mem::transmute(&bstrcollname)) { Ok(ok__) => { - core::ptr::write(ppcatalogcollection, core::mem::transmute(ok__)); + ppcatalogcollection.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -257,7 +257,7 @@ impl ICOMAdminCatalog_Vtbl { let this = (*this).get_impl(); match ICOMAdminCatalog_Impl::Connect(this, core::mem::transmute(&bstrcatalogservername)) { Ok(ok__) => { - core::ptr::write(ppcatalogcollection, core::mem::transmute(ok__)); + ppcatalogcollection.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -268,7 +268,7 @@ impl ICOMAdminCatalog_Vtbl { let this = (*this).get_impl(); match ICOMAdminCatalog_Impl::MajorVersion(this) { Ok(ok__) => { - core::ptr::write(plmajorversion, core::mem::transmute(ok__)); + plmajorversion.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -279,7 +279,7 @@ impl ICOMAdminCatalog_Vtbl { let this = (*this).get_impl(); match ICOMAdminCatalog_Impl::MinorVersion(this) { Ok(ok__) => { - core::ptr::write(plminorversion, core::mem::transmute(ok__)); + plminorversion.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -290,7 +290,7 @@ impl ICOMAdminCatalog_Vtbl { let this = (*this).get_impl(); match ICOMAdminCatalog_Impl::GetCollectionByQuery(this, core::mem::transmute(&bstrcollname), core::mem::transmute_copy(&ppsavarquery)) { Ok(ok__) => { - core::ptr::write(ppcatalogcollection, core::mem::transmute(ok__)); + ppcatalogcollection.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -386,7 +386,7 @@ impl ICOMAdminCatalog_Vtbl { let this = (*this).get_impl(); match ICOMAdminCatalog_Impl::ServiceCheck(this, core::mem::transmute_copy(&lservice)) { Ok(ok__) => { - core::ptr::write(plstatus, core::mem::transmute(ok__)); + plstatus.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -485,7 +485,7 @@ impl ICOMAdminCatalog2_Vtbl { let this = (*this).get_impl(); match ICOMAdminCatalog2_Impl::GetCollectionByQuery2(this, core::mem::transmute(&bstrcollectionname), core::mem::transmute_copy(&pvarquerystrings)) { Ok(ok__) => { - core::ptr::write(ppcatalogcollection, core::mem::transmute(ok__)); + ppcatalogcollection.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -496,7 +496,7 @@ impl ICOMAdminCatalog2_Vtbl { let this = (*this).get_impl(); match ICOMAdminCatalog2_Impl::GetApplicationInstanceIDFromProcessID(this, core::mem::transmute_copy(&lprocessid)) { Ok(ok__) => { - core::ptr::write(pbstrapplicationinstanceid, core::mem::transmute(ok__)); + pbstrapplicationinstanceid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -527,7 +527,7 @@ impl ICOMAdminCatalog2_Vtbl { let this = (*this).get_impl(); match ICOMAdminCatalog2_Impl::AreApplicationInstancesPaused(this, core::mem::transmute_copy(&pvarapplicationinstanceid)) { Ok(ok__) => { - core::ptr::write(pvarboolpaused, core::mem::transmute(ok__)); + pvarboolpaused.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -538,7 +538,7 @@ impl ICOMAdminCatalog2_Vtbl { let this = (*this).get_impl(); match ICOMAdminCatalog2_Impl::DumpApplicationInstance(this, core::mem::transmute(&bstrapplicationinstanceid), core::mem::transmute(&bstrdirectory), core::mem::transmute_copy(&lmaximages)) { Ok(ok__) => { - core::ptr::write(pbstrdumpfile, core::mem::transmute(ok__)); + pbstrdumpfile.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -549,7 +549,7 @@ impl ICOMAdminCatalog2_Vtbl { let this = (*this).get_impl(); match ICOMAdminCatalog2_Impl::IsApplicationInstanceDumpSupported(this) { Ok(ok__) => { - core::ptr::write(pvarbooldumpsupported, core::mem::transmute(ok__)); + pvarbooldumpsupported.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -570,7 +570,7 @@ impl ICOMAdminCatalog2_Vtbl { let this = (*this).get_impl(); match ICOMAdminCatalog2_Impl::GetPartitionID(this, core::mem::transmute(&bstrapplicationidorname)) { Ok(ok__) => { - core::ptr::write(pbstrpartitionid, core::mem::transmute(ok__)); + pbstrpartitionid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -581,7 +581,7 @@ impl ICOMAdminCatalog2_Vtbl { let this = (*this).get_impl(); match ICOMAdminCatalog2_Impl::GetPartitionName(this, core::mem::transmute(&bstrapplicationidorname)) { Ok(ok__) => { - core::ptr::write(pbstrpartitionname, core::mem::transmute(ok__)); + pbstrpartitionname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -597,7 +597,7 @@ impl ICOMAdminCatalog2_Vtbl { let this = (*this).get_impl(); match ICOMAdminCatalog2_Impl::CurrentPartitionID(this) { Ok(ok__) => { - core::ptr::write(pbstrpartitionid, core::mem::transmute(ok__)); + pbstrpartitionid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -608,7 +608,7 @@ impl ICOMAdminCatalog2_Vtbl { let this = (*this).get_impl(); match ICOMAdminCatalog2_Impl::CurrentPartitionName(this) { Ok(ok__) => { - core::ptr::write(pbstrpartitionname, core::mem::transmute(ok__)); + pbstrpartitionname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -619,7 +619,7 @@ impl ICOMAdminCatalog2_Vtbl { let this = (*this).get_impl(); match ICOMAdminCatalog2_Impl::GlobalPartitionID(this) { Ok(ok__) => { - core::ptr::write(pbstrglobalpartitionid, core::mem::transmute(ok__)); + pbstrglobalpartitionid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -655,7 +655,7 @@ impl ICOMAdminCatalog2_Vtbl { let this = (*this).get_impl(); match ICOMAdminCatalog2_Impl::IsSafeToDelete(this, core::mem::transmute(&bstrdllname)) { Ok(ok__) => { - core::ptr::write(pcomadmininuse, core::mem::transmute(ok__)); + pcomadmininuse.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -681,7 +681,7 @@ impl ICOMAdminCatalog2_Vtbl { let this = (*this).get_impl(); match ICOMAdminCatalog2_Impl::Is64BitCatalogServer(this) { Ok(ok__) => { - core::ptr::write(pbis64bit, core::mem::transmute(ok__)); + pbis64bit.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -702,7 +702,7 @@ impl ICOMAdminCatalog2_Vtbl { let this = (*this).get_impl(); match ICOMAdminCatalog2_Impl::QueryApplicationFile2(this, core::mem::transmute(&bstrapplicationfile)) { Ok(ok__) => { - core::ptr::write(ppfilesforimport, core::mem::transmute(ok__)); + ppfilesforimport.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -713,7 +713,7 @@ impl ICOMAdminCatalog2_Vtbl { let this = (*this).get_impl(); match ICOMAdminCatalog2_Impl::GetComponentVersionCount(this, core::mem::transmute(&bstrclsidorprogid)) { Ok(ok__) => { - core::ptr::write(plversioncount, core::mem::transmute(ok__)); + plversioncount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -828,7 +828,7 @@ impl ICatalogCollection_Vtbl { let this = (*this).get_impl(); match ICatalogCollection_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(ppenumvariant, core::mem::transmute(ok__)); + ppenumvariant.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -839,7 +839,7 @@ impl ICatalogCollection_Vtbl { let this = (*this).get_impl(); match ICatalogCollection_Impl::get_Item(this, core::mem::transmute_copy(&lindex)) { Ok(ok__) => { - core::ptr::write(ppcatalogobject, core::mem::transmute(ok__)); + ppcatalogobject.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -850,7 +850,7 @@ impl ICatalogCollection_Vtbl { let this = (*this).get_impl(); match ICatalogCollection_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(plobjectcount, core::mem::transmute(ok__)); + plobjectcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -866,7 +866,7 @@ impl ICatalogCollection_Vtbl { let this = (*this).get_impl(); match ICatalogCollection_Impl::Add(this) { Ok(ok__) => { - core::ptr::write(ppcatalogobject, core::mem::transmute(ok__)); + ppcatalogobject.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -882,7 +882,7 @@ impl ICatalogCollection_Vtbl { let this = (*this).get_impl(); match ICatalogCollection_Impl::SaveChanges(this) { Ok(ok__) => { - core::ptr::write(pcchanges, core::mem::transmute(ok__)); + pcchanges.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -893,7 +893,7 @@ impl ICatalogCollection_Vtbl { let this = (*this).get_impl(); match ICatalogCollection_Impl::GetCollection(this, core::mem::transmute(&bstrcollname), core::mem::transmute(&varobjectkey)) { Ok(ok__) => { - core::ptr::write(ppcatalogcollection, core::mem::transmute(ok__)); + ppcatalogcollection.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -904,7 +904,7 @@ impl ICatalogCollection_Vtbl { let this = (*this).get_impl(); match ICatalogCollection_Impl::Name(this) { Ok(ok__) => { - core::ptr::write(pvarnamel, core::mem::transmute(ok__)); + pvarnamel.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -915,7 +915,7 @@ impl ICatalogCollection_Vtbl { let this = (*this).get_impl(); match ICatalogCollection_Impl::AddEnabled(this) { Ok(ok__) => { - core::ptr::write(pvarbool, core::mem::transmute(ok__)); + pvarbool.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -926,7 +926,7 @@ impl ICatalogCollection_Vtbl { let this = (*this).get_impl(); match ICatalogCollection_Impl::RemoveEnabled(this) { Ok(ok__) => { - core::ptr::write(pvarbool, core::mem::transmute(ok__)); + pvarbool.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -937,7 +937,7 @@ impl ICatalogCollection_Vtbl { let this = (*this).get_impl(); match ICatalogCollection_Impl::GetUtilInterface(this) { Ok(ok__) => { - core::ptr::write(ppidispatch, core::mem::transmute(ok__)); + ppidispatch.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -948,7 +948,7 @@ impl ICatalogCollection_Vtbl { let this = (*this).get_impl(); match ICatalogCollection_Impl::DataStoreMajorVersion(this) { Ok(ok__) => { - core::ptr::write(plmajorversion, core::mem::transmute(ok__)); + plmajorversion.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -959,7 +959,7 @@ impl ICatalogCollection_Vtbl { let this = (*this).get_impl(); match ICatalogCollection_Impl::DataStoreMinorVersion(this) { Ok(ok__) => { - core::ptr::write(plminorversionl, core::mem::transmute(ok__)); + plminorversionl.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1019,7 +1019,7 @@ impl ICatalogObject_Vtbl { let this = (*this).get_impl(); match ICatalogObject_Impl::get_Value(this, core::mem::transmute(&bstrpropname)) { Ok(ok__) => { - core::ptr::write(pvarretval, core::mem::transmute(ok__)); + pvarretval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1035,7 +1035,7 @@ impl ICatalogObject_Vtbl { let this = (*this).get_impl(); match ICatalogObject_Impl::Key(this) { Ok(ok__) => { - core::ptr::write(pvarretval, core::mem::transmute(ok__)); + pvarretval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1046,7 +1046,7 @@ impl ICatalogObject_Vtbl { let this = (*this).get_impl(); match ICatalogObject_Impl::Name(this) { Ok(ok__) => { - core::ptr::write(pvarretval, core::mem::transmute(ok__)); + pvarretval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1057,7 +1057,7 @@ impl ICatalogObject_Vtbl { let this = (*this).get_impl(); match ICatalogObject_Impl::IsPropertyReadOnly(this, core::mem::transmute(&bstrpropname)) { Ok(ok__) => { - core::ptr::write(pbretval, core::mem::transmute(ok__)); + pbretval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1068,7 +1068,7 @@ impl ICatalogObject_Vtbl { let this = (*this).get_impl(); match ICatalogObject_Impl::Valid(this) { Ok(ok__) => { - core::ptr::write(pbretval, core::mem::transmute(ok__)); + pbretval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1079,7 +1079,7 @@ impl ICatalogObject_Vtbl { let this = (*this).get_impl(); match ICatalogObject_Impl::IsPropertyWriteOnly(this, core::mem::transmute(&bstrpropname)) { Ok(ok__) => { - core::ptr::write(pbretval, core::mem::transmute(ok__)); + pbretval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1602,7 +1602,7 @@ impl IComMtaThreadPoolKnobs_Vtbl { let this = (*this).get_impl(); match IComMtaThreadPoolKnobs_Impl::MTAGetMaxThreadCount(this) { Ok(ok__) => { - core::ptr::write(pdwmaxthreads, core::mem::transmute(ok__)); + pdwmaxthreads.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1618,7 +1618,7 @@ impl IComMtaThreadPoolKnobs_Vtbl { let this = (*this).get_impl(); match IComMtaThreadPoolKnobs_Impl::MTAGetThrottleValue(this) { Ok(ok__) => { - core::ptr::write(pdwthrottle, core::mem::transmute(ok__)); + pdwthrottle.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2018,7 +2018,7 @@ impl IComStaThreadPoolKnobs_Vtbl { let this = (*this).get_impl(); match IComStaThreadPoolKnobs_Impl::GetMinThreadCount(this) { Ok(ok__) => { - core::ptr::write(minthreads, core::mem::transmute(ok__)); + minthreads.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2034,7 +2034,7 @@ impl IComStaThreadPoolKnobs_Vtbl { let this = (*this).get_impl(); match IComStaThreadPoolKnobs_Impl::GetMaxThreadCount(this) { Ok(ok__) => { - core::ptr::write(maxthreads, core::mem::transmute(ok__)); + maxthreads.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2050,7 +2050,7 @@ impl IComStaThreadPoolKnobs_Vtbl { let this = (*this).get_impl(); match IComStaThreadPoolKnobs_Impl::GetActivityPerThread(this) { Ok(ok__) => { - core::ptr::write(activitiesperthread, core::mem::transmute(ok__)); + activitiesperthread.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2066,7 +2066,7 @@ impl IComStaThreadPoolKnobs_Vtbl { let this = (*this).get_impl(); match IComStaThreadPoolKnobs_Impl::GetActivityRatio(this) { Ok(ok__) => { - core::ptr::write(activityratio, core::mem::transmute(ok__)); + activityratio.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2077,7 +2077,7 @@ impl IComStaThreadPoolKnobs_Vtbl { let this = (*this).get_impl(); match IComStaThreadPoolKnobs_Impl::GetThreadCount(this) { Ok(ok__) => { - core::ptr::write(pdwthreads, core::mem::transmute(ok__)); + pdwthreads.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2088,7 +2088,7 @@ impl IComStaThreadPoolKnobs_Vtbl { let this = (*this).get_impl(); match IComStaThreadPoolKnobs_Impl::GetQueueDepth(this) { Ok(ok__) => { - core::ptr::write(pdwqdepth, core::mem::transmute(ok__)); + pdwqdepth.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2138,7 +2138,7 @@ impl IComStaThreadPoolKnobs2_Vtbl { let this = (*this).get_impl(); match IComStaThreadPoolKnobs2_Impl::GetMaxCPULoad(this) { Ok(ok__) => { - core::ptr::write(pdwload, core::mem::transmute(ok__)); + pdwload.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2154,7 +2154,7 @@ impl IComStaThreadPoolKnobs2_Vtbl { let this = (*this).get_impl(); match IComStaThreadPoolKnobs2_Impl::GetCPUMetricEnabled(this) { Ok(ok__) => { - core::ptr::write(pbmetricenabled, core::mem::transmute(ok__)); + pbmetricenabled.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2170,7 +2170,7 @@ impl IComStaThreadPoolKnobs2_Vtbl { let this = (*this).get_impl(); match IComStaThreadPoolKnobs2_Impl::GetCreateThreadsAggressively(this) { Ok(ok__) => { - core::ptr::write(pbmetricenabled, core::mem::transmute(ok__)); + pbmetricenabled.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2186,7 +2186,7 @@ impl IComStaThreadPoolKnobs2_Vtbl { let this = (*this).get_impl(); match IComStaThreadPoolKnobs2_Impl::GetMaxCSR(this) { Ok(ok__) => { - core::ptr::write(pdwcsr, core::mem::transmute(ok__)); + pdwcsr.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2202,7 +2202,7 @@ impl IComStaThreadPoolKnobs2_Vtbl { let this = (*this).get_impl(); match IComStaThreadPoolKnobs2_Impl::GetWaitTimeForThreadCleanup(this) { Ok(ok__) => { - core::ptr::write(pdwthreadcleanupwaittime, core::mem::transmute(ok__)); + pdwthreadcleanupwaittime.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2334,7 +2334,7 @@ impl IComTrackingInfoCollection_Vtbl { let this = (*this).get_impl(); match IComTrackingInfoCollection_Impl::Type(this) { Ok(ok__) => { - core::ptr::write(ptype, core::mem::transmute(ok__)); + ptype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2345,7 +2345,7 @@ impl IComTrackingInfoCollection_Vtbl { let this = (*this).get_impl(); match IComTrackingInfoCollection_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(pcount, core::mem::transmute(ok__)); + pcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2395,7 +2395,7 @@ impl IComTrackingInfoObject_Vtbl { let this = (*this).get_impl(); match IComTrackingInfoObject_Impl::GetValue(this, core::mem::transmute(&szpropertyname)) { Ok(ok__) => { - core::ptr::write(pvarout, core::mem::transmute(ok__)); + pvarout.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2419,7 +2419,7 @@ impl IComTrackingInfoProperties_Vtbl { let this = (*this).get_impl(); match IComTrackingInfoProperties_Impl::PropCount(this) { Ok(ok__) => { - core::ptr::write(pcount, core::mem::transmute(ok__)); + pcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2430,7 +2430,7 @@ impl IComTrackingInfoProperties_Vtbl { let this = (*this).get_impl(); match IComTrackingInfoProperties_Impl::GetPropName(this, core::mem::transmute_copy(&ulindex)) { Ok(ok__) => { - core::ptr::write(ppszpropname, core::mem::transmute(ok__)); + ppszpropname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2570,7 +2570,7 @@ impl IContextProperties_Vtbl { let this = (*this).get_impl(); match IContextProperties_Impl::EnumNames(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2754,7 +2754,7 @@ impl ICrmCompensator_Vtbl { let this = (*this).get_impl(); match ICrmCompensator_Impl::PrepareRecord(this, core::mem::transmute(&crmlogrec)) { Ok(ok__) => { - core::ptr::write(pfforget, core::mem::transmute(ok__)); + pfforget.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2765,7 +2765,7 @@ impl ICrmCompensator_Vtbl { let this = (*this).get_impl(); match ICrmCompensator_Impl::EndPrepare(this) { Ok(ok__) => { - core::ptr::write(pfoktoprepare, core::mem::transmute(ok__)); + pfoktoprepare.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2781,7 +2781,7 @@ impl ICrmCompensator_Vtbl { let this = (*this).get_impl(); match ICrmCompensator_Impl::CommitRecord(this, core::mem::transmute(&crmlogrec)) { Ok(ok__) => { - core::ptr::write(pfforget, core::mem::transmute(ok__)); + pfforget.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2802,7 +2802,7 @@ impl ICrmCompensator_Vtbl { let this = (*this).get_impl(); match ICrmCompensator_Impl::AbortRecord(this, core::mem::transmute(&crmlogrec)) { Ok(ok__) => { - core::ptr::write(pfforget, core::mem::transmute(ok__)); + pfforget.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2861,7 +2861,7 @@ impl ICrmCompensatorVariants_Vtbl { let this = (*this).get_impl(); match ICrmCompensatorVariants_Impl::PrepareRecordVariants(this, core::mem::transmute_copy(&plogrecord)) { Ok(ok__) => { - core::ptr::write(pbforget, core::mem::transmute(ok__)); + pbforget.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2872,7 +2872,7 @@ impl ICrmCompensatorVariants_Vtbl { let this = (*this).get_impl(); match ICrmCompensatorVariants_Impl::EndPrepareVariants(this) { Ok(ok__) => { - core::ptr::write(pboktoprepare, core::mem::transmute(ok__)); + pboktoprepare.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2888,7 +2888,7 @@ impl ICrmCompensatorVariants_Vtbl { let this = (*this).get_impl(); match ICrmCompensatorVariants_Impl::CommitRecordVariants(this, core::mem::transmute_copy(&plogrecord)) { Ok(ok__) => { - core::ptr::write(pbforget, core::mem::transmute(ok__)); + pbforget.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2909,7 +2909,7 @@ impl ICrmCompensatorVariants_Vtbl { let this = (*this).get_impl(); match ICrmCompensatorVariants_Impl::AbortRecordVariants(this, core::mem::transmute_copy(&plogrecord)) { Ok(ok__) => { - core::ptr::write(pbforget, core::mem::transmute(ok__)); + pbforget.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2955,7 +2955,7 @@ impl ICrmFormatLogRecords_Vtbl { let this = (*this).get_impl(); match ICrmFormatLogRecords_Impl::GetColumnCount(this) { Ok(ok__) => { - core::ptr::write(plcolumncount, core::mem::transmute(ok__)); + plcolumncount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2966,7 +2966,7 @@ impl ICrmFormatLogRecords_Vtbl { let this = (*this).get_impl(); match ICrmFormatLogRecords_Impl::GetColumnHeaders(this) { Ok(ok__) => { - core::ptr::write(pheaders, core::mem::transmute(ok__)); + pheaders.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2977,7 +2977,7 @@ impl ICrmFormatLogRecords_Vtbl { let this = (*this).get_impl(); match ICrmFormatLogRecords_Impl::GetColumn(this, core::mem::transmute(&crmlogrec)) { Ok(ok__) => { - core::ptr::write(pformattedlogrecord, core::mem::transmute(ok__)); + pformattedlogrecord.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2988,7 +2988,7 @@ impl ICrmFormatLogRecords_Vtbl { let this = (*this).get_impl(); match ICrmFormatLogRecords_Impl::GetColumnVariants(this, core::mem::transmute(&logrecord)) { Ok(ok__) => { - core::ptr::write(pformattedlogrecord, core::mem::transmute(ok__)); + pformattedlogrecord.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3026,7 +3026,7 @@ impl ICrmLogControl_Vtbl { let this = (*this).get_impl(); match ICrmLogControl_Impl::TransactionUOW(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3092,7 +3092,7 @@ impl ICrmMonitor_Vtbl { let this = (*this).get_impl(); match ICrmMonitor_Impl::GetClerks(this) { Ok(ok__) => { - core::ptr::write(pclerks, core::mem::transmute(ok__)); + pclerks.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3103,7 +3103,7 @@ impl ICrmMonitor_Vtbl { let this = (*this).get_impl(); match ICrmMonitor_Impl::HoldClerk(this, core::mem::transmute(&index)) { Ok(ok__) => { - core::ptr::write(pitem, core::mem::transmute(ok__)); + pitem.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3139,7 +3139,7 @@ impl ICrmMonitorClerks_Vtbl { let this = (*this).get_impl(); match ICrmMonitorClerks_Impl::Item(this, core::mem::transmute(&index)) { Ok(ok__) => { - core::ptr::write(pitem, core::mem::transmute(ok__)); + pitem.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3150,7 +3150,7 @@ impl ICrmMonitorClerks_Vtbl { let this = (*this).get_impl(); match ICrmMonitorClerks_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3161,7 +3161,7 @@ impl ICrmMonitorClerks_Vtbl { let this = (*this).get_impl(); match ICrmMonitorClerks_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3172,7 +3172,7 @@ impl ICrmMonitorClerks_Vtbl { let this = (*this).get_impl(); match ICrmMonitorClerks_Impl::ProgIdCompensator(this, core::mem::transmute(&index)) { Ok(ok__) => { - core::ptr::write(pitem, core::mem::transmute(ok__)); + pitem.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3183,7 +3183,7 @@ impl ICrmMonitorClerks_Vtbl { let this = (*this).get_impl(); match ICrmMonitorClerks_Impl::Description(this, core::mem::transmute(&index)) { Ok(ok__) => { - core::ptr::write(pitem, core::mem::transmute(ok__)); + pitem.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3194,7 +3194,7 @@ impl ICrmMonitorClerks_Vtbl { let this = (*this).get_impl(); match ICrmMonitorClerks_Impl::TransactionUOW(this, core::mem::transmute(&index)) { Ok(ok__) => { - core::ptr::write(pitem, core::mem::transmute(ok__)); + pitem.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3205,7 +3205,7 @@ impl ICrmMonitorClerks_Vtbl { let this = (*this).get_impl(); match ICrmMonitorClerks_Impl::ActivityId(this, core::mem::transmute(&index)) { Ok(ok__) => { - core::ptr::write(pitem, core::mem::transmute(ok__)); + pitem.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3244,7 +3244,7 @@ impl ICrmMonitorLogRecords_Vtbl { let this = (*this).get_impl(); match ICrmMonitorLogRecords_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3255,7 +3255,7 @@ impl ICrmMonitorLogRecords_Vtbl { let this = (*this).get_impl(); match ICrmMonitorLogRecords_Impl::TransactionState(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3266,7 +3266,7 @@ impl ICrmMonitorLogRecords_Vtbl { let this = (*this).get_impl(); match ICrmMonitorLogRecords_Impl::StructuredRecords(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3282,7 +3282,7 @@ impl ICrmMonitorLogRecords_Vtbl { let this = (*this).get_impl(); match ICrmMonitorLogRecords_Impl::GetLogRecordVariants(this, core::mem::transmute(&indexnumber)) { Ok(ok__) => { - core::ptr::write(plogrecord, core::mem::transmute(ok__)); + plogrecord.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3368,7 +3368,7 @@ impl IDispenserManager_Vtbl { let this = (*this).get_impl(); match IDispenserManager_Impl::RegisterDispenser(this, windows_core::from_raw_borrowed(&__midl__idispensermanager0000), core::mem::transmute(&szdispensername)) { Ok(ok__) => { - core::ptr::write(__midl__idispensermanager0001, core::mem::transmute(ok__)); + __midl__idispensermanager0001.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3418,7 +3418,7 @@ impl IEnumNames_Vtbl { let this = (*this).get_impl(); match IEnumNames_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3515,7 +3515,7 @@ impl IGetAppTrackerData_Vtbl { let this = (*this).get_impl(); match IGetAppTrackerData_Impl::GetTrackerDataAsCollectionObject(this) { Ok(ok__) => { - core::ptr::write(toplevelcollection, core::mem::transmute(ok__)); + toplevelcollection.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3526,7 +3526,7 @@ impl IGetAppTrackerData_Vtbl { let this = (*this).get_impl(); match IGetAppTrackerData_Impl::GetSuggestedPollingInterval(this) { Ok(ok__) => { - core::ptr::write(pollingintervalinseconds, core::mem::transmute(ok__)); + pollingintervalinseconds.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3570,7 +3570,7 @@ impl IGetContextProperties_Vtbl { let this = (*this).get_impl(); match IGetContextProperties_Impl::EnumNames(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3601,7 +3601,7 @@ impl IGetSecurityCallContext_Vtbl { let this = (*this).get_impl(); match IGetSecurityCallContext_Impl::GetSecurityCallContext(this) { Ok(ok__) => { - core::ptr::write(ppobject, core::mem::transmute(ok__)); + ppobject.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3795,7 +3795,7 @@ impl IMTSLocator_Vtbl { let this = (*this).get_impl(); match IMTSLocator_Impl::GetEventDispatcher(this) { Ok(ok__) => { - core::ptr::write(punk, core::mem::transmute(ok__)); + punk.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3848,7 +3848,7 @@ impl IManagedObjectInfo_Vtbl { let this = (*this).get_impl(); match IManagedObjectInfo_Impl::GetIUnknown(this) { Ok(ok__) => { - core::ptr::write(punk, core::mem::transmute(ok__)); + punk.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3859,7 +3859,7 @@ impl IManagedObjectInfo_Vtbl { let this = (*this).get_impl(); match IManagedObjectInfo_Impl::GetIObjectControl(this) { Ok(ok__) => { - core::ptr::write(pctrl, core::mem::transmute(ok__)); + pctrl.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3941,7 +3941,7 @@ impl IMessageMover_Vtbl { let this = (*this).get_impl(); match IMessageMover_Impl::SourcePath(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3957,7 +3957,7 @@ impl IMessageMover_Vtbl { let this = (*this).get_impl(); match IMessageMover_Impl::DestPath(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3973,7 +3973,7 @@ impl IMessageMover_Vtbl { let this = (*this).get_impl(); match IMessageMover_Impl::CommitBatchSize(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3989,7 +3989,7 @@ impl IMessageMover_Vtbl { let this = (*this).get_impl(); match IMessageMover_Impl::MoveMessages(this) { Ok(ok__) => { - core::ptr::write(plmessagesmoved, core::mem::transmute(ok__)); + plmessagesmoved.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4028,7 +4028,7 @@ impl IMtsEventInfo_Vtbl { let this = (*this).get_impl(); match IMtsEventInfo_Impl::Names(this) { Ok(ok__) => { - core::ptr::write(punk, core::mem::transmute(ok__)); + punk.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4039,7 +4039,7 @@ impl IMtsEventInfo_Vtbl { let this = (*this).get_impl(); match IMtsEventInfo_Impl::DisplayName(this) { Ok(ok__) => { - core::ptr::write(sdisplayname, core::mem::transmute(ok__)); + sdisplayname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4050,7 +4050,7 @@ impl IMtsEventInfo_Vtbl { let this = (*this).get_impl(); match IMtsEventInfo_Impl::EventID(this) { Ok(ok__) => { - core::ptr::write(sguideventid, core::mem::transmute(ok__)); + sguideventid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4061,7 +4061,7 @@ impl IMtsEventInfo_Vtbl { let this = (*this).get_impl(); match IMtsEventInfo_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(lcount, core::mem::transmute(ok__)); + lcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4072,7 +4072,7 @@ impl IMtsEventInfo_Vtbl { let this = (*this).get_impl(); match IMtsEventInfo_Impl::get_Value(this, core::mem::transmute(&skey)) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4109,7 +4109,7 @@ impl IMtsEvents_Vtbl { let this = (*this).get_impl(); match IMtsEvents_Impl::PackageName(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4120,7 +4120,7 @@ impl IMtsEvents_Vtbl { let this = (*this).get_impl(); match IMtsEvents_Impl::PackageGuid(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4136,7 +4136,7 @@ impl IMtsEvents_Vtbl { let this = (*this).get_impl(); match IMtsEvents_Impl::FireEvents(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4147,7 +4147,7 @@ impl IMtsEvents_Vtbl { let this = (*this).get_impl(); match IMtsEvents_Impl::GetProcessID(this) { Ok(ok__) => { - core::ptr::write(id, core::mem::transmute(ok__)); + id.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4182,7 +4182,7 @@ impl IMtsGrp_Vtbl { let this = (*this).get_impl(); match IMtsGrp_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4193,7 +4193,7 @@ impl IMtsGrp_Vtbl { let this = (*this).get_impl(); match IMtsGrp_Impl::Item(this, core::mem::transmute_copy(&lindex)) { Ok(ok__) => { - core::ptr::write(ppunkdispatcher, core::mem::transmute(ok__)); + ppunkdispatcher.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4423,7 +4423,7 @@ impl IObjectContextInfo_Vtbl { let this = (*this).get_impl(); match IObjectContextInfo_Impl::GetTransaction(this) { Ok(ok__) => { - core::ptr::write(pptrans, core::mem::transmute(ok__)); + pptrans.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4635,7 +4635,7 @@ impl ISecurityCallContext_Vtbl { let this = (*this).get_impl(); match ISecurityCallContext_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(plcount, core::mem::transmute(ok__)); + plcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4646,7 +4646,7 @@ impl ISecurityCallContext_Vtbl { let this = (*this).get_impl(); match ISecurityCallContext_Impl::get_Item(this, core::mem::transmute(&name)) { Ok(ok__) => { - core::ptr::write(pitem, core::mem::transmute(ok__)); + pitem.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4657,7 +4657,7 @@ impl ISecurityCallContext_Vtbl { let this = (*this).get_impl(); match ISecurityCallContext_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4668,7 +4668,7 @@ impl ISecurityCallContext_Vtbl { let this = (*this).get_impl(); match ISecurityCallContext_Impl::IsCallerInRole(this, core::mem::transmute(&bstrrole)) { Ok(ok__) => { - core::ptr::write(pfinrole, core::mem::transmute(ok__)); + pfinrole.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4679,7 +4679,7 @@ impl ISecurityCallContext_Vtbl { let this = (*this).get_impl(); match ISecurityCallContext_Impl::IsSecurityEnabled(this) { Ok(ok__) => { - core::ptr::write(pfisenabled, core::mem::transmute(ok__)); + pfisenabled.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4690,7 +4690,7 @@ impl ISecurityCallContext_Vtbl { let this = (*this).get_impl(); match ISecurityCallContext_Impl::IsUserInRole(this, core::mem::transmute_copy(&puser), core::mem::transmute(&bstrrole)) { Ok(ok__) => { - core::ptr::write(pfinrole, core::mem::transmute(ok__)); + pfinrole.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4726,7 +4726,7 @@ impl ISecurityCallersColl_Vtbl { let this = (*this).get_impl(); match ISecurityCallersColl_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(plcount, core::mem::transmute(ok__)); + plcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4737,7 +4737,7 @@ impl ISecurityCallersColl_Vtbl { let this = (*this).get_impl(); match ISecurityCallersColl_Impl::get_Item(this, core::mem::transmute_copy(&lindex)) { Ok(ok__) => { - core::ptr::write(pobj, core::mem::transmute(ok__)); + pobj.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4748,7 +4748,7 @@ impl ISecurityCallersColl_Vtbl { let this = (*this).get_impl(); match ISecurityCallersColl_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4781,7 +4781,7 @@ impl ISecurityIdentityColl_Vtbl { let this = (*this).get_impl(); match ISecurityIdentityColl_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(plcount, core::mem::transmute(ok__)); + plcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4792,7 +4792,7 @@ impl ISecurityIdentityColl_Vtbl { let this = (*this).get_impl(); match ISecurityIdentityColl_Impl::get_Item(this, core::mem::transmute(&name)) { Ok(ok__) => { - core::ptr::write(pitem, core::mem::transmute(ok__)); + pitem.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4803,7 +4803,7 @@ impl ISecurityIdentityColl_Vtbl { let this = (*this).get_impl(); match ISecurityIdentityColl_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5160,7 +5160,7 @@ impl IServicePoolConfig_Vtbl { let this = (*this).get_impl(); match IServicePoolConfig_Impl::ClassFactory(this) { Ok(ok__) => { - core::ptr::write(pfactory, core::mem::transmute(ok__)); + pfactory.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5382,7 +5382,7 @@ impl ISharedProperty_Vtbl { let this = (*this).get_impl(); match ISharedProperty_Impl::Value(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5425,7 +5425,7 @@ impl ISharedPropertyGroup_Vtbl { let this = (*this).get_impl(); match ISharedPropertyGroup_Impl::get_PropertyByPosition(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(ppproperty, core::mem::transmute(ok__)); + ppproperty.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5441,7 +5441,7 @@ impl ISharedPropertyGroup_Vtbl { let this = (*this).get_impl(); match ISharedPropertyGroup_Impl::get_Property(this, core::mem::transmute(&name)) { Ok(ok__) => { - core::ptr::write(ppproperty, core::mem::transmute(ok__)); + ppproperty.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5480,7 +5480,7 @@ impl ISharedPropertyGroupManager_Vtbl { let this = (*this).get_impl(); match ISharedPropertyGroupManager_Impl::get_Group(this, core::mem::transmute(&name)) { Ok(ok__) => { - core::ptr::write(ppgroup, core::mem::transmute(ok__)); + ppgroup.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5491,7 +5491,7 @@ impl ISharedPropertyGroupManager_Vtbl { let this = (*this).get_impl(); match ISharedPropertyGroupManager_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5634,7 +5634,7 @@ impl ITransactionContext_Vtbl { let this = (*this).get_impl(); match ITransactionContext_Impl::CreateInstance(this, core::mem::transmute(&pszprogid)) { Ok(ok__) => { - core::ptr::write(pobject, core::mem::transmute(ok__)); + pobject.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5768,7 +5768,7 @@ impl ITransactionProperty_Vtbl { let this = (*this).get_impl(); match ITransactionProperty_Impl::GetTransactionResourcePool(this) { Ok(ok__) => { - core::ptr::write(pptxpool, core::mem::transmute(ok__)); + pptxpool.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5870,7 +5870,7 @@ impl ITransactionProxy_Vtbl { let this = (*this).get_impl(); match ITransactionProxy_Impl::Promote(this) { Ok(ok__) => { - core::ptr::write(ptransaction, core::mem::transmute(ok__)); + ptransaction.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5881,7 +5881,7 @@ impl ITransactionProxy_Vtbl { let this = (*this).get_impl(); match ITransactionProxy_Impl::CreateVoter(this, windows_core::from_raw_borrowed(&ptxasync)) { Ok(ok__) => { - core::ptr::write(ppballot, core::mem::transmute(ok__)); + ppballot.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5934,7 +5934,7 @@ impl ITransactionResourcePool_Vtbl { let this = (*this).get_impl(); match ITransactionResourcePool_Impl::GetResource(this, windows_core::from_raw_borrowed(&ppool)) { Ok(ok__) => { - core::ptr::write(ppunk, core::mem::transmute(ok__)); + ppunk.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6020,7 +6020,7 @@ impl ObjectContext_Vtbl { let this = (*this).get_impl(); match ObjectContext_Impl::CreateInstance(this, core::mem::transmute(&bstrprogid)) { Ok(ok__) => { - core::ptr::write(pobject, core::mem::transmute(ok__)); + pobject.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6051,7 +6051,7 @@ impl ObjectContext_Vtbl { let this = (*this).get_impl(); match ObjectContext_Impl::IsInTransaction(this) { Ok(ok__) => { - core::ptr::write(pbisintx, core::mem::transmute(ok__)); + pbisintx.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6062,7 +6062,7 @@ impl ObjectContext_Vtbl { let this = (*this).get_impl(); match ObjectContext_Impl::IsSecurityEnabled(this) { Ok(ok__) => { - core::ptr::write(pbisenabled, core::mem::transmute(ok__)); + pbisenabled.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6073,7 +6073,7 @@ impl ObjectContext_Vtbl { let this = (*this).get_impl(); match ObjectContext_Impl::IsCallerInRole(this, core::mem::transmute(&bstrrole)) { Ok(ok__) => { - core::ptr::write(pbinrole, core::mem::transmute(ok__)); + pbinrole.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6084,7 +6084,7 @@ impl ObjectContext_Vtbl { let this = (*this).get_impl(); match ObjectContext_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(plcount, core::mem::transmute(ok__)); + plcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6095,7 +6095,7 @@ impl ObjectContext_Vtbl { let this = (*this).get_impl(); match ObjectContext_Impl::get_Item(this, core::mem::transmute(&name)) { Ok(ok__) => { - core::ptr::write(pitem, core::mem::transmute(ok__)); + pitem.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6106,7 +6106,7 @@ impl ObjectContext_Vtbl { let this = (*this).get_impl(); match ObjectContext_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6117,7 +6117,7 @@ impl ObjectContext_Vtbl { let this = (*this).get_impl(); match ObjectContext_Impl::Security(this) { Ok(ok__) => { - core::ptr::write(ppsecurityproperty, core::mem::transmute(ok__)); + ppsecurityproperty.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6128,7 +6128,7 @@ impl ObjectContext_Vtbl { let this = (*this).get_impl(); match ObjectContext_Impl::ContextInfo(this) { Ok(ok__) => { - core::ptr::write(ppcontextinfo, core::mem::transmute(ok__)); + ppcontextinfo.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6206,7 +6206,7 @@ impl SecurityProperty_Vtbl { let this = (*this).get_impl(); match SecurityProperty_Impl::GetDirectCallerName(this) { Ok(ok__) => { - core::ptr::write(bstrusername, core::mem::transmute(ok__)); + bstrusername.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6217,7 +6217,7 @@ impl SecurityProperty_Vtbl { let this = (*this).get_impl(); match SecurityProperty_Impl::GetDirectCreatorName(this) { Ok(ok__) => { - core::ptr::write(bstrusername, core::mem::transmute(ok__)); + bstrusername.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6228,7 +6228,7 @@ impl SecurityProperty_Vtbl { let this = (*this).get_impl(); match SecurityProperty_Impl::GetOriginalCallerName(this) { Ok(ok__) => { - core::ptr::write(bstrusername, core::mem::transmute(ok__)); + bstrusername.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6239,7 +6239,7 @@ impl SecurityProperty_Vtbl { let this = (*this).get_impl(); match SecurityProperty_Impl::GetOriginalCreatorName(this) { Ok(ok__) => { - core::ptr::write(bstrusername, core::mem::transmute(ok__)); + bstrusername.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/Win32/System/Contacts/impl.rs b/crates/libs/windows/src/Windows/Win32/System/Contacts/impl.rs index a4a2b42e79..7f67fdedf6 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Contacts/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Contacts/impl.rs @@ -56,7 +56,7 @@ impl IContactAggregationAggregate_Vtbl { let this = (*this).get_impl(); match IContactAggregationAggregate_Impl::GetComponentItems(this) { Ok(ok__) => { - core::ptr::write(pcomponentitems, core::mem::transmute(ok__)); + pcomponentitems.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -72,7 +72,7 @@ impl IContactAggregationAggregate_Vtbl { let this = (*this).get_impl(); match IContactAggregationAggregate_Impl::get_Groups(this, core::mem::transmute_copy(&options)) { Ok(ok__) => { - core::ptr::write(ppgroups, core::mem::transmute(ok__)); + ppgroups.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -83,7 +83,7 @@ impl IContactAggregationAggregate_Vtbl { let this = (*this).get_impl(); match IContactAggregationAggregate_Impl::AntiLink(this) { Ok(ok__) => { - core::ptr::write(ppantilink, core::mem::transmute(ok__)); + ppantilink.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -99,7 +99,7 @@ impl IContactAggregationAggregate_Vtbl { let this = (*this).get_impl(); match IContactAggregationAggregate_Impl::FavoriteOrder(this) { Ok(ok__) => { - core::ptr::write(pfavoriteorder, core::mem::transmute(ok__)); + pfavoriteorder.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -115,7 +115,7 @@ impl IContactAggregationAggregate_Vtbl { let this = (*this).get_impl(); match IContactAggregationAggregate_Impl::Id(this) { Ok(ok__) => { - core::ptr::write(ppitemid, core::mem::transmute(ok__)); + ppitemid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -152,7 +152,7 @@ impl IContactAggregationAggregateCollection_Vtbl { let this = (*this).get_impl(); match IContactAggregationAggregateCollection_Impl::FindFirst(this) { Ok(ok__) => { - core::ptr::write(ppaggregate, core::mem::transmute(ok__)); + ppaggregate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -163,7 +163,7 @@ impl IContactAggregationAggregateCollection_Vtbl { let this = (*this).get_impl(); match IContactAggregationAggregateCollection_Impl::FindFirstByAntiLinkId(this, core::mem::transmute(&pantilinkid)) { Ok(ok__) => { - core::ptr::write(ppaggregate, core::mem::transmute(ok__)); + ppaggregate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -174,7 +174,7 @@ impl IContactAggregationAggregateCollection_Vtbl { let this = (*this).get_impl(); match IContactAggregationAggregateCollection_Impl::FindNext(this) { Ok(ok__) => { - core::ptr::write(ppaggregate, core::mem::transmute(ok__)); + ppaggregate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -185,7 +185,7 @@ impl IContactAggregationAggregateCollection_Vtbl { let this = (*this).get_impl(); match IContactAggregationAggregateCollection_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(pcount, core::mem::transmute(ok__)); + pcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -251,7 +251,7 @@ impl IContactAggregationContact_Vtbl { let this = (*this).get_impl(); match IContactAggregationContact_Impl::AccountId(this) { Ok(ok__) => { - core::ptr::write(ppaccountid, core::mem::transmute(ok__)); + ppaccountid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -267,7 +267,7 @@ impl IContactAggregationContact_Vtbl { let this = (*this).get_impl(); match IContactAggregationContact_Impl::AggregateId(this) { Ok(ok__) => { - core::ptr::write(ppaggregateid, core::mem::transmute(ok__)); + ppaggregateid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -278,7 +278,7 @@ impl IContactAggregationContact_Vtbl { let this = (*this).get_impl(); match IContactAggregationContact_Impl::Id(this) { Ok(ok__) => { - core::ptr::write(ppitemid, core::mem::transmute(ok__)); + ppitemid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -289,7 +289,7 @@ impl IContactAggregationContact_Vtbl { let this = (*this).get_impl(); match IContactAggregationContact_Impl::IsMe(this) { Ok(ok__) => { - core::ptr::write(pisme, core::mem::transmute(ok__)); + pisme.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -300,7 +300,7 @@ impl IContactAggregationContact_Vtbl { let this = (*this).get_impl(); match IContactAggregationContact_Impl::IsExternal(this) { Ok(ok__) => { - core::ptr::write(pisexternal, core::mem::transmute(ok__)); + pisexternal.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -311,7 +311,7 @@ impl IContactAggregationContact_Vtbl { let this = (*this).get_impl(); match IContactAggregationContact_Impl::NetworkSourceId(this) { Ok(ok__) => { - core::ptr::write(pnetworksourceid, core::mem::transmute(ok__)); + pnetworksourceid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -327,7 +327,7 @@ impl IContactAggregationContact_Vtbl { let this = (*this).get_impl(); match IContactAggregationContact_Impl::NetworkSourceIdString(this) { Ok(ok__) => { - core::ptr::write(ppnetworksourceid, core::mem::transmute(ok__)); + ppnetworksourceid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -343,7 +343,7 @@ impl IContactAggregationContact_Vtbl { let this = (*this).get_impl(); match IContactAggregationContact_Impl::RemoteObjectId(this) { Ok(ok__) => { - core::ptr::write(ppremoteobjectid, core::mem::transmute(ok__)); + ppremoteobjectid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -359,7 +359,7 @@ impl IContactAggregationContact_Vtbl { let this = (*this).get_impl(); match IContactAggregationContact_Impl::SyncIdentityHash(this) { Ok(ok__) => { - core::ptr::write(ppsyncidentityhash, core::mem::transmute(ok__)); + ppsyncidentityhash.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -411,7 +411,7 @@ impl IContactAggregationContactCollection_Vtbl { let this = (*this).get_impl(); match IContactAggregationContactCollection_Impl::FindFirst(this) { Ok(ok__) => { - core::ptr::write(ppitem, core::mem::transmute(ok__)); + ppitem.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -422,7 +422,7 @@ impl IContactAggregationContactCollection_Vtbl { let this = (*this).get_impl(); match IContactAggregationContactCollection_Impl::FindNext(this) { Ok(ok__) => { - core::ptr::write(ppitem, core::mem::transmute(ok__)); + ppitem.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -433,7 +433,7 @@ impl IContactAggregationContactCollection_Vtbl { let this = (*this).get_impl(); match IContactAggregationContactCollection_Impl::FindFirstByIdentityHash(this, core::mem::transmute(&psourcetype), core::mem::transmute(&paccountid), core::mem::transmute_copy(&pidentityhash)) { Ok(ok__) => { - core::ptr::write(ppitem, core::mem::transmute(ok__)); + ppitem.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -444,7 +444,7 @@ impl IContactAggregationContactCollection_Vtbl { let this = (*this).get_impl(); match IContactAggregationContactCollection_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(pcount, core::mem::transmute(ok__)); + pcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -455,7 +455,7 @@ impl IContactAggregationContactCollection_Vtbl { let this = (*this).get_impl(); match IContactAggregationContactCollection_Impl::FindFirstByRemoteId(this, core::mem::transmute(&psourcetype), core::mem::transmute(&paccountid), core::mem::transmute_copy(&premoteobjectid)) { Ok(ok__) => { - core::ptr::write(ppitem, core::mem::transmute(ok__)); + ppitem.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -514,7 +514,7 @@ impl IContactAggregationGroup_Vtbl { let this = (*this).get_impl(); match IContactAggregationGroup_Impl::Members(this) { Ok(ok__) => { - core::ptr::write(ppaggregatecontactcollection, core::mem::transmute(ok__)); + ppaggregatecontactcollection.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -525,7 +525,7 @@ impl IContactAggregationGroup_Vtbl { let this = (*this).get_impl(); match IContactAggregationGroup_Impl::GlobalObjectId(this) { Ok(ok__) => { - core::ptr::write(pglobalobjectid, core::mem::transmute(ok__)); + pglobalobjectid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -541,7 +541,7 @@ impl IContactAggregationGroup_Vtbl { let this = (*this).get_impl(); match IContactAggregationGroup_Impl::Id(this) { Ok(ok__) => { - core::ptr::write(ppitemid, core::mem::transmute(ok__)); + ppitemid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -552,7 +552,7 @@ impl IContactAggregationGroup_Vtbl { let this = (*this).get_impl(); match IContactAggregationGroup_Impl::Name(this) { Ok(ok__) => { - core::ptr::write(ppname, core::mem::transmute(ok__)); + ppname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -595,7 +595,7 @@ impl IContactAggregationGroupCollection_Vtbl { let this = (*this).get_impl(); match IContactAggregationGroupCollection_Impl::FindFirst(this) { Ok(ok__) => { - core::ptr::write(ppgroup, core::mem::transmute(ok__)); + ppgroup.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -606,7 +606,7 @@ impl IContactAggregationGroupCollection_Vtbl { let this = (*this).get_impl(); match IContactAggregationGroupCollection_Impl::FindFirstByGlobalObjectId(this, core::mem::transmute_copy(&pglobalobjectid)) { Ok(ok__) => { - core::ptr::write(ppgroup, core::mem::transmute(ok__)); + ppgroup.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -617,7 +617,7 @@ impl IContactAggregationGroupCollection_Vtbl { let this = (*this).get_impl(); match IContactAggregationGroupCollection_Impl::FindNext(this) { Ok(ok__) => { - core::ptr::write(ppgroup, core::mem::transmute(ok__)); + ppgroup.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -628,7 +628,7 @@ impl IContactAggregationGroupCollection_Vtbl { let this = (*this).get_impl(); match IContactAggregationGroupCollection_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(pcount, core::mem::transmute(ok__)); + pcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -683,7 +683,7 @@ impl IContactAggregationLink_Vtbl { let this = (*this).get_impl(); match IContactAggregationLink_Impl::AccountId(this) { Ok(ok__) => { - core::ptr::write(ppaccountid, core::mem::transmute(ok__)); + ppaccountid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -699,7 +699,7 @@ impl IContactAggregationLink_Vtbl { let this = (*this).get_impl(); match IContactAggregationLink_Impl::Id(this) { Ok(ok__) => { - core::ptr::write(ppitemid, core::mem::transmute(ok__)); + ppitemid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -710,7 +710,7 @@ impl IContactAggregationLink_Vtbl { let this = (*this).get_impl(); match IContactAggregationLink_Impl::IsLinkResolved(this) { Ok(ok__) => { - core::ptr::write(pislinkresolved, core::mem::transmute(ok__)); + pislinkresolved.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -726,7 +726,7 @@ impl IContactAggregationLink_Vtbl { let this = (*this).get_impl(); match IContactAggregationLink_Impl::NetworkSourceIdString(this) { Ok(ok__) => { - core::ptr::write(ppnetworksourceid, core::mem::transmute(ok__)); + ppnetworksourceid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -742,7 +742,7 @@ impl IContactAggregationLink_Vtbl { let this = (*this).get_impl(); match IContactAggregationLink_Impl::RemoteObjectId(this) { Ok(ok__) => { - core::ptr::write(ppremoteobjectid, core::mem::transmute(ok__)); + ppremoteobjectid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -758,7 +758,7 @@ impl IContactAggregationLink_Vtbl { let this = (*this).get_impl(); match IContactAggregationLink_Impl::ServerPerson(this) { Ok(ok__) => { - core::ptr::write(ppserverpersonid, core::mem::transmute(ok__)); + ppserverpersonid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -774,7 +774,7 @@ impl IContactAggregationLink_Vtbl { let this = (*this).get_impl(); match IContactAggregationLink_Impl::ServerPersonBaseline(this) { Ok(ok__) => { - core::ptr::write(ppserverpersonid, core::mem::transmute(ok__)); + ppserverpersonid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -790,7 +790,7 @@ impl IContactAggregationLink_Vtbl { let this = (*this).get_impl(); match IContactAggregationLink_Impl::SyncIdentityHash(this) { Ok(ok__) => { - core::ptr::write(ppsyncidentityhash, core::mem::transmute(ok__)); + ppsyncidentityhash.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -840,7 +840,7 @@ impl IContactAggregationLinkCollection_Vtbl { let this = (*this).get_impl(); match IContactAggregationLinkCollection_Impl::FindFirst(this) { Ok(ok__) => { - core::ptr::write(ppservercontactlink, core::mem::transmute(ok__)); + ppservercontactlink.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -851,7 +851,7 @@ impl IContactAggregationLinkCollection_Vtbl { let this = (*this).get_impl(); match IContactAggregationLinkCollection_Impl::FindFirstByRemoteId(this, core::mem::transmute(&psourcetype), core::mem::transmute(&paccountid), core::mem::transmute_copy(&premoteid)) { Ok(ok__) => { - core::ptr::write(ppservercontactlink, core::mem::transmute(ok__)); + ppservercontactlink.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -862,7 +862,7 @@ impl IContactAggregationLinkCollection_Vtbl { let this = (*this).get_impl(); match IContactAggregationLinkCollection_Impl::FindNext(this) { Ok(ok__) => { - core::ptr::write(ppservercontactlink, core::mem::transmute(ok__)); + ppservercontactlink.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -873,7 +873,7 @@ impl IContactAggregationLinkCollection_Vtbl { let this = (*this).get_impl(); match IContactAggregationLinkCollection_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(pcount, core::mem::transmute(ok__)); + pcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -921,7 +921,7 @@ impl IContactAggregationManager_Vtbl { let this = (*this).get_impl(); match IContactAggregationManager_Impl::CreateOrOpenGroup(this, core::mem::transmute(&pgroupname), core::mem::transmute_copy(&options), core::mem::transmute_copy(&pcreatedgroup)) { Ok(ok__) => { - core::ptr::write(ppgroup, core::mem::transmute(ok__)); + ppgroup.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -932,7 +932,7 @@ impl IContactAggregationManager_Vtbl { let this = (*this).get_impl(); match IContactAggregationManager_Impl::CreateExternalContact(this) { Ok(ok__) => { - core::ptr::write(ppitem, core::mem::transmute(ok__)); + ppitem.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -943,7 +943,7 @@ impl IContactAggregationManager_Vtbl { let this = (*this).get_impl(); match IContactAggregationManager_Impl::CreateServerPerson(this) { Ok(ok__) => { - core::ptr::write(ppserverperson, core::mem::transmute(ok__)); + ppserverperson.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -954,7 +954,7 @@ impl IContactAggregationManager_Vtbl { let this = (*this).get_impl(); match IContactAggregationManager_Impl::CreateServerContactLink(this) { Ok(ok__) => { - core::ptr::write(ppservercontactlink, core::mem::transmute(ok__)); + ppservercontactlink.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -970,7 +970,7 @@ impl IContactAggregationManager_Vtbl { let this = (*this).get_impl(); match IContactAggregationManager_Impl::OpenAggregateContact(this, core::mem::transmute(&pitemid)) { Ok(ok__) => { - core::ptr::write(ppitem, core::mem::transmute(ok__)); + ppitem.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -981,7 +981,7 @@ impl IContactAggregationManager_Vtbl { let this = (*this).get_impl(); match IContactAggregationManager_Impl::OpenContact(this, core::mem::transmute(&pitemid)) { Ok(ok__) => { - core::ptr::write(ppitem, core::mem::transmute(ok__)); + ppitem.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -992,7 +992,7 @@ impl IContactAggregationManager_Vtbl { let this = (*this).get_impl(); match IContactAggregationManager_Impl::OpenServerContactLink(this, core::mem::transmute(&pitemid)) { Ok(ok__) => { - core::ptr::write(ppitem, core::mem::transmute(ok__)); + ppitem.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1003,7 +1003,7 @@ impl IContactAggregationManager_Vtbl { let this = (*this).get_impl(); match IContactAggregationManager_Impl::OpenServerPerson(this, core::mem::transmute(&pitemid)) { Ok(ok__) => { - core::ptr::write(ppitem, core::mem::transmute(ok__)); + ppitem.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1014,7 +1014,7 @@ impl IContactAggregationManager_Vtbl { let this = (*this).get_impl(); match IContactAggregationManager_Impl::get_Contacts(this, core::mem::transmute_copy(&options)) { Ok(ok__) => { - core::ptr::write(ppitems, core::mem::transmute(ok__)); + ppitems.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1025,7 +1025,7 @@ impl IContactAggregationManager_Vtbl { let this = (*this).get_impl(); match IContactAggregationManager_Impl::get_AggregateContacts(this, core::mem::transmute_copy(&options)) { Ok(ok__) => { - core::ptr::write(ppaggregates, core::mem::transmute(ok__)); + ppaggregates.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1036,7 +1036,7 @@ impl IContactAggregationManager_Vtbl { let this = (*this).get_impl(); match IContactAggregationManager_Impl::get_Groups(this, core::mem::transmute_copy(&options)) { Ok(ok__) => { - core::ptr::write(ppgroups, core::mem::transmute(ok__)); + ppgroups.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1047,7 +1047,7 @@ impl IContactAggregationManager_Vtbl { let this = (*this).get_impl(); match IContactAggregationManager_Impl::ServerPersons(this) { Ok(ok__) => { - core::ptr::write(ppserverpersoncollection, core::mem::transmute(ok__)); + ppserverpersoncollection.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1058,7 +1058,7 @@ impl IContactAggregationManager_Vtbl { let this = (*this).get_impl(); match IContactAggregationManager_Impl::get_ServerContactLinks(this, core::mem::transmute(&ppersonitemid)) { Ok(ok__) => { - core::ptr::write(ppservercontactlinkcollection, core::mem::transmute(ok__)); + ppservercontactlinkcollection.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1130,7 +1130,7 @@ impl IContactAggregationServerPerson_Vtbl { let this = (*this).get_impl(); match IContactAggregationServerPerson_Impl::AggregateId(this) { Ok(ok__) => { - core::ptr::write(ppaggregateid, core::mem::transmute(ok__)); + ppaggregateid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1146,7 +1146,7 @@ impl IContactAggregationServerPerson_Vtbl { let this = (*this).get_impl(); match IContactAggregationServerPerson_Impl::AntiLink(this) { Ok(ok__) => { - core::ptr::write(ppantilink, core::mem::transmute(ok__)); + ppantilink.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1162,7 +1162,7 @@ impl IContactAggregationServerPerson_Vtbl { let this = (*this).get_impl(); match IContactAggregationServerPerson_Impl::AntiLinkBaseline(this) { Ok(ok__) => { - core::ptr::write(ppantilink, core::mem::transmute(ok__)); + ppantilink.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1178,7 +1178,7 @@ impl IContactAggregationServerPerson_Vtbl { let this = (*this).get_impl(); match IContactAggregationServerPerson_Impl::FavoriteOrder(this) { Ok(ok__) => { - core::ptr::write(pfavoriteorder, core::mem::transmute(ok__)); + pfavoriteorder.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1194,7 +1194,7 @@ impl IContactAggregationServerPerson_Vtbl { let this = (*this).get_impl(); match IContactAggregationServerPerson_Impl::FavoriteOrderBaseline(this) { Ok(ok__) => { - core::ptr::write(pfavoriteorder, core::mem::transmute(ok__)); + pfavoriteorder.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1210,7 +1210,7 @@ impl IContactAggregationServerPerson_Vtbl { let this = (*this).get_impl(); match IContactAggregationServerPerson_Impl::Groups(this) { Ok(ok__) => { - core::ptr::write(pgroups, core::mem::transmute(ok__)); + pgroups.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1226,7 +1226,7 @@ impl IContactAggregationServerPerson_Vtbl { let this = (*this).get_impl(); match IContactAggregationServerPerson_Impl::GroupsBaseline(this) { Ok(ok__) => { - core::ptr::write(ppgroups, core::mem::transmute(ok__)); + ppgroups.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1242,7 +1242,7 @@ impl IContactAggregationServerPerson_Vtbl { let this = (*this).get_impl(); match IContactAggregationServerPerson_Impl::Id(this) { Ok(ok__) => { - core::ptr::write(ppid, core::mem::transmute(ok__)); + ppid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1253,7 +1253,7 @@ impl IContactAggregationServerPerson_Vtbl { let this = (*this).get_impl(); match IContactAggregationServerPerson_Impl::IsTombstone(this) { Ok(ok__) => { - core::ptr::write(pistombstone, core::mem::transmute(ok__)); + pistombstone.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1269,7 +1269,7 @@ impl IContactAggregationServerPerson_Vtbl { let this = (*this).get_impl(); match IContactAggregationServerPerson_Impl::LinkedAggregateId(this) { Ok(ok__) => { - core::ptr::write(pplinkedaggregateid, core::mem::transmute(ok__)); + pplinkedaggregateid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1285,7 +1285,7 @@ impl IContactAggregationServerPerson_Vtbl { let this = (*this).get_impl(); match IContactAggregationServerPerson_Impl::ObjectId(this) { Ok(ok__) => { - core::ptr::write(ppobjectid, core::mem::transmute(ok__)); + ppobjectid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1343,7 +1343,7 @@ impl IContactAggregationServerPersonCollection_Vtbl { let this = (*this).get_impl(); match IContactAggregationServerPersonCollection_Impl::FindFirst(this) { Ok(ok__) => { - core::ptr::write(ppserverperson, core::mem::transmute(ok__)); + ppserverperson.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1354,7 +1354,7 @@ impl IContactAggregationServerPersonCollection_Vtbl { let this = (*this).get_impl(); match IContactAggregationServerPersonCollection_Impl::FindFirstByServerId(this, core::mem::transmute(&pserverid)) { Ok(ok__) => { - core::ptr::write(ppserverperson, core::mem::transmute(ok__)); + ppserverperson.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1365,7 +1365,7 @@ impl IContactAggregationServerPersonCollection_Vtbl { let this = (*this).get_impl(); match IContactAggregationServerPersonCollection_Impl::FindFirstByAggregateId(this, core::mem::transmute(&paggregateid)) { Ok(ok__) => { - core::ptr::write(ppserverperson, core::mem::transmute(ok__)); + ppserverperson.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1376,7 +1376,7 @@ impl IContactAggregationServerPersonCollection_Vtbl { let this = (*this).get_impl(); match IContactAggregationServerPersonCollection_Impl::FindFirstByLinkedAggregateId(this, core::mem::transmute(&paggregateid)) { Ok(ok__) => { - core::ptr::write(ppserverperson, core::mem::transmute(ok__)); + ppserverperson.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1387,7 +1387,7 @@ impl IContactAggregationServerPersonCollection_Vtbl { let this = (*this).get_impl(); match IContactAggregationServerPersonCollection_Impl::FindNext(this) { Ok(ok__) => { - core::ptr::write(ppserverperson, core::mem::transmute(ok__)); + ppserverperson.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1398,7 +1398,7 @@ impl IContactAggregationServerPersonCollection_Vtbl { let this = (*this).get_impl(); match IContactAggregationServerPersonCollection_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(pcount, core::mem::transmute(ok__)); + pcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1441,7 +1441,7 @@ impl IContactCollection_Vtbl { let this = (*this).get_impl(); match IContactCollection_Impl::GetCurrent(this) { Ok(ok__) => { - core::ptr::write(ppcontact, core::mem::transmute(ok__)); + ppcontact.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1479,7 +1479,7 @@ impl IContactManager_Vtbl { let this = (*this).get_impl(); match IContactManager_Impl::Load(this, core::mem::transmute(&pszcontactid)) { Ok(ok__) => { - core::ptr::write(ppcontact, core::mem::transmute(ok__)); + ppcontact.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1495,7 +1495,7 @@ impl IContactManager_Vtbl { let this = (*this).get_impl(); match IContactManager_Impl::GetMeContact(this) { Ok(ok__) => { - core::ptr::write(ppmecontact, core::mem::transmute(ok__)); + ppmecontact.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1511,7 +1511,7 @@ impl IContactManager_Vtbl { let this = (*this).get_impl(); match IContactManager_Impl::GetContactCollection(this) { Ok(ok__) => { - core::ptr::write(ppcontactcollection, core::mem::transmute(ok__)); + ppcontactcollection.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/Win32/System/DeploymentServices/impl.rs b/crates/libs/windows/src/Windows/Win32/System/DeploymentServices/impl.rs index cad4b46997..8815ce2b0d 100644 --- a/crates/libs/windows/src/Windows/Win32/System/DeploymentServices/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/DeploymentServices/impl.rs @@ -15,7 +15,7 @@ impl IWdsTransportCacheable_Vtbl { let this = (*this).get_impl(); match IWdsTransportCacheable_Impl::Dirty(this) { Ok(ok__) => { - core::ptr::write(pbdirty, core::mem::transmute(ok__)); + pbdirty.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -73,7 +73,7 @@ impl IWdsTransportClient_Vtbl { let this = (*this).get_impl(); match IWdsTransportClient_Impl::Session(this) { Ok(ok__) => { - core::ptr::write(ppwdstransportsession, core::mem::transmute(ok__)); + ppwdstransportsession.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -84,7 +84,7 @@ impl IWdsTransportClient_Vtbl { let this = (*this).get_impl(); match IWdsTransportClient_Impl::Id(this) { Ok(ok__) => { - core::ptr::write(pulid, core::mem::transmute(ok__)); + pulid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -95,7 +95,7 @@ impl IWdsTransportClient_Vtbl { let this = (*this).get_impl(); match IWdsTransportClient_Impl::Name(this) { Ok(ok__) => { - core::ptr::write(pbszname, core::mem::transmute(ok__)); + pbszname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -106,7 +106,7 @@ impl IWdsTransportClient_Vtbl { let this = (*this).get_impl(); match IWdsTransportClient_Impl::MacAddress(this) { Ok(ok__) => { - core::ptr::write(pbszmacaddress, core::mem::transmute(ok__)); + pbszmacaddress.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -117,7 +117,7 @@ impl IWdsTransportClient_Vtbl { let this = (*this).get_impl(); match IWdsTransportClient_Impl::IpAddress(this) { Ok(ok__) => { - core::ptr::write(pbszipaddress, core::mem::transmute(ok__)); + pbszipaddress.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -128,7 +128,7 @@ impl IWdsTransportClient_Vtbl { let this = (*this).get_impl(); match IWdsTransportClient_Impl::PercentCompletion(this) { Ok(ok__) => { - core::ptr::write(pulpercentcompletion, core::mem::transmute(ok__)); + pulpercentcompletion.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -139,7 +139,7 @@ impl IWdsTransportClient_Vtbl { let this = (*this).get_impl(); match IWdsTransportClient_Impl::JoinDuration(this) { Ok(ok__) => { - core::ptr::write(puljoinduration, core::mem::transmute(ok__)); + puljoinduration.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -150,7 +150,7 @@ impl IWdsTransportClient_Vtbl { let this = (*this).get_impl(); match IWdsTransportClient_Impl::CpuUtilization(this) { Ok(ok__) => { - core::ptr::write(pulcpuutilization, core::mem::transmute(ok__)); + pulcpuutilization.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -161,7 +161,7 @@ impl IWdsTransportClient_Vtbl { let this = (*this).get_impl(); match IWdsTransportClient_Impl::MemoryUtilization(this) { Ok(ok__) => { - core::ptr::write(pulmemoryutilization, core::mem::transmute(ok__)); + pulmemoryutilization.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -172,7 +172,7 @@ impl IWdsTransportClient_Vtbl { let this = (*this).get_impl(); match IWdsTransportClient_Impl::NetworkUtilization(this) { Ok(ok__) => { - core::ptr::write(pulnetworkutilization, core::mem::transmute(ok__)); + pulnetworkutilization.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -183,7 +183,7 @@ impl IWdsTransportClient_Vtbl { let this = (*this).get_impl(); match IWdsTransportClient_Impl::UserIdentity(this) { Ok(ok__) => { - core::ptr::write(pbszuseridentity, core::mem::transmute(ok__)); + pbszuseridentity.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -230,7 +230,7 @@ impl IWdsTransportCollection_Vtbl { let this = (*this).get_impl(); match IWdsTransportCollection_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(pulcount, core::mem::transmute(ok__)); + pulcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -241,7 +241,7 @@ impl IWdsTransportCollection_Vtbl { let this = (*this).get_impl(); match IWdsTransportCollection_Impl::get_Item(this, core::mem::transmute_copy(&ulindex)) { Ok(ok__) => { - core::ptr::write(ppval, core::mem::transmute(ok__)); + ppval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -252,7 +252,7 @@ impl IWdsTransportCollection_Vtbl { let this = (*this).get_impl(); match IWdsTransportCollection_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(ppval, core::mem::transmute(ok__)); + ppval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -291,7 +291,7 @@ impl IWdsTransportConfigurationManager_Vtbl { let this = (*this).get_impl(); match IWdsTransportConfigurationManager_Impl::ServicePolicy(this) { Ok(ok__) => { - core::ptr::write(ppwdstransportservicepolicy, core::mem::transmute(ok__)); + ppwdstransportservicepolicy.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -302,7 +302,7 @@ impl IWdsTransportConfigurationManager_Vtbl { let this = (*this).get_impl(); match IWdsTransportConfigurationManager_Impl::DiagnosticsPolicy(this) { Ok(ok__) => { - core::ptr::write(ppwdstransportdiagnosticspolicy, core::mem::transmute(ok__)); + ppwdstransportdiagnosticspolicy.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -313,7 +313,7 @@ impl IWdsTransportConfigurationManager_Vtbl { let this = (*this).get_impl(); match IWdsTransportConfigurationManager_Impl::get_WdsTransportServicesRunning(this, core::mem::transmute_copy(&brealtimestatus)) { Ok(ok__) => { - core::ptr::write(pbservicesrunning, core::mem::transmute(ok__)); + pbservicesrunning.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -380,7 +380,7 @@ impl IWdsTransportConfigurationManager2_Vtbl { let this = (*this).get_impl(); match IWdsTransportConfigurationManager2_Impl::MulticastSessionPolicy(this) { Ok(ok__) => { - core::ptr::write(ppwdstransportmulticastsessionpolicy, core::mem::transmute(ok__)); + ppwdstransportmulticastsessionpolicy.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -413,7 +413,7 @@ impl IWdsTransportContent_Vtbl { let this = (*this).get_impl(); match IWdsTransportContent_Impl::Namespace(this) { Ok(ok__) => { - core::ptr::write(ppwdstransportnamespace, core::mem::transmute(ok__)); + ppwdstransportnamespace.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -424,7 +424,7 @@ impl IWdsTransportContent_Vtbl { let this = (*this).get_impl(); match IWdsTransportContent_Impl::Id(this) { Ok(ok__) => { - core::ptr::write(pulid, core::mem::transmute(ok__)); + pulid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -435,7 +435,7 @@ impl IWdsTransportContent_Vtbl { let this = (*this).get_impl(); match IWdsTransportContent_Impl::Name(this) { Ok(ok__) => { - core::ptr::write(pbszname, core::mem::transmute(ok__)); + pbszname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -446,7 +446,7 @@ impl IWdsTransportContent_Vtbl { let this = (*this).get_impl(); match IWdsTransportContent_Impl::RetrieveSessions(this) { Ok(ok__) => { - core::ptr::write(ppwdstransportsessions, core::mem::transmute(ok__)); + ppwdstransportsessions.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -487,7 +487,7 @@ impl IWdsTransportContentProvider_Vtbl { let this = (*this).get_impl(); match IWdsTransportContentProvider_Impl::Name(this) { Ok(ok__) => { - core::ptr::write(pbszname, core::mem::transmute(ok__)); + pbszname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -498,7 +498,7 @@ impl IWdsTransportContentProvider_Vtbl { let this = (*this).get_impl(); match IWdsTransportContentProvider_Impl::Description(this) { Ok(ok__) => { - core::ptr::write(pbszdescription, core::mem::transmute(ok__)); + pbszdescription.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -509,7 +509,7 @@ impl IWdsTransportContentProvider_Vtbl { let this = (*this).get_impl(); match IWdsTransportContentProvider_Impl::FilePath(this) { Ok(ok__) => { - core::ptr::write(pbszfilepath, core::mem::transmute(ok__)); + pbszfilepath.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -520,7 +520,7 @@ impl IWdsTransportContentProvider_Vtbl { let this = (*this).get_impl(); match IWdsTransportContentProvider_Impl::InitializationRoutine(this) { Ok(ok__) => { - core::ptr::write(pbszinitializationroutine, core::mem::transmute(ok__)); + pbszinitializationroutine.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -555,7 +555,7 @@ impl IWdsTransportDiagnosticsPolicy_Vtbl { let this = (*this).get_impl(); match IWdsTransportDiagnosticsPolicy_Impl::Enabled(this) { Ok(ok__) => { - core::ptr::write(pbenabled, core::mem::transmute(ok__)); + pbenabled.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -571,7 +571,7 @@ impl IWdsTransportDiagnosticsPolicy_Vtbl { let this = (*this).get_impl(); match IWdsTransportDiagnosticsPolicy_Impl::Components(this) { Ok(ok__) => { - core::ptr::write(pulcomponents, core::mem::transmute(ok__)); + pulcomponents.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -608,7 +608,7 @@ impl IWdsTransportManager_Vtbl { let this = (*this).get_impl(); match IWdsTransportManager_Impl::GetWdsTransportServer(this, core::mem::transmute(&bszservername)) { Ok(ok__) => { - core::ptr::write(ppwdstransportserver, core::mem::transmute(ok__)); + ppwdstransportserver.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -641,7 +641,7 @@ impl IWdsTransportMulticastSessionPolicy_Vtbl { let this = (*this).get_impl(); match IWdsTransportMulticastSessionPolicy_Impl::SlowClientHandling(this) { Ok(ok__) => { - core::ptr::write(pslowclienthandling, core::mem::transmute(ok__)); + pslowclienthandling.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -657,7 +657,7 @@ impl IWdsTransportMulticastSessionPolicy_Vtbl { let this = (*this).get_impl(); match IWdsTransportMulticastSessionPolicy_Impl::AutoDisconnectThreshold(this) { Ok(ok__) => { - core::ptr::write(pulthreshold, core::mem::transmute(ok__)); + pulthreshold.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -673,7 +673,7 @@ impl IWdsTransportMulticastSessionPolicy_Vtbl { let this = (*this).get_impl(); match IWdsTransportMulticastSessionPolicy_Impl::MultistreamStreamCount(this) { Ok(ok__) => { - core::ptr::write(pulstreamcount, core::mem::transmute(ok__)); + pulstreamcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -689,7 +689,7 @@ impl IWdsTransportMulticastSessionPolicy_Vtbl { let this = (*this).get_impl(); match IWdsTransportMulticastSessionPolicy_Impl::SlowClientFallback(this) { Ok(ok__) => { - core::ptr::write(pbclientfallback, core::mem::transmute(ok__)); + pbclientfallback.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -750,7 +750,7 @@ impl IWdsTransportNamespace_Vtbl { let this = (*this).get_impl(); match IWdsTransportNamespace_Impl::Type(this) { Ok(ok__) => { - core::ptr::write(ptype, core::mem::transmute(ok__)); + ptype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -761,7 +761,7 @@ impl IWdsTransportNamespace_Vtbl { let this = (*this).get_impl(); match IWdsTransportNamespace_Impl::Id(this) { Ok(ok__) => { - core::ptr::write(pulid, core::mem::transmute(ok__)); + pulid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -772,7 +772,7 @@ impl IWdsTransportNamespace_Vtbl { let this = (*this).get_impl(); match IWdsTransportNamespace_Impl::Name(this) { Ok(ok__) => { - core::ptr::write(pbszname, core::mem::transmute(ok__)); + pbszname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -788,7 +788,7 @@ impl IWdsTransportNamespace_Vtbl { let this = (*this).get_impl(); match IWdsTransportNamespace_Impl::FriendlyName(this) { Ok(ok__) => { - core::ptr::write(pbszfriendlyname, core::mem::transmute(ok__)); + pbszfriendlyname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -804,7 +804,7 @@ impl IWdsTransportNamespace_Vtbl { let this = (*this).get_impl(); match IWdsTransportNamespace_Impl::Description(this) { Ok(ok__) => { - core::ptr::write(pbszdescription, core::mem::transmute(ok__)); + pbszdescription.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -820,7 +820,7 @@ impl IWdsTransportNamespace_Vtbl { let this = (*this).get_impl(); match IWdsTransportNamespace_Impl::ContentProvider(this) { Ok(ok__) => { - core::ptr::write(pbszcontentprovider, core::mem::transmute(ok__)); + pbszcontentprovider.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -836,7 +836,7 @@ impl IWdsTransportNamespace_Vtbl { let this = (*this).get_impl(); match IWdsTransportNamespace_Impl::Configuration(this) { Ok(ok__) => { - core::ptr::write(pbszconfiguration, core::mem::transmute(ok__)); + pbszconfiguration.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -852,7 +852,7 @@ impl IWdsTransportNamespace_Vtbl { let this = (*this).get_impl(); match IWdsTransportNamespace_Impl::Registered(this) { Ok(ok__) => { - core::ptr::write(pbregistered, core::mem::transmute(ok__)); + pbregistered.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -863,7 +863,7 @@ impl IWdsTransportNamespace_Vtbl { let this = (*this).get_impl(); match IWdsTransportNamespace_Impl::Tombstoned(this) { Ok(ok__) => { - core::ptr::write(pbtombstoned, core::mem::transmute(ok__)); + pbtombstoned.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -874,7 +874,7 @@ impl IWdsTransportNamespace_Vtbl { let this = (*this).get_impl(); match IWdsTransportNamespace_Impl::TombstoneTime(this) { Ok(ok__) => { - core::ptr::write(ptombstonetime, core::mem::transmute(ok__)); + ptombstonetime.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -885,7 +885,7 @@ impl IWdsTransportNamespace_Vtbl { let this = (*this).get_impl(); match IWdsTransportNamespace_Impl::TransmissionStarted(this) { Ok(ok__) => { - core::ptr::write(pbtransmissionstarted, core::mem::transmute(ok__)); + pbtransmissionstarted.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -906,7 +906,7 @@ impl IWdsTransportNamespace_Vtbl { let this = (*this).get_impl(); match IWdsTransportNamespace_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppwdstransportnamespaceclone, core::mem::transmute(ok__)); + ppwdstransportnamespaceclone.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -922,7 +922,7 @@ impl IWdsTransportNamespace_Vtbl { let this = (*this).get_impl(); match IWdsTransportNamespace_Impl::RetrieveContents(this) { Ok(ok__) => { - core::ptr::write(ppwdstransportcontents, core::mem::transmute(ok__)); + ppwdstransportcontents.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -986,7 +986,7 @@ impl IWdsTransportNamespaceManager_Vtbl { let this = (*this).get_impl(); match IWdsTransportNamespaceManager_Impl::CreateNamespace(this, core::mem::transmute_copy(&namespacetype), core::mem::transmute(&bsznamespacename), core::mem::transmute(&bszcontentprovider), core::mem::transmute(&bszconfiguration)) { Ok(ok__) => { - core::ptr::write(ppwdstransportnamespace, core::mem::transmute(ok__)); + ppwdstransportnamespace.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -997,7 +997,7 @@ impl IWdsTransportNamespaceManager_Vtbl { let this = (*this).get_impl(); match IWdsTransportNamespaceManager_Impl::RetrieveNamespace(this, core::mem::transmute(&bsznamespacename)) { Ok(ok__) => { - core::ptr::write(ppwdstransportnamespace, core::mem::transmute(ok__)); + ppwdstransportnamespace.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1008,7 +1008,7 @@ impl IWdsTransportNamespaceManager_Vtbl { let this = (*this).get_impl(); match IWdsTransportNamespaceManager_Impl::RetrieveNamespaces(this, core::mem::transmute(&bszcontentprovider), core::mem::transmute(&bsznamespacename), core::mem::transmute_copy(&bincludetombstones)) { Ok(ok__) => { - core::ptr::write(ppwdstransportnamespaces, core::mem::transmute(ok__)); + ppwdstransportnamespaces.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1062,7 +1062,7 @@ impl IWdsTransportNamespaceScheduledCastAutoStart_Vtbl { let this = (*this).get_impl(); match IWdsTransportNamespaceScheduledCastAutoStart_Impl::MinimumClients(this) { Ok(ok__) => { - core::ptr::write(pulminimumclients, core::mem::transmute(ok__)); + pulminimumclients.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1078,7 +1078,7 @@ impl IWdsTransportNamespaceScheduledCastAutoStart_Vtbl { let this = (*this).get_impl(); match IWdsTransportNamespaceScheduledCastAutoStart_Impl::StartTime(this) { Ok(ok__) => { - core::ptr::write(pstarttime, core::mem::transmute(ok__)); + pstarttime.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1132,7 +1132,7 @@ impl IWdsTransportServer_Vtbl { let this = (*this).get_impl(); match IWdsTransportServer_Impl::Name(this) { Ok(ok__) => { - core::ptr::write(pbszname, core::mem::transmute(ok__)); + pbszname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1143,7 +1143,7 @@ impl IWdsTransportServer_Vtbl { let this = (*this).get_impl(); match IWdsTransportServer_Impl::SetupManager(this) { Ok(ok__) => { - core::ptr::write(ppwdstransportsetupmanager, core::mem::transmute(ok__)); + ppwdstransportsetupmanager.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1154,7 +1154,7 @@ impl IWdsTransportServer_Vtbl { let this = (*this).get_impl(); match IWdsTransportServer_Impl::ConfigurationManager(this) { Ok(ok__) => { - core::ptr::write(ppwdstransportconfigurationmanager, core::mem::transmute(ok__)); + ppwdstransportconfigurationmanager.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1165,7 +1165,7 @@ impl IWdsTransportServer_Vtbl { let this = (*this).get_impl(); match IWdsTransportServer_Impl::NamespaceManager(this) { Ok(ok__) => { - core::ptr::write(ppwdstransportnamespacemanager, core::mem::transmute(ok__)); + ppwdstransportnamespacemanager.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1203,7 +1203,7 @@ impl IWdsTransportServer2_Vtbl { let this = (*this).get_impl(); match IWdsTransportServer2_Impl::TftpManager(this) { Ok(ok__) => { - core::ptr::write(ppwdstransporttftpmanager, core::mem::transmute(ok__)); + ppwdstransporttftpmanager.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1240,7 +1240,7 @@ impl IWdsTransportServicePolicy_Vtbl { let this = (*this).get_impl(); match IWdsTransportServicePolicy_Impl::get_IpAddressSource(this, core::mem::transmute_copy(&addresstype)) { Ok(ok__) => { - core::ptr::write(psourcetype, core::mem::transmute(ok__)); + psourcetype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1256,7 +1256,7 @@ impl IWdsTransportServicePolicy_Vtbl { let this = (*this).get_impl(); match IWdsTransportServicePolicy_Impl::get_StartIpAddress(this, core::mem::transmute_copy(&addresstype)) { Ok(ok__) => { - core::ptr::write(pbszstartipaddress, core::mem::transmute(ok__)); + pbszstartipaddress.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1272,7 +1272,7 @@ impl IWdsTransportServicePolicy_Vtbl { let this = (*this).get_impl(); match IWdsTransportServicePolicy_Impl::get_EndIpAddress(this, core::mem::transmute_copy(&addresstype)) { Ok(ok__) => { - core::ptr::write(pbszendipaddress, core::mem::transmute(ok__)); + pbszendipaddress.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1288,7 +1288,7 @@ impl IWdsTransportServicePolicy_Vtbl { let this = (*this).get_impl(); match IWdsTransportServicePolicy_Impl::StartPort(this) { Ok(ok__) => { - core::ptr::write(pulstartport, core::mem::transmute(ok__)); + pulstartport.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1304,7 +1304,7 @@ impl IWdsTransportServicePolicy_Vtbl { let this = (*this).get_impl(); match IWdsTransportServicePolicy_Impl::EndPort(this) { Ok(ok__) => { - core::ptr::write(pulendport, core::mem::transmute(ok__)); + pulendport.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1320,7 +1320,7 @@ impl IWdsTransportServicePolicy_Vtbl { let this = (*this).get_impl(); match IWdsTransportServicePolicy_Impl::NetworkProfile(this) { Ok(ok__) => { - core::ptr::write(pprofiletype, core::mem::transmute(ok__)); + pprofiletype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1370,7 +1370,7 @@ impl IWdsTransportServicePolicy2_Vtbl { let this = (*this).get_impl(); match IWdsTransportServicePolicy2_Impl::UdpPortPolicy(this) { Ok(ok__) => { - core::ptr::write(pudpportpolicy, core::mem::transmute(ok__)); + pudpportpolicy.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1386,7 +1386,7 @@ impl IWdsTransportServicePolicy2_Vtbl { let this = (*this).get_impl(); match IWdsTransportServicePolicy2_Impl::TftpMaximumBlockSize(this) { Ok(ok__) => { - core::ptr::write(pultftpmaximumblocksize, core::mem::transmute(ok__)); + pultftpmaximumblocksize.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1402,7 +1402,7 @@ impl IWdsTransportServicePolicy2_Vtbl { let this = (*this).get_impl(); match IWdsTransportServicePolicy2_Impl::EnableTftpVariableWindowExtension(this) { Ok(ok__) => { - core::ptr::write(pbenabletftpvariablewindowextension, core::mem::transmute(ok__)); + pbenabletftpvariablewindowextension.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1448,7 +1448,7 @@ impl IWdsTransportSession_Vtbl { let this = (*this).get_impl(); match IWdsTransportSession_Impl::Content(this) { Ok(ok__) => { - core::ptr::write(ppwdstransportcontent, core::mem::transmute(ok__)); + ppwdstransportcontent.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1459,7 +1459,7 @@ impl IWdsTransportSession_Vtbl { let this = (*this).get_impl(); match IWdsTransportSession_Impl::Id(this) { Ok(ok__) => { - core::ptr::write(pulid, core::mem::transmute(ok__)); + pulid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1470,7 +1470,7 @@ impl IWdsTransportSession_Vtbl { let this = (*this).get_impl(); match IWdsTransportSession_Impl::NetworkInterfaceName(this) { Ok(ok__) => { - core::ptr::write(pbsznetworkinterfacename, core::mem::transmute(ok__)); + pbsznetworkinterfacename.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1481,7 +1481,7 @@ impl IWdsTransportSession_Vtbl { let this = (*this).get_impl(); match IWdsTransportSession_Impl::NetworkInterfaceAddress(this) { Ok(ok__) => { - core::ptr::write(pbsznetworkinterfaceaddress, core::mem::transmute(ok__)); + pbsznetworkinterfaceaddress.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1492,7 +1492,7 @@ impl IWdsTransportSession_Vtbl { let this = (*this).get_impl(); match IWdsTransportSession_Impl::TransferRate(this) { Ok(ok__) => { - core::ptr::write(pultransferrate, core::mem::transmute(ok__)); + pultransferrate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1503,7 +1503,7 @@ impl IWdsTransportSession_Vtbl { let this = (*this).get_impl(); match IWdsTransportSession_Impl::MasterClientId(this) { Ok(ok__) => { - core::ptr::write(pulmasterclientid, core::mem::transmute(ok__)); + pulmasterclientid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1514,7 +1514,7 @@ impl IWdsTransportSession_Vtbl { let this = (*this).get_impl(); match IWdsTransportSession_Impl::RetrieveClients(this) { Ok(ok__) => { - core::ptr::write(ppwdstransportclients, core::mem::transmute(ok__)); + ppwdstransportclients.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1559,7 +1559,7 @@ impl IWdsTransportSetupManager_Vtbl { let this = (*this).get_impl(); match IWdsTransportSetupManager_Impl::Version(this) { Ok(ok__) => { - core::ptr::write(pullversion, core::mem::transmute(ok__)); + pullversion.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1570,7 +1570,7 @@ impl IWdsTransportSetupManager_Vtbl { let this = (*this).get_impl(); match IWdsTransportSetupManager_Impl::InstalledFeatures(this) { Ok(ok__) => { - core::ptr::write(pulinstalledfeatures, core::mem::transmute(ok__)); + pulinstalledfeatures.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1581,7 +1581,7 @@ impl IWdsTransportSetupManager_Vtbl { let this = (*this).get_impl(); match IWdsTransportSetupManager_Impl::Protocols(this) { Ok(ok__) => { - core::ptr::write(pulprotocols, core::mem::transmute(ok__)); + pulprotocols.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1625,7 +1625,7 @@ impl IWdsTransportSetupManager2_Vtbl { let this = (*this).get_impl(); match IWdsTransportSetupManager2_Impl::TftpCapabilities(this) { Ok(ok__) => { - core::ptr::write(pultftpcapabilities, core::mem::transmute(ok__)); + pultftpcapabilities.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1636,7 +1636,7 @@ impl IWdsTransportSetupManager2_Vtbl { let this = (*this).get_impl(); match IWdsTransportSetupManager2_Impl::ContentProviders(this) { Ok(ok__) => { - core::ptr::write(ppprovidercollection, core::mem::transmute(ok__)); + ppprovidercollection.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1672,7 +1672,7 @@ impl IWdsTransportTftpClient_Vtbl { let this = (*this).get_impl(); match IWdsTransportTftpClient_Impl::FileName(this) { Ok(ok__) => { - core::ptr::write(pbszfilename, core::mem::transmute(ok__)); + pbszfilename.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1683,7 +1683,7 @@ impl IWdsTransportTftpClient_Vtbl { let this = (*this).get_impl(); match IWdsTransportTftpClient_Impl::IpAddress(this) { Ok(ok__) => { - core::ptr::write(pbszipaddress, core::mem::transmute(ok__)); + pbszipaddress.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1694,7 +1694,7 @@ impl IWdsTransportTftpClient_Vtbl { let this = (*this).get_impl(); match IWdsTransportTftpClient_Impl::Timeout(this) { Ok(ok__) => { - core::ptr::write(pultimeout, core::mem::transmute(ok__)); + pultimeout.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1705,7 +1705,7 @@ impl IWdsTransportTftpClient_Vtbl { let this = (*this).get_impl(); match IWdsTransportTftpClient_Impl::CurrentFileOffset(this) { Ok(ok__) => { - core::ptr::write(pul64currentoffset, core::mem::transmute(ok__)); + pul64currentoffset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1716,7 +1716,7 @@ impl IWdsTransportTftpClient_Vtbl { let this = (*this).get_impl(); match IWdsTransportTftpClient_Impl::FileSize(this) { Ok(ok__) => { - core::ptr::write(pul64filesize, core::mem::transmute(ok__)); + pul64filesize.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1727,7 +1727,7 @@ impl IWdsTransportTftpClient_Vtbl { let this = (*this).get_impl(); match IWdsTransportTftpClient_Impl::BlockSize(this) { Ok(ok__) => { - core::ptr::write(pulblocksize, core::mem::transmute(ok__)); + pulblocksize.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1738,7 +1738,7 @@ impl IWdsTransportTftpClient_Vtbl { let this = (*this).get_impl(); match IWdsTransportTftpClient_Impl::WindowSize(this) { Ok(ok__) => { - core::ptr::write(pulwindowsize, core::mem::transmute(ok__)); + pulwindowsize.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1773,7 +1773,7 @@ impl IWdsTransportTftpManager_Vtbl { let this = (*this).get_impl(); match IWdsTransportTftpManager_Impl::RetrieveTftpClients(this) { Ok(ok__) => { - core::ptr::write(ppwdstransporttftpclients, core::mem::transmute(ok__)); + ppwdstransporttftpclients.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/Win32/System/DesktopSharing/impl.rs b/crates/libs/windows/src/Windows/Win32/System/DesktopSharing/impl.rs index 46f8186b2f..6d6e31f9a6 100644 --- a/crates/libs/windows/src/Windows/Win32/System/DesktopSharing/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/DesktopSharing/impl.rs @@ -17,7 +17,7 @@ impl IRDPSRAPIApplication_Vtbl { let this = (*this).get_impl(); match IRDPSRAPIApplication_Impl::Windows(this) { Ok(ok__) => { - core::ptr::write(pwindowlist, core::mem::transmute(ok__)); + pwindowlist.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -28,7 +28,7 @@ impl IRDPSRAPIApplication_Vtbl { let this = (*this).get_impl(); match IRDPSRAPIApplication_Impl::Id(this) { Ok(ok__) => { - core::ptr::write(pretval, core::mem::transmute(ok__)); + pretval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -39,7 +39,7 @@ impl IRDPSRAPIApplication_Vtbl { let this = (*this).get_impl(); match IRDPSRAPIApplication_Impl::Shared(this) { Ok(ok__) => { - core::ptr::write(pretval, core::mem::transmute(ok__)); + pretval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -55,7 +55,7 @@ impl IRDPSRAPIApplication_Vtbl { let this = (*this).get_impl(); match IRDPSRAPIApplication_Impl::Name(this) { Ok(ok__) => { - core::ptr::write(pretval, core::mem::transmute(ok__)); + pretval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -66,7 +66,7 @@ impl IRDPSRAPIApplication_Vtbl { let this = (*this).get_impl(); match IRDPSRAPIApplication_Impl::Flags(this) { Ok(ok__) => { - core::ptr::write(pdwflags, core::mem::transmute(ok__)); + pdwflags.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -103,7 +103,7 @@ impl IRDPSRAPIApplicationFilter_Vtbl { let this = (*this).get_impl(); match IRDPSRAPIApplicationFilter_Impl::Applications(this) { Ok(ok__) => { - core::ptr::write(papplications, core::mem::transmute(ok__)); + papplications.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -114,7 +114,7 @@ impl IRDPSRAPIApplicationFilter_Vtbl { let this = (*this).get_impl(); match IRDPSRAPIApplicationFilter_Impl::Windows(this) { Ok(ok__) => { - core::ptr::write(pwindows, core::mem::transmute(ok__)); + pwindows.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -125,7 +125,7 @@ impl IRDPSRAPIApplicationFilter_Vtbl { let this = (*this).get_impl(); match IRDPSRAPIApplicationFilter_Impl::Enabled(this) { Ok(ok__) => { - core::ptr::write(pretval, core::mem::transmute(ok__)); + pretval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -163,7 +163,7 @@ impl IRDPSRAPIApplicationList_Vtbl { let this = (*this).get_impl(); match IRDPSRAPIApplicationList_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -174,7 +174,7 @@ impl IRDPSRAPIApplicationList_Vtbl { let this = (*this).get_impl(); match IRDPSRAPIApplicationList_Impl::get_Item(this, core::mem::transmute_copy(&item)) { Ok(ok__) => { - core::ptr::write(papplication, core::mem::transmute(ok__)); + papplication.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -211,7 +211,7 @@ impl IRDPSRAPIAttendee_Vtbl { let this = (*this).get_impl(); match IRDPSRAPIAttendee_Impl::Id(this) { Ok(ok__) => { - core::ptr::write(pid, core::mem::transmute(ok__)); + pid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -222,7 +222,7 @@ impl IRDPSRAPIAttendee_Vtbl { let this = (*this).get_impl(); match IRDPSRAPIAttendee_Impl::RemoteName(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -233,7 +233,7 @@ impl IRDPSRAPIAttendee_Vtbl { let this = (*this).get_impl(); match IRDPSRAPIAttendee_Impl::ControlLevel(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -249,7 +249,7 @@ impl IRDPSRAPIAttendee_Vtbl { let this = (*this).get_impl(); match IRDPSRAPIAttendee_Impl::Invitation(this) { Ok(ok__) => { - core::ptr::write(ppval, core::mem::transmute(ok__)); + ppval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -265,7 +265,7 @@ impl IRDPSRAPIAttendee_Vtbl { let this = (*this).get_impl(); match IRDPSRAPIAttendee_Impl::Flags(this) { Ok(ok__) => { - core::ptr::write(plflags, core::mem::transmute(ok__)); + plflags.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -276,7 +276,7 @@ impl IRDPSRAPIAttendee_Vtbl { let this = (*this).get_impl(); match IRDPSRAPIAttendee_Impl::ConnectivityInfo(this) { Ok(ok__) => { - core::ptr::write(ppval, core::mem::transmute(ok__)); + ppval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -314,7 +314,7 @@ impl IRDPSRAPIAttendeeDisconnectInfo_Vtbl { let this = (*this).get_impl(); match IRDPSRAPIAttendeeDisconnectInfo_Impl::Attendee(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -325,7 +325,7 @@ impl IRDPSRAPIAttendeeDisconnectInfo_Vtbl { let this = (*this).get_impl(); match IRDPSRAPIAttendeeDisconnectInfo_Impl::Reason(this) { Ok(ok__) => { - core::ptr::write(preason, core::mem::transmute(ok__)); + preason.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -336,7 +336,7 @@ impl IRDPSRAPIAttendeeDisconnectInfo_Vtbl { let this = (*this).get_impl(); match IRDPSRAPIAttendeeDisconnectInfo_Impl::Code(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -368,7 +368,7 @@ impl IRDPSRAPIAttendeeManager_Vtbl { let this = (*this).get_impl(); match IRDPSRAPIAttendeeManager_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -379,7 +379,7 @@ impl IRDPSRAPIAttendeeManager_Vtbl { let this = (*this).get_impl(); match IRDPSRAPIAttendeeManager_Impl::get_Item(this, core::mem::transmute_copy(&id)) { Ok(ok__) => { - core::ptr::write(ppitem, core::mem::transmute(ok__)); + ppitem.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -410,7 +410,7 @@ impl IRDPSRAPIAudioStream_Vtbl { let this = (*this).get_impl(); match IRDPSRAPIAudioStream_Impl::Initialize(this) { Ok(ok__) => { - core::ptr::write(pnperiodinhundrednsintervals, core::mem::transmute(ok__)); + pnperiodinhundrednsintervals.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -463,7 +463,7 @@ impl IRDPSRAPIClipboardUseEvents_Vtbl { let this = (*this).get_impl(); match IRDPSRAPIClipboardUseEvents_Impl::OnPasteFromClipboard(this, core::mem::transmute_copy(&clipboardformat), windows_core::from_raw_borrowed(&pattendee)) { Ok(ok__) => { - core::ptr::write(pretval, core::mem::transmute(ok__)); + pretval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -492,7 +492,7 @@ impl IRDPSRAPIDebug_Vtbl { let this = (*this).get_impl(); match IRDPSRAPIDebug_Impl::CLXCmdLine(this) { Ok(ok__) => { - core::ptr::write(pclxcmdline, core::mem::transmute(ok__)); + pclxcmdline.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -525,7 +525,7 @@ impl IRDPSRAPIFrameBuffer_Vtbl { let this = (*this).get_impl(); match IRDPSRAPIFrameBuffer_Impl::Width(this) { Ok(ok__) => { - core::ptr::write(plwidth, core::mem::transmute(ok__)); + plwidth.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -536,7 +536,7 @@ impl IRDPSRAPIFrameBuffer_Vtbl { let this = (*this).get_impl(); match IRDPSRAPIFrameBuffer_Impl::Height(this) { Ok(ok__) => { - core::ptr::write(plheight, core::mem::transmute(ok__)); + plheight.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -547,7 +547,7 @@ impl IRDPSRAPIFrameBuffer_Vtbl { let this = (*this).get_impl(); match IRDPSRAPIFrameBuffer_Impl::Bpp(this) { Ok(ok__) => { - core::ptr::write(plbpp, core::mem::transmute(ok__)); + plbpp.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -558,7 +558,7 @@ impl IRDPSRAPIFrameBuffer_Vtbl { let this = (*this).get_impl(); match IRDPSRAPIFrameBuffer_Impl::GetFrameBufferBits(this, core::mem::transmute_copy(&x), core::mem::transmute_copy(&y), core::mem::transmute_copy(&width), core::mem::transmute_copy(&heigth)) { Ok(ok__) => { - core::ptr::write(ppbits, core::mem::transmute(ok__)); + ppbits.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -596,7 +596,7 @@ impl IRDPSRAPIInvitation_Vtbl { let this = (*this).get_impl(); match IRDPSRAPIInvitation_Impl::ConnectionString(this) { Ok(ok__) => { - core::ptr::write(pbstrval, core::mem::transmute(ok__)); + pbstrval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -607,7 +607,7 @@ impl IRDPSRAPIInvitation_Vtbl { let this = (*this).get_impl(); match IRDPSRAPIInvitation_Impl::GroupName(this) { Ok(ok__) => { - core::ptr::write(pbstrval, core::mem::transmute(ok__)); + pbstrval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -618,7 +618,7 @@ impl IRDPSRAPIInvitation_Vtbl { let this = (*this).get_impl(); match IRDPSRAPIInvitation_Impl::Password(this) { Ok(ok__) => { - core::ptr::write(pbstrval, core::mem::transmute(ok__)); + pbstrval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -629,7 +629,7 @@ impl IRDPSRAPIInvitation_Vtbl { let this = (*this).get_impl(); match IRDPSRAPIInvitation_Impl::AttendeeLimit(this) { Ok(ok__) => { - core::ptr::write(pretval, core::mem::transmute(ok__)); + pretval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -645,7 +645,7 @@ impl IRDPSRAPIInvitation_Vtbl { let this = (*this).get_impl(); match IRDPSRAPIInvitation_Impl::Revoked(this) { Ok(ok__) => { - core::ptr::write(pretval, core::mem::transmute(ok__)); + pretval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -688,7 +688,7 @@ impl IRDPSRAPIInvitationManager_Vtbl { let this = (*this).get_impl(); match IRDPSRAPIInvitationManager_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -699,7 +699,7 @@ impl IRDPSRAPIInvitationManager_Vtbl { let this = (*this).get_impl(); match IRDPSRAPIInvitationManager_Impl::get_Item(this, core::mem::transmute(&item)) { Ok(ok__) => { - core::ptr::write(ppinvitation, core::mem::transmute(ok__)); + ppinvitation.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -710,7 +710,7 @@ impl IRDPSRAPIInvitationManager_Vtbl { let this = (*this).get_impl(); match IRDPSRAPIInvitationManager_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(pretval, core::mem::transmute(ok__)); + pretval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -721,7 +721,7 @@ impl IRDPSRAPIInvitationManager_Vtbl { let this = (*this).get_impl(); match IRDPSRAPIInvitationManager_Impl::CreateInvitation(this, core::mem::transmute(&bstrauthstring), core::mem::transmute(&bstrgroupname), core::mem::transmute(&bstrpassword), core::mem::transmute_copy(&attendeelimit)) { Ok(ok__) => { - core::ptr::write(ppinvitation, core::mem::transmute(ok__)); + ppinvitation.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -767,7 +767,7 @@ impl IRDPSRAPIPerfCounterLoggingManager_Vtbl { let this = (*this).get_impl(); match IRDPSRAPIPerfCounterLoggingManager_Impl::CreateLogger(this, core::mem::transmute(&bstrcountername)) { Ok(ok__) => { - core::ptr::write(pplogger, core::mem::transmute(ok__)); + pplogger.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -794,7 +794,7 @@ impl IRDPSRAPISessionProperties_Vtbl { let this = (*this).get_impl(); match IRDPSRAPISessionProperties_Impl::get_Property(this, core::mem::transmute(&propertyname)) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -857,7 +857,7 @@ impl IRDPSRAPISharingSession_Vtbl { let this = (*this).get_impl(); match IRDPSRAPISharingSession_Impl::ColorDepth(this) { Ok(ok__) => { - core::ptr::write(pcolordepth, core::mem::transmute(ok__)); + pcolordepth.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -868,7 +868,7 @@ impl IRDPSRAPISharingSession_Vtbl { let this = (*this).get_impl(); match IRDPSRAPISharingSession_Impl::Properties(this) { Ok(ok__) => { - core::ptr::write(ppval, core::mem::transmute(ok__)); + ppval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -879,7 +879,7 @@ impl IRDPSRAPISharingSession_Vtbl { let this = (*this).get_impl(); match IRDPSRAPISharingSession_Impl::Attendees(this) { Ok(ok__) => { - core::ptr::write(ppval, core::mem::transmute(ok__)); + ppval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -890,7 +890,7 @@ impl IRDPSRAPISharingSession_Vtbl { let this = (*this).get_impl(); match IRDPSRAPISharingSession_Impl::Invitations(this) { Ok(ok__) => { - core::ptr::write(ppval, core::mem::transmute(ok__)); + ppval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -901,7 +901,7 @@ impl IRDPSRAPISharingSession_Vtbl { let this = (*this).get_impl(); match IRDPSRAPISharingSession_Impl::ApplicationFilter(this) { Ok(ok__) => { - core::ptr::write(ppval, core::mem::transmute(ok__)); + ppval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -912,7 +912,7 @@ impl IRDPSRAPISharingSession_Vtbl { let this = (*this).get_impl(); match IRDPSRAPISharingSession_Impl::VirtualChannelManager(this) { Ok(ok__) => { - core::ptr::write(ppval, core::mem::transmute(ok__)); + ppval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -986,7 +986,7 @@ impl IRDPSRAPISharingSession2_Vtbl { let this = (*this).get_impl(); match IRDPSRAPISharingSession2_Impl::FrameBuffer(this) { Ok(ok__) => { - core::ptr::write(ppval, core::mem::transmute(ok__)); + ppval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1026,7 +1026,7 @@ impl IRDPSRAPITcpConnectionInfo_Vtbl { let this = (*this).get_impl(); match IRDPSRAPITcpConnectionInfo_Impl::Protocol(this) { Ok(ok__) => { - core::ptr::write(plprotocol, core::mem::transmute(ok__)); + plprotocol.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1037,7 +1037,7 @@ impl IRDPSRAPITcpConnectionInfo_Vtbl { let this = (*this).get_impl(); match IRDPSRAPITcpConnectionInfo_Impl::LocalPort(this) { Ok(ok__) => { - core::ptr::write(plport, core::mem::transmute(ok__)); + plport.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1048,7 +1048,7 @@ impl IRDPSRAPITcpConnectionInfo_Vtbl { let this = (*this).get_impl(); match IRDPSRAPITcpConnectionInfo_Impl::LocalIP(this) { Ok(ok__) => { - core::ptr::write(pbsrlocalip, core::mem::transmute(ok__)); + pbsrlocalip.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1059,7 +1059,7 @@ impl IRDPSRAPITcpConnectionInfo_Vtbl { let this = (*this).get_impl(); match IRDPSRAPITcpConnectionInfo_Impl::PeerPort(this) { Ok(ok__) => { - core::ptr::write(plport, core::mem::transmute(ok__)); + plport.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1070,7 +1070,7 @@ impl IRDPSRAPITcpConnectionInfo_Vtbl { let this = (*this).get_impl(); match IRDPSRAPITcpConnectionInfo_Impl::PeerIP(this) { Ok(ok__) => { - core::ptr::write(pbstrip, core::mem::transmute(ok__)); + pbstrip.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1105,7 +1105,7 @@ impl IRDPSRAPITransportStream_Vtbl { let this = (*this).get_impl(); match IRDPSRAPITransportStream_Impl::AllocBuffer(this, core::mem::transmute_copy(&maxpayload)) { Ok(ok__) => { - core::ptr::write(ppbuffer, core::mem::transmute(ok__)); + ppbuffer.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1170,7 +1170,7 @@ impl IRDPSRAPITransportStreamBuffer_Vtbl { let this = (*this).get_impl(); match IRDPSRAPITransportStreamBuffer_Impl::Storage(this) { Ok(ok__) => { - core::ptr::write(ppbstorage, core::mem::transmute(ok__)); + ppbstorage.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1181,7 +1181,7 @@ impl IRDPSRAPITransportStreamBuffer_Vtbl { let this = (*this).get_impl(); match IRDPSRAPITransportStreamBuffer_Impl::StorageSize(this) { Ok(ok__) => { - core::ptr::write(plmaxstore, core::mem::transmute(ok__)); + plmaxstore.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1192,7 +1192,7 @@ impl IRDPSRAPITransportStreamBuffer_Vtbl { let this = (*this).get_impl(); match IRDPSRAPITransportStreamBuffer_Impl::PayloadSize(this) { Ok(ok__) => { - core::ptr::write(plretval, core::mem::transmute(ok__)); + plretval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1208,7 +1208,7 @@ impl IRDPSRAPITransportStreamBuffer_Vtbl { let this = (*this).get_impl(); match IRDPSRAPITransportStreamBuffer_Impl::PayloadOffset(this) { Ok(ok__) => { - core::ptr::write(plretval, core::mem::transmute(ok__)); + plretval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1224,7 +1224,7 @@ impl IRDPSRAPITransportStreamBuffer_Vtbl { let this = (*this).get_impl(); match IRDPSRAPITransportStreamBuffer_Impl::Flags(this) { Ok(ok__) => { - core::ptr::write(plflags, core::mem::transmute(ok__)); + plflags.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1240,7 +1240,7 @@ impl IRDPSRAPITransportStreamBuffer_Vtbl { let this = (*this).get_impl(); match IRDPSRAPITransportStreamBuffer_Impl::Context(this) { Ok(ok__) => { - core::ptr::write(ppcontext, core::mem::transmute(ok__)); + ppcontext.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1340,7 +1340,7 @@ impl IRDPSRAPIViewer_Vtbl { let this = (*this).get_impl(); match IRDPSRAPIViewer_Impl::Attendees(this) { Ok(ok__) => { - core::ptr::write(ppval, core::mem::transmute(ok__)); + ppval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1351,7 +1351,7 @@ impl IRDPSRAPIViewer_Vtbl { let this = (*this).get_impl(); match IRDPSRAPIViewer_Impl::Invitations(this) { Ok(ok__) => { - core::ptr::write(ppval, core::mem::transmute(ok__)); + ppval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1362,7 +1362,7 @@ impl IRDPSRAPIViewer_Vtbl { let this = (*this).get_impl(); match IRDPSRAPIViewer_Impl::ApplicationFilter(this) { Ok(ok__) => { - core::ptr::write(ppval, core::mem::transmute(ok__)); + ppval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1373,7 +1373,7 @@ impl IRDPSRAPIViewer_Vtbl { let this = (*this).get_impl(); match IRDPSRAPIViewer_Impl::VirtualChannelManager(this) { Ok(ok__) => { - core::ptr::write(ppval, core::mem::transmute(ok__)); + ppval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1389,7 +1389,7 @@ impl IRDPSRAPIViewer_Vtbl { let this = (*this).get_impl(); match IRDPSRAPIViewer_Impl::SmartSizing(this) { Ok(ok__) => { - core::ptr::write(pvbsmartsizing, core::mem::transmute(ok__)); + pvbsmartsizing.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1410,7 +1410,7 @@ impl IRDPSRAPIViewer_Vtbl { let this = (*this).get_impl(); match IRDPSRAPIViewer_Impl::DisconnectedText(this) { Ok(ok__) => { - core::ptr::write(pbstrdisconnectedtext, core::mem::transmute(ok__)); + pbstrdisconnectedtext.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1426,7 +1426,7 @@ impl IRDPSRAPIViewer_Vtbl { let this = (*this).get_impl(); match IRDPSRAPIViewer_Impl::Properties(this) { Ok(ok__) => { - core::ptr::write(ppval, core::mem::transmute(ok__)); + ppval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1437,7 +1437,7 @@ impl IRDPSRAPIViewer_Vtbl { let this = (*this).get_impl(); match IRDPSRAPIViewer_Impl::StartReverseConnectListener(this, core::mem::transmute(&bstrconnectionstring), core::mem::transmute(&bstrusername), core::mem::transmute(&bstrpassword)) { Ok(ok__) => { - core::ptr::write(pbstrreverseconnectstring, core::mem::transmute(ok__)); + pbstrreverseconnectstring.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1493,7 +1493,7 @@ impl IRDPSRAPIVirtualChannel_Vtbl { let this = (*this).get_impl(); match IRDPSRAPIVirtualChannel_Impl::Name(this) { Ok(ok__) => { - core::ptr::write(pbstrname, core::mem::transmute(ok__)); + pbstrname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1504,7 +1504,7 @@ impl IRDPSRAPIVirtualChannel_Vtbl { let this = (*this).get_impl(); match IRDPSRAPIVirtualChannel_Impl::Flags(this) { Ok(ok__) => { - core::ptr::write(plflags, core::mem::transmute(ok__)); + plflags.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1515,7 +1515,7 @@ impl IRDPSRAPIVirtualChannel_Vtbl { let this = (*this).get_impl(); match IRDPSRAPIVirtualChannel_Impl::Priority(this) { Ok(ok__) => { - core::ptr::write(ppriority, core::mem::transmute(ok__)); + ppriority.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1550,7 +1550,7 @@ impl IRDPSRAPIVirtualChannelManager_Vtbl { let this = (*this).get_impl(); match IRDPSRAPIVirtualChannelManager_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1561,7 +1561,7 @@ impl IRDPSRAPIVirtualChannelManager_Vtbl { let this = (*this).get_impl(); match IRDPSRAPIVirtualChannelManager_Impl::get_Item(this, core::mem::transmute(&item)) { Ok(ok__) => { - core::ptr::write(pchannel, core::mem::transmute(ok__)); + pchannel.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1572,7 +1572,7 @@ impl IRDPSRAPIVirtualChannelManager_Vtbl { let this = (*this).get_impl(); match IRDPSRAPIVirtualChannelManager_Impl::CreateVirtualChannel(this, core::mem::transmute(&bstrchannelname), core::mem::transmute_copy(&priority), core::mem::transmute_copy(&channelflags)) { Ok(ok__) => { - core::ptr::write(ppchannel, core::mem::transmute(ok__)); + ppchannel.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1609,7 +1609,7 @@ impl IRDPSRAPIWindow_Vtbl { let this = (*this).get_impl(); match IRDPSRAPIWindow_Impl::Id(this) { Ok(ok__) => { - core::ptr::write(pretval, core::mem::transmute(ok__)); + pretval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1620,7 +1620,7 @@ impl IRDPSRAPIWindow_Vtbl { let this = (*this).get_impl(); match IRDPSRAPIWindow_Impl::Application(this) { Ok(ok__) => { - core::ptr::write(papplication, core::mem::transmute(ok__)); + papplication.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1631,7 +1631,7 @@ impl IRDPSRAPIWindow_Vtbl { let this = (*this).get_impl(); match IRDPSRAPIWindow_Impl::Shared(this) { Ok(ok__) => { - core::ptr::write(pretval, core::mem::transmute(ok__)); + pretval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1647,7 +1647,7 @@ impl IRDPSRAPIWindow_Vtbl { let this = (*this).get_impl(); match IRDPSRAPIWindow_Impl::Name(this) { Ok(ok__) => { - core::ptr::write(pretval, core::mem::transmute(ok__)); + pretval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1663,7 +1663,7 @@ impl IRDPSRAPIWindow_Vtbl { let this = (*this).get_impl(); match IRDPSRAPIWindow_Impl::Flags(this) { Ok(ok__) => { - core::ptr::write(pdwflags, core::mem::transmute(ok__)); + pdwflags.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1699,7 +1699,7 @@ impl IRDPSRAPIWindowList_Vtbl { let this = (*this).get_impl(); match IRDPSRAPIWindowList_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1710,7 +1710,7 @@ impl IRDPSRAPIWindowList_Vtbl { let this = (*this).get_impl(); match IRDPSRAPIWindowList_Impl::get_Item(this, core::mem::transmute_copy(&item)) { Ok(ok__) => { - core::ptr::write(pwindow, core::mem::transmute(ok__)); + pwindow.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/Win32/System/Diagnostics/ClrProfiling/impl.rs b/crates/libs/windows/src/Windows/Win32/System/Diagnostics/ClrProfiling/impl.rs index f85e15ad9e..cf872baaa6 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Diagnostics/ClrProfiling/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Diagnostics/ClrProfiling/impl.rs @@ -207,7 +207,7 @@ impl ICorProfilerCallback_Vtbl { let this = (*this).get_impl(); match ICorProfilerCallback_Impl::JITCachedFunctionSearchStarted(this, core::mem::transmute_copy(&functionid)) { Ok(ok__) => { - core::ptr::write(pbusecachedfunction, core::mem::transmute(ok__)); + pbusecachedfunction.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -228,7 +228,7 @@ impl ICorProfilerCallback_Vtbl { let this = (*this).get_impl(); match ICorProfilerCallback_Impl::JITInlining(this, core::mem::transmute_copy(&callerid), core::mem::transmute_copy(&calleeid)) { Ok(ok__) => { - core::ptr::write(pfshouldinline, core::mem::transmute(ok__)); + pfshouldinline.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -903,7 +903,7 @@ impl ICorProfilerFunctionEnum_Vtbl { let this = (*this).get_impl(); match ICorProfilerFunctionEnum_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -914,7 +914,7 @@ impl ICorProfilerFunctionEnum_Vtbl { let this = (*this).get_impl(); match ICorProfilerFunctionEnum_Impl::GetCount(this) { Ok(ok__) => { - core::ptr::write(pcelt, core::mem::transmute(ok__)); + pcelt.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -984,7 +984,7 @@ impl ICorProfilerInfo_Vtbl { let this = (*this).get_impl(); match ICorProfilerInfo_Impl::GetClassFromObject(this, core::mem::transmute_copy(&objectid)) { Ok(ok__) => { - core::ptr::write(pclassid, core::mem::transmute(ok__)); + pclassid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -995,7 +995,7 @@ impl ICorProfilerInfo_Vtbl { let this = (*this).get_impl(); match ICorProfilerInfo_Impl::GetClassFromToken(this, core::mem::transmute_copy(&moduleid), core::mem::transmute_copy(&typedef)) { Ok(ok__) => { - core::ptr::write(pclassid, core::mem::transmute(ok__)); + pclassid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1011,7 +1011,7 @@ impl ICorProfilerInfo_Vtbl { let this = (*this).get_impl(); match ICorProfilerInfo_Impl::GetEventMask(this) { Ok(ok__) => { - core::ptr::write(pdwevents, core::mem::transmute(ok__)); + pdwevents.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1022,7 +1022,7 @@ impl ICorProfilerInfo_Vtbl { let this = (*this).get_impl(); match ICorProfilerInfo_Impl::GetFunctionFromIP(this, core::mem::transmute_copy(&ip)) { Ok(ok__) => { - core::ptr::write(pfunctionid, core::mem::transmute(ok__)); + pfunctionid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1033,7 +1033,7 @@ impl ICorProfilerInfo_Vtbl { let this = (*this).get_impl(); match ICorProfilerInfo_Impl::GetFunctionFromToken(this, core::mem::transmute_copy(&moduleid), core::mem::transmute_copy(&token)) { Ok(ok__) => { - core::ptr::write(pfunctionid, core::mem::transmute(ok__)); + pfunctionid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1044,7 +1044,7 @@ impl ICorProfilerInfo_Vtbl { let this = (*this).get_impl(); match ICorProfilerInfo_Impl::GetHandleFromThread(this, core::mem::transmute_copy(&threadid)) { Ok(ok__) => { - core::ptr::write(phthread, core::mem::transmute(ok__)); + phthread.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1055,7 +1055,7 @@ impl ICorProfilerInfo_Vtbl { let this = (*this).get_impl(); match ICorProfilerInfo_Impl::GetObjectSize(this, core::mem::transmute_copy(&objectid)) { Ok(ok__) => { - core::ptr::write(pcsize, core::mem::transmute(ok__)); + pcsize.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1071,7 +1071,7 @@ impl ICorProfilerInfo_Vtbl { let this = (*this).get_impl(); match ICorProfilerInfo_Impl::GetThreadInfo(this, core::mem::transmute_copy(&threadid)) { Ok(ok__) => { - core::ptr::write(pdwwin32threadid, core::mem::transmute(ok__)); + pdwwin32threadid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1082,7 +1082,7 @@ impl ICorProfilerInfo_Vtbl { let this = (*this).get_impl(); match ICorProfilerInfo_Impl::GetCurrentThreadID(this) { Ok(ok__) => { - core::ptr::write(pthreadid, core::mem::transmute(ok__)); + pthreadid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1128,7 +1128,7 @@ impl ICorProfilerInfo_Vtbl { let this = (*this).get_impl(); match ICorProfilerInfo_Impl::GetModuleMetaData(this, core::mem::transmute_copy(&moduleid), core::mem::transmute_copy(&dwopenflags), core::mem::transmute_copy(&riid)) { Ok(ok__) => { - core::ptr::write(ppout, core::mem::transmute(ok__)); + ppout.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1144,7 +1144,7 @@ impl ICorProfilerInfo_Vtbl { let this = (*this).get_impl(); match ICorProfilerInfo_Impl::GetILFunctionBodyAllocator(this, core::mem::transmute_copy(&moduleid)) { Ok(ok__) => { - core::ptr::write(ppmalloc, core::mem::transmute(ok__)); + ppmalloc.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1185,7 +1185,7 @@ impl ICorProfilerInfo_Vtbl { let this = (*this).get_impl(); match ICorProfilerInfo_Impl::GetInprocInspectionInterface(this) { Ok(ok__) => { - core::ptr::write(ppicd, core::mem::transmute(ok__)); + ppicd.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1196,7 +1196,7 @@ impl ICorProfilerInfo_Vtbl { let this = (*this).get_impl(); match ICorProfilerInfo_Impl::GetInprocInspectionIThisThread(this) { Ok(ok__) => { - core::ptr::write(ppicd, core::mem::transmute(ok__)); + ppicd.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1207,7 +1207,7 @@ impl ICorProfilerInfo_Vtbl { let this = (*this).get_impl(); match ICorProfilerInfo_Impl::GetThreadContext(this, core::mem::transmute_copy(&threadid)) { Ok(ok__) => { - core::ptr::write(pcontextid, core::mem::transmute(ok__)); + pcontextid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1218,7 +1218,7 @@ impl ICorProfilerInfo_Vtbl { let this = (*this).get_impl(); match ICorProfilerInfo_Impl::BeginInprocDebugging(this, core::mem::transmute_copy(&fthisthreadonly)) { Ok(ok__) => { - core::ptr::write(pdwprofilercontext, core::mem::transmute(ok__)); + pdwprofilercontext.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1383,7 +1383,7 @@ impl ICorProfilerInfo12_Vtbl { let this = (*this).get_impl(); match ICorProfilerInfo12_Impl::EventPipeStartSession(this, core::mem::transmute_copy(&cproviderconfigs), core::mem::transmute_copy(&pproviderconfigs), core::mem::transmute_copy(&requestrundown)) { Ok(ok__) => { - core::ptr::write(psession, core::mem::transmute(ok__)); + psession.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1404,7 +1404,7 @@ impl ICorProfilerInfo12_Vtbl { let this = (*this).get_impl(); match ICorProfilerInfo12_Impl::EventPipeCreateProvider(this, core::mem::transmute(&providername)) { Ok(ok__) => { - core::ptr::write(pprovider, core::mem::transmute(ok__)); + pprovider.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1420,7 +1420,7 @@ impl ICorProfilerInfo12_Vtbl { let this = (*this).get_impl(); match ICorProfilerInfo12_Impl::EventPipeDefineEvent(this, core::mem::transmute_copy(&provider), core::mem::transmute(&eventname), core::mem::transmute_copy(&eventid), core::mem::transmute_copy(&keywords), core::mem::transmute_copy(&eventversion), core::mem::transmute_copy(&level), core::mem::transmute_copy(&opcode), core::mem::transmute_copy(&needstack), core::mem::transmute_copy(&cparamdescs), core::mem::transmute_copy(&pparamdescs)) { Ok(ok__) => { - core::ptr::write(pevent, core::mem::transmute(ok__)); + pevent.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1472,7 +1472,7 @@ impl ICorProfilerInfo13_Vtbl { let this = (*this).get_impl(); match ICorProfilerInfo13_Impl::GetObjectIDFromHandle(this, core::mem::transmute_copy(&handle)) { Ok(ok__) => { - core::ptr::write(pobject, core::mem::transmute(ok__)); + pobject.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1517,7 +1517,7 @@ impl ICorProfilerInfo14_Vtbl { let this = (*this).get_impl(); match ICorProfilerInfo14_Impl::EnumerateNonGCObjects(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1533,7 +1533,7 @@ impl ICorProfilerInfo14_Vtbl { let this = (*this).get_impl(); match ICorProfilerInfo14_Impl::EventPipeCreateProvider2(this, core::mem::transmute(&providername), core::mem::transmute_copy(&pcallback)) { Ok(ok__) => { - core::ptr::write(pprovider, core::mem::transmute(ok__)); + pprovider.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1632,7 +1632,7 @@ impl ICorProfilerInfo2_Vtbl { let this = (*this).get_impl(); match ICorProfilerInfo2_Impl::GetClassFromTokenAndTypeArgs(this, core::mem::transmute_copy(&moduleid), core::mem::transmute_copy(&typedef), core::mem::transmute_copy(&ctypeargs), core::mem::transmute_copy(&typeargs)) { Ok(ok__) => { - core::ptr::write(pclassid, core::mem::transmute(ok__)); + pclassid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1643,7 +1643,7 @@ impl ICorProfilerInfo2_Vtbl { let this = (*this).get_impl(); match ICorProfilerInfo2_Impl::GetFunctionFromTokenAndTypeArgs(this, core::mem::transmute_copy(&moduleid), core::mem::transmute_copy(&funcdef), core::mem::transmute_copy(&classid), core::mem::transmute_copy(&ctypeargs), core::mem::transmute_copy(&typeargs)) { Ok(ok__) => { - core::ptr::write(pfunctionid, core::mem::transmute(ok__)); + pfunctionid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1654,7 +1654,7 @@ impl ICorProfilerInfo2_Vtbl { let this = (*this).get_impl(); match ICorProfilerInfo2_Impl::EnumModuleFrozenObjects(this, core::mem::transmute_copy(&moduleid)) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1670,7 +1670,7 @@ impl ICorProfilerInfo2_Vtbl { let this = (*this).get_impl(); match ICorProfilerInfo2_Impl::GetBoxClassLayout(this, core::mem::transmute_copy(&classid)) { Ok(ok__) => { - core::ptr::write(pbufferoffset, core::mem::transmute(ok__)); + pbufferoffset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1681,7 +1681,7 @@ impl ICorProfilerInfo2_Vtbl { let this = (*this).get_impl(); match ICorProfilerInfo2_Impl::GetThreadAppDomain(this, core::mem::transmute_copy(&threadid)) { Ok(ok__) => { - core::ptr::write(pappdomainid, core::mem::transmute(ok__)); + pappdomainid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1712,7 +1712,7 @@ impl ICorProfilerInfo2_Vtbl { let this = (*this).get_impl(); match ICorProfilerInfo2_Impl::GetStaticFieldInfo(this, core::mem::transmute_copy(&classid), core::mem::transmute_copy(&fieldtoken)) { Ok(ok__) => { - core::ptr::write(pfieldinfo, core::mem::transmute(ok__)); + pfieldinfo.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1728,7 +1728,7 @@ impl ICorProfilerInfo2_Vtbl { let this = (*this).get_impl(); match ICorProfilerInfo2_Impl::GetObjectGeneration(this, core::mem::transmute_copy(&objectid)) { Ok(ok__) => { - core::ptr::write(range, core::mem::transmute(ok__)); + range.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1739,7 +1739,7 @@ impl ICorProfilerInfo2_Vtbl { let this = (*this).get_impl(); match ICorProfilerInfo2_Impl::GetNotifiedExceptionClauseInfo(this) { Ok(ok__) => { - core::ptr::write(pinfo, core::mem::transmute(ok__)); + pinfo.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1801,7 +1801,7 @@ impl ICorProfilerInfo3_Vtbl { let this = (*this).get_impl(); match ICorProfilerInfo3_Impl::EnumJITedFunctions(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1847,7 +1847,7 @@ impl ICorProfilerInfo3_Vtbl { let this = (*this).get_impl(); match ICorProfilerInfo3_Impl::GetFunctionTailcall3Info(this, core::mem::transmute_copy(&functionid), core::mem::transmute_copy(&eltinfo)) { Ok(ok__) => { - core::ptr::write(pframeinfo, core::mem::transmute(ok__)); + pframeinfo.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1858,7 +1858,7 @@ impl ICorProfilerInfo3_Vtbl { let this = (*this).get_impl(); match ICorProfilerInfo3_Impl::EnumModules(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1929,7 +1929,7 @@ impl ICorProfilerInfo4_Vtbl { let this = (*this).get_impl(); match ICorProfilerInfo4_Impl::EnumThreads(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1975,7 +1975,7 @@ impl ICorProfilerInfo4_Vtbl { let this = (*this).get_impl(); match ICorProfilerInfo4_Impl::EnumJITedFunctions2(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1986,7 +1986,7 @@ impl ICorProfilerInfo4_Vtbl { let this = (*this).get_impl(); match ICorProfilerInfo4_Impl::GetObjectSize2(this, core::mem::transmute_copy(&objectid)) { Ok(ok__) => { - core::ptr::write(pcsize, core::mem::transmute(ok__)); + pcsize.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2084,7 +2084,7 @@ impl ICorProfilerInfo7_Vtbl { let this = (*this).get_impl(); match ICorProfilerInfo7_Impl::GetInMemorySymbolsLength(this, core::mem::transmute_copy(&moduleid)) { Ok(ok__) => { - core::ptr::write(pcountsymbolbytes, core::mem::transmute(ok__)); + pcountsymbolbytes.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2122,7 +2122,7 @@ impl ICorProfilerInfo8_Vtbl { let this = (*this).get_impl(); match ICorProfilerInfo8_Impl::IsFunctionDynamic(this, core::mem::transmute_copy(&functionid)) { Ok(ok__) => { - core::ptr::write(isdynamic, core::mem::transmute(ok__)); + isdynamic.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2211,7 +2211,7 @@ impl ICorProfilerMethodEnum_Vtbl { let this = (*this).get_impl(); match ICorProfilerMethodEnum_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2222,7 +2222,7 @@ impl ICorProfilerMethodEnum_Vtbl { let this = (*this).get_impl(); match ICorProfilerMethodEnum_Impl::GetCount(this) { Ok(ok__) => { - core::ptr::write(pcelt, core::mem::transmute(ok__)); + pcelt.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2271,7 +2271,7 @@ impl ICorProfilerModuleEnum_Vtbl { let this = (*this).get_impl(); match ICorProfilerModuleEnum_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2282,7 +2282,7 @@ impl ICorProfilerModuleEnum_Vtbl { let this = (*this).get_impl(); match ICorProfilerModuleEnum_Impl::GetCount(this) { Ok(ok__) => { - core::ptr::write(pcelt, core::mem::transmute(ok__)); + pcelt.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2331,7 +2331,7 @@ impl ICorProfilerObjectEnum_Vtbl { let this = (*this).get_impl(); match ICorProfilerObjectEnum_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2342,7 +2342,7 @@ impl ICorProfilerObjectEnum_Vtbl { let this = (*this).get_impl(); match ICorProfilerObjectEnum_Impl::GetCount(this) { Ok(ok__) => { - core::ptr::write(pcelt, core::mem::transmute(ok__)); + pcelt.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2391,7 +2391,7 @@ impl ICorProfilerThreadEnum_Vtbl { let this = (*this).get_impl(); match ICorProfilerThreadEnum_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2402,7 +2402,7 @@ impl ICorProfilerThreadEnum_Vtbl { let this = (*this).get_impl(); match ICorProfilerThreadEnum_Impl::GetCount(this) { Ok(ok__) => { - core::ptr::write(pcelt, core::mem::transmute(ok__)); + pcelt.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Debug/ActiveScript/impl.rs b/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Debug/ActiveScript/impl.rs index e2a01798ac..0b654a1f0e 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Debug/ActiveScript/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Debug/ActiveScript/impl.rs @@ -108,7 +108,7 @@ impl IActiveScript_Vtbl { let this = (*this).get_impl(); match IActiveScript_Impl::GetScriptState(this) { Ok(ok__) => { - core::ptr::write(pssstate, core::mem::transmute(ok__)); + pssstate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -134,7 +134,7 @@ impl IActiveScript_Vtbl { let this = (*this).get_impl(); match IActiveScript_Impl::GetScriptDispatch(this, core::mem::transmute(&pstritemname)) { Ok(ok__) => { - core::ptr::write(ppdisp, core::mem::transmute(ok__)); + ppdisp.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -145,7 +145,7 @@ impl IActiveScript_Vtbl { let this = (*this).get_impl(); match IActiveScript_Impl::GetCurrentScriptThreadID(this) { Ok(ok__) => { - core::ptr::write(pstidthread, core::mem::transmute(ok__)); + pstidthread.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -156,7 +156,7 @@ impl IActiveScript_Vtbl { let this = (*this).get_impl(); match IActiveScript_Impl::GetScriptThreadID(this, core::mem::transmute_copy(&dwwin32threadid)) { Ok(ok__) => { - core::ptr::write(pstidthread, core::mem::transmute(ok__)); + pstidthread.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -167,7 +167,7 @@ impl IActiveScript_Vtbl { let this = (*this).get_impl(); match IActiveScript_Impl::GetScriptThreadState(this, core::mem::transmute_copy(&stidthread)) { Ok(ok__) => { - core::ptr::write(pstsstate, core::mem::transmute(ok__)); + pstsstate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -183,7 +183,7 @@ impl IActiveScript_Vtbl { let this = (*this).get_impl(); match IActiveScript_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppscript, core::mem::transmute(ok__)); + ppscript.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -262,7 +262,7 @@ impl IActiveScriptAuthor_Vtbl { let this = (*this).get_impl(); match IActiveScriptAuthor_Impl::GetRoot(this) { Ok(ok__) => { - core::ptr::write(ppsp, core::mem::transmute(ok__)); + ppsp.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -273,7 +273,7 @@ impl IActiveScriptAuthor_Vtbl { let this = (*this).get_impl(); match IActiveScriptAuthor_Impl::GetLanguageFlags(this) { Ok(ok__) => { - core::ptr::write(pgrfasa, core::mem::transmute(ok__)); + pgrfasa.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -284,7 +284,7 @@ impl IActiveScriptAuthor_Vtbl { let this = (*this).get_impl(); match IActiveScriptAuthor_Impl::GetEventHandler(this, windows_core::from_raw_borrowed(&pdisp), core::mem::transmute(&pszitem), core::mem::transmute(&pszsubitem), core::mem::transmute(&pszevent)) { Ok(ok__) => { - core::ptr::write(ppse, core::mem::transmute(ok__)); + ppse.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -310,7 +310,7 @@ impl IActiveScriptAuthor_Vtbl { let this = (*this).get_impl(); match IActiveScriptAuthor_Impl::GetChars(this, core::mem::transmute_copy(&frequestedlist)) { Ok(ok__) => { - core::ptr::write(pbstrchars, core::mem::transmute(ok__)); + pbstrchars.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -326,7 +326,7 @@ impl IActiveScriptAuthor_Vtbl { let this = (*this).get_impl(); match IActiveScriptAuthor_Impl::IsCommitChar(this, core::mem::transmute_copy(&ch)) { Ok(ok__) => { - core::ptr::write(pfcommit, core::mem::transmute(ok__)); + pfcommit.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -397,7 +397,7 @@ impl IActiveScriptDebug32_Vtbl { let this = (*this).get_impl(); match IActiveScriptDebug32_Impl::EnumCodeContextsOfPosition(this, core::mem::transmute_copy(&dwsourcecontext), core::mem::transmute_copy(&ucharacteroffset), core::mem::transmute_copy(&unumchars)) { Ok(ok__) => { - core::ptr::write(ppescc, core::mem::transmute(ok__)); + ppescc.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -437,7 +437,7 @@ impl IActiveScriptDebug64_Vtbl { let this = (*this).get_impl(); match IActiveScriptDebug64_Impl::EnumCodeContextsOfPosition(this, core::mem::transmute_copy(&dwsourcecontext), core::mem::transmute_copy(&ucharacteroffset), core::mem::transmute_copy(&unumchars)) { Ok(ok__) => { - core::ptr::write(ppescc, core::mem::transmute(ok__)); + ppescc.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -514,7 +514,7 @@ impl IActiveScriptError_Vtbl { let this = (*this).get_impl(); match IActiveScriptError_Impl::GetSourceLineText(this) { Ok(ok__) => { - core::ptr::write(pbstrsourceline, core::mem::transmute(ok__)); + pbstrsourceline.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -566,7 +566,7 @@ impl IActiveScriptErrorDebug_Vtbl { let this = (*this).get_impl(); match IActiveScriptErrorDebug_Impl::GetDocumentContext(this) { Ok(ok__) => { - core::ptr::write(ppssc, core::mem::transmute(ok__)); + ppssc.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -577,7 +577,7 @@ impl IActiveScriptErrorDebug_Vtbl { let this = (*this).get_impl(); match IActiveScriptErrorDebug_Impl::GetStackFrame(this) { Ok(ok__) => { - core::ptr::write(ppdsf, core::mem::transmute(ok__)); + ppdsf.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -604,7 +604,7 @@ impl IActiveScriptErrorDebug110_Vtbl { let this = (*this).get_impl(); match IActiveScriptErrorDebug110_Impl::GetExceptionThrownKind(this) { Ok(ok__) => { - core::ptr::write(pexceptionkind, core::mem::transmute(ok__)); + pexceptionkind.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -764,7 +764,7 @@ impl IActiveScriptParseProcedure32_Vtbl { let this = (*this).get_impl(); match IActiveScriptParseProcedure32_Impl::ParseProcedureText(this, core::mem::transmute(&pstrcode), core::mem::transmute(&pstrformalparams), core::mem::transmute(&pstrprocedurename), core::mem::transmute(&pstritemname), windows_core::from_raw_borrowed(&punkcontext), core::mem::transmute(&pstrdelimiter), core::mem::transmute_copy(&dwsourcecontextcookie), core::mem::transmute_copy(&ulstartinglinenumber), core::mem::transmute_copy(&dwflags)) { Ok(ok__) => { - core::ptr::write(ppdisp, core::mem::transmute(ok__)); + ppdisp.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -790,7 +790,7 @@ impl IActiveScriptParseProcedure64_Vtbl { let this = (*this).get_impl(); match IActiveScriptParseProcedure64_Impl::ParseProcedureText(this, core::mem::transmute(&pstrcode), core::mem::transmute(&pstrformalparams), core::mem::transmute(&pstrprocedurename), core::mem::transmute(&pstritemname), windows_core::from_raw_borrowed(&punkcontext), core::mem::transmute(&pstrdelimiter), core::mem::transmute_copy(&dwsourcecontextcookie), core::mem::transmute_copy(&ulstartinglinenumber), core::mem::transmute_copy(&dwflags)) { Ok(ok__) => { - core::ptr::write(ppdisp, core::mem::transmute(ok__)); + ppdisp.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -816,7 +816,7 @@ impl IActiveScriptParseProcedureOld32_Vtbl { let this = (*this).get_impl(); match IActiveScriptParseProcedureOld32_Impl::ParseProcedureText(this, core::mem::transmute(&pstrcode), core::mem::transmute(&pstrformalparams), core::mem::transmute(&pstritemname), windows_core::from_raw_borrowed(&punkcontext), core::mem::transmute(&pstrdelimiter), core::mem::transmute_copy(&dwsourcecontextcookie), core::mem::transmute_copy(&ulstartinglinenumber), core::mem::transmute_copy(&dwflags)) { Ok(ok__) => { - core::ptr::write(ppdisp, core::mem::transmute(ok__)); + ppdisp.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -842,7 +842,7 @@ impl IActiveScriptParseProcedureOld64_Vtbl { let this = (*this).get_impl(); match IActiveScriptParseProcedureOld64_Impl::ParseProcedureText(this, core::mem::transmute(&pstrcode), core::mem::transmute(&pstrformalparams), core::mem::transmute(&pstritemname), windows_core::from_raw_borrowed(&punkcontext), core::mem::transmute(&pstrdelimiter), core::mem::transmute_copy(&dwsourcecontextcookie), core::mem::transmute_copy(&ulstartinglinenumber), core::mem::transmute_copy(&dwflags)) { Ok(ok__) => { - core::ptr::write(ppdisp, core::mem::transmute(ok__)); + ppdisp.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1025,7 +1025,7 @@ impl IActiveScriptProfilerControl3_Vtbl { let this = (*this).get_impl(); match IActiveScriptProfilerControl3_Impl::EnumHeap(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1065,7 +1065,7 @@ impl IActiveScriptProfilerControl5_Vtbl { let this = (*this).get_impl(); match IActiveScriptProfilerControl5_Impl::EnumHeap2(this, core::mem::transmute_copy(&enumflags)) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1130,7 +1130,7 @@ impl IActiveScriptProperty_Vtbl { let this = (*this).get_impl(); match IActiveScriptProperty_Impl::GetProperty(this, core::mem::transmute_copy(&dwproperty), core::mem::transmute_copy(&pvarindex)) { Ok(ok__) => { - core::ptr::write(pvarvalue, core::mem::transmute(ok__)); + pvarvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1162,7 +1162,7 @@ impl IActiveScriptSIPInfo_Vtbl { let this = (*this).get_impl(); match IActiveScriptSIPInfo_Impl::GetSIPOID(this) { Ok(ok__) => { - core::ptr::write(poid_sip, core::mem::transmute(ok__)); + poid_sip.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1195,7 +1195,7 @@ impl IActiveScriptSite_Vtbl { let this = (*this).get_impl(); match IActiveScriptSite_Impl::GetLCID(this) { Ok(ok__) => { - core::ptr::write(plcid, core::mem::transmute(ok__)); + plcid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1211,7 +1211,7 @@ impl IActiveScriptSite_Vtbl { let this = (*this).get_impl(); match IActiveScriptSite_Impl::GetDocVersionString(this) { Ok(ok__) => { - core::ptr::write(pbstrversion, core::mem::transmute(ok__)); + pbstrversion.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1272,7 +1272,7 @@ impl IActiveScriptSiteDebug32_Vtbl { let this = (*this).get_impl(); match IActiveScriptSiteDebug32_Impl::GetDocumentContextFromPosition(this, core::mem::transmute_copy(&dwsourcecontext), core::mem::transmute_copy(&ucharacteroffset), core::mem::transmute_copy(&unumchars)) { Ok(ok__) => { - core::ptr::write(ppsc, core::mem::transmute(ok__)); + ppsc.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1283,7 +1283,7 @@ impl IActiveScriptSiteDebug32_Vtbl { let this = (*this).get_impl(); match IActiveScriptSiteDebug32_Impl::GetApplication(this) { Ok(ok__) => { - core::ptr::write(ppda, core::mem::transmute(ok__)); + ppda.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1294,7 +1294,7 @@ impl IActiveScriptSiteDebug32_Vtbl { let this = (*this).get_impl(); match IActiveScriptSiteDebug32_Impl::GetRootApplicationNode(this) { Ok(ok__) => { - core::ptr::write(ppdanroot, core::mem::transmute(ok__)); + ppdanroot.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1331,7 +1331,7 @@ impl IActiveScriptSiteDebug64_Vtbl { let this = (*this).get_impl(); match IActiveScriptSiteDebug64_Impl::GetDocumentContextFromPosition(this, core::mem::transmute_copy(&dwsourcecontext), core::mem::transmute_copy(&ucharacteroffset), core::mem::transmute_copy(&unumchars)) { Ok(ok__) => { - core::ptr::write(ppsc, core::mem::transmute(ok__)); + ppsc.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1342,7 +1342,7 @@ impl IActiveScriptSiteDebug64_Vtbl { let this = (*this).get_impl(); match IActiveScriptSiteDebug64_Impl::GetApplication(this) { Ok(ok__) => { - core::ptr::write(ppda, core::mem::transmute(ok__)); + ppda.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1353,7 +1353,7 @@ impl IActiveScriptSiteDebug64_Vtbl { let this = (*this).get_impl(); match IActiveScriptSiteDebug64_Impl::GetRootApplicationNode(this) { Ok(ok__) => { - core::ptr::write(ppdanroot, core::mem::transmute(ok__)); + ppdanroot.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1387,7 +1387,7 @@ impl IActiveScriptSiteDebugEx_Vtbl { let this = (*this).get_impl(); match IActiveScriptSiteDebugEx_Impl::OnCanNotJITScriptErrorDebug(this, windows_core::from_raw_borrowed(&perrordebug)) { Ok(ok__) => { - core::ptr::write(pfcallonscripterrorwhencontinuing, core::mem::transmute(ok__)); + pfcallonscripterrorwhencontinuing.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1447,7 +1447,7 @@ impl IActiveScriptSiteUIControl_Vtbl { let this = (*this).get_impl(); match IActiveScriptSiteUIControl_Impl::GetUIBehavior(this, core::mem::transmute_copy(&uicitem)) { Ok(ok__) => { - core::ptr::write(puichandling, core::mem::transmute(ok__)); + puichandling.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1471,7 +1471,7 @@ impl IActiveScriptSiteWindow_Vtbl { let this = (*this).get_impl(); match IActiveScriptSiteWindow_Impl::GetWindow(this) { Ok(ok__) => { - core::ptr::write(phwnd, core::mem::transmute(ok__)); + phwnd.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1537,7 +1537,7 @@ impl IActiveScriptStringCompare_Vtbl { let this = (*this).get_impl(); match IActiveScriptStringCompare_Impl::StrComp(this, core::mem::transmute(&bszstr1), core::mem::transmute(&bszstr2)) { Ok(ok__) => { - core::ptr::write(iret, core::mem::transmute(ok__)); + iret.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1592,7 +1592,7 @@ impl IActiveScriptWinRTErrorDebug_Vtbl { let this = (*this).get_impl(); match IActiveScriptWinRTErrorDebug_Impl::GetRestrictedErrorString(this) { Ok(ok__) => { - core::ptr::write(errorstring, core::mem::transmute(ok__)); + errorstring.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1603,7 +1603,7 @@ impl IActiveScriptWinRTErrorDebug_Vtbl { let this = (*this).get_impl(); match IActiveScriptWinRTErrorDebug_Impl::GetRestrictedErrorReference(this) { Ok(ok__) => { - core::ptr::write(referencestring, core::mem::transmute(ok__)); + referencestring.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1614,7 +1614,7 @@ impl IActiveScriptWinRTErrorDebug_Vtbl { let this = (*this).get_impl(); match IActiveScriptWinRTErrorDebug_Impl::GetCapabilitySid(this) { Ok(ok__) => { - core::ptr::write(capabilitysid, core::mem::transmute(ok__)); + capabilitysid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1652,7 +1652,7 @@ impl IApplicationDebugger_Vtbl { let this = (*this).get_impl(); match IApplicationDebugger_Impl::CreateInstanceAtDebugger(this, core::mem::transmute_copy(&rclsid), windows_core::from_raw_borrowed(&punkouter), core::mem::transmute_copy(&dwclscontext), core::mem::transmute_copy(&riid)) { Ok(ok__) => { - core::ptr::write(ppvobject, core::mem::transmute(ok__)); + ppvobject.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1762,7 +1762,7 @@ impl IDebugApplication11032_Vtbl { let this = (*this).get_impl(); match IDebugApplication11032_Impl::CallableWaitForHandles(this, core::mem::transmute_copy(&handlecount), core::mem::transmute_copy(&phandles)) { Ok(ok__) => { - core::ptr::write(pindex, core::mem::transmute(ok__)); + pindex.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1802,7 +1802,7 @@ impl IDebugApplication11064_Vtbl { let this = (*this).get_impl(); match IDebugApplication11064_Impl::CallableWaitForHandles(this, core::mem::transmute_copy(&handlecount), core::mem::transmute_copy(&phandles)) { Ok(ok__) => { - core::ptr::write(pindex, core::mem::transmute(ok__)); + pindex.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1869,7 +1869,7 @@ impl IDebugApplication32_Vtbl { let this = (*this).get_impl(); match IDebugApplication32_Impl::HandleBreakPoint(this, core::mem::transmute_copy(&br)) { Ok(ok__) => { - core::ptr::write(pbra, core::mem::transmute(ok__)); + pbra.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1890,7 +1890,7 @@ impl IDebugApplication32_Vtbl { let this = (*this).get_impl(); match IDebugApplication32_Impl::GetCurrentThread(this) { Ok(ok__) => { - core::ptr::write(pat, core::mem::transmute(ok__)); + pat.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1901,7 +1901,7 @@ impl IDebugApplication32_Vtbl { let this = (*this).get_impl(); match IDebugApplication32_Impl::CreateAsyncDebugOperation(this, windows_core::from_raw_borrowed(&psdo)) { Ok(ok__) => { - core::ptr::write(ppado, core::mem::transmute(ok__)); + ppado.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1912,7 +1912,7 @@ impl IDebugApplication32_Vtbl { let this = (*this).get_impl(); match IDebugApplication32_Impl::AddStackFrameSniffer(this, windows_core::from_raw_borrowed(&pdsfs)) { Ok(ok__) => { - core::ptr::write(pdwcookie, core::mem::transmute(ok__)); + pdwcookie.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1938,7 +1938,7 @@ impl IDebugApplication32_Vtbl { let this = (*this).get_impl(); match IDebugApplication32_Impl::CreateApplicationNode(this) { Ok(ok__) => { - core::ptr::write(ppdannew, core::mem::transmute(ok__)); + ppdannew.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1969,7 +1969,7 @@ impl IDebugApplication32_Vtbl { let this = (*this).get_impl(); match IDebugApplication32_Impl::AddGlobalExpressionContextProvider(this, windows_core::from_raw_borrowed(&pdsfs)) { Ok(ok__) => { - core::ptr::write(pdwcookie, core::mem::transmute(ok__)); + pdwcookie.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2058,7 +2058,7 @@ impl IDebugApplication64_Vtbl { let this = (*this).get_impl(); match IDebugApplication64_Impl::HandleBreakPoint(this, core::mem::transmute_copy(&br)) { Ok(ok__) => { - core::ptr::write(pbra, core::mem::transmute(ok__)); + pbra.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2079,7 +2079,7 @@ impl IDebugApplication64_Vtbl { let this = (*this).get_impl(); match IDebugApplication64_Impl::GetCurrentThread(this) { Ok(ok__) => { - core::ptr::write(pat, core::mem::transmute(ok__)); + pat.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2090,7 +2090,7 @@ impl IDebugApplication64_Vtbl { let this = (*this).get_impl(); match IDebugApplication64_Impl::CreateAsyncDebugOperation(this, windows_core::from_raw_borrowed(&psdo)) { Ok(ok__) => { - core::ptr::write(ppado, core::mem::transmute(ok__)); + ppado.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2101,7 +2101,7 @@ impl IDebugApplication64_Vtbl { let this = (*this).get_impl(); match IDebugApplication64_Impl::AddStackFrameSniffer(this, windows_core::from_raw_borrowed(&pdsfs)) { Ok(ok__) => { - core::ptr::write(pdwcookie, core::mem::transmute(ok__)); + pdwcookie.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2127,7 +2127,7 @@ impl IDebugApplication64_Vtbl { let this = (*this).get_impl(); match IDebugApplication64_Impl::CreateApplicationNode(this) { Ok(ok__) => { - core::ptr::write(ppdannew, core::mem::transmute(ok__)); + ppdannew.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2158,7 +2158,7 @@ impl IDebugApplication64_Vtbl { let this = (*this).get_impl(); match IDebugApplication64_Impl::AddGlobalExpressionContextProvider(this, windows_core::from_raw_borrowed(&pdsfs)) { Ok(ok__) => { - core::ptr::write(pdwcookie, core::mem::transmute(ok__)); + pdwcookie.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2213,7 +2213,7 @@ impl IDebugApplicationNode_Vtbl { let this = (*this).get_impl(); match IDebugApplicationNode_Impl::EnumChildren(this) { Ok(ok__) => { - core::ptr::write(pperddp, core::mem::transmute(ok__)); + pperddp.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2224,7 +2224,7 @@ impl IDebugApplicationNode_Vtbl { let this = (*this).get_impl(); match IDebugApplicationNode_Impl::GetParent(this) { Ok(ok__) => { - core::ptr::write(pprddp, core::mem::transmute(ok__)); + pprddp.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2282,7 +2282,7 @@ impl IDebugApplicationNode100_Vtbl { let this = (*this).get_impl(); match IDebugApplicationNode100_Impl::GetExcludedDocuments(this, core::mem::transmute_copy(&filter)) { Ok(ok__) => { - core::ptr::write(pdocuments, core::mem::transmute(ok__)); + pdocuments.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2407,7 +2407,7 @@ impl IDebugApplicationThread11032_Vtbl { let this = (*this).get_impl(); match IDebugApplicationThread11032_Impl::GetActiveThreadRequestCount(this) { Ok(ok__) => { - core::ptr::write(puithreadrequests, core::mem::transmute(ok__)); + puithreadrequests.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2418,7 +2418,7 @@ impl IDebugApplicationThread11032_Vtbl { let this = (*this).get_impl(); match IDebugApplicationThread11032_Impl::IsSuspendedForBreakPoint(this) { Ok(ok__) => { - core::ptr::write(pfissuspended, core::mem::transmute(ok__)); + pfissuspended.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2429,7 +2429,7 @@ impl IDebugApplicationThread11032_Vtbl { let this = (*this).get_impl(); match IDebugApplicationThread11032_Impl::IsThreadCallable(this) { Ok(ok__) => { - core::ptr::write(pfiscallable, core::mem::transmute(ok__)); + pfiscallable.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2466,7 +2466,7 @@ impl IDebugApplicationThread11064_Vtbl { let this = (*this).get_impl(); match IDebugApplicationThread11064_Impl::GetActiveThreadRequestCount(this) { Ok(ok__) => { - core::ptr::write(puithreadrequests, core::mem::transmute(ok__)); + puithreadrequests.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2477,7 +2477,7 @@ impl IDebugApplicationThread11064_Vtbl { let this = (*this).get_impl(); match IDebugApplicationThread11064_Impl::IsSuspendedForBreakPoint(this) { Ok(ok__) => { - core::ptr::write(pfissuspended, core::mem::transmute(ok__)); + pfissuspended.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2488,7 +2488,7 @@ impl IDebugApplicationThread11064_Vtbl { let this = (*this).get_impl(); match IDebugApplicationThread11064_Impl::IsThreadCallable(this) { Ok(ok__) => { - core::ptr::write(pfiscallable, core::mem::transmute(ok__)); + pfiscallable.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2587,7 +2587,7 @@ impl IDebugAsyncOperation_Vtbl { let this = (*this).get_impl(); match IDebugAsyncOperation_Impl::GetSyncDebugOperation(this) { Ok(ok__) => { - core::ptr::write(ppsdo, core::mem::transmute(ok__)); + ppsdo.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2655,7 +2655,7 @@ impl IDebugCodeContext_Vtbl { let this = (*this).get_impl(); match IDebugCodeContext_Impl::GetDocumentContext(this) { Ok(ok__) => { - core::ptr::write(ppsc, core::mem::transmute(ok__)); + ppsc.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2715,7 +2715,7 @@ impl IDebugDocumentContext_Vtbl { let this = (*this).get_impl(); match IDebugDocumentContext_Impl::GetDocument(this) { Ok(ok__) => { - core::ptr::write(ppsd, core::mem::transmute(ok__)); + ppsd.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2726,7 +2726,7 @@ impl IDebugDocumentContext_Vtbl { let this = (*this).get_impl(); match IDebugDocumentContext_Impl::EnumCodeContexts(this) { Ok(ok__) => { - core::ptr::write(ppescc, core::mem::transmute(ok__)); + ppescc.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2805,7 +2805,7 @@ impl IDebugDocumentHelper32_Vtbl { let this = (*this).get_impl(); match IDebugDocumentHelper32_Impl::DefineScriptBlock(this, core::mem::transmute_copy(&ulcharoffset), core::mem::transmute_copy(&cchars), windows_core::from_raw_borrowed(&pas), core::mem::transmute_copy(&fscriptlet)) { Ok(ok__) => { - core::ptr::write(pdwsourcecontext, core::mem::transmute(ok__)); + pdwsourcecontext.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2841,7 +2841,7 @@ impl IDebugDocumentHelper32_Vtbl { let this = (*this).get_impl(); match IDebugDocumentHelper32_Impl::GetDebugApplicationNode(this) { Ok(ok__) => { - core::ptr::write(ppdan, core::mem::transmute(ok__)); + ppdan.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2857,7 +2857,7 @@ impl IDebugDocumentHelper32_Vtbl { let this = (*this).get_impl(); match IDebugDocumentHelper32_Impl::CreateDebugDocumentContext(this, core::mem::transmute_copy(&icharpos), core::mem::transmute_copy(&cchars)) { Ok(ok__) => { - core::ptr::write(ppddc, core::mem::transmute(ok__)); + ppddc.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2962,7 +2962,7 @@ impl IDebugDocumentHelper64_Vtbl { let this = (*this).get_impl(); match IDebugDocumentHelper64_Impl::DefineScriptBlock(this, core::mem::transmute_copy(&ulcharoffset), core::mem::transmute_copy(&cchars), windows_core::from_raw_borrowed(&pas), core::mem::transmute_copy(&fscriptlet)) { Ok(ok__) => { - core::ptr::write(pdwsourcecontext, core::mem::transmute(ok__)); + pdwsourcecontext.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2998,7 +2998,7 @@ impl IDebugDocumentHelper64_Vtbl { let this = (*this).get_impl(); match IDebugDocumentHelper64_Impl::GetDebugApplicationNode(this) { Ok(ok__) => { - core::ptr::write(ppdan, core::mem::transmute(ok__)); + ppdan.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3014,7 +3014,7 @@ impl IDebugDocumentHelper64_Vtbl { let this = (*this).get_impl(); match IDebugDocumentHelper64_Impl::CreateDebugDocumentContext(this, core::mem::transmute_copy(&icharpos), core::mem::transmute_copy(&cchars)) { Ok(ok__) => { - core::ptr::write(ppddc, core::mem::transmute(ok__)); + ppddc.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3082,7 +3082,7 @@ impl IDebugDocumentHost_Vtbl { let this = (*this).get_impl(); match IDebugDocumentHost_Impl::OnCreateDocumentContext(this) { Ok(ok__) => { - core::ptr::write(ppunkouter, core::mem::transmute(ok__)); + ppunkouter.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3098,7 +3098,7 @@ impl IDebugDocumentHost_Vtbl { let this = (*this).get_impl(); match IDebugDocumentHost_Impl::GetFileName(this) { Ok(ok__) => { - core::ptr::write(pbstrshortname, core::mem::transmute(ok__)); + pbstrshortname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3135,7 +3135,7 @@ impl IDebugDocumentInfo_Vtbl { let this = (*this).get_impl(); match IDebugDocumentInfo_Impl::GetName(this, core::mem::transmute_copy(&dnt)) { Ok(ok__) => { - core::ptr::write(pbstrname, core::mem::transmute(ok__)); + pbstrname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3146,7 +3146,7 @@ impl IDebugDocumentInfo_Vtbl { let this = (*this).get_impl(); match IDebugDocumentInfo_Impl::GetDocumentClassId(this) { Ok(ok__) => { - core::ptr::write(pclsiddocument, core::mem::transmute(ok__)); + pclsiddocument.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3173,7 +3173,7 @@ impl IDebugDocumentProvider_Vtbl { let this = (*this).get_impl(); match IDebugDocumentProvider_Impl::GetDocument(this) { Ok(ok__) => { - core::ptr::write(ppssd, core::mem::transmute(ok__)); + ppssd.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3202,7 +3202,7 @@ impl IDebugDocumentText_Vtbl { let this = (*this).get_impl(); match IDebugDocumentText_Impl::GetDocumentAttributes(this) { Ok(ok__) => { - core::ptr::write(ptextdocattr, core::mem::transmute(ok__)); + ptextdocattr.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3218,7 +3218,7 @@ impl IDebugDocumentText_Vtbl { let this = (*this).get_impl(); match IDebugDocumentText_Impl::GetPositionOfLine(this, core::mem::transmute_copy(&clinenumber)) { Ok(ok__) => { - core::ptr::write(pccharacterposition, core::mem::transmute(ok__)); + pccharacterposition.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3244,7 +3244,7 @@ impl IDebugDocumentText_Vtbl { let this = (*this).get_impl(); match IDebugDocumentText_Impl::GetContextOfPosition(this, core::mem::transmute_copy(&ccharacterposition), core::mem::transmute_copy(&cnumchars)) { Ok(ok__) => { - core::ptr::write(ppsc, core::mem::transmute(ok__)); + ppsc.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3372,7 +3372,7 @@ impl IDebugDocumentTextExternalAuthor_Vtbl { let this = (*this).get_impl(); match IDebugDocumentTextExternalAuthor_Impl::GetFileName(this) { Ok(ok__) => { - core::ptr::write(pbstrshortname, core::mem::transmute(ok__)); + pbstrshortname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3471,7 +3471,7 @@ impl IDebugExpressionContext_Vtbl { let this = (*this).get_impl(); match IDebugExpressionContext_Impl::ParseLanguageText(this, core::mem::transmute(&pstrcode), core::mem::transmute_copy(&nradix), core::mem::transmute(&pstrdelimiter), core::mem::transmute_copy(&dwflags)) { Ok(ok__) => { - core::ptr::write(ppe, core::mem::transmute(ok__)); + ppe.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3508,7 +3508,7 @@ impl IDebugFormatter_Vtbl { let this = (*this).get_impl(); match IDebugFormatter_Impl::GetStringForVariant(this, core::mem::transmute_copy(&pvar), core::mem::transmute_copy(&nradix)) { Ok(ok__) => { - core::ptr::write(pbstrvalue, core::mem::transmute(ok__)); + pbstrvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3519,7 +3519,7 @@ impl IDebugFormatter_Vtbl { let this = (*this).get_impl(); match IDebugFormatter_Impl::GetVariantForString(this, core::mem::transmute(&pwstrvalue)) { Ok(ok__) => { - core::ptr::write(pvar, core::mem::transmute(ok__)); + pvar.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3530,7 +3530,7 @@ impl IDebugFormatter_Vtbl { let this = (*this).get_impl(); match IDebugFormatter_Impl::GetStringForVarType(this, core::mem::transmute_copy(&vt), core::mem::transmute_copy(&ptdescarraytype)) { Ok(ok__) => { - core::ptr::write(pbstr, core::mem::transmute(ok__)); + pbstr.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3563,7 +3563,7 @@ impl IDebugHelper_Vtbl { let this = (*this).get_impl(); match IDebugHelper_Impl::CreatePropertyBrowser(this, core::mem::transmute_copy(&pvar), core::mem::transmute(&bstrname), windows_core::from_raw_borrowed(&pdat)) { Ok(ok__) => { - core::ptr::write(ppdob, core::mem::transmute(ok__)); + ppdob.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3574,7 +3574,7 @@ impl IDebugHelper_Vtbl { let this = (*this).get_impl(); match IDebugHelper_Impl::CreatePropertyBrowserEx(this, core::mem::transmute_copy(&pvar), core::mem::transmute(&bstrname), windows_core::from_raw_borrowed(&pdat), windows_core::from_raw_borrowed(&pdf)) { Ok(ok__) => { - core::ptr::write(ppdob, core::mem::transmute(ok__)); + ppdob.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3585,7 +3585,7 @@ impl IDebugHelper_Vtbl { let this = (*this).get_impl(); match IDebugHelper_Impl::CreateSimpleConnectionPoint(this, windows_core::from_raw_borrowed(&pdisp)) { Ok(ok__) => { - core::ptr::write(ppscp, core::mem::transmute(ok__)); + ppscp.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3634,7 +3634,7 @@ impl IDebugStackFrame_Vtbl { let this = (*this).get_impl(); match IDebugStackFrame_Impl::GetCodeContext(this) { Ok(ok__) => { - core::ptr::write(ppcc, core::mem::transmute(ok__)); + ppcc.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3645,7 +3645,7 @@ impl IDebugStackFrame_Vtbl { let this = (*this).get_impl(); match IDebugStackFrame_Impl::GetDescriptionString(this, core::mem::transmute_copy(&flong)) { Ok(ok__) => { - core::ptr::write(pbstrdescription, core::mem::transmute(ok__)); + pbstrdescription.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3656,7 +3656,7 @@ impl IDebugStackFrame_Vtbl { let this = (*this).get_impl(); match IDebugStackFrame_Impl::GetLanguageString(this, core::mem::transmute_copy(&flong)) { Ok(ok__) => { - core::ptr::write(pbstrlanguage, core::mem::transmute(ok__)); + pbstrlanguage.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3667,7 +3667,7 @@ impl IDebugStackFrame_Vtbl { let this = (*this).get_impl(); match IDebugStackFrame_Impl::GetThread(this) { Ok(ok__) => { - core::ptr::write(ppat, core::mem::transmute(ok__)); + ppat.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3678,7 +3678,7 @@ impl IDebugStackFrame_Vtbl { let this = (*this).get_impl(); match IDebugStackFrame_Impl::GetDebugProperty(this) { Ok(ok__) => { - core::ptr::write(ppdebugprop, core::mem::transmute(ok__)); + ppdebugprop.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3709,7 +3709,7 @@ impl IDebugStackFrame110_Vtbl { let this = (*this).get_impl(); match IDebugStackFrame110_Impl::GetStackFrameType(this) { Ok(ok__) => { - core::ptr::write(pstackframekind, core::mem::transmute(ok__)); + pstackframekind.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3720,7 +3720,7 @@ impl IDebugStackFrame110_Vtbl { let this = (*this).get_impl(); match IDebugStackFrame110_Impl::GetScriptInvocationContext(this) { Ok(ok__) => { - core::ptr::write(ppinvocationcontext, core::mem::transmute(ok__)); + ppinvocationcontext.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3747,7 +3747,7 @@ impl IDebugStackFrameSniffer_Vtbl { let this = (*this).get_impl(); match IDebugStackFrameSniffer_Impl::EnumStackFrames(this) { Ok(ok__) => { - core::ptr::write(ppedsf, core::mem::transmute(ok__)); + ppedsf.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3770,7 +3770,7 @@ impl IDebugStackFrameSnifferEx32_Vtbl { let this = (*this).get_impl(); match IDebugStackFrameSnifferEx32_Impl::EnumStackFramesEx32(this, core::mem::transmute_copy(&dwspmin)) { Ok(ok__) => { - core::ptr::write(ppedsf, core::mem::transmute(ok__)); + ppedsf.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3793,7 +3793,7 @@ impl IDebugStackFrameSnifferEx64_Vtbl { let this = (*this).get_impl(); match IDebugStackFrameSnifferEx64_Impl::EnumStackFramesEx64(this, core::mem::transmute_copy(&dwspmin)) { Ok(ok__) => { - core::ptr::write(ppedsf, core::mem::transmute(ok__)); + ppedsf.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3818,7 +3818,7 @@ impl IDebugSyncOperation_Vtbl { let this = (*this).get_impl(); match IDebugSyncOperation_Impl::GetTargetThread(this) { Ok(ok__) => { - core::ptr::write(ppattarget, core::mem::transmute(ok__)); + ppattarget.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3829,7 +3829,7 @@ impl IDebugSyncOperation_Vtbl { let this = (*this).get_impl(); match IDebugSyncOperation_Impl::Execute(this) { Ok(ok__) => { - core::ptr::write(ppunkresult, core::mem::transmute(ok__)); + ppunkresult.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3914,7 +3914,7 @@ impl IEnumDebugApplicationNodes_Vtbl { let this = (*this).get_impl(); match IEnumDebugApplicationNodes_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(pperddp, core::mem::transmute(ok__)); + pperddp.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3961,7 +3961,7 @@ impl IEnumDebugCodeContexts_Vtbl { let this = (*this).get_impl(); match IEnumDebugCodeContexts_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppescc, core::mem::transmute(ok__)); + ppescc.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4008,7 +4008,7 @@ impl IEnumDebugExpressionContexts_Vtbl { let this = (*this).get_impl(); match IEnumDebugExpressionContexts_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppedec, core::mem::transmute(ok__)); + ppedec.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4055,7 +4055,7 @@ impl IEnumDebugStackFrames_Vtbl { let this = (*this).get_impl(); match IEnumDebugStackFrames_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppedsf, core::mem::transmute(ok__)); + ppedsf.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4142,7 +4142,7 @@ impl IEnumRemoteDebugApplicationThreads_Vtbl { let this = (*this).get_impl(); match IEnumRemoteDebugApplicationThreads_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(pperdat, core::mem::transmute(ok__)); + pperdat.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4189,7 +4189,7 @@ impl IEnumRemoteDebugApplications_Vtbl { let this = (*this).get_impl(); match IEnumRemoteDebugApplications_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppessd, core::mem::transmute(ok__)); + ppessd.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4218,7 +4218,7 @@ impl IJsDebug_Vtbl { let this = (*this).get_impl(); match IJsDebug_Impl::OpenVirtualProcess(this, core::mem::transmute_copy(&processid), core::mem::transmute_copy(&runtimejsbaseaddress), windows_core::from_raw_borrowed(&pdatatarget)) { Ok(ok__) => { - core::ptr::write(ppprocess, core::mem::transmute(ok__)); + ppprocess.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4245,7 +4245,7 @@ impl IJsDebugBreakPoint_Vtbl { let this = (*this).get_impl(); match IJsDebugBreakPoint_Impl::IsEnabled(this) { Ok(ok__) => { - core::ptr::write(pisenabled, core::mem::transmute(ok__)); + pisenabled.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4313,7 +4313,7 @@ impl IJsDebugDataTarget_Vtbl { let this = (*this).get_impl(); match IJsDebugDataTarget_Impl::AllocateVirtualMemory(this, core::mem::transmute_copy(&address), core::mem::transmute_copy(&size), core::mem::transmute_copy(&allocationtype), core::mem::transmute_copy(&pageprotection)) { Ok(ok__) => { - core::ptr::write(pallocatedaddress, core::mem::transmute(ok__)); + pallocatedaddress.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4329,7 +4329,7 @@ impl IJsDebugDataTarget_Vtbl { let this = (*this).get_impl(); match IJsDebugDataTarget_Impl::GetTlsValue(this, core::mem::transmute_copy(&threadid), core::mem::transmute_copy(&tlsindex)) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4340,7 +4340,7 @@ impl IJsDebugDataTarget_Vtbl { let this = (*this).get_impl(); match IJsDebugDataTarget_Impl::ReadBSTR(this, core::mem::transmute_copy(&address)) { Ok(ok__) => { - core::ptr::write(pstring, core::mem::transmute(ok__)); + pstring.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4351,7 +4351,7 @@ impl IJsDebugDataTarget_Vtbl { let this = (*this).get_impl(); match IJsDebugDataTarget_Impl::ReadNullTerminatedString(this, core::mem::transmute_copy(&address), core::mem::transmute_copy(&charactersize), core::mem::transmute_copy(&maxcharacters)) { Ok(ok__) => { - core::ptr::write(pstring, core::mem::transmute(ok__)); + pstring.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4362,7 +4362,7 @@ impl IJsDebugDataTarget_Vtbl { let this = (*this).get_impl(); match IJsDebugDataTarget_Impl::CreateStackFrameEnumerator(this, core::mem::transmute_copy(&threadid)) { Ok(ok__) => { - core::ptr::write(ppenumerator, core::mem::transmute(ok__)); + ppenumerator.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4412,7 +4412,7 @@ impl IJsDebugFrame_Vtbl { let this = (*this).get_impl(); match IJsDebugFrame_Impl::GetName(this) { Ok(ok__) => { - core::ptr::write(pname, core::mem::transmute(ok__)); + pname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4433,7 +4433,7 @@ impl IJsDebugFrame_Vtbl { let this = (*this).get_impl(); match IJsDebugFrame_Impl::GetDebugProperty(this) { Ok(ok__) => { - core::ptr::write(ppdebugproperty, core::mem::transmute(ok__)); + ppdebugproperty.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4444,7 +4444,7 @@ impl IJsDebugFrame_Vtbl { let this = (*this).get_impl(); match IJsDebugFrame_Impl::GetReturnAddress(this) { Ok(ok__) => { - core::ptr::write(preturnaddress, core::mem::transmute(ok__)); + preturnaddress.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4484,7 +4484,7 @@ impl IJsDebugProcess_Vtbl { let this = (*this).get_impl(); match IJsDebugProcess_Impl::CreateStackWalker(this, core::mem::transmute_copy(&threadid)) { Ok(ok__) => { - core::ptr::write(ppstackwalker, core::mem::transmute(ok__)); + ppstackwalker.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4495,7 +4495,7 @@ impl IJsDebugProcess_Vtbl { let this = (*this).get_impl(); match IJsDebugProcess_Impl::CreateBreakPoint(this, core::mem::transmute_copy(&documentid), core::mem::transmute_copy(&characteroffset), core::mem::transmute_copy(&charactercount), core::mem::transmute_copy(&isenabled)) { Ok(ok__) => { - core::ptr::write(ppdebugbreakpoint, core::mem::transmute(ok__)); + ppdebugbreakpoint.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4511,7 +4511,7 @@ impl IJsDebugProcess_Vtbl { let this = (*this).get_impl(); match IJsDebugProcess_Impl::GetExternalStepAddress(this) { Ok(ok__) => { - core::ptr::write(pcodeaddress, core::mem::transmute(ok__)); + pcodeaddress.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4546,7 +4546,7 @@ impl IJsDebugProperty_Vtbl { let this = (*this).get_impl(); match IJsDebugProperty_Impl::GetMembers(this, core::mem::transmute_copy(&members)) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4573,7 +4573,7 @@ impl IJsDebugStackWalker_Vtbl { let this = (*this).get_impl(); match IJsDebugStackWalker_Impl::GetNext(this) { Ok(ok__) => { - core::ptr::write(ppframe, core::mem::transmute(ok__)); + ppframe.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4602,7 +4602,7 @@ impl IJsEnumDebugProperty_Vtbl { let this = (*this).get_impl(); match IJsEnumDebugProperty_Impl::GetCount(this) { Ok(ok__) => { - core::ptr::write(pcount, core::mem::transmute(ok__)); + pcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4631,7 +4631,7 @@ impl IMachineDebugManager_Vtbl { let this = (*this).get_impl(); match IMachineDebugManager_Impl::AddApplication(this, windows_core::from_raw_borrowed(&pda)) { Ok(ok__) => { - core::ptr::write(pdwappcookie, core::mem::transmute(ok__)); + pdwappcookie.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4647,7 +4647,7 @@ impl IMachineDebugManager_Vtbl { let this = (*this).get_impl(); match IMachineDebugManager_Impl::EnumApplications(this) { Ok(ok__) => { - core::ptr::write(ppeda, core::mem::transmute(ok__)); + ppeda.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4677,7 +4677,7 @@ impl IMachineDebugManagerCookie_Vtbl { let this = (*this).get_impl(); match IMachineDebugManagerCookie_Impl::AddApplication(this, windows_core::from_raw_borrowed(&pda), core::mem::transmute_copy(&dwdebugappcookie)) { Ok(ok__) => { - core::ptr::write(pdwappcookie, core::mem::transmute(ok__)); + pdwappcookie.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4693,7 +4693,7 @@ impl IMachineDebugManagerCookie_Vtbl { let this = (*this).get_impl(); match IMachineDebugManagerCookie_Impl::EnumApplications(this) { Ok(ok__) => { - core::ptr::write(ppeda, core::mem::transmute(ok__)); + ppeda.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4752,7 +4752,7 @@ impl IProcessDebugManager32_Vtbl { let this = (*this).get_impl(); match IProcessDebugManager32_Impl::CreateApplication(this) { Ok(ok__) => { - core::ptr::write(ppda, core::mem::transmute(ok__)); + ppda.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4763,7 +4763,7 @@ impl IProcessDebugManager32_Vtbl { let this = (*this).get_impl(); match IProcessDebugManager32_Impl::GetDefaultApplication(this) { Ok(ok__) => { - core::ptr::write(ppda, core::mem::transmute(ok__)); + ppda.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4774,7 +4774,7 @@ impl IProcessDebugManager32_Vtbl { let this = (*this).get_impl(); match IProcessDebugManager32_Impl::AddApplication(this, windows_core::from_raw_borrowed(&pda)) { Ok(ok__) => { - core::ptr::write(pdwappcookie, core::mem::transmute(ok__)); + pdwappcookie.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4790,7 +4790,7 @@ impl IProcessDebugManager32_Vtbl { let this = (*this).get_impl(); match IProcessDebugManager32_Impl::CreateDebugDocumentHelper(this, windows_core::from_raw_borrowed(&punkouter)) { Ok(ok__) => { - core::ptr::write(pddh, core::mem::transmute(ok__)); + pddh.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4824,7 +4824,7 @@ impl IProcessDebugManager64_Vtbl { let this = (*this).get_impl(); match IProcessDebugManager64_Impl::CreateApplication(this) { Ok(ok__) => { - core::ptr::write(ppda, core::mem::transmute(ok__)); + ppda.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4835,7 +4835,7 @@ impl IProcessDebugManager64_Vtbl { let this = (*this).get_impl(); match IProcessDebugManager64_Impl::GetDefaultApplication(this) { Ok(ok__) => { - core::ptr::write(ppda, core::mem::transmute(ok__)); + ppda.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4846,7 +4846,7 @@ impl IProcessDebugManager64_Vtbl { let this = (*this).get_impl(); match IProcessDebugManager64_Impl::AddApplication(this, windows_core::from_raw_borrowed(&pda)) { Ok(ok__) => { - core::ptr::write(pdwappcookie, core::mem::transmute(ok__)); + pdwappcookie.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4862,7 +4862,7 @@ impl IProcessDebugManager64_Vtbl { let this = (*this).get_impl(); match IProcessDebugManager64_Impl::CreateDebugDocumentHelper(this, windows_core::from_raw_borrowed(&punkouter)) { Ok(ok__) => { - core::ptr::write(pddh, core::mem::transmute(ok__)); + pddh.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4892,7 +4892,7 @@ impl IProvideExpressionContexts_Vtbl { let this = (*this).get_impl(); match IProvideExpressionContexts_Impl::EnumExpressionContexts(this) { Ok(ok__) => { - core::ptr::write(ppedec, core::mem::transmute(ok__)); + ppedec.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4945,7 +4945,7 @@ impl IRemoteDebugApplication_Vtbl { let this = (*this).get_impl(); match IRemoteDebugApplication_Impl::GetDebugger(this) { Ok(ok__) => { - core::ptr::write(pad, core::mem::transmute(ok__)); + pad.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4956,7 +4956,7 @@ impl IRemoteDebugApplication_Vtbl { let this = (*this).get_impl(); match IRemoteDebugApplication_Impl::CreateInstanceAtApplication(this, core::mem::transmute_copy(&rclsid), windows_core::from_raw_borrowed(&punkouter), core::mem::transmute_copy(&dwclscontext), core::mem::transmute_copy(&riid)) { Ok(ok__) => { - core::ptr::write(ppvobject, core::mem::transmute(ok__)); + ppvobject.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4972,7 +4972,7 @@ impl IRemoteDebugApplication_Vtbl { let this = (*this).get_impl(); match IRemoteDebugApplication_Impl::EnumThreads(this) { Ok(ok__) => { - core::ptr::write(pperdat, core::mem::transmute(ok__)); + pperdat.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4983,7 +4983,7 @@ impl IRemoteDebugApplication_Vtbl { let this = (*this).get_impl(); match IRemoteDebugApplication_Impl::GetName(this) { Ok(ok__) => { - core::ptr::write(pbstrname, core::mem::transmute(ok__)); + pbstrname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4994,7 +4994,7 @@ impl IRemoteDebugApplication_Vtbl { let this = (*this).get_impl(); match IRemoteDebugApplication_Impl::GetRootNode(this) { Ok(ok__) => { - core::ptr::write(ppdanroot, core::mem::transmute(ok__)); + ppdanroot.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5005,7 +5005,7 @@ impl IRemoteDebugApplication_Vtbl { let this = (*this).get_impl(); match IRemoteDebugApplication_Impl::EnumGlobalExpressionContexts(this) { Ok(ok__) => { - core::ptr::write(ppedec, core::mem::transmute(ok__)); + ppedec.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5048,7 +5048,7 @@ impl IRemoteDebugApplication110_Vtbl { let this = (*this).get_impl(); match IRemoteDebugApplication110_Impl::GetCurrentDebuggerOptions(this) { Ok(ok__) => { - core::ptr::write(pcurrentoptions, core::mem::transmute(ok__)); + pcurrentoptions.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5059,7 +5059,7 @@ impl IRemoteDebugApplication110_Vtbl { let this = (*this).get_impl(); match IRemoteDebugApplication110_Impl::GetMainThread(this) { Ok(ok__) => { - core::ptr::write(ppthread, core::mem::transmute(ok__)); + ppthread.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5178,7 +5178,7 @@ impl IRemoteDebugApplicationThread_Vtbl { let this = (*this).get_impl(); match IRemoteDebugApplicationThread_Impl::GetSystemThreadId(this) { Ok(ok__) => { - core::ptr::write(dwthreadid, core::mem::transmute(ok__)); + dwthreadid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5189,7 +5189,7 @@ impl IRemoteDebugApplicationThread_Vtbl { let this = (*this).get_impl(); match IRemoteDebugApplicationThread_Impl::GetApplication(this) { Ok(ok__) => { - core::ptr::write(pprda, core::mem::transmute(ok__)); + pprda.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5200,7 +5200,7 @@ impl IRemoteDebugApplicationThread_Vtbl { let this = (*this).get_impl(); match IRemoteDebugApplicationThread_Impl::EnumStackFrames(this) { Ok(ok__) => { - core::ptr::write(ppedsf, core::mem::transmute(ok__)); + ppedsf.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5221,7 +5221,7 @@ impl IRemoteDebugApplicationThread_Vtbl { let this = (*this).get_impl(); match IRemoteDebugApplicationThread_Impl::GetState(this) { Ok(ok__) => { - core::ptr::write(pstate, core::mem::transmute(ok__)); + pstate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5232,7 +5232,7 @@ impl IRemoteDebugApplicationThread_Vtbl { let this = (*this).get_impl(); match IRemoteDebugApplicationThread_Impl::Suspend(this) { Ok(ok__) => { - core::ptr::write(pdwcount, core::mem::transmute(ok__)); + pdwcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5243,7 +5243,7 @@ impl IRemoteDebugApplicationThread_Vtbl { let this = (*this).get_impl(); match IRemoteDebugApplicationThread_Impl::Resume(this) { Ok(ok__) => { - core::ptr::write(pdwcount, core::mem::transmute(ok__)); + pdwcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5254,7 +5254,7 @@ impl IRemoteDebugApplicationThread_Vtbl { let this = (*this).get_impl(); match IRemoteDebugApplicationThread_Impl::GetSuspendCount(this) { Ok(ok__) => { - core::ptr::write(pdwcount, core::mem::transmute(ok__)); + pdwcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5335,7 +5335,7 @@ impl IScriptEntry_Vtbl { let this = (*this).get_impl(); match IScriptEntry_Impl::GetText(this) { Ok(ok__) => { - core::ptr::write(pbstr, core::mem::transmute(ok__)); + pbstr.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5351,7 +5351,7 @@ impl IScriptEntry_Vtbl { let this = (*this).get_impl(); match IScriptEntry_Impl::GetBody(this) { Ok(ok__) => { - core::ptr::write(pbstr, core::mem::transmute(ok__)); + pbstr.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5367,7 +5367,7 @@ impl IScriptEntry_Vtbl { let this = (*this).get_impl(); match IScriptEntry_Impl::GetName(this) { Ok(ok__) => { - core::ptr::write(pbstr, core::mem::transmute(ok__)); + pbstr.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5383,7 +5383,7 @@ impl IScriptEntry_Vtbl { let this = (*this).get_impl(); match IScriptEntry_Impl::GetItemName(this) { Ok(ok__) => { - core::ptr::write(pbstr, core::mem::transmute(ok__)); + pbstr.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5441,7 +5441,7 @@ impl IScriptInvocationContext_Vtbl { let this = (*this).get_impl(); match IScriptInvocationContext_Impl::GetContextType(this) { Ok(ok__) => { - core::ptr::write(pinvocationcontexttype, core::mem::transmute(ok__)); + pinvocationcontexttype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5452,7 +5452,7 @@ impl IScriptInvocationContext_Vtbl { let this = (*this).get_impl(); match IScriptInvocationContext_Impl::GetContextDescription(this) { Ok(ok__) => { - core::ptr::write(pdescription, core::mem::transmute(ok__)); + pdescription.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5463,7 +5463,7 @@ impl IScriptInvocationContext_Vtbl { let this = (*this).get_impl(); match IScriptInvocationContext_Impl::GetContextObject(this) { Ok(ok__) => { - core::ptr::write(ppcontextobject, core::mem::transmute(ok__)); + ppcontextobject.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5513,7 +5513,7 @@ impl IScriptNode_Vtbl { let this = (*this).get_impl(); match IScriptNode_Impl::GetParent(this) { Ok(ok__) => { - core::ptr::write(ppsnparent, core::mem::transmute(ok__)); + ppsnparent.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5524,7 +5524,7 @@ impl IScriptNode_Vtbl { let this = (*this).get_impl(); match IScriptNode_Impl::GetIndexInParent(this) { Ok(ok__) => { - core::ptr::write(pisn, core::mem::transmute(ok__)); + pisn.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5535,7 +5535,7 @@ impl IScriptNode_Vtbl { let this = (*this).get_impl(); match IScriptNode_Impl::GetCookie(this) { Ok(ok__) => { - core::ptr::write(pdwcookie, core::mem::transmute(ok__)); + pdwcookie.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5546,7 +5546,7 @@ impl IScriptNode_Vtbl { let this = (*this).get_impl(); match IScriptNode_Impl::GetNumberOfChildren(this) { Ok(ok__) => { - core::ptr::write(pcsn, core::mem::transmute(ok__)); + pcsn.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5557,7 +5557,7 @@ impl IScriptNode_Vtbl { let this = (*this).get_impl(); match IScriptNode_Impl::GetChild(this, core::mem::transmute_copy(&isn)) { Ok(ok__) => { - core::ptr::write(ppsn, core::mem::transmute(ok__)); + ppsn.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5568,7 +5568,7 @@ impl IScriptNode_Vtbl { let this = (*this).get_impl(); match IScriptNode_Impl::GetLanguage(this) { Ok(ok__) => { - core::ptr::write(pbstr, core::mem::transmute(ok__)); + pbstr.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5579,7 +5579,7 @@ impl IScriptNode_Vtbl { let this = (*this).get_impl(); match IScriptNode_Impl::CreateChildEntry(this, core::mem::transmute_copy(&isn), core::mem::transmute_copy(&dwcookie), core::mem::transmute(&pszdelimiter)) { Ok(ok__) => { - core::ptr::write(ppse, core::mem::transmute(ok__)); + ppse.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5590,7 +5590,7 @@ impl IScriptNode_Vtbl { let this = (*this).get_impl(); match IScriptNode_Impl::CreateChildHandler(this, core::mem::transmute(&pszdefaultname), core::mem::transmute_copy(&prgpsznames), core::mem::transmute_copy(&cpsznames), core::mem::transmute(&pszevent), core::mem::transmute(&pszdelimiter), windows_core::from_raw_borrowed(&ptisignature), core::mem::transmute_copy(&imethodsignature), core::mem::transmute_copy(&isn), core::mem::transmute_copy(&dwcookie)) { Ok(ok__) => { - core::ptr::write(ppse, core::mem::transmute(ok__)); + ppse.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5633,7 +5633,7 @@ impl IScriptScriptlet_Vtbl { let this = (*this).get_impl(); match IScriptScriptlet_Impl::GetSubItemName(this) { Ok(ok__) => { - core::ptr::write(pbstr, core::mem::transmute(ok__)); + pbstr.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5649,7 +5649,7 @@ impl IScriptScriptlet_Vtbl { let this = (*this).get_impl(); match IScriptScriptlet_Impl::GetEventName(this) { Ok(ok__) => { - core::ptr::write(pbstr, core::mem::transmute(ok__)); + pbstr.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5665,7 +5665,7 @@ impl IScriptScriptlet_Vtbl { let this = (*this).get_impl(); match IScriptScriptlet_Impl::GetSimpleEventName(this) { Ok(ok__) => { - core::ptr::write(pbstr, core::mem::transmute(ok__)); + pbstr.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5707,7 +5707,7 @@ impl ISimpleConnectionPoint_Vtbl { let this = (*this).get_impl(); match ISimpleConnectionPoint_Impl::GetEventCount(this) { Ok(ok__) => { - core::ptr::write(pulcount, core::mem::transmute(ok__)); + pulcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5723,7 +5723,7 @@ impl ISimpleConnectionPoint_Vtbl { let this = (*this).get_impl(); match ISimpleConnectionPoint_Impl::Advise(this, windows_core::from_raw_borrowed(&pdisp)) { Ok(ok__) => { - core::ptr::write(pdwcookie, core::mem::transmute(ok__)); + pdwcookie.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5795,7 +5795,7 @@ impl IWebAppDiagnosticsSetup_Vtbl { let this = (*this).get_impl(); match IWebAppDiagnosticsSetup_Impl::DiagnosticsSupported(this) { Ok(ok__) => { - core::ptr::write(pretval, core::mem::transmute(ok__)); + pretval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Debug/Extensions/impl.rs b/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Debug/Extensions/impl.rs index a9edeafe8d..305085ad92 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Debug/Extensions/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Debug/Extensions/impl.rs @@ -29,7 +29,7 @@ impl ICodeAddressConcept_Vtbl { let this = (*this).get_impl(); match ICodeAddressConcept_Impl::GetContainingSymbol(this, windows_core::from_raw_borrowed(&pcontextobject)) { Ok(ok__) => { - core::ptr::write(ppsymbol, core::mem::transmute(ok__)); + ppsymbol.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -52,7 +52,7 @@ impl IComparableConcept_Vtbl { let this = (*this).get_impl(); match IComparableConcept_Impl::CompareObjects(this, windows_core::from_raw_borrowed(&contextobject), windows_core::from_raw_borrowed(&otherobject)) { Ok(ok__) => { - core::ptr::write(comparisonresult, core::mem::transmute(ok__)); + comparisonresult.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -81,7 +81,7 @@ impl IDataModelConcept_Vtbl { let this = (*this).get_impl(); match IDataModelConcept_Impl::GetName(this) { Ok(ok__) => { - core::ptr::write(modelname, core::mem::transmute(ok__)); + modelname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -132,7 +132,7 @@ impl IDataModelManager_Vtbl { let this = (*this).get_impl(); match IDataModelManager_Impl::CreateNoValue(this) { Ok(ok__) => { - core::ptr::write(object, core::mem::transmute(ok__)); + object.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -143,7 +143,7 @@ impl IDataModelManager_Vtbl { let this = (*this).get_impl(); match IDataModelManager_Impl::CreateErrorObject(this, core::mem::transmute_copy(&hrerror), core::mem::transmute(&pwszmessage)) { Ok(ok__) => { - core::ptr::write(object, core::mem::transmute(ok__)); + object.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -154,7 +154,7 @@ impl IDataModelManager_Vtbl { let this = (*this).get_impl(); match IDataModelManager_Impl::CreateTypedObject(this, windows_core::from_raw_borrowed(&context), core::mem::transmute(&objectlocation), windows_core::from_raw_borrowed(&objecttype)) { Ok(ok__) => { - core::ptr::write(object, core::mem::transmute(ok__)); + object.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -165,7 +165,7 @@ impl IDataModelManager_Vtbl { let this = (*this).get_impl(); match IDataModelManager_Impl::CreateTypedObjectReference(this, windows_core::from_raw_borrowed(&context), core::mem::transmute(&objectlocation), windows_core::from_raw_borrowed(&objecttype)) { Ok(ok__) => { - core::ptr::write(object, core::mem::transmute(ok__)); + object.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -176,7 +176,7 @@ impl IDataModelManager_Vtbl { let this = (*this).get_impl(); match IDataModelManager_Impl::CreateSyntheticObject(this, windows_core::from_raw_borrowed(&context)) { Ok(ok__) => { - core::ptr::write(object, core::mem::transmute(ok__)); + object.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -187,7 +187,7 @@ impl IDataModelManager_Vtbl { let this = (*this).get_impl(); match IDataModelManager_Impl::CreateDataModelObject(this, windows_core::from_raw_borrowed(&datamodel)) { Ok(ok__) => { - core::ptr::write(object, core::mem::transmute(ok__)); + object.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -198,7 +198,7 @@ impl IDataModelManager_Vtbl { let this = (*this).get_impl(); match IDataModelManager_Impl::CreateIntrinsicObject(this, core::mem::transmute_copy(&objectkind), core::mem::transmute_copy(&intrinsicdata)) { Ok(ok__) => { - core::ptr::write(object, core::mem::transmute(ok__)); + object.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -209,7 +209,7 @@ impl IDataModelManager_Vtbl { let this = (*this).get_impl(); match IDataModelManager_Impl::CreateTypedIntrinsicObject(this, core::mem::transmute_copy(&intrinsicdata), windows_core::from_raw_borrowed(&r#type)) { Ok(ok__) => { - core::ptr::write(object, core::mem::transmute(ok__)); + object.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -220,7 +220,7 @@ impl IDataModelManager_Vtbl { let this = (*this).get_impl(); match IDataModelManager_Impl::GetModelForTypeSignature(this, windows_core::from_raw_borrowed(&typesignature)) { Ok(ok__) => { - core::ptr::write(datamodel, core::mem::transmute(ok__)); + datamodel.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -256,7 +256,7 @@ impl IDataModelManager_Vtbl { let this = (*this).get_impl(); match IDataModelManager_Impl::CreateMetadataStore(this, windows_core::from_raw_borrowed(&parentstore)) { Ok(ok__) => { - core::ptr::write(metadatastore, core::mem::transmute(ok__)); + metadatastore.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -267,7 +267,7 @@ impl IDataModelManager_Vtbl { let this = (*this).get_impl(); match IDataModelManager_Impl::GetRootNamespace(this) { Ok(ok__) => { - core::ptr::write(rootnamespace, core::mem::transmute(ok__)); + rootnamespace.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -288,7 +288,7 @@ impl IDataModelManager_Vtbl { let this = (*this).get_impl(); match IDataModelManager_Impl::AcquireNamedModel(this, core::mem::transmute(&modelname)) { Ok(ok__) => { - core::ptr::write(modelobject, core::mem::transmute(ok__)); + modelobject.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -334,7 +334,7 @@ impl IDataModelManager2_Vtbl { let this = (*this).get_impl(); match IDataModelManager2_Impl::AcquireSubNamespace(this, core::mem::transmute(&modelname), core::mem::transmute(&subnamespacemodelname), core::mem::transmute(&accessname), windows_core::from_raw_borrowed(&metadata)) { Ok(ok__) => { - core::ptr::write(namespacemodelobject, core::mem::transmute(ok__)); + namespacemodelobject.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -345,7 +345,7 @@ impl IDataModelManager2_Vtbl { let this = (*this).get_impl(); match IDataModelManager2_Impl::CreateTypedIntrinsicObjectEx(this, windows_core::from_raw_borrowed(&context), core::mem::transmute_copy(&intrinsicdata), windows_core::from_raw_borrowed(&r#type)) { Ok(ok__) => { - core::ptr::write(object, core::mem::transmute(ok__)); + object.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -385,7 +385,7 @@ impl IDataModelNameBinder_Vtbl { let this = (*this).get_impl(); match IDataModelNameBinder_Impl::EnumerateValues(this, windows_core::from_raw_borrowed(&contextobject)) { Ok(ok__) => { - core::ptr::write(enumerator, core::mem::transmute(ok__)); + enumerator.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -396,7 +396,7 @@ impl IDataModelNameBinder_Vtbl { let this = (*this).get_impl(); match IDataModelNameBinder_Impl::EnumerateReferences(this, windows_core::from_raw_borrowed(&contextobject)) { Ok(ok__) => { - core::ptr::write(enumerator, core::mem::transmute(ok__)); + enumerator.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -434,7 +434,7 @@ impl IDataModelScript_Vtbl { let this = (*this).get_impl(); match IDataModelScript_Impl::GetName(this) { Ok(ok__) => { - core::ptr::write(scriptname, core::mem::transmute(ok__)); + scriptname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -465,7 +465,7 @@ impl IDataModelScript_Vtbl { let this = (*this).get_impl(); match IDataModelScript_Impl::IsInvocable(this) { Ok(ok__) => { - core::ptr::write(isinvocable, core::mem::transmute(ok__)); + isinvocable.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -538,7 +538,7 @@ impl IDataModelScriptDebug_Vtbl { let this = (*this).get_impl(); match IDataModelScriptDebug_Impl::GetStack(this) { Ok(ok__) => { - core::ptr::write(stack, core::mem::transmute(ok__)); + stack.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -549,7 +549,7 @@ impl IDataModelScriptDebug_Vtbl { let this = (*this).get_impl(); match IDataModelScriptDebug_Impl::SetBreakpoint(this, core::mem::transmute_copy(&lineposition), core::mem::transmute_copy(&columnposition)) { Ok(ok__) => { - core::ptr::write(breakpoint, core::mem::transmute(ok__)); + breakpoint.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -560,7 +560,7 @@ impl IDataModelScriptDebug_Vtbl { let this = (*this).get_impl(); match IDataModelScriptDebug_Impl::FindBreakpointById(this, core::mem::transmute_copy(&breakpointid)) { Ok(ok__) => { - core::ptr::write(breakpoint, core::mem::transmute(ok__)); + breakpoint.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -571,7 +571,7 @@ impl IDataModelScriptDebug_Vtbl { let this = (*this).get_impl(); match IDataModelScriptDebug_Impl::EnumerateBreakpoints(this) { Ok(ok__) => { - core::ptr::write(breakpointenum, core::mem::transmute(ok__)); + breakpointenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -582,7 +582,7 @@ impl IDataModelScriptDebug_Vtbl { let this = (*this).get_impl(); match IDataModelScriptDebug_Impl::GetEventFilter(this, core::mem::transmute_copy(&eventfilter)) { Ok(ok__) => { - core::ptr::write(isbreakenabled, core::mem::transmute(ok__)); + isbreakenabled.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -632,7 +632,7 @@ impl IDataModelScriptDebug2_Vtbl { let this = (*this).get_impl(); match IDataModelScriptDebug2_Impl::SetBreakpointAtFunction(this, core::mem::transmute(&functionname)) { Ok(ok__) => { - core::ptr::write(breakpoint, core::mem::transmute(ok__)); + breakpoint.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -716,7 +716,7 @@ impl IDataModelScriptDebugBreakpointEnumerator_Vtbl { let this = (*this).get_impl(); match IDataModelScriptDebugBreakpointEnumerator_Impl::GetNext(this) { Ok(ok__) => { - core::ptr::write(breakpoint, core::mem::transmute(ok__)); + breakpoint.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -766,7 +766,7 @@ impl IDataModelScriptDebugStack_Vtbl { let this = (*this).get_impl(); match IDataModelScriptDebugStack_Impl::GetStackFrame(this, core::mem::transmute_copy(&framenumber)) { Ok(ok__) => { - core::ptr::write(stackframe, core::mem::transmute(ok__)); + stackframe.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -799,7 +799,7 @@ impl IDataModelScriptDebugStackFrame_Vtbl { let this = (*this).get_impl(); match IDataModelScriptDebugStackFrame_Impl::GetName(this) { Ok(ok__) => { - core::ptr::write(name, core::mem::transmute(ok__)); + name.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -815,7 +815,7 @@ impl IDataModelScriptDebugStackFrame_Vtbl { let this = (*this).get_impl(); match IDataModelScriptDebugStackFrame_Impl::IsTransitionPoint(this) { Ok(ok__) => { - core::ptr::write(istransitionpoint, core::mem::transmute(ok__)); + istransitionpoint.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -831,7 +831,7 @@ impl IDataModelScriptDebugStackFrame_Vtbl { let this = (*this).get_impl(); match IDataModelScriptDebugStackFrame_Impl::Evaluate(this, core::mem::transmute(&pwszexpression)) { Ok(ok__) => { - core::ptr::write(ppresult, core::mem::transmute(ok__)); + ppresult.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -842,7 +842,7 @@ impl IDataModelScriptDebugStackFrame_Vtbl { let this = (*this).get_impl(); match IDataModelScriptDebugStackFrame_Impl::EnumerateLocals(this) { Ok(ok__) => { - core::ptr::write(variablesenum, core::mem::transmute(ok__)); + variablesenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -853,7 +853,7 @@ impl IDataModelScriptDebugStackFrame_Vtbl { let this = (*this).get_impl(); match IDataModelScriptDebugStackFrame_Impl::EnumerateArguments(this) { Ok(ok__) => { - core::ptr::write(variablesenum, core::mem::transmute(ok__)); + variablesenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -918,7 +918,7 @@ impl IDataModelScriptHostContext_Vtbl { let this = (*this).get_impl(); match IDataModelScriptHostContext_Impl::GetNamespaceObject(this) { Ok(ok__) => { - core::ptr::write(namespaceobject, core::mem::transmute(ok__)); + namespaceobject.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -950,7 +950,7 @@ impl IDataModelScriptManager_Vtbl { let this = (*this).get_impl(); match IDataModelScriptManager_Impl::GetDefaultNameBinder(this) { Ok(ok__) => { - core::ptr::write(ppnamebinder, core::mem::transmute(ok__)); + ppnamebinder.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -971,7 +971,7 @@ impl IDataModelScriptManager_Vtbl { let this = (*this).get_impl(); match IDataModelScriptManager_Impl::FindProviderForScriptType(this, core::mem::transmute(&scripttype)) { Ok(ok__) => { - core::ptr::write(provider, core::mem::transmute(ok__)); + provider.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -982,7 +982,7 @@ impl IDataModelScriptManager_Vtbl { let this = (*this).get_impl(); match IDataModelScriptManager_Impl::FindProviderForScriptExtension(this, core::mem::transmute(&scriptextension)) { Ok(ok__) => { - core::ptr::write(provider, core::mem::transmute(ok__)); + provider.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -993,7 +993,7 @@ impl IDataModelScriptManager_Vtbl { let this = (*this).get_impl(); match IDataModelScriptManager_Impl::EnumerateScriptProviders(this) { Ok(ok__) => { - core::ptr::write(enumerator, core::mem::transmute(ok__)); + enumerator.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1028,7 +1028,7 @@ impl IDataModelScriptProvider_Vtbl { let this = (*this).get_impl(); match IDataModelScriptProvider_Impl::GetName(this) { Ok(ok__) => { - core::ptr::write(name, core::mem::transmute(ok__)); + name.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1039,7 +1039,7 @@ impl IDataModelScriptProvider_Vtbl { let this = (*this).get_impl(); match IDataModelScriptProvider_Impl::GetExtension(this) { Ok(ok__) => { - core::ptr::write(extension, core::mem::transmute(ok__)); + extension.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1050,7 +1050,7 @@ impl IDataModelScriptProvider_Vtbl { let this = (*this).get_impl(); match IDataModelScriptProvider_Impl::CreateScript(this) { Ok(ok__) => { - core::ptr::write(script, core::mem::transmute(ok__)); + script.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1061,7 +1061,7 @@ impl IDataModelScriptProvider_Vtbl { let this = (*this).get_impl(); match IDataModelScriptProvider_Impl::GetDefaultTemplateContent(this) { Ok(ok__) => { - core::ptr::write(templatecontent, core::mem::transmute(ok__)); + templatecontent.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1072,7 +1072,7 @@ impl IDataModelScriptProvider_Vtbl { let this = (*this).get_impl(); match IDataModelScriptProvider_Impl::EnumerateTemplates(this) { Ok(ok__) => { - core::ptr::write(enumerator, core::mem::transmute(ok__)); + enumerator.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1108,7 +1108,7 @@ impl IDataModelScriptProviderEnumerator_Vtbl { let this = (*this).get_impl(); match IDataModelScriptProviderEnumerator_Impl::GetNext(this) { Ok(ok__) => { - core::ptr::write(provider, core::mem::transmute(ok__)); + provider.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1140,7 +1140,7 @@ impl IDataModelScriptTemplate_Vtbl { let this = (*this).get_impl(); match IDataModelScriptTemplate_Impl::GetName(this) { Ok(ok__) => { - core::ptr::write(templatename, core::mem::transmute(ok__)); + templatename.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1151,7 +1151,7 @@ impl IDataModelScriptTemplate_Vtbl { let this = (*this).get_impl(); match IDataModelScriptTemplate_Impl::GetDescription(this) { Ok(ok__) => { - core::ptr::write(templatedescription, core::mem::transmute(ok__)); + templatedescription.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1162,7 +1162,7 @@ impl IDataModelScriptTemplate_Vtbl { let this = (*this).get_impl(); match IDataModelScriptTemplate_Impl::GetContent(this) { Ok(ok__) => { - core::ptr::write(contentstream, core::mem::transmute(ok__)); + contentstream.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1196,7 +1196,7 @@ impl IDataModelScriptTemplateEnumerator_Vtbl { let this = (*this).get_impl(); match IDataModelScriptTemplateEnumerator_Impl::GetNext(this) { Ok(ok__) => { - core::ptr::write(templatecontent, core::mem::transmute(ok__)); + templatecontent.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1505,7 +1505,7 @@ impl IDebugBreakpoint_Vtbl { let this = (*this).get_impl(); match IDebugBreakpoint_Impl::GetId(this) { Ok(ok__) => { - core::ptr::write(id, core::mem::transmute(ok__)); + id.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1521,7 +1521,7 @@ impl IDebugBreakpoint_Vtbl { let this = (*this).get_impl(); match IDebugBreakpoint_Impl::GetAdder(this) { Ok(ok__) => { - core::ptr::write(adder, core::mem::transmute(ok__)); + adder.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1532,7 +1532,7 @@ impl IDebugBreakpoint_Vtbl { let this = (*this).get_impl(); match IDebugBreakpoint_Impl::GetFlags(this) { Ok(ok__) => { - core::ptr::write(flags, core::mem::transmute(ok__)); + flags.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1558,7 +1558,7 @@ impl IDebugBreakpoint_Vtbl { let this = (*this).get_impl(); match IDebugBreakpoint_Impl::GetOffset(this) { Ok(ok__) => { - core::ptr::write(offset, core::mem::transmute(ok__)); + offset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1584,7 +1584,7 @@ impl IDebugBreakpoint_Vtbl { let this = (*this).get_impl(); match IDebugBreakpoint_Impl::GetPassCount(this) { Ok(ok__) => { - core::ptr::write(count, core::mem::transmute(ok__)); + count.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1600,7 +1600,7 @@ impl IDebugBreakpoint_Vtbl { let this = (*this).get_impl(); match IDebugBreakpoint_Impl::GetCurrentPassCount(this) { Ok(ok__) => { - core::ptr::write(count, core::mem::transmute(ok__)); + count.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1611,7 +1611,7 @@ impl IDebugBreakpoint_Vtbl { let this = (*this).get_impl(); match IDebugBreakpoint_Impl::GetMatchThreadId(this) { Ok(ok__) => { - core::ptr::write(id, core::mem::transmute(ok__)); + id.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1711,7 +1711,7 @@ impl IDebugBreakpoint2_Vtbl { let this = (*this).get_impl(); match IDebugBreakpoint2_Impl::GetId(this) { Ok(ok__) => { - core::ptr::write(id, core::mem::transmute(ok__)); + id.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1727,7 +1727,7 @@ impl IDebugBreakpoint2_Vtbl { let this = (*this).get_impl(); match IDebugBreakpoint2_Impl::GetAdder(this) { Ok(ok__) => { - core::ptr::write(adder, core::mem::transmute(ok__)); + adder.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1738,7 +1738,7 @@ impl IDebugBreakpoint2_Vtbl { let this = (*this).get_impl(); match IDebugBreakpoint2_Impl::GetFlags(this) { Ok(ok__) => { - core::ptr::write(flags, core::mem::transmute(ok__)); + flags.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1764,7 +1764,7 @@ impl IDebugBreakpoint2_Vtbl { let this = (*this).get_impl(); match IDebugBreakpoint2_Impl::GetOffset(this) { Ok(ok__) => { - core::ptr::write(offset, core::mem::transmute(ok__)); + offset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1790,7 +1790,7 @@ impl IDebugBreakpoint2_Vtbl { let this = (*this).get_impl(); match IDebugBreakpoint2_Impl::GetPassCount(this) { Ok(ok__) => { - core::ptr::write(count, core::mem::transmute(ok__)); + count.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1806,7 +1806,7 @@ impl IDebugBreakpoint2_Vtbl { let this = (*this).get_impl(); match IDebugBreakpoint2_Impl::GetCurrentPassCount(this) { Ok(ok__) => { - core::ptr::write(count, core::mem::transmute(ok__)); + count.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1817,7 +1817,7 @@ impl IDebugBreakpoint2_Vtbl { let this = (*this).get_impl(); match IDebugBreakpoint2_Impl::GetMatchThreadId(this) { Ok(ok__) => { - core::ptr::write(id, core::mem::transmute(ok__)); + id.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1942,7 +1942,7 @@ impl IDebugBreakpoint3_Vtbl { let this = (*this).get_impl(); match IDebugBreakpoint3_Impl::GetId(this) { Ok(ok__) => { - core::ptr::write(id, core::mem::transmute(ok__)); + id.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1958,7 +1958,7 @@ impl IDebugBreakpoint3_Vtbl { let this = (*this).get_impl(); match IDebugBreakpoint3_Impl::GetAdder(this) { Ok(ok__) => { - core::ptr::write(adder, core::mem::transmute(ok__)); + adder.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1969,7 +1969,7 @@ impl IDebugBreakpoint3_Vtbl { let this = (*this).get_impl(); match IDebugBreakpoint3_Impl::GetFlags(this) { Ok(ok__) => { - core::ptr::write(flags, core::mem::transmute(ok__)); + flags.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1995,7 +1995,7 @@ impl IDebugBreakpoint3_Vtbl { let this = (*this).get_impl(); match IDebugBreakpoint3_Impl::GetOffset(this) { Ok(ok__) => { - core::ptr::write(offset, core::mem::transmute(ok__)); + offset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2021,7 +2021,7 @@ impl IDebugBreakpoint3_Vtbl { let this = (*this).get_impl(); match IDebugBreakpoint3_Impl::GetPassCount(this) { Ok(ok__) => { - core::ptr::write(count, core::mem::transmute(ok__)); + count.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2037,7 +2037,7 @@ impl IDebugBreakpoint3_Vtbl { let this = (*this).get_impl(); match IDebugBreakpoint3_Impl::GetCurrentPassCount(this) { Ok(ok__) => { - core::ptr::write(count, core::mem::transmute(ok__)); + count.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2048,7 +2048,7 @@ impl IDebugBreakpoint3_Vtbl { let this = (*this).get_impl(); match IDebugBreakpoint3_Impl::GetMatchThreadId(this) { Ok(ok__) => { - core::ptr::write(id, core::mem::transmute(ok__)); + id.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2109,7 +2109,7 @@ impl IDebugBreakpoint3_Vtbl { let this = (*this).get_impl(); match IDebugBreakpoint3_Impl::GetGuid(this) { Ok(ok__) => { - core::ptr::write(guid, core::mem::transmute(ok__)); + guid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2224,7 +2224,7 @@ impl IDebugClient_Vtbl { let this = (*this).get_impl(); match IDebugClient_Impl::ConnectProcessServer(this, core::mem::transmute(&remoteoptions)) { Ok(ok__) => { - core::ptr::write(server, core::mem::transmute(ok__)); + server.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2245,7 +2245,7 @@ impl IDebugClient_Vtbl { let this = (*this).get_impl(); match IDebugClient_Impl::GetRunningProcessSystemIdByExecutableName(this, core::mem::transmute_copy(&server), core::mem::transmute(&exename), core::mem::transmute_copy(&flags)) { Ok(ok__) => { - core::ptr::write(id, core::mem::transmute(ok__)); + id.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2276,7 +2276,7 @@ impl IDebugClient_Vtbl { let this = (*this).get_impl(); match IDebugClient_Impl::GetProcessOptions(this) { Ok(ok__) => { - core::ptr::write(options, core::mem::transmute(ok__)); + options.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2342,7 +2342,7 @@ impl IDebugClient_Vtbl { let this = (*this).get_impl(); match IDebugClient_Impl::GetExitCode(this) { Ok(ok__) => { - core::ptr::write(code, core::mem::transmute(ok__)); + code.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2363,7 +2363,7 @@ impl IDebugClient_Vtbl { let this = (*this).get_impl(); match IDebugClient_Impl::CreateClient(this) { Ok(ok__) => { - core::ptr::write(client, core::mem::transmute(ok__)); + client.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2374,7 +2374,7 @@ impl IDebugClient_Vtbl { let this = (*this).get_impl(); match IDebugClient_Impl::GetInputCallbacks(this) { Ok(ok__) => { - core::ptr::write(callbacks, core::mem::transmute(ok__)); + callbacks.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2390,7 +2390,7 @@ impl IDebugClient_Vtbl { let this = (*this).get_impl(); match IDebugClient_Impl::GetOutputCallbacks(this) { Ok(ok__) => { - core::ptr::write(callbacks, core::mem::transmute(ok__)); + callbacks.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2406,7 +2406,7 @@ impl IDebugClient_Vtbl { let this = (*this).get_impl(); match IDebugClient_Impl::GetOutputMask(this) { Ok(ok__) => { - core::ptr::write(mask, core::mem::transmute(ok__)); + mask.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2422,7 +2422,7 @@ impl IDebugClient_Vtbl { let this = (*this).get_impl(); match IDebugClient_Impl::GetOtherOutputMask(this, windows_core::from_raw_borrowed(&client)) { Ok(ok__) => { - core::ptr::write(mask, core::mem::transmute(ok__)); + mask.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2438,7 +2438,7 @@ impl IDebugClient_Vtbl { let this = (*this).get_impl(); match IDebugClient_Impl::GetOutputWidth(this) { Ok(ok__) => { - core::ptr::write(columns, core::mem::transmute(ok__)); + columns.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2474,7 +2474,7 @@ impl IDebugClient_Vtbl { let this = (*this).get_impl(); match IDebugClient_Impl::GetEventCallbacks(this) { Ok(ok__) => { - core::ptr::write(callbacks, core::mem::transmute(ok__)); + callbacks.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2626,7 +2626,7 @@ impl IDebugClient2_Vtbl { let this = (*this).get_impl(); match IDebugClient2_Impl::ConnectProcessServer(this, core::mem::transmute(&remoteoptions)) { Ok(ok__) => { - core::ptr::write(server, core::mem::transmute(ok__)); + server.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2647,7 +2647,7 @@ impl IDebugClient2_Vtbl { let this = (*this).get_impl(); match IDebugClient2_Impl::GetRunningProcessSystemIdByExecutableName(this, core::mem::transmute_copy(&server), core::mem::transmute(&exename), core::mem::transmute_copy(&flags)) { Ok(ok__) => { - core::ptr::write(id, core::mem::transmute(ok__)); + id.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2678,7 +2678,7 @@ impl IDebugClient2_Vtbl { let this = (*this).get_impl(); match IDebugClient2_Impl::GetProcessOptions(this) { Ok(ok__) => { - core::ptr::write(options, core::mem::transmute(ok__)); + options.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2744,7 +2744,7 @@ impl IDebugClient2_Vtbl { let this = (*this).get_impl(); match IDebugClient2_Impl::GetExitCode(this) { Ok(ok__) => { - core::ptr::write(code, core::mem::transmute(ok__)); + code.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2765,7 +2765,7 @@ impl IDebugClient2_Vtbl { let this = (*this).get_impl(); match IDebugClient2_Impl::CreateClient(this) { Ok(ok__) => { - core::ptr::write(client, core::mem::transmute(ok__)); + client.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2776,7 +2776,7 @@ impl IDebugClient2_Vtbl { let this = (*this).get_impl(); match IDebugClient2_Impl::GetInputCallbacks(this) { Ok(ok__) => { - core::ptr::write(callbacks, core::mem::transmute(ok__)); + callbacks.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2792,7 +2792,7 @@ impl IDebugClient2_Vtbl { let this = (*this).get_impl(); match IDebugClient2_Impl::GetOutputCallbacks(this) { Ok(ok__) => { - core::ptr::write(callbacks, core::mem::transmute(ok__)); + callbacks.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2808,7 +2808,7 @@ impl IDebugClient2_Vtbl { let this = (*this).get_impl(); match IDebugClient2_Impl::GetOutputMask(this) { Ok(ok__) => { - core::ptr::write(mask, core::mem::transmute(ok__)); + mask.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2824,7 +2824,7 @@ impl IDebugClient2_Vtbl { let this = (*this).get_impl(); match IDebugClient2_Impl::GetOtherOutputMask(this, windows_core::from_raw_borrowed(&client)) { Ok(ok__) => { - core::ptr::write(mask, core::mem::transmute(ok__)); + mask.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2840,7 +2840,7 @@ impl IDebugClient2_Vtbl { let this = (*this).get_impl(); match IDebugClient2_Impl::GetOutputWidth(this) { Ok(ok__) => { - core::ptr::write(columns, core::mem::transmute(ok__)); + columns.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2876,7 +2876,7 @@ impl IDebugClient2_Vtbl { let this = (*this).get_impl(); match IDebugClient2_Impl::GetEventCallbacks(this) { Ok(ok__) => { - core::ptr::write(callbacks, core::mem::transmute(ok__)); + callbacks.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3080,7 +3080,7 @@ impl IDebugClient3_Vtbl { let this = (*this).get_impl(); match IDebugClient3_Impl::ConnectProcessServer(this, core::mem::transmute(&remoteoptions)) { Ok(ok__) => { - core::ptr::write(server, core::mem::transmute(ok__)); + server.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3101,7 +3101,7 @@ impl IDebugClient3_Vtbl { let this = (*this).get_impl(); match IDebugClient3_Impl::GetRunningProcessSystemIdByExecutableName(this, core::mem::transmute_copy(&server), core::mem::transmute(&exename), core::mem::transmute_copy(&flags)) { Ok(ok__) => { - core::ptr::write(id, core::mem::transmute(ok__)); + id.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3132,7 +3132,7 @@ impl IDebugClient3_Vtbl { let this = (*this).get_impl(); match IDebugClient3_Impl::GetProcessOptions(this) { Ok(ok__) => { - core::ptr::write(options, core::mem::transmute(ok__)); + options.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3198,7 +3198,7 @@ impl IDebugClient3_Vtbl { let this = (*this).get_impl(); match IDebugClient3_Impl::GetExitCode(this) { Ok(ok__) => { - core::ptr::write(code, core::mem::transmute(ok__)); + code.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3219,7 +3219,7 @@ impl IDebugClient3_Vtbl { let this = (*this).get_impl(); match IDebugClient3_Impl::CreateClient(this) { Ok(ok__) => { - core::ptr::write(client, core::mem::transmute(ok__)); + client.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3230,7 +3230,7 @@ impl IDebugClient3_Vtbl { let this = (*this).get_impl(); match IDebugClient3_Impl::GetInputCallbacks(this) { Ok(ok__) => { - core::ptr::write(callbacks, core::mem::transmute(ok__)); + callbacks.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3246,7 +3246,7 @@ impl IDebugClient3_Vtbl { let this = (*this).get_impl(); match IDebugClient3_Impl::GetOutputCallbacks(this) { Ok(ok__) => { - core::ptr::write(callbacks, core::mem::transmute(ok__)); + callbacks.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3262,7 +3262,7 @@ impl IDebugClient3_Vtbl { let this = (*this).get_impl(); match IDebugClient3_Impl::GetOutputMask(this) { Ok(ok__) => { - core::ptr::write(mask, core::mem::transmute(ok__)); + mask.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3278,7 +3278,7 @@ impl IDebugClient3_Vtbl { let this = (*this).get_impl(); match IDebugClient3_Impl::GetOtherOutputMask(this, windows_core::from_raw_borrowed(&client)) { Ok(ok__) => { - core::ptr::write(mask, core::mem::transmute(ok__)); + mask.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3294,7 +3294,7 @@ impl IDebugClient3_Vtbl { let this = (*this).get_impl(); match IDebugClient3_Impl::GetOutputWidth(this) { Ok(ok__) => { - core::ptr::write(columns, core::mem::transmute(ok__)); + columns.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3330,7 +3330,7 @@ impl IDebugClient3_Vtbl { let this = (*this).get_impl(); match IDebugClient3_Impl::GetEventCallbacks(this) { Ok(ok__) => { - core::ptr::write(callbacks, core::mem::transmute(ok__)); + callbacks.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3391,7 +3391,7 @@ impl IDebugClient3_Vtbl { let this = (*this).get_impl(); match IDebugClient3_Impl::GetRunningProcessSystemIdByExecutableNameWide(this, core::mem::transmute_copy(&server), core::mem::transmute(&exename), core::mem::transmute_copy(&flags)) { Ok(ok__) => { - core::ptr::write(id, core::mem::transmute(ok__)); + id.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3570,7 +3570,7 @@ impl IDebugClient4_Vtbl { let this = (*this).get_impl(); match IDebugClient4_Impl::ConnectProcessServer(this, core::mem::transmute(&remoteoptions)) { Ok(ok__) => { - core::ptr::write(server, core::mem::transmute(ok__)); + server.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3591,7 +3591,7 @@ impl IDebugClient4_Vtbl { let this = (*this).get_impl(); match IDebugClient4_Impl::GetRunningProcessSystemIdByExecutableName(this, core::mem::transmute_copy(&server), core::mem::transmute(&exename), core::mem::transmute_copy(&flags)) { Ok(ok__) => { - core::ptr::write(id, core::mem::transmute(ok__)); + id.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3622,7 +3622,7 @@ impl IDebugClient4_Vtbl { let this = (*this).get_impl(); match IDebugClient4_Impl::GetProcessOptions(this) { Ok(ok__) => { - core::ptr::write(options, core::mem::transmute(ok__)); + options.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3688,7 +3688,7 @@ impl IDebugClient4_Vtbl { let this = (*this).get_impl(); match IDebugClient4_Impl::GetExitCode(this) { Ok(ok__) => { - core::ptr::write(code, core::mem::transmute(ok__)); + code.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3709,7 +3709,7 @@ impl IDebugClient4_Vtbl { let this = (*this).get_impl(); match IDebugClient4_Impl::CreateClient(this) { Ok(ok__) => { - core::ptr::write(client, core::mem::transmute(ok__)); + client.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3720,7 +3720,7 @@ impl IDebugClient4_Vtbl { let this = (*this).get_impl(); match IDebugClient4_Impl::GetInputCallbacks(this) { Ok(ok__) => { - core::ptr::write(callbacks, core::mem::transmute(ok__)); + callbacks.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3736,7 +3736,7 @@ impl IDebugClient4_Vtbl { let this = (*this).get_impl(); match IDebugClient4_Impl::GetOutputCallbacks(this) { Ok(ok__) => { - core::ptr::write(callbacks, core::mem::transmute(ok__)); + callbacks.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3752,7 +3752,7 @@ impl IDebugClient4_Vtbl { let this = (*this).get_impl(); match IDebugClient4_Impl::GetOutputMask(this) { Ok(ok__) => { - core::ptr::write(mask, core::mem::transmute(ok__)); + mask.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3768,7 +3768,7 @@ impl IDebugClient4_Vtbl { let this = (*this).get_impl(); match IDebugClient4_Impl::GetOtherOutputMask(this, windows_core::from_raw_borrowed(&client)) { Ok(ok__) => { - core::ptr::write(mask, core::mem::transmute(ok__)); + mask.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3784,7 +3784,7 @@ impl IDebugClient4_Vtbl { let this = (*this).get_impl(); match IDebugClient4_Impl::GetOutputWidth(this) { Ok(ok__) => { - core::ptr::write(columns, core::mem::transmute(ok__)); + columns.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3820,7 +3820,7 @@ impl IDebugClient4_Vtbl { let this = (*this).get_impl(); match IDebugClient4_Impl::GetEventCallbacks(this) { Ok(ok__) => { - core::ptr::write(callbacks, core::mem::transmute(ok__)); + callbacks.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3881,7 +3881,7 @@ impl IDebugClient4_Vtbl { let this = (*this).get_impl(); match IDebugClient4_Impl::GetRunningProcessSystemIdByExecutableNameWide(this, core::mem::transmute_copy(&server), core::mem::transmute(&exename), core::mem::transmute_copy(&flags)) { Ok(ok__) => { - core::ptr::write(id, core::mem::transmute(ok__)); + id.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3922,7 +3922,7 @@ impl IDebugClient4_Vtbl { let this = (*this).get_impl(); match IDebugClient4_Impl::GetNumberDumpFiles(this) { Ok(ok__) => { - core::ptr::write(number, core::mem::transmute(ok__)); + number.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4131,7 +4131,7 @@ impl IDebugClient5_Vtbl { let this = (*this).get_impl(); match IDebugClient5_Impl::ConnectProcessServer(this, core::mem::transmute(&remoteoptions)) { Ok(ok__) => { - core::ptr::write(server, core::mem::transmute(ok__)); + server.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4152,7 +4152,7 @@ impl IDebugClient5_Vtbl { let this = (*this).get_impl(); match IDebugClient5_Impl::GetRunningProcessSystemIdByExecutableName(this, core::mem::transmute_copy(&server), core::mem::transmute(&exename), core::mem::transmute_copy(&flags)) { Ok(ok__) => { - core::ptr::write(id, core::mem::transmute(ok__)); + id.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4183,7 +4183,7 @@ impl IDebugClient5_Vtbl { let this = (*this).get_impl(); match IDebugClient5_Impl::GetProcessOptions(this) { Ok(ok__) => { - core::ptr::write(options, core::mem::transmute(ok__)); + options.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4249,7 +4249,7 @@ impl IDebugClient5_Vtbl { let this = (*this).get_impl(); match IDebugClient5_Impl::GetExitCode(this) { Ok(ok__) => { - core::ptr::write(code, core::mem::transmute(ok__)); + code.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4270,7 +4270,7 @@ impl IDebugClient5_Vtbl { let this = (*this).get_impl(); match IDebugClient5_Impl::CreateClient(this) { Ok(ok__) => { - core::ptr::write(client, core::mem::transmute(ok__)); + client.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4281,7 +4281,7 @@ impl IDebugClient5_Vtbl { let this = (*this).get_impl(); match IDebugClient5_Impl::GetInputCallbacks(this) { Ok(ok__) => { - core::ptr::write(callbacks, core::mem::transmute(ok__)); + callbacks.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4297,7 +4297,7 @@ impl IDebugClient5_Vtbl { let this = (*this).get_impl(); match IDebugClient5_Impl::GetOutputCallbacks(this) { Ok(ok__) => { - core::ptr::write(callbacks, core::mem::transmute(ok__)); + callbacks.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4313,7 +4313,7 @@ impl IDebugClient5_Vtbl { let this = (*this).get_impl(); match IDebugClient5_Impl::GetOutputMask(this) { Ok(ok__) => { - core::ptr::write(mask, core::mem::transmute(ok__)); + mask.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4329,7 +4329,7 @@ impl IDebugClient5_Vtbl { let this = (*this).get_impl(); match IDebugClient5_Impl::GetOtherOutputMask(this, windows_core::from_raw_borrowed(&client)) { Ok(ok__) => { - core::ptr::write(mask, core::mem::transmute(ok__)); + mask.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4345,7 +4345,7 @@ impl IDebugClient5_Vtbl { let this = (*this).get_impl(); match IDebugClient5_Impl::GetOutputWidth(this) { Ok(ok__) => { - core::ptr::write(columns, core::mem::transmute(ok__)); + columns.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4381,7 +4381,7 @@ impl IDebugClient5_Vtbl { let this = (*this).get_impl(); match IDebugClient5_Impl::GetEventCallbacks(this) { Ok(ok__) => { - core::ptr::write(callbacks, core::mem::transmute(ok__)); + callbacks.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4442,7 +4442,7 @@ impl IDebugClient5_Vtbl { let this = (*this).get_impl(); match IDebugClient5_Impl::GetRunningProcessSystemIdByExecutableNameWide(this, core::mem::transmute_copy(&server), core::mem::transmute(&exename), core::mem::transmute_copy(&flags)) { Ok(ok__) => { - core::ptr::write(id, core::mem::transmute(ok__)); + id.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4483,7 +4483,7 @@ impl IDebugClient5_Vtbl { let this = (*this).get_impl(); match IDebugClient5_Impl::GetNumberDumpFiles(this) { Ok(ok__) => { - core::ptr::write(number, core::mem::transmute(ok__)); + number.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4524,7 +4524,7 @@ impl IDebugClient5_Vtbl { let this = (*this).get_impl(); match IDebugClient5_Impl::ConnectProcessServerWide(this, core::mem::transmute(&remoteoptions)) { Ok(ok__) => { - core::ptr::write(server, core::mem::transmute(ok__)); + server.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4545,7 +4545,7 @@ impl IDebugClient5_Vtbl { let this = (*this).get_impl(); match IDebugClient5_Impl::GetOutputCallbacksWide(this) { Ok(ok__) => { - core::ptr::write(callbacks, core::mem::transmute(ok__)); + callbacks.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4581,7 +4581,7 @@ impl IDebugClient5_Vtbl { let this = (*this).get_impl(); match IDebugClient5_Impl::GetEventCallbacksWide(this) { Ok(ok__) => { - core::ptr::write(callbacks, core::mem::transmute(ok__)); + callbacks.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4617,7 +4617,7 @@ impl IDebugClient5_Vtbl { let this = (*this).get_impl(); match IDebugClient5_Impl::PushOutputLinePrefix(this, core::mem::transmute(&newprefix)) { Ok(ok__) => { - core::ptr::write(handle, core::mem::transmute(ok__)); + handle.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4628,7 +4628,7 @@ impl IDebugClient5_Vtbl { let this = (*this).get_impl(); match IDebugClient5_Impl::PushOutputLinePrefixWide(this, core::mem::transmute(&newprefix)) { Ok(ok__) => { - core::ptr::write(handle, core::mem::transmute(ok__)); + handle.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4644,7 +4644,7 @@ impl IDebugClient5_Vtbl { let this = (*this).get_impl(); match IDebugClient5_Impl::GetNumberInputCallbacks(this) { Ok(ok__) => { - core::ptr::write(count, core::mem::transmute(ok__)); + count.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4655,7 +4655,7 @@ impl IDebugClient5_Vtbl { let this = (*this).get_impl(); match IDebugClient5_Impl::GetNumberOutputCallbacks(this) { Ok(ok__) => { - core::ptr::write(count, core::mem::transmute(ok__)); + count.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4666,7 +4666,7 @@ impl IDebugClient5_Vtbl { let this = (*this).get_impl(); match IDebugClient5_Impl::GetNumberEventCallbacks(this, core::mem::transmute_copy(&eventflags)) { Ok(ok__) => { - core::ptr::write(count, core::mem::transmute(ok__)); + count.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4915,7 +4915,7 @@ impl IDebugClient6_Vtbl { let this = (*this).get_impl(); match IDebugClient6_Impl::ConnectProcessServer(this, core::mem::transmute(&remoteoptions)) { Ok(ok__) => { - core::ptr::write(server, core::mem::transmute(ok__)); + server.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4936,7 +4936,7 @@ impl IDebugClient6_Vtbl { let this = (*this).get_impl(); match IDebugClient6_Impl::GetRunningProcessSystemIdByExecutableName(this, core::mem::transmute_copy(&server), core::mem::transmute(&exename), core::mem::transmute_copy(&flags)) { Ok(ok__) => { - core::ptr::write(id, core::mem::transmute(ok__)); + id.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4967,7 +4967,7 @@ impl IDebugClient6_Vtbl { let this = (*this).get_impl(); match IDebugClient6_Impl::GetProcessOptions(this) { Ok(ok__) => { - core::ptr::write(options, core::mem::transmute(ok__)); + options.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5033,7 +5033,7 @@ impl IDebugClient6_Vtbl { let this = (*this).get_impl(); match IDebugClient6_Impl::GetExitCode(this) { Ok(ok__) => { - core::ptr::write(code, core::mem::transmute(ok__)); + code.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5054,7 +5054,7 @@ impl IDebugClient6_Vtbl { let this = (*this).get_impl(); match IDebugClient6_Impl::CreateClient(this) { Ok(ok__) => { - core::ptr::write(client, core::mem::transmute(ok__)); + client.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5065,7 +5065,7 @@ impl IDebugClient6_Vtbl { let this = (*this).get_impl(); match IDebugClient6_Impl::GetInputCallbacks(this) { Ok(ok__) => { - core::ptr::write(callbacks, core::mem::transmute(ok__)); + callbacks.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5081,7 +5081,7 @@ impl IDebugClient6_Vtbl { let this = (*this).get_impl(); match IDebugClient6_Impl::GetOutputCallbacks(this) { Ok(ok__) => { - core::ptr::write(callbacks, core::mem::transmute(ok__)); + callbacks.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5097,7 +5097,7 @@ impl IDebugClient6_Vtbl { let this = (*this).get_impl(); match IDebugClient6_Impl::GetOutputMask(this) { Ok(ok__) => { - core::ptr::write(mask, core::mem::transmute(ok__)); + mask.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5113,7 +5113,7 @@ impl IDebugClient6_Vtbl { let this = (*this).get_impl(); match IDebugClient6_Impl::GetOtherOutputMask(this, windows_core::from_raw_borrowed(&client)) { Ok(ok__) => { - core::ptr::write(mask, core::mem::transmute(ok__)); + mask.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5129,7 +5129,7 @@ impl IDebugClient6_Vtbl { let this = (*this).get_impl(); match IDebugClient6_Impl::GetOutputWidth(this) { Ok(ok__) => { - core::ptr::write(columns, core::mem::transmute(ok__)); + columns.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5165,7 +5165,7 @@ impl IDebugClient6_Vtbl { let this = (*this).get_impl(); match IDebugClient6_Impl::GetEventCallbacks(this) { Ok(ok__) => { - core::ptr::write(callbacks, core::mem::transmute(ok__)); + callbacks.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5226,7 +5226,7 @@ impl IDebugClient6_Vtbl { let this = (*this).get_impl(); match IDebugClient6_Impl::GetRunningProcessSystemIdByExecutableNameWide(this, core::mem::transmute_copy(&server), core::mem::transmute(&exename), core::mem::transmute_copy(&flags)) { Ok(ok__) => { - core::ptr::write(id, core::mem::transmute(ok__)); + id.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5267,7 +5267,7 @@ impl IDebugClient6_Vtbl { let this = (*this).get_impl(); match IDebugClient6_Impl::GetNumberDumpFiles(this) { Ok(ok__) => { - core::ptr::write(number, core::mem::transmute(ok__)); + number.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5308,7 +5308,7 @@ impl IDebugClient6_Vtbl { let this = (*this).get_impl(); match IDebugClient6_Impl::ConnectProcessServerWide(this, core::mem::transmute(&remoteoptions)) { Ok(ok__) => { - core::ptr::write(server, core::mem::transmute(ok__)); + server.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5329,7 +5329,7 @@ impl IDebugClient6_Vtbl { let this = (*this).get_impl(); match IDebugClient6_Impl::GetOutputCallbacksWide(this) { Ok(ok__) => { - core::ptr::write(callbacks, core::mem::transmute(ok__)); + callbacks.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5365,7 +5365,7 @@ impl IDebugClient6_Vtbl { let this = (*this).get_impl(); match IDebugClient6_Impl::GetEventCallbacksWide(this) { Ok(ok__) => { - core::ptr::write(callbacks, core::mem::transmute(ok__)); + callbacks.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5401,7 +5401,7 @@ impl IDebugClient6_Vtbl { let this = (*this).get_impl(); match IDebugClient6_Impl::PushOutputLinePrefix(this, core::mem::transmute(&newprefix)) { Ok(ok__) => { - core::ptr::write(handle, core::mem::transmute(ok__)); + handle.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5412,7 +5412,7 @@ impl IDebugClient6_Vtbl { let this = (*this).get_impl(); match IDebugClient6_Impl::PushOutputLinePrefixWide(this, core::mem::transmute(&newprefix)) { Ok(ok__) => { - core::ptr::write(handle, core::mem::transmute(ok__)); + handle.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5428,7 +5428,7 @@ impl IDebugClient6_Vtbl { let this = (*this).get_impl(); match IDebugClient6_Impl::GetNumberInputCallbacks(this) { Ok(ok__) => { - core::ptr::write(count, core::mem::transmute(ok__)); + count.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5439,7 +5439,7 @@ impl IDebugClient6_Vtbl { let this = (*this).get_impl(); match IDebugClient6_Impl::GetNumberOutputCallbacks(this) { Ok(ok__) => { - core::ptr::write(count, core::mem::transmute(ok__)); + count.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5450,7 +5450,7 @@ impl IDebugClient6_Vtbl { let this = (*this).get_impl(); match IDebugClient6_Impl::GetNumberEventCallbacks(this, core::mem::transmute_copy(&eventflags)) { Ok(ok__) => { - core::ptr::write(count, core::mem::transmute(ok__)); + count.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5706,7 +5706,7 @@ impl IDebugClient7_Vtbl { let this = (*this).get_impl(); match IDebugClient7_Impl::ConnectProcessServer(this, core::mem::transmute(&remoteoptions)) { Ok(ok__) => { - core::ptr::write(server, core::mem::transmute(ok__)); + server.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5727,7 +5727,7 @@ impl IDebugClient7_Vtbl { let this = (*this).get_impl(); match IDebugClient7_Impl::GetRunningProcessSystemIdByExecutableName(this, core::mem::transmute_copy(&server), core::mem::transmute(&exename), core::mem::transmute_copy(&flags)) { Ok(ok__) => { - core::ptr::write(id, core::mem::transmute(ok__)); + id.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5758,7 +5758,7 @@ impl IDebugClient7_Vtbl { let this = (*this).get_impl(); match IDebugClient7_Impl::GetProcessOptions(this) { Ok(ok__) => { - core::ptr::write(options, core::mem::transmute(ok__)); + options.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5824,7 +5824,7 @@ impl IDebugClient7_Vtbl { let this = (*this).get_impl(); match IDebugClient7_Impl::GetExitCode(this) { Ok(ok__) => { - core::ptr::write(code, core::mem::transmute(ok__)); + code.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5845,7 +5845,7 @@ impl IDebugClient7_Vtbl { let this = (*this).get_impl(); match IDebugClient7_Impl::CreateClient(this) { Ok(ok__) => { - core::ptr::write(client, core::mem::transmute(ok__)); + client.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5856,7 +5856,7 @@ impl IDebugClient7_Vtbl { let this = (*this).get_impl(); match IDebugClient7_Impl::GetInputCallbacks(this) { Ok(ok__) => { - core::ptr::write(callbacks, core::mem::transmute(ok__)); + callbacks.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5872,7 +5872,7 @@ impl IDebugClient7_Vtbl { let this = (*this).get_impl(); match IDebugClient7_Impl::GetOutputCallbacks(this) { Ok(ok__) => { - core::ptr::write(callbacks, core::mem::transmute(ok__)); + callbacks.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5888,7 +5888,7 @@ impl IDebugClient7_Vtbl { let this = (*this).get_impl(); match IDebugClient7_Impl::GetOutputMask(this) { Ok(ok__) => { - core::ptr::write(mask, core::mem::transmute(ok__)); + mask.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5904,7 +5904,7 @@ impl IDebugClient7_Vtbl { let this = (*this).get_impl(); match IDebugClient7_Impl::GetOtherOutputMask(this, windows_core::from_raw_borrowed(&client)) { Ok(ok__) => { - core::ptr::write(mask, core::mem::transmute(ok__)); + mask.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5920,7 +5920,7 @@ impl IDebugClient7_Vtbl { let this = (*this).get_impl(); match IDebugClient7_Impl::GetOutputWidth(this) { Ok(ok__) => { - core::ptr::write(columns, core::mem::transmute(ok__)); + columns.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5956,7 +5956,7 @@ impl IDebugClient7_Vtbl { let this = (*this).get_impl(); match IDebugClient7_Impl::GetEventCallbacks(this) { Ok(ok__) => { - core::ptr::write(callbacks, core::mem::transmute(ok__)); + callbacks.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6017,7 +6017,7 @@ impl IDebugClient7_Vtbl { let this = (*this).get_impl(); match IDebugClient7_Impl::GetRunningProcessSystemIdByExecutableNameWide(this, core::mem::transmute_copy(&server), core::mem::transmute(&exename), core::mem::transmute_copy(&flags)) { Ok(ok__) => { - core::ptr::write(id, core::mem::transmute(ok__)); + id.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6058,7 +6058,7 @@ impl IDebugClient7_Vtbl { let this = (*this).get_impl(); match IDebugClient7_Impl::GetNumberDumpFiles(this) { Ok(ok__) => { - core::ptr::write(number, core::mem::transmute(ok__)); + number.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6099,7 +6099,7 @@ impl IDebugClient7_Vtbl { let this = (*this).get_impl(); match IDebugClient7_Impl::ConnectProcessServerWide(this, core::mem::transmute(&remoteoptions)) { Ok(ok__) => { - core::ptr::write(server, core::mem::transmute(ok__)); + server.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6120,7 +6120,7 @@ impl IDebugClient7_Vtbl { let this = (*this).get_impl(); match IDebugClient7_Impl::GetOutputCallbacksWide(this) { Ok(ok__) => { - core::ptr::write(callbacks, core::mem::transmute(ok__)); + callbacks.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6156,7 +6156,7 @@ impl IDebugClient7_Vtbl { let this = (*this).get_impl(); match IDebugClient7_Impl::GetEventCallbacksWide(this) { Ok(ok__) => { - core::ptr::write(callbacks, core::mem::transmute(ok__)); + callbacks.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6192,7 +6192,7 @@ impl IDebugClient7_Vtbl { let this = (*this).get_impl(); match IDebugClient7_Impl::PushOutputLinePrefix(this, core::mem::transmute(&newprefix)) { Ok(ok__) => { - core::ptr::write(handle, core::mem::transmute(ok__)); + handle.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6203,7 +6203,7 @@ impl IDebugClient7_Vtbl { let this = (*this).get_impl(); match IDebugClient7_Impl::PushOutputLinePrefixWide(this, core::mem::transmute(&newprefix)) { Ok(ok__) => { - core::ptr::write(handle, core::mem::transmute(ok__)); + handle.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6219,7 +6219,7 @@ impl IDebugClient7_Vtbl { let this = (*this).get_impl(); match IDebugClient7_Impl::GetNumberInputCallbacks(this) { Ok(ok__) => { - core::ptr::write(count, core::mem::transmute(ok__)); + count.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6230,7 +6230,7 @@ impl IDebugClient7_Vtbl { let this = (*this).get_impl(); match IDebugClient7_Impl::GetNumberOutputCallbacks(this) { Ok(ok__) => { - core::ptr::write(count, core::mem::transmute(ok__)); + count.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6241,7 +6241,7 @@ impl IDebugClient7_Vtbl { let this = (*this).get_impl(); match IDebugClient7_Impl::GetNumberEventCallbacks(this, core::mem::transmute_copy(&eventflags)) { Ok(ok__) => { - core::ptr::write(count, core::mem::transmute(ok__)); + count.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6504,7 +6504,7 @@ impl IDebugClient8_Vtbl { let this = (*this).get_impl(); match IDebugClient8_Impl::ConnectProcessServer(this, core::mem::transmute(&remoteoptions)) { Ok(ok__) => { - core::ptr::write(server, core::mem::transmute(ok__)); + server.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6525,7 +6525,7 @@ impl IDebugClient8_Vtbl { let this = (*this).get_impl(); match IDebugClient8_Impl::GetRunningProcessSystemIdByExecutableName(this, core::mem::transmute_copy(&server), core::mem::transmute(&exename), core::mem::transmute_copy(&flags)) { Ok(ok__) => { - core::ptr::write(id, core::mem::transmute(ok__)); + id.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6556,7 +6556,7 @@ impl IDebugClient8_Vtbl { let this = (*this).get_impl(); match IDebugClient8_Impl::GetProcessOptions(this) { Ok(ok__) => { - core::ptr::write(options, core::mem::transmute(ok__)); + options.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6622,7 +6622,7 @@ impl IDebugClient8_Vtbl { let this = (*this).get_impl(); match IDebugClient8_Impl::GetExitCode(this) { Ok(ok__) => { - core::ptr::write(code, core::mem::transmute(ok__)); + code.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6643,7 +6643,7 @@ impl IDebugClient8_Vtbl { let this = (*this).get_impl(); match IDebugClient8_Impl::CreateClient(this) { Ok(ok__) => { - core::ptr::write(client, core::mem::transmute(ok__)); + client.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6654,7 +6654,7 @@ impl IDebugClient8_Vtbl { let this = (*this).get_impl(); match IDebugClient8_Impl::GetInputCallbacks(this) { Ok(ok__) => { - core::ptr::write(callbacks, core::mem::transmute(ok__)); + callbacks.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6670,7 +6670,7 @@ impl IDebugClient8_Vtbl { let this = (*this).get_impl(); match IDebugClient8_Impl::GetOutputCallbacks(this) { Ok(ok__) => { - core::ptr::write(callbacks, core::mem::transmute(ok__)); + callbacks.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6686,7 +6686,7 @@ impl IDebugClient8_Vtbl { let this = (*this).get_impl(); match IDebugClient8_Impl::GetOutputMask(this) { Ok(ok__) => { - core::ptr::write(mask, core::mem::transmute(ok__)); + mask.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6702,7 +6702,7 @@ impl IDebugClient8_Vtbl { let this = (*this).get_impl(); match IDebugClient8_Impl::GetOtherOutputMask(this, windows_core::from_raw_borrowed(&client)) { Ok(ok__) => { - core::ptr::write(mask, core::mem::transmute(ok__)); + mask.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6718,7 +6718,7 @@ impl IDebugClient8_Vtbl { let this = (*this).get_impl(); match IDebugClient8_Impl::GetOutputWidth(this) { Ok(ok__) => { - core::ptr::write(columns, core::mem::transmute(ok__)); + columns.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6754,7 +6754,7 @@ impl IDebugClient8_Vtbl { let this = (*this).get_impl(); match IDebugClient8_Impl::GetEventCallbacks(this) { Ok(ok__) => { - core::ptr::write(callbacks, core::mem::transmute(ok__)); + callbacks.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6815,7 +6815,7 @@ impl IDebugClient8_Vtbl { let this = (*this).get_impl(); match IDebugClient8_Impl::GetRunningProcessSystemIdByExecutableNameWide(this, core::mem::transmute_copy(&server), core::mem::transmute(&exename), core::mem::transmute_copy(&flags)) { Ok(ok__) => { - core::ptr::write(id, core::mem::transmute(ok__)); + id.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6856,7 +6856,7 @@ impl IDebugClient8_Vtbl { let this = (*this).get_impl(); match IDebugClient8_Impl::GetNumberDumpFiles(this) { Ok(ok__) => { - core::ptr::write(number, core::mem::transmute(ok__)); + number.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6897,7 +6897,7 @@ impl IDebugClient8_Vtbl { let this = (*this).get_impl(); match IDebugClient8_Impl::ConnectProcessServerWide(this, core::mem::transmute(&remoteoptions)) { Ok(ok__) => { - core::ptr::write(server, core::mem::transmute(ok__)); + server.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6918,7 +6918,7 @@ impl IDebugClient8_Vtbl { let this = (*this).get_impl(); match IDebugClient8_Impl::GetOutputCallbacksWide(this) { Ok(ok__) => { - core::ptr::write(callbacks, core::mem::transmute(ok__)); + callbacks.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6954,7 +6954,7 @@ impl IDebugClient8_Vtbl { let this = (*this).get_impl(); match IDebugClient8_Impl::GetEventCallbacksWide(this) { Ok(ok__) => { - core::ptr::write(callbacks, core::mem::transmute(ok__)); + callbacks.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6990,7 +6990,7 @@ impl IDebugClient8_Vtbl { let this = (*this).get_impl(); match IDebugClient8_Impl::PushOutputLinePrefix(this, core::mem::transmute(&newprefix)) { Ok(ok__) => { - core::ptr::write(handle, core::mem::transmute(ok__)); + handle.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7001,7 +7001,7 @@ impl IDebugClient8_Vtbl { let this = (*this).get_impl(); match IDebugClient8_Impl::PushOutputLinePrefixWide(this, core::mem::transmute(&newprefix)) { Ok(ok__) => { - core::ptr::write(handle, core::mem::transmute(ok__)); + handle.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7017,7 +7017,7 @@ impl IDebugClient8_Vtbl { let this = (*this).get_impl(); match IDebugClient8_Impl::GetNumberInputCallbacks(this) { Ok(ok__) => { - core::ptr::write(count, core::mem::transmute(ok__)); + count.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7028,7 +7028,7 @@ impl IDebugClient8_Vtbl { let this = (*this).get_impl(); match IDebugClient8_Impl::GetNumberOutputCallbacks(this) { Ok(ok__) => { - core::ptr::write(count, core::mem::transmute(ok__)); + count.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7039,7 +7039,7 @@ impl IDebugClient8_Vtbl { let this = (*this).get_impl(); match IDebugClient8_Impl::GetNumberEventCallbacks(this, core::mem::transmute_copy(&eventflags)) { Ok(ok__) => { - core::ptr::write(count, core::mem::transmute(ok__)); + count.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7298,7 +7298,7 @@ impl IDebugControl_Vtbl { let this = (*this).get_impl(); match IDebugControl_Impl::GetInterruptTimeout(this) { Ok(ok__) => { - core::ptr::write(seconds, core::mem::transmute(ok__)); + seconds.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7329,7 +7329,7 @@ impl IDebugControl_Vtbl { let this = (*this).get_impl(); match IDebugControl_Impl::GetLogMask(this) { Ok(ok__) => { - core::ptr::write(mask, core::mem::transmute(ok__)); + mask.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7400,7 +7400,7 @@ impl IDebugControl_Vtbl { let this = (*this).get_impl(); match IDebugControl_Impl::GetNotifyEventHandle(this) { Ok(ok__) => { - core::ptr::write(handle, core::mem::transmute(ok__)); + handle.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7416,7 +7416,7 @@ impl IDebugControl_Vtbl { let this = (*this).get_impl(); match IDebugControl_Impl::Assemble(this, core::mem::transmute_copy(&offset), core::mem::transmute(&instr)) { Ok(ok__) => { - core::ptr::write(endoffset, core::mem::transmute(ok__)); + endoffset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7432,7 +7432,7 @@ impl IDebugControl_Vtbl { let this = (*this).get_impl(); match IDebugControl_Impl::GetDisassembleEffectiveOffset(this) { Ok(ok__) => { - core::ptr::write(offset, core::mem::transmute(ok__)); + offset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7443,7 +7443,7 @@ impl IDebugControl_Vtbl { let this = (*this).get_impl(); match IDebugControl_Impl::OutputDisassembly(this, core::mem::transmute_copy(&outputcontrol), core::mem::transmute_copy(&offset), core::mem::transmute_copy(&flags)) { Ok(ok__) => { - core::ptr::write(endoffset, core::mem::transmute(ok__)); + endoffset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7459,7 +7459,7 @@ impl IDebugControl_Vtbl { let this = (*this).get_impl(); match IDebugControl_Impl::GetNearInstruction(this, core::mem::transmute_copy(&offset), core::mem::transmute_copy(&delta)) { Ok(ok__) => { - core::ptr::write(nearoffset, core::mem::transmute(ok__)); + nearoffset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7475,7 +7475,7 @@ impl IDebugControl_Vtbl { let this = (*this).get_impl(); match IDebugControl_Impl::GetReturnOffset(this) { Ok(ok__) => { - core::ptr::write(offset, core::mem::transmute(ok__)); + offset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7496,7 +7496,7 @@ impl IDebugControl_Vtbl { let this = (*this).get_impl(); match IDebugControl_Impl::GetActualProcessorType(this) { Ok(ok__) => { - core::ptr::write(r#type, core::mem::transmute(ok__)); + r#type.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7507,7 +7507,7 @@ impl IDebugControl_Vtbl { let this = (*this).get_impl(); match IDebugControl_Impl::GetExecutingProcessorType(this) { Ok(ok__) => { - core::ptr::write(r#type, core::mem::transmute(ok__)); + r#type.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7518,7 +7518,7 @@ impl IDebugControl_Vtbl { let this = (*this).get_impl(); match IDebugControl_Impl::GetNumberPossibleExecutingProcessorTypes(this) { Ok(ok__) => { - core::ptr::write(number, core::mem::transmute(ok__)); + number.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7534,7 +7534,7 @@ impl IDebugControl_Vtbl { let this = (*this).get_impl(); match IDebugControl_Impl::GetNumberProcessors(this) { Ok(ok__) => { - core::ptr::write(number, core::mem::transmute(ok__)); + number.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7550,7 +7550,7 @@ impl IDebugControl_Vtbl { let this = (*this).get_impl(); match IDebugControl_Impl::GetPageSize(this) { Ok(ok__) => { - core::ptr::write(size, core::mem::transmute(ok__)); + size.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7571,7 +7571,7 @@ impl IDebugControl_Vtbl { let this = (*this).get_impl(); match IDebugControl_Impl::GetNumberSupportedProcessorTypes(this) { Ok(ok__) => { - core::ptr::write(number, core::mem::transmute(ok__)); + number.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7592,7 +7592,7 @@ impl IDebugControl_Vtbl { let this = (*this).get_impl(); match IDebugControl_Impl::GetEffectiveProcessorType(this) { Ok(ok__) => { - core::ptr::write(r#type, core::mem::transmute(ok__)); + r#type.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7608,7 +7608,7 @@ impl IDebugControl_Vtbl { let this = (*this).get_impl(); match IDebugControl_Impl::GetExecutionStatus(this) { Ok(ok__) => { - core::ptr::write(status, core::mem::transmute(ok__)); + status.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7624,7 +7624,7 @@ impl IDebugControl_Vtbl { let this = (*this).get_impl(); match IDebugControl_Impl::GetCodeLevel(this) { Ok(ok__) => { - core::ptr::write(level, core::mem::transmute(ok__)); + level.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7640,7 +7640,7 @@ impl IDebugControl_Vtbl { let this = (*this).get_impl(); match IDebugControl_Impl::GetEngineOptions(this) { Ok(ok__) => { - core::ptr::write(options, core::mem::transmute(ok__)); + options.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7686,7 +7686,7 @@ impl IDebugControl_Vtbl { let this = (*this).get_impl(); match IDebugControl_Impl::GetRadix(this) { Ok(ok__) => { - core::ptr::write(radix, core::mem::transmute(ok__)); + radix.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7727,7 +7727,7 @@ impl IDebugControl_Vtbl { let this = (*this).get_impl(); match IDebugControl_Impl::GetNumberBreakpoints(this) { Ok(ok__) => { - core::ptr::write(number, core::mem::transmute(ok__)); + number.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7738,7 +7738,7 @@ impl IDebugControl_Vtbl { let this = (*this).get_impl(); match IDebugControl_Impl::GetBreakpointByIndex(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(bp, core::mem::transmute(ok__)); + bp.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7749,7 +7749,7 @@ impl IDebugControl_Vtbl { let this = (*this).get_impl(); match IDebugControl_Impl::GetBreakpointById(this, core::mem::transmute_copy(&id)) { Ok(ok__) => { - core::ptr::write(bp, core::mem::transmute(ok__)); + bp.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7765,7 +7765,7 @@ impl IDebugControl_Vtbl { let this = (*this).get_impl(); match IDebugControl_Impl::AddBreakpoint(this, core::mem::transmute_copy(&r#type), core::mem::transmute_copy(&desiredid)) { Ok(ok__) => { - core::ptr::write(bp, core::mem::transmute(ok__)); + bp.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7781,7 +7781,7 @@ impl IDebugControl_Vtbl { let this = (*this).get_impl(); match IDebugControl_Impl::AddExtension(this, core::mem::transmute(&path), core::mem::transmute_copy(&flags)) { Ok(ok__) => { - core::ptr::write(handle, core::mem::transmute(ok__)); + handle.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7797,7 +7797,7 @@ impl IDebugControl_Vtbl { let this = (*this).get_impl(); match IDebugControl_Impl::GetExtensionByPath(this, core::mem::transmute(&path)) { Ok(ok__) => { - core::ptr::write(handle, core::mem::transmute(ok__)); + handle.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8116,7 +8116,7 @@ impl IDebugControl2_Vtbl { let this = (*this).get_impl(); match IDebugControl2_Impl::GetInterruptTimeout(this) { Ok(ok__) => { - core::ptr::write(seconds, core::mem::transmute(ok__)); + seconds.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8147,7 +8147,7 @@ impl IDebugControl2_Vtbl { let this = (*this).get_impl(); match IDebugControl2_Impl::GetLogMask(this) { Ok(ok__) => { - core::ptr::write(mask, core::mem::transmute(ok__)); + mask.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8218,7 +8218,7 @@ impl IDebugControl2_Vtbl { let this = (*this).get_impl(); match IDebugControl2_Impl::GetNotifyEventHandle(this) { Ok(ok__) => { - core::ptr::write(handle, core::mem::transmute(ok__)); + handle.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8234,7 +8234,7 @@ impl IDebugControl2_Vtbl { let this = (*this).get_impl(); match IDebugControl2_Impl::Assemble(this, core::mem::transmute_copy(&offset), core::mem::transmute(&instr)) { Ok(ok__) => { - core::ptr::write(endoffset, core::mem::transmute(ok__)); + endoffset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8250,7 +8250,7 @@ impl IDebugControl2_Vtbl { let this = (*this).get_impl(); match IDebugControl2_Impl::GetDisassembleEffectiveOffset(this) { Ok(ok__) => { - core::ptr::write(offset, core::mem::transmute(ok__)); + offset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8261,7 +8261,7 @@ impl IDebugControl2_Vtbl { let this = (*this).get_impl(); match IDebugControl2_Impl::OutputDisassembly(this, core::mem::transmute_copy(&outputcontrol), core::mem::transmute_copy(&offset), core::mem::transmute_copy(&flags)) { Ok(ok__) => { - core::ptr::write(endoffset, core::mem::transmute(ok__)); + endoffset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8277,7 +8277,7 @@ impl IDebugControl2_Vtbl { let this = (*this).get_impl(); match IDebugControl2_Impl::GetNearInstruction(this, core::mem::transmute_copy(&offset), core::mem::transmute_copy(&delta)) { Ok(ok__) => { - core::ptr::write(nearoffset, core::mem::transmute(ok__)); + nearoffset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8293,7 +8293,7 @@ impl IDebugControl2_Vtbl { let this = (*this).get_impl(); match IDebugControl2_Impl::GetReturnOffset(this) { Ok(ok__) => { - core::ptr::write(offset, core::mem::transmute(ok__)); + offset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8314,7 +8314,7 @@ impl IDebugControl2_Vtbl { let this = (*this).get_impl(); match IDebugControl2_Impl::GetActualProcessorType(this) { Ok(ok__) => { - core::ptr::write(r#type, core::mem::transmute(ok__)); + r#type.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8325,7 +8325,7 @@ impl IDebugControl2_Vtbl { let this = (*this).get_impl(); match IDebugControl2_Impl::GetExecutingProcessorType(this) { Ok(ok__) => { - core::ptr::write(r#type, core::mem::transmute(ok__)); + r#type.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8336,7 +8336,7 @@ impl IDebugControl2_Vtbl { let this = (*this).get_impl(); match IDebugControl2_Impl::GetNumberPossibleExecutingProcessorTypes(this) { Ok(ok__) => { - core::ptr::write(number, core::mem::transmute(ok__)); + number.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8352,7 +8352,7 @@ impl IDebugControl2_Vtbl { let this = (*this).get_impl(); match IDebugControl2_Impl::GetNumberProcessors(this) { Ok(ok__) => { - core::ptr::write(number, core::mem::transmute(ok__)); + number.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8368,7 +8368,7 @@ impl IDebugControl2_Vtbl { let this = (*this).get_impl(); match IDebugControl2_Impl::GetPageSize(this) { Ok(ok__) => { - core::ptr::write(size, core::mem::transmute(ok__)); + size.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8389,7 +8389,7 @@ impl IDebugControl2_Vtbl { let this = (*this).get_impl(); match IDebugControl2_Impl::GetNumberSupportedProcessorTypes(this) { Ok(ok__) => { - core::ptr::write(number, core::mem::transmute(ok__)); + number.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8410,7 +8410,7 @@ impl IDebugControl2_Vtbl { let this = (*this).get_impl(); match IDebugControl2_Impl::GetEffectiveProcessorType(this) { Ok(ok__) => { - core::ptr::write(r#type, core::mem::transmute(ok__)); + r#type.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8426,7 +8426,7 @@ impl IDebugControl2_Vtbl { let this = (*this).get_impl(); match IDebugControl2_Impl::GetExecutionStatus(this) { Ok(ok__) => { - core::ptr::write(status, core::mem::transmute(ok__)); + status.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8442,7 +8442,7 @@ impl IDebugControl2_Vtbl { let this = (*this).get_impl(); match IDebugControl2_Impl::GetCodeLevel(this) { Ok(ok__) => { - core::ptr::write(level, core::mem::transmute(ok__)); + level.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8458,7 +8458,7 @@ impl IDebugControl2_Vtbl { let this = (*this).get_impl(); match IDebugControl2_Impl::GetEngineOptions(this) { Ok(ok__) => { - core::ptr::write(options, core::mem::transmute(ok__)); + options.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8504,7 +8504,7 @@ impl IDebugControl2_Vtbl { let this = (*this).get_impl(); match IDebugControl2_Impl::GetRadix(this) { Ok(ok__) => { - core::ptr::write(radix, core::mem::transmute(ok__)); + radix.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8545,7 +8545,7 @@ impl IDebugControl2_Vtbl { let this = (*this).get_impl(); match IDebugControl2_Impl::GetNumberBreakpoints(this) { Ok(ok__) => { - core::ptr::write(number, core::mem::transmute(ok__)); + number.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8556,7 +8556,7 @@ impl IDebugControl2_Vtbl { let this = (*this).get_impl(); match IDebugControl2_Impl::GetBreakpointByIndex(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(bp, core::mem::transmute(ok__)); + bp.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8567,7 +8567,7 @@ impl IDebugControl2_Vtbl { let this = (*this).get_impl(); match IDebugControl2_Impl::GetBreakpointById(this, core::mem::transmute_copy(&id)) { Ok(ok__) => { - core::ptr::write(bp, core::mem::transmute(ok__)); + bp.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8583,7 +8583,7 @@ impl IDebugControl2_Vtbl { let this = (*this).get_impl(); match IDebugControl2_Impl::AddBreakpoint(this, core::mem::transmute_copy(&r#type), core::mem::transmute_copy(&desiredid)) { Ok(ok__) => { - core::ptr::write(bp, core::mem::transmute(ok__)); + bp.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8599,7 +8599,7 @@ impl IDebugControl2_Vtbl { let this = (*this).get_impl(); match IDebugControl2_Impl::AddExtension(this, core::mem::transmute(&path), core::mem::transmute_copy(&flags)) { Ok(ok__) => { - core::ptr::write(handle, core::mem::transmute(ok__)); + handle.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8615,7 +8615,7 @@ impl IDebugControl2_Vtbl { let this = (*this).get_impl(); match IDebugControl2_Impl::GetExtensionByPath(this, core::mem::transmute(&path)) { Ok(ok__) => { - core::ptr::write(handle, core::mem::transmute(ok__)); + handle.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8716,7 +8716,7 @@ impl IDebugControl2_Vtbl { let this = (*this).get_impl(); match IDebugControl2_Impl::GetCurrentTimeDate(this) { Ok(ok__) => { - core::ptr::write(timedate, core::mem::transmute(ok__)); + timedate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8727,7 +8727,7 @@ impl IDebugControl2_Vtbl { let this = (*this).get_impl(); match IDebugControl2_Impl::GetCurrentSystemUpTime(this) { Ok(ok__) => { - core::ptr::write(uptime, core::mem::transmute(ok__)); + uptime.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8738,7 +8738,7 @@ impl IDebugControl2_Vtbl { let this = (*this).get_impl(); match IDebugControl2_Impl::GetDumpFormatFlags(this) { Ok(ok__) => { - core::ptr::write(formatflags, core::mem::transmute(ok__)); + formatflags.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8749,7 +8749,7 @@ impl IDebugControl2_Vtbl { let this = (*this).get_impl(); match IDebugControl2_Impl::GetNumberTextReplacements(this) { Ok(ok__) => { - core::ptr::write(numrepl, core::mem::transmute(ok__)); + numrepl.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9019,7 +9019,7 @@ impl IDebugControl3_Vtbl { let this = (*this).get_impl(); match IDebugControl3_Impl::GetInterruptTimeout(this) { Ok(ok__) => { - core::ptr::write(seconds, core::mem::transmute(ok__)); + seconds.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9050,7 +9050,7 @@ impl IDebugControl3_Vtbl { let this = (*this).get_impl(); match IDebugControl3_Impl::GetLogMask(this) { Ok(ok__) => { - core::ptr::write(mask, core::mem::transmute(ok__)); + mask.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9121,7 +9121,7 @@ impl IDebugControl3_Vtbl { let this = (*this).get_impl(); match IDebugControl3_Impl::GetNotifyEventHandle(this) { Ok(ok__) => { - core::ptr::write(handle, core::mem::transmute(ok__)); + handle.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9137,7 +9137,7 @@ impl IDebugControl3_Vtbl { let this = (*this).get_impl(); match IDebugControl3_Impl::Assemble(this, core::mem::transmute_copy(&offset), core::mem::transmute(&instr)) { Ok(ok__) => { - core::ptr::write(endoffset, core::mem::transmute(ok__)); + endoffset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9153,7 +9153,7 @@ impl IDebugControl3_Vtbl { let this = (*this).get_impl(); match IDebugControl3_Impl::GetDisassembleEffectiveOffset(this) { Ok(ok__) => { - core::ptr::write(offset, core::mem::transmute(ok__)); + offset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9164,7 +9164,7 @@ impl IDebugControl3_Vtbl { let this = (*this).get_impl(); match IDebugControl3_Impl::OutputDisassembly(this, core::mem::transmute_copy(&outputcontrol), core::mem::transmute_copy(&offset), core::mem::transmute_copy(&flags)) { Ok(ok__) => { - core::ptr::write(endoffset, core::mem::transmute(ok__)); + endoffset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9180,7 +9180,7 @@ impl IDebugControl3_Vtbl { let this = (*this).get_impl(); match IDebugControl3_Impl::GetNearInstruction(this, core::mem::transmute_copy(&offset), core::mem::transmute_copy(&delta)) { Ok(ok__) => { - core::ptr::write(nearoffset, core::mem::transmute(ok__)); + nearoffset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9196,7 +9196,7 @@ impl IDebugControl3_Vtbl { let this = (*this).get_impl(); match IDebugControl3_Impl::GetReturnOffset(this) { Ok(ok__) => { - core::ptr::write(offset, core::mem::transmute(ok__)); + offset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9217,7 +9217,7 @@ impl IDebugControl3_Vtbl { let this = (*this).get_impl(); match IDebugControl3_Impl::GetActualProcessorType(this) { Ok(ok__) => { - core::ptr::write(r#type, core::mem::transmute(ok__)); + r#type.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9228,7 +9228,7 @@ impl IDebugControl3_Vtbl { let this = (*this).get_impl(); match IDebugControl3_Impl::GetExecutingProcessorType(this) { Ok(ok__) => { - core::ptr::write(r#type, core::mem::transmute(ok__)); + r#type.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9239,7 +9239,7 @@ impl IDebugControl3_Vtbl { let this = (*this).get_impl(); match IDebugControl3_Impl::GetNumberPossibleExecutingProcessorTypes(this) { Ok(ok__) => { - core::ptr::write(number, core::mem::transmute(ok__)); + number.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9255,7 +9255,7 @@ impl IDebugControl3_Vtbl { let this = (*this).get_impl(); match IDebugControl3_Impl::GetNumberProcessors(this) { Ok(ok__) => { - core::ptr::write(number, core::mem::transmute(ok__)); + number.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9271,7 +9271,7 @@ impl IDebugControl3_Vtbl { let this = (*this).get_impl(); match IDebugControl3_Impl::GetPageSize(this) { Ok(ok__) => { - core::ptr::write(size, core::mem::transmute(ok__)); + size.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9292,7 +9292,7 @@ impl IDebugControl3_Vtbl { let this = (*this).get_impl(); match IDebugControl3_Impl::GetNumberSupportedProcessorTypes(this) { Ok(ok__) => { - core::ptr::write(number, core::mem::transmute(ok__)); + number.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9313,7 +9313,7 @@ impl IDebugControl3_Vtbl { let this = (*this).get_impl(); match IDebugControl3_Impl::GetEffectiveProcessorType(this) { Ok(ok__) => { - core::ptr::write(r#type, core::mem::transmute(ok__)); + r#type.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9329,7 +9329,7 @@ impl IDebugControl3_Vtbl { let this = (*this).get_impl(); match IDebugControl3_Impl::GetExecutionStatus(this) { Ok(ok__) => { - core::ptr::write(status, core::mem::transmute(ok__)); + status.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9345,7 +9345,7 @@ impl IDebugControl3_Vtbl { let this = (*this).get_impl(); match IDebugControl3_Impl::GetCodeLevel(this) { Ok(ok__) => { - core::ptr::write(level, core::mem::transmute(ok__)); + level.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9361,7 +9361,7 @@ impl IDebugControl3_Vtbl { let this = (*this).get_impl(); match IDebugControl3_Impl::GetEngineOptions(this) { Ok(ok__) => { - core::ptr::write(options, core::mem::transmute(ok__)); + options.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9407,7 +9407,7 @@ impl IDebugControl3_Vtbl { let this = (*this).get_impl(); match IDebugControl3_Impl::GetRadix(this) { Ok(ok__) => { - core::ptr::write(radix, core::mem::transmute(ok__)); + radix.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9448,7 +9448,7 @@ impl IDebugControl3_Vtbl { let this = (*this).get_impl(); match IDebugControl3_Impl::GetNumberBreakpoints(this) { Ok(ok__) => { - core::ptr::write(number, core::mem::transmute(ok__)); + number.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9459,7 +9459,7 @@ impl IDebugControl3_Vtbl { let this = (*this).get_impl(); match IDebugControl3_Impl::GetBreakpointByIndex(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(bp, core::mem::transmute(ok__)); + bp.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9470,7 +9470,7 @@ impl IDebugControl3_Vtbl { let this = (*this).get_impl(); match IDebugControl3_Impl::GetBreakpointById(this, core::mem::transmute_copy(&id)) { Ok(ok__) => { - core::ptr::write(bp, core::mem::transmute(ok__)); + bp.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9486,7 +9486,7 @@ impl IDebugControl3_Vtbl { let this = (*this).get_impl(); match IDebugControl3_Impl::AddBreakpoint(this, core::mem::transmute_copy(&r#type), core::mem::transmute_copy(&desiredid)) { Ok(ok__) => { - core::ptr::write(bp, core::mem::transmute(ok__)); + bp.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9502,7 +9502,7 @@ impl IDebugControl3_Vtbl { let this = (*this).get_impl(); match IDebugControl3_Impl::AddExtension(this, core::mem::transmute(&path), core::mem::transmute_copy(&flags)) { Ok(ok__) => { - core::ptr::write(handle, core::mem::transmute(ok__)); + handle.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9518,7 +9518,7 @@ impl IDebugControl3_Vtbl { let this = (*this).get_impl(); match IDebugControl3_Impl::GetExtensionByPath(this, core::mem::transmute(&path)) { Ok(ok__) => { - core::ptr::write(handle, core::mem::transmute(ok__)); + handle.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9619,7 +9619,7 @@ impl IDebugControl3_Vtbl { let this = (*this).get_impl(); match IDebugControl3_Impl::GetCurrentTimeDate(this) { Ok(ok__) => { - core::ptr::write(timedate, core::mem::transmute(ok__)); + timedate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9630,7 +9630,7 @@ impl IDebugControl3_Vtbl { let this = (*this).get_impl(); match IDebugControl3_Impl::GetCurrentSystemUpTime(this) { Ok(ok__) => { - core::ptr::write(uptime, core::mem::transmute(ok__)); + uptime.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9641,7 +9641,7 @@ impl IDebugControl3_Vtbl { let this = (*this).get_impl(); match IDebugControl3_Impl::GetDumpFormatFlags(this) { Ok(ok__) => { - core::ptr::write(formatflags, core::mem::transmute(ok__)); + formatflags.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9652,7 +9652,7 @@ impl IDebugControl3_Vtbl { let this = (*this).get_impl(); match IDebugControl3_Impl::GetNumberTextReplacements(this) { Ok(ok__) => { - core::ptr::write(numrepl, core::mem::transmute(ok__)); + numrepl.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9683,7 +9683,7 @@ impl IDebugControl3_Vtbl { let this = (*this).get_impl(); match IDebugControl3_Impl::GetAssemblyOptions(this) { Ok(ok__) => { - core::ptr::write(options, core::mem::transmute(ok__)); + options.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9709,7 +9709,7 @@ impl IDebugControl3_Vtbl { let this = (*this).get_impl(); match IDebugControl3_Impl::GetExpressionSyntax(this) { Ok(ok__) => { - core::ptr::write(flags, core::mem::transmute(ok__)); + flags.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9730,7 +9730,7 @@ impl IDebugControl3_Vtbl { let this = (*this).get_impl(); match IDebugControl3_Impl::GetNumberExpressionSyntaxes(this) { Ok(ok__) => { - core::ptr::write(number, core::mem::transmute(ok__)); + number.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9746,7 +9746,7 @@ impl IDebugControl3_Vtbl { let this = (*this).get_impl(); match IDebugControl3_Impl::GetNumberEvents(this) { Ok(ok__) => { - core::ptr::write(events, core::mem::transmute(ok__)); + events.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9762,7 +9762,7 @@ impl IDebugControl3_Vtbl { let this = (*this).get_impl(); match IDebugControl3_Impl::GetCurrentEventIndex(this) { Ok(ok__) => { - core::ptr::write(index, core::mem::transmute(ok__)); + index.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9773,7 +9773,7 @@ impl IDebugControl3_Vtbl { let this = (*this).get_impl(); match IDebugControl3_Impl::SetNextEventIndex(this, core::mem::transmute_copy(&relation), core::mem::transmute_copy(&value)) { Ok(ok__) => { - core::ptr::write(nextindex, core::mem::transmute(ok__)); + nextindex.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10089,7 +10089,7 @@ impl IDebugControl4_Vtbl { let this = (*this).get_impl(); match IDebugControl4_Impl::GetInterruptTimeout(this) { Ok(ok__) => { - core::ptr::write(seconds, core::mem::transmute(ok__)); + seconds.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10120,7 +10120,7 @@ impl IDebugControl4_Vtbl { let this = (*this).get_impl(); match IDebugControl4_Impl::GetLogMask(this) { Ok(ok__) => { - core::ptr::write(mask, core::mem::transmute(ok__)); + mask.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10191,7 +10191,7 @@ impl IDebugControl4_Vtbl { let this = (*this).get_impl(); match IDebugControl4_Impl::GetNotifyEventHandle(this) { Ok(ok__) => { - core::ptr::write(handle, core::mem::transmute(ok__)); + handle.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10207,7 +10207,7 @@ impl IDebugControl4_Vtbl { let this = (*this).get_impl(); match IDebugControl4_Impl::Assemble(this, core::mem::transmute_copy(&offset), core::mem::transmute(&instr)) { Ok(ok__) => { - core::ptr::write(endoffset, core::mem::transmute(ok__)); + endoffset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10223,7 +10223,7 @@ impl IDebugControl4_Vtbl { let this = (*this).get_impl(); match IDebugControl4_Impl::GetDisassembleEffectiveOffset(this) { Ok(ok__) => { - core::ptr::write(offset, core::mem::transmute(ok__)); + offset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10234,7 +10234,7 @@ impl IDebugControl4_Vtbl { let this = (*this).get_impl(); match IDebugControl4_Impl::OutputDisassembly(this, core::mem::transmute_copy(&outputcontrol), core::mem::transmute_copy(&offset), core::mem::transmute_copy(&flags)) { Ok(ok__) => { - core::ptr::write(endoffset, core::mem::transmute(ok__)); + endoffset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10250,7 +10250,7 @@ impl IDebugControl4_Vtbl { let this = (*this).get_impl(); match IDebugControl4_Impl::GetNearInstruction(this, core::mem::transmute_copy(&offset), core::mem::transmute_copy(&delta)) { Ok(ok__) => { - core::ptr::write(nearoffset, core::mem::transmute(ok__)); + nearoffset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10266,7 +10266,7 @@ impl IDebugControl4_Vtbl { let this = (*this).get_impl(); match IDebugControl4_Impl::GetReturnOffset(this) { Ok(ok__) => { - core::ptr::write(offset, core::mem::transmute(ok__)); + offset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10287,7 +10287,7 @@ impl IDebugControl4_Vtbl { let this = (*this).get_impl(); match IDebugControl4_Impl::GetActualProcessorType(this) { Ok(ok__) => { - core::ptr::write(r#type, core::mem::transmute(ok__)); + r#type.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10298,7 +10298,7 @@ impl IDebugControl4_Vtbl { let this = (*this).get_impl(); match IDebugControl4_Impl::GetExecutingProcessorType(this) { Ok(ok__) => { - core::ptr::write(r#type, core::mem::transmute(ok__)); + r#type.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10309,7 +10309,7 @@ impl IDebugControl4_Vtbl { let this = (*this).get_impl(); match IDebugControl4_Impl::GetNumberPossibleExecutingProcessorTypes(this) { Ok(ok__) => { - core::ptr::write(number, core::mem::transmute(ok__)); + number.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10325,7 +10325,7 @@ impl IDebugControl4_Vtbl { let this = (*this).get_impl(); match IDebugControl4_Impl::GetNumberProcessors(this) { Ok(ok__) => { - core::ptr::write(number, core::mem::transmute(ok__)); + number.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10341,7 +10341,7 @@ impl IDebugControl4_Vtbl { let this = (*this).get_impl(); match IDebugControl4_Impl::GetPageSize(this) { Ok(ok__) => { - core::ptr::write(size, core::mem::transmute(ok__)); + size.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10362,7 +10362,7 @@ impl IDebugControl4_Vtbl { let this = (*this).get_impl(); match IDebugControl4_Impl::GetNumberSupportedProcessorTypes(this) { Ok(ok__) => { - core::ptr::write(number, core::mem::transmute(ok__)); + number.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10383,7 +10383,7 @@ impl IDebugControl4_Vtbl { let this = (*this).get_impl(); match IDebugControl4_Impl::GetEffectiveProcessorType(this) { Ok(ok__) => { - core::ptr::write(r#type, core::mem::transmute(ok__)); + r#type.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10399,7 +10399,7 @@ impl IDebugControl4_Vtbl { let this = (*this).get_impl(); match IDebugControl4_Impl::GetExecutionStatus(this) { Ok(ok__) => { - core::ptr::write(status, core::mem::transmute(ok__)); + status.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10415,7 +10415,7 @@ impl IDebugControl4_Vtbl { let this = (*this).get_impl(); match IDebugControl4_Impl::GetCodeLevel(this) { Ok(ok__) => { - core::ptr::write(level, core::mem::transmute(ok__)); + level.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10431,7 +10431,7 @@ impl IDebugControl4_Vtbl { let this = (*this).get_impl(); match IDebugControl4_Impl::GetEngineOptions(this) { Ok(ok__) => { - core::ptr::write(options, core::mem::transmute(ok__)); + options.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10477,7 +10477,7 @@ impl IDebugControl4_Vtbl { let this = (*this).get_impl(); match IDebugControl4_Impl::GetRadix(this) { Ok(ok__) => { - core::ptr::write(radix, core::mem::transmute(ok__)); + radix.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10518,7 +10518,7 @@ impl IDebugControl4_Vtbl { let this = (*this).get_impl(); match IDebugControl4_Impl::GetNumberBreakpoints(this) { Ok(ok__) => { - core::ptr::write(number, core::mem::transmute(ok__)); + number.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10529,7 +10529,7 @@ impl IDebugControl4_Vtbl { let this = (*this).get_impl(); match IDebugControl4_Impl::GetBreakpointByIndex(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(bp, core::mem::transmute(ok__)); + bp.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10540,7 +10540,7 @@ impl IDebugControl4_Vtbl { let this = (*this).get_impl(); match IDebugControl4_Impl::GetBreakpointById(this, core::mem::transmute_copy(&id)) { Ok(ok__) => { - core::ptr::write(bp, core::mem::transmute(ok__)); + bp.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10556,7 +10556,7 @@ impl IDebugControl4_Vtbl { let this = (*this).get_impl(); match IDebugControl4_Impl::AddBreakpoint(this, core::mem::transmute_copy(&r#type), core::mem::transmute_copy(&desiredid)) { Ok(ok__) => { - core::ptr::write(bp, core::mem::transmute(ok__)); + bp.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10572,7 +10572,7 @@ impl IDebugControl4_Vtbl { let this = (*this).get_impl(); match IDebugControl4_Impl::AddExtension(this, core::mem::transmute(&path), core::mem::transmute_copy(&flags)) { Ok(ok__) => { - core::ptr::write(handle, core::mem::transmute(ok__)); + handle.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10588,7 +10588,7 @@ impl IDebugControl4_Vtbl { let this = (*this).get_impl(); match IDebugControl4_Impl::GetExtensionByPath(this, core::mem::transmute(&path)) { Ok(ok__) => { - core::ptr::write(handle, core::mem::transmute(ok__)); + handle.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10689,7 +10689,7 @@ impl IDebugControl4_Vtbl { let this = (*this).get_impl(); match IDebugControl4_Impl::GetCurrentTimeDate(this) { Ok(ok__) => { - core::ptr::write(timedate, core::mem::transmute(ok__)); + timedate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10700,7 +10700,7 @@ impl IDebugControl4_Vtbl { let this = (*this).get_impl(); match IDebugControl4_Impl::GetCurrentSystemUpTime(this) { Ok(ok__) => { - core::ptr::write(uptime, core::mem::transmute(ok__)); + uptime.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10711,7 +10711,7 @@ impl IDebugControl4_Vtbl { let this = (*this).get_impl(); match IDebugControl4_Impl::GetDumpFormatFlags(this) { Ok(ok__) => { - core::ptr::write(formatflags, core::mem::transmute(ok__)); + formatflags.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10722,7 +10722,7 @@ impl IDebugControl4_Vtbl { let this = (*this).get_impl(); match IDebugControl4_Impl::GetNumberTextReplacements(this) { Ok(ok__) => { - core::ptr::write(numrepl, core::mem::transmute(ok__)); + numrepl.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10753,7 +10753,7 @@ impl IDebugControl4_Vtbl { let this = (*this).get_impl(); match IDebugControl4_Impl::GetAssemblyOptions(this) { Ok(ok__) => { - core::ptr::write(options, core::mem::transmute(ok__)); + options.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10779,7 +10779,7 @@ impl IDebugControl4_Vtbl { let this = (*this).get_impl(); match IDebugControl4_Impl::GetExpressionSyntax(this) { Ok(ok__) => { - core::ptr::write(flags, core::mem::transmute(ok__)); + flags.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10800,7 +10800,7 @@ impl IDebugControl4_Vtbl { let this = (*this).get_impl(); match IDebugControl4_Impl::GetNumberExpressionSyntaxes(this) { Ok(ok__) => { - core::ptr::write(number, core::mem::transmute(ok__)); + number.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10816,7 +10816,7 @@ impl IDebugControl4_Vtbl { let this = (*this).get_impl(); match IDebugControl4_Impl::GetNumberEvents(this) { Ok(ok__) => { - core::ptr::write(events, core::mem::transmute(ok__)); + events.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10832,7 +10832,7 @@ impl IDebugControl4_Vtbl { let this = (*this).get_impl(); match IDebugControl4_Impl::GetCurrentEventIndex(this) { Ok(ok__) => { - core::ptr::write(index, core::mem::transmute(ok__)); + index.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10843,7 +10843,7 @@ impl IDebugControl4_Vtbl { let this = (*this).get_impl(); match IDebugControl4_Impl::SetNextEventIndex(this, core::mem::transmute_copy(&relation), core::mem::transmute_copy(&value)) { Ok(ok__) => { - core::ptr::write(nextindex, core::mem::transmute(ok__)); + nextindex.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10909,7 +10909,7 @@ impl IDebugControl4_Vtbl { let this = (*this).get_impl(); match IDebugControl4_Impl::AssembleWide(this, core::mem::transmute_copy(&offset), core::mem::transmute(&instr)) { Ok(ok__) => { - core::ptr::write(endoffset, core::mem::transmute(ok__)); + endoffset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10955,7 +10955,7 @@ impl IDebugControl4_Vtbl { let this = (*this).get_impl(); match IDebugControl4_Impl::GetBreakpointByIndex2(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(bp, core::mem::transmute(ok__)); + bp.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10966,7 +10966,7 @@ impl IDebugControl4_Vtbl { let this = (*this).get_impl(); match IDebugControl4_Impl::GetBreakpointById2(this, core::mem::transmute_copy(&id)) { Ok(ok__) => { - core::ptr::write(bp, core::mem::transmute(ok__)); + bp.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10977,7 +10977,7 @@ impl IDebugControl4_Vtbl { let this = (*this).get_impl(); match IDebugControl4_Impl::AddBreakpoint2(this, core::mem::transmute_copy(&r#type), core::mem::transmute_copy(&desiredid)) { Ok(ok__) => { - core::ptr::write(bp, core::mem::transmute(ok__)); + bp.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10993,7 +10993,7 @@ impl IDebugControl4_Vtbl { let this = (*this).get_impl(); match IDebugControl4_Impl::AddExtensionWide(this, core::mem::transmute(&path), core::mem::transmute_copy(&flags)) { Ok(ok__) => { - core::ptr::write(handle, core::mem::transmute(ok__)); + handle.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11004,7 +11004,7 @@ impl IDebugControl4_Vtbl { let this = (*this).get_impl(); match IDebugControl4_Impl::GetExtensionByPathWide(this, core::mem::transmute(&path)) { Ok(ok__) => { - core::ptr::write(handle, core::mem::transmute(ok__)); + handle.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11518,7 +11518,7 @@ impl IDebugControl5_Vtbl { let this = (*this).get_impl(); match IDebugControl5_Impl::GetInterruptTimeout(this) { Ok(ok__) => { - core::ptr::write(seconds, core::mem::transmute(ok__)); + seconds.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11549,7 +11549,7 @@ impl IDebugControl5_Vtbl { let this = (*this).get_impl(); match IDebugControl5_Impl::GetLogMask(this) { Ok(ok__) => { - core::ptr::write(mask, core::mem::transmute(ok__)); + mask.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11620,7 +11620,7 @@ impl IDebugControl5_Vtbl { let this = (*this).get_impl(); match IDebugControl5_Impl::GetNotifyEventHandle(this) { Ok(ok__) => { - core::ptr::write(handle, core::mem::transmute(ok__)); + handle.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11636,7 +11636,7 @@ impl IDebugControl5_Vtbl { let this = (*this).get_impl(); match IDebugControl5_Impl::Assemble(this, core::mem::transmute_copy(&offset), core::mem::transmute(&instr)) { Ok(ok__) => { - core::ptr::write(endoffset, core::mem::transmute(ok__)); + endoffset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11652,7 +11652,7 @@ impl IDebugControl5_Vtbl { let this = (*this).get_impl(); match IDebugControl5_Impl::GetDisassembleEffectiveOffset(this) { Ok(ok__) => { - core::ptr::write(offset, core::mem::transmute(ok__)); + offset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11663,7 +11663,7 @@ impl IDebugControl5_Vtbl { let this = (*this).get_impl(); match IDebugControl5_Impl::OutputDisassembly(this, core::mem::transmute_copy(&outputcontrol), core::mem::transmute_copy(&offset), core::mem::transmute_copy(&flags)) { Ok(ok__) => { - core::ptr::write(endoffset, core::mem::transmute(ok__)); + endoffset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11679,7 +11679,7 @@ impl IDebugControl5_Vtbl { let this = (*this).get_impl(); match IDebugControl5_Impl::GetNearInstruction(this, core::mem::transmute_copy(&offset), core::mem::transmute_copy(&delta)) { Ok(ok__) => { - core::ptr::write(nearoffset, core::mem::transmute(ok__)); + nearoffset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11695,7 +11695,7 @@ impl IDebugControl5_Vtbl { let this = (*this).get_impl(); match IDebugControl5_Impl::GetReturnOffset(this) { Ok(ok__) => { - core::ptr::write(offset, core::mem::transmute(ok__)); + offset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11716,7 +11716,7 @@ impl IDebugControl5_Vtbl { let this = (*this).get_impl(); match IDebugControl5_Impl::GetActualProcessorType(this) { Ok(ok__) => { - core::ptr::write(r#type, core::mem::transmute(ok__)); + r#type.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11727,7 +11727,7 @@ impl IDebugControl5_Vtbl { let this = (*this).get_impl(); match IDebugControl5_Impl::GetExecutingProcessorType(this) { Ok(ok__) => { - core::ptr::write(r#type, core::mem::transmute(ok__)); + r#type.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11738,7 +11738,7 @@ impl IDebugControl5_Vtbl { let this = (*this).get_impl(); match IDebugControl5_Impl::GetNumberPossibleExecutingProcessorTypes(this) { Ok(ok__) => { - core::ptr::write(number, core::mem::transmute(ok__)); + number.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11754,7 +11754,7 @@ impl IDebugControl5_Vtbl { let this = (*this).get_impl(); match IDebugControl5_Impl::GetNumberProcessors(this) { Ok(ok__) => { - core::ptr::write(number, core::mem::transmute(ok__)); + number.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11770,7 +11770,7 @@ impl IDebugControl5_Vtbl { let this = (*this).get_impl(); match IDebugControl5_Impl::GetPageSize(this) { Ok(ok__) => { - core::ptr::write(size, core::mem::transmute(ok__)); + size.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11791,7 +11791,7 @@ impl IDebugControl5_Vtbl { let this = (*this).get_impl(); match IDebugControl5_Impl::GetNumberSupportedProcessorTypes(this) { Ok(ok__) => { - core::ptr::write(number, core::mem::transmute(ok__)); + number.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11812,7 +11812,7 @@ impl IDebugControl5_Vtbl { let this = (*this).get_impl(); match IDebugControl5_Impl::GetEffectiveProcessorType(this) { Ok(ok__) => { - core::ptr::write(r#type, core::mem::transmute(ok__)); + r#type.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11828,7 +11828,7 @@ impl IDebugControl5_Vtbl { let this = (*this).get_impl(); match IDebugControl5_Impl::GetExecutionStatus(this) { Ok(ok__) => { - core::ptr::write(status, core::mem::transmute(ok__)); + status.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11844,7 +11844,7 @@ impl IDebugControl5_Vtbl { let this = (*this).get_impl(); match IDebugControl5_Impl::GetCodeLevel(this) { Ok(ok__) => { - core::ptr::write(level, core::mem::transmute(ok__)); + level.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11860,7 +11860,7 @@ impl IDebugControl5_Vtbl { let this = (*this).get_impl(); match IDebugControl5_Impl::GetEngineOptions(this) { Ok(ok__) => { - core::ptr::write(options, core::mem::transmute(ok__)); + options.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11906,7 +11906,7 @@ impl IDebugControl5_Vtbl { let this = (*this).get_impl(); match IDebugControl5_Impl::GetRadix(this) { Ok(ok__) => { - core::ptr::write(radix, core::mem::transmute(ok__)); + radix.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11947,7 +11947,7 @@ impl IDebugControl5_Vtbl { let this = (*this).get_impl(); match IDebugControl5_Impl::GetNumberBreakpoints(this) { Ok(ok__) => { - core::ptr::write(number, core::mem::transmute(ok__)); + number.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11958,7 +11958,7 @@ impl IDebugControl5_Vtbl { let this = (*this).get_impl(); match IDebugControl5_Impl::GetBreakpointByIndex(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(bp, core::mem::transmute(ok__)); + bp.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11969,7 +11969,7 @@ impl IDebugControl5_Vtbl { let this = (*this).get_impl(); match IDebugControl5_Impl::GetBreakpointById(this, core::mem::transmute_copy(&id)) { Ok(ok__) => { - core::ptr::write(bp, core::mem::transmute(ok__)); + bp.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11985,7 +11985,7 @@ impl IDebugControl5_Vtbl { let this = (*this).get_impl(); match IDebugControl5_Impl::AddBreakpoint(this, core::mem::transmute_copy(&r#type), core::mem::transmute_copy(&desiredid)) { Ok(ok__) => { - core::ptr::write(bp, core::mem::transmute(ok__)); + bp.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12001,7 +12001,7 @@ impl IDebugControl5_Vtbl { let this = (*this).get_impl(); match IDebugControl5_Impl::AddExtension(this, core::mem::transmute(&path), core::mem::transmute_copy(&flags)) { Ok(ok__) => { - core::ptr::write(handle, core::mem::transmute(ok__)); + handle.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12017,7 +12017,7 @@ impl IDebugControl5_Vtbl { let this = (*this).get_impl(); match IDebugControl5_Impl::GetExtensionByPath(this, core::mem::transmute(&path)) { Ok(ok__) => { - core::ptr::write(handle, core::mem::transmute(ok__)); + handle.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12118,7 +12118,7 @@ impl IDebugControl5_Vtbl { let this = (*this).get_impl(); match IDebugControl5_Impl::GetCurrentTimeDate(this) { Ok(ok__) => { - core::ptr::write(timedate, core::mem::transmute(ok__)); + timedate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12129,7 +12129,7 @@ impl IDebugControl5_Vtbl { let this = (*this).get_impl(); match IDebugControl5_Impl::GetCurrentSystemUpTime(this) { Ok(ok__) => { - core::ptr::write(uptime, core::mem::transmute(ok__)); + uptime.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12140,7 +12140,7 @@ impl IDebugControl5_Vtbl { let this = (*this).get_impl(); match IDebugControl5_Impl::GetDumpFormatFlags(this) { Ok(ok__) => { - core::ptr::write(formatflags, core::mem::transmute(ok__)); + formatflags.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12151,7 +12151,7 @@ impl IDebugControl5_Vtbl { let this = (*this).get_impl(); match IDebugControl5_Impl::GetNumberTextReplacements(this) { Ok(ok__) => { - core::ptr::write(numrepl, core::mem::transmute(ok__)); + numrepl.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12182,7 +12182,7 @@ impl IDebugControl5_Vtbl { let this = (*this).get_impl(); match IDebugControl5_Impl::GetAssemblyOptions(this) { Ok(ok__) => { - core::ptr::write(options, core::mem::transmute(ok__)); + options.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12208,7 +12208,7 @@ impl IDebugControl5_Vtbl { let this = (*this).get_impl(); match IDebugControl5_Impl::GetExpressionSyntax(this) { Ok(ok__) => { - core::ptr::write(flags, core::mem::transmute(ok__)); + flags.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12229,7 +12229,7 @@ impl IDebugControl5_Vtbl { let this = (*this).get_impl(); match IDebugControl5_Impl::GetNumberExpressionSyntaxes(this) { Ok(ok__) => { - core::ptr::write(number, core::mem::transmute(ok__)); + number.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12245,7 +12245,7 @@ impl IDebugControl5_Vtbl { let this = (*this).get_impl(); match IDebugControl5_Impl::GetNumberEvents(this) { Ok(ok__) => { - core::ptr::write(events, core::mem::transmute(ok__)); + events.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12261,7 +12261,7 @@ impl IDebugControl5_Vtbl { let this = (*this).get_impl(); match IDebugControl5_Impl::GetCurrentEventIndex(this) { Ok(ok__) => { - core::ptr::write(index, core::mem::transmute(ok__)); + index.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12272,7 +12272,7 @@ impl IDebugControl5_Vtbl { let this = (*this).get_impl(); match IDebugControl5_Impl::SetNextEventIndex(this, core::mem::transmute_copy(&relation), core::mem::transmute_copy(&value)) { Ok(ok__) => { - core::ptr::write(nextindex, core::mem::transmute(ok__)); + nextindex.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12338,7 +12338,7 @@ impl IDebugControl5_Vtbl { let this = (*this).get_impl(); match IDebugControl5_Impl::AssembleWide(this, core::mem::transmute_copy(&offset), core::mem::transmute(&instr)) { Ok(ok__) => { - core::ptr::write(endoffset, core::mem::transmute(ok__)); + endoffset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12384,7 +12384,7 @@ impl IDebugControl5_Vtbl { let this = (*this).get_impl(); match IDebugControl5_Impl::GetBreakpointByIndex2(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(bp, core::mem::transmute(ok__)); + bp.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12395,7 +12395,7 @@ impl IDebugControl5_Vtbl { let this = (*this).get_impl(); match IDebugControl5_Impl::GetBreakpointById2(this, core::mem::transmute_copy(&id)) { Ok(ok__) => { - core::ptr::write(bp, core::mem::transmute(ok__)); + bp.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12406,7 +12406,7 @@ impl IDebugControl5_Vtbl { let this = (*this).get_impl(); match IDebugControl5_Impl::AddBreakpoint2(this, core::mem::transmute_copy(&r#type), core::mem::transmute_copy(&desiredid)) { Ok(ok__) => { - core::ptr::write(bp, core::mem::transmute(ok__)); + bp.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12422,7 +12422,7 @@ impl IDebugControl5_Vtbl { let this = (*this).get_impl(); match IDebugControl5_Impl::AddExtensionWide(this, core::mem::transmute(&path), core::mem::transmute_copy(&flags)) { Ok(ok__) => { - core::ptr::write(handle, core::mem::transmute(ok__)); + handle.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12433,7 +12433,7 @@ impl IDebugControl5_Vtbl { let this = (*this).get_impl(); match IDebugControl5_Impl::GetExtensionByPathWide(this, core::mem::transmute(&path)) { Ok(ok__) => { - core::ptr::write(handle, core::mem::transmute(ok__)); + handle.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12604,7 +12604,7 @@ impl IDebugControl5_Vtbl { let this = (*this).get_impl(); match IDebugControl5_Impl::GetBreakpointByGuid(this, core::mem::transmute_copy(&guid)) { Ok(ok__) => { - core::ptr::write(bp, core::mem::transmute(ok__)); + bp.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12985,7 +12985,7 @@ impl IDebugControl6_Vtbl { let this = (*this).get_impl(); match IDebugControl6_Impl::GetInterruptTimeout(this) { Ok(ok__) => { - core::ptr::write(seconds, core::mem::transmute(ok__)); + seconds.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13016,7 +13016,7 @@ impl IDebugControl6_Vtbl { let this = (*this).get_impl(); match IDebugControl6_Impl::GetLogMask(this) { Ok(ok__) => { - core::ptr::write(mask, core::mem::transmute(ok__)); + mask.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13087,7 +13087,7 @@ impl IDebugControl6_Vtbl { let this = (*this).get_impl(); match IDebugControl6_Impl::GetNotifyEventHandle(this) { Ok(ok__) => { - core::ptr::write(handle, core::mem::transmute(ok__)); + handle.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13103,7 +13103,7 @@ impl IDebugControl6_Vtbl { let this = (*this).get_impl(); match IDebugControl6_Impl::Assemble(this, core::mem::transmute_copy(&offset), core::mem::transmute(&instr)) { Ok(ok__) => { - core::ptr::write(endoffset, core::mem::transmute(ok__)); + endoffset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13119,7 +13119,7 @@ impl IDebugControl6_Vtbl { let this = (*this).get_impl(); match IDebugControl6_Impl::GetDisassembleEffectiveOffset(this) { Ok(ok__) => { - core::ptr::write(offset, core::mem::transmute(ok__)); + offset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13130,7 +13130,7 @@ impl IDebugControl6_Vtbl { let this = (*this).get_impl(); match IDebugControl6_Impl::OutputDisassembly(this, core::mem::transmute_copy(&outputcontrol), core::mem::transmute_copy(&offset), core::mem::transmute_copy(&flags)) { Ok(ok__) => { - core::ptr::write(endoffset, core::mem::transmute(ok__)); + endoffset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13146,7 +13146,7 @@ impl IDebugControl6_Vtbl { let this = (*this).get_impl(); match IDebugControl6_Impl::GetNearInstruction(this, core::mem::transmute_copy(&offset), core::mem::transmute_copy(&delta)) { Ok(ok__) => { - core::ptr::write(nearoffset, core::mem::transmute(ok__)); + nearoffset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13162,7 +13162,7 @@ impl IDebugControl6_Vtbl { let this = (*this).get_impl(); match IDebugControl6_Impl::GetReturnOffset(this) { Ok(ok__) => { - core::ptr::write(offset, core::mem::transmute(ok__)); + offset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13183,7 +13183,7 @@ impl IDebugControl6_Vtbl { let this = (*this).get_impl(); match IDebugControl6_Impl::GetActualProcessorType(this) { Ok(ok__) => { - core::ptr::write(r#type, core::mem::transmute(ok__)); + r#type.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13194,7 +13194,7 @@ impl IDebugControl6_Vtbl { let this = (*this).get_impl(); match IDebugControl6_Impl::GetExecutingProcessorType(this) { Ok(ok__) => { - core::ptr::write(r#type, core::mem::transmute(ok__)); + r#type.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13205,7 +13205,7 @@ impl IDebugControl6_Vtbl { let this = (*this).get_impl(); match IDebugControl6_Impl::GetNumberPossibleExecutingProcessorTypes(this) { Ok(ok__) => { - core::ptr::write(number, core::mem::transmute(ok__)); + number.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13221,7 +13221,7 @@ impl IDebugControl6_Vtbl { let this = (*this).get_impl(); match IDebugControl6_Impl::GetNumberProcessors(this) { Ok(ok__) => { - core::ptr::write(number, core::mem::transmute(ok__)); + number.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13237,7 +13237,7 @@ impl IDebugControl6_Vtbl { let this = (*this).get_impl(); match IDebugControl6_Impl::GetPageSize(this) { Ok(ok__) => { - core::ptr::write(size, core::mem::transmute(ok__)); + size.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13258,7 +13258,7 @@ impl IDebugControl6_Vtbl { let this = (*this).get_impl(); match IDebugControl6_Impl::GetNumberSupportedProcessorTypes(this) { Ok(ok__) => { - core::ptr::write(number, core::mem::transmute(ok__)); + number.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13279,7 +13279,7 @@ impl IDebugControl6_Vtbl { let this = (*this).get_impl(); match IDebugControl6_Impl::GetEffectiveProcessorType(this) { Ok(ok__) => { - core::ptr::write(r#type, core::mem::transmute(ok__)); + r#type.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13295,7 +13295,7 @@ impl IDebugControl6_Vtbl { let this = (*this).get_impl(); match IDebugControl6_Impl::GetExecutionStatus(this) { Ok(ok__) => { - core::ptr::write(status, core::mem::transmute(ok__)); + status.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13311,7 +13311,7 @@ impl IDebugControl6_Vtbl { let this = (*this).get_impl(); match IDebugControl6_Impl::GetCodeLevel(this) { Ok(ok__) => { - core::ptr::write(level, core::mem::transmute(ok__)); + level.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13327,7 +13327,7 @@ impl IDebugControl6_Vtbl { let this = (*this).get_impl(); match IDebugControl6_Impl::GetEngineOptions(this) { Ok(ok__) => { - core::ptr::write(options, core::mem::transmute(ok__)); + options.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13373,7 +13373,7 @@ impl IDebugControl6_Vtbl { let this = (*this).get_impl(); match IDebugControl6_Impl::GetRadix(this) { Ok(ok__) => { - core::ptr::write(radix, core::mem::transmute(ok__)); + radix.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13414,7 +13414,7 @@ impl IDebugControl6_Vtbl { let this = (*this).get_impl(); match IDebugControl6_Impl::GetNumberBreakpoints(this) { Ok(ok__) => { - core::ptr::write(number, core::mem::transmute(ok__)); + number.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13425,7 +13425,7 @@ impl IDebugControl6_Vtbl { let this = (*this).get_impl(); match IDebugControl6_Impl::GetBreakpointByIndex(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(bp, core::mem::transmute(ok__)); + bp.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13436,7 +13436,7 @@ impl IDebugControl6_Vtbl { let this = (*this).get_impl(); match IDebugControl6_Impl::GetBreakpointById(this, core::mem::transmute_copy(&id)) { Ok(ok__) => { - core::ptr::write(bp, core::mem::transmute(ok__)); + bp.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13452,7 +13452,7 @@ impl IDebugControl6_Vtbl { let this = (*this).get_impl(); match IDebugControl6_Impl::AddBreakpoint(this, core::mem::transmute_copy(&r#type), core::mem::transmute_copy(&desiredid)) { Ok(ok__) => { - core::ptr::write(bp, core::mem::transmute(ok__)); + bp.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13468,7 +13468,7 @@ impl IDebugControl6_Vtbl { let this = (*this).get_impl(); match IDebugControl6_Impl::AddExtension(this, core::mem::transmute(&path), core::mem::transmute_copy(&flags)) { Ok(ok__) => { - core::ptr::write(handle, core::mem::transmute(ok__)); + handle.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13484,7 +13484,7 @@ impl IDebugControl6_Vtbl { let this = (*this).get_impl(); match IDebugControl6_Impl::GetExtensionByPath(this, core::mem::transmute(&path)) { Ok(ok__) => { - core::ptr::write(handle, core::mem::transmute(ok__)); + handle.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13585,7 +13585,7 @@ impl IDebugControl6_Vtbl { let this = (*this).get_impl(); match IDebugControl6_Impl::GetCurrentTimeDate(this) { Ok(ok__) => { - core::ptr::write(timedate, core::mem::transmute(ok__)); + timedate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13596,7 +13596,7 @@ impl IDebugControl6_Vtbl { let this = (*this).get_impl(); match IDebugControl6_Impl::GetCurrentSystemUpTime(this) { Ok(ok__) => { - core::ptr::write(uptime, core::mem::transmute(ok__)); + uptime.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13607,7 +13607,7 @@ impl IDebugControl6_Vtbl { let this = (*this).get_impl(); match IDebugControl6_Impl::GetDumpFormatFlags(this) { Ok(ok__) => { - core::ptr::write(formatflags, core::mem::transmute(ok__)); + formatflags.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13618,7 +13618,7 @@ impl IDebugControl6_Vtbl { let this = (*this).get_impl(); match IDebugControl6_Impl::GetNumberTextReplacements(this) { Ok(ok__) => { - core::ptr::write(numrepl, core::mem::transmute(ok__)); + numrepl.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13649,7 +13649,7 @@ impl IDebugControl6_Vtbl { let this = (*this).get_impl(); match IDebugControl6_Impl::GetAssemblyOptions(this) { Ok(ok__) => { - core::ptr::write(options, core::mem::transmute(ok__)); + options.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13675,7 +13675,7 @@ impl IDebugControl6_Vtbl { let this = (*this).get_impl(); match IDebugControl6_Impl::GetExpressionSyntax(this) { Ok(ok__) => { - core::ptr::write(flags, core::mem::transmute(ok__)); + flags.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13696,7 +13696,7 @@ impl IDebugControl6_Vtbl { let this = (*this).get_impl(); match IDebugControl6_Impl::GetNumberExpressionSyntaxes(this) { Ok(ok__) => { - core::ptr::write(number, core::mem::transmute(ok__)); + number.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13712,7 +13712,7 @@ impl IDebugControl6_Vtbl { let this = (*this).get_impl(); match IDebugControl6_Impl::GetNumberEvents(this) { Ok(ok__) => { - core::ptr::write(events, core::mem::transmute(ok__)); + events.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13728,7 +13728,7 @@ impl IDebugControl6_Vtbl { let this = (*this).get_impl(); match IDebugControl6_Impl::GetCurrentEventIndex(this) { Ok(ok__) => { - core::ptr::write(index, core::mem::transmute(ok__)); + index.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13739,7 +13739,7 @@ impl IDebugControl6_Vtbl { let this = (*this).get_impl(); match IDebugControl6_Impl::SetNextEventIndex(this, core::mem::transmute_copy(&relation), core::mem::transmute_copy(&value)) { Ok(ok__) => { - core::ptr::write(nextindex, core::mem::transmute(ok__)); + nextindex.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13805,7 +13805,7 @@ impl IDebugControl6_Vtbl { let this = (*this).get_impl(); match IDebugControl6_Impl::AssembleWide(this, core::mem::transmute_copy(&offset), core::mem::transmute(&instr)) { Ok(ok__) => { - core::ptr::write(endoffset, core::mem::transmute(ok__)); + endoffset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13851,7 +13851,7 @@ impl IDebugControl6_Vtbl { let this = (*this).get_impl(); match IDebugControl6_Impl::GetBreakpointByIndex2(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(bp, core::mem::transmute(ok__)); + bp.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13862,7 +13862,7 @@ impl IDebugControl6_Vtbl { let this = (*this).get_impl(); match IDebugControl6_Impl::GetBreakpointById2(this, core::mem::transmute_copy(&id)) { Ok(ok__) => { - core::ptr::write(bp, core::mem::transmute(ok__)); + bp.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13873,7 +13873,7 @@ impl IDebugControl6_Vtbl { let this = (*this).get_impl(); match IDebugControl6_Impl::AddBreakpoint2(this, core::mem::transmute_copy(&r#type), core::mem::transmute_copy(&desiredid)) { Ok(ok__) => { - core::ptr::write(bp, core::mem::transmute(ok__)); + bp.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13889,7 +13889,7 @@ impl IDebugControl6_Vtbl { let this = (*this).get_impl(); match IDebugControl6_Impl::AddExtensionWide(this, core::mem::transmute(&path), core::mem::transmute_copy(&flags)) { Ok(ok__) => { - core::ptr::write(handle, core::mem::transmute(ok__)); + handle.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13900,7 +13900,7 @@ impl IDebugControl6_Vtbl { let this = (*this).get_impl(); match IDebugControl6_Impl::GetExtensionByPathWide(this, core::mem::transmute(&path)) { Ok(ok__) => { - core::ptr::write(handle, core::mem::transmute(ok__)); + handle.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -14071,7 +14071,7 @@ impl IDebugControl6_Vtbl { let this = (*this).get_impl(); match IDebugControl6_Impl::GetBreakpointByGuid(this, core::mem::transmute_copy(&guid)) { Ok(ok__) => { - core::ptr::write(bp, core::mem::transmute(ok__)); + bp.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -14082,7 +14082,7 @@ impl IDebugControl6_Vtbl { let this = (*this).get_impl(); match IDebugControl6_Impl::GetExecutionStatusEx(this) { Ok(ok__) => { - core::ptr::write(status, core::mem::transmute(ok__)); + status.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -14471,7 +14471,7 @@ impl IDebugControl7_Vtbl { let this = (*this).get_impl(); match IDebugControl7_Impl::GetInterruptTimeout(this) { Ok(ok__) => { - core::ptr::write(seconds, core::mem::transmute(ok__)); + seconds.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -14502,7 +14502,7 @@ impl IDebugControl7_Vtbl { let this = (*this).get_impl(); match IDebugControl7_Impl::GetLogMask(this) { Ok(ok__) => { - core::ptr::write(mask, core::mem::transmute(ok__)); + mask.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -14573,7 +14573,7 @@ impl IDebugControl7_Vtbl { let this = (*this).get_impl(); match IDebugControl7_Impl::GetNotifyEventHandle(this) { Ok(ok__) => { - core::ptr::write(handle, core::mem::transmute(ok__)); + handle.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -14589,7 +14589,7 @@ impl IDebugControl7_Vtbl { let this = (*this).get_impl(); match IDebugControl7_Impl::Assemble(this, core::mem::transmute_copy(&offset), core::mem::transmute(&instr)) { Ok(ok__) => { - core::ptr::write(endoffset, core::mem::transmute(ok__)); + endoffset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -14605,7 +14605,7 @@ impl IDebugControl7_Vtbl { let this = (*this).get_impl(); match IDebugControl7_Impl::GetDisassembleEffectiveOffset(this) { Ok(ok__) => { - core::ptr::write(offset, core::mem::transmute(ok__)); + offset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -14616,7 +14616,7 @@ impl IDebugControl7_Vtbl { let this = (*this).get_impl(); match IDebugControl7_Impl::OutputDisassembly(this, core::mem::transmute_copy(&outputcontrol), core::mem::transmute_copy(&offset), core::mem::transmute_copy(&flags)) { Ok(ok__) => { - core::ptr::write(endoffset, core::mem::transmute(ok__)); + endoffset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -14632,7 +14632,7 @@ impl IDebugControl7_Vtbl { let this = (*this).get_impl(); match IDebugControl7_Impl::GetNearInstruction(this, core::mem::transmute_copy(&offset), core::mem::transmute_copy(&delta)) { Ok(ok__) => { - core::ptr::write(nearoffset, core::mem::transmute(ok__)); + nearoffset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -14648,7 +14648,7 @@ impl IDebugControl7_Vtbl { let this = (*this).get_impl(); match IDebugControl7_Impl::GetReturnOffset(this) { Ok(ok__) => { - core::ptr::write(offset, core::mem::transmute(ok__)); + offset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -14669,7 +14669,7 @@ impl IDebugControl7_Vtbl { let this = (*this).get_impl(); match IDebugControl7_Impl::GetActualProcessorType(this) { Ok(ok__) => { - core::ptr::write(r#type, core::mem::transmute(ok__)); + r#type.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -14680,7 +14680,7 @@ impl IDebugControl7_Vtbl { let this = (*this).get_impl(); match IDebugControl7_Impl::GetExecutingProcessorType(this) { Ok(ok__) => { - core::ptr::write(r#type, core::mem::transmute(ok__)); + r#type.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -14691,7 +14691,7 @@ impl IDebugControl7_Vtbl { let this = (*this).get_impl(); match IDebugControl7_Impl::GetNumberPossibleExecutingProcessorTypes(this) { Ok(ok__) => { - core::ptr::write(number, core::mem::transmute(ok__)); + number.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -14707,7 +14707,7 @@ impl IDebugControl7_Vtbl { let this = (*this).get_impl(); match IDebugControl7_Impl::GetNumberProcessors(this) { Ok(ok__) => { - core::ptr::write(number, core::mem::transmute(ok__)); + number.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -14723,7 +14723,7 @@ impl IDebugControl7_Vtbl { let this = (*this).get_impl(); match IDebugControl7_Impl::GetPageSize(this) { Ok(ok__) => { - core::ptr::write(size, core::mem::transmute(ok__)); + size.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -14744,7 +14744,7 @@ impl IDebugControl7_Vtbl { let this = (*this).get_impl(); match IDebugControl7_Impl::GetNumberSupportedProcessorTypes(this) { Ok(ok__) => { - core::ptr::write(number, core::mem::transmute(ok__)); + number.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -14765,7 +14765,7 @@ impl IDebugControl7_Vtbl { let this = (*this).get_impl(); match IDebugControl7_Impl::GetEffectiveProcessorType(this) { Ok(ok__) => { - core::ptr::write(r#type, core::mem::transmute(ok__)); + r#type.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -14781,7 +14781,7 @@ impl IDebugControl7_Vtbl { let this = (*this).get_impl(); match IDebugControl7_Impl::GetExecutionStatus(this) { Ok(ok__) => { - core::ptr::write(status, core::mem::transmute(ok__)); + status.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -14797,7 +14797,7 @@ impl IDebugControl7_Vtbl { let this = (*this).get_impl(); match IDebugControl7_Impl::GetCodeLevel(this) { Ok(ok__) => { - core::ptr::write(level, core::mem::transmute(ok__)); + level.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -14813,7 +14813,7 @@ impl IDebugControl7_Vtbl { let this = (*this).get_impl(); match IDebugControl7_Impl::GetEngineOptions(this) { Ok(ok__) => { - core::ptr::write(options, core::mem::transmute(ok__)); + options.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -14859,7 +14859,7 @@ impl IDebugControl7_Vtbl { let this = (*this).get_impl(); match IDebugControl7_Impl::GetRadix(this) { Ok(ok__) => { - core::ptr::write(radix, core::mem::transmute(ok__)); + radix.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -14900,7 +14900,7 @@ impl IDebugControl7_Vtbl { let this = (*this).get_impl(); match IDebugControl7_Impl::GetNumberBreakpoints(this) { Ok(ok__) => { - core::ptr::write(number, core::mem::transmute(ok__)); + number.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -14911,7 +14911,7 @@ impl IDebugControl7_Vtbl { let this = (*this).get_impl(); match IDebugControl7_Impl::GetBreakpointByIndex(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(bp, core::mem::transmute(ok__)); + bp.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -14922,7 +14922,7 @@ impl IDebugControl7_Vtbl { let this = (*this).get_impl(); match IDebugControl7_Impl::GetBreakpointById(this, core::mem::transmute_copy(&id)) { Ok(ok__) => { - core::ptr::write(bp, core::mem::transmute(ok__)); + bp.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -14938,7 +14938,7 @@ impl IDebugControl7_Vtbl { let this = (*this).get_impl(); match IDebugControl7_Impl::AddBreakpoint(this, core::mem::transmute_copy(&r#type), core::mem::transmute_copy(&desiredid)) { Ok(ok__) => { - core::ptr::write(bp, core::mem::transmute(ok__)); + bp.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -14954,7 +14954,7 @@ impl IDebugControl7_Vtbl { let this = (*this).get_impl(); match IDebugControl7_Impl::AddExtension(this, core::mem::transmute(&path), core::mem::transmute_copy(&flags)) { Ok(ok__) => { - core::ptr::write(handle, core::mem::transmute(ok__)); + handle.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -14970,7 +14970,7 @@ impl IDebugControl7_Vtbl { let this = (*this).get_impl(); match IDebugControl7_Impl::GetExtensionByPath(this, core::mem::transmute(&path)) { Ok(ok__) => { - core::ptr::write(handle, core::mem::transmute(ok__)); + handle.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -15071,7 +15071,7 @@ impl IDebugControl7_Vtbl { let this = (*this).get_impl(); match IDebugControl7_Impl::GetCurrentTimeDate(this) { Ok(ok__) => { - core::ptr::write(timedate, core::mem::transmute(ok__)); + timedate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -15082,7 +15082,7 @@ impl IDebugControl7_Vtbl { let this = (*this).get_impl(); match IDebugControl7_Impl::GetCurrentSystemUpTime(this) { Ok(ok__) => { - core::ptr::write(uptime, core::mem::transmute(ok__)); + uptime.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -15093,7 +15093,7 @@ impl IDebugControl7_Vtbl { let this = (*this).get_impl(); match IDebugControl7_Impl::GetDumpFormatFlags(this) { Ok(ok__) => { - core::ptr::write(formatflags, core::mem::transmute(ok__)); + formatflags.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -15104,7 +15104,7 @@ impl IDebugControl7_Vtbl { let this = (*this).get_impl(); match IDebugControl7_Impl::GetNumberTextReplacements(this) { Ok(ok__) => { - core::ptr::write(numrepl, core::mem::transmute(ok__)); + numrepl.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -15135,7 +15135,7 @@ impl IDebugControl7_Vtbl { let this = (*this).get_impl(); match IDebugControl7_Impl::GetAssemblyOptions(this) { Ok(ok__) => { - core::ptr::write(options, core::mem::transmute(ok__)); + options.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -15161,7 +15161,7 @@ impl IDebugControl7_Vtbl { let this = (*this).get_impl(); match IDebugControl7_Impl::GetExpressionSyntax(this) { Ok(ok__) => { - core::ptr::write(flags, core::mem::transmute(ok__)); + flags.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -15182,7 +15182,7 @@ impl IDebugControl7_Vtbl { let this = (*this).get_impl(); match IDebugControl7_Impl::GetNumberExpressionSyntaxes(this) { Ok(ok__) => { - core::ptr::write(number, core::mem::transmute(ok__)); + number.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -15198,7 +15198,7 @@ impl IDebugControl7_Vtbl { let this = (*this).get_impl(); match IDebugControl7_Impl::GetNumberEvents(this) { Ok(ok__) => { - core::ptr::write(events, core::mem::transmute(ok__)); + events.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -15214,7 +15214,7 @@ impl IDebugControl7_Vtbl { let this = (*this).get_impl(); match IDebugControl7_Impl::GetCurrentEventIndex(this) { Ok(ok__) => { - core::ptr::write(index, core::mem::transmute(ok__)); + index.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -15225,7 +15225,7 @@ impl IDebugControl7_Vtbl { let this = (*this).get_impl(); match IDebugControl7_Impl::SetNextEventIndex(this, core::mem::transmute_copy(&relation), core::mem::transmute_copy(&value)) { Ok(ok__) => { - core::ptr::write(nextindex, core::mem::transmute(ok__)); + nextindex.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -15291,7 +15291,7 @@ impl IDebugControl7_Vtbl { let this = (*this).get_impl(); match IDebugControl7_Impl::AssembleWide(this, core::mem::transmute_copy(&offset), core::mem::transmute(&instr)) { Ok(ok__) => { - core::ptr::write(endoffset, core::mem::transmute(ok__)); + endoffset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -15337,7 +15337,7 @@ impl IDebugControl7_Vtbl { let this = (*this).get_impl(); match IDebugControl7_Impl::GetBreakpointByIndex2(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(bp, core::mem::transmute(ok__)); + bp.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -15348,7 +15348,7 @@ impl IDebugControl7_Vtbl { let this = (*this).get_impl(); match IDebugControl7_Impl::GetBreakpointById2(this, core::mem::transmute_copy(&id)) { Ok(ok__) => { - core::ptr::write(bp, core::mem::transmute(ok__)); + bp.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -15359,7 +15359,7 @@ impl IDebugControl7_Vtbl { let this = (*this).get_impl(); match IDebugControl7_Impl::AddBreakpoint2(this, core::mem::transmute_copy(&r#type), core::mem::transmute_copy(&desiredid)) { Ok(ok__) => { - core::ptr::write(bp, core::mem::transmute(ok__)); + bp.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -15375,7 +15375,7 @@ impl IDebugControl7_Vtbl { let this = (*this).get_impl(); match IDebugControl7_Impl::AddExtensionWide(this, core::mem::transmute(&path), core::mem::transmute_copy(&flags)) { Ok(ok__) => { - core::ptr::write(handle, core::mem::transmute(ok__)); + handle.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -15386,7 +15386,7 @@ impl IDebugControl7_Vtbl { let this = (*this).get_impl(); match IDebugControl7_Impl::GetExtensionByPathWide(this, core::mem::transmute(&path)) { Ok(ok__) => { - core::ptr::write(handle, core::mem::transmute(ok__)); + handle.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -15557,7 +15557,7 @@ impl IDebugControl7_Vtbl { let this = (*this).get_impl(); match IDebugControl7_Impl::GetBreakpointByGuid(this, core::mem::transmute_copy(&guid)) { Ok(ok__) => { - core::ptr::write(bp, core::mem::transmute(ok__)); + bp.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -15568,7 +15568,7 @@ impl IDebugControl7_Vtbl { let this = (*this).get_impl(); match IDebugControl7_Impl::GetExecutionStatusEx(this) { Ok(ok__) => { - core::ptr::write(status, core::mem::transmute(ok__)); + status.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -15806,7 +15806,7 @@ impl IDebugDataSpaces_Vtbl { let this = (*this).get_impl(); match IDebugDataSpaces_Impl::SearchVirtual(this, core::mem::transmute_copy(&offset), core::mem::transmute_copy(&length), core::mem::transmute_copy(&pattern), core::mem::transmute_copy(&patternsize), core::mem::transmute_copy(&patterngranularity)) { Ok(ok__) => { - core::ptr::write(matchoffset, core::mem::transmute(ok__)); + matchoffset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -15867,7 +15867,7 @@ impl IDebugDataSpaces_Vtbl { let this = (*this).get_impl(); match IDebugDataSpaces_Impl::ReadMsr(this, core::mem::transmute_copy(&msr)) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -15980,7 +15980,7 @@ impl IDebugDataSpaces2_Vtbl { let this = (*this).get_impl(); match IDebugDataSpaces2_Impl::SearchVirtual(this, core::mem::transmute_copy(&offset), core::mem::transmute_copy(&length), core::mem::transmute_copy(&pattern), core::mem::transmute_copy(&patternsize), core::mem::transmute_copy(&patterngranularity)) { Ok(ok__) => { - core::ptr::write(matchoffset, core::mem::transmute(ok__)); + matchoffset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -16041,7 +16041,7 @@ impl IDebugDataSpaces2_Vtbl { let this = (*this).get_impl(); match IDebugDataSpaces2_Impl::ReadMsr(this, core::mem::transmute_copy(&msr)) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -16082,7 +16082,7 @@ impl IDebugDataSpaces2_Vtbl { let this = (*this).get_impl(); match IDebugDataSpaces2_Impl::VirtualToPhysical(this, core::mem::transmute_copy(&r#virtual)) { Ok(ok__) => { - core::ptr::write(physical, core::mem::transmute(ok__)); + physical.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -16201,7 +16201,7 @@ impl IDebugDataSpaces3_Vtbl { let this = (*this).get_impl(); match IDebugDataSpaces3_Impl::SearchVirtual(this, core::mem::transmute_copy(&offset), core::mem::transmute_copy(&length), core::mem::transmute_copy(&pattern), core::mem::transmute_copy(&patternsize), core::mem::transmute_copy(&patterngranularity)) { Ok(ok__) => { - core::ptr::write(matchoffset, core::mem::transmute(ok__)); + matchoffset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -16262,7 +16262,7 @@ impl IDebugDataSpaces3_Vtbl { let this = (*this).get_impl(); match IDebugDataSpaces3_Impl::ReadMsr(this, core::mem::transmute_copy(&msr)) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -16303,7 +16303,7 @@ impl IDebugDataSpaces3_Vtbl { let this = (*this).get_impl(); match IDebugDataSpaces3_Impl::VirtualToPhysical(this, core::mem::transmute_copy(&r#virtual)) { Ok(ok__) => { - core::ptr::write(physical, core::mem::transmute(ok__)); + physical.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -16349,7 +16349,7 @@ impl IDebugDataSpaces3_Vtbl { let this = (*this).get_impl(); match IDebugDataSpaces3_Impl::StartEnumTagged(this) { Ok(ok__) => { - core::ptr::write(handle, core::mem::transmute(ok__)); + handle.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -16468,7 +16468,7 @@ impl IDebugDataSpaces4_Vtbl { let this = (*this).get_impl(); match IDebugDataSpaces4_Impl::SearchVirtual(this, core::mem::transmute_copy(&offset), core::mem::transmute_copy(&length), core::mem::transmute_copy(&pattern), core::mem::transmute_copy(&patternsize), core::mem::transmute_copy(&patterngranularity)) { Ok(ok__) => { - core::ptr::write(matchoffset, core::mem::transmute(ok__)); + matchoffset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -16529,7 +16529,7 @@ impl IDebugDataSpaces4_Vtbl { let this = (*this).get_impl(); match IDebugDataSpaces4_Impl::ReadMsr(this, core::mem::transmute_copy(&msr)) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -16570,7 +16570,7 @@ impl IDebugDataSpaces4_Vtbl { let this = (*this).get_impl(); match IDebugDataSpaces4_Impl::VirtualToPhysical(this, core::mem::transmute_copy(&r#virtual)) { Ok(ok__) => { - core::ptr::write(physical, core::mem::transmute(ok__)); + physical.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -16616,7 +16616,7 @@ impl IDebugDataSpaces4_Vtbl { let this = (*this).get_impl(); match IDebugDataSpaces4_Impl::StartEnumTagged(this) { Ok(ok__) => { - core::ptr::write(handle, core::mem::transmute(ok__)); + handle.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -16642,7 +16642,7 @@ impl IDebugDataSpaces4_Vtbl { let this = (*this).get_impl(); match IDebugDataSpaces4_Impl::GetNextDifferentlyValidOffsetVirtual(this, core::mem::transmute_copy(&offset)) { Ok(ok__) => { - core::ptr::write(nextoffset, core::mem::transmute(ok__)); + nextoffset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -16658,7 +16658,7 @@ impl IDebugDataSpaces4_Vtbl { let this = (*this).get_impl(); match IDebugDataSpaces4_Impl::SearchVirtual2(this, core::mem::transmute_copy(&offset), core::mem::transmute_copy(&length), core::mem::transmute_copy(&flags), core::mem::transmute_copy(&pattern), core::mem::transmute_copy(&patternsize), core::mem::transmute_copy(&patterngranularity)) { Ok(ok__) => { - core::ptr::write(matchoffset, core::mem::transmute(ok__)); + matchoffset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -16767,7 +16767,7 @@ impl IDebugEventCallbacks_Vtbl { let this = (*this).get_impl(); match IDebugEventCallbacks_Impl::GetInterestMask(this) { Ok(ok__) => { - core::ptr::write(mask, core::mem::transmute(ok__)); + mask.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -16884,7 +16884,7 @@ impl IDebugEventCallbacksWide_Vtbl { let this = (*this).get_impl(); match IDebugEventCallbacksWide_Impl::GetInterestMask(this) { Ok(ok__) => { - core::ptr::write(mask, core::mem::transmute(ok__)); + mask.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -17001,7 +17001,7 @@ impl IDebugEventContextCallbacks_Vtbl { let this = (*this).get_impl(); match IDebugEventContextCallbacks_Impl::GetInterestMask(this) { Ok(ok__) => { - core::ptr::write(mask, core::mem::transmute(ok__)); + mask.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -17145,7 +17145,7 @@ impl IDebugFAEntryTags_Vtbl { let this = &*((*this).this as *const Impl); match IDebugFAEntryTags_Impl::GetTagByName(this, core::mem::transmute(&pluginid), core::mem::transmute(&tagname)) { Ok(ok__) => { - core::ptr::write(tag, core::mem::transmute(ok__)); + tag.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -17397,7 +17397,7 @@ impl IDebugFailureAnalysis2_Vtbl { let this = (*this).get_impl(); match IDebugFailureAnalysis2_Impl::GetDebugFATagControl(this) { Ok(ok__) => { - core::ptr::write(fatagcontrol, core::mem::transmute(ok__)); + fatagcontrol.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -17408,7 +17408,7 @@ impl IDebugFailureAnalysis2_Vtbl { let this = (*this).get_impl(); match IDebugFailureAnalysis2_Impl::GetAnalysisXml(this) { Ok(ok__) => { - core::ptr::write(ppxmldomelement, core::mem::transmute(ok__)); + ppxmldomelement.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -17603,7 +17603,7 @@ impl IDebugFailureAnalysis3_Vtbl { let this = (*this).get_impl(); match IDebugFailureAnalysis3_Impl::GetDebugFATagControl(this) { Ok(ok__) => { - core::ptr::write(fatagcontrol, core::mem::transmute(ok__)); + fatagcontrol.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -17614,7 +17614,7 @@ impl IDebugFailureAnalysis3_Vtbl { let this = (*this).get_impl(); match IDebugFailureAnalysis3_Impl::GetAnalysisXml(this) { Ok(ok__) => { - core::ptr::write(ppxmldomelement, core::mem::transmute(ok__)); + ppxmldomelement.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -17635,7 +17635,7 @@ impl IDebugFailureAnalysis3_Vtbl { let this = (*this).get_impl(); match IDebugFailureAnalysis3_Impl::AttributeGet(this, core::mem::transmute_copy(&nindex)) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -17646,7 +17646,7 @@ impl IDebugFailureAnalysis3_Vtbl { let this = (*this).get_impl(); match IDebugFailureAnalysis3_Impl::AttributeGetName(this, core::mem::transmute_copy(&nindex)) { Ok(ok__) => { - core::ptr::write(pname, core::mem::transmute(ok__)); + pname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -17692,7 +17692,7 @@ impl IDebugFailureAnalysis3_Vtbl { let this = (*this).get_impl(); match IDebugFailureAnalysis3_Impl::ProblemClassIsSet(this, core::mem::transmute_copy(&nindex)) { Ok(ok__) => { - core::ptr::write(pset, core::mem::transmute(ok__)); + pset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -17723,7 +17723,7 @@ impl IDebugFailureAnalysis3_Vtbl { let this = (*this).get_impl(); match IDebugFailureAnalysis3_Impl::GetAdditionalXML(this, core::mem::transmute(&key)) { Ok(ok__) => { - core::ptr::write(ppxmldomelement, core::mem::transmute(ok__)); + ppxmldomelement.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -17795,7 +17795,7 @@ impl IDebugHost_Vtbl { let this = (*this).get_impl(); match IDebugHost_Impl::GetHostDefinedInterface(this) { Ok(ok__) => { - core::ptr::write(hostunk, core::mem::transmute(ok__)); + hostunk.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -17806,7 +17806,7 @@ impl IDebugHost_Vtbl { let this = (*this).get_impl(); match IDebugHost_Impl::GetCurrentContext(this) { Ok(ok__) => { - core::ptr::write(context, core::mem::transmute(ok__)); + context.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -17817,7 +17817,7 @@ impl IDebugHost_Vtbl { let this = (*this).get_impl(); match IDebugHost_Impl::GetDefaultMetadata(this) { Ok(ok__) => { - core::ptr::write(defaultmetadatastore, core::mem::transmute(ok__)); + defaultmetadatastore.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -17845,7 +17845,7 @@ impl IDebugHostBaseClass_Vtbl { let this = (*this).get_impl(); match IDebugHostBaseClass_Impl::GetOffset(this) { Ok(ok__) => { - core::ptr::write(offset, core::mem::transmute(ok__)); + offset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -17868,7 +17868,7 @@ impl IDebugHostConstant_Vtbl { let this = (*this).get_impl(); match IDebugHostConstant_Impl::GetValue(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -17891,7 +17891,7 @@ impl IDebugHostContext_Vtbl { let this = (*this).get_impl(); match IDebugHostContext_Impl::IsEqualTo(this, windows_core::from_raw_borrowed(&pcontext)) { Ok(ok__) => { - core::ptr::write(pisequal, core::mem::transmute(ok__)); + pisequal.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -17916,7 +17916,7 @@ impl IDebugHostData_Vtbl { let this = (*this).get_impl(); match IDebugHostData_Impl::GetLocationKind(this) { Ok(ok__) => { - core::ptr::write(locationkind, core::mem::transmute(ok__)); + locationkind.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -17927,7 +17927,7 @@ impl IDebugHostData_Vtbl { let this = (*this).get_impl(); match IDebugHostData_Impl::GetLocation(this) { Ok(ok__) => { - core::ptr::write(location, core::mem::transmute(ok__)); + location.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -17938,7 +17938,7 @@ impl IDebugHostData_Vtbl { let this = (*this).get_impl(); match IDebugHostData_Impl::GetValue(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -18057,7 +18057,7 @@ impl IDebugHostField_Vtbl { let this = (*this).get_impl(); match IDebugHostField_Impl::GetLocationKind(this) { Ok(ok__) => { - core::ptr::write(locationkind, core::mem::transmute(ok__)); + locationkind.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -18068,7 +18068,7 @@ impl IDebugHostField_Vtbl { let this = (*this).get_impl(); match IDebugHostField_Impl::GetOffset(this) { Ok(ok__) => { - core::ptr::write(offset, core::mem::transmute(ok__)); + offset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -18079,7 +18079,7 @@ impl IDebugHostField_Vtbl { let this = (*this).get_impl(); match IDebugHostField_Impl::GetLocation(this) { Ok(ok__) => { - core::ptr::write(location, core::mem::transmute(ok__)); + location.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -18090,7 +18090,7 @@ impl IDebugHostField_Vtbl { let this = (*this).get_impl(); match IDebugHostField_Impl::GetValue(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -18143,7 +18143,7 @@ impl IDebugHostMemory_Vtbl { let this = (*this).get_impl(); match IDebugHostMemory_Impl::GetDisplayStringForLocation(this, windows_core::from_raw_borrowed(&context), core::mem::transmute(&location), core::mem::transmute_copy(&verbose)) { Ok(ok__) => { - core::ptr::write(locationname, core::mem::transmute(ok__)); + locationname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -18173,7 +18173,7 @@ impl IDebugHostMemory2_Vtbl { let this = (*this).get_impl(); match IDebugHostMemory2_Impl::LinearizeLocation(this, windows_core::from_raw_borrowed(&context), core::mem::transmute(&location)) { Ok(ok__) => { - core::ptr::write(plinearizedlocation, core::mem::transmute(ok__)); + plinearizedlocation.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -18201,7 +18201,7 @@ impl IDebugHostModule_Vtbl { let this = (*this).get_impl(); match IDebugHostModule_Impl::GetImageName(this, core::mem::transmute_copy(&allowpath)) { Ok(ok__) => { - core::ptr::write(imagename, core::mem::transmute(ok__)); + imagename.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -18212,7 +18212,7 @@ impl IDebugHostModule_Vtbl { let this = (*this).get_impl(); match IDebugHostModule_Impl::GetBaseLocation(this) { Ok(ok__) => { - core::ptr::write(modulebaselocation, core::mem::transmute(ok__)); + modulebaselocation.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -18228,7 +18228,7 @@ impl IDebugHostModule_Vtbl { let this = (*this).get_impl(); match IDebugHostModule_Impl::FindTypeByName(this, core::mem::transmute(&typename)) { Ok(ok__) => { - core::ptr::write(r#type, core::mem::transmute(ok__)); + r#type.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -18239,7 +18239,7 @@ impl IDebugHostModule_Vtbl { let this = (*this).get_impl(); match IDebugHostModule_Impl::FindSymbolByRVA(this, core::mem::transmute_copy(&rva)) { Ok(ok__) => { - core::ptr::write(symbol, core::mem::transmute(ok__)); + symbol.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -18250,7 +18250,7 @@ impl IDebugHostModule_Vtbl { let this = (*this).get_impl(); match IDebugHostModule_Impl::FindSymbolByName(this, core::mem::transmute(&symbolname)) { Ok(ok__) => { - core::ptr::write(symbol, core::mem::transmute(ok__)); + symbol.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -18298,7 +18298,7 @@ impl IDebugHostModuleSignature_Vtbl { let this = (*this).get_impl(); match IDebugHostModuleSignature_Impl::IsMatch(this, windows_core::from_raw_borrowed(&pmodule)) { Ok(ok__) => { - core::ptr::write(ismatch, core::mem::transmute(ok__)); + ismatch.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -18322,7 +18322,7 @@ impl IDebugHostPublic_Vtbl { let this = (*this).get_impl(); match IDebugHostPublic_Impl::GetLocationKind(this) { Ok(ok__) => { - core::ptr::write(locationkind, core::mem::transmute(ok__)); + locationkind.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -18333,7 +18333,7 @@ impl IDebugHostPublic_Vtbl { let this = (*this).get_impl(); match IDebugHostPublic_Impl::GetLocation(this) { Ok(ok__) => { - core::ptr::write(location, core::mem::transmute(ok__)); + location.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -18360,7 +18360,7 @@ impl IDebugHostScriptHost_Vtbl { let this = (*this).get_impl(); match IDebugHostScriptHost_Impl::CreateContext(this, windows_core::from_raw_borrowed(&script)) { Ok(ok__) => { - core::ptr::write(scriptcontext, core::mem::transmute(ok__)); + scriptcontext.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -18383,7 +18383,7 @@ impl IDebugHostStatus_Vtbl { let this = (*this).get_impl(); match IDebugHostStatus_Impl::PollUserInterrupt(this) { Ok(ok__) => { - core::ptr::write(interruptrequested, core::mem::transmute(ok__)); + interruptrequested.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -18412,7 +18412,7 @@ impl IDebugHostSymbol_Vtbl { let this = (*this).get_impl(); match IDebugHostSymbol_Impl::GetContext(this) { Ok(ok__) => { - core::ptr::write(context, core::mem::transmute(ok__)); + context.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -18423,7 +18423,7 @@ impl IDebugHostSymbol_Vtbl { let this = (*this).get_impl(); match IDebugHostSymbol_Impl::EnumerateChildren(this, core::mem::transmute_copy(&kind), core::mem::transmute(&name)) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -18434,7 +18434,7 @@ impl IDebugHostSymbol_Vtbl { let this = (*this).get_impl(); match IDebugHostSymbol_Impl::GetSymbolKind(this) { Ok(ok__) => { - core::ptr::write(kind, core::mem::transmute(ok__)); + kind.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -18445,7 +18445,7 @@ impl IDebugHostSymbol_Vtbl { let this = (*this).get_impl(); match IDebugHostSymbol_Impl::GetName(this) { Ok(ok__) => { - core::ptr::write(symbolname, core::mem::transmute(ok__)); + symbolname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -18456,7 +18456,7 @@ impl IDebugHostSymbol_Vtbl { let this = (*this).get_impl(); match IDebugHostSymbol_Impl::GetType(this) { Ok(ok__) => { - core::ptr::write(r#type, core::mem::transmute(ok__)); + r#type.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -18467,7 +18467,7 @@ impl IDebugHostSymbol_Vtbl { let this = (*this).get_impl(); match IDebugHostSymbol_Impl::GetContainingModule(this) { Ok(ok__) => { - core::ptr::write(containingmodule, core::mem::transmute(ok__)); + containingmodule.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -18478,7 +18478,7 @@ impl IDebugHostSymbol_Vtbl { let this = (*this).get_impl(); match IDebugHostSymbol_Impl::CompareAgainst(this, windows_core::from_raw_borrowed(&pcomparisonsymbol), core::mem::transmute_copy(&comparisonflags)) { Ok(ok__) => { - core::ptr::write(pmatches, core::mem::transmute(ok__)); + pmatches.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -18510,7 +18510,7 @@ impl IDebugHostSymbol2_Vtbl { let this = (*this).get_impl(); match IDebugHostSymbol2_Impl::GetLanguage(this) { Ok(ok__) => { - core::ptr::write(pkind, core::mem::transmute(ok__)); + pkind.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -18539,7 +18539,7 @@ impl IDebugHostSymbolEnumerator_Vtbl { let this = (*this).get_impl(); match IDebugHostSymbolEnumerator_Impl::GetNext(this) { Ok(ok__) => { - core::ptr::write(symbol, core::mem::transmute(ok__)); + symbol.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -18572,7 +18572,7 @@ impl IDebugHostSymbols_Vtbl { let this = (*this).get_impl(); match IDebugHostSymbols_Impl::CreateModuleSignature(this, core::mem::transmute(&pwszmodulename), core::mem::transmute(&pwszminversion), core::mem::transmute(&pwszmaxversion)) { Ok(ok__) => { - core::ptr::write(ppmodulesignature, core::mem::transmute(ok__)); + ppmodulesignature.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -18583,7 +18583,7 @@ impl IDebugHostSymbols_Vtbl { let this = (*this).get_impl(); match IDebugHostSymbols_Impl::CreateTypeSignature(this, core::mem::transmute(&signaturespecification), windows_core::from_raw_borrowed(&module)) { Ok(ok__) => { - core::ptr::write(typesignature, core::mem::transmute(ok__)); + typesignature.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -18594,7 +18594,7 @@ impl IDebugHostSymbols_Vtbl { let this = (*this).get_impl(); match IDebugHostSymbols_Impl::CreateTypeSignatureForModuleRange(this, core::mem::transmute(&signaturespecification), core::mem::transmute(&modulename), core::mem::transmute(&minversion), core::mem::transmute(&maxversion)) { Ok(ok__) => { - core::ptr::write(typesignature, core::mem::transmute(ok__)); + typesignature.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -18605,7 +18605,7 @@ impl IDebugHostSymbols_Vtbl { let this = (*this).get_impl(); match IDebugHostSymbols_Impl::EnumerateModules(this, windows_core::from_raw_borrowed(&context)) { Ok(ok__) => { - core::ptr::write(moduleenum, core::mem::transmute(ok__)); + moduleenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -18616,7 +18616,7 @@ impl IDebugHostSymbols_Vtbl { let this = (*this).get_impl(); match IDebugHostSymbols_Impl::FindModuleByName(this, windows_core::from_raw_borrowed(&context), core::mem::transmute(&modulename)) { Ok(ok__) => { - core::ptr::write(module, core::mem::transmute(ok__)); + module.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -18627,7 +18627,7 @@ impl IDebugHostSymbols_Vtbl { let this = (*this).get_impl(); match IDebugHostSymbols_Impl::FindModuleByLocation(this, windows_core::from_raw_borrowed(&context), core::mem::transmute(&modulelocation)) { Ok(ok__) => { - core::ptr::write(module, core::mem::transmute(ok__)); + module.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -18682,7 +18682,7 @@ impl IDebugHostType_Vtbl { let this = (*this).get_impl(); match IDebugHostType_Impl::GetTypeKind(this) { Ok(ok__) => { - core::ptr::write(kind, core::mem::transmute(ok__)); + kind.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -18693,7 +18693,7 @@ impl IDebugHostType_Vtbl { let this = (*this).get_impl(); match IDebugHostType_Impl::GetSize(this) { Ok(ok__) => { - core::ptr::write(size, core::mem::transmute(ok__)); + size.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -18704,7 +18704,7 @@ impl IDebugHostType_Vtbl { let this = (*this).get_impl(); match IDebugHostType_Impl::GetBaseType(this) { Ok(ok__) => { - core::ptr::write(basetype, core::mem::transmute(ok__)); + basetype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -18715,7 +18715,7 @@ impl IDebugHostType_Vtbl { let this = (*this).get_impl(); match IDebugHostType_Impl::GetHashCode(this) { Ok(ok__) => { - core::ptr::write(hashcode, core::mem::transmute(ok__)); + hashcode.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -18736,7 +18736,7 @@ impl IDebugHostType_Vtbl { let this = (*this).get_impl(); match IDebugHostType_Impl::GetPointerKind(this) { Ok(ok__) => { - core::ptr::write(pointerkind, core::mem::transmute(ok__)); + pointerkind.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -18747,7 +18747,7 @@ impl IDebugHostType_Vtbl { let this = (*this).get_impl(); match IDebugHostType_Impl::GetMemberType(this) { Ok(ok__) => { - core::ptr::write(membertype, core::mem::transmute(ok__)); + membertype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -18758,7 +18758,7 @@ impl IDebugHostType_Vtbl { let this = (*this).get_impl(); match IDebugHostType_Impl::CreatePointerTo(this, core::mem::transmute_copy(&kind)) { Ok(ok__) => { - core::ptr::write(newtype, core::mem::transmute(ok__)); + newtype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -18769,7 +18769,7 @@ impl IDebugHostType_Vtbl { let this = (*this).get_impl(); match IDebugHostType_Impl::GetArrayDimensionality(this) { Ok(ok__) => { - core::ptr::write(arraydimensionality, core::mem::transmute(ok__)); + arraydimensionality.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -18785,7 +18785,7 @@ impl IDebugHostType_Vtbl { let this = (*this).get_impl(); match IDebugHostType_Impl::CreateArrayOf(this, core::mem::transmute_copy(&dimensions), core::mem::transmute_copy(&pdimensions)) { Ok(ok__) => { - core::ptr::write(newtype, core::mem::transmute(ok__)); + newtype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -18796,7 +18796,7 @@ impl IDebugHostType_Vtbl { let this = (*this).get_impl(); match IDebugHostType_Impl::GetFunctionCallingConvention(this) { Ok(ok__) => { - core::ptr::write(conventionkind, core::mem::transmute(ok__)); + conventionkind.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -18807,7 +18807,7 @@ impl IDebugHostType_Vtbl { let this = (*this).get_impl(); match IDebugHostType_Impl::GetFunctionReturnType(this) { Ok(ok__) => { - core::ptr::write(returntype, core::mem::transmute(ok__)); + returntype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -18818,7 +18818,7 @@ impl IDebugHostType_Vtbl { let this = (*this).get_impl(); match IDebugHostType_Impl::GetFunctionParameterTypeCount(this) { Ok(ok__) => { - core::ptr::write(count, core::mem::transmute(ok__)); + count.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -18829,7 +18829,7 @@ impl IDebugHostType_Vtbl { let this = (*this).get_impl(); match IDebugHostType_Impl::GetFunctionParameterTypeAt(this, core::mem::transmute_copy(&i)) { Ok(ok__) => { - core::ptr::write(parametertype, core::mem::transmute(ok__)); + parametertype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -18840,7 +18840,7 @@ impl IDebugHostType_Vtbl { let this = (*this).get_impl(); match IDebugHostType_Impl::IsGeneric(this) { Ok(ok__) => { - core::ptr::write(isgeneric, core::mem::transmute(ok__)); + isgeneric.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -18851,7 +18851,7 @@ impl IDebugHostType_Vtbl { let this = (*this).get_impl(); match IDebugHostType_Impl::GetGenericArgumentCount(this) { Ok(ok__) => { - core::ptr::write(argcount, core::mem::transmute(ok__)); + argcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -18862,7 +18862,7 @@ impl IDebugHostType_Vtbl { let this = (*this).get_impl(); match IDebugHostType_Impl::GetGenericArgumentAt(this, core::mem::transmute_copy(&i)) { Ok(ok__) => { - core::ptr::write(argument, core::mem::transmute(ok__)); + argument.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -18910,7 +18910,7 @@ impl IDebugHostType2_Vtbl { let this = (*this).get_impl(); match IDebugHostType2_Impl::IsTypedef(this) { Ok(ok__) => { - core::ptr::write(istypedef, core::mem::transmute(ok__)); + istypedef.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -18921,7 +18921,7 @@ impl IDebugHostType2_Vtbl { let this = (*this).get_impl(); match IDebugHostType2_Impl::GetTypedefBaseType(this) { Ok(ok__) => { - core::ptr::write(basetype, core::mem::transmute(ok__)); + basetype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -18932,7 +18932,7 @@ impl IDebugHostType2_Vtbl { let this = (*this).get_impl(); match IDebugHostType2_Impl::GetTypedefFinalBaseType(this) { Ok(ok__) => { - core::ptr::write(finalbasetype, core::mem::transmute(ok__)); + finalbasetype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -18943,7 +18943,7 @@ impl IDebugHostType2_Vtbl { let this = (*this).get_impl(); match IDebugHostType2_Impl::GetFunctionVarArgsKind(this) { Ok(ok__) => { - core::ptr::write(varargskind, core::mem::transmute(ok__)); + varargskind.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -18954,7 +18954,7 @@ impl IDebugHostType2_Vtbl { let this = (*this).get_impl(); match IDebugHostType2_Impl::GetFunctionInstancePointerType(this) { Ok(ok__) => { - core::ptr::write(instancepointertype, core::mem::transmute(ok__)); + instancepointertype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -18986,7 +18986,7 @@ impl IDebugHostTypeSignature_Vtbl { let this = (*this).get_impl(); match IDebugHostTypeSignature_Impl::GetHashCode(this) { Ok(ok__) => { - core::ptr::write(hashcode, core::mem::transmute(ok__)); + hashcode.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -19002,7 +19002,7 @@ impl IDebugHostTypeSignature_Vtbl { let this = (*this).get_impl(); match IDebugHostTypeSignature_Impl::CompareAgainst(this, windows_core::from_raw_borrowed(&typesignature)) { Ok(ok__) => { - core::ptr::write(result, core::mem::transmute(ok__)); + result.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -19081,7 +19081,7 @@ impl IDebugOutputCallbacks2_Vtbl { let this = (*this).get_impl(); match IDebugOutputCallbacks2_Impl::GetInterestMask(this) { Ok(ok__) => { - core::ptr::write(mask, core::mem::transmute(ok__)); + mask.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -19295,7 +19295,7 @@ impl IDebugRegisters_Vtbl { let this = (*this).get_impl(); match IDebugRegisters_Impl::GetNumberRegisters(this) { Ok(ok__) => { - core::ptr::write(number, core::mem::transmute(ok__)); + number.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -19311,7 +19311,7 @@ impl IDebugRegisters_Vtbl { let this = (*this).get_impl(); match IDebugRegisters_Impl::GetIndexByName(this, core::mem::transmute(&name)) { Ok(ok__) => { - core::ptr::write(index, core::mem::transmute(ok__)); + index.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -19347,7 +19347,7 @@ impl IDebugRegisters_Vtbl { let this = (*this).get_impl(); match IDebugRegisters_Impl::GetInstructionOffset(this) { Ok(ok__) => { - core::ptr::write(offset, core::mem::transmute(ok__)); + offset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -19358,7 +19358,7 @@ impl IDebugRegisters_Vtbl { let this = (*this).get_impl(); match IDebugRegisters_Impl::GetStackOffset(this) { Ok(ok__) => { - core::ptr::write(offset, core::mem::transmute(ok__)); + offset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -19369,7 +19369,7 @@ impl IDebugRegisters_Vtbl { let this = (*this).get_impl(); match IDebugRegisters_Impl::GetFrameOffset(this) { Ok(ok__) => { - core::ptr::write(offset, core::mem::transmute(ok__)); + offset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -19430,7 +19430,7 @@ impl IDebugRegisters2_Vtbl { let this = (*this).get_impl(); match IDebugRegisters2_Impl::GetNumberRegisters(this) { Ok(ok__) => { - core::ptr::write(number, core::mem::transmute(ok__)); + number.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -19446,7 +19446,7 @@ impl IDebugRegisters2_Vtbl { let this = (*this).get_impl(); match IDebugRegisters2_Impl::GetIndexByName(this, core::mem::transmute(&name)) { Ok(ok__) => { - core::ptr::write(index, core::mem::transmute(ok__)); + index.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -19482,7 +19482,7 @@ impl IDebugRegisters2_Vtbl { let this = (*this).get_impl(); match IDebugRegisters2_Impl::GetInstructionOffset(this) { Ok(ok__) => { - core::ptr::write(offset, core::mem::transmute(ok__)); + offset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -19493,7 +19493,7 @@ impl IDebugRegisters2_Vtbl { let this = (*this).get_impl(); match IDebugRegisters2_Impl::GetStackOffset(this) { Ok(ok__) => { - core::ptr::write(offset, core::mem::transmute(ok__)); + offset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -19504,7 +19504,7 @@ impl IDebugRegisters2_Vtbl { let this = (*this).get_impl(); match IDebugRegisters2_Impl::GetFrameOffset(this) { Ok(ok__) => { - core::ptr::write(offset, core::mem::transmute(ok__)); + offset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -19520,7 +19520,7 @@ impl IDebugRegisters2_Vtbl { let this = (*this).get_impl(); match IDebugRegisters2_Impl::GetIndexByNameWide(this, core::mem::transmute(&name)) { Ok(ok__) => { - core::ptr::write(index, core::mem::transmute(ok__)); + index.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -19531,7 +19531,7 @@ impl IDebugRegisters2_Vtbl { let this = (*this).get_impl(); match IDebugRegisters2_Impl::GetNumberPseudoRegisters(this) { Ok(ok__) => { - core::ptr::write(number, core::mem::transmute(ok__)); + number.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -19552,7 +19552,7 @@ impl IDebugRegisters2_Vtbl { let this = (*this).get_impl(); match IDebugRegisters2_Impl::GetPseudoIndexByName(this, core::mem::transmute(&name)) { Ok(ok__) => { - core::ptr::write(index, core::mem::transmute(ok__)); + index.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -19563,7 +19563,7 @@ impl IDebugRegisters2_Vtbl { let this = (*this).get_impl(); match IDebugRegisters2_Impl::GetPseudoIndexByNameWide(this, core::mem::transmute(&name)) { Ok(ok__) => { - core::ptr::write(index, core::mem::transmute(ok__)); + index.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -19599,7 +19599,7 @@ impl IDebugRegisters2_Vtbl { let this = (*this).get_impl(); match IDebugRegisters2_Impl::GetInstructionOffset2(this, core::mem::transmute_copy(&source)) { Ok(ok__) => { - core::ptr::write(offset, core::mem::transmute(ok__)); + offset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -19610,7 +19610,7 @@ impl IDebugRegisters2_Vtbl { let this = (*this).get_impl(); match IDebugRegisters2_Impl::GetStackOffset2(this, core::mem::transmute_copy(&source)) { Ok(ok__) => { - core::ptr::write(offset, core::mem::transmute(ok__)); + offset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -19621,7 +19621,7 @@ impl IDebugRegisters2_Vtbl { let this = (*this).get_impl(); match IDebugRegisters2_Impl::GetFrameOffset2(this, core::mem::transmute_copy(&source)) { Ok(ok__) => { - core::ptr::write(offset, core::mem::transmute(ok__)); + offset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -19681,7 +19681,7 @@ impl IDebugSymbolGroup_Vtbl { let this = (*this).get_impl(); match IDebugSymbolGroup_Impl::GetNumberSymbols(this) { Ok(ok__) => { - core::ptr::write(number, core::mem::transmute(ok__)); + number.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -19783,7 +19783,7 @@ impl IDebugSymbolGroup2_Vtbl { let this = (*this).get_impl(); match IDebugSymbolGroup2_Impl::GetNumberSymbols(this) { Ok(ok__) => { - core::ptr::write(number, core::mem::transmute(ok__)); + number.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -19874,7 +19874,7 @@ impl IDebugSymbolGroup2_Vtbl { let this = (*this).get_impl(); match IDebugSymbolGroup2_Impl::GetSymbolSize(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(size, core::mem::transmute(ok__)); + size.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -19885,7 +19885,7 @@ impl IDebugSymbolGroup2_Vtbl { let this = (*this).get_impl(); match IDebugSymbolGroup2_Impl::GetSymbolOffset(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(offset, core::mem::transmute(ok__)); + offset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -19896,7 +19896,7 @@ impl IDebugSymbolGroup2_Vtbl { let this = (*this).get_impl(); match IDebugSymbolGroup2_Impl::GetSymbolRegister(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(register, core::mem::transmute(ok__)); + register.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -20007,7 +20007,7 @@ impl IDebugSymbols_Vtbl { let this = (*this).get_impl(); match IDebugSymbols_Impl::GetSymbolOptions(this) { Ok(ok__) => { - core::ptr::write(options, core::mem::transmute(ok__)); + options.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -20038,7 +20038,7 @@ impl IDebugSymbols_Vtbl { let this = (*this).get_impl(); match IDebugSymbols_Impl::GetOffsetByName(this, core::mem::transmute(&symbol)) { Ok(ok__) => { - core::ptr::write(offset, core::mem::transmute(ok__)); + offset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -20059,7 +20059,7 @@ impl IDebugSymbols_Vtbl { let this = (*this).get_impl(); match IDebugSymbols_Impl::GetOffsetByLine(this, core::mem::transmute_copy(&line), core::mem::transmute(&file)) { Ok(ok__) => { - core::ptr::write(offset, core::mem::transmute(ok__)); + offset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -20075,7 +20075,7 @@ impl IDebugSymbols_Vtbl { let this = (*this).get_impl(); match IDebugSymbols_Impl::GetModuleByIndex(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(base, core::mem::transmute(ok__)); + base.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -20120,7 +20120,7 @@ impl IDebugSymbols_Vtbl { let this = (*this).get_impl(); match IDebugSymbols_Impl::GetSymbolModule(this, core::mem::transmute(&symbol)) { Ok(ok__) => { - core::ptr::write(base, core::mem::transmute(ok__)); + base.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -20136,7 +20136,7 @@ impl IDebugSymbols_Vtbl { let this = (*this).get_impl(); match IDebugSymbols_Impl::GetTypeId(this, core::mem::transmute_copy(&module), core::mem::transmute(&name)) { Ok(ok__) => { - core::ptr::write(typeid, core::mem::transmute(ok__)); + typeid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -20147,7 +20147,7 @@ impl IDebugSymbols_Vtbl { let this = (*this).get_impl(); match IDebugSymbols_Impl::GetTypeSize(this, core::mem::transmute_copy(&module), core::mem::transmute_copy(&typeid)) { Ok(ok__) => { - core::ptr::write(size, core::mem::transmute(ok__)); + size.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -20158,7 +20158,7 @@ impl IDebugSymbols_Vtbl { let this = (*this).get_impl(); match IDebugSymbols_Impl::GetFieldOffset(this, core::mem::transmute_copy(&module), core::mem::transmute_copy(&typeid), core::mem::transmute(&field)) { Ok(ok__) => { - core::ptr::write(offset, core::mem::transmute(ok__)); + offset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -20224,7 +20224,7 @@ impl IDebugSymbols_Vtbl { let this = (*this).get_impl(); match IDebugSymbols_Impl::GetScopeSymbolGroup(this, core::mem::transmute_copy(&flags), windows_core::from_raw_borrowed(&update)) { Ok(ok__) => { - core::ptr::write(symbols, core::mem::transmute(ok__)); + symbols.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -20235,7 +20235,7 @@ impl IDebugSymbols_Vtbl { let this = (*this).get_impl(); match IDebugSymbols_Impl::CreateSymbolGroup(this) { Ok(ok__) => { - core::ptr::write(group, core::mem::transmute(ok__)); + group.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -20246,7 +20246,7 @@ impl IDebugSymbols_Vtbl { let this = (*this).get_impl(); match IDebugSymbols_Impl::StartSymbolMatch(this, core::mem::transmute(&pattern)) { Ok(ok__) => { - core::ptr::write(handle, core::mem::transmute(ok__)); + handle.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -20451,7 +20451,7 @@ impl IDebugSymbols2_Vtbl { let this = (*this).get_impl(); match IDebugSymbols2_Impl::GetSymbolOptions(this) { Ok(ok__) => { - core::ptr::write(options, core::mem::transmute(ok__)); + options.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -20482,7 +20482,7 @@ impl IDebugSymbols2_Vtbl { let this = (*this).get_impl(); match IDebugSymbols2_Impl::GetOffsetByName(this, core::mem::transmute(&symbol)) { Ok(ok__) => { - core::ptr::write(offset, core::mem::transmute(ok__)); + offset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -20503,7 +20503,7 @@ impl IDebugSymbols2_Vtbl { let this = (*this).get_impl(); match IDebugSymbols2_Impl::GetOffsetByLine(this, core::mem::transmute_copy(&line), core::mem::transmute(&file)) { Ok(ok__) => { - core::ptr::write(offset, core::mem::transmute(ok__)); + offset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -20519,7 +20519,7 @@ impl IDebugSymbols2_Vtbl { let this = (*this).get_impl(); match IDebugSymbols2_Impl::GetModuleByIndex(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(base, core::mem::transmute(ok__)); + base.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -20564,7 +20564,7 @@ impl IDebugSymbols2_Vtbl { let this = (*this).get_impl(); match IDebugSymbols2_Impl::GetSymbolModule(this, core::mem::transmute(&symbol)) { Ok(ok__) => { - core::ptr::write(base, core::mem::transmute(ok__)); + base.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -20580,7 +20580,7 @@ impl IDebugSymbols2_Vtbl { let this = (*this).get_impl(); match IDebugSymbols2_Impl::GetTypeId(this, core::mem::transmute_copy(&module), core::mem::transmute(&name)) { Ok(ok__) => { - core::ptr::write(typeid, core::mem::transmute(ok__)); + typeid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -20591,7 +20591,7 @@ impl IDebugSymbols2_Vtbl { let this = (*this).get_impl(); match IDebugSymbols2_Impl::GetTypeSize(this, core::mem::transmute_copy(&module), core::mem::transmute_copy(&typeid)) { Ok(ok__) => { - core::ptr::write(size, core::mem::transmute(ok__)); + size.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -20602,7 +20602,7 @@ impl IDebugSymbols2_Vtbl { let this = (*this).get_impl(); match IDebugSymbols2_Impl::GetFieldOffset(this, core::mem::transmute_copy(&module), core::mem::transmute_copy(&typeid), core::mem::transmute(&field)) { Ok(ok__) => { - core::ptr::write(offset, core::mem::transmute(ok__)); + offset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -20668,7 +20668,7 @@ impl IDebugSymbols2_Vtbl { let this = (*this).get_impl(); match IDebugSymbols2_Impl::GetScopeSymbolGroup(this, core::mem::transmute_copy(&flags), windows_core::from_raw_borrowed(&update)) { Ok(ok__) => { - core::ptr::write(symbols, core::mem::transmute(ok__)); + symbols.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -20679,7 +20679,7 @@ impl IDebugSymbols2_Vtbl { let this = (*this).get_impl(); match IDebugSymbols2_Impl::CreateSymbolGroup(this) { Ok(ok__) => { - core::ptr::write(group, core::mem::transmute(ok__)); + group.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -20690,7 +20690,7 @@ impl IDebugSymbols2_Vtbl { let this = (*this).get_impl(); match IDebugSymbols2_Impl::StartSymbolMatch(this, core::mem::transmute(&pattern)) { Ok(ok__) => { - core::ptr::write(handle, core::mem::transmute(ok__)); + handle.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -20796,7 +20796,7 @@ impl IDebugSymbols2_Vtbl { let this = (*this).get_impl(); match IDebugSymbols2_Impl::GetTypeOptions(this) { Ok(ok__) => { - core::ptr::write(options, core::mem::transmute(ok__)); + options.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -21015,7 +21015,7 @@ impl IDebugSymbols3_Vtbl { let this = (*this).get_impl(); match IDebugSymbols3_Impl::GetSymbolOptions(this) { Ok(ok__) => { - core::ptr::write(options, core::mem::transmute(ok__)); + options.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -21046,7 +21046,7 @@ impl IDebugSymbols3_Vtbl { let this = (*this).get_impl(); match IDebugSymbols3_Impl::GetOffsetByName(this, core::mem::transmute(&symbol)) { Ok(ok__) => { - core::ptr::write(offset, core::mem::transmute(ok__)); + offset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -21067,7 +21067,7 @@ impl IDebugSymbols3_Vtbl { let this = (*this).get_impl(); match IDebugSymbols3_Impl::GetOffsetByLine(this, core::mem::transmute_copy(&line), core::mem::transmute(&file)) { Ok(ok__) => { - core::ptr::write(offset, core::mem::transmute(ok__)); + offset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -21083,7 +21083,7 @@ impl IDebugSymbols3_Vtbl { let this = (*this).get_impl(); match IDebugSymbols3_Impl::GetModuleByIndex(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(base, core::mem::transmute(ok__)); + base.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -21128,7 +21128,7 @@ impl IDebugSymbols3_Vtbl { let this = (*this).get_impl(); match IDebugSymbols3_Impl::GetSymbolModule(this, core::mem::transmute(&symbol)) { Ok(ok__) => { - core::ptr::write(base, core::mem::transmute(ok__)); + base.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -21144,7 +21144,7 @@ impl IDebugSymbols3_Vtbl { let this = (*this).get_impl(); match IDebugSymbols3_Impl::GetTypeId(this, core::mem::transmute_copy(&module), core::mem::transmute(&name)) { Ok(ok__) => { - core::ptr::write(typeid, core::mem::transmute(ok__)); + typeid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -21155,7 +21155,7 @@ impl IDebugSymbols3_Vtbl { let this = (*this).get_impl(); match IDebugSymbols3_Impl::GetTypeSize(this, core::mem::transmute_copy(&module), core::mem::transmute_copy(&typeid)) { Ok(ok__) => { - core::ptr::write(size, core::mem::transmute(ok__)); + size.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -21166,7 +21166,7 @@ impl IDebugSymbols3_Vtbl { let this = (*this).get_impl(); match IDebugSymbols3_Impl::GetFieldOffset(this, core::mem::transmute_copy(&module), core::mem::transmute_copy(&typeid), core::mem::transmute(&field)) { Ok(ok__) => { - core::ptr::write(offset, core::mem::transmute(ok__)); + offset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -21232,7 +21232,7 @@ impl IDebugSymbols3_Vtbl { let this = (*this).get_impl(); match IDebugSymbols3_Impl::GetScopeSymbolGroup(this, core::mem::transmute_copy(&flags), windows_core::from_raw_borrowed(&update)) { Ok(ok__) => { - core::ptr::write(symbols, core::mem::transmute(ok__)); + symbols.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -21243,7 +21243,7 @@ impl IDebugSymbols3_Vtbl { let this = (*this).get_impl(); match IDebugSymbols3_Impl::CreateSymbolGroup(this) { Ok(ok__) => { - core::ptr::write(group, core::mem::transmute(ok__)); + group.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -21254,7 +21254,7 @@ impl IDebugSymbols3_Vtbl { let this = (*this).get_impl(); match IDebugSymbols3_Impl::StartSymbolMatch(this, core::mem::transmute(&pattern)) { Ok(ok__) => { - core::ptr::write(handle, core::mem::transmute(ok__)); + handle.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -21360,7 +21360,7 @@ impl IDebugSymbols3_Vtbl { let this = (*this).get_impl(); match IDebugSymbols3_Impl::GetTypeOptions(this) { Ok(ok__) => { - core::ptr::write(options, core::mem::transmute(ok__)); + options.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -21391,7 +21391,7 @@ impl IDebugSymbols3_Vtbl { let this = (*this).get_impl(); match IDebugSymbols3_Impl::GetOffsetByNameWide(this, core::mem::transmute(&symbol)) { Ok(ok__) => { - core::ptr::write(offset, core::mem::transmute(ok__)); + offset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -21412,7 +21412,7 @@ impl IDebugSymbols3_Vtbl { let this = (*this).get_impl(); match IDebugSymbols3_Impl::GetOffsetByLineWide(this, core::mem::transmute_copy(&line), core::mem::transmute(&file)) { Ok(ok__) => { - core::ptr::write(offset, core::mem::transmute(ok__)); + offset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -21428,7 +21428,7 @@ impl IDebugSymbols3_Vtbl { let this = (*this).get_impl(); match IDebugSymbols3_Impl::GetSymbolModuleWide(this, core::mem::transmute(&symbol)) { Ok(ok__) => { - core::ptr::write(base, core::mem::transmute(ok__)); + base.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -21444,7 +21444,7 @@ impl IDebugSymbols3_Vtbl { let this = (*this).get_impl(); match IDebugSymbols3_Impl::GetTypeIdWide(this, core::mem::transmute_copy(&module), core::mem::transmute(&name)) { Ok(ok__) => { - core::ptr::write(typeid, core::mem::transmute(ok__)); + typeid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -21455,7 +21455,7 @@ impl IDebugSymbols3_Vtbl { let this = (*this).get_impl(); match IDebugSymbols3_Impl::GetFieldOffsetWide(this, core::mem::transmute_copy(&module), core::mem::transmute_copy(&typeid), core::mem::transmute(&field)) { Ok(ok__) => { - core::ptr::write(offset, core::mem::transmute(ok__)); + offset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -21471,7 +21471,7 @@ impl IDebugSymbols3_Vtbl { let this = (*this).get_impl(); match IDebugSymbols3_Impl::GetScopeSymbolGroup2(this, core::mem::transmute_copy(&flags), windows_core::from_raw_borrowed(&update)) { Ok(ok__) => { - core::ptr::write(symbols, core::mem::transmute(ok__)); + symbols.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -21482,7 +21482,7 @@ impl IDebugSymbols3_Vtbl { let this = (*this).get_impl(); match IDebugSymbols3_Impl::CreateSymbolGroup2(this) { Ok(ok__) => { - core::ptr::write(group, core::mem::transmute(ok__)); + group.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -21493,7 +21493,7 @@ impl IDebugSymbols3_Vtbl { let this = (*this).get_impl(); match IDebugSymbols3_Impl::StartSymbolMatchWide(this, core::mem::transmute(&pattern)) { Ok(ok__) => { - core::ptr::write(handle, core::mem::transmute(ok__)); + handle.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -21629,7 +21629,7 @@ impl IDebugSymbols3_Vtbl { let this = (*this).get_impl(); match IDebugSymbols3_Impl::GetCurrentScopeFrameIndex(this) { Ok(ok__) => { - core::ptr::write(index, core::mem::transmute(ok__)); + index.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -21705,7 +21705,7 @@ impl IDebugSymbols3_Vtbl { let this = (*this).get_impl(); match IDebugSymbols3_Impl::GetSymbolEntryByToken(this, core::mem::transmute_copy(&modulebase), core::mem::transmute_copy(&token)) { Ok(ok__) => { - core::ptr::write(id, core::mem::transmute(ok__)); + id.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -21736,7 +21736,7 @@ impl IDebugSymbols3_Vtbl { let this = (*this).get_impl(); match IDebugSymbols3_Impl::GetSymbolEntryBySymbolEntry(this, core::mem::transmute_copy(&fromid), core::mem::transmute_copy(&flags)) { Ok(ok__) => { - core::ptr::write(toid, core::mem::transmute(ok__)); + toid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -22048,7 +22048,7 @@ impl IDebugSymbols4_Vtbl { let this = (*this).get_impl(); match IDebugSymbols4_Impl::GetSymbolOptions(this) { Ok(ok__) => { - core::ptr::write(options, core::mem::transmute(ok__)); + options.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -22079,7 +22079,7 @@ impl IDebugSymbols4_Vtbl { let this = (*this).get_impl(); match IDebugSymbols4_Impl::GetOffsetByName(this, core::mem::transmute(&symbol)) { Ok(ok__) => { - core::ptr::write(offset, core::mem::transmute(ok__)); + offset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -22100,7 +22100,7 @@ impl IDebugSymbols4_Vtbl { let this = (*this).get_impl(); match IDebugSymbols4_Impl::GetOffsetByLine(this, core::mem::transmute_copy(&line), core::mem::transmute(&file)) { Ok(ok__) => { - core::ptr::write(offset, core::mem::transmute(ok__)); + offset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -22116,7 +22116,7 @@ impl IDebugSymbols4_Vtbl { let this = (*this).get_impl(); match IDebugSymbols4_Impl::GetModuleByIndex(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(base, core::mem::transmute(ok__)); + base.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -22161,7 +22161,7 @@ impl IDebugSymbols4_Vtbl { let this = (*this).get_impl(); match IDebugSymbols4_Impl::GetSymbolModule(this, core::mem::transmute(&symbol)) { Ok(ok__) => { - core::ptr::write(base, core::mem::transmute(ok__)); + base.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -22177,7 +22177,7 @@ impl IDebugSymbols4_Vtbl { let this = (*this).get_impl(); match IDebugSymbols4_Impl::GetTypeId(this, core::mem::transmute_copy(&module), core::mem::transmute(&name)) { Ok(ok__) => { - core::ptr::write(typeid, core::mem::transmute(ok__)); + typeid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -22188,7 +22188,7 @@ impl IDebugSymbols4_Vtbl { let this = (*this).get_impl(); match IDebugSymbols4_Impl::GetTypeSize(this, core::mem::transmute_copy(&module), core::mem::transmute_copy(&typeid)) { Ok(ok__) => { - core::ptr::write(size, core::mem::transmute(ok__)); + size.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -22199,7 +22199,7 @@ impl IDebugSymbols4_Vtbl { let this = (*this).get_impl(); match IDebugSymbols4_Impl::GetFieldOffset(this, core::mem::transmute_copy(&module), core::mem::transmute_copy(&typeid), core::mem::transmute(&field)) { Ok(ok__) => { - core::ptr::write(offset, core::mem::transmute(ok__)); + offset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -22265,7 +22265,7 @@ impl IDebugSymbols4_Vtbl { let this = (*this).get_impl(); match IDebugSymbols4_Impl::GetScopeSymbolGroup(this, core::mem::transmute_copy(&flags), windows_core::from_raw_borrowed(&update)) { Ok(ok__) => { - core::ptr::write(symbols, core::mem::transmute(ok__)); + symbols.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -22276,7 +22276,7 @@ impl IDebugSymbols4_Vtbl { let this = (*this).get_impl(); match IDebugSymbols4_Impl::CreateSymbolGroup(this) { Ok(ok__) => { - core::ptr::write(group, core::mem::transmute(ok__)); + group.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -22287,7 +22287,7 @@ impl IDebugSymbols4_Vtbl { let this = (*this).get_impl(); match IDebugSymbols4_Impl::StartSymbolMatch(this, core::mem::transmute(&pattern)) { Ok(ok__) => { - core::ptr::write(handle, core::mem::transmute(ok__)); + handle.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -22393,7 +22393,7 @@ impl IDebugSymbols4_Vtbl { let this = (*this).get_impl(); match IDebugSymbols4_Impl::GetTypeOptions(this) { Ok(ok__) => { - core::ptr::write(options, core::mem::transmute(ok__)); + options.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -22424,7 +22424,7 @@ impl IDebugSymbols4_Vtbl { let this = (*this).get_impl(); match IDebugSymbols4_Impl::GetOffsetByNameWide(this, core::mem::transmute(&symbol)) { Ok(ok__) => { - core::ptr::write(offset, core::mem::transmute(ok__)); + offset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -22445,7 +22445,7 @@ impl IDebugSymbols4_Vtbl { let this = (*this).get_impl(); match IDebugSymbols4_Impl::GetOffsetByLineWide(this, core::mem::transmute_copy(&line), core::mem::transmute(&file)) { Ok(ok__) => { - core::ptr::write(offset, core::mem::transmute(ok__)); + offset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -22461,7 +22461,7 @@ impl IDebugSymbols4_Vtbl { let this = (*this).get_impl(); match IDebugSymbols4_Impl::GetSymbolModuleWide(this, core::mem::transmute(&symbol)) { Ok(ok__) => { - core::ptr::write(base, core::mem::transmute(ok__)); + base.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -22477,7 +22477,7 @@ impl IDebugSymbols4_Vtbl { let this = (*this).get_impl(); match IDebugSymbols4_Impl::GetTypeIdWide(this, core::mem::transmute_copy(&module), core::mem::transmute(&name)) { Ok(ok__) => { - core::ptr::write(typeid, core::mem::transmute(ok__)); + typeid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -22488,7 +22488,7 @@ impl IDebugSymbols4_Vtbl { let this = (*this).get_impl(); match IDebugSymbols4_Impl::GetFieldOffsetWide(this, core::mem::transmute_copy(&module), core::mem::transmute_copy(&typeid), core::mem::transmute(&field)) { Ok(ok__) => { - core::ptr::write(offset, core::mem::transmute(ok__)); + offset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -22504,7 +22504,7 @@ impl IDebugSymbols4_Vtbl { let this = (*this).get_impl(); match IDebugSymbols4_Impl::GetScopeSymbolGroup2(this, core::mem::transmute_copy(&flags), windows_core::from_raw_borrowed(&update)) { Ok(ok__) => { - core::ptr::write(symbols, core::mem::transmute(ok__)); + symbols.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -22515,7 +22515,7 @@ impl IDebugSymbols4_Vtbl { let this = (*this).get_impl(); match IDebugSymbols4_Impl::CreateSymbolGroup2(this) { Ok(ok__) => { - core::ptr::write(group, core::mem::transmute(ok__)); + group.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -22526,7 +22526,7 @@ impl IDebugSymbols4_Vtbl { let this = (*this).get_impl(); match IDebugSymbols4_Impl::StartSymbolMatchWide(this, core::mem::transmute(&pattern)) { Ok(ok__) => { - core::ptr::write(handle, core::mem::transmute(ok__)); + handle.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -22662,7 +22662,7 @@ impl IDebugSymbols4_Vtbl { let this = (*this).get_impl(); match IDebugSymbols4_Impl::GetCurrentScopeFrameIndex(this) { Ok(ok__) => { - core::ptr::write(index, core::mem::transmute(ok__)); + index.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -22738,7 +22738,7 @@ impl IDebugSymbols4_Vtbl { let this = (*this).get_impl(); match IDebugSymbols4_Impl::GetSymbolEntryByToken(this, core::mem::transmute_copy(&modulebase), core::mem::transmute_copy(&token)) { Ok(ok__) => { - core::ptr::write(id, core::mem::transmute(ok__)); + id.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -22769,7 +22769,7 @@ impl IDebugSymbols4_Vtbl { let this = (*this).get_impl(); match IDebugSymbols4_Impl::GetSymbolEntryBySymbolEntry(this, core::mem::transmute_copy(&fromid), core::mem::transmute_copy(&flags)) { Ok(ok__) => { - core::ptr::write(toid, core::mem::transmute(ok__)); + toid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -23125,7 +23125,7 @@ impl IDebugSymbols5_Vtbl { let this = (*this).get_impl(); match IDebugSymbols5_Impl::GetSymbolOptions(this) { Ok(ok__) => { - core::ptr::write(options, core::mem::transmute(ok__)); + options.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -23156,7 +23156,7 @@ impl IDebugSymbols5_Vtbl { let this = (*this).get_impl(); match IDebugSymbols5_Impl::GetOffsetByName(this, core::mem::transmute(&symbol)) { Ok(ok__) => { - core::ptr::write(offset, core::mem::transmute(ok__)); + offset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -23177,7 +23177,7 @@ impl IDebugSymbols5_Vtbl { let this = (*this).get_impl(); match IDebugSymbols5_Impl::GetOffsetByLine(this, core::mem::transmute_copy(&line), core::mem::transmute(&file)) { Ok(ok__) => { - core::ptr::write(offset, core::mem::transmute(ok__)); + offset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -23193,7 +23193,7 @@ impl IDebugSymbols5_Vtbl { let this = (*this).get_impl(); match IDebugSymbols5_Impl::GetModuleByIndex(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(base, core::mem::transmute(ok__)); + base.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -23238,7 +23238,7 @@ impl IDebugSymbols5_Vtbl { let this = (*this).get_impl(); match IDebugSymbols5_Impl::GetSymbolModule(this, core::mem::transmute(&symbol)) { Ok(ok__) => { - core::ptr::write(base, core::mem::transmute(ok__)); + base.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -23254,7 +23254,7 @@ impl IDebugSymbols5_Vtbl { let this = (*this).get_impl(); match IDebugSymbols5_Impl::GetTypeId(this, core::mem::transmute_copy(&module), core::mem::transmute(&name)) { Ok(ok__) => { - core::ptr::write(typeid, core::mem::transmute(ok__)); + typeid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -23265,7 +23265,7 @@ impl IDebugSymbols5_Vtbl { let this = (*this).get_impl(); match IDebugSymbols5_Impl::GetTypeSize(this, core::mem::transmute_copy(&module), core::mem::transmute_copy(&typeid)) { Ok(ok__) => { - core::ptr::write(size, core::mem::transmute(ok__)); + size.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -23276,7 +23276,7 @@ impl IDebugSymbols5_Vtbl { let this = (*this).get_impl(); match IDebugSymbols5_Impl::GetFieldOffset(this, core::mem::transmute_copy(&module), core::mem::transmute_copy(&typeid), core::mem::transmute(&field)) { Ok(ok__) => { - core::ptr::write(offset, core::mem::transmute(ok__)); + offset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -23342,7 +23342,7 @@ impl IDebugSymbols5_Vtbl { let this = (*this).get_impl(); match IDebugSymbols5_Impl::GetScopeSymbolGroup(this, core::mem::transmute_copy(&flags), windows_core::from_raw_borrowed(&update)) { Ok(ok__) => { - core::ptr::write(symbols, core::mem::transmute(ok__)); + symbols.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -23353,7 +23353,7 @@ impl IDebugSymbols5_Vtbl { let this = (*this).get_impl(); match IDebugSymbols5_Impl::CreateSymbolGroup(this) { Ok(ok__) => { - core::ptr::write(group, core::mem::transmute(ok__)); + group.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -23364,7 +23364,7 @@ impl IDebugSymbols5_Vtbl { let this = (*this).get_impl(); match IDebugSymbols5_Impl::StartSymbolMatch(this, core::mem::transmute(&pattern)) { Ok(ok__) => { - core::ptr::write(handle, core::mem::transmute(ok__)); + handle.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -23470,7 +23470,7 @@ impl IDebugSymbols5_Vtbl { let this = (*this).get_impl(); match IDebugSymbols5_Impl::GetTypeOptions(this) { Ok(ok__) => { - core::ptr::write(options, core::mem::transmute(ok__)); + options.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -23501,7 +23501,7 @@ impl IDebugSymbols5_Vtbl { let this = (*this).get_impl(); match IDebugSymbols5_Impl::GetOffsetByNameWide(this, core::mem::transmute(&symbol)) { Ok(ok__) => { - core::ptr::write(offset, core::mem::transmute(ok__)); + offset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -23522,7 +23522,7 @@ impl IDebugSymbols5_Vtbl { let this = (*this).get_impl(); match IDebugSymbols5_Impl::GetOffsetByLineWide(this, core::mem::transmute_copy(&line), core::mem::transmute(&file)) { Ok(ok__) => { - core::ptr::write(offset, core::mem::transmute(ok__)); + offset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -23538,7 +23538,7 @@ impl IDebugSymbols5_Vtbl { let this = (*this).get_impl(); match IDebugSymbols5_Impl::GetSymbolModuleWide(this, core::mem::transmute(&symbol)) { Ok(ok__) => { - core::ptr::write(base, core::mem::transmute(ok__)); + base.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -23554,7 +23554,7 @@ impl IDebugSymbols5_Vtbl { let this = (*this).get_impl(); match IDebugSymbols5_Impl::GetTypeIdWide(this, core::mem::transmute_copy(&module), core::mem::transmute(&name)) { Ok(ok__) => { - core::ptr::write(typeid, core::mem::transmute(ok__)); + typeid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -23565,7 +23565,7 @@ impl IDebugSymbols5_Vtbl { let this = (*this).get_impl(); match IDebugSymbols5_Impl::GetFieldOffsetWide(this, core::mem::transmute_copy(&module), core::mem::transmute_copy(&typeid), core::mem::transmute(&field)) { Ok(ok__) => { - core::ptr::write(offset, core::mem::transmute(ok__)); + offset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -23581,7 +23581,7 @@ impl IDebugSymbols5_Vtbl { let this = (*this).get_impl(); match IDebugSymbols5_Impl::GetScopeSymbolGroup2(this, core::mem::transmute_copy(&flags), windows_core::from_raw_borrowed(&update)) { Ok(ok__) => { - core::ptr::write(symbols, core::mem::transmute(ok__)); + symbols.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -23592,7 +23592,7 @@ impl IDebugSymbols5_Vtbl { let this = (*this).get_impl(); match IDebugSymbols5_Impl::CreateSymbolGroup2(this) { Ok(ok__) => { - core::ptr::write(group, core::mem::transmute(ok__)); + group.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -23603,7 +23603,7 @@ impl IDebugSymbols5_Vtbl { let this = (*this).get_impl(); match IDebugSymbols5_Impl::StartSymbolMatchWide(this, core::mem::transmute(&pattern)) { Ok(ok__) => { - core::ptr::write(handle, core::mem::transmute(ok__)); + handle.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -23739,7 +23739,7 @@ impl IDebugSymbols5_Vtbl { let this = (*this).get_impl(); match IDebugSymbols5_Impl::GetCurrentScopeFrameIndex(this) { Ok(ok__) => { - core::ptr::write(index, core::mem::transmute(ok__)); + index.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -23815,7 +23815,7 @@ impl IDebugSymbols5_Vtbl { let this = (*this).get_impl(); match IDebugSymbols5_Impl::GetSymbolEntryByToken(this, core::mem::transmute_copy(&modulebase), core::mem::transmute_copy(&token)) { Ok(ok__) => { - core::ptr::write(id, core::mem::transmute(ok__)); + id.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -23846,7 +23846,7 @@ impl IDebugSymbols5_Vtbl { let this = (*this).get_impl(); match IDebugSymbols5_Impl::GetSymbolEntryBySymbolEntry(this, core::mem::transmute_copy(&fromid), core::mem::transmute_copy(&flags)) { Ok(ok__) => { - core::ptr::write(toid, core::mem::transmute(ok__)); + toid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -23927,7 +23927,7 @@ impl IDebugSymbols5_Vtbl { let this = (*this).get_impl(); match IDebugSymbols5_Impl::GetCurrentScopeFrameIndexEx(this, core::mem::transmute_copy(&flags)) { Ok(ok__) => { - core::ptr::write(index, core::mem::transmute(ok__)); + index.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -24117,7 +24117,7 @@ impl IDebugSystemObjects_Vtbl { let this = (*this).get_impl(); match IDebugSystemObjects_Impl::GetEventThread(this) { Ok(ok__) => { - core::ptr::write(id, core::mem::transmute(ok__)); + id.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -24128,7 +24128,7 @@ impl IDebugSystemObjects_Vtbl { let this = (*this).get_impl(); match IDebugSystemObjects_Impl::GetEventProcess(this) { Ok(ok__) => { - core::ptr::write(id, core::mem::transmute(ok__)); + id.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -24139,7 +24139,7 @@ impl IDebugSystemObjects_Vtbl { let this = (*this).get_impl(); match IDebugSystemObjects_Impl::GetCurrentThreadId(this) { Ok(ok__) => { - core::ptr::write(id, core::mem::transmute(ok__)); + id.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -24155,7 +24155,7 @@ impl IDebugSystemObjects_Vtbl { let this = (*this).get_impl(); match IDebugSystemObjects_Impl::GetCurrentProcessId(this) { Ok(ok__) => { - core::ptr::write(id, core::mem::transmute(ok__)); + id.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -24171,7 +24171,7 @@ impl IDebugSystemObjects_Vtbl { let this = (*this).get_impl(); match IDebugSystemObjects_Impl::GetNumberThreads(this) { Ok(ok__) => { - core::ptr::write(number, core::mem::transmute(ok__)); + number.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -24192,7 +24192,7 @@ impl IDebugSystemObjects_Vtbl { let this = (*this).get_impl(); match IDebugSystemObjects_Impl::GetThreadIdByProcessor(this, core::mem::transmute_copy(&processor)) { Ok(ok__) => { - core::ptr::write(id, core::mem::transmute(ok__)); + id.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -24203,7 +24203,7 @@ impl IDebugSystemObjects_Vtbl { let this = (*this).get_impl(); match IDebugSystemObjects_Impl::GetCurrentThreadDataOffset(this) { Ok(ok__) => { - core::ptr::write(offset, core::mem::transmute(ok__)); + offset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -24214,7 +24214,7 @@ impl IDebugSystemObjects_Vtbl { let this = (*this).get_impl(); match IDebugSystemObjects_Impl::GetThreadIdByDataOffset(this, core::mem::transmute_copy(&offset)) { Ok(ok__) => { - core::ptr::write(id, core::mem::transmute(ok__)); + id.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -24225,7 +24225,7 @@ impl IDebugSystemObjects_Vtbl { let this = (*this).get_impl(); match IDebugSystemObjects_Impl::GetCurrentThreadTeb(this) { Ok(ok__) => { - core::ptr::write(offset, core::mem::transmute(ok__)); + offset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -24236,7 +24236,7 @@ impl IDebugSystemObjects_Vtbl { let this = (*this).get_impl(); match IDebugSystemObjects_Impl::GetThreadIdByTeb(this, core::mem::transmute_copy(&offset)) { Ok(ok__) => { - core::ptr::write(id, core::mem::transmute(ok__)); + id.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -24247,7 +24247,7 @@ impl IDebugSystemObjects_Vtbl { let this = (*this).get_impl(); match IDebugSystemObjects_Impl::GetCurrentThreadSystemId(this) { Ok(ok__) => { - core::ptr::write(sysid, core::mem::transmute(ok__)); + sysid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -24258,7 +24258,7 @@ impl IDebugSystemObjects_Vtbl { let this = (*this).get_impl(); match IDebugSystemObjects_Impl::GetThreadIdBySystemId(this, core::mem::transmute_copy(&sysid)) { Ok(ok__) => { - core::ptr::write(id, core::mem::transmute(ok__)); + id.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -24269,7 +24269,7 @@ impl IDebugSystemObjects_Vtbl { let this = (*this).get_impl(); match IDebugSystemObjects_Impl::GetCurrentThreadHandle(this) { Ok(ok__) => { - core::ptr::write(handle, core::mem::transmute(ok__)); + handle.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -24280,7 +24280,7 @@ impl IDebugSystemObjects_Vtbl { let this = (*this).get_impl(); match IDebugSystemObjects_Impl::GetThreadIdByHandle(this, core::mem::transmute_copy(&handle)) { Ok(ok__) => { - core::ptr::write(id, core::mem::transmute(ok__)); + id.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -24291,7 +24291,7 @@ impl IDebugSystemObjects_Vtbl { let this = (*this).get_impl(); match IDebugSystemObjects_Impl::GetNumberProcesses(this) { Ok(ok__) => { - core::ptr::write(number, core::mem::transmute(ok__)); + number.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -24307,7 +24307,7 @@ impl IDebugSystemObjects_Vtbl { let this = (*this).get_impl(); match IDebugSystemObjects_Impl::GetCurrentProcessDataOffset(this) { Ok(ok__) => { - core::ptr::write(offset, core::mem::transmute(ok__)); + offset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -24318,7 +24318,7 @@ impl IDebugSystemObjects_Vtbl { let this = (*this).get_impl(); match IDebugSystemObjects_Impl::GetProcessIdByDataOffset(this, core::mem::transmute_copy(&offset)) { Ok(ok__) => { - core::ptr::write(id, core::mem::transmute(ok__)); + id.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -24329,7 +24329,7 @@ impl IDebugSystemObjects_Vtbl { let this = (*this).get_impl(); match IDebugSystemObjects_Impl::GetCurrentProcessPeb(this) { Ok(ok__) => { - core::ptr::write(offset, core::mem::transmute(ok__)); + offset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -24340,7 +24340,7 @@ impl IDebugSystemObjects_Vtbl { let this = (*this).get_impl(); match IDebugSystemObjects_Impl::GetProcessIdByPeb(this, core::mem::transmute_copy(&offset)) { Ok(ok__) => { - core::ptr::write(id, core::mem::transmute(ok__)); + id.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -24351,7 +24351,7 @@ impl IDebugSystemObjects_Vtbl { let this = (*this).get_impl(); match IDebugSystemObjects_Impl::GetCurrentProcessSystemId(this) { Ok(ok__) => { - core::ptr::write(sysid, core::mem::transmute(ok__)); + sysid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -24362,7 +24362,7 @@ impl IDebugSystemObjects_Vtbl { let this = (*this).get_impl(); match IDebugSystemObjects_Impl::GetProcessIdBySystemId(this, core::mem::transmute_copy(&sysid)) { Ok(ok__) => { - core::ptr::write(id, core::mem::transmute(ok__)); + id.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -24373,7 +24373,7 @@ impl IDebugSystemObjects_Vtbl { let this = (*this).get_impl(); match IDebugSystemObjects_Impl::GetCurrentProcessHandle(this) { Ok(ok__) => { - core::ptr::write(handle, core::mem::transmute(ok__)); + handle.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -24384,7 +24384,7 @@ impl IDebugSystemObjects_Vtbl { let this = (*this).get_impl(); match IDebugSystemObjects_Impl::GetProcessIdByHandle(this, core::mem::transmute_copy(&handle)) { Ok(ok__) => { - core::ptr::write(id, core::mem::transmute(ok__)); + id.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -24476,7 +24476,7 @@ impl IDebugSystemObjects2_Vtbl { let this = (*this).get_impl(); match IDebugSystemObjects2_Impl::GetEventThread(this) { Ok(ok__) => { - core::ptr::write(id, core::mem::transmute(ok__)); + id.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -24487,7 +24487,7 @@ impl IDebugSystemObjects2_Vtbl { let this = (*this).get_impl(); match IDebugSystemObjects2_Impl::GetEventProcess(this) { Ok(ok__) => { - core::ptr::write(id, core::mem::transmute(ok__)); + id.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -24498,7 +24498,7 @@ impl IDebugSystemObjects2_Vtbl { let this = (*this).get_impl(); match IDebugSystemObjects2_Impl::GetCurrentThreadId(this) { Ok(ok__) => { - core::ptr::write(id, core::mem::transmute(ok__)); + id.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -24514,7 +24514,7 @@ impl IDebugSystemObjects2_Vtbl { let this = (*this).get_impl(); match IDebugSystemObjects2_Impl::GetCurrentProcessId(this) { Ok(ok__) => { - core::ptr::write(id, core::mem::transmute(ok__)); + id.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -24530,7 +24530,7 @@ impl IDebugSystemObjects2_Vtbl { let this = (*this).get_impl(); match IDebugSystemObjects2_Impl::GetNumberThreads(this) { Ok(ok__) => { - core::ptr::write(number, core::mem::transmute(ok__)); + number.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -24551,7 +24551,7 @@ impl IDebugSystemObjects2_Vtbl { let this = (*this).get_impl(); match IDebugSystemObjects2_Impl::GetThreadIdByProcessor(this, core::mem::transmute_copy(&processor)) { Ok(ok__) => { - core::ptr::write(id, core::mem::transmute(ok__)); + id.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -24562,7 +24562,7 @@ impl IDebugSystemObjects2_Vtbl { let this = (*this).get_impl(); match IDebugSystemObjects2_Impl::GetCurrentThreadDataOffset(this) { Ok(ok__) => { - core::ptr::write(offset, core::mem::transmute(ok__)); + offset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -24573,7 +24573,7 @@ impl IDebugSystemObjects2_Vtbl { let this = (*this).get_impl(); match IDebugSystemObjects2_Impl::GetThreadIdByDataOffset(this, core::mem::transmute_copy(&offset)) { Ok(ok__) => { - core::ptr::write(id, core::mem::transmute(ok__)); + id.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -24584,7 +24584,7 @@ impl IDebugSystemObjects2_Vtbl { let this = (*this).get_impl(); match IDebugSystemObjects2_Impl::GetCurrentThreadTeb(this) { Ok(ok__) => { - core::ptr::write(offset, core::mem::transmute(ok__)); + offset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -24595,7 +24595,7 @@ impl IDebugSystemObjects2_Vtbl { let this = (*this).get_impl(); match IDebugSystemObjects2_Impl::GetThreadIdByTeb(this, core::mem::transmute_copy(&offset)) { Ok(ok__) => { - core::ptr::write(id, core::mem::transmute(ok__)); + id.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -24606,7 +24606,7 @@ impl IDebugSystemObjects2_Vtbl { let this = (*this).get_impl(); match IDebugSystemObjects2_Impl::GetCurrentThreadSystemId(this) { Ok(ok__) => { - core::ptr::write(sysid, core::mem::transmute(ok__)); + sysid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -24617,7 +24617,7 @@ impl IDebugSystemObjects2_Vtbl { let this = (*this).get_impl(); match IDebugSystemObjects2_Impl::GetThreadIdBySystemId(this, core::mem::transmute_copy(&sysid)) { Ok(ok__) => { - core::ptr::write(id, core::mem::transmute(ok__)); + id.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -24628,7 +24628,7 @@ impl IDebugSystemObjects2_Vtbl { let this = (*this).get_impl(); match IDebugSystemObjects2_Impl::GetCurrentThreadHandle(this) { Ok(ok__) => { - core::ptr::write(handle, core::mem::transmute(ok__)); + handle.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -24639,7 +24639,7 @@ impl IDebugSystemObjects2_Vtbl { let this = (*this).get_impl(); match IDebugSystemObjects2_Impl::GetThreadIdByHandle(this, core::mem::transmute_copy(&handle)) { Ok(ok__) => { - core::ptr::write(id, core::mem::transmute(ok__)); + id.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -24650,7 +24650,7 @@ impl IDebugSystemObjects2_Vtbl { let this = (*this).get_impl(); match IDebugSystemObjects2_Impl::GetNumberProcesses(this) { Ok(ok__) => { - core::ptr::write(number, core::mem::transmute(ok__)); + number.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -24666,7 +24666,7 @@ impl IDebugSystemObjects2_Vtbl { let this = (*this).get_impl(); match IDebugSystemObjects2_Impl::GetCurrentProcessDataOffset(this) { Ok(ok__) => { - core::ptr::write(offset, core::mem::transmute(ok__)); + offset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -24677,7 +24677,7 @@ impl IDebugSystemObjects2_Vtbl { let this = (*this).get_impl(); match IDebugSystemObjects2_Impl::GetProcessIdByDataOffset(this, core::mem::transmute_copy(&offset)) { Ok(ok__) => { - core::ptr::write(id, core::mem::transmute(ok__)); + id.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -24688,7 +24688,7 @@ impl IDebugSystemObjects2_Vtbl { let this = (*this).get_impl(); match IDebugSystemObjects2_Impl::GetCurrentProcessPeb(this) { Ok(ok__) => { - core::ptr::write(offset, core::mem::transmute(ok__)); + offset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -24699,7 +24699,7 @@ impl IDebugSystemObjects2_Vtbl { let this = (*this).get_impl(); match IDebugSystemObjects2_Impl::GetProcessIdByPeb(this, core::mem::transmute_copy(&offset)) { Ok(ok__) => { - core::ptr::write(id, core::mem::transmute(ok__)); + id.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -24710,7 +24710,7 @@ impl IDebugSystemObjects2_Vtbl { let this = (*this).get_impl(); match IDebugSystemObjects2_Impl::GetCurrentProcessSystemId(this) { Ok(ok__) => { - core::ptr::write(sysid, core::mem::transmute(ok__)); + sysid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -24721,7 +24721,7 @@ impl IDebugSystemObjects2_Vtbl { let this = (*this).get_impl(); match IDebugSystemObjects2_Impl::GetProcessIdBySystemId(this, core::mem::transmute_copy(&sysid)) { Ok(ok__) => { - core::ptr::write(id, core::mem::transmute(ok__)); + id.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -24732,7 +24732,7 @@ impl IDebugSystemObjects2_Vtbl { let this = (*this).get_impl(); match IDebugSystemObjects2_Impl::GetCurrentProcessHandle(this) { Ok(ok__) => { - core::ptr::write(handle, core::mem::transmute(ok__)); + handle.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -24743,7 +24743,7 @@ impl IDebugSystemObjects2_Vtbl { let this = (*this).get_impl(); match IDebugSystemObjects2_Impl::GetProcessIdByHandle(this, core::mem::transmute_copy(&handle)) { Ok(ok__) => { - core::ptr::write(id, core::mem::transmute(ok__)); + id.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -24759,7 +24759,7 @@ impl IDebugSystemObjects2_Vtbl { let this = (*this).get_impl(); match IDebugSystemObjects2_Impl::GetCurrentProcessUpTime(this) { Ok(ok__) => { - core::ptr::write(uptime, core::mem::transmute(ok__)); + uptime.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -24770,7 +24770,7 @@ impl IDebugSystemObjects2_Vtbl { let this = (*this).get_impl(); match IDebugSystemObjects2_Impl::GetImplicitThreadDataOffset(this) { Ok(ok__) => { - core::ptr::write(offset, core::mem::transmute(ok__)); + offset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -24786,7 +24786,7 @@ impl IDebugSystemObjects2_Vtbl { let this = (*this).get_impl(); match IDebugSystemObjects2_Impl::GetImplicitProcessDataOffset(this) { Ok(ok__) => { - core::ptr::write(offset, core::mem::transmute(ok__)); + offset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -24892,7 +24892,7 @@ impl IDebugSystemObjects3_Vtbl { let this = (*this).get_impl(); match IDebugSystemObjects3_Impl::GetEventThread(this) { Ok(ok__) => { - core::ptr::write(id, core::mem::transmute(ok__)); + id.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -24903,7 +24903,7 @@ impl IDebugSystemObjects3_Vtbl { let this = (*this).get_impl(); match IDebugSystemObjects3_Impl::GetEventProcess(this) { Ok(ok__) => { - core::ptr::write(id, core::mem::transmute(ok__)); + id.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -24914,7 +24914,7 @@ impl IDebugSystemObjects3_Vtbl { let this = (*this).get_impl(); match IDebugSystemObjects3_Impl::GetCurrentThreadId(this) { Ok(ok__) => { - core::ptr::write(id, core::mem::transmute(ok__)); + id.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -24930,7 +24930,7 @@ impl IDebugSystemObjects3_Vtbl { let this = (*this).get_impl(); match IDebugSystemObjects3_Impl::GetCurrentProcessId(this) { Ok(ok__) => { - core::ptr::write(id, core::mem::transmute(ok__)); + id.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -24946,7 +24946,7 @@ impl IDebugSystemObjects3_Vtbl { let this = (*this).get_impl(); match IDebugSystemObjects3_Impl::GetNumberThreads(this) { Ok(ok__) => { - core::ptr::write(number, core::mem::transmute(ok__)); + number.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -24967,7 +24967,7 @@ impl IDebugSystemObjects3_Vtbl { let this = (*this).get_impl(); match IDebugSystemObjects3_Impl::GetThreadIdByProcessor(this, core::mem::transmute_copy(&processor)) { Ok(ok__) => { - core::ptr::write(id, core::mem::transmute(ok__)); + id.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -24978,7 +24978,7 @@ impl IDebugSystemObjects3_Vtbl { let this = (*this).get_impl(); match IDebugSystemObjects3_Impl::GetCurrentThreadDataOffset(this) { Ok(ok__) => { - core::ptr::write(offset, core::mem::transmute(ok__)); + offset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -24989,7 +24989,7 @@ impl IDebugSystemObjects3_Vtbl { let this = (*this).get_impl(); match IDebugSystemObjects3_Impl::GetThreadIdByDataOffset(this, core::mem::transmute_copy(&offset)) { Ok(ok__) => { - core::ptr::write(id, core::mem::transmute(ok__)); + id.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -25000,7 +25000,7 @@ impl IDebugSystemObjects3_Vtbl { let this = (*this).get_impl(); match IDebugSystemObjects3_Impl::GetCurrentThreadTeb(this) { Ok(ok__) => { - core::ptr::write(offset, core::mem::transmute(ok__)); + offset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -25011,7 +25011,7 @@ impl IDebugSystemObjects3_Vtbl { let this = (*this).get_impl(); match IDebugSystemObjects3_Impl::GetThreadIdByTeb(this, core::mem::transmute_copy(&offset)) { Ok(ok__) => { - core::ptr::write(id, core::mem::transmute(ok__)); + id.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -25022,7 +25022,7 @@ impl IDebugSystemObjects3_Vtbl { let this = (*this).get_impl(); match IDebugSystemObjects3_Impl::GetCurrentThreadSystemId(this) { Ok(ok__) => { - core::ptr::write(sysid, core::mem::transmute(ok__)); + sysid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -25033,7 +25033,7 @@ impl IDebugSystemObjects3_Vtbl { let this = (*this).get_impl(); match IDebugSystemObjects3_Impl::GetThreadIdBySystemId(this, core::mem::transmute_copy(&sysid)) { Ok(ok__) => { - core::ptr::write(id, core::mem::transmute(ok__)); + id.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -25044,7 +25044,7 @@ impl IDebugSystemObjects3_Vtbl { let this = (*this).get_impl(); match IDebugSystemObjects3_Impl::GetCurrentThreadHandle(this) { Ok(ok__) => { - core::ptr::write(handle, core::mem::transmute(ok__)); + handle.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -25055,7 +25055,7 @@ impl IDebugSystemObjects3_Vtbl { let this = (*this).get_impl(); match IDebugSystemObjects3_Impl::GetThreadIdByHandle(this, core::mem::transmute_copy(&handle)) { Ok(ok__) => { - core::ptr::write(id, core::mem::transmute(ok__)); + id.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -25066,7 +25066,7 @@ impl IDebugSystemObjects3_Vtbl { let this = (*this).get_impl(); match IDebugSystemObjects3_Impl::GetNumberProcesses(this) { Ok(ok__) => { - core::ptr::write(number, core::mem::transmute(ok__)); + number.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -25082,7 +25082,7 @@ impl IDebugSystemObjects3_Vtbl { let this = (*this).get_impl(); match IDebugSystemObjects3_Impl::GetCurrentProcessDataOffset(this) { Ok(ok__) => { - core::ptr::write(offset, core::mem::transmute(ok__)); + offset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -25093,7 +25093,7 @@ impl IDebugSystemObjects3_Vtbl { let this = (*this).get_impl(); match IDebugSystemObjects3_Impl::GetProcessIdByDataOffset(this, core::mem::transmute_copy(&offset)) { Ok(ok__) => { - core::ptr::write(id, core::mem::transmute(ok__)); + id.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -25104,7 +25104,7 @@ impl IDebugSystemObjects3_Vtbl { let this = (*this).get_impl(); match IDebugSystemObjects3_Impl::GetCurrentProcessPeb(this) { Ok(ok__) => { - core::ptr::write(offset, core::mem::transmute(ok__)); + offset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -25115,7 +25115,7 @@ impl IDebugSystemObjects3_Vtbl { let this = (*this).get_impl(); match IDebugSystemObjects3_Impl::GetProcessIdByPeb(this, core::mem::transmute_copy(&offset)) { Ok(ok__) => { - core::ptr::write(id, core::mem::transmute(ok__)); + id.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -25126,7 +25126,7 @@ impl IDebugSystemObjects3_Vtbl { let this = (*this).get_impl(); match IDebugSystemObjects3_Impl::GetCurrentProcessSystemId(this) { Ok(ok__) => { - core::ptr::write(sysid, core::mem::transmute(ok__)); + sysid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -25137,7 +25137,7 @@ impl IDebugSystemObjects3_Vtbl { let this = (*this).get_impl(); match IDebugSystemObjects3_Impl::GetProcessIdBySystemId(this, core::mem::transmute_copy(&sysid)) { Ok(ok__) => { - core::ptr::write(id, core::mem::transmute(ok__)); + id.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -25148,7 +25148,7 @@ impl IDebugSystemObjects3_Vtbl { let this = (*this).get_impl(); match IDebugSystemObjects3_Impl::GetCurrentProcessHandle(this) { Ok(ok__) => { - core::ptr::write(handle, core::mem::transmute(ok__)); + handle.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -25159,7 +25159,7 @@ impl IDebugSystemObjects3_Vtbl { let this = (*this).get_impl(); match IDebugSystemObjects3_Impl::GetProcessIdByHandle(this, core::mem::transmute_copy(&handle)) { Ok(ok__) => { - core::ptr::write(id, core::mem::transmute(ok__)); + id.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -25175,7 +25175,7 @@ impl IDebugSystemObjects3_Vtbl { let this = (*this).get_impl(); match IDebugSystemObjects3_Impl::GetCurrentProcessUpTime(this) { Ok(ok__) => { - core::ptr::write(uptime, core::mem::transmute(ok__)); + uptime.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -25186,7 +25186,7 @@ impl IDebugSystemObjects3_Vtbl { let this = (*this).get_impl(); match IDebugSystemObjects3_Impl::GetImplicitThreadDataOffset(this) { Ok(ok__) => { - core::ptr::write(offset, core::mem::transmute(ok__)); + offset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -25202,7 +25202,7 @@ impl IDebugSystemObjects3_Vtbl { let this = (*this).get_impl(); match IDebugSystemObjects3_Impl::GetImplicitProcessDataOffset(this) { Ok(ok__) => { - core::ptr::write(offset, core::mem::transmute(ok__)); + offset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -25218,7 +25218,7 @@ impl IDebugSystemObjects3_Vtbl { let this = (*this).get_impl(); match IDebugSystemObjects3_Impl::GetEventSystem(this) { Ok(ok__) => { - core::ptr::write(id, core::mem::transmute(ok__)); + id.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -25229,7 +25229,7 @@ impl IDebugSystemObjects3_Vtbl { let this = (*this).get_impl(); match IDebugSystemObjects3_Impl::GetCurrentSystemId(this) { Ok(ok__) => { - core::ptr::write(id, core::mem::transmute(ok__)); + id.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -25245,7 +25245,7 @@ impl IDebugSystemObjects3_Vtbl { let this = (*this).get_impl(); match IDebugSystemObjects3_Impl::GetNumberSystems(this) { Ok(ok__) => { - core::ptr::write(number, core::mem::transmute(ok__)); + number.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -25266,7 +25266,7 @@ impl IDebugSystemObjects3_Vtbl { let this = (*this).get_impl(); match IDebugSystemObjects3_Impl::GetCurrentSystemServer(this) { Ok(ok__) => { - core::ptr::write(server, core::mem::transmute(ok__)); + server.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -25277,7 +25277,7 @@ impl IDebugSystemObjects3_Vtbl { let this = (*this).get_impl(); match IDebugSystemObjects3_Impl::GetSystemByServer(this, core::mem::transmute_copy(&server)) { Ok(ok__) => { - core::ptr::write(id, core::mem::transmute(ok__)); + id.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -25394,7 +25394,7 @@ impl IDebugSystemObjects4_Vtbl { let this = (*this).get_impl(); match IDebugSystemObjects4_Impl::GetEventThread(this) { Ok(ok__) => { - core::ptr::write(id, core::mem::transmute(ok__)); + id.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -25405,7 +25405,7 @@ impl IDebugSystemObjects4_Vtbl { let this = (*this).get_impl(); match IDebugSystemObjects4_Impl::GetEventProcess(this) { Ok(ok__) => { - core::ptr::write(id, core::mem::transmute(ok__)); + id.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -25416,7 +25416,7 @@ impl IDebugSystemObjects4_Vtbl { let this = (*this).get_impl(); match IDebugSystemObjects4_Impl::GetCurrentThreadId(this) { Ok(ok__) => { - core::ptr::write(id, core::mem::transmute(ok__)); + id.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -25432,7 +25432,7 @@ impl IDebugSystemObjects4_Vtbl { let this = (*this).get_impl(); match IDebugSystemObjects4_Impl::GetCurrentProcessId(this) { Ok(ok__) => { - core::ptr::write(id, core::mem::transmute(ok__)); + id.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -25448,7 +25448,7 @@ impl IDebugSystemObjects4_Vtbl { let this = (*this).get_impl(); match IDebugSystemObjects4_Impl::GetNumberThreads(this) { Ok(ok__) => { - core::ptr::write(number, core::mem::transmute(ok__)); + number.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -25469,7 +25469,7 @@ impl IDebugSystemObjects4_Vtbl { let this = (*this).get_impl(); match IDebugSystemObjects4_Impl::GetThreadIdByProcessor(this, core::mem::transmute_copy(&processor)) { Ok(ok__) => { - core::ptr::write(id, core::mem::transmute(ok__)); + id.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -25480,7 +25480,7 @@ impl IDebugSystemObjects4_Vtbl { let this = (*this).get_impl(); match IDebugSystemObjects4_Impl::GetCurrentThreadDataOffset(this) { Ok(ok__) => { - core::ptr::write(offset, core::mem::transmute(ok__)); + offset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -25491,7 +25491,7 @@ impl IDebugSystemObjects4_Vtbl { let this = (*this).get_impl(); match IDebugSystemObjects4_Impl::GetThreadIdByDataOffset(this, core::mem::transmute_copy(&offset)) { Ok(ok__) => { - core::ptr::write(id, core::mem::transmute(ok__)); + id.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -25502,7 +25502,7 @@ impl IDebugSystemObjects4_Vtbl { let this = (*this).get_impl(); match IDebugSystemObjects4_Impl::GetCurrentThreadTeb(this) { Ok(ok__) => { - core::ptr::write(offset, core::mem::transmute(ok__)); + offset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -25513,7 +25513,7 @@ impl IDebugSystemObjects4_Vtbl { let this = (*this).get_impl(); match IDebugSystemObjects4_Impl::GetThreadIdByTeb(this, core::mem::transmute_copy(&offset)) { Ok(ok__) => { - core::ptr::write(id, core::mem::transmute(ok__)); + id.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -25524,7 +25524,7 @@ impl IDebugSystemObjects4_Vtbl { let this = (*this).get_impl(); match IDebugSystemObjects4_Impl::GetCurrentThreadSystemId(this) { Ok(ok__) => { - core::ptr::write(sysid, core::mem::transmute(ok__)); + sysid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -25535,7 +25535,7 @@ impl IDebugSystemObjects4_Vtbl { let this = (*this).get_impl(); match IDebugSystemObjects4_Impl::GetThreadIdBySystemId(this, core::mem::transmute_copy(&sysid)) { Ok(ok__) => { - core::ptr::write(id, core::mem::transmute(ok__)); + id.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -25546,7 +25546,7 @@ impl IDebugSystemObjects4_Vtbl { let this = (*this).get_impl(); match IDebugSystemObjects4_Impl::GetCurrentThreadHandle(this) { Ok(ok__) => { - core::ptr::write(handle, core::mem::transmute(ok__)); + handle.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -25557,7 +25557,7 @@ impl IDebugSystemObjects4_Vtbl { let this = (*this).get_impl(); match IDebugSystemObjects4_Impl::GetThreadIdByHandle(this, core::mem::transmute_copy(&handle)) { Ok(ok__) => { - core::ptr::write(id, core::mem::transmute(ok__)); + id.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -25568,7 +25568,7 @@ impl IDebugSystemObjects4_Vtbl { let this = (*this).get_impl(); match IDebugSystemObjects4_Impl::GetNumberProcesses(this) { Ok(ok__) => { - core::ptr::write(number, core::mem::transmute(ok__)); + number.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -25584,7 +25584,7 @@ impl IDebugSystemObjects4_Vtbl { let this = (*this).get_impl(); match IDebugSystemObjects4_Impl::GetCurrentProcessDataOffset(this) { Ok(ok__) => { - core::ptr::write(offset, core::mem::transmute(ok__)); + offset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -25595,7 +25595,7 @@ impl IDebugSystemObjects4_Vtbl { let this = (*this).get_impl(); match IDebugSystemObjects4_Impl::GetProcessIdByDataOffset(this, core::mem::transmute_copy(&offset)) { Ok(ok__) => { - core::ptr::write(id, core::mem::transmute(ok__)); + id.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -25606,7 +25606,7 @@ impl IDebugSystemObjects4_Vtbl { let this = (*this).get_impl(); match IDebugSystemObjects4_Impl::GetCurrentProcessPeb(this) { Ok(ok__) => { - core::ptr::write(offset, core::mem::transmute(ok__)); + offset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -25617,7 +25617,7 @@ impl IDebugSystemObjects4_Vtbl { let this = (*this).get_impl(); match IDebugSystemObjects4_Impl::GetProcessIdByPeb(this, core::mem::transmute_copy(&offset)) { Ok(ok__) => { - core::ptr::write(id, core::mem::transmute(ok__)); + id.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -25628,7 +25628,7 @@ impl IDebugSystemObjects4_Vtbl { let this = (*this).get_impl(); match IDebugSystemObjects4_Impl::GetCurrentProcessSystemId(this) { Ok(ok__) => { - core::ptr::write(sysid, core::mem::transmute(ok__)); + sysid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -25639,7 +25639,7 @@ impl IDebugSystemObjects4_Vtbl { let this = (*this).get_impl(); match IDebugSystemObjects4_Impl::GetProcessIdBySystemId(this, core::mem::transmute_copy(&sysid)) { Ok(ok__) => { - core::ptr::write(id, core::mem::transmute(ok__)); + id.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -25650,7 +25650,7 @@ impl IDebugSystemObjects4_Vtbl { let this = (*this).get_impl(); match IDebugSystemObjects4_Impl::GetCurrentProcessHandle(this) { Ok(ok__) => { - core::ptr::write(handle, core::mem::transmute(ok__)); + handle.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -25661,7 +25661,7 @@ impl IDebugSystemObjects4_Vtbl { let this = (*this).get_impl(); match IDebugSystemObjects4_Impl::GetProcessIdByHandle(this, core::mem::transmute_copy(&handle)) { Ok(ok__) => { - core::ptr::write(id, core::mem::transmute(ok__)); + id.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -25677,7 +25677,7 @@ impl IDebugSystemObjects4_Vtbl { let this = (*this).get_impl(); match IDebugSystemObjects4_Impl::GetCurrentProcessUpTime(this) { Ok(ok__) => { - core::ptr::write(uptime, core::mem::transmute(ok__)); + uptime.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -25688,7 +25688,7 @@ impl IDebugSystemObjects4_Vtbl { let this = (*this).get_impl(); match IDebugSystemObjects4_Impl::GetImplicitThreadDataOffset(this) { Ok(ok__) => { - core::ptr::write(offset, core::mem::transmute(ok__)); + offset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -25704,7 +25704,7 @@ impl IDebugSystemObjects4_Vtbl { let this = (*this).get_impl(); match IDebugSystemObjects4_Impl::GetImplicitProcessDataOffset(this) { Ok(ok__) => { - core::ptr::write(offset, core::mem::transmute(ok__)); + offset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -25720,7 +25720,7 @@ impl IDebugSystemObjects4_Vtbl { let this = (*this).get_impl(); match IDebugSystemObjects4_Impl::GetEventSystem(this) { Ok(ok__) => { - core::ptr::write(id, core::mem::transmute(ok__)); + id.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -25731,7 +25731,7 @@ impl IDebugSystemObjects4_Vtbl { let this = (*this).get_impl(); match IDebugSystemObjects4_Impl::GetCurrentSystemId(this) { Ok(ok__) => { - core::ptr::write(id, core::mem::transmute(ok__)); + id.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -25747,7 +25747,7 @@ impl IDebugSystemObjects4_Vtbl { let this = (*this).get_impl(); match IDebugSystemObjects4_Impl::GetNumberSystems(this) { Ok(ok__) => { - core::ptr::write(number, core::mem::transmute(ok__)); + number.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -25768,7 +25768,7 @@ impl IDebugSystemObjects4_Vtbl { let this = (*this).get_impl(); match IDebugSystemObjects4_Impl::GetCurrentSystemServer(this) { Ok(ok__) => { - core::ptr::write(server, core::mem::transmute(ok__)); + server.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -25779,7 +25779,7 @@ impl IDebugSystemObjects4_Vtbl { let this = (*this).get_impl(); match IDebugSystemObjects4_Impl::GetSystemByServer(this, core::mem::transmute_copy(&server)) { Ok(ok__) => { - core::ptr::write(id, core::mem::transmute(ok__)); + id.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -25924,7 +25924,7 @@ impl IDynamicKeyProviderConcept_Vtbl { let this = (*this).get_impl(); match IDynamicKeyProviderConcept_Impl::EnumerateKeys(this, windows_core::from_raw_borrowed(&contextobject)) { Ok(ok__) => { - core::ptr::write(ppenumerator, core::mem::transmute(ok__)); + ppenumerator.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -25952,7 +25952,7 @@ impl IEquatableConcept_Vtbl { let this = (*this).get_impl(); match IEquatableConcept_Impl::AreObjectsEqual(this, windows_core::from_raw_borrowed(&contextobject), windows_core::from_raw_borrowed(&otherobject)) { Ok(ok__) => { - core::ptr::write(isequal, core::mem::transmute(ok__)); + isequal.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -25994,7 +25994,7 @@ impl IIndexableConcept_Vtbl { let this = (*this).get_impl(); match IIndexableConcept_Impl::GetDimensionality(this, windows_core::from_raw_borrowed(&contextobject)) { Ok(ok__) => { - core::ptr::write(dimensionality, core::mem::transmute(ok__)); + dimensionality.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -26033,7 +26033,7 @@ impl IIterableConcept_Vtbl { let this = (*this).get_impl(); match IIterableConcept_Impl::GetDefaultIndexDimensionality(this, windows_core::from_raw_borrowed(&contextobject)) { Ok(ok__) => { - core::ptr::write(dimensionality, core::mem::transmute(ok__)); + dimensionality.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -26044,7 +26044,7 @@ impl IIterableConcept_Vtbl { let this = (*this).get_impl(); match IIterableConcept_Impl::GetIterator(this, windows_core::from_raw_borrowed(&contextobject)) { Ok(ok__) => { - core::ptr::write(iterator, core::mem::transmute(ok__)); + iterator.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -26179,7 +26179,7 @@ impl IModelKeyReference_Vtbl { let this = (*this).get_impl(); match IModelKeyReference_Impl::GetKeyName(this) { Ok(ok__) => { - core::ptr::write(keyname, core::mem::transmute(ok__)); + keyname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -26190,7 +26190,7 @@ impl IModelKeyReference_Vtbl { let this = (*this).get_impl(); match IModelKeyReference_Impl::GetOriginalObject(this) { Ok(ok__) => { - core::ptr::write(originalobject, core::mem::transmute(ok__)); + originalobject.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -26201,7 +26201,7 @@ impl IModelKeyReference_Vtbl { let this = (*this).get_impl(); match IModelKeyReference_Impl::GetContextObject(this) { Ok(ok__) => { - core::ptr::write(containingobject, core::mem::transmute(ok__)); + containingobject.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -26322,7 +26322,7 @@ impl IModelObject_Vtbl { let this = (*this).get_impl(); match IModelObject_Impl::GetContext(this) { Ok(ok__) => { - core::ptr::write(context, core::mem::transmute(ok__)); + context.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -26333,7 +26333,7 @@ impl IModelObject_Vtbl { let this = (*this).get_impl(); match IModelObject_Impl::GetKind(this) { Ok(ok__) => { - core::ptr::write(kind, core::mem::transmute(ok__)); + kind.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -26344,7 +26344,7 @@ impl IModelObject_Vtbl { let this = (*this).get_impl(); match IModelObject_Impl::GetIntrinsicValue(this) { Ok(ok__) => { - core::ptr::write(intrinsicdata, core::mem::transmute(ok__)); + intrinsicdata.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -26355,7 +26355,7 @@ impl IModelObject_Vtbl { let this = (*this).get_impl(); match IModelObject_Impl::GetIntrinsicValueAs(this, core::mem::transmute_copy(&vt)) { Ok(ok__) => { - core::ptr::write(intrinsicdata, core::mem::transmute(ok__)); + intrinsicdata.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -26376,7 +26376,7 @@ impl IModelObject_Vtbl { let this = (*this).get_impl(); match IModelObject_Impl::EnumerateKeyValues(this) { Ok(ok__) => { - core::ptr::write(enumerator, core::mem::transmute(ok__)); + enumerator.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -26387,7 +26387,7 @@ impl IModelObject_Vtbl { let this = (*this).get_impl(); match IModelObject_Impl::GetRawValue(this, core::mem::transmute_copy(&kind), core::mem::transmute(&name), core::mem::transmute_copy(&searchflags)) { Ok(ok__) => { - core::ptr::write(object, core::mem::transmute(ok__)); + object.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -26398,7 +26398,7 @@ impl IModelObject_Vtbl { let this = (*this).get_impl(); match IModelObject_Impl::EnumerateRawValues(this, core::mem::transmute_copy(&kind), core::mem::transmute_copy(&searchflags)) { Ok(ok__) => { - core::ptr::write(enumerator, core::mem::transmute(ok__)); + enumerator.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -26409,7 +26409,7 @@ impl IModelObject_Vtbl { let this = (*this).get_impl(); match IModelObject_Impl::Dereference(this) { Ok(ok__) => { - core::ptr::write(object, core::mem::transmute(ok__)); + object.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -26420,7 +26420,7 @@ impl IModelObject_Vtbl { let this = (*this).get_impl(); match IModelObject_Impl::TryCastToRuntimeType(this) { Ok(ok__) => { - core::ptr::write(runtimetypedobject, core::mem::transmute(ok__)); + runtimetypedobject.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -26436,7 +26436,7 @@ impl IModelObject_Vtbl { let this = (*this).get_impl(); match IModelObject_Impl::GetLocation(this) { Ok(ok__) => { - core::ptr::write(location, core::mem::transmute(ok__)); + location.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -26447,7 +26447,7 @@ impl IModelObject_Vtbl { let this = (*this).get_impl(); match IModelObject_Impl::GetTypeInfo(this) { Ok(ok__) => { - core::ptr::write(r#type, core::mem::transmute(ok__)); + r#type.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -26463,7 +26463,7 @@ impl IModelObject_Vtbl { let this = (*this).get_impl(); match IModelObject_Impl::GetNumberOfParentModels(this) { Ok(ok__) => { - core::ptr::write(nummodels, core::mem::transmute(ok__)); + nummodels.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -26509,7 +26509,7 @@ impl IModelObject_Vtbl { let this = (*this).get_impl(); match IModelObject_Impl::EnumerateKeys(this) { Ok(ok__) => { - core::ptr::write(enumerator, core::mem::transmute(ok__)); + enumerator.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -26520,7 +26520,7 @@ impl IModelObject_Vtbl { let this = (*this).get_impl(); match IModelObject_Impl::EnumerateKeyReferences(this) { Ok(ok__) => { - core::ptr::write(enumerator, core::mem::transmute(ok__)); + enumerator.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -26541,7 +26541,7 @@ impl IModelObject_Vtbl { let this = (*this).get_impl(); match IModelObject_Impl::GetRawReference(this, core::mem::transmute_copy(&kind), core::mem::transmute(&name), core::mem::transmute_copy(&searchflags)) { Ok(ok__) => { - core::ptr::write(object, core::mem::transmute(ok__)); + object.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -26552,7 +26552,7 @@ impl IModelObject_Vtbl { let this = (*this).get_impl(); match IModelObject_Impl::EnumerateRawReferences(this, core::mem::transmute_copy(&kind), core::mem::transmute_copy(&searchflags)) { Ok(ok__) => { - core::ptr::write(enumerator, core::mem::transmute(ok__)); + enumerator.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -26568,7 +26568,7 @@ impl IModelObject_Vtbl { let this = (*this).get_impl(); match IModelObject_Impl::GetContextForDataModel(this, windows_core::from_raw_borrowed(&datamodelobject)) { Ok(ok__) => { - core::ptr::write(context, core::mem::transmute(ok__)); + context.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -26584,7 +26584,7 @@ impl IModelObject_Vtbl { let this = (*this).get_impl(); match IModelObject_Impl::IsEqualTo(this, windows_core::from_raw_borrowed(&other)) { Ok(ok__) => { - core::ptr::write(equal, core::mem::transmute(ok__)); + equal.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -26643,7 +26643,7 @@ impl IModelPropertyAccessor_Vtbl { let this = (*this).get_impl(); match IModelPropertyAccessor_Impl::GetValue(this, core::mem::transmute(&key), windows_core::from_raw_borrowed(&contextobject)) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -26675,7 +26675,7 @@ impl IPreferredRuntimeTypeConcept_Vtbl { let this = (*this).get_impl(); match IPreferredRuntimeTypeConcept_Impl::CastToPreferredRuntimeType(this, windows_core::from_raw_borrowed(&contextobject)) { Ok(ok__) => { - core::ptr::write(object, core::mem::transmute(ok__)); + object.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -26725,7 +26725,7 @@ impl IStringDisplayableConcept_Vtbl { let this = (*this).get_impl(); match IStringDisplayableConcept_Impl::ToDisplayString(this, windows_core::from_raw_borrowed(&contextobject), windows_core::from_raw_borrowed(&metadata)) { Ok(ok__) => { - core::ptr::write(displaystring, core::mem::transmute(ok__)); + displaystring.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Debug/impl.rs b/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Debug/impl.rs index 7fddfad500..9de9278bc7 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Debug/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Debug/impl.rs @@ -18,7 +18,7 @@ impl IDebugExtendedProperty_Vtbl { let this = (*this).get_impl(); match IDebugExtendedProperty_Impl::EnumExtendedMembers(this, core::mem::transmute_copy(&dwfieldspec), core::mem::transmute_copy(&nradix)) { Ok(ok__) => { - core::ptr::write(ppeepi, core::mem::transmute(ok__)); + ppeepi.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -64,7 +64,7 @@ impl IDebugProperty_Vtbl { let this = (*this).get_impl(); match IDebugProperty_Impl::EnumMembers(this, core::mem::transmute_copy(&dwfieldspec), core::mem::transmute_copy(&nradix), core::mem::transmute_copy(&refiid)) { Ok(ok__) => { - core::ptr::write(ppepi, core::mem::transmute(ok__)); + ppepi.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -75,7 +75,7 @@ impl IDebugProperty_Vtbl { let this = (*this).get_impl(); match IDebugProperty_Impl::GetParent(this) { Ok(ok__) => { - core::ptr::write(ppdebugprop, core::mem::transmute(ok__)); + ppdebugprop.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -105,7 +105,7 @@ impl IDebugPropertyEnumType_All_Vtbl { let this = (*this).get_impl(); match IDebugPropertyEnumType_All_Impl::GetName(this) { Ok(ok__) => { - core::ptr::write(__midl__idebugpropertyenumtype_all0000, core::mem::transmute(ok__)); + __midl__idebugpropertyenumtype_all0000.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -190,7 +190,7 @@ impl IEnumDebugExtendedPropertyInfo_Vtbl { let this = (*this).get_impl(); match IEnumDebugExtendedPropertyInfo_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(pedpe, core::mem::transmute(ok__)); + pedpe.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -201,7 +201,7 @@ impl IEnumDebugExtendedPropertyInfo_Vtbl { let this = (*this).get_impl(); match IEnumDebugExtendedPropertyInfo_Impl::GetCount(this) { Ok(ok__) => { - core::ptr::write(pcelt, core::mem::transmute(ok__)); + pcelt.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -250,7 +250,7 @@ impl IEnumDebugPropertyInfo_Vtbl { let this = (*this).get_impl(); match IEnumDebugPropertyInfo_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppepi, core::mem::transmute(ok__)); + ppepi.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -261,7 +261,7 @@ impl IEnumDebugPropertyInfo_Vtbl { let this = (*this).get_impl(); match IEnumDebugPropertyInfo_Impl::GetCount(this) { Ok(ok__) => { - core::ptr::write(pcelt, core::mem::transmute(ok__)); + pcelt.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -324,7 +324,7 @@ impl IPerPropertyBrowsing2_Vtbl { let this = (*this).get_impl(); match IPerPropertyBrowsing2_Impl::GetDisplayString(this, core::mem::transmute_copy(&dispid)) { Ok(ok__) => { - core::ptr::write(pbstr, core::mem::transmute(ok__)); + pbstr.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -335,7 +335,7 @@ impl IPerPropertyBrowsing2_Vtbl { let this = (*this).get_impl(); match IPerPropertyBrowsing2_Impl::MapPropertyToPage(this, core::mem::transmute_copy(&dispid)) { Ok(ok__) => { - core::ptr::write(pclsidproppage, core::mem::transmute(ok__)); + pclsidproppage.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Etw/impl.rs b/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Etw/impl.rs index e988d57a85..25cb5e107e 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Etw/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Etw/impl.rs @@ -20,7 +20,7 @@ impl ITraceEvent_Vtbl { let this = (*this).get_impl(); match ITraceEvent_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(newevent, core::mem::transmute(ok__)); + newevent.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -31,7 +31,7 @@ impl ITraceEvent_Vtbl { let this = (*this).get_impl(); match ITraceEvent_Impl::GetUserContext(this) { Ok(ok__) => { - core::ptr::write(usercontext, core::mem::transmute(ok__)); + usercontext.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -42,7 +42,7 @@ impl ITraceEvent_Vtbl { let this = (*this).get_impl(); match ITraceEvent_Impl::GetEventRecord(this) { Ok(ok__) => { - core::ptr::write(eventrecord, core::mem::transmute(ok__)); + eventrecord.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -166,7 +166,7 @@ impl ITraceRelogger_Vtbl { let this = (*this).get_impl(); match ITraceRelogger_Impl::AddLogfileTraceStream(this, core::mem::transmute(&logfilename), core::mem::transmute_copy(&usercontext)) { Ok(ok__) => { - core::ptr::write(tracehandle, core::mem::transmute(ok__)); + tracehandle.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -177,7 +177,7 @@ impl ITraceRelogger_Vtbl { let this = (*this).get_impl(); match ITraceRelogger_Impl::AddRealtimeTraceStream(this, core::mem::transmute(&loggername), core::mem::transmute_copy(&usercontext)) { Ok(ok__) => { - core::ptr::write(tracehandle, core::mem::transmute(ok__)); + tracehandle.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -198,7 +198,7 @@ impl ITraceRelogger_Vtbl { let this = (*this).get_impl(); match ITraceRelogger_Impl::CreateEventInstance(this, core::mem::transmute(&tracehandle), core::mem::transmute_copy(&flags)) { Ok(ok__) => { - core::ptr::write(event, core::mem::transmute(ok__)); + event.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/Win32/System/DistributedTransactionCoordinator/impl.rs b/crates/libs/windows/src/Windows/Win32/System/DistributedTransactionCoordinator/impl.rs index 9c6ecd698f..e364ffbe34 100644 --- a/crates/libs/windows/src/Windows/Win32/System/DistributedTransactionCoordinator/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/DistributedTransactionCoordinator/impl.rs @@ -42,7 +42,7 @@ impl IDtcLuRecoveryFactory_Vtbl { let this = (*this).get_impl(); match IDtcLuRecoveryFactory_Impl::Create(this, core::mem::transmute_copy(&puclupair), core::mem::transmute_copy(&cblupair)) { Ok(ok__) => { - core::ptr::write(pprecovery, core::mem::transmute(ok__)); + pprecovery.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -203,7 +203,7 @@ impl IDtcLuRecoveryInitiatedByLu_Vtbl { let this = (*this).get_impl(); match IDtcLuRecoveryInitiatedByLu_Impl::GetObjectToHandleWorkFromLu(this) { Ok(ok__) => { - core::ptr::write(ppwork, core::mem::transmute(ok__)); + ppwork.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -606,7 +606,7 @@ impl IDtcNetworkAccessConfig_Vtbl { let this = (*this).get_impl(); match IDtcNetworkAccessConfig_Impl::GetAnyNetworkAccess(this) { Ok(ok__) => { - core::ptr::write(pbanynetworkaccess, core::mem::transmute(ok__)); + pbanynetworkaccess.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -622,7 +622,7 @@ impl IDtcNetworkAccessConfig_Vtbl { let this = (*this).get_impl(); match IDtcNetworkAccessConfig_Impl::GetNetworkAdministrationAccess(this) { Ok(ok__) => { - core::ptr::write(pbnetworkadministrationaccess, core::mem::transmute(ok__)); + pbnetworkadministrationaccess.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -638,7 +638,7 @@ impl IDtcNetworkAccessConfig_Vtbl { let this = (*this).get_impl(); match IDtcNetworkAccessConfig_Impl::GetNetworkTransactionAccess(this) { Ok(ok__) => { - core::ptr::write(pbnetworktransactionaccess, core::mem::transmute(ok__)); + pbnetworktransactionaccess.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -654,7 +654,7 @@ impl IDtcNetworkAccessConfig_Vtbl { let this = (*this).get_impl(); match IDtcNetworkAccessConfig_Impl::GetNetworkClientAccess(this) { Ok(ok__) => { - core::ptr::write(pbnetworkclientaccess, core::mem::transmute(ok__)); + pbnetworkclientaccess.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -670,7 +670,7 @@ impl IDtcNetworkAccessConfig_Vtbl { let this = (*this).get_impl(); match IDtcNetworkAccessConfig_Impl::GetNetworkTIPAccess(this) { Ok(ok__) => { - core::ptr::write(pbnetworktipaccess, core::mem::transmute(ok__)); + pbnetworktipaccess.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -686,7 +686,7 @@ impl IDtcNetworkAccessConfig_Vtbl { let this = (*this).get_impl(); match IDtcNetworkAccessConfig_Impl::GetXAAccess(this) { Ok(ok__) => { - core::ptr::write(pbxaaccess, core::mem::transmute(ok__)); + pbxaaccess.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -739,7 +739,7 @@ impl IDtcNetworkAccessConfig2_Vtbl { let this = (*this).get_impl(); match IDtcNetworkAccessConfig2_Impl::GetNetworkInboundAccess(this) { Ok(ok__) => { - core::ptr::write(pbinbound, core::mem::transmute(ok__)); + pbinbound.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -750,7 +750,7 @@ impl IDtcNetworkAccessConfig2_Vtbl { let this = (*this).get_impl(); match IDtcNetworkAccessConfig2_Impl::GetNetworkOutboundAccess(this) { Ok(ok__) => { - core::ptr::write(pboutbound, core::mem::transmute(ok__)); + pboutbound.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -771,7 +771,7 @@ impl IDtcNetworkAccessConfig2_Vtbl { let this = (*this).get_impl(); match IDtcNetworkAccessConfig2_Impl::GetAuthenticationLevel(this) { Ok(ok__) => { - core::ptr::write(pauthlevel, core::mem::transmute(ok__)); + pauthlevel.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -808,7 +808,7 @@ impl IDtcNetworkAccessConfig3_Vtbl { let this = (*this).get_impl(); match IDtcNetworkAccessConfig3_Impl::GetLUAccess(this) { Ok(ok__) => { - core::ptr::write(pbluaccess, core::mem::transmute(ok__)); + pbluaccess.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -897,7 +897,7 @@ impl IDtcToXaHelperSinglePipe_Vtbl { let this = (*this).get_impl(); match IDtcToXaHelperSinglePipe_Impl::EnlistWithRM(this, core::mem::transmute_copy(&dwrmcookie), windows_core::from_raw_borrowed(&i_pitransaction), windows_core::from_raw_borrowed(&i_pitransres)) { Ok(ok__) => { - core::ptr::write(o_ppitransenslitment, core::mem::transmute(ok__)); + o_ppitransenslitment.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -989,7 +989,7 @@ impl IKernelTransaction_Vtbl { let this = (*this).get_impl(); match IKernelTransaction_Impl::GetHandle(this) { Ok(ok__) => { - core::ptr::write(phandle, core::mem::transmute(ok__)); + phandle.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1067,7 +1067,7 @@ impl IPrepareInfo2_Vtbl { let this = (*this).get_impl(); match IPrepareInfo2_Impl::GetPrepareInfoSize(this) { Ok(ok__) => { - core::ptr::write(pcbprepinfo, core::mem::transmute(ok__)); + pcbprepinfo.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1134,7 +1134,7 @@ impl IResourceManager_Vtbl { let this = (*this).get_impl(); match IResourceManager_Impl::Reenlist(this, core::mem::transmute_copy(&pprepinfo), core::mem::transmute_copy(&cbprepinfo), core::mem::transmute_copy(<imeout)) { Ok(ok__) => { - core::ptr::write(pxactstat, core::mem::transmute(ok__)); + pxactstat.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1179,7 +1179,7 @@ impl IResourceManager2_Vtbl { let this = (*this).get_impl(); match IResourceManager2_Impl::Reenlist2(this, core::mem::transmute_copy(&pxid), core::mem::transmute_copy(&dwtimeout)) { Ok(ok__) => { - core::ptr::write(pxactstat, core::mem::transmute(ok__)); + pxactstat.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1206,7 +1206,7 @@ impl IResourceManagerFactory_Vtbl { let this = (*this).get_impl(); match IResourceManagerFactory_Impl::Create(this, core::mem::transmute_copy(&pguidrm), core::mem::transmute(&pszrmname), windows_core::from_raw_borrowed(&piresmgrsink)) { Ok(ok__) => { - core::ptr::write(ppresmgr, core::mem::transmute(ok__)); + ppresmgr.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1246,7 +1246,7 @@ impl IResourceManagerRejoinable_Vtbl { let this = (*this).get_impl(); match IResourceManagerRejoinable_Impl::Rejoin(this, core::mem::transmute_copy(&pprepinfo), core::mem::transmute_copy(&cbprepinfo), core::mem::transmute_copy(<imeout)) { Ok(ok__) => { - core::ptr::write(pxactstat, core::mem::transmute(ok__)); + pxactstat.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1288,7 +1288,7 @@ impl ITipHelper_Vtbl { let this = (*this).get_impl(); match ITipHelper_Impl::Pull(this, core::mem::transmute_copy(&i_psztxurl)) { Ok(ok__) => { - core::ptr::write(o_ppitransaction, core::mem::transmute(ok__)); + o_ppitransaction.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1299,7 +1299,7 @@ impl ITipHelper_Vtbl { let this = (*this).get_impl(); match ITipHelper_Impl::PullAsync(this, core::mem::transmute_copy(&i_psztxurl), windows_core::from_raw_borrowed(&i_ptippullsink)) { Ok(ok__) => { - core::ptr::write(o_ppitransaction, core::mem::transmute(ok__)); + o_ppitransaction.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1310,7 +1310,7 @@ impl ITipHelper_Vtbl { let this = (*this).get_impl(); match ITipHelper_Impl::GetLocalTmUrl(this) { Ok(ok__) => { - core::ptr::write(o_ppszlocaltmurl, core::mem::transmute(ok__)); + o_ppszlocaltmurl.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1356,7 +1356,7 @@ impl ITipTransaction_Vtbl { let this = (*this).get_impl(); match ITipTransaction_Impl::Push(this, core::mem::transmute_copy(&i_pszremotetmurl)) { Ok(ok__) => { - core::ptr::write(o_ppszremotetxurl, core::mem::transmute(ok__)); + o_ppszremotetxurl.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1367,7 +1367,7 @@ impl ITipTransaction_Vtbl { let this = (*this).get_impl(); match ITipTransaction_Impl::GetTransactionUrl(this) { Ok(ok__) => { - core::ptr::write(o_ppszlocaltxurl, core::mem::transmute(ok__)); + o_ppszlocaltxurl.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1395,7 +1395,7 @@ impl ITmNodeName_Vtbl { let this = (*this).get_impl(); match ITmNodeName_Impl::GetNodeNameSize(this) { Ok(ok__) => { - core::ptr::write(pcbnodenamesize, core::mem::transmute(ok__)); + pcbnodenamesize.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1478,7 +1478,7 @@ impl ITransactionCloner_Vtbl { let this = (*this).get_impl(); match ITransactionCloner_Impl::CloneWithCommitDisabled(this) { Ok(ok__) => { - core::ptr::write(ppitransaction, core::mem::transmute(ok__)); + ppitransaction.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1502,7 +1502,7 @@ impl ITransactionDispenser_Vtbl { let this = (*this).get_impl(); match ITransactionDispenser_Impl::GetOptionsObject(this) { Ok(ok__) => { - core::ptr::write(ppoptions, core::mem::transmute(ok__)); + ppoptions.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1513,7 +1513,7 @@ impl ITransactionDispenser_Vtbl { let this = (*this).get_impl(); match ITransactionDispenser_Impl::BeginTransaction(this, windows_core::from_raw_borrowed(&punkouter), core::mem::transmute_copy(&isolevel), core::mem::transmute_copy(&isoflags), windows_core::from_raw_borrowed(&poptions)) { Ok(ok__) => { - core::ptr::write(pptransaction, core::mem::transmute(ok__)); + pptransaction.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1578,7 +1578,7 @@ impl ITransactionExport_Vtbl { let this = (*this).get_impl(); match ITransactionExport_Impl::Export(this, windows_core::from_raw_borrowed(&punktransaction)) { Ok(ok__) => { - core::ptr::write(pcbtransactioncookie, core::mem::transmute(ok__)); + pcbtransactioncookie.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1611,7 +1611,7 @@ impl ITransactionExportFactory_Vtbl { let this = (*this).get_impl(); match ITransactionExportFactory_Impl::GetRemoteClassId(this) { Ok(ok__) => { - core::ptr::write(pclsid, core::mem::transmute(ok__)); + pclsid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1622,7 +1622,7 @@ impl ITransactionExportFactory_Vtbl { let this = (*this).get_impl(); match ITransactionExportFactory_Impl::Create(this, core::mem::transmute_copy(&cbwhereabouts), core::mem::transmute_copy(&rgbwhereabouts)) { Ok(ok__) => { - core::ptr::write(ppexport, core::mem::transmute(ok__)); + ppexport.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1667,7 +1667,7 @@ impl ITransactionImportWhereabouts_Vtbl { let this = (*this).get_impl(); match ITransactionImportWhereabouts_Impl::GetWhereaboutsSize(this) { Ok(ok__) => { - core::ptr::write(pcbwhereabouts, core::mem::transmute(ok__)); + pcbwhereabouts.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1835,7 +1835,7 @@ impl ITransactionPhase0EnlistmentAsync_Vtbl { let this = (*this).get_impl(); match ITransactionPhase0EnlistmentAsync_Impl::GetTransaction(this) { Ok(ok__) => { - core::ptr::write(ppitransaction, core::mem::transmute(ok__)); + ppitransaction.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1865,7 +1865,7 @@ impl ITransactionPhase0Factory_Vtbl { let this = (*this).get_impl(); match ITransactionPhase0Factory_Impl::Create(this, windows_core::from_raw_borrowed(&pphase0notify)) { Ok(ok__) => { - core::ptr::write(ppphase0enlistment, core::mem::transmute(ok__)); + ppphase0enlistment.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1918,7 +1918,7 @@ impl ITransactionReceiver_Vtbl { let this = (*this).get_impl(); match ITransactionReceiver_Impl::UnmarshalPropagationToken(this, core::mem::transmute_copy(&cbtoken), core::mem::transmute_copy(&rgbtoken)) { Ok(ok__) => { - core::ptr::write(pptransaction, core::mem::transmute(ok__)); + pptransaction.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1929,7 +1929,7 @@ impl ITransactionReceiver_Vtbl { let this = (*this).get_impl(); match ITransactionReceiver_Impl::GetReturnTokenSize(this) { Ok(ok__) => { - core::ptr::write(pcbreturntoken, core::mem::transmute(ok__)); + pcbreturntoken.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1968,7 +1968,7 @@ impl ITransactionReceiverFactory_Vtbl { let this = (*this).get_impl(); match ITransactionReceiverFactory_Impl::Create(this) { Ok(ok__) => { - core::ptr::write(ppreceiver, core::mem::transmute(ok__)); + ppreceiver.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2082,7 +2082,7 @@ impl ITransactionTransmitter_Vtbl { let this = (*this).get_impl(); match ITransactionTransmitter_Impl::GetPropagationTokenSize(this) { Ok(ok__) => { - core::ptr::write(pcbtoken, core::mem::transmute(ok__)); + pcbtoken.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2127,7 +2127,7 @@ impl ITransactionTransmitterFactory_Vtbl { let this = (*this).get_impl(); match ITransactionTransmitterFactory_Impl::Create(this) { Ok(ok__) => { - core::ptr::write(pptransmitter, core::mem::transmute(ok__)); + pptransmitter.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2167,7 +2167,7 @@ impl ITransactionVoterFactory2_Vtbl { let this = (*this).get_impl(); match ITransactionVoterFactory2_Impl::Create(this, windows_core::from_raw_borrowed(&ptransaction), windows_core::from_raw_borrowed(&pvoternotify)) { Ok(ok__) => { - core::ptr::write(ppvoterballot, core::mem::transmute(ok__)); + ppvoterballot.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2251,7 +2251,7 @@ impl IXATransLookup_Vtbl { let this = (*this).get_impl(); match IXATransLookup_Impl::Lookup(this) { Ok(ok__) => { - core::ptr::write(pptransaction, core::mem::transmute(ok__)); + pptransaction.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2274,7 +2274,7 @@ impl IXATransLookup2_Vtbl { let this = (*this).get_impl(); match IXATransLookup2_Impl::Lookup(this, core::mem::transmute_copy(&pxid)) { Ok(ok__) => { - core::ptr::write(pptransaction, core::mem::transmute(ok__)); + pptransaction.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/Win32/System/GroupPolicy/impl.rs b/crates/libs/windows/src/Windows/Win32/System/GroupPolicy/impl.rs index 05a88ec489..cd1c6b3899 100644 --- a/crates/libs/windows/src/Windows/Win32/System/GroupPolicy/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/GroupPolicy/impl.rs @@ -102,7 +102,7 @@ impl IGPM_Vtbl { let this = (*this).get_impl(); match IGPM_Impl::GetDomain(this, core::mem::transmute(&bstrdomain), core::mem::transmute(&bstrdomaincontroller), core::mem::transmute_copy(&ldcflags)) { Ok(ok__) => { - core::ptr::write(pigpmdomain, core::mem::transmute(ok__)); + pigpmdomain.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -113,7 +113,7 @@ impl IGPM_Vtbl { let this = (*this).get_impl(); match IGPM_Impl::GetBackupDir(this, core::mem::transmute(&bstrbackupdir)) { Ok(ok__) => { - core::ptr::write(pigpmbackupdir, core::mem::transmute(ok__)); + pigpmbackupdir.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -124,7 +124,7 @@ impl IGPM_Vtbl { let this = (*this).get_impl(); match IGPM_Impl::GetSitesContainer(this, core::mem::transmute(&bstrforest), core::mem::transmute(&bstrdomain), core::mem::transmute(&bstrdomaincontroller), core::mem::transmute_copy(&ldcflags)) { Ok(ok__) => { - core::ptr::write(ppigpmsitescontainer, core::mem::transmute(ok__)); + ppigpmsitescontainer.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -135,7 +135,7 @@ impl IGPM_Vtbl { let this = (*this).get_impl(); match IGPM_Impl::GetRSOP(this, core::mem::transmute_copy(&gpmrsopmode), core::mem::transmute(&bstrnamespace), core::mem::transmute_copy(&lflags)) { Ok(ok__) => { - core::ptr::write(ppigpmrsop, core::mem::transmute(ok__)); + ppigpmrsop.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -146,7 +146,7 @@ impl IGPM_Vtbl { let this = (*this).get_impl(); match IGPM_Impl::CreatePermission(this, core::mem::transmute(&bstrtrustee), core::mem::transmute_copy(&perm), core::mem::transmute_copy(&binheritable)) { Ok(ok__) => { - core::ptr::write(ppperm, core::mem::transmute(ok__)); + ppperm.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -157,7 +157,7 @@ impl IGPM_Vtbl { let this = (*this).get_impl(); match IGPM_Impl::CreateSearchCriteria(this) { Ok(ok__) => { - core::ptr::write(ppigpmsearchcriteria, core::mem::transmute(ok__)); + ppigpmsearchcriteria.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -168,7 +168,7 @@ impl IGPM_Vtbl { let this = (*this).get_impl(); match IGPM_Impl::CreateTrustee(this, core::mem::transmute(&bstrtrustee)) { Ok(ok__) => { - core::ptr::write(ppigpmtrustee, core::mem::transmute(ok__)); + ppigpmtrustee.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -179,7 +179,7 @@ impl IGPM_Vtbl { let this = (*this).get_impl(); match IGPM_Impl::GetClientSideExtensions(this) { Ok(ok__) => { - core::ptr::write(ppigpmcsecollection, core::mem::transmute(ok__)); + ppigpmcsecollection.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -190,7 +190,7 @@ impl IGPM_Vtbl { let this = (*this).get_impl(); match IGPM_Impl::GetConstants(this) { Ok(ok__) => { - core::ptr::write(ppigpmconstants, core::mem::transmute(ok__)); + ppigpmconstants.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -201,7 +201,7 @@ impl IGPM_Vtbl { let this = (*this).get_impl(); match IGPM_Impl::GetMigrationTable(this, core::mem::transmute(&bstrmigrationtablepath)) { Ok(ok__) => { - core::ptr::write(ppmigrationtable, core::mem::transmute(ok__)); + ppmigrationtable.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -212,7 +212,7 @@ impl IGPM_Vtbl { let this = (*this).get_impl(); match IGPM_Impl::CreateMigrationTable(this) { Ok(ok__) => { - core::ptr::write(ppmigrationtable, core::mem::transmute(ok__)); + ppmigrationtable.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -258,7 +258,7 @@ impl IGPM2_Vtbl { let this = (*this).get_impl(); match IGPM2_Impl::GetBackupDirEx(this, core::mem::transmute(&bstrbackupdir), core::mem::transmute_copy(&backupdirtype)) { Ok(ok__) => { - core::ptr::write(ppigpmbackupdirex, core::mem::transmute(ok__)); + ppigpmbackupdirex.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -342,7 +342,7 @@ impl IGPMBackup_Vtbl { let this = (*this).get_impl(); match IGPMBackup_Impl::ID(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -353,7 +353,7 @@ impl IGPMBackup_Vtbl { let this = (*this).get_impl(); match IGPMBackup_Impl::GPOID(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -364,7 +364,7 @@ impl IGPMBackup_Vtbl { let this = (*this).get_impl(); match IGPMBackup_Impl::GPODomain(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -375,7 +375,7 @@ impl IGPMBackup_Vtbl { let this = (*this).get_impl(); match IGPMBackup_Impl::GPODisplayName(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -386,7 +386,7 @@ impl IGPMBackup_Vtbl { let this = (*this).get_impl(); match IGPMBackup_Impl::Timestamp(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -397,7 +397,7 @@ impl IGPMBackup_Vtbl { let this = (*this).get_impl(); match IGPMBackup_Impl::Comment(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -408,7 +408,7 @@ impl IGPMBackup_Vtbl { let this = (*this).get_impl(); match IGPMBackup_Impl::BackupDir(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -424,7 +424,7 @@ impl IGPMBackup_Vtbl { let this = (*this).get_impl(); match IGPMBackup_Impl::GenerateReport(this, core::mem::transmute_copy(&gpmreporttype), core::mem::transmute_copy(&pvargpmprogress), core::mem::transmute_copy(&pvargpmcancel)) { Ok(ok__) => { - core::ptr::write(ppigpmresult, core::mem::transmute(ok__)); + ppigpmresult.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -435,7 +435,7 @@ impl IGPMBackup_Vtbl { let this = (*this).get_impl(); match IGPMBackup_Impl::GenerateReportToFile(this, core::mem::transmute_copy(&gpmreporttype), core::mem::transmute(&bstrtargetfilepath)) { Ok(ok__) => { - core::ptr::write(ppigpmresult, core::mem::transmute(ok__)); + ppigpmresult.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -475,7 +475,7 @@ impl IGPMBackupCollection_Vtbl { let this = (*this).get_impl(); match IGPMBackupCollection_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -486,7 +486,7 @@ impl IGPMBackupCollection_Vtbl { let this = (*this).get_impl(); match IGPMBackupCollection_Impl::get_Item(this, core::mem::transmute_copy(&lindex)) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -497,7 +497,7 @@ impl IGPMBackupCollection_Vtbl { let this = (*this).get_impl(); match IGPMBackupCollection_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(ppigpmbackup, core::mem::transmute(ok__)); + ppigpmbackup.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -530,7 +530,7 @@ impl IGPMBackupDir_Vtbl { let this = (*this).get_impl(); match IGPMBackupDir_Impl::BackupDirectory(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -541,7 +541,7 @@ impl IGPMBackupDir_Vtbl { let this = (*this).get_impl(); match IGPMBackupDir_Impl::GetBackup(this, core::mem::transmute(&bstrid)) { Ok(ok__) => { - core::ptr::write(ppbackup, core::mem::transmute(ok__)); + ppbackup.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -552,7 +552,7 @@ impl IGPMBackupDir_Vtbl { let this = (*this).get_impl(); match IGPMBackupDir_Impl::SearchBackups(this, windows_core::from_raw_borrowed(&pigpmsearchcriteria)) { Ok(ok__) => { - core::ptr::write(ppigpmbackupcollection, core::mem::transmute(ok__)); + ppigpmbackupcollection.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -586,7 +586,7 @@ impl IGPMBackupDirEx_Vtbl { let this = (*this).get_impl(); match IGPMBackupDirEx_Impl::BackupDir(this) { Ok(ok__) => { - core::ptr::write(pbstrbackupdir, core::mem::transmute(ok__)); + pbstrbackupdir.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -597,7 +597,7 @@ impl IGPMBackupDirEx_Vtbl { let this = (*this).get_impl(); match IGPMBackupDirEx_Impl::BackupType(this) { Ok(ok__) => { - core::ptr::write(pgpmbackuptype, core::mem::transmute(ok__)); + pgpmbackuptype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -608,7 +608,7 @@ impl IGPMBackupDirEx_Vtbl { let this = (*this).get_impl(); match IGPMBackupDirEx_Impl::GetBackup(this, core::mem::transmute(&bstrid)) { Ok(ok__) => { - core::ptr::write(pvarbackup, core::mem::transmute(ok__)); + pvarbackup.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -619,7 +619,7 @@ impl IGPMBackupDirEx_Vtbl { let this = (*this).get_impl(); match IGPMBackupDirEx_Impl::SearchBackups(this, windows_core::from_raw_borrowed(&pigpmsearchcriteria)) { Ok(ok__) => { - core::ptr::write(pvarbackupcollection, core::mem::transmute(ok__)); + pvarbackupcollection.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -653,7 +653,7 @@ impl IGPMCSECollection_Vtbl { let this = (*this).get_impl(); match IGPMCSECollection_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -664,7 +664,7 @@ impl IGPMCSECollection_Vtbl { let this = (*this).get_impl(); match IGPMCSECollection_Impl::get_Item(this, core::mem::transmute_copy(&lindex)) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -675,7 +675,7 @@ impl IGPMCSECollection_Vtbl { let this = (*this).get_impl(); match IGPMCSECollection_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(ppigpmcses, core::mem::transmute(ok__)); + ppigpmcses.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -709,7 +709,7 @@ impl IGPMClientSideExtension_Vtbl { let this = (*this).get_impl(); match IGPMClientSideExtension_Impl::ID(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -720,7 +720,7 @@ impl IGPMClientSideExtension_Vtbl { let this = (*this).get_impl(); match IGPMClientSideExtension_Impl::DisplayName(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -731,7 +731,7 @@ impl IGPMClientSideExtension_Vtbl { let this = (*this).get_impl(); match IGPMClientSideExtension_Impl::IsUserEnabled(this) { Ok(ok__) => { - core::ptr::write(pvbenabled, core::mem::transmute(ok__)); + pvbenabled.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -742,7 +742,7 @@ impl IGPMClientSideExtension_Vtbl { let this = (*this).get_impl(); match IGPMClientSideExtension_Impl::IsComputerEnabled(this) { Ok(ok__) => { - core::ptr::write(pvbenabled, core::mem::transmute(ok__)); + pvbenabled.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -833,7 +833,7 @@ impl IGPMConstants_Vtbl { let this = (*this).get_impl(); match IGPMConstants_Impl::PermGPOApply(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -844,7 +844,7 @@ impl IGPMConstants_Vtbl { let this = (*this).get_impl(); match IGPMConstants_Impl::PermGPORead(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -855,7 +855,7 @@ impl IGPMConstants_Vtbl { let this = (*this).get_impl(); match IGPMConstants_Impl::PermGPOEdit(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -866,7 +866,7 @@ impl IGPMConstants_Vtbl { let this = (*this).get_impl(); match IGPMConstants_Impl::PermGPOEditSecurityAndDelete(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -877,7 +877,7 @@ impl IGPMConstants_Vtbl { let this = (*this).get_impl(); match IGPMConstants_Impl::PermGPOCustom(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -888,7 +888,7 @@ impl IGPMConstants_Vtbl { let this = (*this).get_impl(); match IGPMConstants_Impl::PermWMIFilterEdit(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -899,7 +899,7 @@ impl IGPMConstants_Vtbl { let this = (*this).get_impl(); match IGPMConstants_Impl::PermWMIFilterFullControl(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -910,7 +910,7 @@ impl IGPMConstants_Vtbl { let this = (*this).get_impl(); match IGPMConstants_Impl::PermWMIFilterCustom(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -921,7 +921,7 @@ impl IGPMConstants_Vtbl { let this = (*this).get_impl(); match IGPMConstants_Impl::PermSOMLink(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -932,7 +932,7 @@ impl IGPMConstants_Vtbl { let this = (*this).get_impl(); match IGPMConstants_Impl::PermSOMLogging(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -943,7 +943,7 @@ impl IGPMConstants_Vtbl { let this = (*this).get_impl(); match IGPMConstants_Impl::PermSOMPlanning(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -954,7 +954,7 @@ impl IGPMConstants_Vtbl { let this = (*this).get_impl(); match IGPMConstants_Impl::PermSOMGPOCreate(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -965,7 +965,7 @@ impl IGPMConstants_Vtbl { let this = (*this).get_impl(); match IGPMConstants_Impl::PermSOMWMICreate(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -976,7 +976,7 @@ impl IGPMConstants_Vtbl { let this = (*this).get_impl(); match IGPMConstants_Impl::PermSOMWMIFullControl(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -987,7 +987,7 @@ impl IGPMConstants_Vtbl { let this = (*this).get_impl(); match IGPMConstants_Impl::SearchPropertyGPOPermissions(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -998,7 +998,7 @@ impl IGPMConstants_Vtbl { let this = (*this).get_impl(); match IGPMConstants_Impl::SearchPropertyGPOEffectivePermissions(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1009,7 +1009,7 @@ impl IGPMConstants_Vtbl { let this = (*this).get_impl(); match IGPMConstants_Impl::SearchPropertyGPODisplayName(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1020,7 +1020,7 @@ impl IGPMConstants_Vtbl { let this = (*this).get_impl(); match IGPMConstants_Impl::SearchPropertyGPOWMIFilter(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1031,7 +1031,7 @@ impl IGPMConstants_Vtbl { let this = (*this).get_impl(); match IGPMConstants_Impl::SearchPropertyGPOID(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1042,7 +1042,7 @@ impl IGPMConstants_Vtbl { let this = (*this).get_impl(); match IGPMConstants_Impl::SearchPropertyGPOComputerExtensions(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1053,7 +1053,7 @@ impl IGPMConstants_Vtbl { let this = (*this).get_impl(); match IGPMConstants_Impl::SearchPropertyGPOUserExtensions(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1064,7 +1064,7 @@ impl IGPMConstants_Vtbl { let this = (*this).get_impl(); match IGPMConstants_Impl::SearchPropertySOMLinks(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1075,7 +1075,7 @@ impl IGPMConstants_Vtbl { let this = (*this).get_impl(); match IGPMConstants_Impl::SearchPropertyGPODomain(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1086,7 +1086,7 @@ impl IGPMConstants_Vtbl { let this = (*this).get_impl(); match IGPMConstants_Impl::SearchPropertyBackupMostRecent(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1097,7 +1097,7 @@ impl IGPMConstants_Vtbl { let this = (*this).get_impl(); match IGPMConstants_Impl::SearchOpEquals(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1108,7 +1108,7 @@ impl IGPMConstants_Vtbl { let this = (*this).get_impl(); match IGPMConstants_Impl::SearchOpContains(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1119,7 +1119,7 @@ impl IGPMConstants_Vtbl { let this = (*this).get_impl(); match IGPMConstants_Impl::SearchOpNotContains(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1130,7 +1130,7 @@ impl IGPMConstants_Vtbl { let this = (*this).get_impl(); match IGPMConstants_Impl::SearchOpNotEquals(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1141,7 +1141,7 @@ impl IGPMConstants_Vtbl { let this = (*this).get_impl(); match IGPMConstants_Impl::UsePDC(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1152,7 +1152,7 @@ impl IGPMConstants_Vtbl { let this = (*this).get_impl(); match IGPMConstants_Impl::UseAnyDC(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1163,7 +1163,7 @@ impl IGPMConstants_Vtbl { let this = (*this).get_impl(); match IGPMConstants_Impl::DoNotUseW2KDC(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1174,7 +1174,7 @@ impl IGPMConstants_Vtbl { let this = (*this).get_impl(); match IGPMConstants_Impl::SOMSite(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1185,7 +1185,7 @@ impl IGPMConstants_Vtbl { let this = (*this).get_impl(); match IGPMConstants_Impl::SOMDomain(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1196,7 +1196,7 @@ impl IGPMConstants_Vtbl { let this = (*this).get_impl(); match IGPMConstants_Impl::SOMOU(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1207,7 +1207,7 @@ impl IGPMConstants_Vtbl { let this = (*this).get_impl(); match IGPMConstants_Impl::get_SecurityFlags(this, core::mem::transmute_copy(&vbowner), core::mem::transmute_copy(&vbgroup), core::mem::transmute_copy(&vbdacl), core::mem::transmute_copy(&vbsacl)) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1218,7 +1218,7 @@ impl IGPMConstants_Vtbl { let this = (*this).get_impl(); match IGPMConstants_Impl::DoNotValidateDC(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1229,7 +1229,7 @@ impl IGPMConstants_Vtbl { let this = (*this).get_impl(); match IGPMConstants_Impl::ReportHTML(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1240,7 +1240,7 @@ impl IGPMConstants_Vtbl { let this = (*this).get_impl(); match IGPMConstants_Impl::ReportXML(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1251,7 +1251,7 @@ impl IGPMConstants_Vtbl { let this = (*this).get_impl(); match IGPMConstants_Impl::RSOPModeUnknown(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1262,7 +1262,7 @@ impl IGPMConstants_Vtbl { let this = (*this).get_impl(); match IGPMConstants_Impl::RSOPModePlanning(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1273,7 +1273,7 @@ impl IGPMConstants_Vtbl { let this = (*this).get_impl(); match IGPMConstants_Impl::RSOPModeLogging(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1284,7 +1284,7 @@ impl IGPMConstants_Vtbl { let this = (*this).get_impl(); match IGPMConstants_Impl::EntryTypeUser(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1295,7 +1295,7 @@ impl IGPMConstants_Vtbl { let this = (*this).get_impl(); match IGPMConstants_Impl::EntryTypeComputer(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1306,7 +1306,7 @@ impl IGPMConstants_Vtbl { let this = (*this).get_impl(); match IGPMConstants_Impl::EntryTypeLocalGroup(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1317,7 +1317,7 @@ impl IGPMConstants_Vtbl { let this = (*this).get_impl(); match IGPMConstants_Impl::EntryTypeGlobalGroup(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1328,7 +1328,7 @@ impl IGPMConstants_Vtbl { let this = (*this).get_impl(); match IGPMConstants_Impl::EntryTypeUniversalGroup(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1339,7 +1339,7 @@ impl IGPMConstants_Vtbl { let this = (*this).get_impl(); match IGPMConstants_Impl::EntryTypeUNCPath(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1350,7 +1350,7 @@ impl IGPMConstants_Vtbl { let this = (*this).get_impl(); match IGPMConstants_Impl::EntryTypeUnknown(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1361,7 +1361,7 @@ impl IGPMConstants_Vtbl { let this = (*this).get_impl(); match IGPMConstants_Impl::DestinationOptionSameAsSource(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1372,7 +1372,7 @@ impl IGPMConstants_Vtbl { let this = (*this).get_impl(); match IGPMConstants_Impl::DestinationOptionNone(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1383,7 +1383,7 @@ impl IGPMConstants_Vtbl { let this = (*this).get_impl(); match IGPMConstants_Impl::DestinationOptionByRelativeName(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1394,7 +1394,7 @@ impl IGPMConstants_Vtbl { let this = (*this).get_impl(); match IGPMConstants_Impl::DestinationOptionSet(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1405,7 +1405,7 @@ impl IGPMConstants_Vtbl { let this = (*this).get_impl(); match IGPMConstants_Impl::MigrationTableOnly(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1416,7 +1416,7 @@ impl IGPMConstants_Vtbl { let this = (*this).get_impl(); match IGPMConstants_Impl::ProcessSecurity(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1427,7 +1427,7 @@ impl IGPMConstants_Vtbl { let this = (*this).get_impl(); match IGPMConstants_Impl::RsopLoggingNoComputer(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1438,7 +1438,7 @@ impl IGPMConstants_Vtbl { let this = (*this).get_impl(); match IGPMConstants_Impl::RsopLoggingNoUser(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1449,7 +1449,7 @@ impl IGPMConstants_Vtbl { let this = (*this).get_impl(); match IGPMConstants_Impl::RsopPlanningAssumeSlowLink(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1460,7 +1460,7 @@ impl IGPMConstants_Vtbl { let this = (*this).get_impl(); match IGPMConstants_Impl::get_RsopPlanningLoopbackOption(this, core::mem::transmute_copy(&vbmerge)) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1471,7 +1471,7 @@ impl IGPMConstants_Vtbl { let this = (*this).get_impl(); match IGPMConstants_Impl::RsopPlanningAssumeUserWQLFilterTrue(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1482,7 +1482,7 @@ impl IGPMConstants_Vtbl { let this = (*this).get_impl(); match IGPMConstants_Impl::RsopPlanningAssumeCompWQLFilterTrue(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1584,7 +1584,7 @@ impl IGPMConstants2_Vtbl { let this = (*this).get_impl(); match IGPMConstants2_Impl::BackupTypeGPO(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1595,7 +1595,7 @@ impl IGPMConstants2_Vtbl { let this = (*this).get_impl(); match IGPMConstants2_Impl::BackupTypeStarterGPO(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1606,7 +1606,7 @@ impl IGPMConstants2_Vtbl { let this = (*this).get_impl(); match IGPMConstants2_Impl::StarterGPOTypeSystem(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1617,7 +1617,7 @@ impl IGPMConstants2_Vtbl { let this = (*this).get_impl(); match IGPMConstants2_Impl::StarterGPOTypeCustom(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1628,7 +1628,7 @@ impl IGPMConstants2_Vtbl { let this = (*this).get_impl(); match IGPMConstants2_Impl::SearchPropertyStarterGPOPermissions(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1639,7 +1639,7 @@ impl IGPMConstants2_Vtbl { let this = (*this).get_impl(); match IGPMConstants2_Impl::SearchPropertyStarterGPOEffectivePermissions(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1650,7 +1650,7 @@ impl IGPMConstants2_Vtbl { let this = (*this).get_impl(); match IGPMConstants2_Impl::SearchPropertyStarterGPODisplayName(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1661,7 +1661,7 @@ impl IGPMConstants2_Vtbl { let this = (*this).get_impl(); match IGPMConstants2_Impl::SearchPropertyStarterGPOID(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1672,7 +1672,7 @@ impl IGPMConstants2_Vtbl { let this = (*this).get_impl(); match IGPMConstants2_Impl::SearchPropertyStarterGPODomain(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1683,7 +1683,7 @@ impl IGPMConstants2_Vtbl { let this = (*this).get_impl(); match IGPMConstants2_Impl::PermStarterGPORead(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1694,7 +1694,7 @@ impl IGPMConstants2_Vtbl { let this = (*this).get_impl(); match IGPMConstants2_Impl::PermStarterGPOEdit(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1705,7 +1705,7 @@ impl IGPMConstants2_Vtbl { let this = (*this).get_impl(); match IGPMConstants2_Impl::PermStarterGPOFullControl(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1716,7 +1716,7 @@ impl IGPMConstants2_Vtbl { let this = (*this).get_impl(); match IGPMConstants2_Impl::PermStarterGPOCustom(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1727,7 +1727,7 @@ impl IGPMConstants2_Vtbl { let this = (*this).get_impl(); match IGPMConstants2_Impl::ReportLegacy(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1738,7 +1738,7 @@ impl IGPMConstants2_Vtbl { let this = (*this).get_impl(); match IGPMConstants2_Impl::ReportComments(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1790,7 +1790,7 @@ impl IGPMDomain_Vtbl { let this = (*this).get_impl(); match IGPMDomain_Impl::DomainController(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1801,7 +1801,7 @@ impl IGPMDomain_Vtbl { let this = (*this).get_impl(); match IGPMDomain_Impl::Domain(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1812,7 +1812,7 @@ impl IGPMDomain_Vtbl { let this = (*this).get_impl(); match IGPMDomain_Impl::CreateGPO(this) { Ok(ok__) => { - core::ptr::write(ppnewgpo, core::mem::transmute(ok__)); + ppnewgpo.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1823,7 +1823,7 @@ impl IGPMDomain_Vtbl { let this = (*this).get_impl(); match IGPMDomain_Impl::GetGPO(this, core::mem::transmute(&bstrguid)) { Ok(ok__) => { - core::ptr::write(ppgpo, core::mem::transmute(ok__)); + ppgpo.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1834,7 +1834,7 @@ impl IGPMDomain_Vtbl { let this = (*this).get_impl(); match IGPMDomain_Impl::SearchGPOs(this, windows_core::from_raw_borrowed(&pigpmsearchcriteria)) { Ok(ok__) => { - core::ptr::write(ppigpmgpocollection, core::mem::transmute(ok__)); + ppigpmgpocollection.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1845,7 +1845,7 @@ impl IGPMDomain_Vtbl { let this = (*this).get_impl(); match IGPMDomain_Impl::RestoreGPO(this, windows_core::from_raw_borrowed(&pigpmbackup), core::mem::transmute_copy(&ldcflags), core::mem::transmute_copy(&pvargpmprogress), core::mem::transmute_copy(&pvargpmcancel)) { Ok(ok__) => { - core::ptr::write(ppigpmresult, core::mem::transmute(ok__)); + ppigpmresult.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1856,7 +1856,7 @@ impl IGPMDomain_Vtbl { let this = (*this).get_impl(); match IGPMDomain_Impl::GetSOM(this, core::mem::transmute(&bstrpath)) { Ok(ok__) => { - core::ptr::write(ppsom, core::mem::transmute(ok__)); + ppsom.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1867,7 +1867,7 @@ impl IGPMDomain_Vtbl { let this = (*this).get_impl(); match IGPMDomain_Impl::SearchSOMs(this, windows_core::from_raw_borrowed(&pigpmsearchcriteria)) { Ok(ok__) => { - core::ptr::write(ppigpmsomcollection, core::mem::transmute(ok__)); + ppigpmsomcollection.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1878,7 +1878,7 @@ impl IGPMDomain_Vtbl { let this = (*this).get_impl(); match IGPMDomain_Impl::GetWMIFilter(this, core::mem::transmute(&bstrpath)) { Ok(ok__) => { - core::ptr::write(ppwmifilter, core::mem::transmute(ok__)); + ppwmifilter.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1889,7 +1889,7 @@ impl IGPMDomain_Vtbl { let this = (*this).get_impl(); match IGPMDomain_Impl::SearchWMIFilters(this, windows_core::from_raw_borrowed(&pigpmsearchcriteria)) { Ok(ok__) => { - core::ptr::write(ppigpmwmifiltercollection, core::mem::transmute(ok__)); + ppigpmwmifiltercollection.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1932,7 +1932,7 @@ impl IGPMDomain2_Vtbl { let this = (*this).get_impl(); match IGPMDomain2_Impl::CreateStarterGPO(this) { Ok(ok__) => { - core::ptr::write(ppnewtemplate, core::mem::transmute(ok__)); + ppnewtemplate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1943,7 +1943,7 @@ impl IGPMDomain2_Vtbl { let this = (*this).get_impl(); match IGPMDomain2_Impl::CreateGPOFromStarterGPO(this, windows_core::from_raw_borrowed(&pgpotemplate)) { Ok(ok__) => { - core::ptr::write(ppnewgpo, core::mem::transmute(ok__)); + ppnewgpo.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1954,7 +1954,7 @@ impl IGPMDomain2_Vtbl { let this = (*this).get_impl(); match IGPMDomain2_Impl::GetStarterGPO(this, core::mem::transmute(&bstrguid)) { Ok(ok__) => { - core::ptr::write(pptemplate, core::mem::transmute(ok__)); + pptemplate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1965,7 +1965,7 @@ impl IGPMDomain2_Vtbl { let this = (*this).get_impl(); match IGPMDomain2_Impl::SearchStarterGPOs(this, windows_core::from_raw_borrowed(&pigpmsearchcriteria)) { Ok(ok__) => { - core::ptr::write(ppigpmtemplatecollection, core::mem::transmute(ok__)); + ppigpmtemplatecollection.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1976,7 +1976,7 @@ impl IGPMDomain2_Vtbl { let this = (*this).get_impl(); match IGPMDomain2_Impl::LoadStarterGPO(this, core::mem::transmute(&bstrloadfile), core::mem::transmute_copy(&boverwrite), core::mem::transmute_copy(&pvargpmprogress), core::mem::transmute_copy(&pvargpmcancel)) { Ok(ok__) => { - core::ptr::write(ppigpmresult, core::mem::transmute(ok__)); + ppigpmresult.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1987,7 +1987,7 @@ impl IGPMDomain2_Vtbl { let this = (*this).get_impl(); match IGPMDomain2_Impl::RestoreStarterGPO(this, windows_core::from_raw_borrowed(&pigpmtmplbackup), core::mem::transmute_copy(&pvargpmprogress), core::mem::transmute_copy(&pvargpmcancel)) { Ok(ok__) => { - core::ptr::write(ppigpmresult, core::mem::transmute(ok__)); + ppigpmresult.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2024,7 +2024,7 @@ impl IGPMDomain3_Vtbl { let this = (*this).get_impl(); match IGPMDomain3_Impl::GenerateReport(this, core::mem::transmute_copy(&gpmreporttype), core::mem::transmute_copy(&pvargpmprogress), core::mem::transmute_copy(&pvargpmcancel)) { Ok(ok__) => { - core::ptr::write(ppigpmresult, core::mem::transmute(ok__)); + ppigpmresult.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2035,7 +2035,7 @@ impl IGPMDomain3_Vtbl { let this = (*this).get_impl(); match IGPMDomain3_Impl::InfrastructureDC(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2105,7 +2105,7 @@ impl IGPMGPO_Vtbl { let this = (*this).get_impl(); match IGPMGPO_Impl::DisplayName(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2121,7 +2121,7 @@ impl IGPMGPO_Vtbl { let this = (*this).get_impl(); match IGPMGPO_Impl::Path(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2132,7 +2132,7 @@ impl IGPMGPO_Vtbl { let this = (*this).get_impl(); match IGPMGPO_Impl::ID(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2143,7 +2143,7 @@ impl IGPMGPO_Vtbl { let this = (*this).get_impl(); match IGPMGPO_Impl::DomainName(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2154,7 +2154,7 @@ impl IGPMGPO_Vtbl { let this = (*this).get_impl(); match IGPMGPO_Impl::CreationTime(this) { Ok(ok__) => { - core::ptr::write(pdate, core::mem::transmute(ok__)); + pdate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2165,7 +2165,7 @@ impl IGPMGPO_Vtbl { let this = (*this).get_impl(); match IGPMGPO_Impl::ModificationTime(this) { Ok(ok__) => { - core::ptr::write(pdate, core::mem::transmute(ok__)); + pdate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2176,7 +2176,7 @@ impl IGPMGPO_Vtbl { let this = (*this).get_impl(); match IGPMGPO_Impl::UserDSVersionNumber(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2187,7 +2187,7 @@ impl IGPMGPO_Vtbl { let this = (*this).get_impl(); match IGPMGPO_Impl::ComputerDSVersionNumber(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2198,7 +2198,7 @@ impl IGPMGPO_Vtbl { let this = (*this).get_impl(); match IGPMGPO_Impl::UserSysvolVersionNumber(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2209,7 +2209,7 @@ impl IGPMGPO_Vtbl { let this = (*this).get_impl(); match IGPMGPO_Impl::ComputerSysvolVersionNumber(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2220,7 +2220,7 @@ impl IGPMGPO_Vtbl { let this = (*this).get_impl(); match IGPMGPO_Impl::GetWMIFilter(this) { Ok(ok__) => { - core::ptr::write(ppigpmwmifilter, core::mem::transmute(ok__)); + ppigpmwmifilter.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2246,7 +2246,7 @@ impl IGPMGPO_Vtbl { let this = (*this).get_impl(); match IGPMGPO_Impl::IsUserEnabled(this) { Ok(ok__) => { - core::ptr::write(pvbenabled, core::mem::transmute(ok__)); + pvbenabled.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2257,7 +2257,7 @@ impl IGPMGPO_Vtbl { let this = (*this).get_impl(); match IGPMGPO_Impl::IsComputerEnabled(this) { Ok(ok__) => { - core::ptr::write(pvbenabled, core::mem::transmute(ok__)); + pvbenabled.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2268,7 +2268,7 @@ impl IGPMGPO_Vtbl { let this = (*this).get_impl(); match IGPMGPO_Impl::GetSecurityInfo(this) { Ok(ok__) => { - core::ptr::write(ppsecurityinfo, core::mem::transmute(ok__)); + ppsecurityinfo.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2289,7 +2289,7 @@ impl IGPMGPO_Vtbl { let this = (*this).get_impl(); match IGPMGPO_Impl::Backup(this, core::mem::transmute(&bstrbackupdir), core::mem::transmute(&bstrcomment), core::mem::transmute_copy(&pvargpmprogress), core::mem::transmute_copy(&pvargpmcancel)) { Ok(ok__) => { - core::ptr::write(ppigpmresult, core::mem::transmute(ok__)); + ppigpmresult.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2300,7 +2300,7 @@ impl IGPMGPO_Vtbl { let this = (*this).get_impl(); match IGPMGPO_Impl::Import(this, core::mem::transmute_copy(&lflags), windows_core::from_raw_borrowed(&pigpmbackup), core::mem::transmute_copy(&pvarmigrationtable), core::mem::transmute_copy(&pvargpmprogress), core::mem::transmute_copy(&pvargpmcancel)) { Ok(ok__) => { - core::ptr::write(ppigpmresult, core::mem::transmute(ok__)); + ppigpmresult.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2311,7 +2311,7 @@ impl IGPMGPO_Vtbl { let this = (*this).get_impl(); match IGPMGPO_Impl::GenerateReport(this, core::mem::transmute_copy(&gpmreporttype), core::mem::transmute_copy(&pvargpmprogress), core::mem::transmute_copy(&pvargpmcancel)) { Ok(ok__) => { - core::ptr::write(ppigpmresult, core::mem::transmute(ok__)); + ppigpmresult.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2322,7 +2322,7 @@ impl IGPMGPO_Vtbl { let this = (*this).get_impl(); match IGPMGPO_Impl::GenerateReportToFile(this, core::mem::transmute_copy(&gpmreporttype), core::mem::transmute(&bstrtargetfilepath)) { Ok(ok__) => { - core::ptr::write(ppigpmresult, core::mem::transmute(ok__)); + ppigpmresult.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2333,7 +2333,7 @@ impl IGPMGPO_Vtbl { let this = (*this).get_impl(); match IGPMGPO_Impl::CopyTo(this, core::mem::transmute_copy(&lflags), windows_core::from_raw_borrowed(&pigpmdomain), core::mem::transmute_copy(&pvarnewdisplayname), core::mem::transmute_copy(&pvarmigrationtable), core::mem::transmute_copy(&pvargpmprogress), core::mem::transmute_copy(&pvargpmcancel)) { Ok(ok__) => { - core::ptr::write(ppigpmresult, core::mem::transmute(ok__)); + ppigpmresult.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2349,7 +2349,7 @@ impl IGPMGPO_Vtbl { let this = (*this).get_impl(); match IGPMGPO_Impl::GetSecurityDescriptor(this, core::mem::transmute_copy(&lflags)) { Ok(ok__) => { - core::ptr::write(ppsd, core::mem::transmute(ok__)); + ppsd.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2360,7 +2360,7 @@ impl IGPMGPO_Vtbl { let this = (*this).get_impl(); match IGPMGPO_Impl::IsACLConsistent(this) { Ok(ok__) => { - core::ptr::write(pvbconsistent, core::mem::transmute(ok__)); + pvbconsistent.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2423,7 +2423,7 @@ impl IGPMGPO2_Vtbl { let this = (*this).get_impl(); match IGPMGPO2_Impl::Description(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2460,7 +2460,7 @@ impl IGPMGPO3_Vtbl { let this = (*this).get_impl(); match IGPMGPO3_Impl::InfrastructureDC(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2503,7 +2503,7 @@ impl IGPMGPOCollection_Vtbl { let this = (*this).get_impl(); match IGPMGPOCollection_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2514,7 +2514,7 @@ impl IGPMGPOCollection_Vtbl { let this = (*this).get_impl(); match IGPMGPOCollection_Impl::get_Item(this, core::mem::transmute_copy(&lindex)) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2525,7 +2525,7 @@ impl IGPMGPOCollection_Vtbl { let this = (*this).get_impl(); match IGPMGPOCollection_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(ppigpmgpos, core::mem::transmute(ok__)); + ppigpmgpos.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2564,7 +2564,7 @@ impl IGPMGPOLink_Vtbl { let this = (*this).get_impl(); match IGPMGPOLink_Impl::GPOID(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2575,7 +2575,7 @@ impl IGPMGPOLink_Vtbl { let this = (*this).get_impl(); match IGPMGPOLink_Impl::GPODomain(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2586,7 +2586,7 @@ impl IGPMGPOLink_Vtbl { let this = (*this).get_impl(); match IGPMGPOLink_Impl::Enabled(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2602,7 +2602,7 @@ impl IGPMGPOLink_Vtbl { let this = (*this).get_impl(); match IGPMGPOLink_Impl::Enforced(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2618,7 +2618,7 @@ impl IGPMGPOLink_Vtbl { let this = (*this).get_impl(); match IGPMGPOLink_Impl::SOMLinkOrder(this) { Ok(ok__) => { - core::ptr::write(lval, core::mem::transmute(ok__)); + lval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2629,7 +2629,7 @@ impl IGPMGPOLink_Vtbl { let this = (*this).get_impl(); match IGPMGPOLink_Impl::SOM(this) { Ok(ok__) => { - core::ptr::write(ppigpmsom, core::mem::transmute(ok__)); + ppigpmsom.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2673,7 +2673,7 @@ impl IGPMGPOLinksCollection_Vtbl { let this = (*this).get_impl(); match IGPMGPOLinksCollection_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2684,7 +2684,7 @@ impl IGPMGPOLinksCollection_Vtbl { let this = (*this).get_impl(); match IGPMGPOLinksCollection_Impl::get_Item(this, core::mem::transmute_copy(&lindex)) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2695,7 +2695,7 @@ impl IGPMGPOLinksCollection_Vtbl { let this = (*this).get_impl(); match IGPMGPOLinksCollection_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(ppigpmlinks, core::mem::transmute(ok__)); + ppigpmlinks.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2729,7 +2729,7 @@ impl IGPMMapEntry_Vtbl { let this = (*this).get_impl(); match IGPMMapEntry_Impl::Source(this) { Ok(ok__) => { - core::ptr::write(pbstrsource, core::mem::transmute(ok__)); + pbstrsource.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2740,7 +2740,7 @@ impl IGPMMapEntry_Vtbl { let this = (*this).get_impl(); match IGPMMapEntry_Impl::Destination(this) { Ok(ok__) => { - core::ptr::write(pbstrdestination, core::mem::transmute(ok__)); + pbstrdestination.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2751,7 +2751,7 @@ impl IGPMMapEntry_Vtbl { let this = (*this).get_impl(); match IGPMMapEntry_Impl::DestinationOption(this) { Ok(ok__) => { - core::ptr::write(pgpmdestoption, core::mem::transmute(ok__)); + pgpmdestoption.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2762,7 +2762,7 @@ impl IGPMMapEntry_Vtbl { let this = (*this).get_impl(); match IGPMMapEntry_Impl::EntryType(this) { Ok(ok__) => { - core::ptr::write(pgpmentrytype, core::mem::transmute(ok__)); + pgpmentrytype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2796,7 +2796,7 @@ impl IGPMMapEntryCollection_Vtbl { let this = (*this).get_impl(); match IGPMMapEntryCollection_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2807,7 +2807,7 @@ impl IGPMMapEntryCollection_Vtbl { let this = (*this).get_impl(); match IGPMMapEntryCollection_Impl::get_Item(this, core::mem::transmute_copy(&lindex)) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2818,7 +2818,7 @@ impl IGPMMapEntryCollection_Vtbl { let this = (*this).get_impl(); match IGPMMapEntryCollection_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2866,7 +2866,7 @@ impl IGPMMigrationTable_Vtbl { let this = (*this).get_impl(); match IGPMMigrationTable_Impl::AddEntry(this, core::mem::transmute(&bstrsource), core::mem::transmute_copy(&gpmentrytype), core::mem::transmute_copy(&pvardestination)) { Ok(ok__) => { - core::ptr::write(ppentry, core::mem::transmute(ok__)); + ppentry.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2877,7 +2877,7 @@ impl IGPMMigrationTable_Vtbl { let this = (*this).get_impl(); match IGPMMigrationTable_Impl::GetEntry(this, core::mem::transmute(&bstrsource)) { Ok(ok__) => { - core::ptr::write(ppentry, core::mem::transmute(ok__)); + ppentry.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2893,7 +2893,7 @@ impl IGPMMigrationTable_Vtbl { let this = (*this).get_impl(); match IGPMMigrationTable_Impl::UpdateDestination(this, core::mem::transmute(&bstrsource), core::mem::transmute_copy(&pvardestination)) { Ok(ok__) => { - core::ptr::write(ppentry, core::mem::transmute(ok__)); + ppentry.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2904,7 +2904,7 @@ impl IGPMMigrationTable_Vtbl { let this = (*this).get_impl(); match IGPMMigrationTable_Impl::Validate(this) { Ok(ok__) => { - core::ptr::write(ppresult, core::mem::transmute(ok__)); + ppresult.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2915,7 +2915,7 @@ impl IGPMMigrationTable_Vtbl { let this = (*this).get_impl(); match IGPMMigrationTable_Impl::GetEntries(this) { Ok(ok__) => { - core::ptr::write(ppentries, core::mem::transmute(ok__)); + ppentries.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2955,7 +2955,7 @@ impl IGPMPermission_Vtbl { let this = (*this).get_impl(); match IGPMPermission_Impl::Inherited(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2966,7 +2966,7 @@ impl IGPMPermission_Vtbl { let this = (*this).get_impl(); match IGPMPermission_Impl::Inheritable(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2977,7 +2977,7 @@ impl IGPMPermission_Vtbl { let this = (*this).get_impl(); match IGPMPermission_Impl::Denied(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2988,7 +2988,7 @@ impl IGPMPermission_Vtbl { let this = (*this).get_impl(); match IGPMPermission_Impl::Permission(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2999,7 +2999,7 @@ impl IGPMPermission_Vtbl { let this = (*this).get_impl(); match IGPMPermission_Impl::Trustee(this) { Ok(ok__) => { - core::ptr::write(ppigpmtrustee, core::mem::transmute(ok__)); + ppigpmtrustee.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3066,7 +3066,7 @@ impl IGPMRSOP_Vtbl { let this = (*this).get_impl(); match IGPMRSOP_Impl::Mode(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3077,7 +3077,7 @@ impl IGPMRSOP_Vtbl { let this = (*this).get_impl(); match IGPMRSOP_Impl::Namespace(this) { Ok(ok__) => { - core::ptr::write(bstrval, core::mem::transmute(ok__)); + bstrval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3093,7 +3093,7 @@ impl IGPMRSOP_Vtbl { let this = (*this).get_impl(); match IGPMRSOP_Impl::LoggingComputer(this) { Ok(ok__) => { - core::ptr::write(bstrval, core::mem::transmute(ok__)); + bstrval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3109,7 +3109,7 @@ impl IGPMRSOP_Vtbl { let this = (*this).get_impl(); match IGPMRSOP_Impl::LoggingUser(this) { Ok(ok__) => { - core::ptr::write(bstrval, core::mem::transmute(ok__)); + bstrval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3125,7 +3125,7 @@ impl IGPMRSOP_Vtbl { let this = (*this).get_impl(); match IGPMRSOP_Impl::LoggingFlags(this) { Ok(ok__) => { - core::ptr::write(lval, core::mem::transmute(ok__)); + lval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3141,7 +3141,7 @@ impl IGPMRSOP_Vtbl { let this = (*this).get_impl(); match IGPMRSOP_Impl::PlanningFlags(this) { Ok(ok__) => { - core::ptr::write(lval, core::mem::transmute(ok__)); + lval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3157,7 +3157,7 @@ impl IGPMRSOP_Vtbl { let this = (*this).get_impl(); match IGPMRSOP_Impl::PlanningDomainController(this) { Ok(ok__) => { - core::ptr::write(bstrval, core::mem::transmute(ok__)); + bstrval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3173,7 +3173,7 @@ impl IGPMRSOP_Vtbl { let this = (*this).get_impl(); match IGPMRSOP_Impl::PlanningSiteName(this) { Ok(ok__) => { - core::ptr::write(bstrval, core::mem::transmute(ok__)); + bstrval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3189,7 +3189,7 @@ impl IGPMRSOP_Vtbl { let this = (*this).get_impl(); match IGPMRSOP_Impl::PlanningUser(this) { Ok(ok__) => { - core::ptr::write(bstrval, core::mem::transmute(ok__)); + bstrval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3205,7 +3205,7 @@ impl IGPMRSOP_Vtbl { let this = (*this).get_impl(); match IGPMRSOP_Impl::PlanningUserSOM(this) { Ok(ok__) => { - core::ptr::write(bstrval, core::mem::transmute(ok__)); + bstrval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3221,7 +3221,7 @@ impl IGPMRSOP_Vtbl { let this = (*this).get_impl(); match IGPMRSOP_Impl::PlanningUserWMIFilters(this) { Ok(ok__) => { - core::ptr::write(varval, core::mem::transmute(ok__)); + varval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3237,7 +3237,7 @@ impl IGPMRSOP_Vtbl { let this = (*this).get_impl(); match IGPMRSOP_Impl::PlanningUserSecurityGroups(this) { Ok(ok__) => { - core::ptr::write(varval, core::mem::transmute(ok__)); + varval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3253,7 +3253,7 @@ impl IGPMRSOP_Vtbl { let this = (*this).get_impl(); match IGPMRSOP_Impl::PlanningComputer(this) { Ok(ok__) => { - core::ptr::write(bstrval, core::mem::transmute(ok__)); + bstrval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3269,7 +3269,7 @@ impl IGPMRSOP_Vtbl { let this = (*this).get_impl(); match IGPMRSOP_Impl::PlanningComputerSOM(this) { Ok(ok__) => { - core::ptr::write(bstrval, core::mem::transmute(ok__)); + bstrval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3285,7 +3285,7 @@ impl IGPMRSOP_Vtbl { let this = (*this).get_impl(); match IGPMRSOP_Impl::PlanningComputerWMIFilters(this) { Ok(ok__) => { - core::ptr::write(varval, core::mem::transmute(ok__)); + varval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3301,7 +3301,7 @@ impl IGPMRSOP_Vtbl { let this = (*this).get_impl(); match IGPMRSOP_Impl::PlanningComputerSecurityGroups(this) { Ok(ok__) => { - core::ptr::write(varval, core::mem::transmute(ok__)); + varval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3312,7 +3312,7 @@ impl IGPMRSOP_Vtbl { let this = (*this).get_impl(); match IGPMRSOP_Impl::LoggingEnumerateUsers(this) { Ok(ok__) => { - core::ptr::write(varval, core::mem::transmute(ok__)); + varval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3333,7 +3333,7 @@ impl IGPMRSOP_Vtbl { let this = (*this).get_impl(); match IGPMRSOP_Impl::GenerateReport(this, core::mem::transmute_copy(&gpmreporttype), core::mem::transmute_copy(&pvargpmprogress), core::mem::transmute_copy(&pvargpmcancel)) { Ok(ok__) => { - core::ptr::write(ppigpmresult, core::mem::transmute(ok__)); + ppigpmresult.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3344,7 +3344,7 @@ impl IGPMRSOP_Vtbl { let this = (*this).get_impl(); match IGPMRSOP_Impl::GenerateReportToFile(this, core::mem::transmute_copy(&gpmreporttype), core::mem::transmute(&bstrtargetfilepath)) { Ok(ok__) => { - core::ptr::write(ppigpmresult, core::mem::transmute(ok__)); + ppigpmresult.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3409,7 +3409,7 @@ impl IGPMResult_Vtbl { let this = (*this).get_impl(); match IGPMResult_Impl::Status(this) { Ok(ok__) => { - core::ptr::write(ppigpmstatusmsgcollection, core::mem::transmute(ok__)); + ppigpmstatusmsgcollection.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3420,7 +3420,7 @@ impl IGPMResult_Vtbl { let this = (*this).get_impl(); match IGPMResult_Impl::Result(this) { Ok(ok__) => { - core::ptr::write(pvarresult, core::mem::transmute(ok__)); + pvarresult.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3465,7 +3465,7 @@ impl IGPMSOM_Vtbl { let this = (*this).get_impl(); match IGPMSOM_Impl::GPOInheritanceBlocked(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3481,7 +3481,7 @@ impl IGPMSOM_Vtbl { let this = (*this).get_impl(); match IGPMSOM_Impl::Name(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3492,7 +3492,7 @@ impl IGPMSOM_Vtbl { let this = (*this).get_impl(); match IGPMSOM_Impl::Path(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3503,7 +3503,7 @@ impl IGPMSOM_Vtbl { let this = (*this).get_impl(); match IGPMSOM_Impl::CreateGPOLink(this, core::mem::transmute_copy(&llinkpos), windows_core::from_raw_borrowed(&pgpo)) { Ok(ok__) => { - core::ptr::write(ppnewgpolink, core::mem::transmute(ok__)); + ppnewgpolink.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3514,7 +3514,7 @@ impl IGPMSOM_Vtbl { let this = (*this).get_impl(); match IGPMSOM_Impl::Type(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3525,7 +3525,7 @@ impl IGPMSOM_Vtbl { let this = (*this).get_impl(); match IGPMSOM_Impl::GetGPOLinks(this) { Ok(ok__) => { - core::ptr::write(ppgpolinks, core::mem::transmute(ok__)); + ppgpolinks.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3536,7 +3536,7 @@ impl IGPMSOM_Vtbl { let this = (*this).get_impl(); match IGPMSOM_Impl::GetInheritedGPOLinks(this) { Ok(ok__) => { - core::ptr::write(ppgpolinks, core::mem::transmute(ok__)); + ppgpolinks.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3547,7 +3547,7 @@ impl IGPMSOM_Vtbl { let this = (*this).get_impl(); match IGPMSOM_Impl::GetSecurityInfo(this) { Ok(ok__) => { - core::ptr::write(ppsecurityinfo, core::mem::transmute(ok__)); + ppsecurityinfo.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3592,7 +3592,7 @@ impl IGPMSOMCollection_Vtbl { let this = (*this).get_impl(); match IGPMSOMCollection_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3603,7 +3603,7 @@ impl IGPMSOMCollection_Vtbl { let this = (*this).get_impl(); match IGPMSOMCollection_Impl::get_Item(this, core::mem::transmute_copy(&lindex)) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3614,7 +3614,7 @@ impl IGPMSOMCollection_Vtbl { let this = (*this).get_impl(); match IGPMSOMCollection_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(ppigpmsom, core::mem::transmute(ok__)); + ppigpmsom.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3670,7 +3670,7 @@ impl IGPMSecurityInfo_Vtbl { let this = (*this).get_impl(); match IGPMSecurityInfo_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3681,7 +3681,7 @@ impl IGPMSecurityInfo_Vtbl { let this = (*this).get_impl(); match IGPMSecurityInfo_Impl::get_Item(this, core::mem::transmute_copy(&lindex)) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3692,7 +3692,7 @@ impl IGPMSecurityInfo_Vtbl { let this = (*this).get_impl(); match IGPMSecurityInfo_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3745,7 +3745,7 @@ impl IGPMSitesContainer_Vtbl { let this = (*this).get_impl(); match IGPMSitesContainer_Impl::DomainController(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3756,7 +3756,7 @@ impl IGPMSitesContainer_Vtbl { let this = (*this).get_impl(); match IGPMSitesContainer_Impl::Domain(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3767,7 +3767,7 @@ impl IGPMSitesContainer_Vtbl { let this = (*this).get_impl(); match IGPMSitesContainer_Impl::Forest(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3778,7 +3778,7 @@ impl IGPMSitesContainer_Vtbl { let this = (*this).get_impl(); match IGPMSitesContainer_Impl::GetSite(this, core::mem::transmute(&bstrsitename)) { Ok(ok__) => { - core::ptr::write(ppsom, core::mem::transmute(ok__)); + ppsom.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3789,7 +3789,7 @@ impl IGPMSitesContainer_Vtbl { let this = (*this).get_impl(); match IGPMSitesContainer_Impl::SearchSites(this, windows_core::from_raw_borrowed(&pigpmsearchcriteria)) { Ok(ok__) => { - core::ptr::write(ppigpmsomcollection, core::mem::transmute(ok__)); + ppigpmsomcollection.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3842,7 +3842,7 @@ impl IGPMStarterGPO_Vtbl { let this = (*this).get_impl(); match IGPMStarterGPO_Impl::DisplayName(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3858,7 +3858,7 @@ impl IGPMStarterGPO_Vtbl { let this = (*this).get_impl(); match IGPMStarterGPO_Impl::Description(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3874,7 +3874,7 @@ impl IGPMStarterGPO_Vtbl { let this = (*this).get_impl(); match IGPMStarterGPO_Impl::Author(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3885,7 +3885,7 @@ impl IGPMStarterGPO_Vtbl { let this = (*this).get_impl(); match IGPMStarterGPO_Impl::Product(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3896,7 +3896,7 @@ impl IGPMStarterGPO_Vtbl { let this = (*this).get_impl(); match IGPMStarterGPO_Impl::CreationTime(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3907,7 +3907,7 @@ impl IGPMStarterGPO_Vtbl { let this = (*this).get_impl(); match IGPMStarterGPO_Impl::ID(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3918,7 +3918,7 @@ impl IGPMStarterGPO_Vtbl { let this = (*this).get_impl(); match IGPMStarterGPO_Impl::ModifiedTime(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3929,7 +3929,7 @@ impl IGPMStarterGPO_Vtbl { let this = (*this).get_impl(); match IGPMStarterGPO_Impl::Type(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3940,7 +3940,7 @@ impl IGPMStarterGPO_Vtbl { let this = (*this).get_impl(); match IGPMStarterGPO_Impl::ComputerVersion(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3951,7 +3951,7 @@ impl IGPMStarterGPO_Vtbl { let this = (*this).get_impl(); match IGPMStarterGPO_Impl::UserVersion(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3962,7 +3962,7 @@ impl IGPMStarterGPO_Vtbl { let this = (*this).get_impl(); match IGPMStarterGPO_Impl::StarterGPOVersion(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3991,7 +3991,7 @@ impl IGPMStarterGPO_Vtbl { let this = (*this).get_impl(); match IGPMStarterGPO_Impl::Save(this, core::mem::transmute(&bstrsavefile), core::mem::transmute_copy(&boverwrite), core::mem::transmute_copy(&bsaveassystem), core::mem::transmute_copy(&bstrlanguage), core::mem::transmute_copy(&bstrauthor), core::mem::transmute_copy(&bstrproduct), core::mem::transmute_copy(&bstruniqueid), core::mem::transmute_copy(&bstrversion), core::mem::transmute_copy(&pvargpmprogress), core::mem::transmute_copy(&pvargpmcancel)) { Ok(ok__) => { - core::ptr::write(ppigpmresult, core::mem::transmute(ok__)); + ppigpmresult.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4002,7 +4002,7 @@ impl IGPMStarterGPO_Vtbl { let this = (*this).get_impl(); match IGPMStarterGPO_Impl::Backup(this, core::mem::transmute(&bstrbackupdir), core::mem::transmute(&bstrcomment), core::mem::transmute_copy(&pvargpmprogress), core::mem::transmute_copy(&pvargpmcancel)) { Ok(ok__) => { - core::ptr::write(ppigpmresult, core::mem::transmute(ok__)); + ppigpmresult.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4013,7 +4013,7 @@ impl IGPMStarterGPO_Vtbl { let this = (*this).get_impl(); match IGPMStarterGPO_Impl::CopyTo(this, core::mem::transmute_copy(&pvarnewdisplayname), core::mem::transmute_copy(&pvargpmprogress), core::mem::transmute_copy(&pvargpmcancel)) { Ok(ok__) => { - core::ptr::write(ppigpmresult, core::mem::transmute(ok__)); + ppigpmresult.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4024,7 +4024,7 @@ impl IGPMStarterGPO_Vtbl { let this = (*this).get_impl(); match IGPMStarterGPO_Impl::GenerateReport(this, core::mem::transmute_copy(&gpmreporttype), core::mem::transmute_copy(&pvargpmprogress), core::mem::transmute_copy(&pvargpmcancel)) { Ok(ok__) => { - core::ptr::write(ppigpmresult, core::mem::transmute(ok__)); + ppigpmresult.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4035,7 +4035,7 @@ impl IGPMStarterGPO_Vtbl { let this = (*this).get_impl(); match IGPMStarterGPO_Impl::GenerateReportToFile(this, core::mem::transmute_copy(&gpmreporttype), core::mem::transmute(&bstrtargetfilepath)) { Ok(ok__) => { - core::ptr::write(ppigpmresult, core::mem::transmute(ok__)); + ppigpmresult.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4046,7 +4046,7 @@ impl IGPMStarterGPO_Vtbl { let this = (*this).get_impl(); match IGPMStarterGPO_Impl::GetSecurityInfo(this) { Ok(ok__) => { - core::ptr::write(ppsecurityinfo, core::mem::transmute(ok__)); + ppsecurityinfo.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4110,7 +4110,7 @@ impl IGPMStarterGPOBackup_Vtbl { let this = (*this).get_impl(); match IGPMStarterGPOBackup_Impl::BackupDir(this) { Ok(ok__) => { - core::ptr::write(pbstrbackupdir, core::mem::transmute(ok__)); + pbstrbackupdir.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4121,7 +4121,7 @@ impl IGPMStarterGPOBackup_Vtbl { let this = (*this).get_impl(); match IGPMStarterGPOBackup_Impl::Comment(this) { Ok(ok__) => { - core::ptr::write(pbstrcomment, core::mem::transmute(ok__)); + pbstrcomment.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4132,7 +4132,7 @@ impl IGPMStarterGPOBackup_Vtbl { let this = (*this).get_impl(); match IGPMStarterGPOBackup_Impl::DisplayName(this) { Ok(ok__) => { - core::ptr::write(pbstrdisplayname, core::mem::transmute(ok__)); + pbstrdisplayname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4143,7 +4143,7 @@ impl IGPMStarterGPOBackup_Vtbl { let this = (*this).get_impl(); match IGPMStarterGPOBackup_Impl::Domain(this) { Ok(ok__) => { - core::ptr::write(pbstrtemplatedomain, core::mem::transmute(ok__)); + pbstrtemplatedomain.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4154,7 +4154,7 @@ impl IGPMStarterGPOBackup_Vtbl { let this = (*this).get_impl(); match IGPMStarterGPOBackup_Impl::StarterGPOID(this) { Ok(ok__) => { - core::ptr::write(pbstrtemplateid, core::mem::transmute(ok__)); + pbstrtemplateid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4165,7 +4165,7 @@ impl IGPMStarterGPOBackup_Vtbl { let this = (*this).get_impl(); match IGPMStarterGPOBackup_Impl::ID(this) { Ok(ok__) => { - core::ptr::write(pbstrid, core::mem::transmute(ok__)); + pbstrid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4176,7 +4176,7 @@ impl IGPMStarterGPOBackup_Vtbl { let this = (*this).get_impl(); match IGPMStarterGPOBackup_Impl::Timestamp(this) { Ok(ok__) => { - core::ptr::write(ptimestamp, core::mem::transmute(ok__)); + ptimestamp.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4187,7 +4187,7 @@ impl IGPMStarterGPOBackup_Vtbl { let this = (*this).get_impl(); match IGPMStarterGPOBackup_Impl::Type(this) { Ok(ok__) => { - core::ptr::write(ptype, core::mem::transmute(ok__)); + ptype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4203,7 +4203,7 @@ impl IGPMStarterGPOBackup_Vtbl { let this = (*this).get_impl(); match IGPMStarterGPOBackup_Impl::GenerateReport(this, core::mem::transmute_copy(&gpmreporttype), core::mem::transmute_copy(&pvargpmprogress), core::mem::transmute_copy(&pvargpmcancel)) { Ok(ok__) => { - core::ptr::write(ppigpmresult, core::mem::transmute(ok__)); + ppigpmresult.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4214,7 +4214,7 @@ impl IGPMStarterGPOBackup_Vtbl { let this = (*this).get_impl(); match IGPMStarterGPOBackup_Impl::GenerateReportToFile(this, core::mem::transmute_copy(&gpmreporttype), core::mem::transmute(&bstrtargetfilepath)) { Ok(ok__) => { - core::ptr::write(ppigpmresult, core::mem::transmute(ok__)); + ppigpmresult.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4255,7 +4255,7 @@ impl IGPMStarterGPOBackupCollection_Vtbl { let this = (*this).get_impl(); match IGPMStarterGPOBackupCollection_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4266,7 +4266,7 @@ impl IGPMStarterGPOBackupCollection_Vtbl { let this = (*this).get_impl(); match IGPMStarterGPOBackupCollection_Impl::get_Item(this, core::mem::transmute_copy(&lindex)) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4277,7 +4277,7 @@ impl IGPMStarterGPOBackupCollection_Vtbl { let this = (*this).get_impl(); match IGPMStarterGPOBackupCollection_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(ppigpmtmplbackup, core::mem::transmute(ok__)); + ppigpmtmplbackup.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4310,7 +4310,7 @@ impl IGPMStarterGPOCollection_Vtbl { let this = (*this).get_impl(); match IGPMStarterGPOCollection_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4321,7 +4321,7 @@ impl IGPMStarterGPOCollection_Vtbl { let this = (*this).get_impl(); match IGPMStarterGPOCollection_Impl::get_Item(this, core::mem::transmute_copy(&lindex)) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4332,7 +4332,7 @@ impl IGPMStarterGPOCollection_Vtbl { let this = (*this).get_impl(); match IGPMStarterGPOCollection_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(ppigpmtemplates, core::mem::transmute(ok__)); + ppigpmtemplates.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4368,7 +4368,7 @@ impl IGPMStatusMessage_Vtbl { let this = (*this).get_impl(); match IGPMStatusMessage_Impl::ObjectPath(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4384,7 +4384,7 @@ impl IGPMStatusMessage_Vtbl { let this = (*this).get_impl(); match IGPMStatusMessage_Impl::ExtensionName(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4395,7 +4395,7 @@ impl IGPMStatusMessage_Vtbl { let this = (*this).get_impl(); match IGPMStatusMessage_Impl::SettingsName(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4411,7 +4411,7 @@ impl IGPMStatusMessage_Vtbl { let this = (*this).get_impl(); match IGPMStatusMessage_Impl::Message(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4447,7 +4447,7 @@ impl IGPMStatusMsgCollection_Vtbl { let this = (*this).get_impl(); match IGPMStatusMsgCollection_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4458,7 +4458,7 @@ impl IGPMStatusMsgCollection_Vtbl { let this = (*this).get_impl(); match IGPMStatusMsgCollection_Impl::get_Item(this, core::mem::transmute_copy(&lindex)) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4469,7 +4469,7 @@ impl IGPMStatusMsgCollection_Vtbl { let this = (*this).get_impl(); match IGPMStatusMsgCollection_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4504,7 +4504,7 @@ impl IGPMTrustee_Vtbl { let this = (*this).get_impl(); match IGPMTrustee_Impl::TrusteeSid(this) { Ok(ok__) => { - core::ptr::write(bstrval, core::mem::transmute(ok__)); + bstrval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4515,7 +4515,7 @@ impl IGPMTrustee_Vtbl { let this = (*this).get_impl(); match IGPMTrustee_Impl::TrusteeName(this) { Ok(ok__) => { - core::ptr::write(bstrval, core::mem::transmute(ok__)); + bstrval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4526,7 +4526,7 @@ impl IGPMTrustee_Vtbl { let this = (*this).get_impl(); match IGPMTrustee_Impl::TrusteeDomain(this) { Ok(ok__) => { - core::ptr::write(bstrval, core::mem::transmute(ok__)); + bstrval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4537,7 +4537,7 @@ impl IGPMTrustee_Vtbl { let this = (*this).get_impl(); match IGPMTrustee_Impl::TrusteeDSPath(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4548,7 +4548,7 @@ impl IGPMTrustee_Vtbl { let this = (*this).get_impl(); match IGPMTrustee_Impl::TrusteeType(this) { Ok(ok__) => { - core::ptr::write(lval, core::mem::transmute(ok__)); + lval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4588,7 +4588,7 @@ impl IGPMWMIFilter_Vtbl { let this = (*this).get_impl(); match IGPMWMIFilter_Impl::Path(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4604,7 +4604,7 @@ impl IGPMWMIFilter_Vtbl { let this = (*this).get_impl(); match IGPMWMIFilter_Impl::Name(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4620,7 +4620,7 @@ impl IGPMWMIFilter_Vtbl { let this = (*this).get_impl(); match IGPMWMIFilter_Impl::Description(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4631,7 +4631,7 @@ impl IGPMWMIFilter_Vtbl { let this = (*this).get_impl(); match IGPMWMIFilter_Impl::GetQueryList(this) { Ok(ok__) => { - core::ptr::write(pqrylist, core::mem::transmute(ok__)); + pqrylist.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4642,7 +4642,7 @@ impl IGPMWMIFilter_Vtbl { let this = (*this).get_impl(); match IGPMWMIFilter_Impl::GetSecurityInfo(this) { Ok(ok__) => { - core::ptr::write(ppsecurityinfo, core::mem::transmute(ok__)); + ppsecurityinfo.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4685,7 +4685,7 @@ impl IGPMWMIFilterCollection_Vtbl { let this = (*this).get_impl(); match IGPMWMIFilterCollection_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4696,7 +4696,7 @@ impl IGPMWMIFilterCollection_Vtbl { let this = (*this).get_impl(); match IGPMWMIFilterCollection_Impl::get_Item(this, core::mem::transmute_copy(&lindex)) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4707,7 +4707,7 @@ impl IGPMWMIFilterCollection_Vtbl { let this = (*this).get_impl(); match IGPMWMIFilterCollection_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4889,7 +4889,7 @@ impl IRSOPInformation_Vtbl { let this = (*this).get_impl(); match IRSOPInformation_Impl::GetEventLogEntryText(this, core::mem::transmute(&pszeventsource), core::mem::transmute(&pszeventlogname), core::mem::transmute(&pszeventtime), core::mem::transmute_copy(&dweventid)) { Ok(ok__) => { - core::ptr::write(ppsztext, core::mem::transmute(ok__)); + ppsztext.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/Win32/System/Iis/impl.rs b/crates/libs/windows/src/Windows/Win32/System/Iis/impl.rs index b95240dfa5..775c6ba74d 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Iis/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Iis/impl.rs @@ -42,7 +42,7 @@ impl AsyncIFtpAuthorizationProvider_Vtbl { let this = (*this).get_impl(); match AsyncIFtpAuthorizationProvider_Impl::Finish_GetUserAccessPermission(this) { Ok(ok__) => { - core::ptr::write(pftpaccess, core::mem::transmute(ok__)); + pftpaccess.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -75,7 +75,7 @@ impl AsyncIFtpHomeDirectoryProvider_Vtbl { let this = (*this).get_impl(); match AsyncIFtpHomeDirectoryProvider_Impl::Finish_GetUserHomeDirectoryData(this) { Ok(ok__) => { - core::ptr::write(ppszhomedirectorydata, core::mem::transmute(ok__)); + ppszhomedirectorydata.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -135,7 +135,7 @@ impl AsyncIFtpPostprocessProvider_Vtbl { let this = (*this).get_impl(); match AsyncIFtpPostprocessProvider_Impl::Finish_HandlePostprocess(this) { Ok(ok__) => { - core::ptr::write(pftpprocessstatus, core::mem::transmute(ok__)); + pftpprocessstatus.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -168,7 +168,7 @@ impl AsyncIFtpPreprocessProvider_Vtbl { let this = (*this).get_impl(); match AsyncIFtpPreprocessProvider_Impl::Finish_HandlePreprocess(this) { Ok(ok__) => { - core::ptr::write(pftpprocessstatus, core::mem::transmute(ok__)); + pftpprocessstatus.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -201,7 +201,7 @@ impl AsyncIFtpRoleProvider_Vtbl { let this = (*this).get_impl(); match AsyncIFtpRoleProvider_Impl::Finish_IsUserInRole(this) { Ok(ok__) => { - core::ptr::write(pfisinrole, core::mem::transmute(ok__)); + pfisinrole.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -320,7 +320,7 @@ impl IFtpAuthorizationProvider_Vtbl { let this = (*this).get_impl(); match IFtpAuthorizationProvider_Impl::GetUserAccessPermission(this, core::mem::transmute(&pszsessionid), core::mem::transmute(&pszsitename), core::mem::transmute(&pszvirtualpath), core::mem::transmute(&pszusername)) { Ok(ok__) => { - core::ptr::write(pftpaccess, core::mem::transmute(ok__)); + pftpaccess.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -343,7 +343,7 @@ impl IFtpHomeDirectoryProvider_Vtbl { let this = (*this).get_impl(); match IFtpHomeDirectoryProvider_Impl::GetUserHomeDirectoryData(this, core::mem::transmute(&pszsessionid), core::mem::transmute(&pszsitename), core::mem::transmute(&pszusername)) { Ok(ok__) => { - core::ptr::write(ppszhomedirectorydata, core::mem::transmute(ok__)); + ppszhomedirectorydata.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -383,7 +383,7 @@ impl IFtpPostprocessProvider_Vtbl { let this = (*this).get_impl(); match IFtpPostprocessProvider_Impl::HandlePostprocess(this, core::mem::transmute_copy(&ppostprocessparameters)) { Ok(ok__) => { - core::ptr::write(pftpprocessstatus, core::mem::transmute(ok__)); + pftpprocessstatus.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -406,7 +406,7 @@ impl IFtpPreprocessProvider_Vtbl { let this = (*this).get_impl(); match IFtpPreprocessProvider_Impl::HandlePreprocess(this, core::mem::transmute_copy(&ppreprocessparameters)) { Ok(ok__) => { - core::ptr::write(pftpprocessstatus, core::mem::transmute(ok__)); + pftpprocessstatus.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -449,7 +449,7 @@ impl IFtpRoleProvider_Vtbl { let this = (*this).get_impl(); match IFtpRoleProvider_Impl::IsUserInRole(this, core::mem::transmute(&pszsessionid), core::mem::transmute(&pszsitename), core::mem::transmute(&pszusername), core::mem::transmute(&pszrole)) { Ok(ok__) => { - core::ptr::write(pfisinrole, core::mem::transmute(ok__)); + pfisinrole.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -671,7 +671,7 @@ impl IMSAdminBaseW_Vtbl { let this = (*this).get_impl(); match IMSAdminBaseW_Impl::OpenKey(this, core::mem::transmute_copy(&hmdhandle), core::mem::transmute(&pszmdpath), core::mem::transmute_copy(&dwmdaccessrequested), core::mem::transmute_copy(&dwmdtimeout)) { Ok(ok__) => { - core::ptr::write(phmdnewhandle, core::mem::transmute(ok__)); + phmdnewhandle.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -697,7 +697,7 @@ impl IMSAdminBaseW_Vtbl { let this = (*this).get_impl(); match IMSAdminBaseW_Impl::GetHandleInfo(this, core::mem::transmute_copy(&hmdhandle)) { Ok(ok__) => { - core::ptr::write(pmdhiinfo, core::mem::transmute(ok__)); + pmdhiinfo.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -708,7 +708,7 @@ impl IMSAdminBaseW_Vtbl { let this = (*this).get_impl(); match IMSAdminBaseW_Impl::GetSystemChangeNumber(this) { Ok(ok__) => { - core::ptr::write(pdwsystemchangenumber, core::mem::transmute(ok__)); + pdwsystemchangenumber.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -719,7 +719,7 @@ impl IMSAdminBaseW_Vtbl { let this = (*this).get_impl(); match IMSAdminBaseW_Impl::GetDataSetNumber(this, core::mem::transmute_copy(&hmdhandle), core::mem::transmute(&pszmdpath)) { Ok(ok__) => { - core::ptr::write(pdwmddatasetnumber, core::mem::transmute(ok__)); + pdwmddatasetnumber.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -770,7 +770,7 @@ impl IMSAdminBaseW_Vtbl { let this = (*this).get_impl(); match IMSAdminBaseW_Impl::UnmarshalInterface(this) { Ok(ok__) => { - core::ptr::write(piadmbwinterface, core::mem::transmute(ok__)); + piadmbwinterface.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/Win32/System/MessageQueuing/impl.rs b/crates/libs/windows/src/Windows/Win32/System/MessageQueuing/impl.rs index 80214bc043..b52e70a32a 100644 --- a/crates/libs/windows/src/Windows/Win32/System/MessageQueuing/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/MessageQueuing/impl.rs @@ -12,7 +12,7 @@ impl IMSMQApplication_Vtbl { let this = (*this).get_impl(); match IMSMQApplication_Impl::MachineIdOfMachineName(this, core::mem::transmute(&machinename)) { Ok(ok__) => { - core::ptr::write(pbstrguid, core::mem::transmute(ok__)); + pbstrguid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -49,7 +49,7 @@ impl IMSMQApplication2_Vtbl { let this = (*this).get_impl(); match IMSMQApplication2_Impl::MachineNameOfMachineId(this, core::mem::transmute(&bstrguid)) { Ok(ok__) => { - core::ptr::write(pbstrmachinename, core::mem::transmute(ok__)); + pbstrmachinename.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -60,7 +60,7 @@ impl IMSMQApplication2_Vtbl { let this = (*this).get_impl(); match IMSMQApplication2_Impl::MSMQVersionMajor(this) { Ok(ok__) => { - core::ptr::write(psmsmqversionmajor, core::mem::transmute(ok__)); + psmsmqversionmajor.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -71,7 +71,7 @@ impl IMSMQApplication2_Vtbl { let this = (*this).get_impl(); match IMSMQApplication2_Impl::MSMQVersionMinor(this) { Ok(ok__) => { - core::ptr::write(psmsmqversionminor, core::mem::transmute(ok__)); + psmsmqversionminor.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -82,7 +82,7 @@ impl IMSMQApplication2_Vtbl { let this = (*this).get_impl(); match IMSMQApplication2_Impl::MSMQVersionBuild(this) { Ok(ok__) => { - core::ptr::write(psmsmqversionbuild, core::mem::transmute(ok__)); + psmsmqversionbuild.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -93,7 +93,7 @@ impl IMSMQApplication2_Vtbl { let this = (*this).get_impl(); match IMSMQApplication2_Impl::IsDsEnabled(this) { Ok(ok__) => { - core::ptr::write(pfisdsenabled, core::mem::transmute(ok__)); + pfisdsenabled.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -104,7 +104,7 @@ impl IMSMQApplication2_Vtbl { let this = (*this).get_impl(); match IMSMQApplication2_Impl::Properties(this) { Ok(ok__) => { - core::ptr::write(ppcolproperties, core::mem::transmute(ok__)); + ppcolproperties.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -148,7 +148,7 @@ impl IMSMQApplication3_Vtbl { let this = (*this).get_impl(); match IMSMQApplication3_Impl::ActiveQueues(this) { Ok(ok__) => { - core::ptr::write(pvactivequeues, core::mem::transmute(ok__)); + pvactivequeues.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -159,7 +159,7 @@ impl IMSMQApplication3_Vtbl { let this = (*this).get_impl(); match IMSMQApplication3_Impl::PrivateQueues(this) { Ok(ok__) => { - core::ptr::write(pvprivatequeues, core::mem::transmute(ok__)); + pvprivatequeues.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -170,7 +170,7 @@ impl IMSMQApplication3_Vtbl { let this = (*this).get_impl(); match IMSMQApplication3_Impl::DirectoryServiceServer(this) { Ok(ok__) => { - core::ptr::write(pbstrdirectoryserviceserver, core::mem::transmute(ok__)); + pbstrdirectoryserviceserver.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -181,7 +181,7 @@ impl IMSMQApplication3_Vtbl { let this = (*this).get_impl(); match IMSMQApplication3_Impl::IsConnected(this) { Ok(ok__) => { - core::ptr::write(pfisconnected, core::mem::transmute(ok__)); + pfisconnected.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -192,7 +192,7 @@ impl IMSMQApplication3_Vtbl { let this = (*this).get_impl(); match IMSMQApplication3_Impl::BytesInAllQueues(this) { Ok(ok__) => { - core::ptr::write(pvbytesinallqueues, core::mem::transmute(ok__)); + pvbytesinallqueues.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -208,7 +208,7 @@ impl IMSMQApplication3_Vtbl { let this = (*this).get_impl(); match IMSMQApplication3_Impl::Machine(this) { Ok(ok__) => { - core::ptr::write(pbstrmachine, core::mem::transmute(ok__)); + pbstrmachine.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -263,7 +263,7 @@ impl IMSMQCollection_Vtbl { let this = (*this).get_impl(); match IMSMQCollection_Impl::Item(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(pvarret, core::mem::transmute(ok__)); + pvarret.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -274,7 +274,7 @@ impl IMSMQCollection_Vtbl { let this = (*this).get_impl(); match IMSMQCollection_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(pcount, core::mem::transmute(ok__)); + pcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -285,7 +285,7 @@ impl IMSMQCollection_Vtbl { let this = (*this).get_impl(); match IMSMQCollection_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(ppunk, core::mem::transmute(ok__)); + ppunk.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -316,7 +316,7 @@ impl IMSMQCoordinatedTransactionDispenser_Vtbl { let this = (*this).get_impl(); match IMSMQCoordinatedTransactionDispenser_Impl::BeginTransaction(this) { Ok(ok__) => { - core::ptr::write(ptransaction, core::mem::transmute(ok__)); + ptransaction.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -343,7 +343,7 @@ impl IMSMQCoordinatedTransactionDispenser2_Vtbl { let this = (*this).get_impl(); match IMSMQCoordinatedTransactionDispenser2_Impl::BeginTransaction(this) { Ok(ok__) => { - core::ptr::write(ptransaction, core::mem::transmute(ok__)); + ptransaction.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -354,7 +354,7 @@ impl IMSMQCoordinatedTransactionDispenser2_Vtbl { let this = (*this).get_impl(); match IMSMQCoordinatedTransactionDispenser2_Impl::Properties(this) { Ok(ok__) => { - core::ptr::write(ppcolproperties, core::mem::transmute(ok__)); + ppcolproperties.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -385,7 +385,7 @@ impl IMSMQCoordinatedTransactionDispenser3_Vtbl { let this = (*this).get_impl(); match IMSMQCoordinatedTransactionDispenser3_Impl::BeginTransaction(this) { Ok(ok__) => { - core::ptr::write(ptransaction, core::mem::transmute(ok__)); + ptransaction.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -396,7 +396,7 @@ impl IMSMQCoordinatedTransactionDispenser3_Vtbl { let this = (*this).get_impl(); match IMSMQCoordinatedTransactionDispenser3_Impl::Properties(this) { Ok(ok__) => { - core::ptr::write(ppcolproperties, core::mem::transmute(ok__)); + ppcolproperties.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -449,7 +449,7 @@ impl IMSMQDestination_Vtbl { let this = (*this).get_impl(); match IMSMQDestination_Impl::IsOpen(this) { Ok(ok__) => { - core::ptr::write(pfisopen, core::mem::transmute(ok__)); + pfisopen.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -460,7 +460,7 @@ impl IMSMQDestination_Vtbl { let this = (*this).get_impl(); match IMSMQDestination_Impl::IADs(this) { Ok(ok__) => { - core::ptr::write(ppiads, core::mem::transmute(ok__)); + ppiads.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -476,7 +476,7 @@ impl IMSMQDestination_Vtbl { let this = (*this).get_impl(); match IMSMQDestination_Impl::ADsPath(this) { Ok(ok__) => { - core::ptr::write(pbstradspath, core::mem::transmute(ok__)); + pbstradspath.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -492,7 +492,7 @@ impl IMSMQDestination_Vtbl { let this = (*this).get_impl(); match IMSMQDestination_Impl::PathName(this) { Ok(ok__) => { - core::ptr::write(pbstrpathname, core::mem::transmute(ok__)); + pbstrpathname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -508,7 +508,7 @@ impl IMSMQDestination_Vtbl { let this = (*this).get_impl(); match IMSMQDestination_Impl::FormatName(this) { Ok(ok__) => { - core::ptr::write(pbstrformatname, core::mem::transmute(ok__)); + pbstrformatname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -524,7 +524,7 @@ impl IMSMQDestination_Vtbl { let this = (*this).get_impl(); match IMSMQDestination_Impl::Destinations(this) { Ok(ok__) => { - core::ptr::write(ppdestinations, core::mem::transmute(ok__)); + ppdestinations.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -540,7 +540,7 @@ impl IMSMQDestination_Vtbl { let this = (*this).get_impl(); match IMSMQDestination_Impl::Properties(this) { Ok(ok__) => { - core::ptr::write(ppcolproperties, core::mem::transmute(ok__)); + ppcolproperties.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -595,7 +595,7 @@ impl IMSMQEvent2_Vtbl { let this = (*this).get_impl(); match IMSMQEvent2_Impl::Properties(this) { Ok(ok__) => { - core::ptr::write(ppcolproperties, core::mem::transmute(ok__)); + ppcolproperties.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -647,7 +647,7 @@ impl IMSMQManagement_Vtbl { let this = (*this).get_impl(); match IMSMQManagement_Impl::FormatName(this) { Ok(ok__) => { - core::ptr::write(pbstrformatname, core::mem::transmute(ok__)); + pbstrformatname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -658,7 +658,7 @@ impl IMSMQManagement_Vtbl { let this = (*this).get_impl(); match IMSMQManagement_Impl::Machine(this) { Ok(ok__) => { - core::ptr::write(pbstrmachine, core::mem::transmute(ok__)); + pbstrmachine.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -669,7 +669,7 @@ impl IMSMQManagement_Vtbl { let this = (*this).get_impl(); match IMSMQManagement_Impl::MessageCount(this) { Ok(ok__) => { - core::ptr::write(plmessagecount, core::mem::transmute(ok__)); + plmessagecount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -680,7 +680,7 @@ impl IMSMQManagement_Vtbl { let this = (*this).get_impl(); match IMSMQManagement_Impl::ForeignStatus(this) { Ok(ok__) => { - core::ptr::write(plforeignstatus, core::mem::transmute(ok__)); + plforeignstatus.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -691,7 +691,7 @@ impl IMSMQManagement_Vtbl { let this = (*this).get_impl(); match IMSMQManagement_Impl::QueueType(this) { Ok(ok__) => { - core::ptr::write(plqueuetype, core::mem::transmute(ok__)); + plqueuetype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -702,7 +702,7 @@ impl IMSMQManagement_Vtbl { let this = (*this).get_impl(); match IMSMQManagement_Impl::IsLocal(this) { Ok(ok__) => { - core::ptr::write(pfislocal, core::mem::transmute(ok__)); + pfislocal.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -713,7 +713,7 @@ impl IMSMQManagement_Vtbl { let this = (*this).get_impl(); match IMSMQManagement_Impl::TransactionalStatus(this) { Ok(ok__) => { - core::ptr::write(pltransactionalstatus, core::mem::transmute(ok__)); + pltransactionalstatus.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -724,7 +724,7 @@ impl IMSMQManagement_Vtbl { let this = (*this).get_impl(); match IMSMQManagement_Impl::BytesInQueue(this) { Ok(ok__) => { - core::ptr::write(pvbytesinqueue, core::mem::transmute(ok__)); + pvbytesinqueue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -809,7 +809,7 @@ impl IMSMQMessage_Vtbl { let this = (*this).get_impl(); match IMSMQMessage_Impl::Class(this) { Ok(ok__) => { - core::ptr::write(plclass, core::mem::transmute(ok__)); + plclass.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -820,7 +820,7 @@ impl IMSMQMessage_Vtbl { let this = (*this).get_impl(); match IMSMQMessage_Impl::PrivLevel(this) { Ok(ok__) => { - core::ptr::write(plprivlevel, core::mem::transmute(ok__)); + plprivlevel.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -836,7 +836,7 @@ impl IMSMQMessage_Vtbl { let this = (*this).get_impl(); match IMSMQMessage_Impl::AuthLevel(this) { Ok(ok__) => { - core::ptr::write(plauthlevel, core::mem::transmute(ok__)); + plauthlevel.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -852,7 +852,7 @@ impl IMSMQMessage_Vtbl { let this = (*this).get_impl(); match IMSMQMessage_Impl::IsAuthenticated(this) { Ok(ok__) => { - core::ptr::write(pisauthenticated, core::mem::transmute(ok__)); + pisauthenticated.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -863,7 +863,7 @@ impl IMSMQMessage_Vtbl { let this = (*this).get_impl(); match IMSMQMessage_Impl::Delivery(this) { Ok(ok__) => { - core::ptr::write(pldelivery, core::mem::transmute(ok__)); + pldelivery.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -879,7 +879,7 @@ impl IMSMQMessage_Vtbl { let this = (*this).get_impl(); match IMSMQMessage_Impl::Trace(this) { Ok(ok__) => { - core::ptr::write(pltrace, core::mem::transmute(ok__)); + pltrace.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -895,7 +895,7 @@ impl IMSMQMessage_Vtbl { let this = (*this).get_impl(); match IMSMQMessage_Impl::Priority(this) { Ok(ok__) => { - core::ptr::write(plpriority, core::mem::transmute(ok__)); + plpriority.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -911,7 +911,7 @@ impl IMSMQMessage_Vtbl { let this = (*this).get_impl(); match IMSMQMessage_Impl::Journal(this) { Ok(ok__) => { - core::ptr::write(pljournal, core::mem::transmute(ok__)); + pljournal.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -927,7 +927,7 @@ impl IMSMQMessage_Vtbl { let this = (*this).get_impl(); match IMSMQMessage_Impl::ResponseQueueInfo(this) { Ok(ok__) => { - core::ptr::write(ppqinforesponse, core::mem::transmute(ok__)); + ppqinforesponse.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -943,7 +943,7 @@ impl IMSMQMessage_Vtbl { let this = (*this).get_impl(); match IMSMQMessage_Impl::AppSpecific(this) { Ok(ok__) => { - core::ptr::write(plappspecific, core::mem::transmute(ok__)); + plappspecific.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -959,7 +959,7 @@ impl IMSMQMessage_Vtbl { let this = (*this).get_impl(); match IMSMQMessage_Impl::SourceMachineGuid(this) { Ok(ok__) => { - core::ptr::write(pbstrguidsrcmachine, core::mem::transmute(ok__)); + pbstrguidsrcmachine.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -970,7 +970,7 @@ impl IMSMQMessage_Vtbl { let this = (*this).get_impl(); match IMSMQMessage_Impl::BodyLength(this) { Ok(ok__) => { - core::ptr::write(pcbbody, core::mem::transmute(ok__)); + pcbbody.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -981,7 +981,7 @@ impl IMSMQMessage_Vtbl { let this = (*this).get_impl(); match IMSMQMessage_Impl::Body(this) { Ok(ok__) => { - core::ptr::write(pvarbody, core::mem::transmute(ok__)); + pvarbody.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -997,7 +997,7 @@ impl IMSMQMessage_Vtbl { let this = (*this).get_impl(); match IMSMQMessage_Impl::AdminQueueInfo(this) { Ok(ok__) => { - core::ptr::write(ppqinfoadmin, core::mem::transmute(ok__)); + ppqinfoadmin.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1013,7 +1013,7 @@ impl IMSMQMessage_Vtbl { let this = (*this).get_impl(); match IMSMQMessage_Impl::Id(this) { Ok(ok__) => { - core::ptr::write(pvarmsgid, core::mem::transmute(ok__)); + pvarmsgid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1024,7 +1024,7 @@ impl IMSMQMessage_Vtbl { let this = (*this).get_impl(); match IMSMQMessage_Impl::CorrelationId(this) { Ok(ok__) => { - core::ptr::write(pvarmsgid, core::mem::transmute(ok__)); + pvarmsgid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1040,7 +1040,7 @@ impl IMSMQMessage_Vtbl { let this = (*this).get_impl(); match IMSMQMessage_Impl::Ack(this) { Ok(ok__) => { - core::ptr::write(plack, core::mem::transmute(ok__)); + plack.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1056,7 +1056,7 @@ impl IMSMQMessage_Vtbl { let this = (*this).get_impl(); match IMSMQMessage_Impl::Label(this) { Ok(ok__) => { - core::ptr::write(pbstrlabel, core::mem::transmute(ok__)); + pbstrlabel.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1072,7 +1072,7 @@ impl IMSMQMessage_Vtbl { let this = (*this).get_impl(); match IMSMQMessage_Impl::MaxTimeToReachQueue(this) { Ok(ok__) => { - core::ptr::write(plmaxtimetoreachqueue, core::mem::transmute(ok__)); + plmaxtimetoreachqueue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1088,7 +1088,7 @@ impl IMSMQMessage_Vtbl { let this = (*this).get_impl(); match IMSMQMessage_Impl::MaxTimeToReceive(this) { Ok(ok__) => { - core::ptr::write(plmaxtimetoreceive, core::mem::transmute(ok__)); + plmaxtimetoreceive.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1104,7 +1104,7 @@ impl IMSMQMessage_Vtbl { let this = (*this).get_impl(); match IMSMQMessage_Impl::HashAlgorithm(this) { Ok(ok__) => { - core::ptr::write(plhashalg, core::mem::transmute(ok__)); + plhashalg.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1120,7 +1120,7 @@ impl IMSMQMessage_Vtbl { let this = (*this).get_impl(); match IMSMQMessage_Impl::EncryptAlgorithm(this) { Ok(ok__) => { - core::ptr::write(plencryptalg, core::mem::transmute(ok__)); + plencryptalg.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1136,7 +1136,7 @@ impl IMSMQMessage_Vtbl { let this = (*this).get_impl(); match IMSMQMessage_Impl::SentTime(this) { Ok(ok__) => { - core::ptr::write(pvarsenttime, core::mem::transmute(ok__)); + pvarsenttime.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1147,7 +1147,7 @@ impl IMSMQMessage_Vtbl { let this = (*this).get_impl(); match IMSMQMessage_Impl::ArrivedTime(this) { Ok(ok__) => { - core::ptr::write(plarrivedtime, core::mem::transmute(ok__)); + plarrivedtime.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1158,7 +1158,7 @@ impl IMSMQMessage_Vtbl { let this = (*this).get_impl(); match IMSMQMessage_Impl::DestinationQueueInfo(this) { Ok(ok__) => { - core::ptr::write(ppqinfodest, core::mem::transmute(ok__)); + ppqinfodest.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1169,7 +1169,7 @@ impl IMSMQMessage_Vtbl { let this = (*this).get_impl(); match IMSMQMessage_Impl::SenderCertificate(this) { Ok(ok__) => { - core::ptr::write(pvarsendercert, core::mem::transmute(ok__)); + pvarsendercert.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1185,7 +1185,7 @@ impl IMSMQMessage_Vtbl { let this = (*this).get_impl(); match IMSMQMessage_Impl::SenderId(this) { Ok(ok__) => { - core::ptr::write(pvarsenderid, core::mem::transmute(ok__)); + pvarsenderid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1196,7 +1196,7 @@ impl IMSMQMessage_Vtbl { let this = (*this).get_impl(); match IMSMQMessage_Impl::SenderIdType(this) { Ok(ok__) => { - core::ptr::write(plsenderidtype, core::mem::transmute(ok__)); + plsenderidtype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1362,7 +1362,7 @@ impl IMSMQMessage2_Vtbl { let this = (*this).get_impl(); match IMSMQMessage2_Impl::Class(this) { Ok(ok__) => { - core::ptr::write(plclass, core::mem::transmute(ok__)); + plclass.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1373,7 +1373,7 @@ impl IMSMQMessage2_Vtbl { let this = (*this).get_impl(); match IMSMQMessage2_Impl::PrivLevel(this) { Ok(ok__) => { - core::ptr::write(plprivlevel, core::mem::transmute(ok__)); + plprivlevel.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1389,7 +1389,7 @@ impl IMSMQMessage2_Vtbl { let this = (*this).get_impl(); match IMSMQMessage2_Impl::AuthLevel(this) { Ok(ok__) => { - core::ptr::write(plauthlevel, core::mem::transmute(ok__)); + plauthlevel.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1405,7 +1405,7 @@ impl IMSMQMessage2_Vtbl { let this = (*this).get_impl(); match IMSMQMessage2_Impl::IsAuthenticated(this) { Ok(ok__) => { - core::ptr::write(pisauthenticated, core::mem::transmute(ok__)); + pisauthenticated.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1416,7 +1416,7 @@ impl IMSMQMessage2_Vtbl { let this = (*this).get_impl(); match IMSMQMessage2_Impl::Delivery(this) { Ok(ok__) => { - core::ptr::write(pldelivery, core::mem::transmute(ok__)); + pldelivery.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1432,7 +1432,7 @@ impl IMSMQMessage2_Vtbl { let this = (*this).get_impl(); match IMSMQMessage2_Impl::Trace(this) { Ok(ok__) => { - core::ptr::write(pltrace, core::mem::transmute(ok__)); + pltrace.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1448,7 +1448,7 @@ impl IMSMQMessage2_Vtbl { let this = (*this).get_impl(); match IMSMQMessage2_Impl::Priority(this) { Ok(ok__) => { - core::ptr::write(plpriority, core::mem::transmute(ok__)); + plpriority.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1464,7 +1464,7 @@ impl IMSMQMessage2_Vtbl { let this = (*this).get_impl(); match IMSMQMessage2_Impl::Journal(this) { Ok(ok__) => { - core::ptr::write(pljournal, core::mem::transmute(ok__)); + pljournal.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1480,7 +1480,7 @@ impl IMSMQMessage2_Vtbl { let this = (*this).get_impl(); match IMSMQMessage2_Impl::ResponseQueueInfo_v1(this) { Ok(ok__) => { - core::ptr::write(ppqinforesponse, core::mem::transmute(ok__)); + ppqinforesponse.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1496,7 +1496,7 @@ impl IMSMQMessage2_Vtbl { let this = (*this).get_impl(); match IMSMQMessage2_Impl::AppSpecific(this) { Ok(ok__) => { - core::ptr::write(plappspecific, core::mem::transmute(ok__)); + plappspecific.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1512,7 +1512,7 @@ impl IMSMQMessage2_Vtbl { let this = (*this).get_impl(); match IMSMQMessage2_Impl::SourceMachineGuid(this) { Ok(ok__) => { - core::ptr::write(pbstrguidsrcmachine, core::mem::transmute(ok__)); + pbstrguidsrcmachine.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1523,7 +1523,7 @@ impl IMSMQMessage2_Vtbl { let this = (*this).get_impl(); match IMSMQMessage2_Impl::BodyLength(this) { Ok(ok__) => { - core::ptr::write(pcbbody, core::mem::transmute(ok__)); + pcbbody.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1534,7 +1534,7 @@ impl IMSMQMessage2_Vtbl { let this = (*this).get_impl(); match IMSMQMessage2_Impl::Body(this) { Ok(ok__) => { - core::ptr::write(pvarbody, core::mem::transmute(ok__)); + pvarbody.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1550,7 +1550,7 @@ impl IMSMQMessage2_Vtbl { let this = (*this).get_impl(); match IMSMQMessage2_Impl::AdminQueueInfo_v1(this) { Ok(ok__) => { - core::ptr::write(ppqinfoadmin, core::mem::transmute(ok__)); + ppqinfoadmin.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1566,7 +1566,7 @@ impl IMSMQMessage2_Vtbl { let this = (*this).get_impl(); match IMSMQMessage2_Impl::Id(this) { Ok(ok__) => { - core::ptr::write(pvarmsgid, core::mem::transmute(ok__)); + pvarmsgid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1577,7 +1577,7 @@ impl IMSMQMessage2_Vtbl { let this = (*this).get_impl(); match IMSMQMessage2_Impl::CorrelationId(this) { Ok(ok__) => { - core::ptr::write(pvarmsgid, core::mem::transmute(ok__)); + pvarmsgid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1593,7 +1593,7 @@ impl IMSMQMessage2_Vtbl { let this = (*this).get_impl(); match IMSMQMessage2_Impl::Ack(this) { Ok(ok__) => { - core::ptr::write(plack, core::mem::transmute(ok__)); + plack.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1609,7 +1609,7 @@ impl IMSMQMessage2_Vtbl { let this = (*this).get_impl(); match IMSMQMessage2_Impl::Label(this) { Ok(ok__) => { - core::ptr::write(pbstrlabel, core::mem::transmute(ok__)); + pbstrlabel.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1625,7 +1625,7 @@ impl IMSMQMessage2_Vtbl { let this = (*this).get_impl(); match IMSMQMessage2_Impl::MaxTimeToReachQueue(this) { Ok(ok__) => { - core::ptr::write(plmaxtimetoreachqueue, core::mem::transmute(ok__)); + plmaxtimetoreachqueue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1641,7 +1641,7 @@ impl IMSMQMessage2_Vtbl { let this = (*this).get_impl(); match IMSMQMessage2_Impl::MaxTimeToReceive(this) { Ok(ok__) => { - core::ptr::write(plmaxtimetoreceive, core::mem::transmute(ok__)); + plmaxtimetoreceive.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1657,7 +1657,7 @@ impl IMSMQMessage2_Vtbl { let this = (*this).get_impl(); match IMSMQMessage2_Impl::HashAlgorithm(this) { Ok(ok__) => { - core::ptr::write(plhashalg, core::mem::transmute(ok__)); + plhashalg.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1673,7 +1673,7 @@ impl IMSMQMessage2_Vtbl { let this = (*this).get_impl(); match IMSMQMessage2_Impl::EncryptAlgorithm(this) { Ok(ok__) => { - core::ptr::write(plencryptalg, core::mem::transmute(ok__)); + plencryptalg.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1689,7 +1689,7 @@ impl IMSMQMessage2_Vtbl { let this = (*this).get_impl(); match IMSMQMessage2_Impl::SentTime(this) { Ok(ok__) => { - core::ptr::write(pvarsenttime, core::mem::transmute(ok__)); + pvarsenttime.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1700,7 +1700,7 @@ impl IMSMQMessage2_Vtbl { let this = (*this).get_impl(); match IMSMQMessage2_Impl::ArrivedTime(this) { Ok(ok__) => { - core::ptr::write(plarrivedtime, core::mem::transmute(ok__)); + plarrivedtime.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1711,7 +1711,7 @@ impl IMSMQMessage2_Vtbl { let this = (*this).get_impl(); match IMSMQMessage2_Impl::DestinationQueueInfo(this) { Ok(ok__) => { - core::ptr::write(ppqinfodest, core::mem::transmute(ok__)); + ppqinfodest.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1722,7 +1722,7 @@ impl IMSMQMessage2_Vtbl { let this = (*this).get_impl(); match IMSMQMessage2_Impl::SenderCertificate(this) { Ok(ok__) => { - core::ptr::write(pvarsendercert, core::mem::transmute(ok__)); + pvarsendercert.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1738,7 +1738,7 @@ impl IMSMQMessage2_Vtbl { let this = (*this).get_impl(); match IMSMQMessage2_Impl::SenderId(this) { Ok(ok__) => { - core::ptr::write(pvarsenderid, core::mem::transmute(ok__)); + pvarsenderid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1749,7 +1749,7 @@ impl IMSMQMessage2_Vtbl { let this = (*this).get_impl(); match IMSMQMessage2_Impl::SenderIdType(this) { Ok(ok__) => { - core::ptr::write(plsenderidtype, core::mem::transmute(ok__)); + plsenderidtype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1775,7 +1775,7 @@ impl IMSMQMessage2_Vtbl { let this = (*this).get_impl(); match IMSMQMessage2_Impl::SenderVersion(this) { Ok(ok__) => { - core::ptr::write(plsenderversion, core::mem::transmute(ok__)); + plsenderversion.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1786,7 +1786,7 @@ impl IMSMQMessage2_Vtbl { let this = (*this).get_impl(); match IMSMQMessage2_Impl::Extension(this) { Ok(ok__) => { - core::ptr::write(pvarextension, core::mem::transmute(ok__)); + pvarextension.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1802,7 +1802,7 @@ impl IMSMQMessage2_Vtbl { let this = (*this).get_impl(); match IMSMQMessage2_Impl::ConnectorTypeGuid(this) { Ok(ok__) => { - core::ptr::write(pbstrguidconnectortype, core::mem::transmute(ok__)); + pbstrguidconnectortype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1818,7 +1818,7 @@ impl IMSMQMessage2_Vtbl { let this = (*this).get_impl(); match IMSMQMessage2_Impl::TransactionStatusQueueInfo(this) { Ok(ok__) => { - core::ptr::write(ppqinfoxactstatus, core::mem::transmute(ok__)); + ppqinfoxactstatus.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1829,7 +1829,7 @@ impl IMSMQMessage2_Vtbl { let this = (*this).get_impl(); match IMSMQMessage2_Impl::DestinationSymmetricKey(this) { Ok(ok__) => { - core::ptr::write(pvardestsymmkey, core::mem::transmute(ok__)); + pvardestsymmkey.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1845,7 +1845,7 @@ impl IMSMQMessage2_Vtbl { let this = (*this).get_impl(); match IMSMQMessage2_Impl::Signature(this) { Ok(ok__) => { - core::ptr::write(pvarsignature, core::mem::transmute(ok__)); + pvarsignature.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1861,7 +1861,7 @@ impl IMSMQMessage2_Vtbl { let this = (*this).get_impl(); match IMSMQMessage2_Impl::AuthenticationProviderType(this) { Ok(ok__) => { - core::ptr::write(plauthprovtype, core::mem::transmute(ok__)); + plauthprovtype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1877,7 +1877,7 @@ impl IMSMQMessage2_Vtbl { let this = (*this).get_impl(); match IMSMQMessage2_Impl::AuthenticationProviderName(this) { Ok(ok__) => { - core::ptr::write(pbstrauthprovname, core::mem::transmute(ok__)); + pbstrauthprovname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1898,7 +1898,7 @@ impl IMSMQMessage2_Vtbl { let this = (*this).get_impl(); match IMSMQMessage2_Impl::MsgClass(this) { Ok(ok__) => { - core::ptr::write(plmsgclass, core::mem::transmute(ok__)); + plmsgclass.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1914,7 +1914,7 @@ impl IMSMQMessage2_Vtbl { let this = (*this).get_impl(); match IMSMQMessage2_Impl::Properties(this) { Ok(ok__) => { - core::ptr::write(ppcolproperties, core::mem::transmute(ok__)); + ppcolproperties.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1925,7 +1925,7 @@ impl IMSMQMessage2_Vtbl { let this = (*this).get_impl(); match IMSMQMessage2_Impl::TransactionId(this) { Ok(ok__) => { - core::ptr::write(pvarxactid, core::mem::transmute(ok__)); + pvarxactid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1936,7 +1936,7 @@ impl IMSMQMessage2_Vtbl { let this = (*this).get_impl(); match IMSMQMessage2_Impl::IsFirstInTransaction(this) { Ok(ok__) => { - core::ptr::write(pisfirstinxact, core::mem::transmute(ok__)); + pisfirstinxact.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1947,7 +1947,7 @@ impl IMSMQMessage2_Vtbl { let this = (*this).get_impl(); match IMSMQMessage2_Impl::IsLastInTransaction(this) { Ok(ok__) => { - core::ptr::write(pislastinxact, core::mem::transmute(ok__)); + pislastinxact.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1958,7 +1958,7 @@ impl IMSMQMessage2_Vtbl { let this = (*this).get_impl(); match IMSMQMessage2_Impl::ResponseQueueInfo(this) { Ok(ok__) => { - core::ptr::write(ppqinforesponse, core::mem::transmute(ok__)); + ppqinforesponse.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1974,7 +1974,7 @@ impl IMSMQMessage2_Vtbl { let this = (*this).get_impl(); match IMSMQMessage2_Impl::AdminQueueInfo(this) { Ok(ok__) => { - core::ptr::write(ppqinfoadmin, core::mem::transmute(ok__)); + ppqinfoadmin.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1990,7 +1990,7 @@ impl IMSMQMessage2_Vtbl { let this = (*this).get_impl(); match IMSMQMessage2_Impl::ReceivedAuthenticationLevel(this) { Ok(ok__) => { - core::ptr::write(psreceivedauthenticationlevel, core::mem::transmute(ok__)); + psreceivedauthenticationlevel.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2183,7 +2183,7 @@ impl IMSMQMessage3_Vtbl { let this = (*this).get_impl(); match IMSMQMessage3_Impl::Class(this) { Ok(ok__) => { - core::ptr::write(plclass, core::mem::transmute(ok__)); + plclass.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2194,7 +2194,7 @@ impl IMSMQMessage3_Vtbl { let this = (*this).get_impl(); match IMSMQMessage3_Impl::PrivLevel(this) { Ok(ok__) => { - core::ptr::write(plprivlevel, core::mem::transmute(ok__)); + plprivlevel.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2210,7 +2210,7 @@ impl IMSMQMessage3_Vtbl { let this = (*this).get_impl(); match IMSMQMessage3_Impl::AuthLevel(this) { Ok(ok__) => { - core::ptr::write(plauthlevel, core::mem::transmute(ok__)); + plauthlevel.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2226,7 +2226,7 @@ impl IMSMQMessage3_Vtbl { let this = (*this).get_impl(); match IMSMQMessage3_Impl::IsAuthenticated(this) { Ok(ok__) => { - core::ptr::write(pisauthenticated, core::mem::transmute(ok__)); + pisauthenticated.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2237,7 +2237,7 @@ impl IMSMQMessage3_Vtbl { let this = (*this).get_impl(); match IMSMQMessage3_Impl::Delivery(this) { Ok(ok__) => { - core::ptr::write(pldelivery, core::mem::transmute(ok__)); + pldelivery.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2253,7 +2253,7 @@ impl IMSMQMessage3_Vtbl { let this = (*this).get_impl(); match IMSMQMessage3_Impl::Trace(this) { Ok(ok__) => { - core::ptr::write(pltrace, core::mem::transmute(ok__)); + pltrace.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2269,7 +2269,7 @@ impl IMSMQMessage3_Vtbl { let this = (*this).get_impl(); match IMSMQMessage3_Impl::Priority(this) { Ok(ok__) => { - core::ptr::write(plpriority, core::mem::transmute(ok__)); + plpriority.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2285,7 +2285,7 @@ impl IMSMQMessage3_Vtbl { let this = (*this).get_impl(); match IMSMQMessage3_Impl::Journal(this) { Ok(ok__) => { - core::ptr::write(pljournal, core::mem::transmute(ok__)); + pljournal.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2301,7 +2301,7 @@ impl IMSMQMessage3_Vtbl { let this = (*this).get_impl(); match IMSMQMessage3_Impl::ResponseQueueInfo_v1(this) { Ok(ok__) => { - core::ptr::write(ppqinforesponse, core::mem::transmute(ok__)); + ppqinforesponse.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2317,7 +2317,7 @@ impl IMSMQMessage3_Vtbl { let this = (*this).get_impl(); match IMSMQMessage3_Impl::AppSpecific(this) { Ok(ok__) => { - core::ptr::write(plappspecific, core::mem::transmute(ok__)); + plappspecific.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2333,7 +2333,7 @@ impl IMSMQMessage3_Vtbl { let this = (*this).get_impl(); match IMSMQMessage3_Impl::SourceMachineGuid(this) { Ok(ok__) => { - core::ptr::write(pbstrguidsrcmachine, core::mem::transmute(ok__)); + pbstrguidsrcmachine.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2344,7 +2344,7 @@ impl IMSMQMessage3_Vtbl { let this = (*this).get_impl(); match IMSMQMessage3_Impl::BodyLength(this) { Ok(ok__) => { - core::ptr::write(pcbbody, core::mem::transmute(ok__)); + pcbbody.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2355,7 +2355,7 @@ impl IMSMQMessage3_Vtbl { let this = (*this).get_impl(); match IMSMQMessage3_Impl::Body(this) { Ok(ok__) => { - core::ptr::write(pvarbody, core::mem::transmute(ok__)); + pvarbody.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2371,7 +2371,7 @@ impl IMSMQMessage3_Vtbl { let this = (*this).get_impl(); match IMSMQMessage3_Impl::AdminQueueInfo_v1(this) { Ok(ok__) => { - core::ptr::write(ppqinfoadmin, core::mem::transmute(ok__)); + ppqinfoadmin.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2387,7 +2387,7 @@ impl IMSMQMessage3_Vtbl { let this = (*this).get_impl(); match IMSMQMessage3_Impl::Id(this) { Ok(ok__) => { - core::ptr::write(pvarmsgid, core::mem::transmute(ok__)); + pvarmsgid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2398,7 +2398,7 @@ impl IMSMQMessage3_Vtbl { let this = (*this).get_impl(); match IMSMQMessage3_Impl::CorrelationId(this) { Ok(ok__) => { - core::ptr::write(pvarmsgid, core::mem::transmute(ok__)); + pvarmsgid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2414,7 +2414,7 @@ impl IMSMQMessage3_Vtbl { let this = (*this).get_impl(); match IMSMQMessage3_Impl::Ack(this) { Ok(ok__) => { - core::ptr::write(plack, core::mem::transmute(ok__)); + plack.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2430,7 +2430,7 @@ impl IMSMQMessage3_Vtbl { let this = (*this).get_impl(); match IMSMQMessage3_Impl::Label(this) { Ok(ok__) => { - core::ptr::write(pbstrlabel, core::mem::transmute(ok__)); + pbstrlabel.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2446,7 +2446,7 @@ impl IMSMQMessage3_Vtbl { let this = (*this).get_impl(); match IMSMQMessage3_Impl::MaxTimeToReachQueue(this) { Ok(ok__) => { - core::ptr::write(plmaxtimetoreachqueue, core::mem::transmute(ok__)); + plmaxtimetoreachqueue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2462,7 +2462,7 @@ impl IMSMQMessage3_Vtbl { let this = (*this).get_impl(); match IMSMQMessage3_Impl::MaxTimeToReceive(this) { Ok(ok__) => { - core::ptr::write(plmaxtimetoreceive, core::mem::transmute(ok__)); + plmaxtimetoreceive.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2478,7 +2478,7 @@ impl IMSMQMessage3_Vtbl { let this = (*this).get_impl(); match IMSMQMessage3_Impl::HashAlgorithm(this) { Ok(ok__) => { - core::ptr::write(plhashalg, core::mem::transmute(ok__)); + plhashalg.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2494,7 +2494,7 @@ impl IMSMQMessage3_Vtbl { let this = (*this).get_impl(); match IMSMQMessage3_Impl::EncryptAlgorithm(this) { Ok(ok__) => { - core::ptr::write(plencryptalg, core::mem::transmute(ok__)); + plencryptalg.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2510,7 +2510,7 @@ impl IMSMQMessage3_Vtbl { let this = (*this).get_impl(); match IMSMQMessage3_Impl::SentTime(this) { Ok(ok__) => { - core::ptr::write(pvarsenttime, core::mem::transmute(ok__)); + pvarsenttime.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2521,7 +2521,7 @@ impl IMSMQMessage3_Vtbl { let this = (*this).get_impl(); match IMSMQMessage3_Impl::ArrivedTime(this) { Ok(ok__) => { - core::ptr::write(plarrivedtime, core::mem::transmute(ok__)); + plarrivedtime.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2532,7 +2532,7 @@ impl IMSMQMessage3_Vtbl { let this = (*this).get_impl(); match IMSMQMessage3_Impl::DestinationQueueInfo(this) { Ok(ok__) => { - core::ptr::write(ppqinfodest, core::mem::transmute(ok__)); + ppqinfodest.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2543,7 +2543,7 @@ impl IMSMQMessage3_Vtbl { let this = (*this).get_impl(); match IMSMQMessage3_Impl::SenderCertificate(this) { Ok(ok__) => { - core::ptr::write(pvarsendercert, core::mem::transmute(ok__)); + pvarsendercert.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2559,7 +2559,7 @@ impl IMSMQMessage3_Vtbl { let this = (*this).get_impl(); match IMSMQMessage3_Impl::SenderId(this) { Ok(ok__) => { - core::ptr::write(pvarsenderid, core::mem::transmute(ok__)); + pvarsenderid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2570,7 +2570,7 @@ impl IMSMQMessage3_Vtbl { let this = (*this).get_impl(); match IMSMQMessage3_Impl::SenderIdType(this) { Ok(ok__) => { - core::ptr::write(plsenderidtype, core::mem::transmute(ok__)); + plsenderidtype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2596,7 +2596,7 @@ impl IMSMQMessage3_Vtbl { let this = (*this).get_impl(); match IMSMQMessage3_Impl::SenderVersion(this) { Ok(ok__) => { - core::ptr::write(plsenderversion, core::mem::transmute(ok__)); + plsenderversion.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2607,7 +2607,7 @@ impl IMSMQMessage3_Vtbl { let this = (*this).get_impl(); match IMSMQMessage3_Impl::Extension(this) { Ok(ok__) => { - core::ptr::write(pvarextension, core::mem::transmute(ok__)); + pvarextension.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2623,7 +2623,7 @@ impl IMSMQMessage3_Vtbl { let this = (*this).get_impl(); match IMSMQMessage3_Impl::ConnectorTypeGuid(this) { Ok(ok__) => { - core::ptr::write(pbstrguidconnectortype, core::mem::transmute(ok__)); + pbstrguidconnectortype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2639,7 +2639,7 @@ impl IMSMQMessage3_Vtbl { let this = (*this).get_impl(); match IMSMQMessage3_Impl::TransactionStatusQueueInfo(this) { Ok(ok__) => { - core::ptr::write(ppqinfoxactstatus, core::mem::transmute(ok__)); + ppqinfoxactstatus.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2650,7 +2650,7 @@ impl IMSMQMessage3_Vtbl { let this = (*this).get_impl(); match IMSMQMessage3_Impl::DestinationSymmetricKey(this) { Ok(ok__) => { - core::ptr::write(pvardestsymmkey, core::mem::transmute(ok__)); + pvardestsymmkey.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2666,7 +2666,7 @@ impl IMSMQMessage3_Vtbl { let this = (*this).get_impl(); match IMSMQMessage3_Impl::Signature(this) { Ok(ok__) => { - core::ptr::write(pvarsignature, core::mem::transmute(ok__)); + pvarsignature.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2682,7 +2682,7 @@ impl IMSMQMessage3_Vtbl { let this = (*this).get_impl(); match IMSMQMessage3_Impl::AuthenticationProviderType(this) { Ok(ok__) => { - core::ptr::write(plauthprovtype, core::mem::transmute(ok__)); + plauthprovtype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2698,7 +2698,7 @@ impl IMSMQMessage3_Vtbl { let this = (*this).get_impl(); match IMSMQMessage3_Impl::AuthenticationProviderName(this) { Ok(ok__) => { - core::ptr::write(pbstrauthprovname, core::mem::transmute(ok__)); + pbstrauthprovname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2719,7 +2719,7 @@ impl IMSMQMessage3_Vtbl { let this = (*this).get_impl(); match IMSMQMessage3_Impl::MsgClass(this) { Ok(ok__) => { - core::ptr::write(plmsgclass, core::mem::transmute(ok__)); + plmsgclass.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2735,7 +2735,7 @@ impl IMSMQMessage3_Vtbl { let this = (*this).get_impl(); match IMSMQMessage3_Impl::Properties(this) { Ok(ok__) => { - core::ptr::write(ppcolproperties, core::mem::transmute(ok__)); + ppcolproperties.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2746,7 +2746,7 @@ impl IMSMQMessage3_Vtbl { let this = (*this).get_impl(); match IMSMQMessage3_Impl::TransactionId(this) { Ok(ok__) => { - core::ptr::write(pvarxactid, core::mem::transmute(ok__)); + pvarxactid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2757,7 +2757,7 @@ impl IMSMQMessage3_Vtbl { let this = (*this).get_impl(); match IMSMQMessage3_Impl::IsFirstInTransaction(this) { Ok(ok__) => { - core::ptr::write(pisfirstinxact, core::mem::transmute(ok__)); + pisfirstinxact.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2768,7 +2768,7 @@ impl IMSMQMessage3_Vtbl { let this = (*this).get_impl(); match IMSMQMessage3_Impl::IsLastInTransaction(this) { Ok(ok__) => { - core::ptr::write(pislastinxact, core::mem::transmute(ok__)); + pislastinxact.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2779,7 +2779,7 @@ impl IMSMQMessage3_Vtbl { let this = (*this).get_impl(); match IMSMQMessage3_Impl::ResponseQueueInfo_v2(this) { Ok(ok__) => { - core::ptr::write(ppqinforesponse, core::mem::transmute(ok__)); + ppqinforesponse.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2795,7 +2795,7 @@ impl IMSMQMessage3_Vtbl { let this = (*this).get_impl(); match IMSMQMessage3_Impl::AdminQueueInfo_v2(this) { Ok(ok__) => { - core::ptr::write(ppqinfoadmin, core::mem::transmute(ok__)); + ppqinfoadmin.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2811,7 +2811,7 @@ impl IMSMQMessage3_Vtbl { let this = (*this).get_impl(); match IMSMQMessage3_Impl::ReceivedAuthenticationLevel(this) { Ok(ok__) => { - core::ptr::write(psreceivedauthenticationlevel, core::mem::transmute(ok__)); + psreceivedauthenticationlevel.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2822,7 +2822,7 @@ impl IMSMQMessage3_Vtbl { let this = (*this).get_impl(); match IMSMQMessage3_Impl::ResponseQueueInfo(this) { Ok(ok__) => { - core::ptr::write(ppqinforesponse, core::mem::transmute(ok__)); + ppqinforesponse.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2838,7 +2838,7 @@ impl IMSMQMessage3_Vtbl { let this = (*this).get_impl(); match IMSMQMessage3_Impl::AdminQueueInfo(this) { Ok(ok__) => { - core::ptr::write(ppqinfoadmin, core::mem::transmute(ok__)); + ppqinfoadmin.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2854,7 +2854,7 @@ impl IMSMQMessage3_Vtbl { let this = (*this).get_impl(); match IMSMQMessage3_Impl::ResponseDestination(this) { Ok(ok__) => { - core::ptr::write(ppdestresponse, core::mem::transmute(ok__)); + ppdestresponse.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2870,7 +2870,7 @@ impl IMSMQMessage3_Vtbl { let this = (*this).get_impl(); match IMSMQMessage3_Impl::Destination(this) { Ok(ok__) => { - core::ptr::write(ppdestdestination, core::mem::transmute(ok__)); + ppdestdestination.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2881,7 +2881,7 @@ impl IMSMQMessage3_Vtbl { let this = (*this).get_impl(); match IMSMQMessage3_Impl::LookupId(this) { Ok(ok__) => { - core::ptr::write(pvarlookupid, core::mem::transmute(ok__)); + pvarlookupid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2892,7 +2892,7 @@ impl IMSMQMessage3_Vtbl { let this = (*this).get_impl(); match IMSMQMessage3_Impl::IsAuthenticated2(this) { Ok(ok__) => { - core::ptr::write(pisauthenticated, core::mem::transmute(ok__)); + pisauthenticated.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2903,7 +2903,7 @@ impl IMSMQMessage3_Vtbl { let this = (*this).get_impl(); match IMSMQMessage3_Impl::IsFirstInTransaction2(this) { Ok(ok__) => { - core::ptr::write(pisfirstinxact, core::mem::transmute(ok__)); + pisfirstinxact.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2914,7 +2914,7 @@ impl IMSMQMessage3_Vtbl { let this = (*this).get_impl(); match IMSMQMessage3_Impl::IsLastInTransaction2(this) { Ok(ok__) => { - core::ptr::write(pislastinxact, core::mem::transmute(ok__)); + pislastinxact.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2930,7 +2930,7 @@ impl IMSMQMessage3_Vtbl { let this = (*this).get_impl(); match IMSMQMessage3_Impl::SoapEnvelope(this) { Ok(ok__) => { - core::ptr::write(pbstrsoapenvelope, core::mem::transmute(ok__)); + pbstrsoapenvelope.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2941,7 +2941,7 @@ impl IMSMQMessage3_Vtbl { let this = (*this).get_impl(); match IMSMQMessage3_Impl::CompoundMessage(this) { Ok(ok__) => { - core::ptr::write(pvarcompoundmessage, core::mem::transmute(ok__)); + pvarcompoundmessage.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3160,7 +3160,7 @@ impl IMSMQMessage4_Vtbl { let this = (*this).get_impl(); match IMSMQMessage4_Impl::Class(this) { Ok(ok__) => { - core::ptr::write(plclass, core::mem::transmute(ok__)); + plclass.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3171,7 +3171,7 @@ impl IMSMQMessage4_Vtbl { let this = (*this).get_impl(); match IMSMQMessage4_Impl::PrivLevel(this) { Ok(ok__) => { - core::ptr::write(plprivlevel, core::mem::transmute(ok__)); + plprivlevel.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3187,7 +3187,7 @@ impl IMSMQMessage4_Vtbl { let this = (*this).get_impl(); match IMSMQMessage4_Impl::AuthLevel(this) { Ok(ok__) => { - core::ptr::write(plauthlevel, core::mem::transmute(ok__)); + plauthlevel.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3203,7 +3203,7 @@ impl IMSMQMessage4_Vtbl { let this = (*this).get_impl(); match IMSMQMessage4_Impl::IsAuthenticated(this) { Ok(ok__) => { - core::ptr::write(pisauthenticated, core::mem::transmute(ok__)); + pisauthenticated.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3214,7 +3214,7 @@ impl IMSMQMessage4_Vtbl { let this = (*this).get_impl(); match IMSMQMessage4_Impl::Delivery(this) { Ok(ok__) => { - core::ptr::write(pldelivery, core::mem::transmute(ok__)); + pldelivery.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3230,7 +3230,7 @@ impl IMSMQMessage4_Vtbl { let this = (*this).get_impl(); match IMSMQMessage4_Impl::Trace(this) { Ok(ok__) => { - core::ptr::write(pltrace, core::mem::transmute(ok__)); + pltrace.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3246,7 +3246,7 @@ impl IMSMQMessage4_Vtbl { let this = (*this).get_impl(); match IMSMQMessage4_Impl::Priority(this) { Ok(ok__) => { - core::ptr::write(plpriority, core::mem::transmute(ok__)); + plpriority.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3262,7 +3262,7 @@ impl IMSMQMessage4_Vtbl { let this = (*this).get_impl(); match IMSMQMessage4_Impl::Journal(this) { Ok(ok__) => { - core::ptr::write(pljournal, core::mem::transmute(ok__)); + pljournal.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3278,7 +3278,7 @@ impl IMSMQMessage4_Vtbl { let this = (*this).get_impl(); match IMSMQMessage4_Impl::ResponseQueueInfo_v1(this) { Ok(ok__) => { - core::ptr::write(ppqinforesponse, core::mem::transmute(ok__)); + ppqinforesponse.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3294,7 +3294,7 @@ impl IMSMQMessage4_Vtbl { let this = (*this).get_impl(); match IMSMQMessage4_Impl::AppSpecific(this) { Ok(ok__) => { - core::ptr::write(plappspecific, core::mem::transmute(ok__)); + plappspecific.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3310,7 +3310,7 @@ impl IMSMQMessage4_Vtbl { let this = (*this).get_impl(); match IMSMQMessage4_Impl::SourceMachineGuid(this) { Ok(ok__) => { - core::ptr::write(pbstrguidsrcmachine, core::mem::transmute(ok__)); + pbstrguidsrcmachine.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3321,7 +3321,7 @@ impl IMSMQMessage4_Vtbl { let this = (*this).get_impl(); match IMSMQMessage4_Impl::BodyLength(this) { Ok(ok__) => { - core::ptr::write(pcbbody, core::mem::transmute(ok__)); + pcbbody.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3332,7 +3332,7 @@ impl IMSMQMessage4_Vtbl { let this = (*this).get_impl(); match IMSMQMessage4_Impl::Body(this) { Ok(ok__) => { - core::ptr::write(pvarbody, core::mem::transmute(ok__)); + pvarbody.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3348,7 +3348,7 @@ impl IMSMQMessage4_Vtbl { let this = (*this).get_impl(); match IMSMQMessage4_Impl::AdminQueueInfo_v1(this) { Ok(ok__) => { - core::ptr::write(ppqinfoadmin, core::mem::transmute(ok__)); + ppqinfoadmin.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3364,7 +3364,7 @@ impl IMSMQMessage4_Vtbl { let this = (*this).get_impl(); match IMSMQMessage4_Impl::Id(this) { Ok(ok__) => { - core::ptr::write(pvarmsgid, core::mem::transmute(ok__)); + pvarmsgid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3375,7 +3375,7 @@ impl IMSMQMessage4_Vtbl { let this = (*this).get_impl(); match IMSMQMessage4_Impl::CorrelationId(this) { Ok(ok__) => { - core::ptr::write(pvarmsgid, core::mem::transmute(ok__)); + pvarmsgid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3391,7 +3391,7 @@ impl IMSMQMessage4_Vtbl { let this = (*this).get_impl(); match IMSMQMessage4_Impl::Ack(this) { Ok(ok__) => { - core::ptr::write(plack, core::mem::transmute(ok__)); + plack.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3407,7 +3407,7 @@ impl IMSMQMessage4_Vtbl { let this = (*this).get_impl(); match IMSMQMessage4_Impl::Label(this) { Ok(ok__) => { - core::ptr::write(pbstrlabel, core::mem::transmute(ok__)); + pbstrlabel.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3423,7 +3423,7 @@ impl IMSMQMessage4_Vtbl { let this = (*this).get_impl(); match IMSMQMessage4_Impl::MaxTimeToReachQueue(this) { Ok(ok__) => { - core::ptr::write(plmaxtimetoreachqueue, core::mem::transmute(ok__)); + plmaxtimetoreachqueue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3439,7 +3439,7 @@ impl IMSMQMessage4_Vtbl { let this = (*this).get_impl(); match IMSMQMessage4_Impl::MaxTimeToReceive(this) { Ok(ok__) => { - core::ptr::write(plmaxtimetoreceive, core::mem::transmute(ok__)); + plmaxtimetoreceive.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3455,7 +3455,7 @@ impl IMSMQMessage4_Vtbl { let this = (*this).get_impl(); match IMSMQMessage4_Impl::HashAlgorithm(this) { Ok(ok__) => { - core::ptr::write(plhashalg, core::mem::transmute(ok__)); + plhashalg.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3471,7 +3471,7 @@ impl IMSMQMessage4_Vtbl { let this = (*this).get_impl(); match IMSMQMessage4_Impl::EncryptAlgorithm(this) { Ok(ok__) => { - core::ptr::write(plencryptalg, core::mem::transmute(ok__)); + plencryptalg.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3487,7 +3487,7 @@ impl IMSMQMessage4_Vtbl { let this = (*this).get_impl(); match IMSMQMessage4_Impl::SentTime(this) { Ok(ok__) => { - core::ptr::write(pvarsenttime, core::mem::transmute(ok__)); + pvarsenttime.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3498,7 +3498,7 @@ impl IMSMQMessage4_Vtbl { let this = (*this).get_impl(); match IMSMQMessage4_Impl::ArrivedTime(this) { Ok(ok__) => { - core::ptr::write(plarrivedtime, core::mem::transmute(ok__)); + plarrivedtime.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3509,7 +3509,7 @@ impl IMSMQMessage4_Vtbl { let this = (*this).get_impl(); match IMSMQMessage4_Impl::DestinationQueueInfo(this) { Ok(ok__) => { - core::ptr::write(ppqinfodest, core::mem::transmute(ok__)); + ppqinfodest.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3520,7 +3520,7 @@ impl IMSMQMessage4_Vtbl { let this = (*this).get_impl(); match IMSMQMessage4_Impl::SenderCertificate(this) { Ok(ok__) => { - core::ptr::write(pvarsendercert, core::mem::transmute(ok__)); + pvarsendercert.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3536,7 +3536,7 @@ impl IMSMQMessage4_Vtbl { let this = (*this).get_impl(); match IMSMQMessage4_Impl::SenderId(this) { Ok(ok__) => { - core::ptr::write(pvarsenderid, core::mem::transmute(ok__)); + pvarsenderid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3547,7 +3547,7 @@ impl IMSMQMessage4_Vtbl { let this = (*this).get_impl(); match IMSMQMessage4_Impl::SenderIdType(this) { Ok(ok__) => { - core::ptr::write(plsenderidtype, core::mem::transmute(ok__)); + plsenderidtype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3573,7 +3573,7 @@ impl IMSMQMessage4_Vtbl { let this = (*this).get_impl(); match IMSMQMessage4_Impl::SenderVersion(this) { Ok(ok__) => { - core::ptr::write(plsenderversion, core::mem::transmute(ok__)); + plsenderversion.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3584,7 +3584,7 @@ impl IMSMQMessage4_Vtbl { let this = (*this).get_impl(); match IMSMQMessage4_Impl::Extension(this) { Ok(ok__) => { - core::ptr::write(pvarextension, core::mem::transmute(ok__)); + pvarextension.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3600,7 +3600,7 @@ impl IMSMQMessage4_Vtbl { let this = (*this).get_impl(); match IMSMQMessage4_Impl::ConnectorTypeGuid(this) { Ok(ok__) => { - core::ptr::write(pbstrguidconnectortype, core::mem::transmute(ok__)); + pbstrguidconnectortype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3616,7 +3616,7 @@ impl IMSMQMessage4_Vtbl { let this = (*this).get_impl(); match IMSMQMessage4_Impl::TransactionStatusQueueInfo(this) { Ok(ok__) => { - core::ptr::write(ppqinfoxactstatus, core::mem::transmute(ok__)); + ppqinfoxactstatus.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3627,7 +3627,7 @@ impl IMSMQMessage4_Vtbl { let this = (*this).get_impl(); match IMSMQMessage4_Impl::DestinationSymmetricKey(this) { Ok(ok__) => { - core::ptr::write(pvardestsymmkey, core::mem::transmute(ok__)); + pvardestsymmkey.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3643,7 +3643,7 @@ impl IMSMQMessage4_Vtbl { let this = (*this).get_impl(); match IMSMQMessage4_Impl::Signature(this) { Ok(ok__) => { - core::ptr::write(pvarsignature, core::mem::transmute(ok__)); + pvarsignature.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3659,7 +3659,7 @@ impl IMSMQMessage4_Vtbl { let this = (*this).get_impl(); match IMSMQMessage4_Impl::AuthenticationProviderType(this) { Ok(ok__) => { - core::ptr::write(plauthprovtype, core::mem::transmute(ok__)); + plauthprovtype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3675,7 +3675,7 @@ impl IMSMQMessage4_Vtbl { let this = (*this).get_impl(); match IMSMQMessage4_Impl::AuthenticationProviderName(this) { Ok(ok__) => { - core::ptr::write(pbstrauthprovname, core::mem::transmute(ok__)); + pbstrauthprovname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3696,7 +3696,7 @@ impl IMSMQMessage4_Vtbl { let this = (*this).get_impl(); match IMSMQMessage4_Impl::MsgClass(this) { Ok(ok__) => { - core::ptr::write(plmsgclass, core::mem::transmute(ok__)); + plmsgclass.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3712,7 +3712,7 @@ impl IMSMQMessage4_Vtbl { let this = (*this).get_impl(); match IMSMQMessage4_Impl::Properties(this) { Ok(ok__) => { - core::ptr::write(ppcolproperties, core::mem::transmute(ok__)); + ppcolproperties.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3723,7 +3723,7 @@ impl IMSMQMessage4_Vtbl { let this = (*this).get_impl(); match IMSMQMessage4_Impl::TransactionId(this) { Ok(ok__) => { - core::ptr::write(pvarxactid, core::mem::transmute(ok__)); + pvarxactid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3734,7 +3734,7 @@ impl IMSMQMessage4_Vtbl { let this = (*this).get_impl(); match IMSMQMessage4_Impl::IsFirstInTransaction(this) { Ok(ok__) => { - core::ptr::write(pisfirstinxact, core::mem::transmute(ok__)); + pisfirstinxact.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3745,7 +3745,7 @@ impl IMSMQMessage4_Vtbl { let this = (*this).get_impl(); match IMSMQMessage4_Impl::IsLastInTransaction(this) { Ok(ok__) => { - core::ptr::write(pislastinxact, core::mem::transmute(ok__)); + pislastinxact.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3756,7 +3756,7 @@ impl IMSMQMessage4_Vtbl { let this = (*this).get_impl(); match IMSMQMessage4_Impl::ResponseQueueInfo_v2(this) { Ok(ok__) => { - core::ptr::write(ppqinforesponse, core::mem::transmute(ok__)); + ppqinforesponse.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3772,7 +3772,7 @@ impl IMSMQMessage4_Vtbl { let this = (*this).get_impl(); match IMSMQMessage4_Impl::AdminQueueInfo_v2(this) { Ok(ok__) => { - core::ptr::write(ppqinfoadmin, core::mem::transmute(ok__)); + ppqinfoadmin.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3788,7 +3788,7 @@ impl IMSMQMessage4_Vtbl { let this = (*this).get_impl(); match IMSMQMessage4_Impl::ReceivedAuthenticationLevel(this) { Ok(ok__) => { - core::ptr::write(psreceivedauthenticationlevel, core::mem::transmute(ok__)); + psreceivedauthenticationlevel.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3799,7 +3799,7 @@ impl IMSMQMessage4_Vtbl { let this = (*this).get_impl(); match IMSMQMessage4_Impl::ResponseQueueInfo(this) { Ok(ok__) => { - core::ptr::write(ppqinforesponse, core::mem::transmute(ok__)); + ppqinforesponse.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3815,7 +3815,7 @@ impl IMSMQMessage4_Vtbl { let this = (*this).get_impl(); match IMSMQMessage4_Impl::AdminQueueInfo(this) { Ok(ok__) => { - core::ptr::write(ppqinfoadmin, core::mem::transmute(ok__)); + ppqinfoadmin.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3831,7 +3831,7 @@ impl IMSMQMessage4_Vtbl { let this = (*this).get_impl(); match IMSMQMessage4_Impl::ResponseDestination(this) { Ok(ok__) => { - core::ptr::write(ppdestresponse, core::mem::transmute(ok__)); + ppdestresponse.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3847,7 +3847,7 @@ impl IMSMQMessage4_Vtbl { let this = (*this).get_impl(); match IMSMQMessage4_Impl::Destination(this) { Ok(ok__) => { - core::ptr::write(ppdestdestination, core::mem::transmute(ok__)); + ppdestdestination.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3858,7 +3858,7 @@ impl IMSMQMessage4_Vtbl { let this = (*this).get_impl(); match IMSMQMessage4_Impl::LookupId(this) { Ok(ok__) => { - core::ptr::write(pvarlookupid, core::mem::transmute(ok__)); + pvarlookupid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3869,7 +3869,7 @@ impl IMSMQMessage4_Vtbl { let this = (*this).get_impl(); match IMSMQMessage4_Impl::IsAuthenticated2(this) { Ok(ok__) => { - core::ptr::write(pisauthenticated, core::mem::transmute(ok__)); + pisauthenticated.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3880,7 +3880,7 @@ impl IMSMQMessage4_Vtbl { let this = (*this).get_impl(); match IMSMQMessage4_Impl::IsFirstInTransaction2(this) { Ok(ok__) => { - core::ptr::write(pisfirstinxact, core::mem::transmute(ok__)); + pisfirstinxact.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3891,7 +3891,7 @@ impl IMSMQMessage4_Vtbl { let this = (*this).get_impl(); match IMSMQMessage4_Impl::IsLastInTransaction2(this) { Ok(ok__) => { - core::ptr::write(pislastinxact, core::mem::transmute(ok__)); + pislastinxact.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3907,7 +3907,7 @@ impl IMSMQMessage4_Vtbl { let this = (*this).get_impl(); match IMSMQMessage4_Impl::SoapEnvelope(this) { Ok(ok__) => { - core::ptr::write(pbstrsoapenvelope, core::mem::transmute(ok__)); + pbstrsoapenvelope.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3918,7 +3918,7 @@ impl IMSMQMessage4_Vtbl { let this = (*this).get_impl(); match IMSMQMessage4_Impl::CompoundMessage(this) { Ok(ok__) => { - core::ptr::write(pvarcompoundmessage, core::mem::transmute(ok__)); + pvarcompoundmessage.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4052,7 +4052,7 @@ impl IMSMQOutgoingQueueManagement_Vtbl { let this = (*this).get_impl(); match IMSMQOutgoingQueueManagement_Impl::State(this) { Ok(ok__) => { - core::ptr::write(plstate, core::mem::transmute(ok__)); + plstate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4063,7 +4063,7 @@ impl IMSMQOutgoingQueueManagement_Vtbl { let this = (*this).get_impl(); match IMSMQOutgoingQueueManagement_Impl::NextHops(this) { Ok(ok__) => { - core::ptr::write(pvnexthops, core::mem::transmute(ok__)); + pvnexthops.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4074,7 +4074,7 @@ impl IMSMQOutgoingQueueManagement_Vtbl { let this = (*this).get_impl(); match IMSMQOutgoingQueueManagement_Impl::EodGetSendInfo(this) { Ok(ok__) => { - core::ptr::write(ppcollection, core::mem::transmute(ok__)); + ppcollection.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4124,7 +4124,7 @@ impl IMSMQPrivateDestination_Vtbl { let this = (*this).get_impl(); match IMSMQPrivateDestination_Impl::Handle(this) { Ok(ok__) => { - core::ptr::write(pvarhandle, core::mem::transmute(ok__)); + pvarhandle.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4161,7 +4161,7 @@ impl IMSMQPrivateEvent_Vtbl { let this = (*this).get_impl(); match IMSMQPrivateEvent_Impl::Hwnd(this) { Ok(ok__) => { - core::ptr::write(phwnd, core::mem::transmute(ok__)); + phwnd.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4214,7 +4214,7 @@ impl IMSMQQuery_Vtbl { let this = (*this).get_impl(); match IMSMQQuery_Impl::LookupQueue(this, core::mem::transmute_copy(&queueguid), core::mem::transmute_copy(&servicetypeguid), core::mem::transmute_copy(&label), core::mem::transmute_copy(&createtime), core::mem::transmute_copy(&modifytime), core::mem::transmute_copy(&relservicetype), core::mem::transmute_copy(&rellabel), core::mem::transmute_copy(&relcreatetime), core::mem::transmute_copy(&relmodifytime)) { Ok(ok__) => { - core::ptr::write(ppqinfos, core::mem::transmute(ok__)); + ppqinfos.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4253,7 +4253,7 @@ impl IMSMQQuery2_Vtbl { let this = (*this).get_impl(); match IMSMQQuery2_Impl::LookupQueue(this, core::mem::transmute_copy(&queueguid), core::mem::transmute_copy(&servicetypeguid), core::mem::transmute_copy(&label), core::mem::transmute_copy(&createtime), core::mem::transmute_copy(&modifytime), core::mem::transmute_copy(&relservicetype), core::mem::transmute_copy(&rellabel), core::mem::transmute_copy(&relcreatetime), core::mem::transmute_copy(&relmodifytime)) { Ok(ok__) => { - core::ptr::write(ppqinfos, core::mem::transmute(ok__)); + ppqinfos.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4264,7 +4264,7 @@ impl IMSMQQuery2_Vtbl { let this = (*this).get_impl(); match IMSMQQuery2_Impl::Properties(this) { Ok(ok__) => { - core::ptr::write(ppcolproperties, core::mem::transmute(ok__)); + ppcolproperties.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4308,7 +4308,7 @@ impl IMSMQQuery3_Vtbl { let this = (*this).get_impl(); match IMSMQQuery3_Impl::LookupQueue_v2(this, core::mem::transmute_copy(&queueguid), core::mem::transmute_copy(&servicetypeguid), core::mem::transmute_copy(&label), core::mem::transmute_copy(&createtime), core::mem::transmute_copy(&modifytime), core::mem::transmute_copy(&relservicetype), core::mem::transmute_copy(&rellabel), core::mem::transmute_copy(&relcreatetime), core::mem::transmute_copy(&relmodifytime)) { Ok(ok__) => { - core::ptr::write(ppqinfos, core::mem::transmute(ok__)); + ppqinfos.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4319,7 +4319,7 @@ impl IMSMQQuery3_Vtbl { let this = (*this).get_impl(); match IMSMQQuery3_Impl::Properties(this) { Ok(ok__) => { - core::ptr::write(ppcolproperties, core::mem::transmute(ok__)); + ppcolproperties.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4344,7 +4344,7 @@ impl IMSMQQuery3_Vtbl { let this = (*this).get_impl(); match IMSMQQuery3_Impl::LookupQueue(this, core::mem::transmute_copy(&queueguid), core::mem::transmute_copy(&servicetypeguid), core::mem::transmute_copy(&label), core::mem::transmute_copy(&createtime), core::mem::transmute_copy(&modifytime), core::mem::transmute_copy(&relservicetype), core::mem::transmute_copy(&rellabel), core::mem::transmute_copy(&relcreatetime), core::mem::transmute_copy(&relmodifytime), core::mem::transmute_copy(&multicastaddress), core::mem::transmute_copy(&relmulticastaddress)) { Ok(ok__) => { - core::ptr::write(ppqinfos, core::mem::transmute(ok__)); + ppqinfos.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4389,7 +4389,7 @@ impl IMSMQQuery4_Vtbl { let this = (*this).get_impl(); match IMSMQQuery4_Impl::LookupQueue_v2(this, core::mem::transmute_copy(&queueguid), core::mem::transmute_copy(&servicetypeguid), core::mem::transmute_copy(&label), core::mem::transmute_copy(&createtime), core::mem::transmute_copy(&modifytime), core::mem::transmute_copy(&relservicetype), core::mem::transmute_copy(&rellabel), core::mem::transmute_copy(&relcreatetime), core::mem::transmute_copy(&relmodifytime)) { Ok(ok__) => { - core::ptr::write(ppqinfos, core::mem::transmute(ok__)); + ppqinfos.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4400,7 +4400,7 @@ impl IMSMQQuery4_Vtbl { let this = (*this).get_impl(); match IMSMQQuery4_Impl::Properties(this) { Ok(ok__) => { - core::ptr::write(ppcolproperties, core::mem::transmute(ok__)); + ppcolproperties.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4425,7 +4425,7 @@ impl IMSMQQuery4_Vtbl { let this = (*this).get_impl(); match IMSMQQuery4_Impl::LookupQueue(this, core::mem::transmute_copy(&queueguid), core::mem::transmute_copy(&servicetypeguid), core::mem::transmute_copy(&label), core::mem::transmute_copy(&createtime), core::mem::transmute_copy(&modifytime), core::mem::transmute_copy(&relservicetype), core::mem::transmute_copy(&rellabel), core::mem::transmute_copy(&relcreatetime), core::mem::transmute_copy(&relmodifytime), core::mem::transmute_copy(&multicastaddress), core::mem::transmute_copy(&relmulticastaddress)) { Ok(ok__) => { - core::ptr::write(ppqinfos, core::mem::transmute(ok__)); + ppqinfos.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4468,7 +4468,7 @@ impl IMSMQQueue_Vtbl { let this = (*this).get_impl(); match IMSMQQueue_Impl::Access(this) { Ok(ok__) => { - core::ptr::write(placcess, core::mem::transmute(ok__)); + placcess.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4479,7 +4479,7 @@ impl IMSMQQueue_Vtbl { let this = (*this).get_impl(); match IMSMQQueue_Impl::ShareMode(this) { Ok(ok__) => { - core::ptr::write(plsharemode, core::mem::transmute(ok__)); + plsharemode.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4490,7 +4490,7 @@ impl IMSMQQueue_Vtbl { let this = (*this).get_impl(); match IMSMQQueue_Impl::QueueInfo(this) { Ok(ok__) => { - core::ptr::write(ppqinfo, core::mem::transmute(ok__)); + ppqinfo.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4501,7 +4501,7 @@ impl IMSMQQueue_Vtbl { let this = (*this).get_impl(); match IMSMQQueue_Impl::Handle(this) { Ok(ok__) => { - core::ptr::write(plhandle, core::mem::transmute(ok__)); + plhandle.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4512,7 +4512,7 @@ impl IMSMQQueue_Vtbl { let this = (*this).get_impl(); match IMSMQQueue_Impl::IsOpen(this) { Ok(ok__) => { - core::ptr::write(pisopen, core::mem::transmute(ok__)); + pisopen.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4528,7 +4528,7 @@ impl IMSMQQueue_Vtbl { let this = (*this).get_impl(); match IMSMQQueue_Impl::Receive(this, core::mem::transmute_copy(&transaction), core::mem::transmute_copy(&wantdestinationqueue), core::mem::transmute_copy(&wantbody), core::mem::transmute_copy(&receivetimeout)) { Ok(ok__) => { - core::ptr::write(ppmsg, core::mem::transmute(ok__)); + ppmsg.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4539,7 +4539,7 @@ impl IMSMQQueue_Vtbl { let this = (*this).get_impl(); match IMSMQQueue_Impl::Peek(this, core::mem::transmute_copy(&wantdestinationqueue), core::mem::transmute_copy(&wantbody), core::mem::transmute_copy(&receivetimeout)) { Ok(ok__) => { - core::ptr::write(ppmsg, core::mem::transmute(ok__)); + ppmsg.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4560,7 +4560,7 @@ impl IMSMQQueue_Vtbl { let this = (*this).get_impl(); match IMSMQQueue_Impl::ReceiveCurrent(this, core::mem::transmute_copy(&transaction), core::mem::transmute_copy(&wantdestinationqueue), core::mem::transmute_copy(&wantbody), core::mem::transmute_copy(&receivetimeout)) { Ok(ok__) => { - core::ptr::write(ppmsg, core::mem::transmute(ok__)); + ppmsg.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4571,7 +4571,7 @@ impl IMSMQQueue_Vtbl { let this = (*this).get_impl(); match IMSMQQueue_Impl::PeekNext(this, core::mem::transmute_copy(&wantdestinationqueue), core::mem::transmute_copy(&wantbody), core::mem::transmute_copy(&receivetimeout)) { Ok(ok__) => { - core::ptr::write(ppmsg, core::mem::transmute(ok__)); + ppmsg.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4582,7 +4582,7 @@ impl IMSMQQueue_Vtbl { let this = (*this).get_impl(); match IMSMQQueue_Impl::PeekCurrent(this, core::mem::transmute_copy(&wantdestinationqueue), core::mem::transmute_copy(&wantbody), core::mem::transmute_copy(&receivetimeout)) { Ok(ok__) => { - core::ptr::write(ppmsg, core::mem::transmute(ok__)); + ppmsg.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4641,7 +4641,7 @@ impl IMSMQQueue2_Vtbl { let this = (*this).get_impl(); match IMSMQQueue2_Impl::Access(this) { Ok(ok__) => { - core::ptr::write(placcess, core::mem::transmute(ok__)); + placcess.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4652,7 +4652,7 @@ impl IMSMQQueue2_Vtbl { let this = (*this).get_impl(); match IMSMQQueue2_Impl::ShareMode(this) { Ok(ok__) => { - core::ptr::write(plsharemode, core::mem::transmute(ok__)); + plsharemode.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4663,7 +4663,7 @@ impl IMSMQQueue2_Vtbl { let this = (*this).get_impl(); match IMSMQQueue2_Impl::QueueInfo(this) { Ok(ok__) => { - core::ptr::write(ppqinfo, core::mem::transmute(ok__)); + ppqinfo.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4674,7 +4674,7 @@ impl IMSMQQueue2_Vtbl { let this = (*this).get_impl(); match IMSMQQueue2_Impl::Handle(this) { Ok(ok__) => { - core::ptr::write(plhandle, core::mem::transmute(ok__)); + plhandle.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4685,7 +4685,7 @@ impl IMSMQQueue2_Vtbl { let this = (*this).get_impl(); match IMSMQQueue2_Impl::IsOpen(this) { Ok(ok__) => { - core::ptr::write(pisopen, core::mem::transmute(ok__)); + pisopen.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4701,7 +4701,7 @@ impl IMSMQQueue2_Vtbl { let this = (*this).get_impl(); match IMSMQQueue2_Impl::Receive_v1(this, core::mem::transmute_copy(&transaction), core::mem::transmute_copy(&wantdestinationqueue), core::mem::transmute_copy(&wantbody), core::mem::transmute_copy(&receivetimeout)) { Ok(ok__) => { - core::ptr::write(ppmsg, core::mem::transmute(ok__)); + ppmsg.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4712,7 +4712,7 @@ impl IMSMQQueue2_Vtbl { let this = (*this).get_impl(); match IMSMQQueue2_Impl::Peek_v1(this, core::mem::transmute_copy(&wantdestinationqueue), core::mem::transmute_copy(&wantbody), core::mem::transmute_copy(&receivetimeout)) { Ok(ok__) => { - core::ptr::write(ppmsg, core::mem::transmute(ok__)); + ppmsg.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4733,7 +4733,7 @@ impl IMSMQQueue2_Vtbl { let this = (*this).get_impl(); match IMSMQQueue2_Impl::ReceiveCurrent_v1(this, core::mem::transmute_copy(&transaction), core::mem::transmute_copy(&wantdestinationqueue), core::mem::transmute_copy(&wantbody), core::mem::transmute_copy(&receivetimeout)) { Ok(ok__) => { - core::ptr::write(ppmsg, core::mem::transmute(ok__)); + ppmsg.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4744,7 +4744,7 @@ impl IMSMQQueue2_Vtbl { let this = (*this).get_impl(); match IMSMQQueue2_Impl::PeekNext_v1(this, core::mem::transmute_copy(&wantdestinationqueue), core::mem::transmute_copy(&wantbody), core::mem::transmute_copy(&receivetimeout)) { Ok(ok__) => { - core::ptr::write(ppmsg, core::mem::transmute(ok__)); + ppmsg.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4755,7 +4755,7 @@ impl IMSMQQueue2_Vtbl { let this = (*this).get_impl(); match IMSMQQueue2_Impl::PeekCurrent_v1(this, core::mem::transmute_copy(&wantdestinationqueue), core::mem::transmute_copy(&wantbody), core::mem::transmute_copy(&receivetimeout)) { Ok(ok__) => { - core::ptr::write(ppmsg, core::mem::transmute(ok__)); + ppmsg.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4766,7 +4766,7 @@ impl IMSMQQueue2_Vtbl { let this = (*this).get_impl(); match IMSMQQueue2_Impl::Receive(this, core::mem::transmute_copy(&transaction), core::mem::transmute_copy(&wantdestinationqueue), core::mem::transmute_copy(&wantbody), core::mem::transmute_copy(&receivetimeout), core::mem::transmute_copy(&wantconnectortype)) { Ok(ok__) => { - core::ptr::write(ppmsg, core::mem::transmute(ok__)); + ppmsg.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4777,7 +4777,7 @@ impl IMSMQQueue2_Vtbl { let this = (*this).get_impl(); match IMSMQQueue2_Impl::Peek(this, core::mem::transmute_copy(&wantdestinationqueue), core::mem::transmute_copy(&wantbody), core::mem::transmute_copy(&receivetimeout), core::mem::transmute_copy(&wantconnectortype)) { Ok(ok__) => { - core::ptr::write(ppmsg, core::mem::transmute(ok__)); + ppmsg.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4788,7 +4788,7 @@ impl IMSMQQueue2_Vtbl { let this = (*this).get_impl(); match IMSMQQueue2_Impl::ReceiveCurrent(this, core::mem::transmute_copy(&transaction), core::mem::transmute_copy(&wantdestinationqueue), core::mem::transmute_copy(&wantbody), core::mem::transmute_copy(&receivetimeout), core::mem::transmute_copy(&wantconnectortype)) { Ok(ok__) => { - core::ptr::write(ppmsg, core::mem::transmute(ok__)); + ppmsg.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4799,7 +4799,7 @@ impl IMSMQQueue2_Vtbl { let this = (*this).get_impl(); match IMSMQQueue2_Impl::PeekNext(this, core::mem::transmute_copy(&wantdestinationqueue), core::mem::transmute_copy(&wantbody), core::mem::transmute_copy(&receivetimeout), core::mem::transmute_copy(&wantconnectortype)) { Ok(ok__) => { - core::ptr::write(ppmsg, core::mem::transmute(ok__)); + ppmsg.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4810,7 +4810,7 @@ impl IMSMQQueue2_Vtbl { let this = (*this).get_impl(); match IMSMQQueue2_Impl::PeekCurrent(this, core::mem::transmute_copy(&wantdestinationqueue), core::mem::transmute_copy(&wantbody), core::mem::transmute_copy(&receivetimeout), core::mem::transmute_copy(&wantconnectortype)) { Ok(ok__) => { - core::ptr::write(ppmsg, core::mem::transmute(ok__)); + ppmsg.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4821,7 +4821,7 @@ impl IMSMQQueue2_Vtbl { let this = (*this).get_impl(); match IMSMQQueue2_Impl::Properties(this) { Ok(ok__) => { - core::ptr::write(ppcolproperties, core::mem::transmute(ok__)); + ppcolproperties.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4899,7 +4899,7 @@ impl IMSMQQueue3_Vtbl { let this = (*this).get_impl(); match IMSMQQueue3_Impl::Access(this) { Ok(ok__) => { - core::ptr::write(placcess, core::mem::transmute(ok__)); + placcess.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4910,7 +4910,7 @@ impl IMSMQQueue3_Vtbl { let this = (*this).get_impl(); match IMSMQQueue3_Impl::ShareMode(this) { Ok(ok__) => { - core::ptr::write(plsharemode, core::mem::transmute(ok__)); + plsharemode.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4921,7 +4921,7 @@ impl IMSMQQueue3_Vtbl { let this = (*this).get_impl(); match IMSMQQueue3_Impl::QueueInfo(this) { Ok(ok__) => { - core::ptr::write(ppqinfo, core::mem::transmute(ok__)); + ppqinfo.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4932,7 +4932,7 @@ impl IMSMQQueue3_Vtbl { let this = (*this).get_impl(); match IMSMQQueue3_Impl::Handle(this) { Ok(ok__) => { - core::ptr::write(plhandle, core::mem::transmute(ok__)); + plhandle.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4943,7 +4943,7 @@ impl IMSMQQueue3_Vtbl { let this = (*this).get_impl(); match IMSMQQueue3_Impl::IsOpen(this) { Ok(ok__) => { - core::ptr::write(pisopen, core::mem::transmute(ok__)); + pisopen.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4959,7 +4959,7 @@ impl IMSMQQueue3_Vtbl { let this = (*this).get_impl(); match IMSMQQueue3_Impl::Receive_v1(this, core::mem::transmute_copy(&transaction), core::mem::transmute_copy(&wantdestinationqueue), core::mem::transmute_copy(&wantbody), core::mem::transmute_copy(&receivetimeout)) { Ok(ok__) => { - core::ptr::write(ppmsg, core::mem::transmute(ok__)); + ppmsg.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4970,7 +4970,7 @@ impl IMSMQQueue3_Vtbl { let this = (*this).get_impl(); match IMSMQQueue3_Impl::Peek_v1(this, core::mem::transmute_copy(&wantdestinationqueue), core::mem::transmute_copy(&wantbody), core::mem::transmute_copy(&receivetimeout)) { Ok(ok__) => { - core::ptr::write(ppmsg, core::mem::transmute(ok__)); + ppmsg.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4991,7 +4991,7 @@ impl IMSMQQueue3_Vtbl { let this = (*this).get_impl(); match IMSMQQueue3_Impl::ReceiveCurrent_v1(this, core::mem::transmute_copy(&transaction), core::mem::transmute_copy(&wantdestinationqueue), core::mem::transmute_copy(&wantbody), core::mem::transmute_copy(&receivetimeout)) { Ok(ok__) => { - core::ptr::write(ppmsg, core::mem::transmute(ok__)); + ppmsg.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5002,7 +5002,7 @@ impl IMSMQQueue3_Vtbl { let this = (*this).get_impl(); match IMSMQQueue3_Impl::PeekNext_v1(this, core::mem::transmute_copy(&wantdestinationqueue), core::mem::transmute_copy(&wantbody), core::mem::transmute_copy(&receivetimeout)) { Ok(ok__) => { - core::ptr::write(ppmsg, core::mem::transmute(ok__)); + ppmsg.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5013,7 +5013,7 @@ impl IMSMQQueue3_Vtbl { let this = (*this).get_impl(); match IMSMQQueue3_Impl::PeekCurrent_v1(this, core::mem::transmute_copy(&wantdestinationqueue), core::mem::transmute_copy(&wantbody), core::mem::transmute_copy(&receivetimeout)) { Ok(ok__) => { - core::ptr::write(ppmsg, core::mem::transmute(ok__)); + ppmsg.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5024,7 +5024,7 @@ impl IMSMQQueue3_Vtbl { let this = (*this).get_impl(); match IMSMQQueue3_Impl::Receive(this, core::mem::transmute_copy(&transaction), core::mem::transmute_copy(&wantdestinationqueue), core::mem::transmute_copy(&wantbody), core::mem::transmute_copy(&receivetimeout), core::mem::transmute_copy(&wantconnectortype)) { Ok(ok__) => { - core::ptr::write(ppmsg, core::mem::transmute(ok__)); + ppmsg.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5035,7 +5035,7 @@ impl IMSMQQueue3_Vtbl { let this = (*this).get_impl(); match IMSMQQueue3_Impl::Peek(this, core::mem::transmute_copy(&wantdestinationqueue), core::mem::transmute_copy(&wantbody), core::mem::transmute_copy(&receivetimeout), core::mem::transmute_copy(&wantconnectortype)) { Ok(ok__) => { - core::ptr::write(ppmsg, core::mem::transmute(ok__)); + ppmsg.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5046,7 +5046,7 @@ impl IMSMQQueue3_Vtbl { let this = (*this).get_impl(); match IMSMQQueue3_Impl::ReceiveCurrent(this, core::mem::transmute_copy(&transaction), core::mem::transmute_copy(&wantdestinationqueue), core::mem::transmute_copy(&wantbody), core::mem::transmute_copy(&receivetimeout), core::mem::transmute_copy(&wantconnectortype)) { Ok(ok__) => { - core::ptr::write(ppmsg, core::mem::transmute(ok__)); + ppmsg.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5057,7 +5057,7 @@ impl IMSMQQueue3_Vtbl { let this = (*this).get_impl(); match IMSMQQueue3_Impl::PeekNext(this, core::mem::transmute_copy(&wantdestinationqueue), core::mem::transmute_copy(&wantbody), core::mem::transmute_copy(&receivetimeout), core::mem::transmute_copy(&wantconnectortype)) { Ok(ok__) => { - core::ptr::write(ppmsg, core::mem::transmute(ok__)); + ppmsg.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5068,7 +5068,7 @@ impl IMSMQQueue3_Vtbl { let this = (*this).get_impl(); match IMSMQQueue3_Impl::PeekCurrent(this, core::mem::transmute_copy(&wantdestinationqueue), core::mem::transmute_copy(&wantbody), core::mem::transmute_copy(&receivetimeout), core::mem::transmute_copy(&wantconnectortype)) { Ok(ok__) => { - core::ptr::write(ppmsg, core::mem::transmute(ok__)); + ppmsg.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5079,7 +5079,7 @@ impl IMSMQQueue3_Vtbl { let this = (*this).get_impl(); match IMSMQQueue3_Impl::Properties(this) { Ok(ok__) => { - core::ptr::write(ppcolproperties, core::mem::transmute(ok__)); + ppcolproperties.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5090,7 +5090,7 @@ impl IMSMQQueue3_Vtbl { let this = (*this).get_impl(); match IMSMQQueue3_Impl::Handle2(this) { Ok(ok__) => { - core::ptr::write(pvarhandle, core::mem::transmute(ok__)); + pvarhandle.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5101,7 +5101,7 @@ impl IMSMQQueue3_Vtbl { let this = (*this).get_impl(); match IMSMQQueue3_Impl::ReceiveByLookupId(this, core::mem::transmute(&lookupid), core::mem::transmute_copy(&transaction), core::mem::transmute_copy(&wantdestinationqueue), core::mem::transmute_copy(&wantbody), core::mem::transmute_copy(&wantconnectortype)) { Ok(ok__) => { - core::ptr::write(ppmsg, core::mem::transmute(ok__)); + ppmsg.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5112,7 +5112,7 @@ impl IMSMQQueue3_Vtbl { let this = (*this).get_impl(); match IMSMQQueue3_Impl::ReceiveNextByLookupId(this, core::mem::transmute(&lookupid), core::mem::transmute_copy(&transaction), core::mem::transmute_copy(&wantdestinationqueue), core::mem::transmute_copy(&wantbody), core::mem::transmute_copy(&wantconnectortype)) { Ok(ok__) => { - core::ptr::write(ppmsg, core::mem::transmute(ok__)); + ppmsg.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5123,7 +5123,7 @@ impl IMSMQQueue3_Vtbl { let this = (*this).get_impl(); match IMSMQQueue3_Impl::ReceivePreviousByLookupId(this, core::mem::transmute(&lookupid), core::mem::transmute_copy(&transaction), core::mem::transmute_copy(&wantdestinationqueue), core::mem::transmute_copy(&wantbody), core::mem::transmute_copy(&wantconnectortype)) { Ok(ok__) => { - core::ptr::write(ppmsg, core::mem::transmute(ok__)); + ppmsg.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5134,7 +5134,7 @@ impl IMSMQQueue3_Vtbl { let this = (*this).get_impl(); match IMSMQQueue3_Impl::ReceiveFirstByLookupId(this, core::mem::transmute_copy(&transaction), core::mem::transmute_copy(&wantdestinationqueue), core::mem::transmute_copy(&wantbody), core::mem::transmute_copy(&wantconnectortype)) { Ok(ok__) => { - core::ptr::write(ppmsg, core::mem::transmute(ok__)); + ppmsg.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5145,7 +5145,7 @@ impl IMSMQQueue3_Vtbl { let this = (*this).get_impl(); match IMSMQQueue3_Impl::ReceiveLastByLookupId(this, core::mem::transmute_copy(&transaction), core::mem::transmute_copy(&wantdestinationqueue), core::mem::transmute_copy(&wantbody), core::mem::transmute_copy(&wantconnectortype)) { Ok(ok__) => { - core::ptr::write(ppmsg, core::mem::transmute(ok__)); + ppmsg.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5156,7 +5156,7 @@ impl IMSMQQueue3_Vtbl { let this = (*this).get_impl(); match IMSMQQueue3_Impl::PeekByLookupId(this, core::mem::transmute(&lookupid), core::mem::transmute_copy(&wantdestinationqueue), core::mem::transmute_copy(&wantbody), core::mem::transmute_copy(&wantconnectortype)) { Ok(ok__) => { - core::ptr::write(ppmsg, core::mem::transmute(ok__)); + ppmsg.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5167,7 +5167,7 @@ impl IMSMQQueue3_Vtbl { let this = (*this).get_impl(); match IMSMQQueue3_Impl::PeekNextByLookupId(this, core::mem::transmute(&lookupid), core::mem::transmute_copy(&wantdestinationqueue), core::mem::transmute_copy(&wantbody), core::mem::transmute_copy(&wantconnectortype)) { Ok(ok__) => { - core::ptr::write(ppmsg, core::mem::transmute(ok__)); + ppmsg.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5178,7 +5178,7 @@ impl IMSMQQueue3_Vtbl { let this = (*this).get_impl(); match IMSMQQueue3_Impl::PeekPreviousByLookupId(this, core::mem::transmute(&lookupid), core::mem::transmute_copy(&wantdestinationqueue), core::mem::transmute_copy(&wantbody), core::mem::transmute_copy(&wantconnectortype)) { Ok(ok__) => { - core::ptr::write(ppmsg, core::mem::transmute(ok__)); + ppmsg.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5189,7 +5189,7 @@ impl IMSMQQueue3_Vtbl { let this = (*this).get_impl(); match IMSMQQueue3_Impl::PeekFirstByLookupId(this, core::mem::transmute_copy(&wantdestinationqueue), core::mem::transmute_copy(&wantbody), core::mem::transmute_copy(&wantconnectortype)) { Ok(ok__) => { - core::ptr::write(ppmsg, core::mem::transmute(ok__)); + ppmsg.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5200,7 +5200,7 @@ impl IMSMQQueue3_Vtbl { let this = (*this).get_impl(); match IMSMQQueue3_Impl::PeekLastByLookupId(this, core::mem::transmute_copy(&wantdestinationqueue), core::mem::transmute_copy(&wantbody), core::mem::transmute_copy(&wantconnectortype)) { Ok(ok__) => { - core::ptr::write(ppmsg, core::mem::transmute(ok__)); + ppmsg.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5216,7 +5216,7 @@ impl IMSMQQueue3_Vtbl { let this = (*this).get_impl(); match IMSMQQueue3_Impl::IsOpen2(this) { Ok(ok__) => { - core::ptr::write(pisopen, core::mem::transmute(ok__)); + pisopen.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5308,7 +5308,7 @@ impl IMSMQQueue4_Vtbl { let this = (*this).get_impl(); match IMSMQQueue4_Impl::Access(this) { Ok(ok__) => { - core::ptr::write(placcess, core::mem::transmute(ok__)); + placcess.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5319,7 +5319,7 @@ impl IMSMQQueue4_Vtbl { let this = (*this).get_impl(); match IMSMQQueue4_Impl::ShareMode(this) { Ok(ok__) => { - core::ptr::write(plsharemode, core::mem::transmute(ok__)); + plsharemode.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5330,7 +5330,7 @@ impl IMSMQQueue4_Vtbl { let this = (*this).get_impl(); match IMSMQQueue4_Impl::QueueInfo(this) { Ok(ok__) => { - core::ptr::write(ppqinfo, core::mem::transmute(ok__)); + ppqinfo.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5341,7 +5341,7 @@ impl IMSMQQueue4_Vtbl { let this = (*this).get_impl(); match IMSMQQueue4_Impl::Handle(this) { Ok(ok__) => { - core::ptr::write(plhandle, core::mem::transmute(ok__)); + plhandle.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5352,7 +5352,7 @@ impl IMSMQQueue4_Vtbl { let this = (*this).get_impl(); match IMSMQQueue4_Impl::IsOpen(this) { Ok(ok__) => { - core::ptr::write(pisopen, core::mem::transmute(ok__)); + pisopen.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5368,7 +5368,7 @@ impl IMSMQQueue4_Vtbl { let this = (*this).get_impl(); match IMSMQQueue4_Impl::Receive_v1(this, core::mem::transmute_copy(&transaction), core::mem::transmute_copy(&wantdestinationqueue), core::mem::transmute_copy(&wantbody), core::mem::transmute_copy(&receivetimeout)) { Ok(ok__) => { - core::ptr::write(ppmsg, core::mem::transmute(ok__)); + ppmsg.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5379,7 +5379,7 @@ impl IMSMQQueue4_Vtbl { let this = (*this).get_impl(); match IMSMQQueue4_Impl::Peek_v1(this, core::mem::transmute_copy(&wantdestinationqueue), core::mem::transmute_copy(&wantbody), core::mem::transmute_copy(&receivetimeout)) { Ok(ok__) => { - core::ptr::write(ppmsg, core::mem::transmute(ok__)); + ppmsg.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5400,7 +5400,7 @@ impl IMSMQQueue4_Vtbl { let this = (*this).get_impl(); match IMSMQQueue4_Impl::ReceiveCurrent_v1(this, core::mem::transmute_copy(&transaction), core::mem::transmute_copy(&wantdestinationqueue), core::mem::transmute_copy(&wantbody), core::mem::transmute_copy(&receivetimeout)) { Ok(ok__) => { - core::ptr::write(ppmsg, core::mem::transmute(ok__)); + ppmsg.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5411,7 +5411,7 @@ impl IMSMQQueue4_Vtbl { let this = (*this).get_impl(); match IMSMQQueue4_Impl::PeekNext_v1(this, core::mem::transmute_copy(&wantdestinationqueue), core::mem::transmute_copy(&wantbody), core::mem::transmute_copy(&receivetimeout)) { Ok(ok__) => { - core::ptr::write(ppmsg, core::mem::transmute(ok__)); + ppmsg.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5422,7 +5422,7 @@ impl IMSMQQueue4_Vtbl { let this = (*this).get_impl(); match IMSMQQueue4_Impl::PeekCurrent_v1(this, core::mem::transmute_copy(&wantdestinationqueue), core::mem::transmute_copy(&wantbody), core::mem::transmute_copy(&receivetimeout)) { Ok(ok__) => { - core::ptr::write(ppmsg, core::mem::transmute(ok__)); + ppmsg.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5433,7 +5433,7 @@ impl IMSMQQueue4_Vtbl { let this = (*this).get_impl(); match IMSMQQueue4_Impl::Receive(this, core::mem::transmute_copy(&transaction), core::mem::transmute_copy(&wantdestinationqueue), core::mem::transmute_copy(&wantbody), core::mem::transmute_copy(&receivetimeout), core::mem::transmute_copy(&wantconnectortype)) { Ok(ok__) => { - core::ptr::write(ppmsg, core::mem::transmute(ok__)); + ppmsg.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5444,7 +5444,7 @@ impl IMSMQQueue4_Vtbl { let this = (*this).get_impl(); match IMSMQQueue4_Impl::Peek(this, core::mem::transmute_copy(&wantdestinationqueue), core::mem::transmute_copy(&wantbody), core::mem::transmute_copy(&receivetimeout), core::mem::transmute_copy(&wantconnectortype)) { Ok(ok__) => { - core::ptr::write(ppmsg, core::mem::transmute(ok__)); + ppmsg.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5455,7 +5455,7 @@ impl IMSMQQueue4_Vtbl { let this = (*this).get_impl(); match IMSMQQueue4_Impl::ReceiveCurrent(this, core::mem::transmute_copy(&transaction), core::mem::transmute_copy(&wantdestinationqueue), core::mem::transmute_copy(&wantbody), core::mem::transmute_copy(&receivetimeout), core::mem::transmute_copy(&wantconnectortype)) { Ok(ok__) => { - core::ptr::write(ppmsg, core::mem::transmute(ok__)); + ppmsg.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5466,7 +5466,7 @@ impl IMSMQQueue4_Vtbl { let this = (*this).get_impl(); match IMSMQQueue4_Impl::PeekNext(this, core::mem::transmute_copy(&wantdestinationqueue), core::mem::transmute_copy(&wantbody), core::mem::transmute_copy(&receivetimeout), core::mem::transmute_copy(&wantconnectortype)) { Ok(ok__) => { - core::ptr::write(ppmsg, core::mem::transmute(ok__)); + ppmsg.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5477,7 +5477,7 @@ impl IMSMQQueue4_Vtbl { let this = (*this).get_impl(); match IMSMQQueue4_Impl::PeekCurrent(this, core::mem::transmute_copy(&wantdestinationqueue), core::mem::transmute_copy(&wantbody), core::mem::transmute_copy(&receivetimeout), core::mem::transmute_copy(&wantconnectortype)) { Ok(ok__) => { - core::ptr::write(ppmsg, core::mem::transmute(ok__)); + ppmsg.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5488,7 +5488,7 @@ impl IMSMQQueue4_Vtbl { let this = (*this).get_impl(); match IMSMQQueue4_Impl::Properties(this) { Ok(ok__) => { - core::ptr::write(ppcolproperties, core::mem::transmute(ok__)); + ppcolproperties.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5499,7 +5499,7 @@ impl IMSMQQueue4_Vtbl { let this = (*this).get_impl(); match IMSMQQueue4_Impl::Handle2(this) { Ok(ok__) => { - core::ptr::write(pvarhandle, core::mem::transmute(ok__)); + pvarhandle.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5510,7 +5510,7 @@ impl IMSMQQueue4_Vtbl { let this = (*this).get_impl(); match IMSMQQueue4_Impl::ReceiveByLookupId(this, core::mem::transmute(&lookupid), core::mem::transmute_copy(&transaction), core::mem::transmute_copy(&wantdestinationqueue), core::mem::transmute_copy(&wantbody), core::mem::transmute_copy(&wantconnectortype)) { Ok(ok__) => { - core::ptr::write(ppmsg, core::mem::transmute(ok__)); + ppmsg.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5521,7 +5521,7 @@ impl IMSMQQueue4_Vtbl { let this = (*this).get_impl(); match IMSMQQueue4_Impl::ReceiveNextByLookupId(this, core::mem::transmute(&lookupid), core::mem::transmute_copy(&transaction), core::mem::transmute_copy(&wantdestinationqueue), core::mem::transmute_copy(&wantbody), core::mem::transmute_copy(&wantconnectortype)) { Ok(ok__) => { - core::ptr::write(ppmsg, core::mem::transmute(ok__)); + ppmsg.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5532,7 +5532,7 @@ impl IMSMQQueue4_Vtbl { let this = (*this).get_impl(); match IMSMQQueue4_Impl::ReceivePreviousByLookupId(this, core::mem::transmute(&lookupid), core::mem::transmute_copy(&transaction), core::mem::transmute_copy(&wantdestinationqueue), core::mem::transmute_copy(&wantbody), core::mem::transmute_copy(&wantconnectortype)) { Ok(ok__) => { - core::ptr::write(ppmsg, core::mem::transmute(ok__)); + ppmsg.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5543,7 +5543,7 @@ impl IMSMQQueue4_Vtbl { let this = (*this).get_impl(); match IMSMQQueue4_Impl::ReceiveFirstByLookupId(this, core::mem::transmute_copy(&transaction), core::mem::transmute_copy(&wantdestinationqueue), core::mem::transmute_copy(&wantbody), core::mem::transmute_copy(&wantconnectortype)) { Ok(ok__) => { - core::ptr::write(ppmsg, core::mem::transmute(ok__)); + ppmsg.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5554,7 +5554,7 @@ impl IMSMQQueue4_Vtbl { let this = (*this).get_impl(); match IMSMQQueue4_Impl::ReceiveLastByLookupId(this, core::mem::transmute_copy(&transaction), core::mem::transmute_copy(&wantdestinationqueue), core::mem::transmute_copy(&wantbody), core::mem::transmute_copy(&wantconnectortype)) { Ok(ok__) => { - core::ptr::write(ppmsg, core::mem::transmute(ok__)); + ppmsg.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5565,7 +5565,7 @@ impl IMSMQQueue4_Vtbl { let this = (*this).get_impl(); match IMSMQQueue4_Impl::PeekByLookupId(this, core::mem::transmute(&lookupid), core::mem::transmute_copy(&wantdestinationqueue), core::mem::transmute_copy(&wantbody), core::mem::transmute_copy(&wantconnectortype)) { Ok(ok__) => { - core::ptr::write(ppmsg, core::mem::transmute(ok__)); + ppmsg.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5576,7 +5576,7 @@ impl IMSMQQueue4_Vtbl { let this = (*this).get_impl(); match IMSMQQueue4_Impl::PeekNextByLookupId(this, core::mem::transmute(&lookupid), core::mem::transmute_copy(&wantdestinationqueue), core::mem::transmute_copy(&wantbody), core::mem::transmute_copy(&wantconnectortype)) { Ok(ok__) => { - core::ptr::write(ppmsg, core::mem::transmute(ok__)); + ppmsg.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5587,7 +5587,7 @@ impl IMSMQQueue4_Vtbl { let this = (*this).get_impl(); match IMSMQQueue4_Impl::PeekPreviousByLookupId(this, core::mem::transmute(&lookupid), core::mem::transmute_copy(&wantdestinationqueue), core::mem::transmute_copy(&wantbody), core::mem::transmute_copy(&wantconnectortype)) { Ok(ok__) => { - core::ptr::write(ppmsg, core::mem::transmute(ok__)); + ppmsg.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5598,7 +5598,7 @@ impl IMSMQQueue4_Vtbl { let this = (*this).get_impl(); match IMSMQQueue4_Impl::PeekFirstByLookupId(this, core::mem::transmute_copy(&wantdestinationqueue), core::mem::transmute_copy(&wantbody), core::mem::transmute_copy(&wantconnectortype)) { Ok(ok__) => { - core::ptr::write(ppmsg, core::mem::transmute(ok__)); + ppmsg.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5609,7 +5609,7 @@ impl IMSMQQueue4_Vtbl { let this = (*this).get_impl(); match IMSMQQueue4_Impl::PeekLastByLookupId(this, core::mem::transmute_copy(&wantdestinationqueue), core::mem::transmute_copy(&wantbody), core::mem::transmute_copy(&wantconnectortype)) { Ok(ok__) => { - core::ptr::write(ppmsg, core::mem::transmute(ok__)); + ppmsg.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5625,7 +5625,7 @@ impl IMSMQQueue4_Vtbl { let this = (*this).get_impl(); match IMSMQQueue4_Impl::IsOpen2(this) { Ok(ok__) => { - core::ptr::write(pisopen, core::mem::transmute(ok__)); + pisopen.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5636,7 +5636,7 @@ impl IMSMQQueue4_Vtbl { let this = (*this).get_impl(); match IMSMQQueue4_Impl::ReceiveByLookupIdAllowPeek(this, core::mem::transmute(&lookupid), core::mem::transmute_copy(&transaction), core::mem::transmute_copy(&wantdestinationqueue), core::mem::transmute_copy(&wantbody), core::mem::transmute_copy(&wantconnectortype)) { Ok(ok__) => { - core::ptr::write(ppmsg, core::mem::transmute(ok__)); + ppmsg.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5726,7 +5726,7 @@ impl IMSMQQueueInfo_Vtbl { let this = (*this).get_impl(); match IMSMQQueueInfo_Impl::QueueGuid(this) { Ok(ok__) => { - core::ptr::write(pbstrguidqueue, core::mem::transmute(ok__)); + pbstrguidqueue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5737,7 +5737,7 @@ impl IMSMQQueueInfo_Vtbl { let this = (*this).get_impl(); match IMSMQQueueInfo_Impl::ServiceTypeGuid(this) { Ok(ok__) => { - core::ptr::write(pbstrguidservicetype, core::mem::transmute(ok__)); + pbstrguidservicetype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5753,7 +5753,7 @@ impl IMSMQQueueInfo_Vtbl { let this = (*this).get_impl(); match IMSMQQueueInfo_Impl::Label(this) { Ok(ok__) => { - core::ptr::write(pbstrlabel, core::mem::transmute(ok__)); + pbstrlabel.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5769,7 +5769,7 @@ impl IMSMQQueueInfo_Vtbl { let this = (*this).get_impl(); match IMSMQQueueInfo_Impl::PathName(this) { Ok(ok__) => { - core::ptr::write(pbstrpathname, core::mem::transmute(ok__)); + pbstrpathname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5785,7 +5785,7 @@ impl IMSMQQueueInfo_Vtbl { let this = (*this).get_impl(); match IMSMQQueueInfo_Impl::FormatName(this) { Ok(ok__) => { - core::ptr::write(pbstrformatname, core::mem::transmute(ok__)); + pbstrformatname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5801,7 +5801,7 @@ impl IMSMQQueueInfo_Vtbl { let this = (*this).get_impl(); match IMSMQQueueInfo_Impl::IsTransactional(this) { Ok(ok__) => { - core::ptr::write(pistransactional, core::mem::transmute(ok__)); + pistransactional.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5812,7 +5812,7 @@ impl IMSMQQueueInfo_Vtbl { let this = (*this).get_impl(); match IMSMQQueueInfo_Impl::PrivLevel(this) { Ok(ok__) => { - core::ptr::write(plprivlevel, core::mem::transmute(ok__)); + plprivlevel.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5828,7 +5828,7 @@ impl IMSMQQueueInfo_Vtbl { let this = (*this).get_impl(); match IMSMQQueueInfo_Impl::Journal(this) { Ok(ok__) => { - core::ptr::write(pljournal, core::mem::transmute(ok__)); + pljournal.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5844,7 +5844,7 @@ impl IMSMQQueueInfo_Vtbl { let this = (*this).get_impl(); match IMSMQQueueInfo_Impl::Quota(this) { Ok(ok__) => { - core::ptr::write(plquota, core::mem::transmute(ok__)); + plquota.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5860,7 +5860,7 @@ impl IMSMQQueueInfo_Vtbl { let this = (*this).get_impl(); match IMSMQQueueInfo_Impl::BasePriority(this) { Ok(ok__) => { - core::ptr::write(plbasepriority, core::mem::transmute(ok__)); + plbasepriority.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5876,7 +5876,7 @@ impl IMSMQQueueInfo_Vtbl { let this = (*this).get_impl(); match IMSMQQueueInfo_Impl::CreateTime(this) { Ok(ok__) => { - core::ptr::write(pvarcreatetime, core::mem::transmute(ok__)); + pvarcreatetime.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5887,7 +5887,7 @@ impl IMSMQQueueInfo_Vtbl { let this = (*this).get_impl(); match IMSMQQueueInfo_Impl::ModifyTime(this) { Ok(ok__) => { - core::ptr::write(pvarmodifytime, core::mem::transmute(ok__)); + pvarmodifytime.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5898,7 +5898,7 @@ impl IMSMQQueueInfo_Vtbl { let this = (*this).get_impl(); match IMSMQQueueInfo_Impl::Authenticate(this) { Ok(ok__) => { - core::ptr::write(plauthenticate, core::mem::transmute(ok__)); + plauthenticate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5914,7 +5914,7 @@ impl IMSMQQueueInfo_Vtbl { let this = (*this).get_impl(); match IMSMQQueueInfo_Impl::JournalQuota(this) { Ok(ok__) => { - core::ptr::write(pljournalquota, core::mem::transmute(ok__)); + pljournalquota.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5930,7 +5930,7 @@ impl IMSMQQueueInfo_Vtbl { let this = (*this).get_impl(); match IMSMQQueueInfo_Impl::IsWorldReadable(this) { Ok(ok__) => { - core::ptr::write(pisworldreadable, core::mem::transmute(ok__)); + pisworldreadable.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5951,7 +5951,7 @@ impl IMSMQQueueInfo_Vtbl { let this = (*this).get_impl(); match IMSMQQueueInfo_Impl::Open(this, core::mem::transmute_copy(&access), core::mem::transmute_copy(&sharemode)) { Ok(ok__) => { - core::ptr::write(ppq, core::mem::transmute(ok__)); + ppq.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6052,7 +6052,7 @@ impl IMSMQQueueInfo2_Vtbl { let this = (*this).get_impl(); match IMSMQQueueInfo2_Impl::QueueGuid(this) { Ok(ok__) => { - core::ptr::write(pbstrguidqueue, core::mem::transmute(ok__)); + pbstrguidqueue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6063,7 +6063,7 @@ impl IMSMQQueueInfo2_Vtbl { let this = (*this).get_impl(); match IMSMQQueueInfo2_Impl::ServiceTypeGuid(this) { Ok(ok__) => { - core::ptr::write(pbstrguidservicetype, core::mem::transmute(ok__)); + pbstrguidservicetype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6079,7 +6079,7 @@ impl IMSMQQueueInfo2_Vtbl { let this = (*this).get_impl(); match IMSMQQueueInfo2_Impl::Label(this) { Ok(ok__) => { - core::ptr::write(pbstrlabel, core::mem::transmute(ok__)); + pbstrlabel.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6095,7 +6095,7 @@ impl IMSMQQueueInfo2_Vtbl { let this = (*this).get_impl(); match IMSMQQueueInfo2_Impl::PathName(this) { Ok(ok__) => { - core::ptr::write(pbstrpathname, core::mem::transmute(ok__)); + pbstrpathname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6111,7 +6111,7 @@ impl IMSMQQueueInfo2_Vtbl { let this = (*this).get_impl(); match IMSMQQueueInfo2_Impl::FormatName(this) { Ok(ok__) => { - core::ptr::write(pbstrformatname, core::mem::transmute(ok__)); + pbstrformatname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6127,7 +6127,7 @@ impl IMSMQQueueInfo2_Vtbl { let this = (*this).get_impl(); match IMSMQQueueInfo2_Impl::IsTransactional(this) { Ok(ok__) => { - core::ptr::write(pistransactional, core::mem::transmute(ok__)); + pistransactional.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6138,7 +6138,7 @@ impl IMSMQQueueInfo2_Vtbl { let this = (*this).get_impl(); match IMSMQQueueInfo2_Impl::PrivLevel(this) { Ok(ok__) => { - core::ptr::write(plprivlevel, core::mem::transmute(ok__)); + plprivlevel.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6154,7 +6154,7 @@ impl IMSMQQueueInfo2_Vtbl { let this = (*this).get_impl(); match IMSMQQueueInfo2_Impl::Journal(this) { Ok(ok__) => { - core::ptr::write(pljournal, core::mem::transmute(ok__)); + pljournal.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6170,7 +6170,7 @@ impl IMSMQQueueInfo2_Vtbl { let this = (*this).get_impl(); match IMSMQQueueInfo2_Impl::Quota(this) { Ok(ok__) => { - core::ptr::write(plquota, core::mem::transmute(ok__)); + plquota.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6186,7 +6186,7 @@ impl IMSMQQueueInfo2_Vtbl { let this = (*this).get_impl(); match IMSMQQueueInfo2_Impl::BasePriority(this) { Ok(ok__) => { - core::ptr::write(plbasepriority, core::mem::transmute(ok__)); + plbasepriority.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6202,7 +6202,7 @@ impl IMSMQQueueInfo2_Vtbl { let this = (*this).get_impl(); match IMSMQQueueInfo2_Impl::CreateTime(this) { Ok(ok__) => { - core::ptr::write(pvarcreatetime, core::mem::transmute(ok__)); + pvarcreatetime.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6213,7 +6213,7 @@ impl IMSMQQueueInfo2_Vtbl { let this = (*this).get_impl(); match IMSMQQueueInfo2_Impl::ModifyTime(this) { Ok(ok__) => { - core::ptr::write(pvarmodifytime, core::mem::transmute(ok__)); + pvarmodifytime.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6224,7 +6224,7 @@ impl IMSMQQueueInfo2_Vtbl { let this = (*this).get_impl(); match IMSMQQueueInfo2_Impl::Authenticate(this) { Ok(ok__) => { - core::ptr::write(plauthenticate, core::mem::transmute(ok__)); + plauthenticate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6240,7 +6240,7 @@ impl IMSMQQueueInfo2_Vtbl { let this = (*this).get_impl(); match IMSMQQueueInfo2_Impl::JournalQuota(this) { Ok(ok__) => { - core::ptr::write(pljournalquota, core::mem::transmute(ok__)); + pljournalquota.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6256,7 +6256,7 @@ impl IMSMQQueueInfo2_Vtbl { let this = (*this).get_impl(); match IMSMQQueueInfo2_Impl::IsWorldReadable(this) { Ok(ok__) => { - core::ptr::write(pisworldreadable, core::mem::transmute(ok__)); + pisworldreadable.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6277,7 +6277,7 @@ impl IMSMQQueueInfo2_Vtbl { let this = (*this).get_impl(); match IMSMQQueueInfo2_Impl::Open(this, core::mem::transmute_copy(&access), core::mem::transmute_copy(&sharemode)) { Ok(ok__) => { - core::ptr::write(ppq, core::mem::transmute(ok__)); + ppq.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6298,7 +6298,7 @@ impl IMSMQQueueInfo2_Vtbl { let this = (*this).get_impl(); match IMSMQQueueInfo2_Impl::PathNameDNS(this) { Ok(ok__) => { - core::ptr::write(pbstrpathnamedns, core::mem::transmute(ok__)); + pbstrpathnamedns.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6309,7 +6309,7 @@ impl IMSMQQueueInfo2_Vtbl { let this = (*this).get_impl(); match IMSMQQueueInfo2_Impl::Properties(this) { Ok(ok__) => { - core::ptr::write(ppcolproperties, core::mem::transmute(ok__)); + ppcolproperties.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6320,7 +6320,7 @@ impl IMSMQQueueInfo2_Vtbl { let this = (*this).get_impl(); match IMSMQQueueInfo2_Impl::Security(this) { Ok(ok__) => { - core::ptr::write(pvarsecurity, core::mem::transmute(ok__)); + pvarsecurity.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6425,7 +6425,7 @@ impl IMSMQQueueInfo3_Vtbl { let this = (*this).get_impl(); match IMSMQQueueInfo3_Impl::QueueGuid(this) { Ok(ok__) => { - core::ptr::write(pbstrguidqueue, core::mem::transmute(ok__)); + pbstrguidqueue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6436,7 +6436,7 @@ impl IMSMQQueueInfo3_Vtbl { let this = (*this).get_impl(); match IMSMQQueueInfo3_Impl::ServiceTypeGuid(this) { Ok(ok__) => { - core::ptr::write(pbstrguidservicetype, core::mem::transmute(ok__)); + pbstrguidservicetype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6452,7 +6452,7 @@ impl IMSMQQueueInfo3_Vtbl { let this = (*this).get_impl(); match IMSMQQueueInfo3_Impl::Label(this) { Ok(ok__) => { - core::ptr::write(pbstrlabel, core::mem::transmute(ok__)); + pbstrlabel.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6468,7 +6468,7 @@ impl IMSMQQueueInfo3_Vtbl { let this = (*this).get_impl(); match IMSMQQueueInfo3_Impl::PathName(this) { Ok(ok__) => { - core::ptr::write(pbstrpathname, core::mem::transmute(ok__)); + pbstrpathname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6484,7 +6484,7 @@ impl IMSMQQueueInfo3_Vtbl { let this = (*this).get_impl(); match IMSMQQueueInfo3_Impl::FormatName(this) { Ok(ok__) => { - core::ptr::write(pbstrformatname, core::mem::transmute(ok__)); + pbstrformatname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6500,7 +6500,7 @@ impl IMSMQQueueInfo3_Vtbl { let this = (*this).get_impl(); match IMSMQQueueInfo3_Impl::IsTransactional(this) { Ok(ok__) => { - core::ptr::write(pistransactional, core::mem::transmute(ok__)); + pistransactional.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6511,7 +6511,7 @@ impl IMSMQQueueInfo3_Vtbl { let this = (*this).get_impl(); match IMSMQQueueInfo3_Impl::PrivLevel(this) { Ok(ok__) => { - core::ptr::write(plprivlevel, core::mem::transmute(ok__)); + plprivlevel.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6527,7 +6527,7 @@ impl IMSMQQueueInfo3_Vtbl { let this = (*this).get_impl(); match IMSMQQueueInfo3_Impl::Journal(this) { Ok(ok__) => { - core::ptr::write(pljournal, core::mem::transmute(ok__)); + pljournal.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6543,7 +6543,7 @@ impl IMSMQQueueInfo3_Vtbl { let this = (*this).get_impl(); match IMSMQQueueInfo3_Impl::Quota(this) { Ok(ok__) => { - core::ptr::write(plquota, core::mem::transmute(ok__)); + plquota.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6559,7 +6559,7 @@ impl IMSMQQueueInfo3_Vtbl { let this = (*this).get_impl(); match IMSMQQueueInfo3_Impl::BasePriority(this) { Ok(ok__) => { - core::ptr::write(plbasepriority, core::mem::transmute(ok__)); + plbasepriority.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6575,7 +6575,7 @@ impl IMSMQQueueInfo3_Vtbl { let this = (*this).get_impl(); match IMSMQQueueInfo3_Impl::CreateTime(this) { Ok(ok__) => { - core::ptr::write(pvarcreatetime, core::mem::transmute(ok__)); + pvarcreatetime.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6586,7 +6586,7 @@ impl IMSMQQueueInfo3_Vtbl { let this = (*this).get_impl(); match IMSMQQueueInfo3_Impl::ModifyTime(this) { Ok(ok__) => { - core::ptr::write(pvarmodifytime, core::mem::transmute(ok__)); + pvarmodifytime.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6597,7 +6597,7 @@ impl IMSMQQueueInfo3_Vtbl { let this = (*this).get_impl(); match IMSMQQueueInfo3_Impl::Authenticate(this) { Ok(ok__) => { - core::ptr::write(plauthenticate, core::mem::transmute(ok__)); + plauthenticate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6613,7 +6613,7 @@ impl IMSMQQueueInfo3_Vtbl { let this = (*this).get_impl(); match IMSMQQueueInfo3_Impl::JournalQuota(this) { Ok(ok__) => { - core::ptr::write(pljournalquota, core::mem::transmute(ok__)); + pljournalquota.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6629,7 +6629,7 @@ impl IMSMQQueueInfo3_Vtbl { let this = (*this).get_impl(); match IMSMQQueueInfo3_Impl::IsWorldReadable(this) { Ok(ok__) => { - core::ptr::write(pisworldreadable, core::mem::transmute(ok__)); + pisworldreadable.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6650,7 +6650,7 @@ impl IMSMQQueueInfo3_Vtbl { let this = (*this).get_impl(); match IMSMQQueueInfo3_Impl::Open(this, core::mem::transmute_copy(&access), core::mem::transmute_copy(&sharemode)) { Ok(ok__) => { - core::ptr::write(ppq, core::mem::transmute(ok__)); + ppq.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6671,7 +6671,7 @@ impl IMSMQQueueInfo3_Vtbl { let this = (*this).get_impl(); match IMSMQQueueInfo3_Impl::PathNameDNS(this) { Ok(ok__) => { - core::ptr::write(pbstrpathnamedns, core::mem::transmute(ok__)); + pbstrpathnamedns.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6682,7 +6682,7 @@ impl IMSMQQueueInfo3_Vtbl { let this = (*this).get_impl(); match IMSMQQueueInfo3_Impl::Properties(this) { Ok(ok__) => { - core::ptr::write(ppcolproperties, core::mem::transmute(ok__)); + ppcolproperties.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6693,7 +6693,7 @@ impl IMSMQQueueInfo3_Vtbl { let this = (*this).get_impl(); match IMSMQQueueInfo3_Impl::Security(this) { Ok(ok__) => { - core::ptr::write(pvarsecurity, core::mem::transmute(ok__)); + pvarsecurity.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6709,7 +6709,7 @@ impl IMSMQQueueInfo3_Vtbl { let this = (*this).get_impl(); match IMSMQQueueInfo3_Impl::IsTransactional2(this) { Ok(ok__) => { - core::ptr::write(pistransactional, core::mem::transmute(ok__)); + pistransactional.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6720,7 +6720,7 @@ impl IMSMQQueueInfo3_Vtbl { let this = (*this).get_impl(); match IMSMQQueueInfo3_Impl::IsWorldReadable2(this) { Ok(ok__) => { - core::ptr::write(pisworldreadable, core::mem::transmute(ok__)); + pisworldreadable.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6731,7 +6731,7 @@ impl IMSMQQueueInfo3_Vtbl { let this = (*this).get_impl(); match IMSMQQueueInfo3_Impl::MulticastAddress(this) { Ok(ok__) => { - core::ptr::write(pbstrmulticastaddress, core::mem::transmute(ok__)); + pbstrmulticastaddress.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6747,7 +6747,7 @@ impl IMSMQQueueInfo3_Vtbl { let this = (*this).get_impl(); match IMSMQQueueInfo3_Impl::ADsPath(this) { Ok(ok__) => { - core::ptr::write(pbstradspath, core::mem::transmute(ok__)); + pbstradspath.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6852,7 +6852,7 @@ impl IMSMQQueueInfo4_Vtbl { let this = (*this).get_impl(); match IMSMQQueueInfo4_Impl::QueueGuid(this) { Ok(ok__) => { - core::ptr::write(pbstrguidqueue, core::mem::transmute(ok__)); + pbstrguidqueue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6863,7 +6863,7 @@ impl IMSMQQueueInfo4_Vtbl { let this = (*this).get_impl(); match IMSMQQueueInfo4_Impl::ServiceTypeGuid(this) { Ok(ok__) => { - core::ptr::write(pbstrguidservicetype, core::mem::transmute(ok__)); + pbstrguidservicetype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6879,7 +6879,7 @@ impl IMSMQQueueInfo4_Vtbl { let this = (*this).get_impl(); match IMSMQQueueInfo4_Impl::Label(this) { Ok(ok__) => { - core::ptr::write(pbstrlabel, core::mem::transmute(ok__)); + pbstrlabel.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6895,7 +6895,7 @@ impl IMSMQQueueInfo4_Vtbl { let this = (*this).get_impl(); match IMSMQQueueInfo4_Impl::PathName(this) { Ok(ok__) => { - core::ptr::write(pbstrpathname, core::mem::transmute(ok__)); + pbstrpathname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6911,7 +6911,7 @@ impl IMSMQQueueInfo4_Vtbl { let this = (*this).get_impl(); match IMSMQQueueInfo4_Impl::FormatName(this) { Ok(ok__) => { - core::ptr::write(pbstrformatname, core::mem::transmute(ok__)); + pbstrformatname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6927,7 +6927,7 @@ impl IMSMQQueueInfo4_Vtbl { let this = (*this).get_impl(); match IMSMQQueueInfo4_Impl::IsTransactional(this) { Ok(ok__) => { - core::ptr::write(pistransactional, core::mem::transmute(ok__)); + pistransactional.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6938,7 +6938,7 @@ impl IMSMQQueueInfo4_Vtbl { let this = (*this).get_impl(); match IMSMQQueueInfo4_Impl::PrivLevel(this) { Ok(ok__) => { - core::ptr::write(plprivlevel, core::mem::transmute(ok__)); + plprivlevel.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6954,7 +6954,7 @@ impl IMSMQQueueInfo4_Vtbl { let this = (*this).get_impl(); match IMSMQQueueInfo4_Impl::Journal(this) { Ok(ok__) => { - core::ptr::write(pljournal, core::mem::transmute(ok__)); + pljournal.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6970,7 +6970,7 @@ impl IMSMQQueueInfo4_Vtbl { let this = (*this).get_impl(); match IMSMQQueueInfo4_Impl::Quota(this) { Ok(ok__) => { - core::ptr::write(plquota, core::mem::transmute(ok__)); + plquota.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6986,7 +6986,7 @@ impl IMSMQQueueInfo4_Vtbl { let this = (*this).get_impl(); match IMSMQQueueInfo4_Impl::BasePriority(this) { Ok(ok__) => { - core::ptr::write(plbasepriority, core::mem::transmute(ok__)); + plbasepriority.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7002,7 +7002,7 @@ impl IMSMQQueueInfo4_Vtbl { let this = (*this).get_impl(); match IMSMQQueueInfo4_Impl::CreateTime(this) { Ok(ok__) => { - core::ptr::write(pvarcreatetime, core::mem::transmute(ok__)); + pvarcreatetime.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7013,7 +7013,7 @@ impl IMSMQQueueInfo4_Vtbl { let this = (*this).get_impl(); match IMSMQQueueInfo4_Impl::ModifyTime(this) { Ok(ok__) => { - core::ptr::write(pvarmodifytime, core::mem::transmute(ok__)); + pvarmodifytime.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7024,7 +7024,7 @@ impl IMSMQQueueInfo4_Vtbl { let this = (*this).get_impl(); match IMSMQQueueInfo4_Impl::Authenticate(this) { Ok(ok__) => { - core::ptr::write(plauthenticate, core::mem::transmute(ok__)); + plauthenticate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7040,7 +7040,7 @@ impl IMSMQQueueInfo4_Vtbl { let this = (*this).get_impl(); match IMSMQQueueInfo4_Impl::JournalQuota(this) { Ok(ok__) => { - core::ptr::write(pljournalquota, core::mem::transmute(ok__)); + pljournalquota.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7056,7 +7056,7 @@ impl IMSMQQueueInfo4_Vtbl { let this = (*this).get_impl(); match IMSMQQueueInfo4_Impl::IsWorldReadable(this) { Ok(ok__) => { - core::ptr::write(pisworldreadable, core::mem::transmute(ok__)); + pisworldreadable.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7077,7 +7077,7 @@ impl IMSMQQueueInfo4_Vtbl { let this = (*this).get_impl(); match IMSMQQueueInfo4_Impl::Open(this, core::mem::transmute_copy(&access), core::mem::transmute_copy(&sharemode)) { Ok(ok__) => { - core::ptr::write(ppq, core::mem::transmute(ok__)); + ppq.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7098,7 +7098,7 @@ impl IMSMQQueueInfo4_Vtbl { let this = (*this).get_impl(); match IMSMQQueueInfo4_Impl::PathNameDNS(this) { Ok(ok__) => { - core::ptr::write(pbstrpathnamedns, core::mem::transmute(ok__)); + pbstrpathnamedns.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7109,7 +7109,7 @@ impl IMSMQQueueInfo4_Vtbl { let this = (*this).get_impl(); match IMSMQQueueInfo4_Impl::Properties(this) { Ok(ok__) => { - core::ptr::write(ppcolproperties, core::mem::transmute(ok__)); + ppcolproperties.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7120,7 +7120,7 @@ impl IMSMQQueueInfo4_Vtbl { let this = (*this).get_impl(); match IMSMQQueueInfo4_Impl::Security(this) { Ok(ok__) => { - core::ptr::write(pvarsecurity, core::mem::transmute(ok__)); + pvarsecurity.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7136,7 +7136,7 @@ impl IMSMQQueueInfo4_Vtbl { let this = (*this).get_impl(); match IMSMQQueueInfo4_Impl::IsTransactional2(this) { Ok(ok__) => { - core::ptr::write(pistransactional, core::mem::transmute(ok__)); + pistransactional.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7147,7 +7147,7 @@ impl IMSMQQueueInfo4_Vtbl { let this = (*this).get_impl(); match IMSMQQueueInfo4_Impl::IsWorldReadable2(this) { Ok(ok__) => { - core::ptr::write(pisworldreadable, core::mem::transmute(ok__)); + pisworldreadable.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7158,7 +7158,7 @@ impl IMSMQQueueInfo4_Vtbl { let this = (*this).get_impl(); match IMSMQQueueInfo4_Impl::MulticastAddress(this) { Ok(ok__) => { - core::ptr::write(pbstrmulticastaddress, core::mem::transmute(ok__)); + pbstrmulticastaddress.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7174,7 +7174,7 @@ impl IMSMQQueueInfo4_Vtbl { let this = (*this).get_impl(); match IMSMQQueueInfo4_Impl::ADsPath(this) { Ok(ok__) => { - core::ptr::write(pbstradspath, core::mem::transmute(ok__)); + pbstradspath.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7247,7 +7247,7 @@ impl IMSMQQueueInfos_Vtbl { let this = (*this).get_impl(); match IMSMQQueueInfos_Impl::Next(this) { Ok(ok__) => { - core::ptr::write(ppqinfonext, core::mem::transmute(ok__)); + ppqinfonext.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7284,7 +7284,7 @@ impl IMSMQQueueInfos2_Vtbl { let this = (*this).get_impl(); match IMSMQQueueInfos2_Impl::Next(this) { Ok(ok__) => { - core::ptr::write(ppqinfonext, core::mem::transmute(ok__)); + ppqinfonext.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7295,7 +7295,7 @@ impl IMSMQQueueInfos2_Vtbl { let this = (*this).get_impl(); match IMSMQQueueInfos2_Impl::Properties(this) { Ok(ok__) => { - core::ptr::write(ppcolproperties, core::mem::transmute(ok__)); + ppcolproperties.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7333,7 +7333,7 @@ impl IMSMQQueueInfos3_Vtbl { let this = (*this).get_impl(); match IMSMQQueueInfos3_Impl::Next(this) { Ok(ok__) => { - core::ptr::write(ppqinfonext, core::mem::transmute(ok__)); + ppqinfonext.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7344,7 +7344,7 @@ impl IMSMQQueueInfos3_Vtbl { let this = (*this).get_impl(); match IMSMQQueueInfos3_Impl::Properties(this) { Ok(ok__) => { - core::ptr::write(ppcolproperties, core::mem::transmute(ok__)); + ppcolproperties.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7382,7 +7382,7 @@ impl IMSMQQueueInfos4_Vtbl { let this = (*this).get_impl(); match IMSMQQueueInfos4_Impl::Next(this) { Ok(ok__) => { - core::ptr::write(ppqinfonext, core::mem::transmute(ok__)); + ppqinfonext.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7393,7 +7393,7 @@ impl IMSMQQueueInfos4_Vtbl { let this = (*this).get_impl(); match IMSMQQueueInfos4_Impl::Properties(this) { Ok(ok__) => { - core::ptr::write(ppcolproperties, core::mem::transmute(ok__)); + ppcolproperties.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7426,7 +7426,7 @@ impl IMSMQQueueManagement_Vtbl { let this = (*this).get_impl(); match IMSMQQueueManagement_Impl::JournalMessageCount(this) { Ok(ok__) => { - core::ptr::write(pljournalmessagecount, core::mem::transmute(ok__)); + pljournalmessagecount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7437,7 +7437,7 @@ impl IMSMQQueueManagement_Vtbl { let this = (*this).get_impl(); match IMSMQQueueManagement_Impl::BytesInJournal(this) { Ok(ok__) => { - core::ptr::write(pvbytesinjournal, core::mem::transmute(ok__)); + pvbytesinjournal.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7448,7 +7448,7 @@ impl IMSMQQueueManagement_Vtbl { let this = (*this).get_impl(); match IMSMQQueueManagement_Impl::EodGetReceiveInfo(this) { Ok(ok__) => { - core::ptr::write(pvcollection, core::mem::transmute(ok__)); + pvcollection.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7481,7 +7481,7 @@ impl IMSMQTransaction_Vtbl { let this = (*this).get_impl(); match IMSMQTransaction_Impl::Transaction(this) { Ok(ok__) => { - core::ptr::write(pltransaction, core::mem::transmute(ok__)); + pltransaction.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7528,7 +7528,7 @@ impl IMSMQTransaction2_Vtbl { let this = (*this).get_impl(); match IMSMQTransaction2_Impl::Properties(this) { Ok(ok__) => { - core::ptr::write(ppcolproperties, core::mem::transmute(ok__)); + ppcolproperties.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7558,7 +7558,7 @@ impl IMSMQTransaction3_Vtbl { let this = (*this).get_impl(); match IMSMQTransaction3_Impl::ITransaction(this) { Ok(ok__) => { - core::ptr::write(pvaritransaction, core::mem::transmute(ok__)); + pvaritransaction.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7584,7 +7584,7 @@ impl IMSMQTransactionDispenser_Vtbl { let this = (*this).get_impl(); match IMSMQTransactionDispenser_Impl::BeginTransaction(this) { Ok(ok__) => { - core::ptr::write(ptransaction, core::mem::transmute(ok__)); + ptransaction.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7611,7 +7611,7 @@ impl IMSMQTransactionDispenser2_Vtbl { let this = (*this).get_impl(); match IMSMQTransactionDispenser2_Impl::BeginTransaction(this) { Ok(ok__) => { - core::ptr::write(ptransaction, core::mem::transmute(ok__)); + ptransaction.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7622,7 +7622,7 @@ impl IMSMQTransactionDispenser2_Vtbl { let this = (*this).get_impl(); match IMSMQTransactionDispenser2_Impl::Properties(this) { Ok(ok__) => { - core::ptr::write(ppcolproperties, core::mem::transmute(ok__)); + ppcolproperties.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7653,7 +7653,7 @@ impl IMSMQTransactionDispenser3_Vtbl { let this = (*this).get_impl(); match IMSMQTransactionDispenser3_Impl::BeginTransaction(this) { Ok(ok__) => { - core::ptr::write(ptransaction, core::mem::transmute(ok__)); + ptransaction.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7664,7 +7664,7 @@ impl IMSMQTransactionDispenser3_Vtbl { let this = (*this).get_impl(); match IMSMQTransactionDispenser3_Impl::Properties(this) { Ok(ok__) => { - core::ptr::write(ppcolproperties, core::mem::transmute(ok__)); + ppcolproperties.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/Win32/System/Mmc/impl.rs b/crates/libs/windows/src/Windows/Win32/System/Mmc/impl.rs index 5938b8093f..10de7fbb65 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Mmc/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Mmc/impl.rs @@ -33,7 +33,7 @@ impl Column_Vtbl { let this = (*this).get_impl(); match Column_Impl::Name(this) { Ok(ok__) => { - core::ptr::write(name, core::mem::transmute(ok__)); + name.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -44,7 +44,7 @@ impl Column_Vtbl { let this = (*this).get_impl(); match Column_Impl::Width(this) { Ok(ok__) => { - core::ptr::write(width, core::mem::transmute(ok__)); + width.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -60,7 +60,7 @@ impl Column_Vtbl { let this = (*this).get_impl(); match Column_Impl::DisplayPosition(this) { Ok(ok__) => { - core::ptr::write(displayposition, core::mem::transmute(ok__)); + displayposition.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -76,7 +76,7 @@ impl Column_Vtbl { let this = (*this).get_impl(); match Column_Impl::Hidden(this) { Ok(ok__) => { - core::ptr::write(hidden, core::mem::transmute(ok__)); + hidden.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -97,7 +97,7 @@ impl Column_Vtbl { let this = (*this).get_impl(); match Column_Impl::IsSortColumn(this) { Ok(ok__) => { - core::ptr::write(issortcolumn, core::mem::transmute(ok__)); + issortcolumn.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -136,7 +136,7 @@ impl Columns_Vtbl { let this = (*this).get_impl(); match Columns_Impl::Item(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(column, core::mem::transmute(ok__)); + column.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -147,7 +147,7 @@ impl Columns_Vtbl { let this = (*this).get_impl(); match Columns_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(count, core::mem::transmute(ok__)); + count.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -158,7 +158,7 @@ impl Columns_Vtbl { let this = (*this).get_impl(); match Columns_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -191,7 +191,7 @@ impl ContextMenu_Vtbl { let this = (*this).get_impl(); match ContextMenu_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -202,7 +202,7 @@ impl ContextMenu_Vtbl { let this = (*this).get_impl(); match ContextMenu_Impl::get_Item(this, core::mem::transmute(&indexorpath)) { Ok(ok__) => { - core::ptr::write(menuitem, core::mem::transmute(ok__)); + menuitem.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -213,7 +213,7 @@ impl ContextMenu_Vtbl { let this = (*this).get_impl(); match ContextMenu_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(count, core::mem::transmute(ok__)); + count.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -274,7 +274,7 @@ impl Document_Vtbl { let this = (*this).get_impl(); match Document_Impl::Views(this) { Ok(ok__) => { - core::ptr::write(views, core::mem::transmute(ok__)); + views.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -285,7 +285,7 @@ impl Document_Vtbl { let this = (*this).get_impl(); match Document_Impl::SnapIns(this) { Ok(ok__) => { - core::ptr::write(snapins, core::mem::transmute(ok__)); + snapins.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -296,7 +296,7 @@ impl Document_Vtbl { let this = (*this).get_impl(); match Document_Impl::ActiveView(this) { Ok(ok__) => { - core::ptr::write(view, core::mem::transmute(ok__)); + view.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -307,7 +307,7 @@ impl Document_Vtbl { let this = (*this).get_impl(); match Document_Impl::Name(this) { Ok(ok__) => { - core::ptr::write(name, core::mem::transmute(ok__)); + name.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -323,7 +323,7 @@ impl Document_Vtbl { let this = (*this).get_impl(); match Document_Impl::Location(this) { Ok(ok__) => { - core::ptr::write(location, core::mem::transmute(ok__)); + location.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -334,7 +334,7 @@ impl Document_Vtbl { let this = (*this).get_impl(); match Document_Impl::IsSaved(this) { Ok(ok__) => { - core::ptr::write(issaved, core::mem::transmute(ok__)); + issaved.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -345,7 +345,7 @@ impl Document_Vtbl { let this = (*this).get_impl(); match Document_Impl::Mode(this) { Ok(ok__) => { - core::ptr::write(mode, core::mem::transmute(ok__)); + mode.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -361,7 +361,7 @@ impl Document_Vtbl { let this = (*this).get_impl(); match Document_Impl::RootNode(this) { Ok(ok__) => { - core::ptr::write(node, core::mem::transmute(ok__)); + node.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -372,7 +372,7 @@ impl Document_Vtbl { let this = (*this).get_impl(); match Document_Impl::ScopeNamespace(this) { Ok(ok__) => { - core::ptr::write(scopenamespace, core::mem::transmute(ok__)); + scopenamespace.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -383,7 +383,7 @@ impl Document_Vtbl { let this = (*this).get_impl(); match Document_Impl::CreateProperties(this) { Ok(ok__) => { - core::ptr::write(properties, core::mem::transmute(ok__)); + properties.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -394,7 +394,7 @@ impl Document_Vtbl { let this = (*this).get_impl(); match Document_Impl::Application(this) { Ok(ok__) => { - core::ptr::write(application, core::mem::transmute(ok__)); + application.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -444,7 +444,7 @@ impl Extension_Vtbl { let this = (*this).get_impl(); match Extension_Impl::Name(this) { Ok(ok__) => { - core::ptr::write(name, core::mem::transmute(ok__)); + name.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -455,7 +455,7 @@ impl Extension_Vtbl { let this = (*this).get_impl(); match Extension_Impl::Vendor(this) { Ok(ok__) => { - core::ptr::write(vendor, core::mem::transmute(ok__)); + vendor.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -466,7 +466,7 @@ impl Extension_Vtbl { let this = (*this).get_impl(); match Extension_Impl::Version(this) { Ok(ok__) => { - core::ptr::write(version, core::mem::transmute(ok__)); + version.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -477,7 +477,7 @@ impl Extension_Vtbl { let this = (*this).get_impl(); match Extension_Impl::Extensions(this) { Ok(ok__) => { - core::ptr::write(extensions, core::mem::transmute(ok__)); + extensions.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -488,7 +488,7 @@ impl Extension_Vtbl { let this = (*this).get_impl(); match Extension_Impl::SnapinCLSID(this) { Ok(ok__) => { - core::ptr::write(snapinclsid, core::mem::transmute(ok__)); + snapinclsid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -535,7 +535,7 @@ impl Extensions_Vtbl { let this = (*this).get_impl(); match Extensions_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -546,7 +546,7 @@ impl Extensions_Vtbl { let this = (*this).get_impl(); match Extensions_Impl::Item(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(extension, core::mem::transmute(ok__)); + extension.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -557,7 +557,7 @@ impl Extensions_Vtbl { let this = (*this).get_impl(); match Extensions_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(count, core::mem::transmute(ok__)); + count.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -613,7 +613,7 @@ impl Frame_Vtbl { let this = (*this).get_impl(); match Frame_Impl::Top(this) { Ok(ok__) => { - core::ptr::write(top, core::mem::transmute(ok__)); + top.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -629,7 +629,7 @@ impl Frame_Vtbl { let this = (*this).get_impl(); match Frame_Impl::Bottom(this) { Ok(ok__) => { - core::ptr::write(bottom, core::mem::transmute(ok__)); + bottom.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -645,7 +645,7 @@ impl Frame_Vtbl { let this = (*this).get_impl(); match Frame_Impl::Left(this) { Ok(ok__) => { - core::ptr::write(left, core::mem::transmute(ok__)); + left.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -661,7 +661,7 @@ impl Frame_Vtbl { let this = (*this).get_impl(); match Frame_Impl::Right(this) { Ok(ok__) => { - core::ptr::write(right, core::mem::transmute(ok__)); + right.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -710,7 +710,7 @@ impl IColumnData_Vtbl { let this = (*this).get_impl(); match IColumnData_Impl::GetColumnConfigData(this, core::mem::transmute_copy(&pcolid)) { Ok(ok__) => { - core::ptr::write(ppcolsetdata, core::mem::transmute(ok__)); + ppcolsetdata.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -726,7 +726,7 @@ impl IColumnData_Vtbl { let this = (*this).get_impl(); match IColumnData_Impl::GetColumnSortData(this, core::mem::transmute_copy(&pcolid)) { Ok(ok__) => { - core::ptr::write(ppcolsortdata, core::mem::transmute(ok__)); + ppcolsortdata.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -779,7 +779,7 @@ impl IComponent_Vtbl { let this = (*this).get_impl(); match IComponent_Impl::QueryDataObject(this, core::mem::transmute_copy(&cookie), core::mem::transmute_copy(&r#type)) { Ok(ok__) => { - core::ptr::write(ppdataobject, core::mem::transmute(ok__)); + ppdataobject.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -831,7 +831,7 @@ impl IComponent2_Vtbl { let this = (*this).get_impl(); match IComponent2_Impl::QueryDispatch(this, core::mem::transmute_copy(&cookie), core::mem::transmute_copy(&r#type)) { Ok(ok__) => { - core::ptr::write(ppdispatch, core::mem::transmute(ok__)); + ppdispatch.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -883,7 +883,7 @@ impl IComponentData_Vtbl { let this = (*this).get_impl(); match IComponentData_Impl::CreateComponent(this) { Ok(ok__) => { - core::ptr::write(ppcomponent, core::mem::transmute(ok__)); + ppcomponent.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -904,7 +904,7 @@ impl IComponentData_Vtbl { let this = (*this).get_impl(); match IComponentData_Impl::QueryDataObject(this, core::mem::transmute_copy(&cookie), core::mem::transmute_copy(&r#type)) { Ok(ok__) => { - core::ptr::write(ppdataobject, core::mem::transmute(ok__)); + ppdataobject.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -949,7 +949,7 @@ impl IComponentData2_Vtbl { let this = (*this).get_impl(); match IComponentData2_Impl::QueryDispatch(this, core::mem::transmute_copy(&cookie), core::mem::transmute_copy(&r#type)) { Ok(ok__) => { - core::ptr::write(ppdispatch, core::mem::transmute(ok__)); + ppdispatch.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -995,7 +995,7 @@ impl IConsole_Vtbl { let this = (*this).get_impl(); match IConsole_Impl::QueryResultView(this) { Ok(ok__) => { - core::ptr::write(punknown, core::mem::transmute(ok__)); + punknown.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1006,7 +1006,7 @@ impl IConsole_Vtbl { let this = (*this).get_impl(); match IConsole_Impl::QueryScopeImageList(this) { Ok(ok__) => { - core::ptr::write(ppimagelist, core::mem::transmute(ok__)); + ppimagelist.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1017,7 +1017,7 @@ impl IConsole_Vtbl { let this = (*this).get_impl(); match IConsole_Impl::QueryResultImageList(this) { Ok(ok__) => { - core::ptr::write(ppimagelist, core::mem::transmute(ok__)); + ppimagelist.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1033,7 +1033,7 @@ impl IConsole_Vtbl { let this = (*this).get_impl(); match IConsole_Impl::MessageBox(this, core::mem::transmute(&lpsztext), core::mem::transmute(&lpsztitle), core::mem::transmute_copy(&fustyle)) { Ok(ok__) => { - core::ptr::write(piretval, core::mem::transmute(ok__)); + piretval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1044,7 +1044,7 @@ impl IConsole_Vtbl { let this = (*this).get_impl(); match IConsole_Impl::QueryConsoleVerb(this) { Ok(ok__) => { - core::ptr::write(ppconsoleverb, core::mem::transmute(ok__)); + ppconsoleverb.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1060,7 +1060,7 @@ impl IConsole_Vtbl { let this = (*this).get_impl(); match IConsole_Impl::GetMainWindow(this) { Ok(ok__) => { - core::ptr::write(phwnd, core::mem::transmute(ok__)); + phwnd.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1274,7 +1274,7 @@ impl IConsolePowerSink_Vtbl { let this = (*this).get_impl(); match IConsolePowerSink_Impl::OnPowerBroadcast(this, core::mem::transmute_copy(&nevent), core::mem::transmute_copy(&lparam)) { Ok(ok__) => { - core::ptr::write(plreturn, core::mem::transmute(ok__)); + plreturn.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1300,7 +1300,7 @@ impl IConsoleVerb_Vtbl { let this = (*this).get_impl(); match IConsoleVerb_Impl::GetVerbState(this, core::mem::transmute_copy(&ecmdid), core::mem::transmute_copy(&nstate)) { Ok(ok__) => { - core::ptr::write(pstate, core::mem::transmute(ok__)); + pstate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1321,7 +1321,7 @@ impl IConsoleVerb_Vtbl { let this = (*this).get_impl(); match IConsoleVerb_Impl::GetDefaultVerb(this) { Ok(ok__) => { - core::ptr::write(pecmdid, core::mem::transmute(ok__)); + pecmdid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1405,7 +1405,7 @@ impl IContextMenuProvider_Vtbl { let this = (*this).get_impl(); match IContextMenuProvider_Impl::ShowContextMenu(this, core::mem::transmute_copy(&hwndparent), core::mem::transmute_copy(&xpos), core::mem::transmute_copy(&ypos)) { Ok(ok__) => { - core::ptr::write(plselected, core::mem::transmute(ok__)); + plselected.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1436,7 +1436,7 @@ impl IControlbar_Vtbl { let this = (*this).get_impl(); match IControlbar_Impl::Create(this, core::mem::transmute_copy(&ntype), windows_core::from_raw_borrowed(&pextendcontrolbar)) { Ok(ok__) => { - core::ptr::write(ppunknown, core::mem::transmute(ok__)); + ppunknown.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1509,7 +1509,7 @@ impl IEnumTASK_Vtbl { let this = (*this).get_impl(); match IEnumTASK_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1658,7 +1658,7 @@ impl IExtendTaskPad_Vtbl { let this = (*this).get_impl(); match IExtendTaskPad_Impl::EnumTasks(this, windows_core::from_raw_borrowed(&pdo), core::mem::transmute(&sztaskgroup)) { Ok(ok__) => { - core::ptr::write(ppenumtask, core::mem::transmute(ok__)); + ppenumtask.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1669,7 +1669,7 @@ impl IExtendTaskPad_Vtbl { let this = (*this).get_impl(); match IExtendTaskPad_Impl::GetTitle(this, core::mem::transmute(&pszgroup)) { Ok(ok__) => { - core::ptr::write(psztitle, core::mem::transmute(ok__)); + psztitle.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1680,7 +1680,7 @@ impl IExtendTaskPad_Vtbl { let this = (*this).get_impl(); match IExtendTaskPad_Impl::GetDescriptiveText(this, core::mem::transmute(&pszgroup)) { Ok(ok__) => { - core::ptr::write(pszdescriptivetext, core::mem::transmute(ok__)); + pszdescriptivetext.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1691,7 +1691,7 @@ impl IExtendTaskPad_Vtbl { let this = (*this).get_impl(); match IExtendTaskPad_Impl::GetBackground(this, core::mem::transmute(&pszgroup)) { Ok(ok__) => { - core::ptr::write(ptdo, core::mem::transmute(ok__)); + ptdo.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1702,7 +1702,7 @@ impl IExtendTaskPad_Vtbl { let this = (*this).get_impl(); match IExtendTaskPad_Impl::GetListPadInfo(this, core::mem::transmute(&pszgroup)) { Ok(ok__) => { - core::ptr::write(lplistpadinfo, core::mem::transmute(ok__)); + lplistpadinfo.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1773,7 +1773,7 @@ impl IHeaderCtrl_Vtbl { let this = (*this).get_impl(); match IHeaderCtrl_Impl::GetColumnText(this, core::mem::transmute_copy(&ncol)) { Ok(ok__) => { - core::ptr::write(ptext, core::mem::transmute(ok__)); + ptext.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1789,7 +1789,7 @@ impl IHeaderCtrl_Vtbl { let this = (*this).get_impl(); match IHeaderCtrl_Impl::GetColumnWidth(this, core::mem::transmute_copy(&ncol)) { Ok(ok__) => { - core::ptr::write(pwidth, core::mem::transmute(ok__)); + pwidth.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1976,7 +1976,7 @@ impl INodeProperties_Vtbl { let this = (*this).get_impl(); match INodeProperties_Impl::GetProperty(this, windows_core::from_raw_borrowed(&pdataobject), core::mem::transmute(&szpropertyname)) { Ok(ok__) => { - core::ptr::write(pbstrproperty, core::mem::transmute(ok__)); + pbstrproperty.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2087,7 +2087,7 @@ impl IRequiredExtensions_Vtbl { let this = (*this).get_impl(); match IRequiredExtensions_Impl::GetFirstExtension(this) { Ok(ok__) => { - core::ptr::write(pextclsid, core::mem::transmute(ok__)); + pextclsid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2098,7 +2098,7 @@ impl IRequiredExtensions_Vtbl { let this = (*this).get_impl(); match IRequiredExtensions_Impl::GetNextExtension(this) { Ok(ok__) => { - core::ptr::write(pextclsid, core::mem::transmute(ok__)); + pextclsid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2150,7 +2150,7 @@ impl IResultData_Vtbl { let this = (*this).get_impl(); match IResultData_Impl::FindItemByLParam(this, core::mem::transmute_copy(&lparam)) { Ok(ok__) => { - core::ptr::write(pitemid, core::mem::transmute(ok__)); + pitemid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2196,7 +2196,7 @@ impl IResultData_Vtbl { let this = (*this).get_impl(); match IResultData_Impl::GetViewMode(this) { Ok(ok__) => { - core::ptr::write(lviewmode, core::mem::transmute(ok__)); + lviewmode.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2290,7 +2290,7 @@ impl IResultDataCompareEx_Vtbl { let this = (*this).get_impl(); match IResultDataCompareEx_Impl::Compare(this, core::mem::transmute_copy(&prdc)) { Ok(ok__) => { - core::ptr::write(pnresult, core::mem::transmute(ok__)); + pnresult.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2315,7 +2315,7 @@ impl IResultOwnerData_Vtbl { let this = (*this).get_impl(); match IResultOwnerData_Impl::FindItem(this, core::mem::transmute_copy(&pfindinfo)) { Ok(ok__) => { - core::ptr::write(pnfoundindex, core::mem::transmute(ok__)); + pnfoundindex.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2360,7 +2360,7 @@ impl ISnapinAbout_Vtbl { let this = (*this).get_impl(); match ISnapinAbout_Impl::GetSnapinDescription(this) { Ok(ok__) => { - core::ptr::write(lpdescription, core::mem::transmute(ok__)); + lpdescription.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2371,7 +2371,7 @@ impl ISnapinAbout_Vtbl { let this = (*this).get_impl(); match ISnapinAbout_Impl::GetProvider(this) { Ok(ok__) => { - core::ptr::write(lpname, core::mem::transmute(ok__)); + lpname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2382,7 +2382,7 @@ impl ISnapinAbout_Vtbl { let this = (*this).get_impl(); match ISnapinAbout_Impl::GetSnapinVersion(this) { Ok(ok__) => { - core::ptr::write(lpversion, core::mem::transmute(ok__)); + lpversion.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2393,7 +2393,7 @@ impl ISnapinAbout_Vtbl { let this = (*this).get_impl(); match ISnapinAbout_Impl::GetSnapinImage(this) { Ok(ok__) => { - core::ptr::write(happicon, core::mem::transmute(ok__)); + happicon.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2428,7 +2428,7 @@ impl ISnapinHelp_Vtbl { let this = (*this).get_impl(); match ISnapinHelp_Impl::GetHelpTopic(this) { Ok(ok__) => { - core::ptr::write(lpcompiledhelpfile, core::mem::transmute(ok__)); + lpcompiledhelpfile.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2451,7 +2451,7 @@ impl ISnapinHelp2_Vtbl { let this = (*this).get_impl(); match ISnapinHelp2_Impl::GetLinkedTopics(this) { Ok(ok__) => { - core::ptr::write(lpcompiledhelpfiles, core::mem::transmute(ok__)); + lpcompiledhelpfiles.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2537,7 +2537,7 @@ impl IStringTable_Vtbl { let this = (*this).get_impl(); match IStringTable_Impl::AddString(this, core::mem::transmute(&pszadd)) { Ok(ok__) => { - core::ptr::write(pstringid, core::mem::transmute(ok__)); + pstringid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2553,7 +2553,7 @@ impl IStringTable_Vtbl { let this = (*this).get_impl(); match IStringTable_Impl::GetStringLength(this, core::mem::transmute_copy(&stringid)) { Ok(ok__) => { - core::ptr::write(pcchstring, core::mem::transmute(ok__)); + pcchstring.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2574,7 +2574,7 @@ impl IStringTable_Vtbl { let this = (*this).get_impl(); match IStringTable_Impl::FindString(this, core::mem::transmute(&pszfind)) { Ok(ok__) => { - core::ptr::write(pstringid, core::mem::transmute(ok__)); + pstringid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2585,7 +2585,7 @@ impl IStringTable_Vtbl { let this = (*this).get_impl(); match IStringTable_Impl::Enumerate(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2645,7 +2645,7 @@ impl IToolbar_Vtbl { let this = (*this).get_impl(); match IToolbar_Impl::GetButtonState(this, core::mem::transmute_copy(&idcommand), core::mem::transmute_copy(&nstate)) { Ok(ok__) => { - core::ptr::write(pstate, core::mem::transmute(ok__)); + pstate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2706,7 +2706,7 @@ impl MenuItem_Vtbl { let this = (*this).get_impl(); match MenuItem_Impl::DisplayName(this) { Ok(ok__) => { - core::ptr::write(displayname, core::mem::transmute(ok__)); + displayname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2717,7 +2717,7 @@ impl MenuItem_Vtbl { let this = (*this).get_impl(); match MenuItem_Impl::LanguageIndependentName(this) { Ok(ok__) => { - core::ptr::write(languageindependentname, core::mem::transmute(ok__)); + languageindependentname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2728,7 +2728,7 @@ impl MenuItem_Vtbl { let this = (*this).get_impl(); match MenuItem_Impl::Path(this) { Ok(ok__) => { - core::ptr::write(path, core::mem::transmute(ok__)); + path.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2739,7 +2739,7 @@ impl MenuItem_Vtbl { let this = (*this).get_impl(); match MenuItem_Impl::LanguageIndependentPath(this) { Ok(ok__) => { - core::ptr::write(languageindependentpath, core::mem::transmute(ok__)); + languageindependentpath.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2755,7 +2755,7 @@ impl MenuItem_Vtbl { let this = (*this).get_impl(); match MenuItem_Impl::Enabled(this) { Ok(ok__) => { - core::ptr::write(enabled, core::mem::transmute(ok__)); + enabled.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2793,7 +2793,7 @@ impl Node_Vtbl { let this = (*this).get_impl(); match Node_Impl::Name(this) { Ok(ok__) => { - core::ptr::write(name, core::mem::transmute(ok__)); + name.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2804,7 +2804,7 @@ impl Node_Vtbl { let this = (*this).get_impl(); match Node_Impl::get_Property(this, core::mem::transmute(&propertyname)) { Ok(ok__) => { - core::ptr::write(propertyvalue, core::mem::transmute(ok__)); + propertyvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2815,7 +2815,7 @@ impl Node_Vtbl { let this = (*this).get_impl(); match Node_Impl::Bookmark(this) { Ok(ok__) => { - core::ptr::write(bookmark, core::mem::transmute(ok__)); + bookmark.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2826,7 +2826,7 @@ impl Node_Vtbl { let this = (*this).get_impl(); match Node_Impl::IsScopeNode(this) { Ok(ok__) => { - core::ptr::write(isscopenode, core::mem::transmute(ok__)); + isscopenode.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2837,7 +2837,7 @@ impl Node_Vtbl { let this = (*this).get_impl(); match Node_Impl::Nodetype(this) { Ok(ok__) => { - core::ptr::write(nodetype, core::mem::transmute(ok__)); + nodetype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2872,7 +2872,7 @@ impl Nodes_Vtbl { let this = (*this).get_impl(); match Nodes_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2883,7 +2883,7 @@ impl Nodes_Vtbl { let this = (*this).get_impl(); match Nodes_Impl::Item(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(node, core::mem::transmute(ok__)); + node.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2894,7 +2894,7 @@ impl Nodes_Vtbl { let this = (*this).get_impl(); match Nodes_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(count, core::mem::transmute(ok__)); + count.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2928,7 +2928,7 @@ impl Properties_Vtbl { let this = (*this).get_impl(); match Properties_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2939,7 +2939,7 @@ impl Properties_Vtbl { let this = (*this).get_impl(); match Properties_Impl::Item(this, core::mem::transmute(&name)) { Ok(ok__) => { - core::ptr::write(property, core::mem::transmute(ok__)); + property.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2950,7 +2950,7 @@ impl Properties_Vtbl { let this = (*this).get_impl(); match Properties_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(count, core::mem::transmute(ok__)); + count.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2989,7 +2989,7 @@ impl Property_Vtbl { let this = (*this).get_impl(); match Property_Impl::Value(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3005,7 +3005,7 @@ impl Property_Vtbl { let this = (*this).get_impl(); match Property_Impl::Name(this) { Ok(ok__) => { - core::ptr::write(name, core::mem::transmute(ok__)); + name.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3040,7 +3040,7 @@ impl ScopeNamespace_Vtbl { let this = (*this).get_impl(); match ScopeNamespace_Impl::GetParent(this, windows_core::from_raw_borrowed(&node)) { Ok(ok__) => { - core::ptr::write(parent, core::mem::transmute(ok__)); + parent.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3051,7 +3051,7 @@ impl ScopeNamespace_Vtbl { let this = (*this).get_impl(); match ScopeNamespace_Impl::GetChild(this, windows_core::from_raw_borrowed(&node)) { Ok(ok__) => { - core::ptr::write(child, core::mem::transmute(ok__)); + child.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3062,7 +3062,7 @@ impl ScopeNamespace_Vtbl { let this = (*this).get_impl(); match ScopeNamespace_Impl::GetNext(this, windows_core::from_raw_borrowed(&node)) { Ok(ok__) => { - core::ptr::write(next, core::mem::transmute(ok__)); + next.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3073,7 +3073,7 @@ impl ScopeNamespace_Vtbl { let this = (*this).get_impl(); match ScopeNamespace_Impl::GetRoot(this) { Ok(ok__) => { - core::ptr::write(root, core::mem::transmute(ok__)); + root.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3117,7 +3117,7 @@ impl SnapIn_Vtbl { let this = (*this).get_impl(); match SnapIn_Impl::Name(this) { Ok(ok__) => { - core::ptr::write(name, core::mem::transmute(ok__)); + name.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3128,7 +3128,7 @@ impl SnapIn_Vtbl { let this = (*this).get_impl(); match SnapIn_Impl::Vendor(this) { Ok(ok__) => { - core::ptr::write(vendor, core::mem::transmute(ok__)); + vendor.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3139,7 +3139,7 @@ impl SnapIn_Vtbl { let this = (*this).get_impl(); match SnapIn_Impl::Version(this) { Ok(ok__) => { - core::ptr::write(version, core::mem::transmute(ok__)); + version.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3150,7 +3150,7 @@ impl SnapIn_Vtbl { let this = (*this).get_impl(); match SnapIn_Impl::Extensions(this) { Ok(ok__) => { - core::ptr::write(extensions, core::mem::transmute(ok__)); + extensions.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3161,7 +3161,7 @@ impl SnapIn_Vtbl { let this = (*this).get_impl(); match SnapIn_Impl::SnapinCLSID(this) { Ok(ok__) => { - core::ptr::write(snapinclsid, core::mem::transmute(ok__)); + snapinclsid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3172,7 +3172,7 @@ impl SnapIn_Vtbl { let this = (*this).get_impl(); match SnapIn_Impl::Properties(this) { Ok(ok__) => { - core::ptr::write(properties, core::mem::transmute(ok__)); + properties.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3216,7 +3216,7 @@ impl SnapIns_Vtbl { let this = (*this).get_impl(); match SnapIns_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3227,7 +3227,7 @@ impl SnapIns_Vtbl { let this = (*this).get_impl(); match SnapIns_Impl::Item(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(snapin, core::mem::transmute(ok__)); + snapin.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3238,7 +3238,7 @@ impl SnapIns_Vtbl { let this = (*this).get_impl(); match SnapIns_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(count, core::mem::transmute(ok__)); + count.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3249,7 +3249,7 @@ impl SnapIns_Vtbl { let this = (*this).get_impl(); match SnapIns_Impl::Add(this, core::mem::transmute(&snapinnameorclsid), core::mem::transmute(&parentsnapin), core::mem::transmute(&properties)) { Ok(ok__) => { - core::ptr::write(snapin, core::mem::transmute(ok__)); + snapin.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3328,7 +3328,7 @@ impl View_Vtbl { let this = (*this).get_impl(); match View_Impl::ActiveScopeNode(this) { Ok(ok__) => { - core::ptr::write(node, core::mem::transmute(ok__)); + node.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3344,7 +3344,7 @@ impl View_Vtbl { let this = (*this).get_impl(); match View_Impl::Selection(this) { Ok(ok__) => { - core::ptr::write(nodes, core::mem::transmute(ok__)); + nodes.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3355,7 +3355,7 @@ impl View_Vtbl { let this = (*this).get_impl(); match View_Impl::ListItems(this) { Ok(ok__) => { - core::ptr::write(nodes, core::mem::transmute(ok__)); + nodes.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3366,7 +3366,7 @@ impl View_Vtbl { let this = (*this).get_impl(); match View_Impl::SnapinScopeObject(this, core::mem::transmute(&scopenode)) { Ok(ok__) => { - core::ptr::write(scopenodeobject, core::mem::transmute(ok__)); + scopenodeobject.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3377,7 +3377,7 @@ impl View_Vtbl { let this = (*this).get_impl(); match View_Impl::SnapinSelectionObject(this) { Ok(ok__) => { - core::ptr::write(selectionobject, core::mem::transmute(ok__)); + selectionobject.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3388,7 +3388,7 @@ impl View_Vtbl { let this = (*this).get_impl(); match View_Impl::Is(this, windows_core::from_raw_borrowed(&view)) { Ok(ok__) => { - core::ptr::write(thesame, core::mem::transmute(ok__)); + thesame.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3399,7 +3399,7 @@ impl View_Vtbl { let this = (*this).get_impl(); match View_Impl::Document(this) { Ok(ok__) => { - core::ptr::write(document, core::mem::transmute(ok__)); + document.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3425,7 +3425,7 @@ impl View_Vtbl { let this = (*this).get_impl(); match View_Impl::IsSelected(this, windows_core::from_raw_borrowed(&node)) { Ok(ok__) => { - core::ptr::write(isselected, core::mem::transmute(ok__)); + isselected.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3476,7 +3476,7 @@ impl View_Vtbl { let this = (*this).get_impl(); match View_Impl::get_ScopeNodeContextMenu(this, core::mem::transmute(&scopenode)) { Ok(ok__) => { - core::ptr::write(contextmenu, core::mem::transmute(ok__)); + contextmenu.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3487,7 +3487,7 @@ impl View_Vtbl { let this = (*this).get_impl(); match View_Impl::SelectionContextMenu(this) { Ok(ok__) => { - core::ptr::write(contextmenu, core::mem::transmute(ok__)); + contextmenu.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3523,7 +3523,7 @@ impl View_Vtbl { let this = (*this).get_impl(); match View_Impl::Frame(this) { Ok(ok__) => { - core::ptr::write(frame, core::mem::transmute(ok__)); + frame.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3539,7 +3539,7 @@ impl View_Vtbl { let this = (*this).get_impl(); match View_Impl::ScopeTreeVisible(this) { Ok(ok__) => { - core::ptr::write(visible, core::mem::transmute(ok__)); + visible.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3570,7 +3570,7 @@ impl View_Vtbl { let this = (*this).get_impl(); match View_Impl::Memento(this) { Ok(ok__) => { - core::ptr::write(memento, core::mem::transmute(ok__)); + memento.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3586,7 +3586,7 @@ impl View_Vtbl { let this = (*this).get_impl(); match View_Impl::Columns(this) { Ok(ok__) => { - core::ptr::write(columns, core::mem::transmute(ok__)); + columns.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3597,7 +3597,7 @@ impl View_Vtbl { let this = (*this).get_impl(); match View_Impl::get_CellContents(this, windows_core::from_raw_borrowed(&node), core::mem::transmute_copy(&column)) { Ok(ok__) => { - core::ptr::write(cellcontents, core::mem::transmute(ok__)); + cellcontents.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3613,7 +3613,7 @@ impl View_Vtbl { let this = (*this).get_impl(); match View_Impl::ListViewMode(this) { Ok(ok__) => { - core::ptr::write(mode, core::mem::transmute(ok__)); + mode.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3629,7 +3629,7 @@ impl View_Vtbl { let this = (*this).get_impl(); match View_Impl::ControlObject(this) { Ok(ok__) => { - core::ptr::write(control, core::mem::transmute(ok__)); + control.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3702,7 +3702,7 @@ impl Views_Vtbl { let this = (*this).get_impl(); match Views_Impl::Item(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(view, core::mem::transmute(ok__)); + view.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3713,7 +3713,7 @@ impl Views_Vtbl { let this = (*this).get_impl(); match Views_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(count, core::mem::transmute(ok__)); + count.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3729,7 +3729,7 @@ impl Views_Vtbl { let this = (*this).get_impl(); match Views_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3882,7 +3882,7 @@ impl _Application_Vtbl { let this = (*this).get_impl(); match _Application_Impl::Document(this) { Ok(ok__) => { - core::ptr::write(document, core::mem::transmute(ok__)); + document.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3898,7 +3898,7 @@ impl _Application_Vtbl { let this = (*this).get_impl(); match _Application_Impl::Frame(this) { Ok(ok__) => { - core::ptr::write(frame, core::mem::transmute(ok__)); + frame.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3909,7 +3909,7 @@ impl _Application_Vtbl { let this = (*this).get_impl(); match _Application_Impl::Visible(this) { Ok(ok__) => { - core::ptr::write(visible, core::mem::transmute(ok__)); + visible.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3930,7 +3930,7 @@ impl _Application_Vtbl { let this = (*this).get_impl(); match _Application_Impl::UserControl(this) { Ok(ok__) => { - core::ptr::write(usercontrol, core::mem::transmute(ok__)); + usercontrol.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3946,7 +3946,7 @@ impl _Application_Vtbl { let this = (*this).get_impl(); match _Application_Impl::VersionMajor(this) { Ok(ok__) => { - core::ptr::write(versionmajor, core::mem::transmute(ok__)); + versionmajor.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3957,7 +3957,7 @@ impl _Application_Vtbl { let this = (*this).get_impl(); match _Application_Impl::VersionMinor(this) { Ok(ok__) => { - core::ptr::write(versionminor, core::mem::transmute(ok__)); + versionminor.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/Win32/System/Ole/impl.rs b/crates/libs/windows/src/Windows/Win32/System/Ole/impl.rs index cbbebc43e8..1371e37f30 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Ole/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Ole/impl.rs @@ -59,7 +59,7 @@ impl IClassFactory2_Vtbl { let this = (*this).get_impl(); match IClassFactory2_Impl::RequestLicKey(this, core::mem::transmute_copy(&dwreserved)) { Ok(ok__) => { - core::ptr::write(pbstrkey, core::mem::transmute(ok__)); + pbstrkey.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -494,7 +494,7 @@ impl ICreateTypeLib_Vtbl { let this = (*this).get_impl(); match ICreateTypeLib_Impl::CreateTypeInfo(this, core::mem::transmute(&szname), core::mem::transmute_copy(&tkind)) { Ok(ok__) => { - core::ptr::write(ppctinfo, core::mem::transmute(ok__)); + ppctinfo.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -623,7 +623,7 @@ impl IDispError_Vtbl { let this = (*this).get_impl(); match IDispError_Impl::QueryErrorInfo(this, core::mem::transmute(&guiderrortype)) { Ok(ok__) => { - core::ptr::write(ppde, core::mem::transmute(ok__)); + ppde.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -634,7 +634,7 @@ impl IDispError_Vtbl { let this = (*this).get_impl(); match IDispError_Impl::GetNext(this) { Ok(ok__) => { - core::ptr::write(ppde, core::mem::transmute(ok__)); + ppde.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -645,7 +645,7 @@ impl IDispError_Vtbl { let this = (*this).get_impl(); match IDispError_Impl::GetHresult(this) { Ok(ok__) => { - core::ptr::write(phr, core::mem::transmute(ok__)); + phr.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -656,7 +656,7 @@ impl IDispError_Vtbl { let this = (*this).get_impl(); match IDispError_Impl::GetSource(this) { Ok(ok__) => { - core::ptr::write(pbstrsource, core::mem::transmute(ok__)); + pbstrsource.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -672,7 +672,7 @@ impl IDispError_Vtbl { let this = (*this).get_impl(); match IDispError_Impl::GetDescription(this) { Ok(ok__) => { - core::ptr::write(pbstrdescription, core::mem::transmute(ok__)); + pbstrdescription.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -713,7 +713,7 @@ impl IDispatchEx_Vtbl { let this = (*this).get_impl(); match IDispatchEx_Impl::GetDispID(this, core::mem::transmute(&bstrname), core::mem::transmute_copy(&grfdex)) { Ok(ok__) => { - core::ptr::write(pid, core::mem::transmute(ok__)); + pid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -739,7 +739,7 @@ impl IDispatchEx_Vtbl { let this = (*this).get_impl(); match IDispatchEx_Impl::GetMemberProperties(this, core::mem::transmute_copy(&id), core::mem::transmute_copy(&grfdexfetch)) { Ok(ok__) => { - core::ptr::write(pgrfdex, core::mem::transmute(ok__)); + pgrfdex.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -750,7 +750,7 @@ impl IDispatchEx_Vtbl { let this = (*this).get_impl(); match IDispatchEx_Impl::GetMemberName(this, core::mem::transmute_copy(&id)) { Ok(ok__) => { - core::ptr::write(pbstrname, core::mem::transmute(ok__)); + pbstrname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -761,7 +761,7 @@ impl IDispatchEx_Vtbl { let this = (*this).get_impl(); match IDispatchEx_Impl::GetNextDispID(this, core::mem::transmute_copy(&grfdex), core::mem::transmute_copy(&id)) { Ok(ok__) => { - core::ptr::write(pid, core::mem::transmute(ok__)); + pid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -772,7 +772,7 @@ impl IDispatchEx_Vtbl { let this = (*this).get_impl(); match IDispatchEx_Impl::GetNameSpaceParent(this) { Ok(ok__) => { - core::ptr::write(ppunk, core::mem::transmute(ok__)); + ppunk.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -912,7 +912,7 @@ impl IEnterpriseDropTarget_Vtbl { let this = (*this).get_impl(); match IEnterpriseDropTarget_Impl::IsEvaluatingEdpPolicy(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -960,7 +960,7 @@ impl IEnumOLEVERB_Vtbl { let this = (*this).get_impl(); match IEnumOLEVERB_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1007,7 +1007,7 @@ impl IEnumOleDocumentViews_Vtbl { let this = (*this).get_impl(); match IEnumOleDocumentViews_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1054,7 +1054,7 @@ impl IEnumOleUndoUnits_Vtbl { let this = (*this).get_impl(); match IEnumOleUndoUnits_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1101,7 +1101,7 @@ impl IEnumVARIANT_Vtbl { let this = (*this).get_impl(); match IEnumVARIANT_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1156,7 +1156,7 @@ impl IFont_Vtbl { let this = (*this).get_impl(); match IFont_Impl::Name(this) { Ok(ok__) => { - core::ptr::write(pname, core::mem::transmute(ok__)); + pname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1172,7 +1172,7 @@ impl IFont_Vtbl { let this = (*this).get_impl(); match IFont_Impl::Size(this) { Ok(ok__) => { - core::ptr::write(psize, core::mem::transmute(ok__)); + psize.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1188,7 +1188,7 @@ impl IFont_Vtbl { let this = (*this).get_impl(); match IFont_Impl::Bold(this) { Ok(ok__) => { - core::ptr::write(pbold, core::mem::transmute(ok__)); + pbold.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1204,7 +1204,7 @@ impl IFont_Vtbl { let this = (*this).get_impl(); match IFont_Impl::Italic(this) { Ok(ok__) => { - core::ptr::write(pitalic, core::mem::transmute(ok__)); + pitalic.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1220,7 +1220,7 @@ impl IFont_Vtbl { let this = (*this).get_impl(); match IFont_Impl::Underline(this) { Ok(ok__) => { - core::ptr::write(punderline, core::mem::transmute(ok__)); + punderline.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1236,7 +1236,7 @@ impl IFont_Vtbl { let this = (*this).get_impl(); match IFont_Impl::Strikethrough(this) { Ok(ok__) => { - core::ptr::write(pstrikethrough, core::mem::transmute(ok__)); + pstrikethrough.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1252,7 +1252,7 @@ impl IFont_Vtbl { let this = (*this).get_impl(); match IFont_Impl::Weight(this) { Ok(ok__) => { - core::ptr::write(pweight, core::mem::transmute(ok__)); + pweight.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1268,7 +1268,7 @@ impl IFont_Vtbl { let this = (*this).get_impl(); match IFont_Impl::Charset(this) { Ok(ok__) => { - core::ptr::write(pcharset, core::mem::transmute(ok__)); + pcharset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1284,7 +1284,7 @@ impl IFont_Vtbl { let this = (*this).get_impl(); match IFont_Impl::hFont(this) { Ok(ok__) => { - core::ptr::write(phfont, core::mem::transmute(ok__)); + phfont.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1295,7 +1295,7 @@ impl IFont_Vtbl { let this = (*this).get_impl(); match IFont_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppfont, core::mem::transmute(ok__)); + ppfont.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1486,7 +1486,7 @@ impl IOleAdviseHolder_Vtbl { let this = (*this).get_impl(); match IOleAdviseHolder_Impl::Advise(this, windows_core::from_raw_borrowed(&padvise)) { Ok(ok__) => { - core::ptr::write(pdwconnection, core::mem::transmute(ok__)); + pdwconnection.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1502,7 +1502,7 @@ impl IOleAdviseHolder_Vtbl { let this = (*this).get_impl(); match IOleAdviseHolder_Impl::EnumAdvise(this) { Ok(ok__) => { - core::ptr::write(ppenumadvise, core::mem::transmute(ok__)); + ppenumadvise.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1555,7 +1555,7 @@ impl IOleCache_Vtbl { let this = (*this).get_impl(); match IOleCache_Impl::Cache(this, core::mem::transmute_copy(&pformatetc), core::mem::transmute_copy(&advf)) { Ok(ok__) => { - core::ptr::write(pdwconnection, core::mem::transmute(ok__)); + pdwconnection.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1571,7 +1571,7 @@ impl IOleCache_Vtbl { let this = (*this).get_impl(); match IOleCache_Impl::EnumCache(this) { Ok(ok__) => { - core::ptr::write(ppenumstatdata, core::mem::transmute(ok__)); + ppenumstatdata.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1680,7 +1680,7 @@ impl IOleClientSite_Vtbl { let this = (*this).get_impl(); match IOleClientSite_Impl::GetMoniker(this, core::mem::transmute(&dwassign), core::mem::transmute(&dwwhichmoniker)) { Ok(ok__) => { - core::ptr::write(ppmk, core::mem::transmute(ok__)); + ppmk.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1691,7 +1691,7 @@ impl IOleClientSite_Vtbl { let this = (*this).get_impl(); match IOleClientSite_Impl::GetContainer(this) { Ok(ok__) => { - core::ptr::write(ppcontainer, core::mem::transmute(ok__)); + ppcontainer.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1768,7 +1768,7 @@ impl IOleContainer_Vtbl { let this = (*this).get_impl(); match IOleContainer_Impl::EnumObjects(this, core::mem::transmute(&grfflags)) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1863,7 +1863,7 @@ impl IOleControlSite_Vtbl { let this = (*this).get_impl(); match IOleControlSite_Impl::GetExtendedControl(this) { Ok(ok__) => { - core::ptr::write(ppdisp, core::mem::transmute(ok__)); + ppdisp.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1920,7 +1920,7 @@ impl IOleDocument_Vtbl { let this = (*this).get_impl(); match IOleDocument_Impl::CreateView(this, windows_core::from_raw_borrowed(&pipsite), windows_core::from_raw_borrowed(&pstm), core::mem::transmute_copy(&dwreserved)) { Ok(ok__) => { - core::ptr::write(ppview, core::mem::transmute(ok__)); + ppview.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1931,7 +1931,7 @@ impl IOleDocument_Vtbl { let this = (*this).get_impl(); match IOleDocument_Impl::GetDocMiscStatus(this) { Ok(ok__) => { - core::ptr::write(pdwstatus, core::mem::transmute(ok__)); + pdwstatus.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2001,7 +2001,7 @@ impl IOleDocumentView_Vtbl { let this = (*this).get_impl(); match IOleDocumentView_Impl::GetInPlaceSite(this) { Ok(ok__) => { - core::ptr::write(ppipsite, core::mem::transmute(ok__)); + ppipsite.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2012,7 +2012,7 @@ impl IOleDocumentView_Vtbl { let this = (*this).get_impl(); match IOleDocumentView_Impl::GetDocument(this) { Ok(ok__) => { - core::ptr::write(ppunk, core::mem::transmute(ok__)); + ppunk.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2028,7 +2028,7 @@ impl IOleDocumentView_Vtbl { let this = (*this).get_impl(); match IOleDocumentView_Impl::GetRect(this) { Ok(ok__) => { - core::ptr::write(prcview, core::mem::transmute(ok__)); + prcview.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2074,7 +2074,7 @@ impl IOleDocumentView_Vtbl { let this = (*this).get_impl(); match IOleDocumentView_Impl::Clone(this, windows_core::from_raw_borrowed(&pipsitenew)) { Ok(ok__) => { - core::ptr::write(ppviewnew, core::mem::transmute(ok__)); + ppviewnew.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2263,7 +2263,7 @@ impl IOleInPlaceObjectWindowless_Vtbl { let this = (*this).get_impl(); match IOleInPlaceObjectWindowless_Impl::OnWindowMessage(this, core::mem::transmute_copy(&msg), core::mem::transmute_copy(&wparam), core::mem::transmute_copy(&lparam)) { Ok(ok__) => { - core::ptr::write(plresult, core::mem::transmute(ok__)); + plresult.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2274,7 +2274,7 @@ impl IOleInPlaceObjectWindowless_Vtbl { let this = (*this).get_impl(); match IOleInPlaceObjectWindowless_Impl::GetDropTarget(this) { Ok(ok__) => { - core::ptr::write(ppdroptarget, core::mem::transmute(ok__)); + ppdroptarget.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2463,7 +2463,7 @@ impl IOleInPlaceSiteWindowless_Vtbl { let this = (*this).get_impl(); match IOleInPlaceSiteWindowless_Impl::GetDC(this, core::mem::transmute_copy(&prect), core::mem::transmute_copy(&grfflags)) { Ok(ok__) => { - core::ptr::write(phdc, core::mem::transmute(ok__)); + phdc.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2499,7 +2499,7 @@ impl IOleInPlaceSiteWindowless_Vtbl { let this = (*this).get_impl(); match IOleInPlaceSiteWindowless_Impl::OnDefWindowMessage(this, core::mem::transmute_copy(&msg), core::mem::transmute_copy(&wparam), core::mem::transmute_copy(&lparam)) { Ok(ok__) => { - core::ptr::write(plresult, core::mem::transmute(ok__)); + plresult.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2539,7 +2539,7 @@ impl IOleInPlaceUIWindow_Vtbl { let this = (*this).get_impl(); match IOleInPlaceUIWindow_Impl::GetBorder(this) { Ok(ok__) => { - core::ptr::write(lprectborder, core::mem::transmute(ok__)); + lprectborder.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2638,7 +2638,7 @@ impl IOleLink_Vtbl { let this = (*this).get_impl(); match IOleLink_Impl::GetUpdateOptions(this) { Ok(ok__) => { - core::ptr::write(pdwupdateopt, core::mem::transmute(ok__)); + pdwupdateopt.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2654,7 +2654,7 @@ impl IOleLink_Vtbl { let this = (*this).get_impl(); match IOleLink_Impl::GetSourceMoniker(this) { Ok(ok__) => { - core::ptr::write(ppmk, core::mem::transmute(ok__)); + ppmk.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2670,7 +2670,7 @@ impl IOleLink_Vtbl { let this = (*this).get_impl(); match IOleLink_Impl::GetSourceDisplayName(this) { Ok(ok__) => { - core::ptr::write(ppszdisplayname, core::mem::transmute(ok__)); + ppszdisplayname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2691,7 +2691,7 @@ impl IOleLink_Vtbl { let this = (*this).get_impl(); match IOleLink_Impl::GetBoundSource(this) { Ok(ok__) => { - core::ptr::write(ppunk, core::mem::transmute(ok__)); + ppunk.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2765,7 +2765,7 @@ impl IOleObject_Vtbl { let this = (*this).get_impl(); match IOleObject_Impl::GetClientSite(this) { Ok(ok__) => { - core::ptr::write(ppclientsite, core::mem::transmute(ok__)); + ppclientsite.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2791,7 +2791,7 @@ impl IOleObject_Vtbl { let this = (*this).get_impl(); match IOleObject_Impl::GetMoniker(this, core::mem::transmute(&dwassign), core::mem::transmute(&dwwhichmoniker)) { Ok(ok__) => { - core::ptr::write(ppmk, core::mem::transmute(ok__)); + ppmk.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2807,7 +2807,7 @@ impl IOleObject_Vtbl { let this = (*this).get_impl(); match IOleObject_Impl::GetClipboardData(this, core::mem::transmute_copy(&dwreserved)) { Ok(ok__) => { - core::ptr::write(ppdataobject, core::mem::transmute(ok__)); + ppdataobject.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2823,7 +2823,7 @@ impl IOleObject_Vtbl { let this = (*this).get_impl(); match IOleObject_Impl::EnumVerbs(this) { Ok(ok__) => { - core::ptr::write(ppenumoleverb, core::mem::transmute(ok__)); + ppenumoleverb.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2844,7 +2844,7 @@ impl IOleObject_Vtbl { let this = (*this).get_impl(); match IOleObject_Impl::GetUserClassID(this) { Ok(ok__) => { - core::ptr::write(pclsid, core::mem::transmute(ok__)); + pclsid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2855,7 +2855,7 @@ impl IOleObject_Vtbl { let this = (*this).get_impl(); match IOleObject_Impl::GetUserType(this, core::mem::transmute(&dwformoftype)) { Ok(ok__) => { - core::ptr::write(pszusertype, core::mem::transmute(ok__)); + pszusertype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2871,7 +2871,7 @@ impl IOleObject_Vtbl { let this = (*this).get_impl(); match IOleObject_Impl::GetExtent(this, core::mem::transmute_copy(&dwdrawaspect)) { Ok(ok__) => { - core::ptr::write(psizel, core::mem::transmute(ok__)); + psizel.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2882,7 +2882,7 @@ impl IOleObject_Vtbl { let this = (*this).get_impl(); match IOleObject_Impl::Advise(this, windows_core::from_raw_borrowed(&padvsink)) { Ok(ok__) => { - core::ptr::write(pdwconnection, core::mem::transmute(ok__)); + pdwconnection.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2898,7 +2898,7 @@ impl IOleObject_Vtbl { let this = (*this).get_impl(); match IOleObject_Impl::EnumAdvise(this) { Ok(ok__) => { - core::ptr::write(ppenumadvise, core::mem::transmute(ok__)); + ppenumadvise.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2909,7 +2909,7 @@ impl IOleObject_Vtbl { let this = (*this).get_impl(); match IOleObject_Impl::GetMiscStatus(this, core::mem::transmute_copy(&dwaspect)) { Ok(ok__) => { - core::ptr::write(pdwstatus, core::mem::transmute(ok__)); + pdwstatus.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2984,7 +2984,7 @@ impl IOleParentUndoUnit_Vtbl { let this = (*this).get_impl(); match IOleParentUndoUnit_Impl::GetParentState(this) { Ok(ok__) => { - core::ptr::write(pdwstate, core::mem::transmute(ok__)); + pdwstate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3031,7 +3031,7 @@ impl IOleUILinkContainerA_Vtbl { let this = (*this).get_impl(); match IOleUILinkContainerA_Impl::GetLinkUpdateOptions(this, core::mem::transmute_copy(&dwlink)) { Ok(ok__) => { - core::ptr::write(lpdwupdateopt, core::mem::transmute(ok__)); + lpdwupdateopt.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3106,7 +3106,7 @@ impl IOleUILinkContainerW_Vtbl { let this = (*this).get_impl(); match IOleUILinkContainerW_Impl::GetLinkUpdateOptions(this, core::mem::transmute_copy(&dwlink)) { Ok(ok__) => { - core::ptr::write(lpdwupdateopt, core::mem::transmute(ok__)); + lpdwupdateopt.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3164,7 +3164,7 @@ impl IOleUILinkInfoA_Vtbl { let this = (*this).get_impl(); match IOleUILinkInfoA_Impl::GetLastUpdate(this, core::mem::transmute_copy(&dwlink)) { Ok(ok__) => { - core::ptr::write(lplastupdate, core::mem::transmute(ok__)); + lplastupdate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3187,7 +3187,7 @@ impl IOleUILinkInfoW_Vtbl { let this = (*this).get_impl(); match IOleUILinkInfoW_Impl::GetLastUpdate(this, core::mem::transmute_copy(&dwlink)) { Ok(ok__) => { - core::ptr::write(lplastupdate, core::mem::transmute(ok__)); + lplastupdate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3332,7 +3332,7 @@ impl IOleUndoManager_Vtbl { let this = (*this).get_impl(); match IOleUndoManager_Impl::GetOpenParentState(this) { Ok(ok__) => { - core::ptr::write(pdwstate, core::mem::transmute(ok__)); + pdwstate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3358,7 +3358,7 @@ impl IOleUndoManager_Vtbl { let this = (*this).get_impl(); match IOleUndoManager_Impl::EnumUndoable(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3369,7 +3369,7 @@ impl IOleUndoManager_Vtbl { let this = (*this).get_impl(); match IOleUndoManager_Impl::EnumRedoable(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3380,7 +3380,7 @@ impl IOleUndoManager_Vtbl { let this = (*this).get_impl(); match IOleUndoManager_Impl::GetLastUndoDescription(this) { Ok(ok__) => { - core::ptr::write(pbstr, core::mem::transmute(ok__)); + pbstr.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3391,7 +3391,7 @@ impl IOleUndoManager_Vtbl { let this = (*this).get_impl(); match IOleUndoManager_Impl::GetLastRedoDescription(this) { Ok(ok__) => { - core::ptr::write(pbstr, core::mem::transmute(ok__)); + pbstr.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3441,7 +3441,7 @@ impl IOleUndoUnit_Vtbl { let this = (*this).get_impl(); match IOleUndoUnit_Impl::GetDescription(this) { Ok(ok__) => { - core::ptr::write(pbstr, core::mem::transmute(ok__)); + pbstr.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3481,7 +3481,7 @@ impl IOleWindow_Vtbl { let this = (*this).get_impl(); match IOleWindow_Impl::GetWindow(this) { Ok(ok__) => { - core::ptr::write(phwnd, core::mem::transmute(ok__)); + phwnd.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3536,7 +3536,7 @@ impl IPerPropertyBrowsing_Vtbl { let this = (*this).get_impl(); match IPerPropertyBrowsing_Impl::GetDisplayString(this, core::mem::transmute_copy(&dispid)) { Ok(ok__) => { - core::ptr::write(pbstr, core::mem::transmute(ok__)); + pbstr.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3547,7 +3547,7 @@ impl IPerPropertyBrowsing_Vtbl { let this = (*this).get_impl(); match IPerPropertyBrowsing_Impl::MapPropertyToPage(this, core::mem::transmute_copy(&dispid)) { Ok(ok__) => { - core::ptr::write(pclsid, core::mem::transmute(ok__)); + pclsid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3563,7 +3563,7 @@ impl IPerPropertyBrowsing_Vtbl { let this = (*this).get_impl(); match IPerPropertyBrowsing_Impl::GetPredefinedValue(this, core::mem::transmute_copy(&dispid), core::mem::transmute_copy(&dwcookie)) { Ok(ok__) => { - core::ptr::write(pvarout, core::mem::transmute(ok__)); + pvarout.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3689,7 +3689,7 @@ impl IPicture_Vtbl { let this = (*this).get_impl(); match IPicture_Impl::Handle(this) { Ok(ok__) => { - core::ptr::write(phandle, core::mem::transmute(ok__)); + phandle.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3700,7 +3700,7 @@ impl IPicture_Vtbl { let this = (*this).get_impl(); match IPicture_Impl::hPal(this) { Ok(ok__) => { - core::ptr::write(phpal, core::mem::transmute(ok__)); + phpal.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3711,7 +3711,7 @@ impl IPicture_Vtbl { let this = (*this).get_impl(); match IPicture_Impl::Type(this) { Ok(ok__) => { - core::ptr::write(ptype, core::mem::transmute(ok__)); + ptype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3722,7 +3722,7 @@ impl IPicture_Vtbl { let this = (*this).get_impl(); match IPicture_Impl::Width(this) { Ok(ok__) => { - core::ptr::write(pwidth, core::mem::transmute(ok__)); + pwidth.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3733,7 +3733,7 @@ impl IPicture_Vtbl { let this = (*this).get_impl(); match IPicture_Impl::Height(this) { Ok(ok__) => { - core::ptr::write(pheight, core::mem::transmute(ok__)); + pheight.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3754,7 +3754,7 @@ impl IPicture_Vtbl { let this = (*this).get_impl(); match IPicture_Impl::CurDC(this) { Ok(ok__) => { - core::ptr::write(phdc, core::mem::transmute(ok__)); + phdc.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3770,7 +3770,7 @@ impl IPicture_Vtbl { let this = (*this).get_impl(); match IPicture_Impl::KeepOriginalFormat(this) { Ok(ok__) => { - core::ptr::write(pkeep, core::mem::transmute(ok__)); + pkeep.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3791,7 +3791,7 @@ impl IPicture_Vtbl { let this = (*this).get_impl(); match IPicture_Impl::SaveAsFile(this, windows_core::from_raw_borrowed(&pstream), core::mem::transmute_copy(&fsavememcopy)) { Ok(ok__) => { - core::ptr::write(pcbsize, core::mem::transmute(ok__)); + pcbsize.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3802,7 +3802,7 @@ impl IPicture_Vtbl { let this = (*this).get_impl(); match IPicture_Impl::Attributes(this) { Ok(ok__) => { - core::ptr::write(pdwattr, core::mem::transmute(ok__)); + pdwattr.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3857,7 +3857,7 @@ impl IPicture2_Vtbl { let this = (*this).get_impl(); match IPicture2_Impl::Handle(this) { Ok(ok__) => { - core::ptr::write(phandle, core::mem::transmute(ok__)); + phandle.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3868,7 +3868,7 @@ impl IPicture2_Vtbl { let this = (*this).get_impl(); match IPicture2_Impl::hPal(this) { Ok(ok__) => { - core::ptr::write(phpal, core::mem::transmute(ok__)); + phpal.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3879,7 +3879,7 @@ impl IPicture2_Vtbl { let this = (*this).get_impl(); match IPicture2_Impl::Type(this) { Ok(ok__) => { - core::ptr::write(ptype, core::mem::transmute(ok__)); + ptype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3890,7 +3890,7 @@ impl IPicture2_Vtbl { let this = (*this).get_impl(); match IPicture2_Impl::Width(this) { Ok(ok__) => { - core::ptr::write(pwidth, core::mem::transmute(ok__)); + pwidth.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3901,7 +3901,7 @@ impl IPicture2_Vtbl { let this = (*this).get_impl(); match IPicture2_Impl::Height(this) { Ok(ok__) => { - core::ptr::write(pheight, core::mem::transmute(ok__)); + pheight.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3922,7 +3922,7 @@ impl IPicture2_Vtbl { let this = (*this).get_impl(); match IPicture2_Impl::CurDC(this) { Ok(ok__) => { - core::ptr::write(phdc, core::mem::transmute(ok__)); + phdc.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3938,7 +3938,7 @@ impl IPicture2_Vtbl { let this = (*this).get_impl(); match IPicture2_Impl::KeepOriginalFormat(this) { Ok(ok__) => { - core::ptr::write(pkeep, core::mem::transmute(ok__)); + pkeep.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3959,7 +3959,7 @@ impl IPicture2_Vtbl { let this = (*this).get_impl(); match IPicture2_Impl::SaveAsFile(this, windows_core::from_raw_borrowed(&pstream), core::mem::transmute_copy(&fsavememcopy)) { Ok(ok__) => { - core::ptr::write(pcbsize, core::mem::transmute(ok__)); + pcbsize.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3970,7 +3970,7 @@ impl IPicture2_Vtbl { let this = (*this).get_impl(); match IPicture2_Impl::Attributes(this) { Ok(ok__) => { - core::ptr::write(pdwattr, core::mem::transmute(ok__)); + pdwattr.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4024,7 +4024,7 @@ impl IPointerInactive_Vtbl { let this = (*this).get_impl(); match IPointerInactive_Impl::GetActivationPolicy(this) { Ok(ok__) => { - core::ptr::write(pdwpolicy, core::mem::transmute(ok__)); + pdwpolicy.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4250,7 +4250,7 @@ impl IPropertyPageSite_Vtbl { let this = (*this).get_impl(); match IPropertyPageSite_Impl::GetLocaleID(this) { Ok(ok__) => { - core::ptr::write(plocaleid, core::mem::transmute(ok__)); + plocaleid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4261,7 +4261,7 @@ impl IPropertyPageSite_Vtbl { let this = (*this).get_impl(); match IPropertyPageSite_Impl::GetPageContainer(this) { Ok(ok__) => { - core::ptr::write(ppunk, core::mem::transmute(ok__)); + ppunk.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4295,7 +4295,7 @@ impl IProtectFocus_Vtbl { let this = (*this).get_impl(); match IProtectFocus_Impl::AllowFocusChange(this) { Ok(ok__) => { - core::ptr::write(pfallow, core::mem::transmute(ok__)); + pfallow.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4323,7 +4323,7 @@ impl IProtectedModeMenuServices_Vtbl { let this = (*this).get_impl(); match IProtectedModeMenuServices_Impl::CreateMenu(this) { Ok(ok__) => { - core::ptr::write(phmenu, core::mem::transmute(ok__)); + phmenu.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4334,7 +4334,7 @@ impl IProtectedModeMenuServices_Vtbl { let this = (*this).get_impl(); match IProtectedModeMenuServices_Impl::LoadMenu(this, core::mem::transmute(&pszmodulename), core::mem::transmute(&pszmenuname)) { Ok(ok__) => { - core::ptr::write(phmenu, core::mem::transmute(ok__)); + phmenu.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4345,7 +4345,7 @@ impl IProtectedModeMenuServices_Vtbl { let this = (*this).get_impl(); match IProtectedModeMenuServices_Impl::LoadMenuID(this, core::mem::transmute(&pszmodulename), core::mem::transmute_copy(&wresourceid)) { Ok(ok__) => { - core::ptr::write(phmenu, core::mem::transmute(ok__)); + phmenu.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4376,7 +4376,7 @@ impl IProvideClassInfo_Vtbl { let this = (*this).get_impl(); match IProvideClassInfo_Impl::GetClassInfo(this) { Ok(ok__) => { - core::ptr::write(ppti, core::mem::transmute(ok__)); + ppti.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4402,7 +4402,7 @@ impl IProvideClassInfo2_Vtbl { let this = (*this).get_impl(); match IProvideClassInfo2_Impl::GetGUID(this, core::mem::transmute_copy(&dwguidkind)) { Ok(ok__) => { - core::ptr::write(pguid, core::mem::transmute(ok__)); + pguid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4429,7 +4429,7 @@ impl IProvideMultipleClassInfo_Vtbl { let this = (*this).get_impl(); match IProvideMultipleClassInfo_Impl::GetMultiTypeInfoCount(this) { Ok(ok__) => { - core::ptr::write(pcti, core::mem::transmute(ok__)); + pcti.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4493,7 +4493,7 @@ impl IQuickActivate_Vtbl { let this = (*this).get_impl(); match IQuickActivate_Impl::GetContentExtent(this) { Ok(ok__) => { - core::ptr::write(psizel, core::mem::transmute(ok__)); + psizel.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4554,7 +4554,7 @@ impl IRecordInfo_Vtbl { let this = (*this).get_impl(); match IRecordInfo_Impl::GetGuid(this) { Ok(ok__) => { - core::ptr::write(pguid, core::mem::transmute(ok__)); + pguid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4565,7 +4565,7 @@ impl IRecordInfo_Vtbl { let this = (*this).get_impl(); match IRecordInfo_Impl::GetName(this) { Ok(ok__) => { - core::ptr::write(pbstrname, core::mem::transmute(ok__)); + pbstrname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4576,7 +4576,7 @@ impl IRecordInfo_Vtbl { let this = (*this).get_impl(); match IRecordInfo_Impl::GetSize(this) { Ok(ok__) => { - core::ptr::write(pcbsize, core::mem::transmute(ok__)); + pcbsize.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4587,7 +4587,7 @@ impl IRecordInfo_Vtbl { let this = (*this).get_impl(); match IRecordInfo_Impl::GetTypeInfo(this) { Ok(ok__) => { - core::ptr::write(pptypeinfo, core::mem::transmute(ok__)); + pptypeinfo.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4598,7 +4598,7 @@ impl IRecordInfo_Vtbl { let this = (*this).get_impl(); match IRecordInfo_Impl::GetField(this, core::mem::transmute_copy(&pvdata), core::mem::transmute(&szfieldname)) { Ok(ok__) => { - core::ptr::write(pvarfield, core::mem::transmute(ok__)); + pvarfield.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4706,7 +4706,7 @@ impl ISpecifyPropertyPages_Vtbl { let this = (*this).get_impl(); match ISpecifyPropertyPages_Impl::GetPages(this) { Ok(ok__) => { - core::ptr::write(ppages, core::mem::transmute(ok__)); + ppages.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4733,7 +4733,7 @@ impl ITypeChangeEvents_Vtbl { let this = (*this).get_impl(); match ITypeChangeEvents_Impl::RequestTypeChange(this, core::mem::transmute_copy(&changekind), windows_core::from_raw_borrowed(&ptinfobefore), core::mem::transmute(&pstrname)) { Ok(ok__) => { - core::ptr::write(pfcancel, core::mem::transmute(ok__)); + pfcancel.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4768,7 +4768,7 @@ impl ITypeFactory_Vtbl { let this = (*this).get_impl(); match ITypeFactory_Impl::CreateFromTypeInfo(this, windows_core::from_raw_borrowed(&ptypeinfo), core::mem::transmute_copy(&riid)) { Ok(ok__) => { - core::ptr::write(ppv, core::mem::transmute(ok__)); + ppv.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4794,7 +4794,7 @@ impl ITypeMarshal_Vtbl { let this = (*this).get_impl(); match ITypeMarshal_Impl::Size(this, core::mem::transmute_copy(&pvtype), core::mem::transmute_copy(&dwdestcontext), core::mem::transmute_copy(&pvdestcontext)) { Ok(ok__) => { - core::ptr::write(psize, core::mem::transmute(ok__)); + psize.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4858,7 +4858,7 @@ impl IVBGetControl_Vtbl { let this = (*this).get_impl(); match IVBGetControl_Impl::EnumControls(this, core::mem::transmute(&dwolecontf), core::mem::transmute_copy(&dwwhich)) { Ok(ok__) => { - core::ptr::write(ppenumunk, core::mem::transmute(ok__)); + ppenumunk.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4962,7 +4962,7 @@ impl IViewObject2_Vtbl { let this = (*this).get_impl(); match IViewObject2_Impl::GetExtent(this, core::mem::transmute_copy(&dwdrawaspect), core::mem::transmute_copy(&lindex), core::mem::transmute_copy(&ptd)) { Ok(ok__) => { - core::ptr::write(lpsizel, core::mem::transmute(ok__)); + lpsizel.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4992,7 +4992,7 @@ impl IViewObjectEx_Vtbl { let this = (*this).get_impl(); match IViewObjectEx_Impl::GetRect(this, core::mem::transmute_copy(&dwaspect)) { Ok(ok__) => { - core::ptr::write(prect, core::mem::transmute(ok__)); + prect.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5003,7 +5003,7 @@ impl IViewObjectEx_Vtbl { let this = (*this).get_impl(); match IViewObjectEx_Impl::GetViewStatus(this) { Ok(ok__) => { - core::ptr::write(pdwstatus, core::mem::transmute(ok__)); + pdwstatus.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5014,7 +5014,7 @@ impl IViewObjectEx_Vtbl { let this = (*this).get_impl(); match IViewObjectEx_Impl::QueryHitPoint(this, core::mem::transmute_copy(&dwaspect), core::mem::transmute_copy(&prectbounds), core::mem::transmute(&ptlloc), core::mem::transmute_copy(&lclosehint)) { Ok(ok__) => { - core::ptr::write(phitresult, core::mem::transmute(ok__)); + phitresult.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5025,7 +5025,7 @@ impl IViewObjectEx_Vtbl { let this = (*this).get_impl(); match IViewObjectEx_Impl::QueryHitRect(this, core::mem::transmute_copy(&dwaspect), core::mem::transmute_copy(&prectbounds), core::mem::transmute_copy(&prectloc), core::mem::transmute_copy(&lclosehint)) { Ok(ok__) => { - core::ptr::write(phitresult, core::mem::transmute(ok__)); + phitresult.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5036,7 +5036,7 @@ impl IViewObjectEx_Vtbl { let this = (*this).get_impl(); match IViewObjectEx_Impl::GetNaturalExtent(this, core::mem::transmute_copy(&dwaspect), core::mem::transmute_copy(&lindex), core::mem::transmute_copy(&ptd), core::mem::transmute_copy(&hictargetdev), core::mem::transmute_copy(&pextentinfo)) { Ok(ok__) => { - core::ptr::write(psizel, core::mem::transmute(ok__)); + psizel.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/Win32/System/ParentalControls/impl.rs b/crates/libs/windows/src/Windows/Win32/System/ParentalControls/impl.rs index 118270ef8f..31304c8fbd 100644 --- a/crates/libs/windows/src/Windows/Win32/System/ParentalControls/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/ParentalControls/impl.rs @@ -9,7 +9,7 @@ impl IWPCGamesSettings_Vtbl { let this = (*this).get_impl(); match IWPCGamesSettings_Impl::IsBlocked(this, core::mem::transmute(&guidappid)) { Ok(ok__) => { - core::ptr::write(pdwreasons, core::mem::transmute(ok__)); + pdwreasons.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -34,7 +34,7 @@ impl IWPCProviderConfig_Vtbl { let this = (*this).get_impl(); match IWPCProviderConfig_Impl::GetUserSummary(this, core::mem::transmute(&bstrsid)) { Ok(ok__) => { - core::ptr::write(pbstrusersummary, core::mem::transmute(ok__)); + pbstrusersummary.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -99,7 +99,7 @@ impl IWPCProviderSupport_Vtbl { let this = (*this).get_impl(); match IWPCProviderSupport_Impl::GetCurrent(this) { Ok(ok__) => { - core::ptr::write(pguidprovider, core::mem::transmute(ok__)); + pguidprovider.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -124,7 +124,7 @@ impl IWPCSettings_Vtbl { let this = (*this).get_impl(); match IWPCSettings_Impl::IsLoggingRequired(this) { Ok(ok__) => { - core::ptr::write(pfrequired, core::mem::transmute(ok__)); + pfrequired.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -135,7 +135,7 @@ impl IWPCSettings_Vtbl { let this = (*this).get_impl(); match IWPCSettings_Impl::GetLastSettingsChangeTime(this) { Ok(ok__) => { - core::ptr::write(ptime, core::mem::transmute(ok__)); + ptime.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -146,7 +146,7 @@ impl IWPCSettings_Vtbl { let this = (*this).get_impl(); match IWPCSettings_Impl::GetRestrictions(this) { Ok(ok__) => { - core::ptr::write(pdwrestrictions, core::mem::transmute(ok__)); + pdwrestrictions.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -175,7 +175,7 @@ impl IWPCWebSettings_Vtbl { let this = (*this).get_impl(); match IWPCWebSettings_Impl::GetSettings(this) { Ok(ok__) => { - core::ptr::write(pdwsettings, core::mem::transmute(ok__)); + pdwsettings.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -186,7 +186,7 @@ impl IWPCWebSettings_Vtbl { let this = (*this).get_impl(); match IWPCWebSettings_Impl::RequestURLOverride(this, core::mem::transmute_copy(&hwnd), core::mem::transmute(&pcszurl), core::mem::transmute_copy(&curls), core::mem::transmute_copy(&ppcszsuburls)) { Ok(ok__) => { - core::ptr::write(pfchanged, core::mem::transmute(ok__)); + pfchanged.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -213,7 +213,7 @@ impl IWindowsParentalControls_Vtbl { let this = (*this).get_impl(); match IWindowsParentalControls_Impl::GetGamesSettings(this, core::mem::transmute(&pcszsid)) { Ok(ok__) => { - core::ptr::write(ppsettings, core::mem::transmute(ok__)); + ppsettings.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -239,7 +239,7 @@ impl IWindowsParentalControlsCore_Vtbl { let this = (*this).get_impl(); match IWindowsParentalControlsCore_Impl::GetVisibility(this) { Ok(ok__) => { - core::ptr::write(pevisibility, core::mem::transmute(ok__)); + pevisibility.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -250,7 +250,7 @@ impl IWindowsParentalControlsCore_Vtbl { let this = (*this).get_impl(); match IWindowsParentalControlsCore_Impl::GetUserSettings(this, core::mem::transmute(&pcszsid)) { Ok(ok__) => { - core::ptr::write(ppsettings, core::mem::transmute(ok__)); + ppsettings.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -261,7 +261,7 @@ impl IWindowsParentalControlsCore_Vtbl { let this = (*this).get_impl(); match IWindowsParentalControlsCore_Impl::GetWebSettings(this, core::mem::transmute(&pcszsid)) { Ok(ok__) => { - core::ptr::write(ppsettings, core::mem::transmute(ok__)); + ppsettings.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/Win32/System/Performance/impl.rs b/crates/libs/windows/src/Windows/Win32/System/Performance/impl.rs index 2840a1ab74..a479f929c9 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Performance/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Performance/impl.rs @@ -92,7 +92,7 @@ impl IAlertDataCollector_Vtbl { let this = (*this).get_impl(); match IAlertDataCollector_Impl::AlertThresholds(this) { Ok(ok__) => { - core::ptr::write(alerts, core::mem::transmute(ok__)); + alerts.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -108,7 +108,7 @@ impl IAlertDataCollector_Vtbl { let this = (*this).get_impl(); match IAlertDataCollector_Impl::EventLog(this) { Ok(ok__) => { - core::ptr::write(log, core::mem::transmute(ok__)); + log.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -124,7 +124,7 @@ impl IAlertDataCollector_Vtbl { let this = (*this).get_impl(); match IAlertDataCollector_Impl::SampleInterval(this) { Ok(ok__) => { - core::ptr::write(interval, core::mem::transmute(ok__)); + interval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -140,7 +140,7 @@ impl IAlertDataCollector_Vtbl { let this = (*this).get_impl(); match IAlertDataCollector_Impl::Task(this) { Ok(ok__) => { - core::ptr::write(task, core::mem::transmute(ok__)); + task.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -156,7 +156,7 @@ impl IAlertDataCollector_Vtbl { let this = (*this).get_impl(); match IAlertDataCollector_Impl::TaskRunAsSelf(this) { Ok(ok__) => { - core::ptr::write(runasself, core::mem::transmute(ok__)); + runasself.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -172,7 +172,7 @@ impl IAlertDataCollector_Vtbl { let this = (*this).get_impl(); match IAlertDataCollector_Impl::TaskArguments(this) { Ok(ok__) => { - core::ptr::write(task, core::mem::transmute(ok__)); + task.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -188,7 +188,7 @@ impl IAlertDataCollector_Vtbl { let this = (*this).get_impl(); match IAlertDataCollector_Impl::TaskUserTextArguments(this) { Ok(ok__) => { - core::ptr::write(task, core::mem::transmute(ok__)); + task.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -204,7 +204,7 @@ impl IAlertDataCollector_Vtbl { let this = (*this).get_impl(); match IAlertDataCollector_Impl::TriggerDataCollectorSet(this) { Ok(ok__) => { - core::ptr::write(name, core::mem::transmute(ok__)); + name.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -266,7 +266,7 @@ impl IApiTracingDataCollector_Vtbl { let this = (*this).get_impl(); match IApiTracingDataCollector_Impl::LogApiNamesOnly(this) { Ok(ok__) => { - core::ptr::write(logapinames, core::mem::transmute(ok__)); + logapinames.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -282,7 +282,7 @@ impl IApiTracingDataCollector_Vtbl { let this = (*this).get_impl(); match IApiTracingDataCollector_Impl::LogApisRecursively(this) { Ok(ok__) => { - core::ptr::write(logrecursively, core::mem::transmute(ok__)); + logrecursively.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -298,7 +298,7 @@ impl IApiTracingDataCollector_Vtbl { let this = (*this).get_impl(); match IApiTracingDataCollector_Impl::ExePath(this) { Ok(ok__) => { - core::ptr::write(exepath, core::mem::transmute(ok__)); + exepath.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -314,7 +314,7 @@ impl IApiTracingDataCollector_Vtbl { let this = (*this).get_impl(); match IApiTracingDataCollector_Impl::LogFilePath(this) { Ok(ok__) => { - core::ptr::write(logfilepath, core::mem::transmute(ok__)); + logfilepath.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -330,7 +330,7 @@ impl IApiTracingDataCollector_Vtbl { let this = (*this).get_impl(); match IApiTracingDataCollector_Impl::IncludeModules(this) { Ok(ok__) => { - core::ptr::write(includemodules, core::mem::transmute(ok__)); + includemodules.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -346,7 +346,7 @@ impl IApiTracingDataCollector_Vtbl { let this = (*this).get_impl(); match IApiTracingDataCollector_Impl::IncludeApis(this) { Ok(ok__) => { - core::ptr::write(includeapis, core::mem::transmute(ok__)); + includeapis.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -362,7 +362,7 @@ impl IApiTracingDataCollector_Vtbl { let this = (*this).get_impl(); match IApiTracingDataCollector_Impl::ExcludeApis(this) { Ok(ok__) => { - core::ptr::write(excludeapis, core::mem::transmute(ok__)); + excludeapis.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -426,7 +426,7 @@ impl IConfigurationDataCollector_Vtbl { let this = (*this).get_impl(); match IConfigurationDataCollector_Impl::FileMaxCount(this) { Ok(ok__) => { - core::ptr::write(count, core::mem::transmute(ok__)); + count.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -442,7 +442,7 @@ impl IConfigurationDataCollector_Vtbl { let this = (*this).get_impl(); match IConfigurationDataCollector_Impl::FileMaxRecursiveDepth(this) { Ok(ok__) => { - core::ptr::write(depth, core::mem::transmute(ok__)); + depth.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -458,7 +458,7 @@ impl IConfigurationDataCollector_Vtbl { let this = (*this).get_impl(); match IConfigurationDataCollector_Impl::FileMaxTotalSize(this) { Ok(ok__) => { - core::ptr::write(size, core::mem::transmute(ok__)); + size.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -474,7 +474,7 @@ impl IConfigurationDataCollector_Vtbl { let this = (*this).get_impl(); match IConfigurationDataCollector_Impl::Files(this) { Ok(ok__) => { - core::ptr::write(files, core::mem::transmute(ok__)); + files.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -490,7 +490,7 @@ impl IConfigurationDataCollector_Vtbl { let this = (*this).get_impl(); match IConfigurationDataCollector_Impl::ManagementQueries(this) { Ok(ok__) => { - core::ptr::write(queries, core::mem::transmute(ok__)); + queries.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -506,7 +506,7 @@ impl IConfigurationDataCollector_Vtbl { let this = (*this).get_impl(); match IConfigurationDataCollector_Impl::QueryNetworkAdapters(this) { Ok(ok__) => { - core::ptr::write(network, core::mem::transmute(ok__)); + network.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -522,7 +522,7 @@ impl IConfigurationDataCollector_Vtbl { let this = (*this).get_impl(); match IConfigurationDataCollector_Impl::RegistryKeys(this) { Ok(ok__) => { - core::ptr::write(query, core::mem::transmute(ok__)); + query.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -538,7 +538,7 @@ impl IConfigurationDataCollector_Vtbl { let this = (*this).get_impl(); match IConfigurationDataCollector_Impl::RegistryMaxRecursiveDepth(this) { Ok(ok__) => { - core::ptr::write(depth, core::mem::transmute(ok__)); + depth.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -554,7 +554,7 @@ impl IConfigurationDataCollector_Vtbl { let this = (*this).get_impl(); match IConfigurationDataCollector_Impl::SystemStateFile(this) { Ok(ok__) => { - core::ptr::write(filename, core::mem::transmute(ok__)); + filename.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -613,7 +613,7 @@ impl ICounterItem_Vtbl { let this = (*this).get_impl(); match ICounterItem_Impl::Value(this) { Ok(ok__) => { - core::ptr::write(pdblvalue, core::mem::transmute(ok__)); + pdblvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -629,7 +629,7 @@ impl ICounterItem_Vtbl { let this = (*this).get_impl(); match ICounterItem_Impl::Color(this) { Ok(ok__) => { - core::ptr::write(pcolor, core::mem::transmute(ok__)); + pcolor.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -645,7 +645,7 @@ impl ICounterItem_Vtbl { let this = (*this).get_impl(); match ICounterItem_Impl::Width(this) { Ok(ok__) => { - core::ptr::write(pivalue, core::mem::transmute(ok__)); + pivalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -661,7 +661,7 @@ impl ICounterItem_Vtbl { let this = (*this).get_impl(); match ICounterItem_Impl::LineStyle(this) { Ok(ok__) => { - core::ptr::write(pivalue, core::mem::transmute(ok__)); + pivalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -677,7 +677,7 @@ impl ICounterItem_Vtbl { let this = (*this).get_impl(); match ICounterItem_Impl::ScaleFactor(this) { Ok(ok__) => { - core::ptr::write(pivalue, core::mem::transmute(ok__)); + pivalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -688,7 +688,7 @@ impl ICounterItem_Vtbl { let this = (*this).get_impl(); match ICounterItem_Impl::Path(this) { Ok(ok__) => { - core::ptr::write(pstrvalue, core::mem::transmute(ok__)); + pstrvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -744,7 +744,7 @@ impl ICounterItem2_Vtbl { let this = (*this).get_impl(); match ICounterItem2_Impl::Selected(this) { Ok(ok__) => { - core::ptr::write(pbstate, core::mem::transmute(ok__)); + pbstate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -760,7 +760,7 @@ impl ICounterItem2_Vtbl { let this = (*this).get_impl(); match ICounterItem2_Impl::Visible(this) { Ok(ok__) => { - core::ptr::write(pbstate, core::mem::transmute(ok__)); + pbstate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -771,7 +771,7 @@ impl ICounterItem2_Vtbl { let this = (*this).get_impl(); match ICounterItem2_Impl::GetDataAt(this, core::mem::transmute_copy(&iindex), core::mem::transmute_copy(&iwhich)) { Ok(ok__) => { - core::ptr::write(pvariant, core::mem::transmute(ok__)); + pvariant.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -808,7 +808,7 @@ impl ICounters_Vtbl { let this = (*this).get_impl(); match ICounters_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(plong, core::mem::transmute(ok__)); + plong.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -819,7 +819,7 @@ impl ICounters_Vtbl { let this = (*this).get_impl(); match ICounters_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(ppiunk, core::mem::transmute(ok__)); + ppiunk.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -830,7 +830,7 @@ impl ICounters_Vtbl { let this = (*this).get_impl(); match ICounters_Impl::get_Item(this, core::mem::transmute(&index)) { Ok(ok__) => { - core::ptr::write(ppi, core::mem::transmute(ok__)); + ppi.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -841,7 +841,7 @@ impl ICounters_Vtbl { let this = (*this).get_impl(); match ICounters_Impl::Add(this, core::mem::transmute(&pathname)) { Ok(ok__) => { - core::ptr::write(ppi, core::mem::transmute(ok__)); + ppi.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -903,7 +903,7 @@ impl IDataCollector_Vtbl { let this = (*this).get_impl(); match IDataCollector_Impl::DataCollectorSet(this) { Ok(ok__) => { - core::ptr::write(group, core::mem::transmute(ok__)); + group.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -919,7 +919,7 @@ impl IDataCollector_Vtbl { let this = (*this).get_impl(); match IDataCollector_Impl::DataCollectorType(this) { Ok(ok__) => { - core::ptr::write(r#type, core::mem::transmute(ok__)); + r#type.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -930,7 +930,7 @@ impl IDataCollector_Vtbl { let this = (*this).get_impl(); match IDataCollector_Impl::FileName(this) { Ok(ok__) => { - core::ptr::write(name, core::mem::transmute(ok__)); + name.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -946,7 +946,7 @@ impl IDataCollector_Vtbl { let this = (*this).get_impl(); match IDataCollector_Impl::FileNameFormat(this) { Ok(ok__) => { - core::ptr::write(format, core::mem::transmute(ok__)); + format.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -962,7 +962,7 @@ impl IDataCollector_Vtbl { let this = (*this).get_impl(); match IDataCollector_Impl::FileNameFormatPattern(this) { Ok(ok__) => { - core::ptr::write(pattern, core::mem::transmute(ok__)); + pattern.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -978,7 +978,7 @@ impl IDataCollector_Vtbl { let this = (*this).get_impl(); match IDataCollector_Impl::LatestOutputLocation(this) { Ok(ok__) => { - core::ptr::write(path, core::mem::transmute(ok__)); + path.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -994,7 +994,7 @@ impl IDataCollector_Vtbl { let this = (*this).get_impl(); match IDataCollector_Impl::LogAppend(this) { Ok(ok__) => { - core::ptr::write(append, core::mem::transmute(ok__)); + append.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1010,7 +1010,7 @@ impl IDataCollector_Vtbl { let this = (*this).get_impl(); match IDataCollector_Impl::LogCircular(this) { Ok(ok__) => { - core::ptr::write(circular, core::mem::transmute(ok__)); + circular.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1026,7 +1026,7 @@ impl IDataCollector_Vtbl { let this = (*this).get_impl(); match IDataCollector_Impl::LogOverwrite(this) { Ok(ok__) => { - core::ptr::write(overwrite, core::mem::transmute(ok__)); + overwrite.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1042,7 +1042,7 @@ impl IDataCollector_Vtbl { let this = (*this).get_impl(); match IDataCollector_Impl::Name(this) { Ok(ok__) => { - core::ptr::write(name, core::mem::transmute(ok__)); + name.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1058,7 +1058,7 @@ impl IDataCollector_Vtbl { let this = (*this).get_impl(); match IDataCollector_Impl::OutputLocation(this) { Ok(ok__) => { - core::ptr::write(path, core::mem::transmute(ok__)); + path.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1069,7 +1069,7 @@ impl IDataCollector_Vtbl { let this = (*this).get_impl(); match IDataCollector_Impl::Index(this) { Ok(ok__) => { - core::ptr::write(index, core::mem::transmute(ok__)); + index.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1085,7 +1085,7 @@ impl IDataCollector_Vtbl { let this = (*this).get_impl(); match IDataCollector_Impl::Xml(this) { Ok(ok__) => { - core::ptr::write(xml, core::mem::transmute(ok__)); + xml.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1096,7 +1096,7 @@ impl IDataCollector_Vtbl { let this = (*this).get_impl(); match IDataCollector_Impl::SetXml(this, core::mem::transmute(&xml)) { Ok(ok__) => { - core::ptr::write(validation, core::mem::transmute(ok__)); + validation.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1107,7 +1107,7 @@ impl IDataCollector_Vtbl { let this = (*this).get_impl(); match IDataCollector_Impl::CreateOutputLocation(this, core::mem::transmute_copy(&latest)) { Ok(ok__) => { - core::ptr::write(location, core::mem::transmute(ok__)); + location.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1168,7 +1168,7 @@ impl IDataCollectorCollection_Vtbl { let this = (*this).get_impl(); match IDataCollectorCollection_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1179,7 +1179,7 @@ impl IDataCollectorCollection_Vtbl { let this = (*this).get_impl(); match IDataCollectorCollection_Impl::get_Item(this, core::mem::transmute(&index)) { Ok(ok__) => { - core::ptr::write(collector, core::mem::transmute(ok__)); + collector.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1190,7 +1190,7 @@ impl IDataCollectorCollection_Vtbl { let this = (*this).get_impl(); match IDataCollectorCollection_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1226,7 +1226,7 @@ impl IDataCollectorCollection_Vtbl { let this = (*this).get_impl(); match IDataCollectorCollection_Impl::CreateDataCollector(this, core::mem::transmute_copy(&r#type)) { Ok(ok__) => { - core::ptr::write(collector, core::mem::transmute(ok__)); + collector.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1322,7 +1322,7 @@ impl IDataCollectorSet_Vtbl { let this = (*this).get_impl(); match IDataCollectorSet_Impl::DataCollectors(this) { Ok(ok__) => { - core::ptr::write(collectors, core::mem::transmute(ok__)); + collectors.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1333,7 +1333,7 @@ impl IDataCollectorSet_Vtbl { let this = (*this).get_impl(); match IDataCollectorSet_Impl::Duration(this) { Ok(ok__) => { - core::ptr::write(seconds, core::mem::transmute(ok__)); + seconds.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1349,7 +1349,7 @@ impl IDataCollectorSet_Vtbl { let this = (*this).get_impl(); match IDataCollectorSet_Impl::Description(this) { Ok(ok__) => { - core::ptr::write(description, core::mem::transmute(ok__)); + description.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1365,7 +1365,7 @@ impl IDataCollectorSet_Vtbl { let this = (*this).get_impl(); match IDataCollectorSet_Impl::DescriptionUnresolved(this) { Ok(ok__) => { - core::ptr::write(descr, core::mem::transmute(ok__)); + descr.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1376,7 +1376,7 @@ impl IDataCollectorSet_Vtbl { let this = (*this).get_impl(); match IDataCollectorSet_Impl::DisplayName(this) { Ok(ok__) => { - core::ptr::write(displayname, core::mem::transmute(ok__)); + displayname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1392,7 +1392,7 @@ impl IDataCollectorSet_Vtbl { let this = (*this).get_impl(); match IDataCollectorSet_Impl::DisplayNameUnresolved(this) { Ok(ok__) => { - core::ptr::write(name, core::mem::transmute(ok__)); + name.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1403,7 +1403,7 @@ impl IDataCollectorSet_Vtbl { let this = (*this).get_impl(); match IDataCollectorSet_Impl::Keywords(this) { Ok(ok__) => { - core::ptr::write(keywords, core::mem::transmute(ok__)); + keywords.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1419,7 +1419,7 @@ impl IDataCollectorSet_Vtbl { let this = (*this).get_impl(); match IDataCollectorSet_Impl::LatestOutputLocation(this) { Ok(ok__) => { - core::ptr::write(path, core::mem::transmute(ok__)); + path.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1435,7 +1435,7 @@ impl IDataCollectorSet_Vtbl { let this = (*this).get_impl(); match IDataCollectorSet_Impl::Name(this) { Ok(ok__) => { - core::ptr::write(name, core::mem::transmute(ok__)); + name.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1446,7 +1446,7 @@ impl IDataCollectorSet_Vtbl { let this = (*this).get_impl(); match IDataCollectorSet_Impl::OutputLocation(this) { Ok(ok__) => { - core::ptr::write(path, core::mem::transmute(ok__)); + path.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1457,7 +1457,7 @@ impl IDataCollectorSet_Vtbl { let this = (*this).get_impl(); match IDataCollectorSet_Impl::RootPath(this) { Ok(ok__) => { - core::ptr::write(folder, core::mem::transmute(ok__)); + folder.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1473,7 +1473,7 @@ impl IDataCollectorSet_Vtbl { let this = (*this).get_impl(); match IDataCollectorSet_Impl::Segment(this) { Ok(ok__) => { - core::ptr::write(segment, core::mem::transmute(ok__)); + segment.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1489,7 +1489,7 @@ impl IDataCollectorSet_Vtbl { let this = (*this).get_impl(); match IDataCollectorSet_Impl::SegmentMaxDuration(this) { Ok(ok__) => { - core::ptr::write(seconds, core::mem::transmute(ok__)); + seconds.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1505,7 +1505,7 @@ impl IDataCollectorSet_Vtbl { let this = (*this).get_impl(); match IDataCollectorSet_Impl::SegmentMaxSize(this) { Ok(ok__) => { - core::ptr::write(size, core::mem::transmute(ok__)); + size.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1521,7 +1521,7 @@ impl IDataCollectorSet_Vtbl { let this = (*this).get_impl(); match IDataCollectorSet_Impl::SerialNumber(this) { Ok(ok__) => { - core::ptr::write(index, core::mem::transmute(ok__)); + index.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1537,7 +1537,7 @@ impl IDataCollectorSet_Vtbl { let this = (*this).get_impl(); match IDataCollectorSet_Impl::Server(this) { Ok(ok__) => { - core::ptr::write(server, core::mem::transmute(ok__)); + server.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1548,7 +1548,7 @@ impl IDataCollectorSet_Vtbl { let this = (*this).get_impl(); match IDataCollectorSet_Impl::Status(this) { Ok(ok__) => { - core::ptr::write(status, core::mem::transmute(ok__)); + status.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1559,7 +1559,7 @@ impl IDataCollectorSet_Vtbl { let this = (*this).get_impl(); match IDataCollectorSet_Impl::Subdirectory(this) { Ok(ok__) => { - core::ptr::write(folder, core::mem::transmute(ok__)); + folder.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1575,7 +1575,7 @@ impl IDataCollectorSet_Vtbl { let this = (*this).get_impl(); match IDataCollectorSet_Impl::SubdirectoryFormat(this) { Ok(ok__) => { - core::ptr::write(format, core::mem::transmute(ok__)); + format.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1591,7 +1591,7 @@ impl IDataCollectorSet_Vtbl { let this = (*this).get_impl(); match IDataCollectorSet_Impl::SubdirectoryFormatPattern(this) { Ok(ok__) => { - core::ptr::write(pattern, core::mem::transmute(ok__)); + pattern.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1607,7 +1607,7 @@ impl IDataCollectorSet_Vtbl { let this = (*this).get_impl(); match IDataCollectorSet_Impl::Task(this) { Ok(ok__) => { - core::ptr::write(task, core::mem::transmute(ok__)); + task.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1623,7 +1623,7 @@ impl IDataCollectorSet_Vtbl { let this = (*this).get_impl(); match IDataCollectorSet_Impl::TaskRunAsSelf(this) { Ok(ok__) => { - core::ptr::write(runasself, core::mem::transmute(ok__)); + runasself.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1639,7 +1639,7 @@ impl IDataCollectorSet_Vtbl { let this = (*this).get_impl(); match IDataCollectorSet_Impl::TaskArguments(this) { Ok(ok__) => { - core::ptr::write(task, core::mem::transmute(ok__)); + task.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1655,7 +1655,7 @@ impl IDataCollectorSet_Vtbl { let this = (*this).get_impl(); match IDataCollectorSet_Impl::TaskUserTextArguments(this) { Ok(ok__) => { - core::ptr::write(usertext, core::mem::transmute(ok__)); + usertext.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1671,7 +1671,7 @@ impl IDataCollectorSet_Vtbl { let this = (*this).get_impl(); match IDataCollectorSet_Impl::Schedules(this) { Ok(ok__) => { - core::ptr::write(ppschedules, core::mem::transmute(ok__)); + ppschedules.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1682,7 +1682,7 @@ impl IDataCollectorSet_Vtbl { let this = (*this).get_impl(); match IDataCollectorSet_Impl::SchedulesEnabled(this) { Ok(ok__) => { - core::ptr::write(enabled, core::mem::transmute(ok__)); + enabled.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1698,7 +1698,7 @@ impl IDataCollectorSet_Vtbl { let this = (*this).get_impl(); match IDataCollectorSet_Impl::UserAccount(this) { Ok(ok__) => { - core::ptr::write(user, core::mem::transmute(ok__)); + user.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1709,7 +1709,7 @@ impl IDataCollectorSet_Vtbl { let this = (*this).get_impl(); match IDataCollectorSet_Impl::Xml(this) { Ok(ok__) => { - core::ptr::write(xml, core::mem::transmute(ok__)); + xml.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1720,7 +1720,7 @@ impl IDataCollectorSet_Vtbl { let this = (*this).get_impl(); match IDataCollectorSet_Impl::Security(this) { Ok(ok__) => { - core::ptr::write(pbstrsecurity, core::mem::transmute(ok__)); + pbstrsecurity.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1736,7 +1736,7 @@ impl IDataCollectorSet_Vtbl { let this = (*this).get_impl(); match IDataCollectorSet_Impl::StopOnCompletion(this) { Ok(ok__) => { - core::ptr::write(stop, core::mem::transmute(ok__)); + stop.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1752,7 +1752,7 @@ impl IDataCollectorSet_Vtbl { let this = (*this).get_impl(); match IDataCollectorSet_Impl::DataManager(this) { Ok(ok__) => { - core::ptr::write(datamanager, core::mem::transmute(ok__)); + datamanager.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1773,7 +1773,7 @@ impl IDataCollectorSet_Vtbl { let this = (*this).get_impl(); match IDataCollectorSet_Impl::Commit(this, core::mem::transmute(&name), core::mem::transmute(&server), core::mem::transmute_copy(&mode)) { Ok(ok__) => { - core::ptr::write(validation, core::mem::transmute(ok__)); + validation.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1799,7 +1799,7 @@ impl IDataCollectorSet_Vtbl { let this = (*this).get_impl(); match IDataCollectorSet_Impl::SetXml(this, core::mem::transmute(&xml)) { Ok(ok__) => { - core::ptr::write(validation, core::mem::transmute(ok__)); + validation.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1815,7 +1815,7 @@ impl IDataCollectorSet_Vtbl { let this = (*this).get_impl(); match IDataCollectorSet_Impl::GetValue(this, core::mem::transmute(&key)) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1910,7 +1910,7 @@ impl IDataCollectorSetCollection_Vtbl { let this = (*this).get_impl(); match IDataCollectorSetCollection_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1921,7 +1921,7 @@ impl IDataCollectorSetCollection_Vtbl { let this = (*this).get_impl(); match IDataCollectorSetCollection_Impl::get_Item(this, core::mem::transmute(&index)) { Ok(ok__) => { - core::ptr::write(set, core::mem::transmute(ok__)); + set.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1932,7 +1932,7 @@ impl IDataCollectorSetCollection_Vtbl { let this = (*this).get_impl(); match IDataCollectorSetCollection_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2017,7 +2017,7 @@ impl IDataManager_Vtbl { let this = (*this).get_impl(); match IDataManager_Impl::Enabled(this) { Ok(ok__) => { - core::ptr::write(pfenabled, core::mem::transmute(ok__)); + pfenabled.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2033,7 +2033,7 @@ impl IDataManager_Vtbl { let this = (*this).get_impl(); match IDataManager_Impl::CheckBeforeRunning(this) { Ok(ok__) => { - core::ptr::write(pfcheck, core::mem::transmute(ok__)); + pfcheck.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2049,7 +2049,7 @@ impl IDataManager_Vtbl { let this = (*this).get_impl(); match IDataManager_Impl::MinFreeDisk(this) { Ok(ok__) => { - core::ptr::write(minfreedisk, core::mem::transmute(ok__)); + minfreedisk.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2065,7 +2065,7 @@ impl IDataManager_Vtbl { let this = (*this).get_impl(); match IDataManager_Impl::MaxSize(this) { Ok(ok__) => { - core::ptr::write(pulmaxsize, core::mem::transmute(ok__)); + pulmaxsize.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2081,7 +2081,7 @@ impl IDataManager_Vtbl { let this = (*this).get_impl(); match IDataManager_Impl::MaxFolderCount(this) { Ok(ok__) => { - core::ptr::write(pulmaxfoldercount, core::mem::transmute(ok__)); + pulmaxfoldercount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2097,7 +2097,7 @@ impl IDataManager_Vtbl { let this = (*this).get_impl(); match IDataManager_Impl::ResourcePolicy(this) { Ok(ok__) => { - core::ptr::write(ppolicy, core::mem::transmute(ok__)); + ppolicy.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2113,7 +2113,7 @@ impl IDataManager_Vtbl { let this = (*this).get_impl(); match IDataManager_Impl::FolderActions(this) { Ok(ok__) => { - core::ptr::write(actions, core::mem::transmute(ok__)); + actions.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2124,7 +2124,7 @@ impl IDataManager_Vtbl { let this = (*this).get_impl(); match IDataManager_Impl::ReportSchema(this) { Ok(ok__) => { - core::ptr::write(reportschema, core::mem::transmute(ok__)); + reportschema.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2140,7 +2140,7 @@ impl IDataManager_Vtbl { let this = (*this).get_impl(); match IDataManager_Impl::ReportFileName(this) { Ok(ok__) => { - core::ptr::write(pbstrfilename, core::mem::transmute(ok__)); + pbstrfilename.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2156,7 +2156,7 @@ impl IDataManager_Vtbl { let this = (*this).get_impl(); match IDataManager_Impl::RuleTargetFileName(this) { Ok(ok__) => { - core::ptr::write(filename, core::mem::transmute(ok__)); + filename.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2172,7 +2172,7 @@ impl IDataManager_Vtbl { let this = (*this).get_impl(); match IDataManager_Impl::EventsFileName(this) { Ok(ok__) => { - core::ptr::write(pbstrfilename, core::mem::transmute(ok__)); + pbstrfilename.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2188,7 +2188,7 @@ impl IDataManager_Vtbl { let this = (*this).get_impl(); match IDataManager_Impl::Rules(this) { Ok(ok__) => { - core::ptr::write(pbstrxml, core::mem::transmute(ok__)); + pbstrxml.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2204,7 +2204,7 @@ impl IDataManager_Vtbl { let this = (*this).get_impl(); match IDataManager_Impl::Run(this, core::mem::transmute_copy(&steps), core::mem::transmute(&bstrfolder)) { Ok(ok__) => { - core::ptr::write(errors, core::mem::transmute(ok__)); + errors.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2269,7 +2269,7 @@ impl IFolderAction_Vtbl { let this = (*this).get_impl(); match IFolderAction_Impl::Age(this) { Ok(ok__) => { - core::ptr::write(pulage, core::mem::transmute(ok__)); + pulage.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2285,7 +2285,7 @@ impl IFolderAction_Vtbl { let this = (*this).get_impl(); match IFolderAction_Impl::Size(this) { Ok(ok__) => { - core::ptr::write(pulage, core::mem::transmute(ok__)); + pulage.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2301,7 +2301,7 @@ impl IFolderAction_Vtbl { let this = (*this).get_impl(); match IFolderAction_Impl::Actions(this) { Ok(ok__) => { - core::ptr::write(steps, core::mem::transmute(ok__)); + steps.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2317,7 +2317,7 @@ impl IFolderAction_Vtbl { let this = (*this).get_impl(); match IFolderAction_Impl::SendCabTo(this) { Ok(ok__) => { - core::ptr::write(pbstrdestination, core::mem::transmute(ok__)); + pbstrdestination.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2365,7 +2365,7 @@ impl IFolderActionCollection_Vtbl { let this = (*this).get_impl(); match IFolderActionCollection_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(count, core::mem::transmute(ok__)); + count.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2376,7 +2376,7 @@ impl IFolderActionCollection_Vtbl { let this = (*this).get_impl(); match IFolderActionCollection_Impl::get_Item(this, core::mem::transmute(&index)) { Ok(ok__) => { - core::ptr::write(action, core::mem::transmute(ok__)); + action.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2387,7 +2387,7 @@ impl IFolderActionCollection_Vtbl { let this = (*this).get_impl(); match IFolderActionCollection_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(r#enum, core::mem::transmute(ok__)); + r#enum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2418,7 +2418,7 @@ impl IFolderActionCollection_Vtbl { let this = (*this).get_impl(); match IFolderActionCollection_Impl::CreateFolderAction(this) { Ok(ok__) => { - core::ptr::write(folderaction, core::mem::transmute(ok__)); + folderaction.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2451,7 +2451,7 @@ impl ILogFileItem_Vtbl { let this = (*this).get_impl(); match ILogFileItem_Impl::Path(this) { Ok(ok__) => { - core::ptr::write(pstrvalue, core::mem::transmute(ok__)); + pstrvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2481,7 +2481,7 @@ impl ILogFiles_Vtbl { let this = (*this).get_impl(); match ILogFiles_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(plong, core::mem::transmute(ok__)); + plong.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2492,7 +2492,7 @@ impl ILogFiles_Vtbl { let this = (*this).get_impl(); match ILogFiles_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(ppiunk, core::mem::transmute(ok__)); + ppiunk.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2503,7 +2503,7 @@ impl ILogFiles_Vtbl { let this = (*this).get_impl(); match ILogFiles_Impl::get_Item(this, core::mem::transmute(&index)) { Ok(ok__) => { - core::ptr::write(ppi, core::mem::transmute(ok__)); + ppi.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2514,7 +2514,7 @@ impl ILogFiles_Vtbl { let this = (*this).get_impl(); match ILogFiles_Impl::Add(this, core::mem::transmute(&pathname)) { Ok(ok__) => { - core::ptr::write(ppi, core::mem::transmute(ok__)); + ppi.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2561,7 +2561,7 @@ impl IPerformanceCounterDataCollector_Vtbl { let this = (*this).get_impl(); match IPerformanceCounterDataCollector_Impl::DataSourceName(this) { Ok(ok__) => { - core::ptr::write(dsn, core::mem::transmute(ok__)); + dsn.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2577,7 +2577,7 @@ impl IPerformanceCounterDataCollector_Vtbl { let this = (*this).get_impl(); match IPerformanceCounterDataCollector_Impl::PerformanceCounters(this) { Ok(ok__) => { - core::ptr::write(counters, core::mem::transmute(ok__)); + counters.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2593,7 +2593,7 @@ impl IPerformanceCounterDataCollector_Vtbl { let this = (*this).get_impl(); match IPerformanceCounterDataCollector_Impl::LogFileFormat(this) { Ok(ok__) => { - core::ptr::write(format, core::mem::transmute(ok__)); + format.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2609,7 +2609,7 @@ impl IPerformanceCounterDataCollector_Vtbl { let this = (*this).get_impl(); match IPerformanceCounterDataCollector_Impl::SampleInterval(this) { Ok(ok__) => { - core::ptr::write(interval, core::mem::transmute(ok__)); + interval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2625,7 +2625,7 @@ impl IPerformanceCounterDataCollector_Vtbl { let this = (*this).get_impl(); match IPerformanceCounterDataCollector_Impl::SegmentMaxRecords(this) { Ok(ok__) => { - core::ptr::write(records, core::mem::transmute(ok__)); + records.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2675,7 +2675,7 @@ impl ISchedule_Vtbl { let this = (*this).get_impl(); match ISchedule_Impl::StartDate(this) { Ok(ok__) => { - core::ptr::write(start, core::mem::transmute(ok__)); + start.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2691,7 +2691,7 @@ impl ISchedule_Vtbl { let this = (*this).get_impl(); match ISchedule_Impl::EndDate(this) { Ok(ok__) => { - core::ptr::write(end, core::mem::transmute(ok__)); + end.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2707,7 +2707,7 @@ impl ISchedule_Vtbl { let this = (*this).get_impl(); match ISchedule_Impl::StartTime(this) { Ok(ok__) => { - core::ptr::write(start, core::mem::transmute(ok__)); + start.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2723,7 +2723,7 @@ impl ISchedule_Vtbl { let this = (*this).get_impl(); match ISchedule_Impl::Days(this) { Ok(ok__) => { - core::ptr::write(days, core::mem::transmute(ok__)); + days.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2771,7 +2771,7 @@ impl IScheduleCollection_Vtbl { let this = (*this).get_impl(); match IScheduleCollection_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2782,7 +2782,7 @@ impl IScheduleCollection_Vtbl { let this = (*this).get_impl(); match IScheduleCollection_Impl::get_Item(this, core::mem::transmute(&index)) { Ok(ok__) => { - core::ptr::write(ppschedule, core::mem::transmute(ok__)); + ppschedule.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2793,7 +2793,7 @@ impl IScheduleCollection_Vtbl { let this = (*this).get_impl(); match IScheduleCollection_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(ienum, core::mem::transmute(ok__)); + ienum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2824,7 +2824,7 @@ impl IScheduleCollection_Vtbl { let this = (*this).get_impl(); match IScheduleCollection_Impl::CreateSchedule(this) { Ok(ok__) => { - core::ptr::write(schedule, core::mem::transmute(ok__)); + schedule.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2935,7 +2935,7 @@ impl ISystemMonitor_Vtbl { let this = (*this).get_impl(); match ISystemMonitor_Impl::Appearance(this) { Ok(ok__) => { - core::ptr::write(iappearance, core::mem::transmute(ok__)); + iappearance.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2951,7 +2951,7 @@ impl ISystemMonitor_Vtbl { let this = (*this).get_impl(); match ISystemMonitor_Impl::BackColor(this) { Ok(ok__) => { - core::ptr::write(pcolor, core::mem::transmute(ok__)); + pcolor.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2967,7 +2967,7 @@ impl ISystemMonitor_Vtbl { let this = (*this).get_impl(); match ISystemMonitor_Impl::BorderStyle(this) { Ok(ok__) => { - core::ptr::write(iborderstyle, core::mem::transmute(ok__)); + iborderstyle.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2983,7 +2983,7 @@ impl ISystemMonitor_Vtbl { let this = (*this).get_impl(); match ISystemMonitor_Impl::ForeColor(this) { Ok(ok__) => { - core::ptr::write(pcolor, core::mem::transmute(ok__)); + pcolor.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2999,7 +2999,7 @@ impl ISystemMonitor_Vtbl { let this = (*this).get_impl(); match ISystemMonitor_Impl::Font(this) { Ok(ok__) => { - core::ptr::write(ppfont, core::mem::transmute(ok__)); + ppfont.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3015,7 +3015,7 @@ impl ISystemMonitor_Vtbl { let this = (*this).get_impl(); match ISystemMonitor_Impl::Counters(this) { Ok(ok__) => { - core::ptr::write(ppicounters, core::mem::transmute(ok__)); + ppicounters.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3031,7 +3031,7 @@ impl ISystemMonitor_Vtbl { let this = (*this).get_impl(); match ISystemMonitor_Impl::ShowVerticalGrid(this) { Ok(ok__) => { - core::ptr::write(pbstate, core::mem::transmute(ok__)); + pbstate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3047,7 +3047,7 @@ impl ISystemMonitor_Vtbl { let this = (*this).get_impl(); match ISystemMonitor_Impl::ShowHorizontalGrid(this) { Ok(ok__) => { - core::ptr::write(pbstate, core::mem::transmute(ok__)); + pbstate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3063,7 +3063,7 @@ impl ISystemMonitor_Vtbl { let this = (*this).get_impl(); match ISystemMonitor_Impl::ShowLegend(this) { Ok(ok__) => { - core::ptr::write(pbstate, core::mem::transmute(ok__)); + pbstate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3079,7 +3079,7 @@ impl ISystemMonitor_Vtbl { let this = (*this).get_impl(); match ISystemMonitor_Impl::ShowScaleLabels(this) { Ok(ok__) => { - core::ptr::write(pbstate, core::mem::transmute(ok__)); + pbstate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3095,7 +3095,7 @@ impl ISystemMonitor_Vtbl { let this = (*this).get_impl(); match ISystemMonitor_Impl::ShowValueBar(this) { Ok(ok__) => { - core::ptr::write(pbstate, core::mem::transmute(ok__)); + pbstate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3111,7 +3111,7 @@ impl ISystemMonitor_Vtbl { let this = (*this).get_impl(); match ISystemMonitor_Impl::MaximumScale(this) { Ok(ok__) => { - core::ptr::write(pivalue, core::mem::transmute(ok__)); + pivalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3127,7 +3127,7 @@ impl ISystemMonitor_Vtbl { let this = (*this).get_impl(); match ISystemMonitor_Impl::MinimumScale(this) { Ok(ok__) => { - core::ptr::write(pivalue, core::mem::transmute(ok__)); + pivalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3143,7 +3143,7 @@ impl ISystemMonitor_Vtbl { let this = (*this).get_impl(); match ISystemMonitor_Impl::UpdateInterval(this) { Ok(ok__) => { - core::ptr::write(pfvalue, core::mem::transmute(ok__)); + pfvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3159,7 +3159,7 @@ impl ISystemMonitor_Vtbl { let this = (*this).get_impl(); match ISystemMonitor_Impl::DisplayType(this) { Ok(ok__) => { - core::ptr::write(pedisplaytype, core::mem::transmute(ok__)); + pedisplaytype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3175,7 +3175,7 @@ impl ISystemMonitor_Vtbl { let this = (*this).get_impl(); match ISystemMonitor_Impl::ManualUpdate(this) { Ok(ok__) => { - core::ptr::write(pbstate, core::mem::transmute(ok__)); + pbstate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3191,7 +3191,7 @@ impl ISystemMonitor_Vtbl { let this = (*this).get_impl(); match ISystemMonitor_Impl::GraphTitle(this) { Ok(ok__) => { - core::ptr::write(pbstitle, core::mem::transmute(ok__)); + pbstitle.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3207,7 +3207,7 @@ impl ISystemMonitor_Vtbl { let this = (*this).get_impl(); match ISystemMonitor_Impl::YAxisLabel(this) { Ok(ok__) => { - core::ptr::write(pbstitle, core::mem::transmute(ok__)); + pbstitle.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3238,7 +3238,7 @@ impl ISystemMonitor_Vtbl { let this = (*this).get_impl(); match ISystemMonitor_Impl::Counter(this, core::mem::transmute_copy(&iindex)) { Ok(ok__) => { - core::ptr::write(ppicounter, core::mem::transmute(ok__)); + ppicounter.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3249,7 +3249,7 @@ impl ISystemMonitor_Vtbl { let this = (*this).get_impl(); match ISystemMonitor_Impl::AddCounter(this, core::mem::transmute(&bspath)) { Ok(ok__) => { - core::ptr::write(ppicounter, core::mem::transmute(ok__)); + ppicounter.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3265,7 +3265,7 @@ impl ISystemMonitor_Vtbl { let this = (*this).get_impl(); match ISystemMonitor_Impl::BackColorCtl(this) { Ok(ok__) => { - core::ptr::write(pcolor, core::mem::transmute(ok__)); + pcolor.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3286,7 +3286,7 @@ impl ISystemMonitor_Vtbl { let this = (*this).get_impl(); match ISystemMonitor_Impl::LogFileName(this) { Ok(ok__) => { - core::ptr::write(bsfilename, core::mem::transmute(ok__)); + bsfilename.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3302,7 +3302,7 @@ impl ISystemMonitor_Vtbl { let this = (*this).get_impl(); match ISystemMonitor_Impl::LogViewStart(this) { Ok(ok__) => { - core::ptr::write(starttime, core::mem::transmute(ok__)); + starttime.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3318,7 +3318,7 @@ impl ISystemMonitor_Vtbl { let this = (*this).get_impl(); match ISystemMonitor_Impl::LogViewStop(this) { Ok(ok__) => { - core::ptr::write(stoptime, core::mem::transmute(ok__)); + stoptime.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3329,7 +3329,7 @@ impl ISystemMonitor_Vtbl { let this = (*this).get_impl(); match ISystemMonitor_Impl::GridColor(this) { Ok(ok__) => { - core::ptr::write(pcolor, core::mem::transmute(ok__)); + pcolor.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3345,7 +3345,7 @@ impl ISystemMonitor_Vtbl { let this = (*this).get_impl(); match ISystemMonitor_Impl::TimeBarColor(this) { Ok(ok__) => { - core::ptr::write(pcolor, core::mem::transmute(ok__)); + pcolor.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3361,7 +3361,7 @@ impl ISystemMonitor_Vtbl { let this = (*this).get_impl(); match ISystemMonitor_Impl::Highlight(this) { Ok(ok__) => { - core::ptr::write(pbstate, core::mem::transmute(ok__)); + pbstate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3377,7 +3377,7 @@ impl ISystemMonitor_Vtbl { let this = (*this).get_impl(); match ISystemMonitor_Impl::ShowToolbar(this) { Ok(ok__) => { - core::ptr::write(pbstate, core::mem::transmute(ok__)); + pbstate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3413,7 +3413,7 @@ impl ISystemMonitor_Vtbl { let this = (*this).get_impl(); match ISystemMonitor_Impl::ReadOnly(this) { Ok(ok__) => { - core::ptr::write(pbstate, core::mem::transmute(ok__)); + pbstate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3429,7 +3429,7 @@ impl ISystemMonitor_Vtbl { let this = (*this).get_impl(); match ISystemMonitor_Impl::ReportValueType(this) { Ok(ok__) => { - core::ptr::write(pereportvaluetype, core::mem::transmute(ok__)); + pereportvaluetype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3445,7 +3445,7 @@ impl ISystemMonitor_Vtbl { let this = (*this).get_impl(); match ISystemMonitor_Impl::MonitorDuplicateInstances(this) { Ok(ok__) => { - core::ptr::write(pbstate, core::mem::transmute(ok__)); + pbstate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3461,7 +3461,7 @@ impl ISystemMonitor_Vtbl { let this = (*this).get_impl(); match ISystemMonitor_Impl::DisplayFilter(this) { Ok(ok__) => { - core::ptr::write(pivalue, core::mem::transmute(ok__)); + pivalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3472,7 +3472,7 @@ impl ISystemMonitor_Vtbl { let this = (*this).get_impl(); match ISystemMonitor_Impl::LogFiles(this) { Ok(ok__) => { - core::ptr::write(ppilogfiles, core::mem::transmute(ok__)); + ppilogfiles.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3488,7 +3488,7 @@ impl ISystemMonitor_Vtbl { let this = (*this).get_impl(); match ISystemMonitor_Impl::DataSourceType(this) { Ok(ok__) => { - core::ptr::write(pedatasourcetype, core::mem::transmute(ok__)); + pedatasourcetype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3504,7 +3504,7 @@ impl ISystemMonitor_Vtbl { let this = (*this).get_impl(); match ISystemMonitor_Impl::SqlDsnName(this) { Ok(ok__) => { - core::ptr::write(bssqldsnname, core::mem::transmute(ok__)); + bssqldsnname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3520,7 +3520,7 @@ impl ISystemMonitor_Vtbl { let this = (*this).get_impl(); match ISystemMonitor_Impl::SqlLogSetName(this) { Ok(ok__) => { - core::ptr::write(bssqllogsetname, core::mem::transmute(ok__)); + bssqllogsetname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3648,7 +3648,7 @@ impl ISystemMonitor2_Vtbl { let this = (*this).get_impl(); match ISystemMonitor2_Impl::EnableDigitGrouping(this) { Ok(ok__) => { - core::ptr::write(pbstate, core::mem::transmute(ok__)); + pbstate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3664,7 +3664,7 @@ impl ISystemMonitor2_Vtbl { let this = (*this).get_impl(); match ISystemMonitor2_Impl::EnableToolTips(this) { Ok(ok__) => { - core::ptr::write(pbstate, core::mem::transmute(ok__)); + pbstate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3680,7 +3680,7 @@ impl ISystemMonitor2_Vtbl { let this = (*this).get_impl(); match ISystemMonitor2_Impl::ShowTimeAxisLabels(this) { Ok(ok__) => { - core::ptr::write(pbstate, core::mem::transmute(ok__)); + pbstate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3696,7 +3696,7 @@ impl ISystemMonitor2_Vtbl { let this = (*this).get_impl(); match ISystemMonitor2_Impl::ChartScroll(this) { Ok(ok__) => { - core::ptr::write(pbscroll, core::mem::transmute(ok__)); + pbscroll.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3712,7 +3712,7 @@ impl ISystemMonitor2_Vtbl { let this = (*this).get_impl(); match ISystemMonitor2_Impl::DataPointCount(this) { Ok(ok__) => { - core::ptr::write(pidatapointcount, core::mem::transmute(ok__)); + pidatapointcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3743,7 +3743,7 @@ impl ISystemMonitor2_Vtbl { let this = (*this).get_impl(); match ISystemMonitor2_Impl::LogSourceStartTime(this) { Ok(ok__) => { - core::ptr::write(pdate, core::mem::transmute(ok__)); + pdate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3754,7 +3754,7 @@ impl ISystemMonitor2_Vtbl { let this = (*this).get_impl(); match ISystemMonitor2_Impl::LogSourceStopTime(this) { Ok(ok__) => { - core::ptr::write(pdate, core::mem::transmute(ok__)); + pdate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3909,7 +3909,7 @@ impl ITraceDataCollector_Vtbl { let this = (*this).get_impl(); match ITraceDataCollector_Impl::BufferSize(this) { Ok(ok__) => { - core::ptr::write(size, core::mem::transmute(ok__)); + size.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3925,7 +3925,7 @@ impl ITraceDataCollector_Vtbl { let this = (*this).get_impl(); match ITraceDataCollector_Impl::BuffersLost(this) { Ok(ok__) => { - core::ptr::write(buffers, core::mem::transmute(ok__)); + buffers.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3941,7 +3941,7 @@ impl ITraceDataCollector_Vtbl { let this = (*this).get_impl(); match ITraceDataCollector_Impl::BuffersWritten(this) { Ok(ok__) => { - core::ptr::write(buffers, core::mem::transmute(ok__)); + buffers.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3957,7 +3957,7 @@ impl ITraceDataCollector_Vtbl { let this = (*this).get_impl(); match ITraceDataCollector_Impl::ClockType(this) { Ok(ok__) => { - core::ptr::write(clock, core::mem::transmute(ok__)); + clock.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3973,7 +3973,7 @@ impl ITraceDataCollector_Vtbl { let this = (*this).get_impl(); match ITraceDataCollector_Impl::EventsLost(this) { Ok(ok__) => { - core::ptr::write(events, core::mem::transmute(ok__)); + events.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3989,7 +3989,7 @@ impl ITraceDataCollector_Vtbl { let this = (*this).get_impl(); match ITraceDataCollector_Impl::ExtendedModes(this) { Ok(ok__) => { - core::ptr::write(mode, core::mem::transmute(ok__)); + mode.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4005,7 +4005,7 @@ impl ITraceDataCollector_Vtbl { let this = (*this).get_impl(); match ITraceDataCollector_Impl::FlushTimer(this) { Ok(ok__) => { - core::ptr::write(seconds, core::mem::transmute(ok__)); + seconds.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4021,7 +4021,7 @@ impl ITraceDataCollector_Vtbl { let this = (*this).get_impl(); match ITraceDataCollector_Impl::FreeBuffers(this) { Ok(ok__) => { - core::ptr::write(buffers, core::mem::transmute(ok__)); + buffers.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4037,7 +4037,7 @@ impl ITraceDataCollector_Vtbl { let this = (*this).get_impl(); match ITraceDataCollector_Impl::Guid(this) { Ok(ok__) => { - core::ptr::write(guid, core::mem::transmute(ok__)); + guid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4053,7 +4053,7 @@ impl ITraceDataCollector_Vtbl { let this = (*this).get_impl(); match ITraceDataCollector_Impl::IsKernelTrace(this) { Ok(ok__) => { - core::ptr::write(kernel, core::mem::transmute(ok__)); + kernel.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4064,7 +4064,7 @@ impl ITraceDataCollector_Vtbl { let this = (*this).get_impl(); match ITraceDataCollector_Impl::MaximumBuffers(this) { Ok(ok__) => { - core::ptr::write(buffers, core::mem::transmute(ok__)); + buffers.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4080,7 +4080,7 @@ impl ITraceDataCollector_Vtbl { let this = (*this).get_impl(); match ITraceDataCollector_Impl::MinimumBuffers(this) { Ok(ok__) => { - core::ptr::write(buffers, core::mem::transmute(ok__)); + buffers.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4096,7 +4096,7 @@ impl ITraceDataCollector_Vtbl { let this = (*this).get_impl(); match ITraceDataCollector_Impl::NumberOfBuffers(this) { Ok(ok__) => { - core::ptr::write(buffers, core::mem::transmute(ok__)); + buffers.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4112,7 +4112,7 @@ impl ITraceDataCollector_Vtbl { let this = (*this).get_impl(); match ITraceDataCollector_Impl::PreallocateFile(this) { Ok(ok__) => { - core::ptr::write(allocate, core::mem::transmute(ok__)); + allocate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4128,7 +4128,7 @@ impl ITraceDataCollector_Vtbl { let this = (*this).get_impl(); match ITraceDataCollector_Impl::ProcessMode(this) { Ok(ok__) => { - core::ptr::write(process, core::mem::transmute(ok__)); + process.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4144,7 +4144,7 @@ impl ITraceDataCollector_Vtbl { let this = (*this).get_impl(); match ITraceDataCollector_Impl::RealTimeBuffersLost(this) { Ok(ok__) => { - core::ptr::write(buffers, core::mem::transmute(ok__)); + buffers.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4160,7 +4160,7 @@ impl ITraceDataCollector_Vtbl { let this = (*this).get_impl(); match ITraceDataCollector_Impl::SessionId(this) { Ok(ok__) => { - core::ptr::write(id, core::mem::transmute(ok__)); + id.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4176,7 +4176,7 @@ impl ITraceDataCollector_Vtbl { let this = (*this).get_impl(); match ITraceDataCollector_Impl::SessionName(this) { Ok(ok__) => { - core::ptr::write(name, core::mem::transmute(ok__)); + name.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4192,7 +4192,7 @@ impl ITraceDataCollector_Vtbl { let this = (*this).get_impl(); match ITraceDataCollector_Impl::SessionThreadId(this) { Ok(ok__) => { - core::ptr::write(tid, core::mem::transmute(ok__)); + tid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4208,7 +4208,7 @@ impl ITraceDataCollector_Vtbl { let this = (*this).get_impl(); match ITraceDataCollector_Impl::StreamMode(this) { Ok(ok__) => { - core::ptr::write(mode, core::mem::transmute(ok__)); + mode.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4224,7 +4224,7 @@ impl ITraceDataCollector_Vtbl { let this = (*this).get_impl(); match ITraceDataCollector_Impl::TraceDataProviders(this) { Ok(ok__) => { - core::ptr::write(providers, core::mem::transmute(ok__)); + providers.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4310,7 +4310,7 @@ impl ITraceDataProvider_Vtbl { let this = (*this).get_impl(); match ITraceDataProvider_Impl::DisplayName(this) { Ok(ok__) => { - core::ptr::write(name, core::mem::transmute(ok__)); + name.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4326,7 +4326,7 @@ impl ITraceDataProvider_Vtbl { let this = (*this).get_impl(); match ITraceDataProvider_Impl::Guid(this) { Ok(ok__) => { - core::ptr::write(guid, core::mem::transmute(ok__)); + guid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4342,7 +4342,7 @@ impl ITraceDataProvider_Vtbl { let this = (*this).get_impl(); match ITraceDataProvider_Impl::Level(this) { Ok(ok__) => { - core::ptr::write(pplevel, core::mem::transmute(ok__)); + pplevel.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4353,7 +4353,7 @@ impl ITraceDataProvider_Vtbl { let this = (*this).get_impl(); match ITraceDataProvider_Impl::KeywordsAny(this) { Ok(ok__) => { - core::ptr::write(ppkeywords, core::mem::transmute(ok__)); + ppkeywords.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4364,7 +4364,7 @@ impl ITraceDataProvider_Vtbl { let this = (*this).get_impl(); match ITraceDataProvider_Impl::KeywordsAll(this) { Ok(ok__) => { - core::ptr::write(ppkeywords, core::mem::transmute(ok__)); + ppkeywords.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4375,7 +4375,7 @@ impl ITraceDataProvider_Vtbl { let this = (*this).get_impl(); match ITraceDataProvider_Impl::Properties(this) { Ok(ok__) => { - core::ptr::write(ppproperties, core::mem::transmute(ok__)); + ppproperties.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4386,7 +4386,7 @@ impl ITraceDataProvider_Vtbl { let this = (*this).get_impl(); match ITraceDataProvider_Impl::FilterEnabled(this) { Ok(ok__) => { - core::ptr::write(filterenabled, core::mem::transmute(ok__)); + filterenabled.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4402,7 +4402,7 @@ impl ITraceDataProvider_Vtbl { let this = (*this).get_impl(); match ITraceDataProvider_Impl::FilterType(this) { Ok(ok__) => { - core::ptr::write(pultype, core::mem::transmute(ok__)); + pultype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4418,7 +4418,7 @@ impl ITraceDataProvider_Vtbl { let this = (*this).get_impl(); match ITraceDataProvider_Impl::FilterData(this) { Ok(ok__) => { - core::ptr::write(ppdata, core::mem::transmute(ok__)); + ppdata.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4449,7 +4449,7 @@ impl ITraceDataProvider_Vtbl { let this = (*this).get_impl(); match ITraceDataProvider_Impl::GetSecurity(this, core::mem::transmute_copy(&securityinfo)) { Ok(ok__) => { - core::ptr::write(sddl, core::mem::transmute(ok__)); + sddl.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4460,7 +4460,7 @@ impl ITraceDataProvider_Vtbl { let this = (*this).get_impl(); match ITraceDataProvider_Impl::GetRegisteredProcesses(this) { Ok(ok__) => { - core::ptr::write(processes, core::mem::transmute(ok__)); + processes.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4516,7 +4516,7 @@ impl ITraceDataProviderCollection_Vtbl { let this = (*this).get_impl(); match ITraceDataProviderCollection_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4527,7 +4527,7 @@ impl ITraceDataProviderCollection_Vtbl { let this = (*this).get_impl(); match ITraceDataProviderCollection_Impl::get_Item(this, core::mem::transmute(&index)) { Ok(ok__) => { - core::ptr::write(ppprovider, core::mem::transmute(ok__)); + ppprovider.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4538,7 +4538,7 @@ impl ITraceDataProviderCollection_Vtbl { let this = (*this).get_impl(); match ITraceDataProviderCollection_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4569,7 +4569,7 @@ impl ITraceDataProviderCollection_Vtbl { let this = (*this).get_impl(); match ITraceDataProviderCollection_Impl::CreateTraceDataProvider(this) { Ok(ok__) => { - core::ptr::write(provider, core::mem::transmute(ok__)); + provider.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4630,7 +4630,7 @@ impl IValueMap_Vtbl { let this = (*this).get_impl(); match IValueMap_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4641,7 +4641,7 @@ impl IValueMap_Vtbl { let this = (*this).get_impl(); match IValueMap_Impl::get_Item(this, core::mem::transmute(&index)) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4652,7 +4652,7 @@ impl IValueMap_Vtbl { let this = (*this).get_impl(); match IValueMap_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4663,7 +4663,7 @@ impl IValueMap_Vtbl { let this = (*this).get_impl(); match IValueMap_Impl::Description(this) { Ok(ok__) => { - core::ptr::write(description, core::mem::transmute(ok__)); + description.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4679,7 +4679,7 @@ impl IValueMap_Vtbl { let this = (*this).get_impl(); match IValueMap_Impl::Value(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4695,7 +4695,7 @@ impl IValueMap_Vtbl { let this = (*this).get_impl(); match IValueMap_Impl::ValueMapType(this) { Ok(ok__) => { - core::ptr::write(r#type, core::mem::transmute(ok__)); + r#type.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4731,7 +4731,7 @@ impl IValueMap_Vtbl { let this = (*this).get_impl(); match IValueMap_Impl::CreateValueMapItem(this) { Ok(ok__) => { - core::ptr::write(item, core::mem::transmute(ok__)); + item.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4782,7 +4782,7 @@ impl IValueMapItem_Vtbl { let this = (*this).get_impl(); match IValueMapItem_Impl::Description(this) { Ok(ok__) => { - core::ptr::write(description, core::mem::transmute(ok__)); + description.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4798,7 +4798,7 @@ impl IValueMapItem_Vtbl { let this = (*this).get_impl(); match IValueMapItem_Impl::Enabled(this) { Ok(ok__) => { - core::ptr::write(enabled, core::mem::transmute(ok__)); + enabled.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4814,7 +4814,7 @@ impl IValueMapItem_Vtbl { let this = (*this).get_impl(); match IValueMapItem_Impl::Key(this) { Ok(ok__) => { - core::ptr::write(key, core::mem::transmute(ok__)); + key.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4830,7 +4830,7 @@ impl IValueMapItem_Vtbl { let this = (*this).get_impl(); match IValueMapItem_Impl::Value(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4846,7 +4846,7 @@ impl IValueMapItem_Vtbl { let this = (*this).get_impl(); match IValueMapItem_Impl::ValueMapType(this) { Ok(ok__) => { - core::ptr::write(r#type, core::mem::transmute(ok__)); + r#type.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4902,7 +4902,7 @@ impl _ICounterItemUnion_Vtbl { let this = (*this).get_impl(); match _ICounterItemUnion_Impl::Value(this) { Ok(ok__) => { - core::ptr::write(pdblvalue, core::mem::transmute(ok__)); + pdblvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4918,7 +4918,7 @@ impl _ICounterItemUnion_Vtbl { let this = (*this).get_impl(); match _ICounterItemUnion_Impl::Color(this) { Ok(ok__) => { - core::ptr::write(pcolor, core::mem::transmute(ok__)); + pcolor.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4934,7 +4934,7 @@ impl _ICounterItemUnion_Vtbl { let this = (*this).get_impl(); match _ICounterItemUnion_Impl::Width(this) { Ok(ok__) => { - core::ptr::write(pivalue, core::mem::transmute(ok__)); + pivalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4950,7 +4950,7 @@ impl _ICounterItemUnion_Vtbl { let this = (*this).get_impl(); match _ICounterItemUnion_Impl::LineStyle(this) { Ok(ok__) => { - core::ptr::write(pivalue, core::mem::transmute(ok__)); + pivalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4966,7 +4966,7 @@ impl _ICounterItemUnion_Vtbl { let this = (*this).get_impl(); match _ICounterItemUnion_Impl::ScaleFactor(this) { Ok(ok__) => { - core::ptr::write(pivalue, core::mem::transmute(ok__)); + pivalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4977,7 +4977,7 @@ impl _ICounterItemUnion_Vtbl { let this = (*this).get_impl(); match _ICounterItemUnion_Impl::Path(this) { Ok(ok__) => { - core::ptr::write(pstrvalue, core::mem::transmute(ok__)); + pstrvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5003,7 +5003,7 @@ impl _ICounterItemUnion_Vtbl { let this = (*this).get_impl(); match _ICounterItemUnion_Impl::Selected(this) { Ok(ok__) => { - core::ptr::write(pbstate, core::mem::transmute(ok__)); + pbstate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5019,7 +5019,7 @@ impl _ICounterItemUnion_Vtbl { let this = (*this).get_impl(); match _ICounterItemUnion_Impl::Visible(this) { Ok(ok__) => { - core::ptr::write(pbstate, core::mem::transmute(ok__)); + pbstate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5030,7 +5030,7 @@ impl _ICounterItemUnion_Vtbl { let this = (*this).get_impl(); match _ICounterItemUnion_Impl::GetDataAt(this, core::mem::transmute_copy(&iindex), core::mem::transmute_copy(&iwhich)) { Ok(ok__) => { - core::ptr::write(pvariant, core::mem::transmute(ok__)); + pvariant.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5170,7 +5170,7 @@ impl _ISystemMonitorUnion_Vtbl { let this = (*this).get_impl(); match _ISystemMonitorUnion_Impl::Appearance(this) { Ok(ok__) => { - core::ptr::write(iappearance, core::mem::transmute(ok__)); + iappearance.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5186,7 +5186,7 @@ impl _ISystemMonitorUnion_Vtbl { let this = (*this).get_impl(); match _ISystemMonitorUnion_Impl::BackColor(this) { Ok(ok__) => { - core::ptr::write(pcolor, core::mem::transmute(ok__)); + pcolor.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5202,7 +5202,7 @@ impl _ISystemMonitorUnion_Vtbl { let this = (*this).get_impl(); match _ISystemMonitorUnion_Impl::BorderStyle(this) { Ok(ok__) => { - core::ptr::write(iborderstyle, core::mem::transmute(ok__)); + iborderstyle.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5218,7 +5218,7 @@ impl _ISystemMonitorUnion_Vtbl { let this = (*this).get_impl(); match _ISystemMonitorUnion_Impl::ForeColor(this) { Ok(ok__) => { - core::ptr::write(pcolor, core::mem::transmute(ok__)); + pcolor.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5234,7 +5234,7 @@ impl _ISystemMonitorUnion_Vtbl { let this = (*this).get_impl(); match _ISystemMonitorUnion_Impl::Font(this) { Ok(ok__) => { - core::ptr::write(ppfont, core::mem::transmute(ok__)); + ppfont.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5250,7 +5250,7 @@ impl _ISystemMonitorUnion_Vtbl { let this = (*this).get_impl(); match _ISystemMonitorUnion_Impl::Counters(this) { Ok(ok__) => { - core::ptr::write(ppicounters, core::mem::transmute(ok__)); + ppicounters.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5266,7 +5266,7 @@ impl _ISystemMonitorUnion_Vtbl { let this = (*this).get_impl(); match _ISystemMonitorUnion_Impl::ShowVerticalGrid(this) { Ok(ok__) => { - core::ptr::write(pbstate, core::mem::transmute(ok__)); + pbstate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5282,7 +5282,7 @@ impl _ISystemMonitorUnion_Vtbl { let this = (*this).get_impl(); match _ISystemMonitorUnion_Impl::ShowHorizontalGrid(this) { Ok(ok__) => { - core::ptr::write(pbstate, core::mem::transmute(ok__)); + pbstate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5298,7 +5298,7 @@ impl _ISystemMonitorUnion_Vtbl { let this = (*this).get_impl(); match _ISystemMonitorUnion_Impl::ShowLegend(this) { Ok(ok__) => { - core::ptr::write(pbstate, core::mem::transmute(ok__)); + pbstate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5314,7 +5314,7 @@ impl _ISystemMonitorUnion_Vtbl { let this = (*this).get_impl(); match _ISystemMonitorUnion_Impl::ShowScaleLabels(this) { Ok(ok__) => { - core::ptr::write(pbstate, core::mem::transmute(ok__)); + pbstate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5330,7 +5330,7 @@ impl _ISystemMonitorUnion_Vtbl { let this = (*this).get_impl(); match _ISystemMonitorUnion_Impl::ShowValueBar(this) { Ok(ok__) => { - core::ptr::write(pbstate, core::mem::transmute(ok__)); + pbstate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5346,7 +5346,7 @@ impl _ISystemMonitorUnion_Vtbl { let this = (*this).get_impl(); match _ISystemMonitorUnion_Impl::MaximumScale(this) { Ok(ok__) => { - core::ptr::write(pivalue, core::mem::transmute(ok__)); + pivalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5362,7 +5362,7 @@ impl _ISystemMonitorUnion_Vtbl { let this = (*this).get_impl(); match _ISystemMonitorUnion_Impl::MinimumScale(this) { Ok(ok__) => { - core::ptr::write(pivalue, core::mem::transmute(ok__)); + pivalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5378,7 +5378,7 @@ impl _ISystemMonitorUnion_Vtbl { let this = (*this).get_impl(); match _ISystemMonitorUnion_Impl::UpdateInterval(this) { Ok(ok__) => { - core::ptr::write(pfvalue, core::mem::transmute(ok__)); + pfvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5394,7 +5394,7 @@ impl _ISystemMonitorUnion_Vtbl { let this = (*this).get_impl(); match _ISystemMonitorUnion_Impl::DisplayType(this) { Ok(ok__) => { - core::ptr::write(pedisplaytype, core::mem::transmute(ok__)); + pedisplaytype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5410,7 +5410,7 @@ impl _ISystemMonitorUnion_Vtbl { let this = (*this).get_impl(); match _ISystemMonitorUnion_Impl::ManualUpdate(this) { Ok(ok__) => { - core::ptr::write(pbstate, core::mem::transmute(ok__)); + pbstate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5426,7 +5426,7 @@ impl _ISystemMonitorUnion_Vtbl { let this = (*this).get_impl(); match _ISystemMonitorUnion_Impl::GraphTitle(this) { Ok(ok__) => { - core::ptr::write(pbstitle, core::mem::transmute(ok__)); + pbstitle.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5442,7 +5442,7 @@ impl _ISystemMonitorUnion_Vtbl { let this = (*this).get_impl(); match _ISystemMonitorUnion_Impl::YAxisLabel(this) { Ok(ok__) => { - core::ptr::write(pbstitle, core::mem::transmute(ok__)); + pbstitle.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5473,7 +5473,7 @@ impl _ISystemMonitorUnion_Vtbl { let this = (*this).get_impl(); match _ISystemMonitorUnion_Impl::Counter(this, core::mem::transmute_copy(&iindex)) { Ok(ok__) => { - core::ptr::write(ppicounter, core::mem::transmute(ok__)); + ppicounter.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5484,7 +5484,7 @@ impl _ISystemMonitorUnion_Vtbl { let this = (*this).get_impl(); match _ISystemMonitorUnion_Impl::AddCounter(this, core::mem::transmute(&bspath)) { Ok(ok__) => { - core::ptr::write(ppicounter, core::mem::transmute(ok__)); + ppicounter.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5500,7 +5500,7 @@ impl _ISystemMonitorUnion_Vtbl { let this = (*this).get_impl(); match _ISystemMonitorUnion_Impl::BackColorCtl(this) { Ok(ok__) => { - core::ptr::write(pcolor, core::mem::transmute(ok__)); + pcolor.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5521,7 +5521,7 @@ impl _ISystemMonitorUnion_Vtbl { let this = (*this).get_impl(); match _ISystemMonitorUnion_Impl::LogFileName(this) { Ok(ok__) => { - core::ptr::write(bsfilename, core::mem::transmute(ok__)); + bsfilename.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5537,7 +5537,7 @@ impl _ISystemMonitorUnion_Vtbl { let this = (*this).get_impl(); match _ISystemMonitorUnion_Impl::LogViewStart(this) { Ok(ok__) => { - core::ptr::write(starttime, core::mem::transmute(ok__)); + starttime.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5553,7 +5553,7 @@ impl _ISystemMonitorUnion_Vtbl { let this = (*this).get_impl(); match _ISystemMonitorUnion_Impl::LogViewStop(this) { Ok(ok__) => { - core::ptr::write(stoptime, core::mem::transmute(ok__)); + stoptime.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5564,7 +5564,7 @@ impl _ISystemMonitorUnion_Vtbl { let this = (*this).get_impl(); match _ISystemMonitorUnion_Impl::GridColor(this) { Ok(ok__) => { - core::ptr::write(pcolor, core::mem::transmute(ok__)); + pcolor.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5580,7 +5580,7 @@ impl _ISystemMonitorUnion_Vtbl { let this = (*this).get_impl(); match _ISystemMonitorUnion_Impl::TimeBarColor(this) { Ok(ok__) => { - core::ptr::write(pcolor, core::mem::transmute(ok__)); + pcolor.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5596,7 +5596,7 @@ impl _ISystemMonitorUnion_Vtbl { let this = (*this).get_impl(); match _ISystemMonitorUnion_Impl::Highlight(this) { Ok(ok__) => { - core::ptr::write(pbstate, core::mem::transmute(ok__)); + pbstate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5612,7 +5612,7 @@ impl _ISystemMonitorUnion_Vtbl { let this = (*this).get_impl(); match _ISystemMonitorUnion_Impl::ShowToolbar(this) { Ok(ok__) => { - core::ptr::write(pbstate, core::mem::transmute(ok__)); + pbstate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5648,7 +5648,7 @@ impl _ISystemMonitorUnion_Vtbl { let this = (*this).get_impl(); match _ISystemMonitorUnion_Impl::ReadOnly(this) { Ok(ok__) => { - core::ptr::write(pbstate, core::mem::transmute(ok__)); + pbstate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5664,7 +5664,7 @@ impl _ISystemMonitorUnion_Vtbl { let this = (*this).get_impl(); match _ISystemMonitorUnion_Impl::ReportValueType(this) { Ok(ok__) => { - core::ptr::write(pereportvaluetype, core::mem::transmute(ok__)); + pereportvaluetype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5680,7 +5680,7 @@ impl _ISystemMonitorUnion_Vtbl { let this = (*this).get_impl(); match _ISystemMonitorUnion_Impl::MonitorDuplicateInstances(this) { Ok(ok__) => { - core::ptr::write(pbstate, core::mem::transmute(ok__)); + pbstate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5696,7 +5696,7 @@ impl _ISystemMonitorUnion_Vtbl { let this = (*this).get_impl(); match _ISystemMonitorUnion_Impl::DisplayFilter(this) { Ok(ok__) => { - core::ptr::write(pivalue, core::mem::transmute(ok__)); + pivalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5707,7 +5707,7 @@ impl _ISystemMonitorUnion_Vtbl { let this = (*this).get_impl(); match _ISystemMonitorUnion_Impl::LogFiles(this) { Ok(ok__) => { - core::ptr::write(ppilogfiles, core::mem::transmute(ok__)); + ppilogfiles.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5723,7 +5723,7 @@ impl _ISystemMonitorUnion_Vtbl { let this = (*this).get_impl(); match _ISystemMonitorUnion_Impl::DataSourceType(this) { Ok(ok__) => { - core::ptr::write(pedatasourcetype, core::mem::transmute(ok__)); + pedatasourcetype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5739,7 +5739,7 @@ impl _ISystemMonitorUnion_Vtbl { let this = (*this).get_impl(); match _ISystemMonitorUnion_Impl::SqlDsnName(this) { Ok(ok__) => { - core::ptr::write(bssqldsnname, core::mem::transmute(ok__)); + bssqldsnname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5755,7 +5755,7 @@ impl _ISystemMonitorUnion_Vtbl { let this = (*this).get_impl(); match _ISystemMonitorUnion_Impl::SqlLogSetName(this) { Ok(ok__) => { - core::ptr::write(bssqllogsetname, core::mem::transmute(ok__)); + bssqllogsetname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5771,7 +5771,7 @@ impl _ISystemMonitorUnion_Vtbl { let this = (*this).get_impl(); match _ISystemMonitorUnion_Impl::EnableDigitGrouping(this) { Ok(ok__) => { - core::ptr::write(pbstate, core::mem::transmute(ok__)); + pbstate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5787,7 +5787,7 @@ impl _ISystemMonitorUnion_Vtbl { let this = (*this).get_impl(); match _ISystemMonitorUnion_Impl::EnableToolTips(this) { Ok(ok__) => { - core::ptr::write(pbstate, core::mem::transmute(ok__)); + pbstate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5803,7 +5803,7 @@ impl _ISystemMonitorUnion_Vtbl { let this = (*this).get_impl(); match _ISystemMonitorUnion_Impl::ShowTimeAxisLabels(this) { Ok(ok__) => { - core::ptr::write(pbstate, core::mem::transmute(ok__)); + pbstate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5819,7 +5819,7 @@ impl _ISystemMonitorUnion_Vtbl { let this = (*this).get_impl(); match _ISystemMonitorUnion_Impl::ChartScroll(this) { Ok(ok__) => { - core::ptr::write(pbscroll, core::mem::transmute(ok__)); + pbscroll.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5835,7 +5835,7 @@ impl _ISystemMonitorUnion_Vtbl { let this = (*this).get_impl(); match _ISystemMonitorUnion_Impl::DataPointCount(this) { Ok(ok__) => { - core::ptr::write(pidatapointcount, core::mem::transmute(ok__)); + pidatapointcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5866,7 +5866,7 @@ impl _ISystemMonitorUnion_Vtbl { let this = (*this).get_impl(); match _ISystemMonitorUnion_Impl::LogSourceStartTime(this) { Ok(ok__) => { - core::ptr::write(pdate, core::mem::transmute(ok__)); + pdate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5877,7 +5877,7 @@ impl _ISystemMonitorUnion_Vtbl { let this = (*this).get_impl(); match _ISystemMonitorUnion_Impl::LogSourceStopTime(this) { Ok(ok__) => { - core::ptr::write(pdate, core::mem::transmute(ok__)); + pdate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/Win32/System/RealTimeCommunications/impl.rs b/crates/libs/windows/src/Windows/Win32/System/RealTimeCommunications/impl.rs index 5cbfe76ccf..fafa658046 100644 --- a/crates/libs/windows/src/Windows/Win32/System/RealTimeCommunications/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/RealTimeCommunications/impl.rs @@ -67,7 +67,7 @@ impl IRTCBuddy_Vtbl { let this = (*this).get_impl(); match IRTCBuddy_Impl::Status(this) { Ok(ok__) => { - core::ptr::write(penstatus, core::mem::transmute(ok__)); + penstatus.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -78,7 +78,7 @@ impl IRTCBuddy_Vtbl { let this = (*this).get_impl(); match IRTCBuddy_Impl::Notes(this) { Ok(ok__) => { - core::ptr::write(pbstrnotes, core::mem::transmute(ok__)); + pbstrnotes.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -115,7 +115,7 @@ impl IRTCBuddy2_Vtbl { let this = (*this).get_impl(); match IRTCBuddy2_Impl::Profile(this) { Ok(ok__) => { - core::ptr::write(ppprofile, core::mem::transmute(ok__)); + ppprofile.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -131,7 +131,7 @@ impl IRTCBuddy2_Vtbl { let this = (*this).get_impl(); match IRTCBuddy2_Impl::EnumerateGroups(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -142,7 +142,7 @@ impl IRTCBuddy2_Vtbl { let this = (*this).get_impl(); match IRTCBuddy2_Impl::Groups(this) { Ok(ok__) => { - core::ptr::write(ppcollection, core::mem::transmute(ok__)); + ppcollection.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -153,7 +153,7 @@ impl IRTCBuddy2_Vtbl { let this = (*this).get_impl(); match IRTCBuddy2_Impl::get_PresenceProperty(this, core::mem::transmute_copy(&enproperty)) { Ok(ok__) => { - core::ptr::write(pbstrproperty, core::mem::transmute(ok__)); + pbstrproperty.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -164,7 +164,7 @@ impl IRTCBuddy2_Vtbl { let this = (*this).get_impl(); match IRTCBuddy2_Impl::EnumeratePresenceDevices(this) { Ok(ok__) => { - core::ptr::write(ppenumdevices, core::mem::transmute(ok__)); + ppenumdevices.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -175,7 +175,7 @@ impl IRTCBuddy2_Vtbl { let this = (*this).get_impl(); match IRTCBuddy2_Impl::PresenceDevices(this) { Ok(ok__) => { - core::ptr::write(ppdevicescollection, core::mem::transmute(ok__)); + ppdevicescollection.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -186,7 +186,7 @@ impl IRTCBuddy2_Vtbl { let this = (*this).get_impl(); match IRTCBuddy2_Impl::SubscriptionType(this) { Ok(ok__) => { - core::ptr::write(pensubscriptiontype, core::mem::transmute(ok__)); + pensubscriptiontype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -222,7 +222,7 @@ impl IRTCBuddyEvent_Vtbl { let this = (*this).get_impl(); match IRTCBuddyEvent_Impl::Buddy(this) { Ok(ok__) => { - core::ptr::write(ppbuddy, core::mem::transmute(ok__)); + ppbuddy.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -250,7 +250,7 @@ impl IRTCBuddyEvent2_Vtbl { let this = (*this).get_impl(); match IRTCBuddyEvent2_Impl::EventType(this) { Ok(ok__) => { - core::ptr::write(peventtype, core::mem::transmute(ok__)); + peventtype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -261,7 +261,7 @@ impl IRTCBuddyEvent2_Vtbl { let this = (*this).get_impl(); match IRTCBuddyEvent2_Impl::StatusCode(this) { Ok(ok__) => { - core::ptr::write(plstatuscode, core::mem::transmute(ok__)); + plstatuscode.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -272,7 +272,7 @@ impl IRTCBuddyEvent2_Vtbl { let this = (*this).get_impl(); match IRTCBuddyEvent2_Impl::StatusText(this) { Ok(ok__) => { - core::ptr::write(pbstrstatustext, core::mem::transmute(ok__)); + pbstrstatustext.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -311,7 +311,7 @@ impl IRTCBuddyGroup_Vtbl { let this = (*this).get_impl(); match IRTCBuddyGroup_Impl::Name(this) { Ok(ok__) => { - core::ptr::write(pbstrgroupname, core::mem::transmute(ok__)); + pbstrgroupname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -337,7 +337,7 @@ impl IRTCBuddyGroup_Vtbl { let this = (*this).get_impl(); match IRTCBuddyGroup_Impl::EnumerateBuddies(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -348,7 +348,7 @@ impl IRTCBuddyGroup_Vtbl { let this = (*this).get_impl(); match IRTCBuddyGroup_Impl::Buddies(this) { Ok(ok__) => { - core::ptr::write(ppcollection, core::mem::transmute(ok__)); + ppcollection.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -359,7 +359,7 @@ impl IRTCBuddyGroup_Vtbl { let this = (*this).get_impl(); match IRTCBuddyGroup_Impl::Data(this) { Ok(ok__) => { - core::ptr::write(pbstrdata, core::mem::transmute(ok__)); + pbstrdata.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -375,7 +375,7 @@ impl IRTCBuddyGroup_Vtbl { let this = (*this).get_impl(); match IRTCBuddyGroup_Impl::Profile(this) { Ok(ok__) => { - core::ptr::write(ppprofile, core::mem::transmute(ok__)); + ppprofile.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -415,7 +415,7 @@ impl IRTCBuddyGroupEvent_Vtbl { let this = (*this).get_impl(); match IRTCBuddyGroupEvent_Impl::EventType(this) { Ok(ok__) => { - core::ptr::write(peventtype, core::mem::transmute(ok__)); + peventtype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -426,7 +426,7 @@ impl IRTCBuddyGroupEvent_Vtbl { let this = (*this).get_impl(); match IRTCBuddyGroupEvent_Impl::Group(this) { Ok(ok__) => { - core::ptr::write(ppgroup, core::mem::transmute(ok__)); + ppgroup.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -437,7 +437,7 @@ impl IRTCBuddyGroupEvent_Vtbl { let this = (*this).get_impl(); match IRTCBuddyGroupEvent_Impl::Buddy(this) { Ok(ok__) => { - core::ptr::write(ppbuddy, core::mem::transmute(ok__)); + ppbuddy.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -448,7 +448,7 @@ impl IRTCBuddyGroupEvent_Vtbl { let this = (*this).get_impl(); match IRTCBuddyGroupEvent_Impl::StatusCode(this) { Ok(ok__) => { - core::ptr::write(plstatuscode, core::mem::transmute(ok__)); + plstatuscode.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -541,7 +541,7 @@ impl IRTCClient_Vtbl { let this = (*this).get_impl(); match IRTCClient_Impl::EventFilter(this) { Ok(ok__) => { - core::ptr::write(plfilter, core::mem::transmute(ok__)); + plfilter.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -557,7 +557,7 @@ impl IRTCClient_Vtbl { let this = (*this).get_impl(); match IRTCClient_Impl::PreferredMediaTypes(this) { Ok(ok__) => { - core::ptr::write(plmediatypes, core::mem::transmute(ok__)); + plmediatypes.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -568,7 +568,7 @@ impl IRTCClient_Vtbl { let this = (*this).get_impl(); match IRTCClient_Impl::MediaCapabilities(this) { Ok(ok__) => { - core::ptr::write(plmediatypes, core::mem::transmute(ok__)); + plmediatypes.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -579,7 +579,7 @@ impl IRTCClient_Vtbl { let this = (*this).get_impl(); match IRTCClient_Impl::CreateSession(this, core::mem::transmute_copy(&entype), core::mem::transmute(&bstrlocalphoneuri), windows_core::from_raw_borrowed(&pprofile), core::mem::transmute_copy(&lflags)) { Ok(ok__) => { - core::ptr::write(ppsession, core::mem::transmute(ok__)); + ppsession.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -595,7 +595,7 @@ impl IRTCClient_Vtbl { let this = (*this).get_impl(); match IRTCClient_Impl::ListenForIncomingSessions(this) { Ok(ok__) => { - core::ptr::write(penlisten, core::mem::transmute(ok__)); + penlisten.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -606,7 +606,7 @@ impl IRTCClient_Vtbl { let this = (*this).get_impl(); match IRTCClient_Impl::get_NetworkAddresses(this, core::mem::transmute_copy(&ftcp), core::mem::transmute_copy(&fexternal)) { Ok(ok__) => { - core::ptr::write(pvaddresses, core::mem::transmute(ok__)); + pvaddresses.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -622,7 +622,7 @@ impl IRTCClient_Vtbl { let this = (*this).get_impl(); match IRTCClient_Impl::get_Volume(this, core::mem::transmute_copy(&endevice)) { Ok(ok__) => { - core::ptr::write(plvolume, core::mem::transmute(ok__)); + plvolume.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -638,7 +638,7 @@ impl IRTCClient_Vtbl { let this = (*this).get_impl(); match IRTCClient_Impl::get_AudioMuted(this, core::mem::transmute_copy(&endevice)) { Ok(ok__) => { - core::ptr::write(pfmuted, core::mem::transmute(ok__)); + pfmuted.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -649,7 +649,7 @@ impl IRTCClient_Vtbl { let this = (*this).get_impl(); match IRTCClient_Impl::get_IVideoWindow(this, core::mem::transmute_copy(&endevice)) { Ok(ok__) => { - core::ptr::write(ppivideowindow, core::mem::transmute(ok__)); + ppivideowindow.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -665,7 +665,7 @@ impl IRTCClient_Vtbl { let this = (*this).get_impl(); match IRTCClient_Impl::get_PreferredAudioDevice(this, core::mem::transmute_copy(&endevice)) { Ok(ok__) => { - core::ptr::write(pbstrdevicename, core::mem::transmute(ok__)); + pbstrdevicename.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -681,7 +681,7 @@ impl IRTCClient_Vtbl { let this = (*this).get_impl(); match IRTCClient_Impl::get_PreferredVolume(this, core::mem::transmute_copy(&endevice)) { Ok(ok__) => { - core::ptr::write(plvolume, core::mem::transmute(ok__)); + plvolume.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -697,7 +697,7 @@ impl IRTCClient_Vtbl { let this = (*this).get_impl(); match IRTCClient_Impl::PreferredAEC(this) { Ok(ok__) => { - core::ptr::write(pbenabled, core::mem::transmute(ok__)); + pbenabled.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -713,7 +713,7 @@ impl IRTCClient_Vtbl { let this = (*this).get_impl(); match IRTCClient_Impl::PreferredVideoDevice(this) { Ok(ok__) => { - core::ptr::write(pbstrdevicename, core::mem::transmute(ok__)); + pbstrdevicename.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -724,7 +724,7 @@ impl IRTCClient_Vtbl { let this = (*this).get_impl(); match IRTCClient_Impl::ActiveMedia(this) { Ok(ok__) => { - core::ptr::write(plmediatype, core::mem::transmute(ok__)); + plmediatype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -740,7 +740,7 @@ impl IRTCClient_Vtbl { let this = (*this).get_impl(); match IRTCClient_Impl::MaxBitrate(this) { Ok(ok__) => { - core::ptr::write(plmaxbitrate, core::mem::transmute(ok__)); + plmaxbitrate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -756,7 +756,7 @@ impl IRTCClient_Vtbl { let this = (*this).get_impl(); match IRTCClient_Impl::TemporalSpatialTradeOff(this) { Ok(ok__) => { - core::ptr::write(plvalue, core::mem::transmute(ok__)); + plvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -767,7 +767,7 @@ impl IRTCClient_Vtbl { let this = (*this).get_impl(); match IRTCClient_Impl::NetworkQuality(this) { Ok(ok__) => { - core::ptr::write(plnetworkquality, core::mem::transmute(ok__)); + plnetworkquality.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -788,7 +788,7 @@ impl IRTCClient_Vtbl { let this = (*this).get_impl(); match IRTCClient_Impl::get_IsT120AppletRunning(this, core::mem::transmute_copy(&enapplet)) { Ok(ok__) => { - core::ptr::write(pfrunning, core::mem::transmute(ok__)); + pfrunning.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -799,7 +799,7 @@ impl IRTCClient_Vtbl { let this = (*this).get_impl(); match IRTCClient_Impl::LocalUserURI(this) { Ok(ok__) => { - core::ptr::write(pbstruseruri, core::mem::transmute(ok__)); + pbstruseruri.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -815,7 +815,7 @@ impl IRTCClient_Vtbl { let this = (*this).get_impl(); match IRTCClient_Impl::LocalUserName(this) { Ok(ok__) => { - core::ptr::write(pbstrusername, core::mem::transmute(ok__)); + pbstrusername.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -846,7 +846,7 @@ impl IRTCClient_Vtbl { let this = (*this).get_impl(); match IRTCClient_Impl::IsTuned(this) { Ok(ok__) => { - core::ptr::write(pftuned, core::mem::transmute(ok__)); + pftuned.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -933,7 +933,7 @@ impl IRTCClient2_Vtbl { let this = (*this).get_impl(); match IRTCClient2_Impl::get_AnswerMode(this, core::mem::transmute_copy(&entype)) { Ok(ok__) => { - core::ptr::write(penmode, core::mem::transmute(ok__)); + penmode.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -949,7 +949,7 @@ impl IRTCClient2_Vtbl { let this = (*this).get_impl(); match IRTCClient2_Impl::Version(this) { Ok(ok__) => { - core::ptr::write(plversion, core::mem::transmute(ok__)); + plversion.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -975,7 +975,7 @@ impl IRTCClient2_Vtbl { let this = (*this).get_impl(); match IRTCClient2_Impl::CreateSessionWithDescription(this, core::mem::transmute(&bstrcontenttype), core::mem::transmute(&bstrsessiondescription), windows_core::from_raw_borrowed(&pprofile), core::mem::transmute_copy(&lflags)) { Ok(ok__) => { - core::ptr::write(ppsession2, core::mem::transmute(ok__)); + ppsession2.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -996,7 +996,7 @@ impl IRTCClient2_Vtbl { let this = (*this).get_impl(); match IRTCClient2_Impl::get_PreferredSecurityLevel(this, core::mem::transmute_copy(&ensecuritytype)) { Ok(ok__) => { - core::ptr::write(pensecuritylevel, core::mem::transmute(ok__)); + pensecuritylevel.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1012,7 +1012,7 @@ impl IRTCClient2_Vtbl { let this = (*this).get_impl(); match IRTCClient2_Impl::get_AllowedPorts(this, core::mem::transmute_copy(<ransport)) { Ok(ok__) => { - core::ptr::write(penlistenmode, core::mem::transmute(ok__)); + penlistenmode.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1054,7 +1054,7 @@ impl IRTCClientEvent_Vtbl { let this = (*this).get_impl(); match IRTCClientEvent_Impl::EventType(this) { Ok(ok__) => { - core::ptr::write(peneventtype, core::mem::transmute(ok__)); + peneventtype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1065,7 +1065,7 @@ impl IRTCClientEvent_Vtbl { let this = (*this).get_impl(); match IRTCClientEvent_Impl::Client(this) { Ok(ok__) => { - core::ptr::write(ppclient, core::mem::transmute(ok__)); + ppclient.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1161,7 +1161,7 @@ impl IRTCClientPresence_Vtbl { let this = (*this).get_impl(); match IRTCClientPresence_Impl::EnumerateBuddies(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1172,7 +1172,7 @@ impl IRTCClientPresence_Vtbl { let this = (*this).get_impl(); match IRTCClientPresence_Impl::Buddies(this) { Ok(ok__) => { - core::ptr::write(ppcollection, core::mem::transmute(ok__)); + ppcollection.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1183,7 +1183,7 @@ impl IRTCClientPresence_Vtbl { let this = (*this).get_impl(); match IRTCClientPresence_Impl::get_Buddy(this, core::mem::transmute(&bstrpresentityuri)) { Ok(ok__) => { - core::ptr::write(ppbuddy, core::mem::transmute(ok__)); + ppbuddy.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1194,7 +1194,7 @@ impl IRTCClientPresence_Vtbl { let this = (*this).get_impl(); match IRTCClientPresence_Impl::AddBuddy(this, core::mem::transmute(&bstrpresentityuri), core::mem::transmute(&bstrusername), core::mem::transmute(&bstrdata), core::mem::transmute_copy(&fpersistent), windows_core::from_raw_borrowed(&pprofile), core::mem::transmute_copy(&lflags)) { Ok(ok__) => { - core::ptr::write(ppbuddy, core::mem::transmute(ok__)); + ppbuddy.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1210,7 +1210,7 @@ impl IRTCClientPresence_Vtbl { let this = (*this).get_impl(); match IRTCClientPresence_Impl::EnumerateWatchers(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1221,7 +1221,7 @@ impl IRTCClientPresence_Vtbl { let this = (*this).get_impl(); match IRTCClientPresence_Impl::Watchers(this) { Ok(ok__) => { - core::ptr::write(ppcollection, core::mem::transmute(ok__)); + ppcollection.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1232,7 +1232,7 @@ impl IRTCClientPresence_Vtbl { let this = (*this).get_impl(); match IRTCClientPresence_Impl::get_Watcher(this, core::mem::transmute(&bstrpresentityuri)) { Ok(ok__) => { - core::ptr::write(ppwatcher, core::mem::transmute(ok__)); + ppwatcher.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1243,7 +1243,7 @@ impl IRTCClientPresence_Vtbl { let this = (*this).get_impl(); match IRTCClientPresence_Impl::AddWatcher(this, core::mem::transmute(&bstrpresentityuri), core::mem::transmute(&bstrusername), core::mem::transmute(&bstrdata), core::mem::transmute_copy(&fblocked), core::mem::transmute_copy(&fpersistent)) { Ok(ok__) => { - core::ptr::write(ppwatcher, core::mem::transmute(ok__)); + ppwatcher.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1264,7 +1264,7 @@ impl IRTCClientPresence_Vtbl { let this = (*this).get_impl(); match IRTCClientPresence_Impl::OfferWatcherMode(this) { Ok(ok__) => { - core::ptr::write(penmode, core::mem::transmute(ok__)); + penmode.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1280,7 +1280,7 @@ impl IRTCClientPresence_Vtbl { let this = (*this).get_impl(); match IRTCClientPresence_Impl::PrivacyMode(this) { Ok(ok__) => { - core::ptr::write(penmode, core::mem::transmute(ok__)); + penmode.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1355,7 +1355,7 @@ impl IRTCClientPresence2_Vtbl { let this = (*this).get_impl(); match IRTCClientPresence2_Impl::AddGroup(this, core::mem::transmute(&bstrgroupname), core::mem::transmute(&bstrdata), windows_core::from_raw_borrowed(&pprofile), core::mem::transmute_copy(&lflags)) { Ok(ok__) => { - core::ptr::write(ppgroup, core::mem::transmute(ok__)); + ppgroup.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1371,7 +1371,7 @@ impl IRTCClientPresence2_Vtbl { let this = (*this).get_impl(); match IRTCClientPresence2_Impl::EnumerateGroups(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1382,7 +1382,7 @@ impl IRTCClientPresence2_Vtbl { let this = (*this).get_impl(); match IRTCClientPresence2_Impl::Groups(this) { Ok(ok__) => { - core::ptr::write(ppcollection, core::mem::transmute(ok__)); + ppcollection.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1393,7 +1393,7 @@ impl IRTCClientPresence2_Vtbl { let this = (*this).get_impl(); match IRTCClientPresence2_Impl::get_Group(this, core::mem::transmute(&bstrgroupname)) { Ok(ok__) => { - core::ptr::write(ppgroup, core::mem::transmute(ok__)); + ppgroup.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1404,7 +1404,7 @@ impl IRTCClientPresence2_Vtbl { let this = (*this).get_impl(); match IRTCClientPresence2_Impl::AddWatcherEx(this, core::mem::transmute(&bstrpresentityuri), core::mem::transmute(&bstrusername), core::mem::transmute(&bstrdata), core::mem::transmute_copy(&enstate), core::mem::transmute_copy(&fpersistent), core::mem::transmute_copy(&enscope), windows_core::from_raw_borrowed(&pprofile), core::mem::transmute_copy(&lflags)) { Ok(ok__) => { - core::ptr::write(ppwatcher, core::mem::transmute(ok__)); + ppwatcher.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1415,7 +1415,7 @@ impl IRTCClientPresence2_Vtbl { let this = (*this).get_impl(); match IRTCClientPresence2_Impl::get_WatcherEx(this, core::mem::transmute_copy(&enmode), core::mem::transmute(&bstrpresentityuri)) { Ok(ok__) => { - core::ptr::write(ppwatcher, core::mem::transmute(ok__)); + ppwatcher.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1431,7 +1431,7 @@ impl IRTCClientPresence2_Vtbl { let this = (*this).get_impl(); match IRTCClientPresence2_Impl::get_PresenceProperty(this, core::mem::transmute_copy(&enproperty)) { Ok(ok__) => { - core::ptr::write(pbstrproperty, core::mem::transmute(ok__)); + pbstrproperty.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1457,7 +1457,7 @@ impl IRTCClientPresence2_Vtbl { let this = (*this).get_impl(); match IRTCClientPresence2_Impl::AddBuddyEx(this, core::mem::transmute(&bstrpresentityuri), core::mem::transmute(&bstrusername), core::mem::transmute(&bstrdata), core::mem::transmute_copy(&fpersistent), core::mem::transmute_copy(&ensubscriptiontype), windows_core::from_raw_borrowed(&pprofile), core::mem::transmute_copy(&lflags)) { Ok(ok__) => { - core::ptr::write(ppbuddy, core::mem::transmute(ok__)); + ppbuddy.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1506,7 +1506,7 @@ impl IRTCClientProvisioning_Vtbl { let this = (*this).get_impl(); match IRTCClientProvisioning_Impl::CreateProfile(this, core::mem::transmute(&bstrprofilexml)) { Ok(ok__) => { - core::ptr::write(ppprofile, core::mem::transmute(ok__)); + ppprofile.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1527,7 +1527,7 @@ impl IRTCClientProvisioning_Vtbl { let this = (*this).get_impl(); match IRTCClientProvisioning_Impl::EnumerateProfiles(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1538,7 +1538,7 @@ impl IRTCClientProvisioning_Vtbl { let this = (*this).get_impl(); match IRTCClientProvisioning_Impl::Profiles(this) { Ok(ok__) => { - core::ptr::write(ppcollection, core::mem::transmute(ok__)); + ppcollection.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1554,7 +1554,7 @@ impl IRTCClientProvisioning_Vtbl { let this = (*this).get_impl(); match IRTCClientProvisioning_Impl::SessionCapabilities(this) { Ok(ok__) => { - core::ptr::write(plsupportedsessions, core::mem::transmute(ok__)); + plsupportedsessions.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1611,7 +1611,7 @@ impl IRTCCollection_Vtbl { let this = (*this).get_impl(); match IRTCCollection_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(lcount, core::mem::transmute(ok__)); + lcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1622,7 +1622,7 @@ impl IRTCCollection_Vtbl { let this = (*this).get_impl(); match IRTCCollection_Impl::get_Item(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(pvariant, core::mem::transmute(ok__)); + pvariant.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1633,7 +1633,7 @@ impl IRTCCollection_Vtbl { let this = (*this).get_impl(); match IRTCCollection_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(ppnewenum, core::mem::transmute(ok__)); + ppnewenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1692,7 +1692,7 @@ impl IRTCEnumBuddies_Vtbl { let this = (*this).get_impl(); match IRTCEnumBuddies_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1739,7 +1739,7 @@ impl IRTCEnumGroups_Vtbl { let this = (*this).get_impl(); match IRTCEnumGroups_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1786,7 +1786,7 @@ impl IRTCEnumParticipants_Vtbl { let this = (*this).get_impl(); match IRTCEnumParticipants_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1833,7 +1833,7 @@ impl IRTCEnumPresenceDevices_Vtbl { let this = (*this).get_impl(); match IRTCEnumPresenceDevices_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1880,7 +1880,7 @@ impl IRTCEnumProfiles_Vtbl { let this = (*this).get_impl(); match IRTCEnumProfiles_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1927,7 +1927,7 @@ impl IRTCEnumUserSearchResults_Vtbl { let this = (*this).get_impl(); match IRTCEnumUserSearchResults_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1974,7 +1974,7 @@ impl IRTCEnumWatchers_Vtbl { let this = (*this).get_impl(); match IRTCEnumWatchers_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2029,7 +2029,7 @@ impl IRTCInfoEvent_Vtbl { let this = (*this).get_impl(); match IRTCInfoEvent_Impl::Session(this) { Ok(ok__) => { - core::ptr::write(ppsession, core::mem::transmute(ok__)); + ppsession.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2040,7 +2040,7 @@ impl IRTCInfoEvent_Vtbl { let this = (*this).get_impl(); match IRTCInfoEvent_Impl::Participant(this) { Ok(ok__) => { - core::ptr::write(ppparticipant, core::mem::transmute(ok__)); + ppparticipant.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2051,7 +2051,7 @@ impl IRTCInfoEvent_Vtbl { let this = (*this).get_impl(); match IRTCInfoEvent_Impl::Info(this) { Ok(ok__) => { - core::ptr::write(pbstrinfo, core::mem::transmute(ok__)); + pbstrinfo.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2062,7 +2062,7 @@ impl IRTCInfoEvent_Vtbl { let this = (*this).get_impl(); match IRTCInfoEvent_Impl::InfoHeader(this) { Ok(ok__) => { - core::ptr::write(pbstrinfoheader, core::mem::transmute(ok__)); + pbstrinfoheader.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2097,7 +2097,7 @@ impl IRTCIntensityEvent_Vtbl { let this = (*this).get_impl(); match IRTCIntensityEvent_Impl::Level(this) { Ok(ok__) => { - core::ptr::write(pllevel, core::mem::transmute(ok__)); + pllevel.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2108,7 +2108,7 @@ impl IRTCIntensityEvent_Vtbl { let this = (*this).get_impl(); match IRTCIntensityEvent_Impl::Min(this) { Ok(ok__) => { - core::ptr::write(plmin, core::mem::transmute(ok__)); + plmin.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2119,7 +2119,7 @@ impl IRTCIntensityEvent_Vtbl { let this = (*this).get_impl(); match IRTCIntensityEvent_Impl::Max(this) { Ok(ok__) => { - core::ptr::write(plmax, core::mem::transmute(ok__)); + plmax.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2130,7 +2130,7 @@ impl IRTCIntensityEvent_Vtbl { let this = (*this).get_impl(); match IRTCIntensityEvent_Impl::Direction(this) { Ok(ok__) => { - core::ptr::write(pendirection, core::mem::transmute(ok__)); + pendirection.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2164,7 +2164,7 @@ impl IRTCMediaEvent_Vtbl { let this = (*this).get_impl(); match IRTCMediaEvent_Impl::MediaType(this) { Ok(ok__) => { - core::ptr::write(pmediatype, core::mem::transmute(ok__)); + pmediatype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2175,7 +2175,7 @@ impl IRTCMediaEvent_Vtbl { let this = (*this).get_impl(); match IRTCMediaEvent_Impl::EventType(this) { Ok(ok__) => { - core::ptr::write(peneventtype, core::mem::transmute(ok__)); + peneventtype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2186,7 +2186,7 @@ impl IRTCMediaEvent_Vtbl { let this = (*this).get_impl(); match IRTCMediaEvent_Impl::EventReason(this) { Ok(ok__) => { - core::ptr::write(peneventreason, core::mem::transmute(ok__)); + peneventreason.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2223,7 +2223,7 @@ impl IRTCMediaRequestEvent_Vtbl { let this = (*this).get_impl(); match IRTCMediaRequestEvent_Impl::Session(this) { Ok(ok__) => { - core::ptr::write(ppsession, core::mem::transmute(ok__)); + ppsession.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2234,7 +2234,7 @@ impl IRTCMediaRequestEvent_Vtbl { let this = (*this).get_impl(); match IRTCMediaRequestEvent_Impl::ProposedMedia(this) { Ok(ok__) => { - core::ptr::write(plmediatypes, core::mem::transmute(ok__)); + plmediatypes.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2245,7 +2245,7 @@ impl IRTCMediaRequestEvent_Vtbl { let this = (*this).get_impl(); match IRTCMediaRequestEvent_Impl::CurrentMedia(this) { Ok(ok__) => { - core::ptr::write(plmediatypes, core::mem::transmute(ok__)); + plmediatypes.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2261,7 +2261,7 @@ impl IRTCMediaRequestEvent_Vtbl { let this = (*this).get_impl(); match IRTCMediaRequestEvent_Impl::get_RemotePreferredSecurityLevel(this, core::mem::transmute_copy(&ensecuritytype)) { Ok(ok__) => { - core::ptr::write(pensecuritylevel, core::mem::transmute(ok__)); + pensecuritylevel.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2277,7 +2277,7 @@ impl IRTCMediaRequestEvent_Vtbl { let this = (*this).get_impl(); match IRTCMediaRequestEvent_Impl::State(this) { Ok(ok__) => { - core::ptr::write(pstate, core::mem::transmute(ok__)); + pstate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2317,7 +2317,7 @@ impl IRTCMessagingEvent_Vtbl { let this = (*this).get_impl(); match IRTCMessagingEvent_Impl::Session(this) { Ok(ok__) => { - core::ptr::write(ppsession, core::mem::transmute(ok__)); + ppsession.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2328,7 +2328,7 @@ impl IRTCMessagingEvent_Vtbl { let this = (*this).get_impl(); match IRTCMessagingEvent_Impl::Participant(this) { Ok(ok__) => { - core::ptr::write(ppparticipant, core::mem::transmute(ok__)); + ppparticipant.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2339,7 +2339,7 @@ impl IRTCMessagingEvent_Vtbl { let this = (*this).get_impl(); match IRTCMessagingEvent_Impl::EventType(this) { Ok(ok__) => { - core::ptr::write(peneventtype, core::mem::transmute(ok__)); + peneventtype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2350,7 +2350,7 @@ impl IRTCMessagingEvent_Vtbl { let this = (*this).get_impl(); match IRTCMessagingEvent_Impl::Message(this) { Ok(ok__) => { - core::ptr::write(pbstrmessage, core::mem::transmute(ok__)); + pbstrmessage.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2361,7 +2361,7 @@ impl IRTCMessagingEvent_Vtbl { let this = (*this).get_impl(); match IRTCMessagingEvent_Impl::MessageHeader(this) { Ok(ok__) => { - core::ptr::write(pbstrmessageheader, core::mem::transmute(ok__)); + pbstrmessageheader.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2372,7 +2372,7 @@ impl IRTCMessagingEvent_Vtbl { let this = (*this).get_impl(); match IRTCMessagingEvent_Impl::UserStatus(this) { Ok(ok__) => { - core::ptr::write(penuserstatus, core::mem::transmute(ok__)); + penuserstatus.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2407,7 +2407,7 @@ impl IRTCParticipant_Vtbl { let this = (*this).get_impl(); match IRTCParticipant_Impl::UserURI(this) { Ok(ok__) => { - core::ptr::write(pbstruseruri, core::mem::transmute(ok__)); + pbstruseruri.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2418,7 +2418,7 @@ impl IRTCParticipant_Vtbl { let this = (*this).get_impl(); match IRTCParticipant_Impl::Name(this) { Ok(ok__) => { - core::ptr::write(pbstrname, core::mem::transmute(ok__)); + pbstrname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2429,7 +2429,7 @@ impl IRTCParticipant_Vtbl { let this = (*this).get_impl(); match IRTCParticipant_Impl::Removable(this) { Ok(ok__) => { - core::ptr::write(pfremovable, core::mem::transmute(ok__)); + pfremovable.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2440,7 +2440,7 @@ impl IRTCParticipant_Vtbl { let this = (*this).get_impl(); match IRTCParticipant_Impl::State(this) { Ok(ok__) => { - core::ptr::write(penstate, core::mem::transmute(ok__)); + penstate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2451,7 +2451,7 @@ impl IRTCParticipant_Vtbl { let this = (*this).get_impl(); match IRTCParticipant_Impl::Session(this) { Ok(ok__) => { - core::ptr::write(ppsession, core::mem::transmute(ok__)); + ppsession.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2486,7 +2486,7 @@ impl IRTCParticipantStateChangeEvent_Vtbl { let this = (*this).get_impl(); match IRTCParticipantStateChangeEvent_Impl::Participant(this) { Ok(ok__) => { - core::ptr::write(ppparticipant, core::mem::transmute(ok__)); + ppparticipant.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2497,7 +2497,7 @@ impl IRTCParticipantStateChangeEvent_Vtbl { let this = (*this).get_impl(); match IRTCParticipantStateChangeEvent_Impl::State(this) { Ok(ok__) => { - core::ptr::write(penstate, core::mem::transmute(ok__)); + penstate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2508,7 +2508,7 @@ impl IRTCParticipantStateChangeEvent_Vtbl { let this = (*this).get_impl(); match IRTCParticipantStateChangeEvent_Impl::StatusCode(this) { Ok(ok__) => { - core::ptr::write(plstatuscode, core::mem::transmute(ok__)); + plstatuscode.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2577,7 +2577,7 @@ impl IRTCPresenceContact_Vtbl { let this = (*this).get_impl(); match IRTCPresenceContact_Impl::PresentityURI(this) { Ok(ok__) => { - core::ptr::write(pbstrpresentityuri, core::mem::transmute(ok__)); + pbstrpresentityuri.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2593,7 +2593,7 @@ impl IRTCPresenceContact_Vtbl { let this = (*this).get_impl(); match IRTCPresenceContact_Impl::Name(this) { Ok(ok__) => { - core::ptr::write(pbstrname, core::mem::transmute(ok__)); + pbstrname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2609,7 +2609,7 @@ impl IRTCPresenceContact_Vtbl { let this = (*this).get_impl(); match IRTCPresenceContact_Impl::Data(this) { Ok(ok__) => { - core::ptr::write(pbstrdata, core::mem::transmute(ok__)); + pbstrdata.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2625,7 +2625,7 @@ impl IRTCPresenceContact_Vtbl { let this = (*this).get_impl(); match IRTCPresenceContact_Impl::Persistent(this) { Ok(ok__) => { - core::ptr::write(pfpersistent, core::mem::transmute(ok__)); + pfpersistent.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2668,7 +2668,7 @@ impl IRTCPresenceDataEvent_Vtbl { let this = (*this).get_impl(); match IRTCPresenceDataEvent_Impl::StatusCode(this) { Ok(ok__) => { - core::ptr::write(plstatuscode, core::mem::transmute(ok__)); + plstatuscode.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2679,7 +2679,7 @@ impl IRTCPresenceDataEvent_Vtbl { let this = (*this).get_impl(); match IRTCPresenceDataEvent_Impl::StatusText(this) { Ok(ok__) => { - core::ptr::write(pbstrstatustext, core::mem::transmute(ok__)); + pbstrstatustext.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2715,7 +2715,7 @@ impl IRTCPresenceDevice_Vtbl { let this = (*this).get_impl(); match IRTCPresenceDevice_Impl::Status(this) { Ok(ok__) => { - core::ptr::write(penstatus, core::mem::transmute(ok__)); + penstatus.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2726,7 +2726,7 @@ impl IRTCPresenceDevice_Vtbl { let this = (*this).get_impl(); match IRTCPresenceDevice_Impl::Notes(this) { Ok(ok__) => { - core::ptr::write(pbstrnotes, core::mem::transmute(ok__)); + pbstrnotes.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2737,7 +2737,7 @@ impl IRTCPresenceDevice_Vtbl { let this = (*this).get_impl(); match IRTCPresenceDevice_Impl::get_PresenceProperty(this, core::mem::transmute_copy(&enproperty)) { Ok(ok__) => { - core::ptr::write(pbstrproperty, core::mem::transmute(ok__)); + pbstrproperty.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2777,7 +2777,7 @@ impl IRTCPresencePropertyEvent_Vtbl { let this = (*this).get_impl(); match IRTCPresencePropertyEvent_Impl::StatusCode(this) { Ok(ok__) => { - core::ptr::write(plstatuscode, core::mem::transmute(ok__)); + plstatuscode.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2788,7 +2788,7 @@ impl IRTCPresencePropertyEvent_Vtbl { let this = (*this).get_impl(); match IRTCPresencePropertyEvent_Impl::StatusText(this) { Ok(ok__) => { - core::ptr::write(pbstrstatustext, core::mem::transmute(ok__)); + pbstrstatustext.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2799,7 +2799,7 @@ impl IRTCPresencePropertyEvent_Vtbl { let this = (*this).get_impl(); match IRTCPresencePropertyEvent_Impl::PresenceProperty(this) { Ok(ok__) => { - core::ptr::write(penpresprop, core::mem::transmute(ok__)); + penpresprop.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2810,7 +2810,7 @@ impl IRTCPresencePropertyEvent_Vtbl { let this = (*this).get_impl(); match IRTCPresencePropertyEvent_Impl::Value(this) { Ok(ok__) => { - core::ptr::write(pbstrvalue, core::mem::transmute(ok__)); + pbstrvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2844,7 +2844,7 @@ impl IRTCPresenceStatusEvent_Vtbl { let this = (*this).get_impl(); match IRTCPresenceStatusEvent_Impl::StatusCode(this) { Ok(ok__) => { - core::ptr::write(plstatuscode, core::mem::transmute(ok__)); + plstatuscode.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2855,7 +2855,7 @@ impl IRTCPresenceStatusEvent_Vtbl { let this = (*this).get_impl(); match IRTCPresenceStatusEvent_Impl::StatusText(this) { Ok(ok__) => { - core::ptr::write(pbstrstatustext, core::mem::transmute(ok__)); + pbstrstatustext.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2905,7 +2905,7 @@ impl IRTCProfile_Vtbl { let this = (*this).get_impl(); match IRTCProfile_Impl::Key(this) { Ok(ok__) => { - core::ptr::write(pbstrkey, core::mem::transmute(ok__)); + pbstrkey.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2916,7 +2916,7 @@ impl IRTCProfile_Vtbl { let this = (*this).get_impl(); match IRTCProfile_Impl::Name(this) { Ok(ok__) => { - core::ptr::write(pbstrname, core::mem::transmute(ok__)); + pbstrname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2927,7 +2927,7 @@ impl IRTCProfile_Vtbl { let this = (*this).get_impl(); match IRTCProfile_Impl::XML(this) { Ok(ok__) => { - core::ptr::write(pbstrxml, core::mem::transmute(ok__)); + pbstrxml.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2938,7 +2938,7 @@ impl IRTCProfile_Vtbl { let this = (*this).get_impl(); match IRTCProfile_Impl::ProviderName(this) { Ok(ok__) => { - core::ptr::write(pbstrname, core::mem::transmute(ok__)); + pbstrname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2949,7 +2949,7 @@ impl IRTCProfile_Vtbl { let this = (*this).get_impl(); match IRTCProfile_Impl::get_ProviderURI(this, core::mem::transmute_copy(&enuri)) { Ok(ok__) => { - core::ptr::write(pbstruri, core::mem::transmute(ok__)); + pbstruri.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2960,7 +2960,7 @@ impl IRTCProfile_Vtbl { let this = (*this).get_impl(); match IRTCProfile_Impl::ProviderData(this) { Ok(ok__) => { - core::ptr::write(pbstrdata, core::mem::transmute(ok__)); + pbstrdata.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2971,7 +2971,7 @@ impl IRTCProfile_Vtbl { let this = (*this).get_impl(); match IRTCProfile_Impl::ClientName(this) { Ok(ok__) => { - core::ptr::write(pbstrname, core::mem::transmute(ok__)); + pbstrname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2982,7 +2982,7 @@ impl IRTCProfile_Vtbl { let this = (*this).get_impl(); match IRTCProfile_Impl::ClientBanner(this) { Ok(ok__) => { - core::ptr::write(pfbanner, core::mem::transmute(ok__)); + pfbanner.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2993,7 +2993,7 @@ impl IRTCProfile_Vtbl { let this = (*this).get_impl(); match IRTCProfile_Impl::ClientMinVer(this) { Ok(ok__) => { - core::ptr::write(pbstrminver, core::mem::transmute(ok__)); + pbstrminver.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3004,7 +3004,7 @@ impl IRTCProfile_Vtbl { let this = (*this).get_impl(); match IRTCProfile_Impl::ClientCurVer(this) { Ok(ok__) => { - core::ptr::write(pbstrcurver, core::mem::transmute(ok__)); + pbstrcurver.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3015,7 +3015,7 @@ impl IRTCProfile_Vtbl { let this = (*this).get_impl(); match IRTCProfile_Impl::ClientUpdateURI(this) { Ok(ok__) => { - core::ptr::write(pbstrupdateuri, core::mem::transmute(ok__)); + pbstrupdateuri.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3026,7 +3026,7 @@ impl IRTCProfile_Vtbl { let this = (*this).get_impl(); match IRTCProfile_Impl::ClientData(this) { Ok(ok__) => { - core::ptr::write(pbstrdata, core::mem::transmute(ok__)); + pbstrdata.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3037,7 +3037,7 @@ impl IRTCProfile_Vtbl { let this = (*this).get_impl(); match IRTCProfile_Impl::UserURI(this) { Ok(ok__) => { - core::ptr::write(pbstruseruri, core::mem::transmute(ok__)); + pbstruseruri.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3048,7 +3048,7 @@ impl IRTCProfile_Vtbl { let this = (*this).get_impl(); match IRTCProfile_Impl::UserName(this) { Ok(ok__) => { - core::ptr::write(pbstrusername, core::mem::transmute(ok__)); + pbstrusername.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3059,7 +3059,7 @@ impl IRTCProfile_Vtbl { let this = (*this).get_impl(); match IRTCProfile_Impl::UserAccount(this) { Ok(ok__) => { - core::ptr::write(pbstruseraccount, core::mem::transmute(ok__)); + pbstruseraccount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3075,7 +3075,7 @@ impl IRTCProfile_Vtbl { let this = (*this).get_impl(); match IRTCProfile_Impl::SessionCapabilities(this) { Ok(ok__) => { - core::ptr::write(plsupportedsessions, core::mem::transmute(ok__)); + plsupportedsessions.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3086,7 +3086,7 @@ impl IRTCProfile_Vtbl { let this = (*this).get_impl(); match IRTCProfile_Impl::State(this) { Ok(ok__) => { - core::ptr::write(penstate, core::mem::transmute(ok__)); + penstate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3132,7 +3132,7 @@ impl IRTCProfile2_Vtbl { let this = (*this).get_impl(); match IRTCProfile2_Impl::Realm(this) { Ok(ok__) => { - core::ptr::write(pbstrrealm, core::mem::transmute(ok__)); + pbstrrealm.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3148,7 +3148,7 @@ impl IRTCProfile2_Vtbl { let this = (*this).get_impl(); match IRTCProfile2_Impl::AllowedAuth(this) { Ok(ok__) => { - core::ptr::write(plallowedauth, core::mem::transmute(ok__)); + plallowedauth.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3187,7 +3187,7 @@ impl IRTCProfileEvent_Vtbl { let this = (*this).get_impl(); match IRTCProfileEvent_Impl::Profile(this) { Ok(ok__) => { - core::ptr::write(ppprofile, core::mem::transmute(ok__)); + ppprofile.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3198,7 +3198,7 @@ impl IRTCProfileEvent_Vtbl { let this = (*this).get_impl(); match IRTCProfileEvent_Impl::Cookie(this) { Ok(ok__) => { - core::ptr::write(plcookie, core::mem::transmute(ok__)); + plcookie.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3209,7 +3209,7 @@ impl IRTCProfileEvent_Vtbl { let this = (*this).get_impl(); match IRTCProfileEvent_Impl::StatusCode(this) { Ok(ok__) => { - core::ptr::write(plstatuscode, core::mem::transmute(ok__)); + plstatuscode.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3240,7 +3240,7 @@ impl IRTCProfileEvent2_Vtbl { let this = (*this).get_impl(); match IRTCProfileEvent2_Impl::EventType(this) { Ok(ok__) => { - core::ptr::write(peventtype, core::mem::transmute(ok__)); + peventtype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3270,7 +3270,7 @@ impl IRTCReInviteEvent_Vtbl { let this = (*this).get_impl(); match IRTCReInviteEvent_Impl::Session(this) { Ok(ok__) => { - core::ptr::write(ppsession2, core::mem::transmute(ok__)); + ppsession2.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3291,7 +3291,7 @@ impl IRTCReInviteEvent_Vtbl { let this = (*this).get_impl(); match IRTCReInviteEvent_Impl::State(this) { Ok(ok__) => { - core::ptr::write(pstate, core::mem::transmute(ok__)); + pstate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3332,7 +3332,7 @@ impl IRTCRegistrationStateChangeEvent_Vtbl { let this = (*this).get_impl(); match IRTCRegistrationStateChangeEvent_Impl::Profile(this) { Ok(ok__) => { - core::ptr::write(ppprofile, core::mem::transmute(ok__)); + ppprofile.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3343,7 +3343,7 @@ impl IRTCRegistrationStateChangeEvent_Vtbl { let this = (*this).get_impl(); match IRTCRegistrationStateChangeEvent_Impl::State(this) { Ok(ok__) => { - core::ptr::write(penstate, core::mem::transmute(ok__)); + penstate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3354,7 +3354,7 @@ impl IRTCRegistrationStateChangeEvent_Vtbl { let this = (*this).get_impl(); match IRTCRegistrationStateChangeEvent_Impl::StatusCode(this) { Ok(ok__) => { - core::ptr::write(plstatuscode, core::mem::transmute(ok__)); + plstatuscode.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3365,7 +3365,7 @@ impl IRTCRegistrationStateChangeEvent_Vtbl { let this = (*this).get_impl(); match IRTCRegistrationStateChangeEvent_Impl::StatusText(this) { Ok(ok__) => { - core::ptr::write(pbstrstatustext, core::mem::transmute(ok__)); + pbstrstatustext.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3400,7 +3400,7 @@ impl IRTCRoamingEvent_Vtbl { let this = (*this).get_impl(); match IRTCRoamingEvent_Impl::EventType(this) { Ok(ok__) => { - core::ptr::write(peventtype, core::mem::transmute(ok__)); + peventtype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3411,7 +3411,7 @@ impl IRTCRoamingEvent_Vtbl { let this = (*this).get_impl(); match IRTCRoamingEvent_Impl::Profile(this) { Ok(ok__) => { - core::ptr::write(ppprofile, core::mem::transmute(ok__)); + ppprofile.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3422,7 +3422,7 @@ impl IRTCRoamingEvent_Vtbl { let this = (*this).get_impl(); match IRTCRoamingEvent_Impl::StatusCode(this) { Ok(ok__) => { - core::ptr::write(plstatuscode, core::mem::transmute(ok__)); + plstatuscode.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3433,7 +3433,7 @@ impl IRTCRoamingEvent_Vtbl { let this = (*this).get_impl(); match IRTCRoamingEvent_Impl::StatusText(this) { Ok(ok__) => { - core::ptr::write(pbstrstatustext, core::mem::transmute(ok__)); + pbstrstatustext.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3484,7 +3484,7 @@ impl IRTCSession_Vtbl { let this = (*this).get_impl(); match IRTCSession_Impl::Client(this) { Ok(ok__) => { - core::ptr::write(ppclient, core::mem::transmute(ok__)); + ppclient.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3495,7 +3495,7 @@ impl IRTCSession_Vtbl { let this = (*this).get_impl(); match IRTCSession_Impl::State(this) { Ok(ok__) => { - core::ptr::write(penstate, core::mem::transmute(ok__)); + penstate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3506,7 +3506,7 @@ impl IRTCSession_Vtbl { let this = (*this).get_impl(); match IRTCSession_Impl::Type(this) { Ok(ok__) => { - core::ptr::write(pentype, core::mem::transmute(ok__)); + pentype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3517,7 +3517,7 @@ impl IRTCSession_Vtbl { let this = (*this).get_impl(); match IRTCSession_Impl::Profile(this) { Ok(ok__) => { - core::ptr::write(ppprofile, core::mem::transmute(ok__)); + ppprofile.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3528,7 +3528,7 @@ impl IRTCSession_Vtbl { let this = (*this).get_impl(); match IRTCSession_Impl::Participants(this) { Ok(ok__) => { - core::ptr::write(ppcollection, core::mem::transmute(ok__)); + ppcollection.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3554,7 +3554,7 @@ impl IRTCSession_Vtbl { let this = (*this).get_impl(); match IRTCSession_Impl::AddParticipant(this, core::mem::transmute(&bstraddress), core::mem::transmute(&bstrname)) { Ok(ok__) => { - core::ptr::write(ppparticipant, core::mem::transmute(ok__)); + ppparticipant.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3570,7 +3570,7 @@ impl IRTCSession_Vtbl { let this = (*this).get_impl(); match IRTCSession_Impl::EnumerateParticipants(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3581,7 +3581,7 @@ impl IRTCSession_Vtbl { let this = (*this).get_impl(); match IRTCSession_Impl::CanAddParticipants(this) { Ok(ok__) => { - core::ptr::write(pfcanadd, core::mem::transmute(ok__)); + pfcanadd.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3592,7 +3592,7 @@ impl IRTCSession_Vtbl { let this = (*this).get_impl(); match IRTCSession_Impl::RedirectedUserURI(this) { Ok(ok__) => { - core::ptr::write(pbstruseruri, core::mem::transmute(ok__)); + pbstruseruri.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3603,7 +3603,7 @@ impl IRTCSession_Vtbl { let this = (*this).get_impl(); match IRTCSession_Impl::RedirectedUserName(this) { Ok(ok__) => { - core::ptr::write(pbstrusername, core::mem::transmute(ok__)); + pbstrusername.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3696,7 +3696,7 @@ impl IRTCSession2_Vtbl { let this = (*this).get_impl(); match IRTCSession2_Impl::get_PreferredSecurityLevel(this, core::mem::transmute_copy(&ensecuritytype)) { Ok(ok__) => { - core::ptr::write(pensecuritylevel, core::mem::transmute(ok__)); + pensecuritylevel.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3707,7 +3707,7 @@ impl IRTCSession2_Vtbl { let this = (*this).get_impl(); match IRTCSession2_Impl::IsSecurityEnabled(this, core::mem::transmute_copy(&ensecuritytype)) { Ok(ok__) => { - core::ptr::write(pfsecurityenabled, core::mem::transmute(ok__)); + pfsecurityenabled.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3781,7 +3781,7 @@ impl IRTCSessionCallControl_Vtbl { let this = (*this).get_impl(); match IRTCSessionCallControl_Impl::ReferredByURI(this) { Ok(ok__) => { - core::ptr::write(pbstrreferredbyuri, core::mem::transmute(ok__)); + pbstrreferredbyuri.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3797,7 +3797,7 @@ impl IRTCSessionCallControl_Vtbl { let this = (*this).get_impl(); match IRTCSessionCallControl_Impl::ReferCookie(this) { Ok(ok__) => { - core::ptr::write(pbstrrefercookie, core::mem::transmute(ok__)); + pbstrrefercookie.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3808,7 +3808,7 @@ impl IRTCSessionCallControl_Vtbl { let this = (*this).get_impl(); match IRTCSessionCallControl_Impl::IsReferred(this) { Ok(ok__) => { - core::ptr::write(pfisreferred, core::mem::transmute(ok__)); + pfisreferred.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3865,7 +3865,7 @@ impl IRTCSessionOperationCompleteEvent_Vtbl { let this = (*this).get_impl(); match IRTCSessionOperationCompleteEvent_Impl::Session(this) { Ok(ok__) => { - core::ptr::write(ppsession, core::mem::transmute(ok__)); + ppsession.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3876,7 +3876,7 @@ impl IRTCSessionOperationCompleteEvent_Vtbl { let this = (*this).get_impl(); match IRTCSessionOperationCompleteEvent_Impl::Cookie(this) { Ok(ok__) => { - core::ptr::write(plcookie, core::mem::transmute(ok__)); + plcookie.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3887,7 +3887,7 @@ impl IRTCSessionOperationCompleteEvent_Vtbl { let this = (*this).get_impl(); match IRTCSessionOperationCompleteEvent_Impl::StatusCode(this) { Ok(ok__) => { - core::ptr::write(plstatuscode, core::mem::transmute(ok__)); + plstatuscode.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3898,7 +3898,7 @@ impl IRTCSessionOperationCompleteEvent_Vtbl { let this = (*this).get_impl(); match IRTCSessionOperationCompleteEvent_Impl::StatusText(this) { Ok(ok__) => { - core::ptr::write(pbstrstatustext, core::mem::transmute(ok__)); + pbstrstatustext.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3931,7 +3931,7 @@ impl IRTCSessionOperationCompleteEvent2_Vtbl { let this = (*this).get_impl(); match IRTCSessionOperationCompleteEvent2_Impl::Participant(this) { Ok(ok__) => { - core::ptr::write(ppparticipant, core::mem::transmute(ok__)); + ppparticipant.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3986,7 +3986,7 @@ impl IRTCSessionReferStatusEvent_Vtbl { let this = (*this).get_impl(); match IRTCSessionReferStatusEvent_Impl::Session(this) { Ok(ok__) => { - core::ptr::write(ppsession, core::mem::transmute(ok__)); + ppsession.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3997,7 +3997,7 @@ impl IRTCSessionReferStatusEvent_Vtbl { let this = (*this).get_impl(); match IRTCSessionReferStatusEvent_Impl::ReferStatus(this) { Ok(ok__) => { - core::ptr::write(penreferstatus, core::mem::transmute(ok__)); + penreferstatus.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4008,7 +4008,7 @@ impl IRTCSessionReferStatusEvent_Vtbl { let this = (*this).get_impl(); match IRTCSessionReferStatusEvent_Impl::StatusCode(this) { Ok(ok__) => { - core::ptr::write(plstatuscode, core::mem::transmute(ok__)); + plstatuscode.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4019,7 +4019,7 @@ impl IRTCSessionReferStatusEvent_Vtbl { let this = (*this).get_impl(); match IRTCSessionReferStatusEvent_Impl::StatusText(this) { Ok(ok__) => { - core::ptr::write(pbstrstatustext, core::mem::transmute(ok__)); + pbstrstatustext.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4057,7 +4057,7 @@ impl IRTCSessionReferredEvent_Vtbl { let this = (*this).get_impl(); match IRTCSessionReferredEvent_Impl::Session(this) { Ok(ok__) => { - core::ptr::write(ppsession, core::mem::transmute(ok__)); + ppsession.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4068,7 +4068,7 @@ impl IRTCSessionReferredEvent_Vtbl { let this = (*this).get_impl(); match IRTCSessionReferredEvent_Impl::ReferredByURI(this) { Ok(ok__) => { - core::ptr::write(pbstrreferredbyuri, core::mem::transmute(ok__)); + pbstrreferredbyuri.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4079,7 +4079,7 @@ impl IRTCSessionReferredEvent_Vtbl { let this = (*this).get_impl(); match IRTCSessionReferredEvent_Impl::ReferToURI(this) { Ok(ok__) => { - core::ptr::write(pbstrreferouri, core::mem::transmute(ok__)); + pbstrreferouri.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4090,7 +4090,7 @@ impl IRTCSessionReferredEvent_Vtbl { let this = (*this).get_impl(); match IRTCSessionReferredEvent_Impl::ReferCookie(this) { Ok(ok__) => { - core::ptr::write(pbstrrefercookie, core::mem::transmute(ok__)); + pbstrrefercookie.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4143,7 +4143,7 @@ impl IRTCSessionStateChangeEvent_Vtbl { let this = (*this).get_impl(); match IRTCSessionStateChangeEvent_Impl::Session(this) { Ok(ok__) => { - core::ptr::write(ppsession, core::mem::transmute(ok__)); + ppsession.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4154,7 +4154,7 @@ impl IRTCSessionStateChangeEvent_Vtbl { let this = (*this).get_impl(); match IRTCSessionStateChangeEvent_Impl::State(this) { Ok(ok__) => { - core::ptr::write(penstate, core::mem::transmute(ok__)); + penstate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4165,7 +4165,7 @@ impl IRTCSessionStateChangeEvent_Vtbl { let this = (*this).get_impl(); match IRTCSessionStateChangeEvent_Impl::StatusCode(this) { Ok(ok__) => { - core::ptr::write(plstatuscode, core::mem::transmute(ok__)); + plstatuscode.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4176,7 +4176,7 @@ impl IRTCSessionStateChangeEvent_Vtbl { let this = (*this).get_impl(); match IRTCSessionStateChangeEvent_Impl::StatusText(this) { Ok(ok__) => { - core::ptr::write(pbstrstatustext, core::mem::transmute(ok__)); + pbstrstatustext.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4211,7 +4211,7 @@ impl IRTCSessionStateChangeEvent2_Vtbl { let this = (*this).get_impl(); match IRTCSessionStateChangeEvent2_Impl::MediaTypes(this) { Ok(ok__) => { - core::ptr::write(pmediatypes, core::mem::transmute(ok__)); + pmediatypes.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4222,7 +4222,7 @@ impl IRTCSessionStateChangeEvent2_Vtbl { let this = (*this).get_impl(); match IRTCSessionStateChangeEvent2_Impl::get_RemotePreferredSecurityLevel(this, core::mem::transmute_copy(&ensecuritytype)) { Ok(ok__) => { - core::ptr::write(pensecuritylevel, core::mem::transmute(ok__)); + pensecuritylevel.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4233,7 +4233,7 @@ impl IRTCSessionStateChangeEvent2_Vtbl { let this = (*this).get_impl(); match IRTCSessionStateChangeEvent2_Impl::IsForked(this) { Ok(ok__) => { - core::ptr::write(pfisforked, core::mem::transmute(ok__)); + pfisforked.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4268,7 +4268,7 @@ impl IRTCUserSearch_Vtbl { let this = (*this).get_impl(); match IRTCUserSearch_Impl::CreateQuery(this) { Ok(ok__) => { - core::ptr::write(ppquery, core::mem::transmute(ok__)); + ppquery.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4311,7 +4311,7 @@ impl IRTCUserSearchQuery_Vtbl { let this = (*this).get_impl(); match IRTCUserSearchQuery_Impl::get_SearchTerm(this, core::mem::transmute(&bstrname)) { Ok(ok__) => { - core::ptr::write(pbstrvalue, core::mem::transmute(ok__)); + pbstrvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4322,7 +4322,7 @@ impl IRTCUserSearchQuery_Vtbl { let this = (*this).get_impl(); match IRTCUserSearchQuery_Impl::SearchTerms(this) { Ok(ok__) => { - core::ptr::write(pbstrnames, core::mem::transmute(ok__)); + pbstrnames.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4338,7 +4338,7 @@ impl IRTCUserSearchQuery_Vtbl { let this = (*this).get_impl(); match IRTCUserSearchQuery_Impl::get_SearchPreference(this, core::mem::transmute_copy(&enpreference)) { Ok(ok__) => { - core::ptr::write(plvalue, core::mem::transmute(ok__)); + plvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4354,7 +4354,7 @@ impl IRTCUserSearchQuery_Vtbl { let this = (*this).get_impl(); match IRTCUserSearchQuery_Impl::SearchDomain(this) { Ok(ok__) => { - core::ptr::write(pbstrdomain, core::mem::transmute(ok__)); + pbstrdomain.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4386,7 +4386,7 @@ impl IRTCUserSearchResult_Vtbl { let this = (*this).get_impl(); match IRTCUserSearchResult_Impl::get_Value(this, core::mem::transmute_copy(&encolumn)) { Ok(ok__) => { - core::ptr::write(pbstrvalue, core::mem::transmute(ok__)); + pbstrvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4418,7 +4418,7 @@ impl IRTCUserSearchResultsEvent_Vtbl { let this = (*this).get_impl(); match IRTCUserSearchResultsEvent_Impl::EnumerateResults(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4429,7 +4429,7 @@ impl IRTCUserSearchResultsEvent_Vtbl { let this = (*this).get_impl(); match IRTCUserSearchResultsEvent_Impl::Results(this) { Ok(ok__) => { - core::ptr::write(ppcollection, core::mem::transmute(ok__)); + ppcollection.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4440,7 +4440,7 @@ impl IRTCUserSearchResultsEvent_Vtbl { let this = (*this).get_impl(); match IRTCUserSearchResultsEvent_Impl::Profile(this) { Ok(ok__) => { - core::ptr::write(ppprofile, core::mem::transmute(ok__)); + ppprofile.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4451,7 +4451,7 @@ impl IRTCUserSearchResultsEvent_Vtbl { let this = (*this).get_impl(); match IRTCUserSearchResultsEvent_Impl::Query(this) { Ok(ok__) => { - core::ptr::write(ppquery, core::mem::transmute(ok__)); + ppquery.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4462,7 +4462,7 @@ impl IRTCUserSearchResultsEvent_Vtbl { let this = (*this).get_impl(); match IRTCUserSearchResultsEvent_Impl::Cookie(this) { Ok(ok__) => { - core::ptr::write(plcookie, core::mem::transmute(ok__)); + plcookie.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4473,7 +4473,7 @@ impl IRTCUserSearchResultsEvent_Vtbl { let this = (*this).get_impl(); match IRTCUserSearchResultsEvent_Impl::StatusCode(this) { Ok(ok__) => { - core::ptr::write(plstatuscode, core::mem::transmute(ok__)); + plstatuscode.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4484,7 +4484,7 @@ impl IRTCUserSearchResultsEvent_Vtbl { let this = (*this).get_impl(); match IRTCUserSearchResultsEvent_Impl::MoreAvailable(this) { Ok(ok__) => { - core::ptr::write(pfmoreavailable, core::mem::transmute(ok__)); + pfmoreavailable.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4517,7 +4517,7 @@ impl IRTCWatcher_Vtbl { let this = (*this).get_impl(); match IRTCWatcher_Impl::State(this) { Ok(ok__) => { - core::ptr::write(penstate, core::mem::transmute(ok__)); + penstate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4550,7 +4550,7 @@ impl IRTCWatcher2_Vtbl { let this = (*this).get_impl(); match IRTCWatcher2_Impl::Profile(this) { Ok(ok__) => { - core::ptr::write(ppprofile, core::mem::transmute(ok__)); + ppprofile.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4561,7 +4561,7 @@ impl IRTCWatcher2_Vtbl { let this = (*this).get_impl(); match IRTCWatcher2_Impl::Scope(this) { Ok(ok__) => { - core::ptr::write(penscope, core::mem::transmute(ok__)); + penscope.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4587,7 +4587,7 @@ impl IRTCWatcherEvent_Vtbl { let this = (*this).get_impl(); match IRTCWatcherEvent_Impl::Watcher(this) { Ok(ok__) => { - core::ptr::write(ppwatcher, core::mem::transmute(ok__)); + ppwatcher.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4614,7 +4614,7 @@ impl IRTCWatcherEvent2_Vtbl { let this = (*this).get_impl(); match IRTCWatcherEvent2_Impl::EventType(this) { Ok(ok__) => { - core::ptr::write(peventtype, core::mem::transmute(ok__)); + peventtype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4625,7 +4625,7 @@ impl IRTCWatcherEvent2_Vtbl { let this = (*this).get_impl(); match IRTCWatcherEvent2_Impl::StatusCode(this) { Ok(ok__) => { - core::ptr::write(plstatuscode, core::mem::transmute(ok__)); + plstatuscode.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/Win32/System/RemoteAssistance/impl.rs b/crates/libs/windows/src/Windows/Win32/System/RemoteAssistance/impl.rs index ea397b63ad..3f94bc15b6 100644 --- a/crates/libs/windows/src/Windows/Win32/System/RemoteAssistance/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/RemoteAssistance/impl.rs @@ -43,7 +43,7 @@ impl IRendezvousSession_Vtbl { let this = (*this).get_impl(); match IRendezvousSession_Impl::State(this) { Ok(ok__) => { - core::ptr::write(psessionstate, core::mem::transmute(ok__)); + psessionstate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -54,7 +54,7 @@ impl IRendezvousSession_Vtbl { let this = (*this).get_impl(); match IRendezvousSession_Impl::RemoteUser(this) { Ok(ok__) => { - core::ptr::write(bstrusername, core::mem::transmute(ok__)); + bstrusername.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -65,7 +65,7 @@ impl IRendezvousSession_Vtbl { let this = (*this).get_impl(); match IRendezvousSession_Impl::Flags(this) { Ok(ok__) => { - core::ptr::write(pflags, core::mem::transmute(ok__)); + pflags.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/Win32/System/RemoteDesktop/impl.rs b/crates/libs/windows/src/Windows/Win32/System/RemoteDesktop/impl.rs index 169673a892..0dbe4a45de 100644 --- a/crates/libs/windows/src/Windows/Win32/System/RemoteDesktop/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/RemoteDesktop/impl.rs @@ -41,7 +41,7 @@ impl IADsTSUserEx_Vtbl { let this = (*this).get_impl(); match IADsTSUserEx_Impl::TerminalServicesProfilePath(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -57,7 +57,7 @@ impl IADsTSUserEx_Vtbl { let this = (*this).get_impl(); match IADsTSUserEx_Impl::TerminalServicesHomeDirectory(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -73,7 +73,7 @@ impl IADsTSUserEx_Vtbl { let this = (*this).get_impl(); match IADsTSUserEx_Impl::TerminalServicesHomeDrive(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -89,7 +89,7 @@ impl IADsTSUserEx_Vtbl { let this = (*this).get_impl(); match IADsTSUserEx_Impl::AllowLogon(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -105,7 +105,7 @@ impl IADsTSUserEx_Vtbl { let this = (*this).get_impl(); match IADsTSUserEx_Impl::EnableRemoteControl(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -121,7 +121,7 @@ impl IADsTSUserEx_Vtbl { let this = (*this).get_impl(); match IADsTSUserEx_Impl::MaxDisconnectionTime(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -137,7 +137,7 @@ impl IADsTSUserEx_Vtbl { let this = (*this).get_impl(); match IADsTSUserEx_Impl::MaxConnectionTime(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -153,7 +153,7 @@ impl IADsTSUserEx_Vtbl { let this = (*this).get_impl(); match IADsTSUserEx_Impl::MaxIdleTime(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -169,7 +169,7 @@ impl IADsTSUserEx_Vtbl { let this = (*this).get_impl(); match IADsTSUserEx_Impl::ReconnectionAction(this) { Ok(ok__) => { - core::ptr::write(pnewval, core::mem::transmute(ok__)); + pnewval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -185,7 +185,7 @@ impl IADsTSUserEx_Vtbl { let this = (*this).get_impl(); match IADsTSUserEx_Impl::BrokenConnectionAction(this) { Ok(ok__) => { - core::ptr::write(pnewval, core::mem::transmute(ok__)); + pnewval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -201,7 +201,7 @@ impl IADsTSUserEx_Vtbl { let this = (*this).get_impl(); match IADsTSUserEx_Impl::ConnectClientDrivesAtLogon(this) { Ok(ok__) => { - core::ptr::write(pnewval, core::mem::transmute(ok__)); + pnewval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -217,7 +217,7 @@ impl IADsTSUserEx_Vtbl { let this = (*this).get_impl(); match IADsTSUserEx_Impl::ConnectClientPrintersAtLogon(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -233,7 +233,7 @@ impl IADsTSUserEx_Vtbl { let this = (*this).get_impl(); match IADsTSUserEx_Impl::DefaultToMainPrinter(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -249,7 +249,7 @@ impl IADsTSUserEx_Vtbl { let this = (*this).get_impl(); match IADsTSUserEx_Impl::TerminalServicesWorkDirectory(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -265,7 +265,7 @@ impl IADsTSUserEx_Vtbl { let this = (*this).get_impl(); match IADsTSUserEx_Impl::TerminalServicesInitialProgram(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -333,7 +333,7 @@ impl IAudioDeviceEndpoint_Vtbl { let this = (*this).get_impl(); match IAudioDeviceEndpoint_Impl::GetRTCaps(this) { Ok(ok__) => { - core::ptr::write(pbisrtcapable, core::mem::transmute(ok__)); + pbisrtcapable.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -344,7 +344,7 @@ impl IAudioDeviceEndpoint_Vtbl { let this = (*this).get_impl(); match IAudioDeviceEndpoint_Impl::GetEventDrivenCapable(this) { Ok(ok__) => { - core::ptr::write(pbiseventcapable, core::mem::transmute(ok__)); + pbiseventcapable.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -385,7 +385,7 @@ impl IAudioEndpoint_Vtbl { let this = (*this).get_impl(); match IAudioEndpoint_Impl::GetFrameFormat(this) { Ok(ok__) => { - core::ptr::write(ppformat, core::mem::transmute(ok__)); + ppformat.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -396,7 +396,7 @@ impl IAudioEndpoint_Vtbl { let this = (*this).get_impl(); match IAudioEndpoint_Impl::GetFramesPerPacket(this) { Ok(ok__) => { - core::ptr::write(pframesperpacket, core::mem::transmute(ok__)); + pframesperpacket.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -407,7 +407,7 @@ impl IAudioEndpoint_Vtbl { let this = (*this).get_impl(); match IAudioEndpoint_Impl::GetLatency(this) { Ok(ok__) => { - core::ptr::write(platency, core::mem::transmute(ok__)); + platency.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -623,7 +623,7 @@ impl IRemoteDesktopClient_Vtbl { let this = (*this).get_impl(); match IRemoteDesktopClient_Impl::Settings(this) { Ok(ok__) => { - core::ptr::write(settings, core::mem::transmute(ok__)); + settings.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -634,7 +634,7 @@ impl IRemoteDesktopClient_Vtbl { let this = (*this).get_impl(); match IRemoteDesktopClient_Impl::Actions(this) { Ok(ok__) => { - core::ptr::write(actions, core::mem::transmute(ok__)); + actions.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -645,7 +645,7 @@ impl IRemoteDesktopClient_Vtbl { let this = (*this).get_impl(); match IRemoteDesktopClient_Impl::TouchPointer(this) { Ok(ok__) => { - core::ptr::write(touchpointer, core::mem::transmute(ok__)); + touchpointer.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -721,7 +721,7 @@ impl IRemoteDesktopClientActions_Vtbl { let this = (*this).get_impl(); match IRemoteDesktopClientActions_Impl::GetSnapshot(this, core::mem::transmute_copy(&snapshotencoding), core::mem::transmute_copy(&snapshotformat), core::mem::transmute_copy(&snapshotwidth), core::mem::transmute_copy(&snapshotheight)) { Ok(ok__) => { - core::ptr::write(snapshotdata, core::mem::transmute(ok__)); + snapshotdata.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -761,7 +761,7 @@ impl IRemoteDesktopClientSettings_Vtbl { let this = (*this).get_impl(); match IRemoteDesktopClientSettings_Impl::RetrieveSettings(this) { Ok(ok__) => { - core::ptr::write(rdpfilecontents, core::mem::transmute(ok__)); + rdpfilecontents.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -772,7 +772,7 @@ impl IRemoteDesktopClientSettings_Vtbl { let this = (*this).get_impl(); match IRemoteDesktopClientSettings_Impl::GetRdpProperty(this, core::mem::transmute(&propertyname)) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -819,7 +819,7 @@ impl IRemoteDesktopClientTouchPointer_Vtbl { let this = (*this).get_impl(); match IRemoteDesktopClientTouchPointer_Impl::Enabled(this) { Ok(ok__) => { - core::ptr::write(enabled, core::mem::transmute(ok__)); + enabled.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -835,7 +835,7 @@ impl IRemoteDesktopClientTouchPointer_Vtbl { let this = (*this).get_impl(); match IRemoteDesktopClientTouchPointer_Impl::EventsEnabled(this) { Ok(ok__) => { - core::ptr::write(eventsenabled, core::mem::transmute(ok__)); + eventsenabled.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -851,7 +851,7 @@ impl IRemoteDesktopClientTouchPointer_Vtbl { let this = (*this).get_impl(); match IRemoteDesktopClientTouchPointer_Impl::PointerSpeed(this) { Ok(ok__) => { - core::ptr::write(pointerspeed, core::mem::transmute(ok__)); + pointerspeed.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1051,7 +1051,7 @@ impl ITSGPolicyEngine_Vtbl { let this = (*this).get_impl(); match ITSGPolicyEngine_Impl::IsQuarantineEnabled(this) { Ok(ok__) => { - core::ptr::write(quarantineenabled, core::mem::transmute(ok__)); + quarantineenabled.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1124,7 +1124,7 @@ impl ITsSbClientConnection_Vtbl { let this = (*this).get_impl(); match ITsSbClientConnection_Impl::UserName(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1135,7 +1135,7 @@ impl ITsSbClientConnection_Vtbl { let this = (*this).get_impl(); match ITsSbClientConnection_Impl::Domain(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1146,7 +1146,7 @@ impl ITsSbClientConnection_Vtbl { let this = (*this).get_impl(); match ITsSbClientConnection_Impl::InitialProgram(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1157,7 +1157,7 @@ impl ITsSbClientConnection_Vtbl { let this = (*this).get_impl(); match ITsSbClientConnection_Impl::LoadBalanceResult(this) { Ok(ok__) => { - core::ptr::write(ppval, core::mem::transmute(ok__)); + ppval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1168,7 +1168,7 @@ impl ITsSbClientConnection_Vtbl { let this = (*this).get_impl(); match ITsSbClientConnection_Impl::FarmName(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1184,7 +1184,7 @@ impl ITsSbClientConnection_Vtbl { let this = (*this).get_impl(); match ITsSbClientConnection_Impl::GetContext(this, core::mem::transmute(&contextid)) { Ok(ok__) => { - core::ptr::write(context, core::mem::transmute(ok__)); + context.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1195,7 +1195,7 @@ impl ITsSbClientConnection_Vtbl { let this = (*this).get_impl(); match ITsSbClientConnection_Impl::Environment(this) { Ok(ok__) => { - core::ptr::write(ppenvironment, core::mem::transmute(ok__)); + ppenvironment.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1211,7 +1211,7 @@ impl ITsSbClientConnection_Vtbl { let this = (*this).get_impl(); match ITsSbClientConnection_Impl::SamUserAccount(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1222,7 +1222,7 @@ impl ITsSbClientConnection_Vtbl { let this = (*this).get_impl(); match ITsSbClientConnection_Impl::ClientConnectionPropertySet(this) { Ok(ok__) => { - core::ptr::write(pppropertyset, core::mem::transmute(ok__)); + pppropertyset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1233,7 +1233,7 @@ impl ITsSbClientConnection_Vtbl { let this = (*this).get_impl(); match ITsSbClientConnection_Impl::IsFirstAssignment(this) { Ok(ok__) => { - core::ptr::write(ppval, core::mem::transmute(ok__)); + ppval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1244,7 +1244,7 @@ impl ITsSbClientConnection_Vtbl { let this = (*this).get_impl(); match ITsSbClientConnection_Impl::RdFarmType(this) { Ok(ok__) => { - core::ptr::write(prdfarmtype, core::mem::transmute(ok__)); + prdfarmtype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1255,7 +1255,7 @@ impl ITsSbClientConnection_Vtbl { let this = (*this).get_impl(); match ITsSbClientConnection_Impl::UserSidString(this) { Ok(ok__) => { - core::ptr::write(pszusersidstring, core::mem::transmute(ok__)); + pszusersidstring.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1266,7 +1266,7 @@ impl ITsSbClientConnection_Vtbl { let this = (*this).get_impl(); match ITsSbClientConnection_Impl::GetDisconnectedSession(this) { Ok(ok__) => { - core::ptr::write(ppsession, core::mem::transmute(ok__)); + ppsession.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1325,7 +1325,7 @@ impl ITsSbEnvironment_Vtbl { let this = (*this).get_impl(); match ITsSbEnvironment_Impl::Name(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1336,7 +1336,7 @@ impl ITsSbEnvironment_Vtbl { let this = (*this).get_impl(); match ITsSbEnvironment_Impl::ServerWeight(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1347,7 +1347,7 @@ impl ITsSbEnvironment_Vtbl { let this = (*this).get_impl(); match ITsSbEnvironment_Impl::EnvironmentPropertySet(this) { Ok(ok__) => { - core::ptr::write(pppropertyset, core::mem::transmute(ok__)); + pppropertyset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1404,7 +1404,7 @@ impl ITsSbFilterPluginStore_Vtbl { let this = (*this).get_impl(); match ITsSbFilterPluginStore_Impl::EnumerateProperties(this) { Ok(ok__) => { - core::ptr::write(pppropertyset, core::mem::transmute(ok__)); + pppropertyset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1443,7 +1443,7 @@ impl ITsSbGenericNotifySink_Vtbl { let this = (*this).get_impl(); match ITsSbGenericNotifySink_Impl::GetWaitTimeout(this) { Ok(ok__) => { - core::ptr::write(pfttimeout, core::mem::transmute(ok__)); + pfttimeout.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1479,7 +1479,7 @@ impl ITsSbGlobalStore_Vtbl { let this = (*this).get_impl(); match ITsSbGlobalStore_Impl::QueryTarget(this, core::mem::transmute(&providername), core::mem::transmute(&targetname), core::mem::transmute(&farmname)) { Ok(ok__) => { - core::ptr::write(pptarget, core::mem::transmute(ok__)); + pptarget.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1490,7 +1490,7 @@ impl ITsSbGlobalStore_Vtbl { let this = (*this).get_impl(); match ITsSbGlobalStore_Impl::QuerySessionBySessionId(this, core::mem::transmute(&providername), core::mem::transmute_copy(&dwsessionid), core::mem::transmute(&targetname)) { Ok(ok__) => { - core::ptr::write(ppsession, core::mem::transmute(ok__)); + ppsession.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1547,7 +1547,7 @@ impl ITsSbLoadBalanceResult_Vtbl { let this = (*this).get_impl(); match ITsSbLoadBalanceResult_Impl::TargetName(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1781,7 +1781,7 @@ impl ITsSbProvider_Vtbl { let this = (*this).get_impl(); match ITsSbProvider_Impl::CreateTargetObject(this, core::mem::transmute(&targetname), core::mem::transmute(&environmentname)) { Ok(ok__) => { - core::ptr::write(pptarget, core::mem::transmute(ok__)); + pptarget.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1792,7 +1792,7 @@ impl ITsSbProvider_Vtbl { let this = (*this).get_impl(); match ITsSbProvider_Impl::CreateLoadBalanceResultObject(this, core::mem::transmute(&targetname)) { Ok(ok__) => { - core::ptr::write(pplbresult, core::mem::transmute(ok__)); + pplbresult.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1803,7 +1803,7 @@ impl ITsSbProvider_Vtbl { let this = (*this).get_impl(); match ITsSbProvider_Impl::CreateSessionObject(this, core::mem::transmute(&targetname), core::mem::transmute(&username), core::mem::transmute(&domain), core::mem::transmute_copy(&sessionid)) { Ok(ok__) => { - core::ptr::write(ppsession, core::mem::transmute(ok__)); + ppsession.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1814,7 +1814,7 @@ impl ITsSbProvider_Vtbl { let this = (*this).get_impl(); match ITsSbProvider_Impl::CreatePluginPropertySet(this) { Ok(ok__) => { - core::ptr::write(pppropertyset, core::mem::transmute(ok__)); + pppropertyset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1825,7 +1825,7 @@ impl ITsSbProvider_Vtbl { let this = (*this).get_impl(); match ITsSbProvider_Impl::CreateTargetPropertySetObject(this) { Ok(ok__) => { - core::ptr::write(pppropertyset, core::mem::transmute(ok__)); + pppropertyset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1836,7 +1836,7 @@ impl ITsSbProvider_Vtbl { let this = (*this).get_impl(); match ITsSbProvider_Impl::CreateEnvironmentObject(this, core::mem::transmute(&name), core::mem::transmute_copy(&serverweight)) { Ok(ok__) => { - core::ptr::write(ppenvironment, core::mem::transmute(ok__)); + ppenvironment.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1847,7 +1847,7 @@ impl ITsSbProvider_Vtbl { let this = (*this).get_impl(); match ITsSbProvider_Impl::GetResourcePluginStore(this) { Ok(ok__) => { - core::ptr::write(ppstore, core::mem::transmute(ok__)); + ppstore.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1858,7 +1858,7 @@ impl ITsSbProvider_Vtbl { let this = (*this).get_impl(); match ITsSbProvider_Impl::GetFilterPluginStore(this) { Ok(ok__) => { - core::ptr::write(ppstore, core::mem::transmute(ok__)); + ppstore.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1879,7 +1879,7 @@ impl ITsSbProvider_Vtbl { let this = (*this).get_impl(); match ITsSbProvider_Impl::GetInstanceOfGlobalStore(this) { Ok(ok__) => { - core::ptr::write(ppglobalstore, core::mem::transmute(ok__)); + ppglobalstore.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1890,7 +1890,7 @@ impl ITsSbProvider_Vtbl { let this = (*this).get_impl(); match ITsSbProvider_Impl::CreateEnvironmentPropertySetObject(this) { Ok(ok__) => { - core::ptr::write(pppropertyset, core::mem::transmute(ok__)); + pppropertyset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2137,7 +2137,7 @@ impl ITsSbResourcePluginStore_Vtbl { let this = (*this).get_impl(); match ITsSbResourcePluginStore_Impl::QueryTarget(this, core::mem::transmute(&targetname), core::mem::transmute(&farmname)) { Ok(ok__) => { - core::ptr::write(pptarget, core::mem::transmute(ok__)); + pptarget.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2148,7 +2148,7 @@ impl ITsSbResourcePluginStore_Vtbl { let this = (*this).get_impl(); match ITsSbResourcePluginStore_Impl::QuerySessionBySessionId(this, core::mem::transmute_copy(&dwsessionid), core::mem::transmute(&targetname)) { Ok(ok__) => { - core::ptr::write(ppsession, core::mem::transmute(ok__)); + ppsession.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2184,7 +2184,7 @@ impl ITsSbResourcePluginStore_Vtbl { let this = (*this).get_impl(); match ITsSbResourcePluginStore_Impl::QueryEnvironment(this, core::mem::transmute(&environmentname)) { Ok(ok__) => { - core::ptr::write(ppenvironment, core::mem::transmute(ok__)); + ppenvironment.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2225,7 +2225,7 @@ impl ITsSbResourcePluginStore_Vtbl { let this = (*this).get_impl(); match ITsSbResourcePluginStore_Impl::SetTargetState(this, core::mem::transmute(&targetname), core::mem::transmute_copy(&newstate)) { Ok(ok__) => { - core::ptr::write(poldstate, core::mem::transmute(ok__)); + poldstate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2271,7 +2271,7 @@ impl ITsSbResourcePluginStore_Vtbl { let this = (*this).get_impl(); match ITsSbResourcePluginStore_Impl::AcquireTargetLock(this, core::mem::transmute(&targetname), core::mem::transmute_copy(&dwtimeout)) { Ok(ok__) => { - core::ptr::write(ppcontext, core::mem::transmute(ok__)); + ppcontext.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2287,7 +2287,7 @@ impl ITsSbResourcePluginStore_Vtbl { let this = (*this).get_impl(); match ITsSbResourcePluginStore_Impl::TestAndSetServerState(this, core::mem::transmute(&poolname), core::mem::transmute(&serverfqdn), core::mem::transmute_copy(&newstate), core::mem::transmute_copy(&teststate)) { Ok(ok__) => { - core::ptr::write(pinitstate, core::mem::transmute(ok__)); + pinitstate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2303,7 +2303,7 @@ impl ITsSbResourcePluginStore_Vtbl { let this = (*this).get_impl(); match ITsSbResourcePluginStore_Impl::GetServerState(this, core::mem::transmute(&poolname), core::mem::transmute(&serverfqdn)) { Ok(ok__) => { - core::ptr::write(pstate, core::mem::transmute(ok__)); + pstate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2404,7 +2404,7 @@ impl ITsSbSession_Vtbl { let this = (*this).get_impl(); match ITsSbSession_Impl::SessionId(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2415,7 +2415,7 @@ impl ITsSbSession_Vtbl { let this = (*this).get_impl(); match ITsSbSession_Impl::TargetName(this) { Ok(ok__) => { - core::ptr::write(targetname, core::mem::transmute(ok__)); + targetname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2431,7 +2431,7 @@ impl ITsSbSession_Vtbl { let this = (*this).get_impl(); match ITsSbSession_Impl::Username(this) { Ok(ok__) => { - core::ptr::write(username, core::mem::transmute(ok__)); + username.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2442,7 +2442,7 @@ impl ITsSbSession_Vtbl { let this = (*this).get_impl(); match ITsSbSession_Impl::Domain(this) { Ok(ok__) => { - core::ptr::write(domain, core::mem::transmute(ok__)); + domain.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2453,7 +2453,7 @@ impl ITsSbSession_Vtbl { let this = (*this).get_impl(); match ITsSbSession_Impl::State(this) { Ok(ok__) => { - core::ptr::write(pstate, core::mem::transmute(ok__)); + pstate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2469,7 +2469,7 @@ impl ITsSbSession_Vtbl { let this = (*this).get_impl(); match ITsSbSession_Impl::CreateTime(this) { Ok(ok__) => { - core::ptr::write(ptime, core::mem::transmute(ok__)); + ptime.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2485,7 +2485,7 @@ impl ITsSbSession_Vtbl { let this = (*this).get_impl(); match ITsSbSession_Impl::DisconnectTime(this) { Ok(ok__) => { - core::ptr::write(ptime, core::mem::transmute(ok__)); + ptime.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2501,7 +2501,7 @@ impl ITsSbSession_Vtbl { let this = (*this).get_impl(); match ITsSbSession_Impl::InitialProgram(this) { Ok(ok__) => { - core::ptr::write(app, core::mem::transmute(ok__)); + app.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2517,7 +2517,7 @@ impl ITsSbSession_Vtbl { let this = (*this).get_impl(); match ITsSbSession_Impl::ClientDisplay(this) { Ok(ok__) => { - core::ptr::write(pclientdisplay, core::mem::transmute(ok__)); + pclientdisplay.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2533,7 +2533,7 @@ impl ITsSbSession_Vtbl { let this = (*this).get_impl(); match ITsSbSession_Impl::ProtocolType(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2601,7 +2601,7 @@ impl ITsSbTarget_Vtbl { let this = (*this).get_impl(); match ITsSbTarget_Impl::TargetName(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2617,7 +2617,7 @@ impl ITsSbTarget_Vtbl { let this = (*this).get_impl(); match ITsSbTarget_Impl::FarmName(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2633,7 +2633,7 @@ impl ITsSbTarget_Vtbl { let this = (*this).get_impl(); match ITsSbTarget_Impl::TargetFQDN(this) { Ok(ok__) => { - core::ptr::write(targetfqdnname, core::mem::transmute(ok__)); + targetfqdnname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2649,7 +2649,7 @@ impl ITsSbTarget_Vtbl { let this = (*this).get_impl(); match ITsSbTarget_Impl::TargetNetbios(this) { Ok(ok__) => { - core::ptr::write(targetnetbiosname, core::mem::transmute(ok__)); + targetnetbiosname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2675,7 +2675,7 @@ impl ITsSbTarget_Vtbl { let this = (*this).get_impl(); match ITsSbTarget_Impl::TargetState(this) { Ok(ok__) => { - core::ptr::write(pstate, core::mem::transmute(ok__)); + pstate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2691,7 +2691,7 @@ impl ITsSbTarget_Vtbl { let this = (*this).get_impl(); match ITsSbTarget_Impl::TargetPropertySet(this) { Ok(ok__) => { - core::ptr::write(pppropertyset, core::mem::transmute(ok__)); + pppropertyset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2707,7 +2707,7 @@ impl ITsSbTarget_Vtbl { let this = (*this).get_impl(); match ITsSbTarget_Impl::EnvironmentName(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2723,7 +2723,7 @@ impl ITsSbTarget_Vtbl { let this = (*this).get_impl(); match ITsSbTarget_Impl::NumSessions(this) { Ok(ok__) => { - core::ptr::write(pnumsessions, core::mem::transmute(ok__)); + pnumsessions.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2734,7 +2734,7 @@ impl ITsSbTarget_Vtbl { let this = (*this).get_impl(); match ITsSbTarget_Impl::NumPendingConnections(this) { Ok(ok__) => { - core::ptr::write(pnumpendingconnections, core::mem::transmute(ok__)); + pnumpendingconnections.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2745,7 +2745,7 @@ impl ITsSbTarget_Vtbl { let this = (*this).get_impl(); match ITsSbTarget_Impl::TargetLoad(this) { Ok(ok__) => { - core::ptr::write(ptargetload, core::mem::transmute(ok__)); + ptargetload.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2813,7 +2813,7 @@ impl ITsSbTaskInfo_Vtbl { let this = (*this).get_impl(); match ITsSbTaskInfo_Impl::TargetId(this) { Ok(ok__) => { - core::ptr::write(pname, core::mem::transmute(ok__)); + pname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2824,7 +2824,7 @@ impl ITsSbTaskInfo_Vtbl { let this = (*this).get_impl(); match ITsSbTaskInfo_Impl::StartTime(this) { Ok(ok__) => { - core::ptr::write(pstarttime, core::mem::transmute(ok__)); + pstarttime.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2835,7 +2835,7 @@ impl ITsSbTaskInfo_Vtbl { let this = (*this).get_impl(); match ITsSbTaskInfo_Impl::EndTime(this) { Ok(ok__) => { - core::ptr::write(pendtime, core::mem::transmute(ok__)); + pendtime.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2846,7 +2846,7 @@ impl ITsSbTaskInfo_Vtbl { let this = (*this).get_impl(); match ITsSbTaskInfo_Impl::Deadline(this) { Ok(ok__) => { - core::ptr::write(pdeadline, core::mem::transmute(ok__)); + pdeadline.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2857,7 +2857,7 @@ impl ITsSbTaskInfo_Vtbl { let this = (*this).get_impl(); match ITsSbTaskInfo_Impl::Identifier(this) { Ok(ok__) => { - core::ptr::write(pidentifier, core::mem::transmute(ok__)); + pidentifier.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2868,7 +2868,7 @@ impl ITsSbTaskInfo_Vtbl { let this = (*this).get_impl(); match ITsSbTaskInfo_Impl::Label(this) { Ok(ok__) => { - core::ptr::write(plabel, core::mem::transmute(ok__)); + plabel.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2879,7 +2879,7 @@ impl ITsSbTaskInfo_Vtbl { let this = (*this).get_impl(); match ITsSbTaskInfo_Impl::Context(this) { Ok(ok__) => { - core::ptr::write(pcontext, core::mem::transmute(ok__)); + pcontext.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2890,7 +2890,7 @@ impl ITsSbTaskInfo_Vtbl { let this = (*this).get_impl(); match ITsSbTaskInfo_Impl::Plugin(this) { Ok(ok__) => { - core::ptr::write(pplugin, core::mem::transmute(ok__)); + pplugin.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2901,7 +2901,7 @@ impl ITsSbTaskInfo_Vtbl { let this = (*this).get_impl(); match ITsSbTaskInfo_Impl::Status(this) { Ok(ok__) => { - core::ptr::write(pstatus, core::mem::transmute(ok__)); + pstatus.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3009,7 +3009,7 @@ impl IWRdsEnhancedFastReconnectArbitrator_Vtbl { let this = (*this).get_impl(); match IWRdsEnhancedFastReconnectArbitrator_Impl::GetSessionForEnhancedFastReconnect(this, core::mem::transmute_copy(&psessionidarray), core::mem::transmute_copy(&dwsessioncount)) { Ok(ok__) => { - core::ptr::write(presultsessionid, core::mem::transmute(ok__)); + presultsessionid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3117,7 +3117,7 @@ impl IWRdsGraphicsChannelManager_Vtbl { let this = (*this).get_impl(); match IWRdsGraphicsChannelManager_Impl::CreateChannel(this, core::mem::transmute_copy(&pszchannelname), core::mem::transmute_copy(&channeltype)) { Ok(ok__) => { - core::ptr::write(ppvirtualchannel, core::mem::transmute(ok__)); + ppvirtualchannel.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3163,7 +3163,7 @@ impl IWRdsProtocolConnection_Vtbl { let this = (*this).get_impl(); match IWRdsProtocolConnection_Impl::GetLogonErrorRedirector(this) { Ok(ok__) => { - core::ptr::write(pplogonerrorredir, core::mem::transmute(ok__)); + pplogonerrorredir.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3194,7 +3194,7 @@ impl IWRdsProtocolConnection_Vtbl { let this = (*this).get_impl(); match IWRdsProtocolConnection_Impl::GetLicenseConnection(this) { Ok(ok__) => { - core::ptr::write(pplicenseconnection, core::mem::transmute(ok__)); + pplicenseconnection.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3220,7 +3220,7 @@ impl IWRdsProtocolConnection_Vtbl { let this = (*this).get_impl(); match IWRdsProtocolConnection_Impl::GetVideoHandle(this) { Ok(ok__) => { - core::ptr::write(pvideohandle, core::mem::transmute(ok__)); + pvideohandle.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3271,7 +3271,7 @@ impl IWRdsProtocolConnection_Vtbl { let this = (*this).get_impl(); match IWRdsProtocolConnection_Impl::GetLastInputTime(this) { Ok(ok__) => { - core::ptr::write(plastinputtime, core::mem::transmute(ok__)); + plastinputtime.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3287,7 +3287,7 @@ impl IWRdsProtocolConnection_Vtbl { let this = (*this).get_impl(); match IWRdsProtocolConnection_Impl::CreateVirtualChannel(this, core::mem::transmute(&szendpointname), core::mem::transmute_copy(&bstatic), core::mem::transmute_copy(&requestedpriority)) { Ok(ok__) => { - core::ptr::write(phchannel, core::mem::transmute(ok__)); + phchannel.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3303,7 +3303,7 @@ impl IWRdsProtocolConnection_Vtbl { let this = (*this).get_impl(); match IWRdsProtocolConnection_Impl::GetShadowConnection(this) { Ok(ok__) => { - core::ptr::write(ppshadowconnection, core::mem::transmute(ok__)); + ppshadowconnection.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3381,7 +3381,7 @@ impl IWRdsProtocolConnectionCallback_Vtbl { let this = (*this).get_impl(); match IWRdsProtocolConnectionCallback_Impl::GetConnectionId(this) { Ok(ok__) => { - core::ptr::write(pconnectionid, core::mem::transmute(ok__)); + pconnectionid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3481,7 +3481,7 @@ impl IWRdsProtocolListener_Vtbl { let this = (*this).get_impl(); match IWRdsProtocolListener_Impl::GetSettings(this, core::mem::transmute_copy(&wrdslistenersettinglevel)) { Ok(ok__) => { - core::ptr::write(pwrdslistenersettings, core::mem::transmute(ok__)); + pwrdslistenersettings.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3519,7 +3519,7 @@ impl IWRdsProtocolListenerCallback_Vtbl { let this = (*this).get_impl(); match IWRdsProtocolListenerCallback_Impl::OnConnected(this, windows_core::from_raw_borrowed(&pconnection), core::mem::transmute_copy(&pwrdsconnectionsettings)) { Ok(ok__) => { - core::ptr::write(pcallback, core::mem::transmute(ok__)); + pcallback.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3550,7 +3550,7 @@ impl IWRdsProtocolLogonErrorRedirector_Vtbl { let this = (*this).get_impl(); match IWRdsProtocolLogonErrorRedirector_Impl::RedirectStatus(this, core::mem::transmute(&pszmessage)) { Ok(ok__) => { - core::ptr::write(presponse, core::mem::transmute(ok__)); + presponse.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3561,7 +3561,7 @@ impl IWRdsProtocolLogonErrorRedirector_Vtbl { let this = (*this).get_impl(); match IWRdsProtocolLogonErrorRedirector_Impl::RedirectMessage(this, core::mem::transmute(&pszcaption), core::mem::transmute(&pszmessage), core::mem::transmute_copy(&utype)) { Ok(ok__) => { - core::ptr::write(presponse, core::mem::transmute(ok__)); + presponse.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3572,7 +3572,7 @@ impl IWRdsProtocolLogonErrorRedirector_Vtbl { let this = (*this).get_impl(); match IWRdsProtocolLogonErrorRedirector_Impl::RedirectLogonError(this, core::mem::transmute_copy(&ntsstatus), core::mem::transmute_copy(&ntssubstatus), core::mem::transmute(&pszcaption), core::mem::transmute(&pszmessage), core::mem::transmute_copy(&utype)) { Ok(ok__) => { - core::ptr::write(presponse, core::mem::transmute(ok__)); + presponse.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3613,7 +3613,7 @@ impl IWRdsProtocolManager_Vtbl { let this = (*this).get_impl(); match IWRdsProtocolManager_Impl::CreateListener(this, core::mem::transmute(&wszlistenername)) { Ok(ok__) => { - core::ptr::write(pprotocollistener, core::mem::transmute(ok__)); + pprotocollistener.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3839,7 +3839,7 @@ impl IWTSBitmapRenderService_Vtbl { let this = (*this).get_impl(); match IWTSBitmapRenderService_Impl::GetMappedRenderer(this, core::mem::transmute_copy(&mappingid), windows_core::from_raw_borrowed(&pmappedrenderercallback)) { Ok(ok__) => { - core::ptr::write(ppmappedrenderer, core::mem::transmute(ok__)); + ppmappedrenderer.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3869,7 +3869,7 @@ impl IWTSBitmapRenderer_Vtbl { let this = (*this).get_impl(); match IWTSBitmapRenderer_Impl::GetRendererStatistics(this) { Ok(ok__) => { - core::ptr::write(pstatistics, core::mem::transmute(ok__)); + pstatistics.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3922,7 +3922,7 @@ impl IWTSListener_Vtbl { let this = (*this).get_impl(); match IWTSListener_Impl::GetConfiguration(this) { Ok(ok__) => { - core::ptr::write(pppropertybag, core::mem::transmute(ok__)); + pppropertybag.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4003,7 +4003,7 @@ impl IWTSPluginServiceProvider_Vtbl { let this = (*this).get_impl(); match IWTSPluginServiceProvider_Impl::GetService(this, core::mem::transmute(&serviceid)) { Ok(ok__) => { - core::ptr::write(ppunkobject, core::mem::transmute(ok__)); + ppunkobject.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4048,7 +4048,7 @@ impl IWTSProtocolConnection_Vtbl { let this = (*this).get_impl(); match IWTSProtocolConnection_Impl::GetLogonErrorRedirector(this) { Ok(ok__) => { - core::ptr::write(pplogonerrorredir, core::mem::transmute(ok__)); + pplogonerrorredir.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4079,7 +4079,7 @@ impl IWTSProtocolConnection_Vtbl { let this = (*this).get_impl(); match IWTSProtocolConnection_Impl::GetLicenseConnection(this) { Ok(ok__) => { - core::ptr::write(pplicenseconnection, core::mem::transmute(ok__)); + pplicenseconnection.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4145,7 +4145,7 @@ impl IWTSProtocolConnection_Vtbl { let this = (*this).get_impl(); match IWTSProtocolConnection_Impl::GetLastInputTime(this) { Ok(ok__) => { - core::ptr::write(plastinputtime, core::mem::transmute(ok__)); + plastinputtime.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4166,7 +4166,7 @@ impl IWTSProtocolConnection_Vtbl { let this = (*this).get_impl(); match IWTSProtocolConnection_Impl::CreateVirtualChannel(this, core::mem::transmute(&szendpointname), core::mem::transmute_copy(&bstatic), core::mem::transmute_copy(&requestedpriority)) { Ok(ok__) => { - core::ptr::write(phchannel, core::mem::transmute(ok__)); + phchannel.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4182,7 +4182,7 @@ impl IWTSProtocolConnection_Vtbl { let this = (*this).get_impl(); match IWTSProtocolConnection_Impl::GetShadowConnection(this) { Ok(ok__) => { - core::ptr::write(ppshadowconnection, core::mem::transmute(ok__)); + ppshadowconnection.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4346,7 +4346,7 @@ impl IWTSProtocolListenerCallback_Vtbl { let this = (*this).get_impl(); match IWTSProtocolListenerCallback_Impl::OnConnected(this, windows_core::from_raw_borrowed(&pconnection)) { Ok(ok__) => { - core::ptr::write(pcallback, core::mem::transmute(ok__)); + pcallback.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4377,7 +4377,7 @@ impl IWTSProtocolLogonErrorRedirector_Vtbl { let this = (*this).get_impl(); match IWTSProtocolLogonErrorRedirector_Impl::RedirectStatus(this, core::mem::transmute(&pszmessage)) { Ok(ok__) => { - core::ptr::write(presponse, core::mem::transmute(ok__)); + presponse.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4388,7 +4388,7 @@ impl IWTSProtocolLogonErrorRedirector_Vtbl { let this = (*this).get_impl(); match IWTSProtocolLogonErrorRedirector_Impl::RedirectMessage(this, core::mem::transmute(&pszcaption), core::mem::transmute(&pszmessage), core::mem::transmute_copy(&utype)) { Ok(ok__) => { - core::ptr::write(presponse, core::mem::transmute(ok__)); + presponse.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4399,7 +4399,7 @@ impl IWTSProtocolLogonErrorRedirector_Vtbl { let this = (*this).get_impl(); match IWTSProtocolLogonErrorRedirector_Impl::RedirectLogonError(this, core::mem::transmute_copy(&ntsstatus), core::mem::transmute_copy(&ntssubstatus), core::mem::transmute(&pszcaption), core::mem::transmute(&pszmessage), core::mem::transmute_copy(&utype)) { Ok(ok__) => { - core::ptr::write(presponse, core::mem::transmute(ok__)); + presponse.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4432,7 +4432,7 @@ impl IWTSProtocolManager_Vtbl { let this = (*this).get_impl(); match IWTSProtocolManager_Impl::CreateListener(this, core::mem::transmute(&wszlistenername)) { Ok(ok__) => { - core::ptr::write(pprotocollistener, core::mem::transmute(ok__)); + pprotocollistener.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4548,7 +4548,7 @@ impl IWTSSBPlugin_Vtbl { let this = (*this).get_impl(); match IWTSSBPlugin_Impl::Initialize(this) { Ok(ok__) => { - core::ptr::write(plugincapabilities, core::mem::transmute(ok__)); + plugincapabilities.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4654,7 +4654,7 @@ impl IWTSVirtualChannelManager_Vtbl { let this = (*this).get_impl(); match IWTSVirtualChannelManager_Impl::CreateListener(this, core::mem::transmute(&pszchannelname), core::mem::transmute_copy(&uflags), windows_core::from_raw_borrowed(&plistenercallback)) { Ok(ok__) => { - core::ptr::write(pplistener, core::mem::transmute(ok__)); + pplistener.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4682,7 +4682,7 @@ impl IWorkspace_Vtbl { let this = (*this).get_impl(); match IWorkspace_Impl::GetWorkspaceNames(this) { Ok(ok__) => { - core::ptr::write(psawkspnames, core::mem::transmute(ok__)); + psawkspnames.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4698,7 +4698,7 @@ impl IWorkspace_Vtbl { let this = (*this).get_impl(); match IWorkspace_Impl::GetProcessId(this) { Ok(ok__) => { - core::ptr::write(pulprocessid, core::mem::transmute(ok__)); + pulprocessid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4750,7 +4750,7 @@ impl IWorkspace3_Vtbl { let this = (*this).get_impl(); match IWorkspace3_Impl::GetClaimsToken2(this, core::mem::transmute(&bstrclaimshint), core::mem::transmute(&bstruserhint), core::mem::transmute_copy(&claimcookie), core::mem::transmute_copy(&hwndcreduiparent), core::mem::transmute(&rectcreduiparent)) { Ok(ok__) => { - core::ptr::write(pbstraccesstoken, core::mem::transmute(ok__)); + pbstraccesstoken.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4784,7 +4784,7 @@ impl IWorkspaceClientExt_Vtbl { let this = (*this).get_impl(); match IWorkspaceClientExt_Impl::GetResourceId(this) { Ok(ok__) => { - core::ptr::write(bstrworkspaceid, core::mem::transmute(ok__)); + bstrworkspaceid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4795,7 +4795,7 @@ impl IWorkspaceClientExt_Vtbl { let this = (*this).get_impl(); match IWorkspaceClientExt_Impl::GetResourceDisplayName(this) { Ok(ok__) => { - core::ptr::write(bstrworkspacedisplayname, core::mem::transmute(ok__)); + bstrworkspacedisplayname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4829,7 +4829,7 @@ impl IWorkspaceRegistration_Vtbl { let this = (*this).get_impl(); match IWorkspaceRegistration_Impl::AddResource(this, windows_core::from_raw_borrowed(&punk)) { Ok(ok__) => { - core::ptr::write(pdwcookie, core::mem::transmute(ok__)); + pdwcookie.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4895,7 +4895,7 @@ impl IWorkspaceReportMessage_Vtbl { let this = (*this).get_impl(); match IWorkspaceReportMessage_Impl::IsErrorMessageRegistered(this, core::mem::transmute(&bstrwkspid), core::mem::transmute_copy(&dwerrortype), core::mem::transmute(&bstrerrormessagetype), core::mem::transmute_copy(&dwerrorcode)) { Ok(ok__) => { - core::ptr::write(pferrorexist, core::mem::transmute(ok__)); + pferrorexist.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4945,7 +4945,7 @@ impl IWorkspaceResTypeRegistry_Vtbl { let this = (*this).get_impl(); match IWorkspaceResTypeRegistry_Impl::GetRegisteredFileExtensions(this, core::mem::transmute_copy(&fmachinewide)) { Ok(ok__) => { - core::ptr::write(psafileextensions, core::mem::transmute(ok__)); + psafileextensions.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4956,7 +4956,7 @@ impl IWorkspaceResTypeRegistry_Vtbl { let this = (*this).get_impl(); match IWorkspaceResTypeRegistry_Impl::GetResourceTypeInfo(this, core::mem::transmute_copy(&fmachinewide), core::mem::transmute(&bstrfileextension)) { Ok(ok__) => { - core::ptr::write(pbstrlauncher, core::mem::transmute(ok__)); + pbstrlauncher.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5010,7 +5010,7 @@ impl IWorkspaceScriptable_Vtbl { let this = (*this).get_impl(); match IWorkspaceScriptable_Impl::IsWorkspaceCredentialSpecified(this, core::mem::transmute(&bstrworkspaceid), core::mem::transmute_copy(&bcountunauthenticatedcredentials)) { Ok(ok__) => { - core::ptr::write(pbcredexist, core::mem::transmute(ok__)); + pbcredexist.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5021,7 +5021,7 @@ impl IWorkspaceScriptable_Vtbl { let this = (*this).get_impl(); match IWorkspaceScriptable_Impl::IsWorkspaceSSOEnabled(this) { Ok(ok__) => { - core::ptr::write(pbssoenabled, core::mem::transmute(ok__)); + pbssoenabled.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5133,7 +5133,7 @@ impl ItsPubPlugin_Vtbl { let this = (*this).get_impl(); match ItsPubPlugin_Impl::GetCacheLastUpdateTime(this) { Ok(ok__) => { - core::ptr::write(lastupdatetime, core::mem::transmute(ok__)); + lastupdatetime.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5144,7 +5144,7 @@ impl ItsPubPlugin_Vtbl { let this = (*this).get_impl(); match ItsPubPlugin_Impl::pluginName(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5155,7 +5155,7 @@ impl ItsPubPlugin_Vtbl { let this = (*this).get_impl(); match ItsPubPlugin_Impl::pluginVersion(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/Win32/System/RemoteManagement/impl.rs b/crates/libs/windows/src/Windows/Win32/System/RemoteManagement/impl.rs index d42d38e565..71451bd0a0 100644 --- a/crates/libs/windows/src/Windows/Win32/System/RemoteManagement/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/RemoteManagement/impl.rs @@ -15,7 +15,7 @@ impl IWSMan_Vtbl { let this = (*this).get_impl(); match IWSMan_Impl::CreateSession(this, core::mem::transmute(&connection), core::mem::transmute_copy(&flags), windows_core::from_raw_borrowed(&connectionoptions)) { Ok(ok__) => { - core::ptr::write(session, core::mem::transmute(ok__)); + session.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -26,7 +26,7 @@ impl IWSMan_Vtbl { let this = (*this).get_impl(); match IWSMan_Impl::CreateConnectionOptions(this) { Ok(ok__) => { - core::ptr::write(connectionoptions, core::mem::transmute(ok__)); + connectionoptions.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -37,7 +37,7 @@ impl IWSMan_Vtbl { let this = (*this).get_impl(); match IWSMan_Impl::CommandLine(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -48,7 +48,7 @@ impl IWSMan_Vtbl { let this = (*this).get_impl(); match IWSMan_Impl::Error(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -82,7 +82,7 @@ impl IWSManConnectionOptions_Vtbl { let this = (*this).get_impl(); match IWSManConnectionOptions_Impl::UserName(this) { Ok(ok__) => { - core::ptr::write(name, core::mem::transmute(ok__)); + name.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -124,7 +124,7 @@ impl IWSManConnectionOptionsEx_Vtbl { let this = (*this).get_impl(); match IWSManConnectionOptionsEx_Impl::CertificateThumbprint(this) { Ok(ok__) => { - core::ptr::write(thumbprint, core::mem::transmute(ok__)); + thumbprint.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -171,7 +171,7 @@ impl IWSManConnectionOptionsEx2_Vtbl { let this = (*this).get_impl(); match IWSManConnectionOptionsEx2_Impl::ProxyIEConfig(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -182,7 +182,7 @@ impl IWSManConnectionOptionsEx2_Vtbl { let this = (*this).get_impl(); match IWSManConnectionOptionsEx2_Impl::ProxyWinHttpConfig(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -193,7 +193,7 @@ impl IWSManConnectionOptionsEx2_Vtbl { let this = (*this).get_impl(); match IWSManConnectionOptionsEx2_Impl::ProxyAutoDetect(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -204,7 +204,7 @@ impl IWSManConnectionOptionsEx2_Vtbl { let this = (*this).get_impl(); match IWSManConnectionOptionsEx2_Impl::ProxyNoProxyServer(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -215,7 +215,7 @@ impl IWSManConnectionOptionsEx2_Vtbl { let this = (*this).get_impl(); match IWSManConnectionOptionsEx2_Impl::ProxyAuthenticationUseNegotiate(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -226,7 +226,7 @@ impl IWSManConnectionOptionsEx2_Vtbl { let this = (*this).get_impl(); match IWSManConnectionOptionsEx2_Impl::ProxyAuthenticationUseBasic(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -237,7 +237,7 @@ impl IWSManConnectionOptionsEx2_Vtbl { let this = (*this).get_impl(); match IWSManConnectionOptionsEx2_Impl::ProxyAuthenticationUseDigest(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -275,7 +275,7 @@ impl IWSManEnumerator_Vtbl { let this = (*this).get_impl(); match IWSManEnumerator_Impl::ReadItem(this) { Ok(ok__) => { - core::ptr::write(resource, core::mem::transmute(ok__)); + resource.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -286,7 +286,7 @@ impl IWSManEnumerator_Vtbl { let this = (*this).get_impl(); match IWSManEnumerator_Impl::AtEndOfStream(this) { Ok(ok__) => { - core::ptr::write(eos, core::mem::transmute(ok__)); + eos.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -297,7 +297,7 @@ impl IWSManEnumerator_Vtbl { let this = (*this).get_impl(); match IWSManEnumerator_Impl::Error(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -347,7 +347,7 @@ impl IWSManEx_Vtbl { let this = (*this).get_impl(); match IWSManEx_Impl::CreateResourceLocator(this, core::mem::transmute(&strresourcelocator)) { Ok(ok__) => { - core::ptr::write(newresourcelocator, core::mem::transmute(ok__)); + newresourcelocator.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -358,7 +358,7 @@ impl IWSManEx_Vtbl { let this = (*this).get_impl(); match IWSManEx_Impl::SessionFlagUTF8(this) { Ok(ok__) => { - core::ptr::write(flags, core::mem::transmute(ok__)); + flags.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -369,7 +369,7 @@ impl IWSManEx_Vtbl { let this = (*this).get_impl(); match IWSManEx_Impl::SessionFlagCredUsernamePassword(this) { Ok(ok__) => { - core::ptr::write(flags, core::mem::transmute(ok__)); + flags.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -380,7 +380,7 @@ impl IWSManEx_Vtbl { let this = (*this).get_impl(); match IWSManEx_Impl::SessionFlagSkipCACheck(this) { Ok(ok__) => { - core::ptr::write(flags, core::mem::transmute(ok__)); + flags.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -391,7 +391,7 @@ impl IWSManEx_Vtbl { let this = (*this).get_impl(); match IWSManEx_Impl::SessionFlagSkipCNCheck(this) { Ok(ok__) => { - core::ptr::write(flags, core::mem::transmute(ok__)); + flags.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -402,7 +402,7 @@ impl IWSManEx_Vtbl { let this = (*this).get_impl(); match IWSManEx_Impl::SessionFlagUseDigest(this) { Ok(ok__) => { - core::ptr::write(flags, core::mem::transmute(ok__)); + flags.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -413,7 +413,7 @@ impl IWSManEx_Vtbl { let this = (*this).get_impl(); match IWSManEx_Impl::SessionFlagUseNegotiate(this) { Ok(ok__) => { - core::ptr::write(flags, core::mem::transmute(ok__)); + flags.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -424,7 +424,7 @@ impl IWSManEx_Vtbl { let this = (*this).get_impl(); match IWSManEx_Impl::SessionFlagUseBasic(this) { Ok(ok__) => { - core::ptr::write(flags, core::mem::transmute(ok__)); + flags.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -435,7 +435,7 @@ impl IWSManEx_Vtbl { let this = (*this).get_impl(); match IWSManEx_Impl::SessionFlagUseKerberos(this) { Ok(ok__) => { - core::ptr::write(flags, core::mem::transmute(ok__)); + flags.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -446,7 +446,7 @@ impl IWSManEx_Vtbl { let this = (*this).get_impl(); match IWSManEx_Impl::SessionFlagNoEncryption(this) { Ok(ok__) => { - core::ptr::write(flags, core::mem::transmute(ok__)); + flags.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -457,7 +457,7 @@ impl IWSManEx_Vtbl { let this = (*this).get_impl(); match IWSManEx_Impl::SessionFlagEnableSPNServerPort(this) { Ok(ok__) => { - core::ptr::write(flags, core::mem::transmute(ok__)); + flags.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -468,7 +468,7 @@ impl IWSManEx_Vtbl { let this = (*this).get_impl(); match IWSManEx_Impl::SessionFlagUseNoAuthentication(this) { Ok(ok__) => { - core::ptr::write(flags, core::mem::transmute(ok__)); + flags.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -479,7 +479,7 @@ impl IWSManEx_Vtbl { let this = (*this).get_impl(); match IWSManEx_Impl::EnumerationFlagNonXmlText(this) { Ok(ok__) => { - core::ptr::write(flags, core::mem::transmute(ok__)); + flags.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -490,7 +490,7 @@ impl IWSManEx_Vtbl { let this = (*this).get_impl(); match IWSManEx_Impl::EnumerationFlagReturnEPR(this) { Ok(ok__) => { - core::ptr::write(flags, core::mem::transmute(ok__)); + flags.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -501,7 +501,7 @@ impl IWSManEx_Vtbl { let this = (*this).get_impl(); match IWSManEx_Impl::EnumerationFlagReturnObjectAndEPR(this) { Ok(ok__) => { - core::ptr::write(flags, core::mem::transmute(ok__)); + flags.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -512,7 +512,7 @@ impl IWSManEx_Vtbl { let this = (*this).get_impl(); match IWSManEx_Impl::GetErrorMessage(this, core::mem::transmute_copy(&errornumber)) { Ok(ok__) => { - core::ptr::write(errormessage, core::mem::transmute(ok__)); + errormessage.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -523,7 +523,7 @@ impl IWSManEx_Vtbl { let this = (*this).get_impl(); match IWSManEx_Impl::EnumerationFlagHierarchyDeep(this) { Ok(ok__) => { - core::ptr::write(flags, core::mem::transmute(ok__)); + flags.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -534,7 +534,7 @@ impl IWSManEx_Vtbl { let this = (*this).get_impl(); match IWSManEx_Impl::EnumerationFlagHierarchyShallow(this) { Ok(ok__) => { - core::ptr::write(flags, core::mem::transmute(ok__)); + flags.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -545,7 +545,7 @@ impl IWSManEx_Vtbl { let this = (*this).get_impl(); match IWSManEx_Impl::EnumerationFlagHierarchyDeepBasePropsOnly(this) { Ok(ok__) => { - core::ptr::write(flags, core::mem::transmute(ok__)); + flags.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -556,7 +556,7 @@ impl IWSManEx_Vtbl { let this = (*this).get_impl(); match IWSManEx_Impl::EnumerationFlagReturnObject(this) { Ok(ok__) => { - core::ptr::write(flags, core::mem::transmute(ok__)); + flags.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -604,7 +604,7 @@ impl IWSManEx2_Vtbl { let this = (*this).get_impl(); match IWSManEx2_Impl::SessionFlagUseClientCertificate(this) { Ok(ok__) => { - core::ptr::write(flags, core::mem::transmute(ok__)); + flags.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -639,7 +639,7 @@ impl IWSManEx3_Vtbl { let this = (*this).get_impl(); match IWSManEx3_Impl::SessionFlagUTF16(this) { Ok(ok__) => { - core::ptr::write(flags, core::mem::transmute(ok__)); + flags.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -650,7 +650,7 @@ impl IWSManEx3_Vtbl { let this = (*this).get_impl(); match IWSManEx3_Impl::SessionFlagUseCredSsp(this) { Ok(ok__) => { - core::ptr::write(flags, core::mem::transmute(ok__)); + flags.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -661,7 +661,7 @@ impl IWSManEx3_Vtbl { let this = (*this).get_impl(); match IWSManEx3_Impl::EnumerationFlagAssociationInstance(this) { Ok(ok__) => { - core::ptr::write(flags, core::mem::transmute(ok__)); + flags.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -672,7 +672,7 @@ impl IWSManEx3_Vtbl { let this = (*this).get_impl(); match IWSManEx3_Impl::EnumerationFlagAssociatedInstance(this) { Ok(ok__) => { - core::ptr::write(flags, core::mem::transmute(ok__)); + flags.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -683,7 +683,7 @@ impl IWSManEx3_Vtbl { let this = (*this).get_impl(); match IWSManEx3_Impl::SessionFlagSkipRevocationCheck(this) { Ok(ok__) => { - core::ptr::write(flags, core::mem::transmute(ok__)); + flags.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -694,7 +694,7 @@ impl IWSManEx3_Vtbl { let this = (*this).get_impl(); match IWSManEx3_Impl::SessionFlagAllowNegotiateImplicitCredentials(this) { Ok(ok__) => { - core::ptr::write(flags, core::mem::transmute(ok__)); + flags.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -705,7 +705,7 @@ impl IWSManEx3_Vtbl { let this = (*this).get_impl(); match IWSManEx3_Impl::SessionFlagUseSsl(this) { Ok(ok__) => { - core::ptr::write(flags, core::mem::transmute(ok__)); + flags.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -740,7 +740,7 @@ impl IWSManInternal_Vtbl { let this = (*this).get_impl(); match IWSManInternal_Impl::ConfigSDDL(this, windows_core::from_raw_borrowed(&session), core::mem::transmute(&resourceuri), core::mem::transmute_copy(&flags)) { Ok(ok__) => { - core::ptr::write(resource, core::mem::transmute(ok__)); + resource.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -783,7 +783,7 @@ impl IWSManResourceLocator_Vtbl { let this = (*this).get_impl(); match IWSManResourceLocator_Impl::ResourceURI(this) { Ok(ok__) => { - core::ptr::write(uri, core::mem::transmute(ok__)); + uri.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -804,7 +804,7 @@ impl IWSManResourceLocator_Vtbl { let this = (*this).get_impl(); match IWSManResourceLocator_Impl::FragmentPath(this) { Ok(ok__) => { - core::ptr::write(text, core::mem::transmute(ok__)); + text.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -820,7 +820,7 @@ impl IWSManResourceLocator_Vtbl { let this = (*this).get_impl(); match IWSManResourceLocator_Impl::FragmentDialect(this) { Ok(ok__) => { - core::ptr::write(text, core::mem::transmute(ok__)); + text.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -846,7 +846,7 @@ impl IWSManResourceLocator_Vtbl { let this = (*this).get_impl(); match IWSManResourceLocator_Impl::MustUnderstandOptions(this) { Ok(ok__) => { - core::ptr::write(mustunderstand, core::mem::transmute(ok__)); + mustunderstand.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -862,7 +862,7 @@ impl IWSManResourceLocator_Vtbl { let this = (*this).get_impl(); match IWSManResourceLocator_Impl::Error(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -924,7 +924,7 @@ impl IWSManSession_Vtbl { let this = (*this).get_impl(); match IWSManSession_Impl::Get(this, core::mem::transmute(&resourceuri), core::mem::transmute_copy(&flags)) { Ok(ok__) => { - core::ptr::write(resource, core::mem::transmute(ok__)); + resource.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -935,7 +935,7 @@ impl IWSManSession_Vtbl { let this = (*this).get_impl(); match IWSManSession_Impl::Put(this, core::mem::transmute(&resourceuri), core::mem::transmute(&resource), core::mem::transmute_copy(&flags)) { Ok(ok__) => { - core::ptr::write(resultresource, core::mem::transmute(ok__)); + resultresource.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -946,7 +946,7 @@ impl IWSManSession_Vtbl { let this = (*this).get_impl(); match IWSManSession_Impl::Create(this, core::mem::transmute(&resourceuri), core::mem::transmute(&resource), core::mem::transmute_copy(&flags)) { Ok(ok__) => { - core::ptr::write(newuri, core::mem::transmute(ok__)); + newuri.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -962,7 +962,7 @@ impl IWSManSession_Vtbl { let this = (*this).get_impl(); match IWSManSession_Impl::Invoke(this, core::mem::transmute(&actionuri), core::mem::transmute(&resourceuri), core::mem::transmute(¶meters), core::mem::transmute_copy(&flags)) { Ok(ok__) => { - core::ptr::write(result, core::mem::transmute(ok__)); + result.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -973,7 +973,7 @@ impl IWSManSession_Vtbl { let this = (*this).get_impl(); match IWSManSession_Impl::Enumerate(this, core::mem::transmute(&resourceuri), core::mem::transmute(&filter), core::mem::transmute(&dialect), core::mem::transmute_copy(&flags)) { Ok(ok__) => { - core::ptr::write(resultset, core::mem::transmute(ok__)); + resultset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -984,7 +984,7 @@ impl IWSManSession_Vtbl { let this = (*this).get_impl(); match IWSManSession_Impl::Identify(this, core::mem::transmute_copy(&flags)) { Ok(ok__) => { - core::ptr::write(result, core::mem::transmute(ok__)); + result.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -995,7 +995,7 @@ impl IWSManSession_Vtbl { let this = (*this).get_impl(); match IWSManSession_Impl::Error(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1006,7 +1006,7 @@ impl IWSManSession_Vtbl { let this = (*this).get_impl(); match IWSManSession_Impl::BatchItems(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1022,7 +1022,7 @@ impl IWSManSession_Vtbl { let this = (*this).get_impl(); match IWSManSession_Impl::Timeout(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/Win32/System/Search/impl.rs b/crates/libs/windows/src/Windows/Win32/System/Search/impl.rs index 01353229d8..d5fb1db545 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Search/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Search/impl.rs @@ -13,7 +13,7 @@ impl DataSource_Vtbl { let this = (*this).get_impl(); match DataSource_Impl::getDataMember(this, core::mem::transmute_copy(&bstrdm), core::mem::transmute_copy(&riid)) { Ok(ok__) => { - core::ptr::write(ppunk, core::mem::transmute(ok__)); + ppunk.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -24,7 +24,7 @@ impl DataSource_Vtbl { let this = (*this).get_impl(); match DataSource_Impl::getDataMemberName(this, core::mem::transmute_copy(&lindex)) { Ok(ok__) => { - core::ptr::write(pbstrdm, core::mem::transmute(ok__)); + pbstrdm.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -35,7 +35,7 @@ impl DataSource_Vtbl { let this = (*this).get_impl(); match DataSource_Impl::getDataMemberCount(this) { Ok(ok__) => { - core::ptr::write(plcount, core::mem::transmute(ok__)); + plcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -307,7 +307,7 @@ impl IColumnMapperCreator_Vtbl { let this = (*this).get_impl(); match IColumnMapperCreator_Impl::GetColumnMapper(this, core::mem::transmute(&wcsmachinename), core::mem::transmute(&wcscatalogname)) { Ok(ok__) => { - core::ptr::write(ppcolumnmapper, core::mem::transmute(ok__)); + ppcolumnmapper.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -422,7 +422,7 @@ impl ICommand_Vtbl { let this = (*this).get_impl(); match ICommand_Impl::GetDBSession(this, core::mem::transmute_copy(&riid)) { Ok(ok__) => { - core::ptr::write(ppsession, core::mem::transmute(ok__)); + ppsession.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -516,7 +516,7 @@ impl ICommandPersist_Vtbl { let this = (*this).get_impl(); match ICommandPersist_Impl::GetCurrentCommand(this) { Ok(ok__) => { - core::ptr::write(ppcommandid, core::mem::transmute(ok__)); + ppcommandid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -739,7 +739,7 @@ impl ICondition_Vtbl { let this = (*this).get_impl(); match ICondition_Impl::GetConditionType(this) { Ok(ok__) => { - core::ptr::write(pnodetype, core::mem::transmute(ok__)); + pnodetype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -760,7 +760,7 @@ impl ICondition_Vtbl { let this = (*this).get_impl(); match ICondition_Impl::GetValueType(this) { Ok(ok__) => { - core::ptr::write(ppszvaluetypename, core::mem::transmute(ok__)); + ppszvaluetypename.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -771,7 +771,7 @@ impl ICondition_Vtbl { let this = (*this).get_impl(); match ICondition_Impl::GetValueNormalization(this) { Ok(ok__) => { - core::ptr::write(ppsznormalization, core::mem::transmute(ok__)); + ppsznormalization.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -787,7 +787,7 @@ impl ICondition_Vtbl { let this = (*this).get_impl(); match ICondition_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppc, core::mem::transmute(ok__)); + ppc.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -823,7 +823,7 @@ impl ICondition2_Vtbl { let this = (*this).get_impl(); match ICondition2_Impl::GetLocale(this) { Ok(ok__) => { - core::ptr::write(ppszlocalename, core::mem::transmute(ok__)); + ppszlocalename.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -861,7 +861,7 @@ impl IConditionFactory_Vtbl { let this = (*this).get_impl(); match IConditionFactory_Impl::MakeNot(this, windows_core::from_raw_borrowed(&pcsub), core::mem::transmute_copy(&fsimplify)) { Ok(ok__) => { - core::ptr::write(ppcresult, core::mem::transmute(ok__)); + ppcresult.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -872,7 +872,7 @@ impl IConditionFactory_Vtbl { let this = (*this).get_impl(); match IConditionFactory_Impl::MakeAndOr(this, core::mem::transmute_copy(&ct), windows_core::from_raw_borrowed(&peusubs), core::mem::transmute_copy(&fsimplify)) { Ok(ok__) => { - core::ptr::write(ppcresult, core::mem::transmute(ok__)); + ppcresult.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -883,7 +883,7 @@ impl IConditionFactory_Vtbl { let this = (*this).get_impl(); match IConditionFactory_Impl::MakeLeaf(this, core::mem::transmute(&pszpropertyname), core::mem::transmute_copy(&cop), core::mem::transmute(&pszvaluetype), core::mem::transmute_copy(&ppropvar), windows_core::from_raw_borrowed(&ppropertynameterm), windows_core::from_raw_borrowed(&poperationterm), windows_core::from_raw_borrowed(&pvalueterm), core::mem::transmute_copy(&fexpand)) { Ok(ok__) => { - core::ptr::write(ppcresult, core::mem::transmute(ok__)); + ppcresult.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -894,7 +894,7 @@ impl IConditionFactory_Vtbl { let this = (*this).get_impl(); match IConditionFactory_Impl::Resolve(this, windows_core::from_raw_borrowed(&pc), core::mem::transmute_copy(&sqro), core::mem::transmute_copy(&pstreferencetime)) { Ok(ok__) => { - core::ptr::write(ppcresolved, core::mem::transmute(ok__)); + ppcresolved.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1018,7 +1018,7 @@ impl IConditionGenerator_Vtbl { let this = (*this).get_impl(); match IConditionGenerator_Impl::GenerateForLeaf(this, windows_core::from_raw_borrowed(&pconditionfactory), core::mem::transmute(&pszpropertyname), core::mem::transmute_copy(&cop), core::mem::transmute(&pszvaluetype), core::mem::transmute(&pszvalue), core::mem::transmute(&pszvalue2), windows_core::from_raw_borrowed(&ppropertynameterm), windows_core::from_raw_borrowed(&poperationterm), windows_core::from_raw_borrowed(&pvalueterm), core::mem::transmute_copy(&automaticwildcard), core::mem::transmute_copy(&pnostringquery)) { Ok(ok__) => { - core::ptr::write(ppqueryexpression, core::mem::transmute(ok__)); + ppqueryexpression.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1170,7 +1170,7 @@ impl IDBCreateCommand_Vtbl { let this = (*this).get_impl(); match IDBCreateCommand_Impl::CreateCommand(this, windows_core::from_raw_borrowed(&punkouter), core::mem::transmute_copy(&riid)) { Ok(ok__) => { - core::ptr::write(ppcommand, core::mem::transmute(ok__)); + ppcommand.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1193,7 +1193,7 @@ impl IDBCreateSession_Vtbl { let this = (*this).get_impl(); match IDBCreateSession_Impl::CreateSession(this, windows_core::from_raw_borrowed(&punkouter), core::mem::transmute_copy(&riid)) { Ok(ok__) => { - core::ptr::write(ppdbsession, core::mem::transmute(ok__)); + ppdbsession.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1261,7 +1261,7 @@ impl IDBInfo_Vtbl { let this = (*this).get_impl(); match IDBInfo_Impl::GetKeywords(this) { Ok(ok__) => { - core::ptr::write(ppwszkeywords, core::mem::transmute(ok__)); + ppwszkeywords.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1326,7 +1326,7 @@ impl IDBPromptInitialize_Vtbl { let this = (*this).get_impl(); match IDBPromptInitialize_Impl::PromptFileName(this, core::mem::transmute_copy(&hwndparent), core::mem::transmute_copy(&dwpromptoptions), core::mem::transmute(&pwszinitialdirectory), core::mem::transmute(&pwszinitialfile)) { Ok(ok__) => { - core::ptr::write(ppwszselectedfile, core::mem::transmute(ok__)); + ppwszselectedfile.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1391,7 +1391,7 @@ impl IDBSchemaCommand_Vtbl { let this = (*this).get_impl(); match IDBSchemaCommand_Impl::GetCommand(this, windows_core::from_raw_borrowed(&punkouter), core::mem::transmute_copy(&rguidschema)) { Ok(ok__) => { - core::ptr::write(ppcommand, core::mem::transmute(ok__)); + ppcommand.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1527,7 +1527,7 @@ impl IDataInitialize_Vtbl { let this = (*this).get_impl(); match IDataInitialize_Impl::GetInitializationString(this, windows_core::from_raw_borrowed(&pdatasource), core::mem::transmute_copy(&fincludepassword)) { Ok(ok__) => { - core::ptr::write(ppwszinitstring, core::mem::transmute(ok__)); + ppwszinitstring.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1538,7 +1538,7 @@ impl IDataInitialize_Vtbl { let this = (*this).get_impl(); match IDataInitialize_Impl::CreateDBInstance(this, core::mem::transmute_copy(&clsidprovider), windows_core::from_raw_borrowed(&punkouter), core::mem::transmute_copy(&dwclsctx), core::mem::transmute(&pwszreserved), core::mem::transmute_copy(&riid)) { Ok(ok__) => { - core::ptr::write(ppdatasource, core::mem::transmute(ok__)); + ppdatasource.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1554,7 +1554,7 @@ impl IDataInitialize_Vtbl { let this = (*this).get_impl(); match IDataInitialize_Impl::LoadStringFromStorage(this, core::mem::transmute(&pwszfilename)) { Ok(ok__) => { - core::ptr::write(ppwszinitializationstring, core::mem::transmute(ok__)); + ppwszinitializationstring.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1596,7 +1596,7 @@ impl IDataSourceLocator_Vtbl { let this = (*this).get_impl(); match IDataSourceLocator_Impl::hWnd(this) { Ok(ok__) => { - core::ptr::write(phwndparent, core::mem::transmute(ok__)); + phwndparent.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1612,7 +1612,7 @@ impl IDataSourceLocator_Vtbl { let this = (*this).get_impl(); match IDataSourceLocator_Impl::PromptNew(this) { Ok(ok__) => { - core::ptr::write(ppadoconnection, core::mem::transmute(ok__)); + ppadoconnection.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1658,7 +1658,7 @@ impl IEntity_Vtbl { let this = (*this).get_impl(); match IEntity_Impl::Base(this) { Ok(ok__) => { - core::ptr::write(pbaseentity, core::mem::transmute(ok__)); + pbaseentity.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1674,7 +1674,7 @@ impl IEntity_Vtbl { let this = (*this).get_impl(); match IEntity_Impl::GetRelationship(this, core::mem::transmute(&pszrelationname)) { Ok(ok__) => { - core::ptr::write(prelationship, core::mem::transmute(ok__)); + prelationship.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1695,7 +1695,7 @@ impl IEntity_Vtbl { let this = (*this).get_impl(); match IEntity_Impl::GetNamedEntity(this, core::mem::transmute(&pszvalue)) { Ok(ok__) => { - core::ptr::write(ppnamedentity, core::mem::transmute(ok__)); + ppnamedentity.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1752,7 +1752,7 @@ impl IEnumItemProperties_Vtbl { let this = (*this).get_impl(); match IEnumItemProperties_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1763,7 +1763,7 @@ impl IEnumItemProperties_Vtbl { let this = (*this).get_impl(); match IEnumItemProperties_Impl::GetCount(this) { Ok(ok__) => { - core::ptr::write(pncount, core::mem::transmute(ok__)); + pncount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1811,7 +1811,7 @@ impl IEnumSearchRoots_Vtbl { let this = (*this).get_impl(); match IEnumSearchRoots_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1858,7 +1858,7 @@ impl IEnumSearchScopeRules_Vtbl { let this = (*this).get_impl(); match IEnumSearchScopeRules_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1906,7 +1906,7 @@ impl IEnumSubscription_Vtbl { let this = (*this).get_impl(); match IEnumSubscription_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1917,7 +1917,7 @@ impl IEnumSubscription_Vtbl { let this = (*this).get_impl(); match IEnumSubscription_Impl::GetCount(this) { Ok(ok__) => { - core::ptr::write(pncount, core::mem::transmute(ok__)); + pncount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2002,7 +2002,7 @@ impl IErrorRecords_Vtbl { let this = (*this).get_impl(); match IErrorRecords_Impl::GetCustomErrorObject(this, core::mem::transmute_copy(&ulrecordnum), core::mem::transmute_copy(&riid)) { Ok(ok__) => { - core::ptr::write(ppobject, core::mem::transmute(ok__)); + ppobject.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2013,7 +2013,7 @@ impl IErrorRecords_Vtbl { let this = (*this).get_impl(); match IErrorRecords_Impl::GetErrorInfo(this, core::mem::transmute_copy(&ulrecordnum), core::mem::transmute_copy(&lcid)) { Ok(ok__) => { - core::ptr::write(pperrorinfo, core::mem::transmute(ok__)); + pperrorinfo.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2024,7 +2024,7 @@ impl IErrorRecords_Vtbl { let this = (*this).get_impl(); match IErrorRecords_Impl::GetErrorParameters(this, core::mem::transmute_copy(&ulrecordnum)) { Ok(ok__) => { - core::ptr::write(pdispparams, core::mem::transmute(ok__)); + pdispparams.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2035,7 +2035,7 @@ impl IErrorRecords_Vtbl { let this = (*this).get_impl(); match IErrorRecords_Impl::GetRecordCount(this) { Ok(ok__) => { - core::ptr::write(pcrecords, core::mem::transmute(ok__)); + pcrecords.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2066,7 +2066,7 @@ impl IGetDataSource_Vtbl { let this = (*this).get_impl(); match IGetDataSource_Impl::GetDataSource(this, core::mem::transmute_copy(&riid)) { Ok(ok__) => { - core::ptr::write(ppdatasource, core::mem::transmute(ok__)); + ppdatasource.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2090,7 +2090,7 @@ impl IGetRow_Vtbl { let this = (*this).get_impl(); match IGetRow_Impl::GetRowFromHROW(this, windows_core::from_raw_borrowed(&punkouter), core::mem::transmute_copy(&hrow), core::mem::transmute_copy(&riid)) { Ok(ok__) => { - core::ptr::write(ppunk, core::mem::transmute(ok__)); + ppunk.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2101,7 +2101,7 @@ impl IGetRow_Vtbl { let this = (*this).get_impl(); match IGetRow_Impl::GetURLFromHROW(this, core::mem::transmute_copy(&hrow)) { Ok(ok__) => { - core::ptr::write(ppwszurl, core::mem::transmute(ok__)); + ppwszurl.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2128,7 +2128,7 @@ impl IGetSession_Vtbl { let this = (*this).get_impl(); match IGetSession_Impl::GetSession(this, core::mem::transmute_copy(&riid)) { Ok(ok__) => { - core::ptr::write(ppsession, core::mem::transmute(ok__)); + ppsession.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2151,7 +2151,7 @@ impl IGetSourceRow_Vtbl { let this = (*this).get_impl(); match IGetSourceRow_Impl::GetSourceRow(this, core::mem::transmute_copy(&riid)) { Ok(ok__) => { - core::ptr::write(pprow, core::mem::transmute(ok__)); + pprow.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2308,7 +2308,7 @@ impl IMDDataset_Vtbl { let this = (*this).get_impl(); match IMDDataset_Impl::GetSpecification(this, core::mem::transmute_copy(&riid)) { Ok(ok__) => { - core::ptr::write(ppspecification, core::mem::transmute(ok__)); + ppspecification.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2339,7 +2339,7 @@ impl IMDFind_Vtbl { let this = (*this).get_impl(); match IMDFind_Impl::FindCell(this, core::mem::transmute_copy(&ulstartingordinal), core::mem::transmute_copy(&cmembers), core::mem::transmute_copy(&rgpwszmember)) { Ok(ok__) => { - core::ptr::write(pulcellordinal, core::mem::transmute(ok__)); + pulcellordinal.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2350,7 +2350,7 @@ impl IMDFind_Vtbl { let this = (*this).get_impl(); match IMDFind_Impl::FindTuple(this, core::mem::transmute_copy(&ulaxisidentifier), core::mem::transmute_copy(&ulstartingordinal), core::mem::transmute_copy(&cmembers), core::mem::transmute_copy(&rgpwszmember)) { Ok(ok__) => { - core::ptr::write(pultupleordinal, core::mem::transmute(ok__)); + pultupleordinal.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2432,7 +2432,7 @@ impl INamedEntity_Vtbl { let this = (*this).get_impl(); match INamedEntity_Impl::GetValue(this) { Ok(ok__) => { - core::ptr::write(ppszvalue, core::mem::transmute(ok__)); + ppszvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2493,7 +2493,7 @@ impl IObjectAccessControl_Vtbl { let this = (*this).get_impl(); match IObjectAccessControl_Impl::GetObjectOwner(this, core::mem::transmute_copy(&pobject)) { Ok(ok__) => { - core::ptr::write(ppowner, core::mem::transmute(ok__)); + ppowner.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2504,7 +2504,7 @@ impl IObjectAccessControl_Vtbl { let this = (*this).get_impl(); match IObjectAccessControl_Impl::IsObjectAccessAllowed(this, core::mem::transmute_copy(&pobject), core::mem::transmute_copy(&paccessentry)) { Ok(ok__) => { - core::ptr::write(pfresult, core::mem::transmute(ok__)); + pfresult.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2546,7 +2546,7 @@ impl IOpLockStatus_Vtbl { let this = (*this).get_impl(); match IOpLockStatus_Impl::IsOplockValid(this) { Ok(ok__) => { - core::ptr::write(pfisoplockvalid, core::mem::transmute(ok__)); + pfisoplockvalid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2557,7 +2557,7 @@ impl IOpLockStatus_Vtbl { let this = (*this).get_impl(); match IOpLockStatus_Impl::IsOplockBroken(this) { Ok(ok__) => { - core::ptr::write(pfisoplockbroken, core::mem::transmute(ok__)); + pfisoplockbroken.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2568,7 +2568,7 @@ impl IOpLockStatus_Vtbl { let this = (*this).get_impl(); match IOpLockStatus_Impl::GetOplockEventHandle(this) { Ok(ok__) => { - core::ptr::write(phoplockev, core::mem::transmute(ok__)); + phoplockev.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2616,7 +2616,7 @@ impl IParentRowset_Vtbl { let this = (*this).get_impl(); match IParentRowset_Impl::GetChildRowset(this, windows_core::from_raw_borrowed(&punkouter), core::mem::transmute_copy(&iordinal), core::mem::transmute_copy(&riid)) { Ok(ok__) => { - core::ptr::write(pprowset, core::mem::transmute(ok__)); + pprowset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2642,7 +2642,7 @@ impl IProtocolHandlerSite_Vtbl { let this = (*this).get_impl(); match IProtocolHandlerSite_Impl::GetFilter(this, core::mem::transmute_copy(&pclsidobj), core::mem::transmute(&pcwszcontenttype), core::mem::transmute(&pcwszextension)) { Ok(ok__) => { - core::ptr::write(ppfilter, core::mem::transmute(ok__)); + ppfilter.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2668,7 +2668,7 @@ impl IProvideMoniker_Vtbl { let this = (*this).get_impl(); match IProvideMoniker_Impl::GetMoniker(this) { Ok(ok__) => { - core::ptr::write(ppimoniker, core::mem::transmute(ok__)); + ppimoniker.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2701,7 +2701,7 @@ impl IQueryParser_Vtbl { let this = (*this).get_impl(); match IQueryParser_Impl::Parse(this, core::mem::transmute(&pszinputstring), windows_core::from_raw_borrowed(&pcustomproperties)) { Ok(ok__) => { - core::ptr::write(ppsolution, core::mem::transmute(ok__)); + ppsolution.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2717,7 +2717,7 @@ impl IQueryParser_Vtbl { let this = (*this).get_impl(); match IQueryParser_Impl::GetOption(this, core::mem::transmute_copy(&option)) { Ok(ok__) => { - core::ptr::write(poptionvalue, core::mem::transmute(ok__)); + poptionvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2733,7 +2733,7 @@ impl IQueryParser_Vtbl { let this = (*this).get_impl(); match IQueryParser_Impl::GetSchemaProvider(this) { Ok(ok__) => { - core::ptr::write(ppschemaprovider, core::mem::transmute(ok__)); + ppschemaprovider.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2744,7 +2744,7 @@ impl IQueryParser_Vtbl { let this = (*this).get_impl(); match IQueryParser_Impl::RestateToString(this, windows_core::from_raw_borrowed(&pcondition), core::mem::transmute_copy(&fuseenglish)) { Ok(ok__) => { - core::ptr::write(ppszquerystring, core::mem::transmute(ok__)); + ppszquerystring.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2755,7 +2755,7 @@ impl IQueryParser_Vtbl { let this = (*this).get_impl(); match IQueryParser_Impl::ParsePropertyValue(this, core::mem::transmute(&pszpropertyname), core::mem::transmute(&pszinputstring)) { Ok(ok__) => { - core::ptr::write(ppsolution, core::mem::transmute(ok__)); + ppsolution.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2893,7 +2893,7 @@ impl IRegisterProvider_Vtbl { let this = (*this).get_impl(); match IRegisterProvider_Impl::GetURLMapping(this, core::mem::transmute(&pwszurl), core::mem::transmute_copy(&dwreserved)) { Ok(ok__) => { - core::ptr::write(pclsidprovider, core::mem::transmute(ok__)); + pclsidprovider.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2940,7 +2940,7 @@ impl IRelationship_Vtbl { let this = (*this).get_impl(); match IRelationship_Impl::IsReal(this) { Ok(ok__) => { - core::ptr::write(pisreal, core::mem::transmute(ok__)); + pisreal.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2951,7 +2951,7 @@ impl IRelationship_Vtbl { let this = (*this).get_impl(); match IRelationship_Impl::Destination(this) { Ok(ok__) => { - core::ptr::write(pdestinationentity, core::mem::transmute(ok__)); + pdestinationentity.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3079,7 +3079,7 @@ impl IRowPosition_Vtbl { let this = (*this).get_impl(); match IRowPosition_Impl::GetRowset(this, core::mem::transmute_copy(&riid)) { Ok(ok__) => { - core::ptr::write(pprowset, core::mem::transmute(ok__)); + pprowset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3270,7 +3270,7 @@ impl IRowsetChange_Vtbl { let this = (*this).get_impl(); match IRowsetChange_Impl::InsertRow(this, core::mem::transmute_copy(&hreserved), core::mem::transmute_copy(&haccessor), core::mem::transmute_copy(&pdata)) { Ok(ok__) => { - core::ptr::write(phrow, core::mem::transmute(ok__)); + phrow.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3355,7 +3355,7 @@ impl IRowsetCopyRows_Vtbl { let this = (*this).get_impl(); match IRowsetCopyRows_Impl::CopyRows(this, core::mem::transmute_copy(&hsourceid), core::mem::transmute_copy(&hreserved), core::mem::transmute_copy(&crows), core::mem::transmute_copy(&bflags)) { Ok(ok__) => { - core::ptr::write(pcrowscopied, core::mem::transmute(ok__)); + pcrowscopied.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3366,7 +3366,7 @@ impl IRowsetCopyRows_Vtbl { let this = (*this).get_impl(); match IRowsetCopyRows_Impl::DefineSource(this, windows_core::from_raw_borrowed(&prowsetsource), core::mem::transmute_copy(&ccolids), core::mem::transmute_copy(&rgsourcecolumns), core::mem::transmute_copy(&rgtargetcolumns)) { Ok(ok__) => { - core::ptr::write(phsourceid, core::mem::transmute(ok__)); + phsourceid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3399,7 +3399,7 @@ impl IRowsetCurrentIndex_Vtbl { let this = (*this).get_impl(); match IRowsetCurrentIndex_Impl::GetIndex(this) { Ok(ok__) => { - core::ptr::write(ppindexid, core::mem::transmute(ok__)); + ppindexid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3597,7 +3597,7 @@ impl IRowsetInfo_Vtbl { let this = (*this).get_impl(); match IRowsetInfo_Impl::GetReferencedRowset(this, core::mem::transmute_copy(&iordinal), core::mem::transmute_copy(&riid)) { Ok(ok__) => { - core::ptr::write(ppreferencedrowset, core::mem::transmute(ok__)); + ppreferencedrowset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3608,7 +3608,7 @@ impl IRowsetInfo_Vtbl { let this = (*this).get_impl(); match IRowsetInfo_Impl::GetSpecification(this, core::mem::transmute_copy(&riid)) { Ok(ok__) => { - core::ptr::write(ppspecification, core::mem::transmute(ok__)); + ppspecification.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3656,7 +3656,7 @@ impl IRowsetLocate_Vtbl { let this = (*this).get_impl(); match IRowsetLocate_Impl::Compare(this, core::mem::transmute_copy(&hreserved), core::mem::transmute_copy(&cbbookmark1), core::mem::transmute_copy(&pbookmark1), core::mem::transmute_copy(&cbbookmark2), core::mem::transmute_copy(&pbookmark2)) { Ok(ok__) => { - core::ptr::write(pcomparison, core::mem::transmute(ok__)); + pcomparison.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3700,7 +3700,7 @@ impl IRowsetNewRowAfter_Vtbl { let this = (*this).get_impl(); match IRowsetNewRowAfter_Impl::SetNewDataAfter(this, core::mem::transmute_copy(&hchapter), core::mem::transmute_copy(&cbbmprevious), core::mem::transmute_copy(&pbmprevious), core::mem::transmute_copy(&haccessor), core::mem::transmute_copy(&pdata)) { Ok(ok__) => { - core::ptr::write(phrow, core::mem::transmute(ok__)); + phrow.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3723,7 +3723,7 @@ impl IRowsetNextRowset_Vtbl { let this = (*this).get_impl(); match IRowsetNextRowset_Impl::GetNextRowset(this, windows_core::from_raw_borrowed(&punkouter), core::mem::transmute_copy(&riid)) { Ok(ok__) => { - core::ptr::write(ppnextrowset, core::mem::transmute(ok__)); + ppnextrowset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3971,7 +3971,7 @@ impl IRowsetView_Vtbl { let this = (*this).get_impl(); match IRowsetView_Impl::CreateView(this, windows_core::from_raw_borrowed(&punkouter), core::mem::transmute_copy(&riid)) { Ok(ok__) => { - core::ptr::write(ppview, core::mem::transmute(ok__)); + ppview.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4059,7 +4059,7 @@ impl IRowsetWatchRegion_Vtbl { let this = (*this).get_impl(); match IRowsetWatchRegion_Impl::CreateWatchRegion(this, core::mem::transmute_copy(&dwwatchmode)) { Ok(ok__) => { - core::ptr::write(phregion, core::mem::transmute(ok__)); + phregion.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4216,7 +4216,7 @@ impl ISchemaLocalizerSupport_Vtbl { let this = (*this).get_impl(); match ISchemaLocalizerSupport_Impl::Localize(this, core::mem::transmute(&pszglobalstring)) { Ok(ok__) => { - core::ptr::write(ppszlocalstring, core::mem::transmute(ok__)); + ppszlocalstring.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4280,7 +4280,7 @@ impl ISchemaProvider_Vtbl { let this = (*this).get_impl(); match ISchemaProvider_Impl::RootEntity(this) { Ok(ok__) => { - core::ptr::write(prootentity, core::mem::transmute(ok__)); + prootentity.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4291,7 +4291,7 @@ impl ISchemaProvider_Vtbl { let this = (*this).get_impl(); match ISchemaProvider_Impl::GetEntity(this, core::mem::transmute(&pszentityname)) { Ok(ok__) => { - core::ptr::write(pentity, core::mem::transmute(ok__)); + pentity.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4415,7 +4415,7 @@ impl ISearchCatalogManager_Vtbl { let this = (*this).get_impl(); match ISearchCatalogManager_Impl::Name(this) { Ok(ok__) => { - core::ptr::write(pszname, core::mem::transmute(ok__)); + pszname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4426,7 +4426,7 @@ impl ISearchCatalogManager_Vtbl { let this = (*this).get_impl(); match ISearchCatalogManager_Impl::GetParameter(this, core::mem::transmute(&pszname)) { Ok(ok__) => { - core::ptr::write(ppvalue, core::mem::transmute(ok__)); + ppvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4472,7 +4472,7 @@ impl ISearchCatalogManager_Vtbl { let this = (*this).get_impl(); match ISearchCatalogManager_Impl::ConnectTimeout(this) { Ok(ok__) => { - core::ptr::write(pdwconnecttimeout, core::mem::transmute(ok__)); + pdwconnecttimeout.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4488,7 +4488,7 @@ impl ISearchCatalogManager_Vtbl { let this = (*this).get_impl(); match ISearchCatalogManager_Impl::DataTimeout(this) { Ok(ok__) => { - core::ptr::write(pdwdatatimeout, core::mem::transmute(ok__)); + pdwdatatimeout.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4499,7 +4499,7 @@ impl ISearchCatalogManager_Vtbl { let this = (*this).get_impl(); match ISearchCatalogManager_Impl::NumberOfItems(this) { Ok(ok__) => { - core::ptr::write(plcount, core::mem::transmute(ok__)); + plcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4515,7 +4515,7 @@ impl ISearchCatalogManager_Vtbl { let this = (*this).get_impl(); match ISearchCatalogManager_Impl::URLBeingIndexed(this) { Ok(ok__) => { - core::ptr::write(pszurl, core::mem::transmute(ok__)); + pszurl.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4526,7 +4526,7 @@ impl ISearchCatalogManager_Vtbl { let this = (*this).get_impl(); match ISearchCatalogManager_Impl::GetURLIndexingState(this, core::mem::transmute(&pszurl)) { Ok(ok__) => { - core::ptr::write(pdwstate, core::mem::transmute(ok__)); + pdwstate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4537,7 +4537,7 @@ impl ISearchCatalogManager_Vtbl { let this = (*this).get_impl(); match ISearchCatalogManager_Impl::GetPersistentItemsChangedSink(this) { Ok(ok__) => { - core::ptr::write(ppisearchpersistentitemschangedsink, core::mem::transmute(ok__)); + ppisearchpersistentitemschangedsink.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4548,7 +4548,7 @@ impl ISearchCatalogManager_Vtbl { let this = (*this).get_impl(); match ISearchCatalogManager_Impl::RegisterViewForNotification(this, core::mem::transmute(&pszview), windows_core::from_raw_borrowed(&pviewchangedsink)) { Ok(ok__) => { - core::ptr::write(pdwcookie, core::mem::transmute(ok__)); + pdwcookie.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4574,7 +4574,7 @@ impl ISearchCatalogManager_Vtbl { let this = (*this).get_impl(); match ISearchCatalogManager_Impl::EnumerateExcludedExtensions(this) { Ok(ok__) => { - core::ptr::write(ppextensions, core::mem::transmute(ok__)); + ppextensions.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4585,7 +4585,7 @@ impl ISearchCatalogManager_Vtbl { let this = (*this).get_impl(); match ISearchCatalogManager_Impl::GetQueryHelper(this) { Ok(ok__) => { - core::ptr::write(ppsearchqueryhelper, core::mem::transmute(ok__)); + ppsearchqueryhelper.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4601,7 +4601,7 @@ impl ISearchCatalogManager_Vtbl { let this = (*this).get_impl(); match ISearchCatalogManager_Impl::DiacriticSensitivity(this) { Ok(ok__) => { - core::ptr::write(pfdiacriticsensitive, core::mem::transmute(ok__)); + pfdiacriticsensitive.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4612,7 +4612,7 @@ impl ISearchCatalogManager_Vtbl { let this = (*this).get_impl(); match ISearchCatalogManager_Impl::GetCrawlScopeManager(this) { Ok(ok__) => { - core::ptr::write(ppcrawlscopemanager, core::mem::transmute(ok__)); + ppcrawlscopemanager.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4713,7 +4713,7 @@ impl ISearchCrawlScopeManager_Vtbl { let this = (*this).get_impl(); match ISearchCrawlScopeManager_Impl::EnumerateRoots(this) { Ok(ok__) => { - core::ptr::write(ppsearchroots, core::mem::transmute(ok__)); + ppsearchroots.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4739,7 +4739,7 @@ impl ISearchCrawlScopeManager_Vtbl { let this = (*this).get_impl(); match ISearchCrawlScopeManager_Impl::EnumerateScopeRules(this) { Ok(ok__) => { - core::ptr::write(ppsearchscoperules, core::mem::transmute(ok__)); + ppsearchscoperules.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4750,7 +4750,7 @@ impl ISearchCrawlScopeManager_Vtbl { let this = (*this).get_impl(); match ISearchCrawlScopeManager_Impl::HasParentScopeRule(this, core::mem::transmute(&pszurl)) { Ok(ok__) => { - core::ptr::write(pfhasparentrule, core::mem::transmute(ok__)); + pfhasparentrule.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4761,7 +4761,7 @@ impl ISearchCrawlScopeManager_Vtbl { let this = (*this).get_impl(); match ISearchCrawlScopeManager_Impl::HasChildScopeRule(this, core::mem::transmute(&pszurl)) { Ok(ok__) => { - core::ptr::write(pfhaschildrule, core::mem::transmute(ok__)); + pfhaschildrule.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4772,7 +4772,7 @@ impl ISearchCrawlScopeManager_Vtbl { let this = (*this).get_impl(); match ISearchCrawlScopeManager_Impl::IncludedInCrawlScope(this, core::mem::transmute(&pszurl)) { Ok(ok__) => { - core::ptr::write(pfisincluded, core::mem::transmute(ok__)); + pfisincluded.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4798,7 +4798,7 @@ impl ISearchCrawlScopeManager_Vtbl { let this = (*this).get_impl(); match ISearchCrawlScopeManager_Impl::GetParentScopeVersionId(this, core::mem::transmute(&pszurl)) { Ok(ok__) => { - core::ptr::write(plscopeid, core::mem::transmute(ok__)); + plscopeid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4907,7 +4907,7 @@ impl ISearchLanguageSupport_Vtbl { let this = (*this).get_impl(); match ISearchLanguageSupport_Impl::GetDiacriticSensitivity(this) { Ok(ok__) => { - core::ptr::write(pfdiacriticsensitive, core::mem::transmute(ok__)); + pfdiacriticsensitive.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4928,7 +4928,7 @@ impl ISearchLanguageSupport_Vtbl { let this = (*this).get_impl(); match ISearchLanguageSupport_Impl::IsPrefixNormalized(this, core::mem::transmute(&pwcsquerytoken), core::mem::transmute_copy(&cwcquerytoken), core::mem::transmute(&pwcsdocumenttoken), core::mem::transmute_copy(&cwcdocumenttoken)) { Ok(ok__) => { - core::ptr::write(pulprefixlength, core::mem::transmute(ok__)); + pulprefixlength.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4970,7 +4970,7 @@ impl ISearchManager_Vtbl { let this = (*this).get_impl(); match ISearchManager_Impl::GetIndexerVersionStr(this) { Ok(ok__) => { - core::ptr::write(ppszversionstring, core::mem::transmute(ok__)); + ppszversionstring.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4986,7 +4986,7 @@ impl ISearchManager_Vtbl { let this = (*this).get_impl(); match ISearchManager_Impl::GetParameter(this, core::mem::transmute(&pszname)) { Ok(ok__) => { - core::ptr::write(ppvalue, core::mem::transmute(ok__)); + ppvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5002,7 +5002,7 @@ impl ISearchManager_Vtbl { let this = (*this).get_impl(); match ISearchManager_Impl::ProxyName(this) { Ok(ok__) => { - core::ptr::write(ppszproxyname, core::mem::transmute(ok__)); + ppszproxyname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5013,7 +5013,7 @@ impl ISearchManager_Vtbl { let this = (*this).get_impl(); match ISearchManager_Impl::BypassList(this) { Ok(ok__) => { - core::ptr::write(ppszbypasslist, core::mem::transmute(ok__)); + ppszbypasslist.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5029,7 +5029,7 @@ impl ISearchManager_Vtbl { let this = (*this).get_impl(); match ISearchManager_Impl::GetCatalog(this, core::mem::transmute(&pszcatalog)) { Ok(ok__) => { - core::ptr::write(ppcatalogmanager, core::mem::transmute(ok__)); + ppcatalogmanager.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5040,7 +5040,7 @@ impl ISearchManager_Vtbl { let this = (*this).get_impl(); match ISearchManager_Impl::UserAgent(this) { Ok(ok__) => { - core::ptr::write(ppszuseragent, core::mem::transmute(ok__)); + ppszuseragent.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5056,7 +5056,7 @@ impl ISearchManager_Vtbl { let this = (*this).get_impl(); match ISearchManager_Impl::UseProxy(this) { Ok(ok__) => { - core::ptr::write(puseproxy, core::mem::transmute(ok__)); + puseproxy.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5067,7 +5067,7 @@ impl ISearchManager_Vtbl { let this = (*this).get_impl(); match ISearchManager_Impl::LocalBypass(this) { Ok(ok__) => { - core::ptr::write(pflocalbypass, core::mem::transmute(ok__)); + pflocalbypass.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5078,7 +5078,7 @@ impl ISearchManager_Vtbl { let this = (*this).get_impl(); match ISearchManager_Impl::PortNumber(this) { Ok(ok__) => { - core::ptr::write(pdwportnumber, core::mem::transmute(ok__)); + pdwportnumber.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5117,7 +5117,7 @@ impl ISearchManager2_Vtbl { let this = (*this).get_impl(); match ISearchManager2_Impl::CreateCatalog(this, core::mem::transmute(&pszcatalog)) { Ok(ok__) => { - core::ptr::write(ppcatalogmanager, core::mem::transmute(ok__)); + ppcatalogmanager.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5218,7 +5218,7 @@ impl ISearchProtocol_Vtbl { let this = (*this).get_impl(); match ISearchProtocol_Impl::CreateAccessor(this, core::mem::transmute(&pcwszurl), core::mem::transmute_copy(&pauthenticationinfo), core::mem::transmute_copy(&pincrementalaccessinfo), core::mem::transmute_copy(&piteminfo)) { Ok(ok__) => { - core::ptr::write(ppaccessor, core::mem::transmute(ok__)); + ppaccessor.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5260,7 +5260,7 @@ impl ISearchProtocol2_Vtbl { let this = (*this).get_impl(); match ISearchProtocol2_Impl::CreateAccessorEx(this, core::mem::transmute(&pcwszurl), core::mem::transmute_copy(&pauthenticationinfo), core::mem::transmute_copy(&pincrementalaccessinfo), core::mem::transmute_copy(&piteminfo), core::mem::transmute_copy(&puserdata)) { Ok(ok__) => { - core::ptr::write(ppaccessor, core::mem::transmute(ok__)); + ppaccessor.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5340,7 +5340,7 @@ impl ISearchQueryHelper_Vtbl { let this = (*this).get_impl(); match ISearchQueryHelper_Impl::ConnectionString(this) { Ok(ok__) => { - core::ptr::write(pszconnectionstring, core::mem::transmute(ok__)); + pszconnectionstring.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5356,7 +5356,7 @@ impl ISearchQueryHelper_Vtbl { let this = (*this).get_impl(); match ISearchQueryHelper_Impl::QueryContentLocale(this) { Ok(ok__) => { - core::ptr::write(plcid, core::mem::transmute(ok__)); + plcid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5372,7 +5372,7 @@ impl ISearchQueryHelper_Vtbl { let this = (*this).get_impl(); match ISearchQueryHelper_Impl::QueryKeywordLocale(this) { Ok(ok__) => { - core::ptr::write(plcid, core::mem::transmute(ok__)); + plcid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5388,7 +5388,7 @@ impl ISearchQueryHelper_Vtbl { let this = (*this).get_impl(); match ISearchQueryHelper_Impl::QueryTermExpansion(this) { Ok(ok__) => { - core::ptr::write(pexpandterms, core::mem::transmute(ok__)); + pexpandterms.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5404,7 +5404,7 @@ impl ISearchQueryHelper_Vtbl { let this = (*this).get_impl(); match ISearchQueryHelper_Impl::QuerySyntax(this) { Ok(ok__) => { - core::ptr::write(pquerysyntax, core::mem::transmute(ok__)); + pquerysyntax.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5420,7 +5420,7 @@ impl ISearchQueryHelper_Vtbl { let this = (*this).get_impl(); match ISearchQueryHelper_Impl::QueryContentProperties(this) { Ok(ok__) => { - core::ptr::write(ppszcontentproperties, core::mem::transmute(ok__)); + ppszcontentproperties.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5436,7 +5436,7 @@ impl ISearchQueryHelper_Vtbl { let this = (*this).get_impl(); match ISearchQueryHelper_Impl::QuerySelectColumns(this) { Ok(ok__) => { - core::ptr::write(ppszselectcolumns, core::mem::transmute(ok__)); + ppszselectcolumns.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5452,7 +5452,7 @@ impl ISearchQueryHelper_Vtbl { let this = (*this).get_impl(); match ISearchQueryHelper_Impl::QueryWhereRestrictions(this) { Ok(ok__) => { - core::ptr::write(ppszrestrictions, core::mem::transmute(ok__)); + ppszrestrictions.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5468,7 +5468,7 @@ impl ISearchQueryHelper_Vtbl { let this = (*this).get_impl(); match ISearchQueryHelper_Impl::QuerySorting(this) { Ok(ok__) => { - core::ptr::write(ppszsorting, core::mem::transmute(ok__)); + ppszsorting.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5479,7 +5479,7 @@ impl ISearchQueryHelper_Vtbl { let this = (*this).get_impl(); match ISearchQueryHelper_Impl::GenerateSQLFromUserQuery(this, core::mem::transmute(&pszquery)) { Ok(ok__) => { - core::ptr::write(ppszsql, core::mem::transmute(ok__)); + ppszsql.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5500,7 +5500,7 @@ impl ISearchQueryHelper_Vtbl { let this = (*this).get_impl(); match ISearchQueryHelper_Impl::QueryMaxResults(this) { Ok(ok__) => { - core::ptr::write(pcmaxresults, core::mem::transmute(ok__)); + pcmaxresults.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5609,7 +5609,7 @@ impl ISearchRoot_Vtbl { let this = (*this).get_impl(); match ISearchRoot_Impl::Schedule(this) { Ok(ok__) => { - core::ptr::write(ppsztaskarg, core::mem::transmute(ok__)); + ppsztaskarg.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5625,7 +5625,7 @@ impl ISearchRoot_Vtbl { let this = (*this).get_impl(); match ISearchRoot_Impl::RootURL(this) { Ok(ok__) => { - core::ptr::write(ppszurl, core::mem::transmute(ok__)); + ppszurl.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5641,7 +5641,7 @@ impl ISearchRoot_Vtbl { let this = (*this).get_impl(); match ISearchRoot_Impl::IsHierarchical(this) { Ok(ok__) => { - core::ptr::write(pfishierarchical, core::mem::transmute(ok__)); + pfishierarchical.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5657,7 +5657,7 @@ impl ISearchRoot_Vtbl { let this = (*this).get_impl(); match ISearchRoot_Impl::ProvidesNotifications(this) { Ok(ok__) => { - core::ptr::write(pfprovidesnotifications, core::mem::transmute(ok__)); + pfprovidesnotifications.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5673,7 +5673,7 @@ impl ISearchRoot_Vtbl { let this = (*this).get_impl(); match ISearchRoot_Impl::UseNotificationsOnly(this) { Ok(ok__) => { - core::ptr::write(pfusenotificationsonly, core::mem::transmute(ok__)); + pfusenotificationsonly.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5689,7 +5689,7 @@ impl ISearchRoot_Vtbl { let this = (*this).get_impl(); match ISearchRoot_Impl::EnumerationDepth(this) { Ok(ok__) => { - core::ptr::write(pdwdepth, core::mem::transmute(ok__)); + pdwdepth.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5705,7 +5705,7 @@ impl ISearchRoot_Vtbl { let this = (*this).get_impl(); match ISearchRoot_Impl::HostDepth(this) { Ok(ok__) => { - core::ptr::write(pdwdepth, core::mem::transmute(ok__)); + pdwdepth.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5721,7 +5721,7 @@ impl ISearchRoot_Vtbl { let this = (*this).get_impl(); match ISearchRoot_Impl::FollowDirectories(this) { Ok(ok__) => { - core::ptr::write(pffollowdirectories, core::mem::transmute(ok__)); + pffollowdirectories.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5737,7 +5737,7 @@ impl ISearchRoot_Vtbl { let this = (*this).get_impl(); match ISearchRoot_Impl::AuthenticationType(this) { Ok(ok__) => { - core::ptr::write(pauthtype, core::mem::transmute(ok__)); + pauthtype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5753,7 +5753,7 @@ impl ISearchRoot_Vtbl { let this = (*this).get_impl(); match ISearchRoot_Impl::User(this) { Ok(ok__) => { - core::ptr::write(ppszuser, core::mem::transmute(ok__)); + ppszuser.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5769,7 +5769,7 @@ impl ISearchRoot_Vtbl { let this = (*this).get_impl(); match ISearchRoot_Impl::Password(this) { Ok(ok__) => { - core::ptr::write(ppszpassword, core::mem::transmute(ok__)); + ppszpassword.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5819,7 +5819,7 @@ impl ISearchScopeRule_Vtbl { let this = (*this).get_impl(); match ISearchScopeRule_Impl::PatternOrURL(this) { Ok(ok__) => { - core::ptr::write(ppszpatternorurl, core::mem::transmute(ok__)); + ppszpatternorurl.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5830,7 +5830,7 @@ impl ISearchScopeRule_Vtbl { let this = (*this).get_impl(); match ISearchScopeRule_Impl::IsIncluded(this) { Ok(ok__) => { - core::ptr::write(pfisincluded, core::mem::transmute(ok__)); + pfisincluded.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5841,7 +5841,7 @@ impl ISearchScopeRule_Vtbl { let this = (*this).get_impl(); match ISearchScopeRule_Impl::IsDefault(this) { Ok(ok__) => { - core::ptr::write(pfisdefault, core::mem::transmute(ok__)); + pfisdefault.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5852,7 +5852,7 @@ impl ISearchScopeRule_Vtbl { let this = (*this).get_impl(); match ISearchScopeRule_Impl::FollowFlags(this) { Ok(ok__) => { - core::ptr::write(pfollowflags, core::mem::transmute(ok__)); + pfollowflags.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5906,7 +5906,7 @@ impl ISecurityInfo_Vtbl { let this = (*this).get_impl(); match ISecurityInfo_Impl::GetCurrentTrustee(this) { Ok(ok__) => { - core::ptr::write(pptrustee, core::mem::transmute(ok__)); + pptrustee.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5922,7 +5922,7 @@ impl ISecurityInfo_Vtbl { let this = (*this).get_impl(); match ISecurityInfo_Impl::GetPermissions(this, core::mem::transmute(&objecttype)) { Ok(ok__) => { - core::ptr::write(ppermissions, core::mem::transmute(ok__)); + ppermissions.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6091,7 +6091,7 @@ impl ISubscriptionItem_Vtbl { let this = (*this).get_impl(); match ISubscriptionItem_Impl::GetCookie(this) { Ok(ok__) => { - core::ptr::write(pcookie, core::mem::transmute(ok__)); + pcookie.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6122,7 +6122,7 @@ impl ISubscriptionItem_Vtbl { let this = (*this).get_impl(); match ISubscriptionItem_Impl::EnumProperties(this) { Ok(ok__) => { - core::ptr::write(ppenumitemproperties, core::mem::transmute(ok__)); + ppenumitemproperties.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6181,7 +6181,7 @@ impl ISubscriptionMgr_Vtbl { let this = (*this).get_impl(); match ISubscriptionMgr_Impl::IsSubscribed(this, core::mem::transmute(&pwszurl)) { Ok(ok__) => { - core::ptr::write(pfsubscribed, core::mem::transmute(ok__)); + pfsubscribed.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6240,7 +6240,7 @@ impl ISubscriptionMgr2_Vtbl { let this = (*this).get_impl(); match ISubscriptionMgr2_Impl::GetItemFromURL(this, core::mem::transmute(&pwszurl)) { Ok(ok__) => { - core::ptr::write(ppsubscriptionitem, core::mem::transmute(ok__)); + ppsubscriptionitem.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6251,7 +6251,7 @@ impl ISubscriptionMgr2_Vtbl { let this = (*this).get_impl(); match ISubscriptionMgr2_Impl::GetItemFromCookie(this, core::mem::transmute_copy(&psubscriptioncookie)) { Ok(ok__) => { - core::ptr::write(ppsubscriptionitem, core::mem::transmute(ok__)); + ppsubscriptionitem.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6267,7 +6267,7 @@ impl ISubscriptionMgr2_Vtbl { let this = (*this).get_impl(); match ISubscriptionMgr2_Impl::EnumSubscriptions(this, core::mem::transmute_copy(&dwflags)) { Ok(ok__) => { - core::ptr::write(ppenumsubscriptions, core::mem::transmute(ok__)); + ppenumsubscriptions.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6476,7 +6476,7 @@ impl ITransactionJoin_Vtbl { let this = (*this).get_impl(); match ITransactionJoin_Impl::GetOptionsObject(this) { Ok(ok__) => { - core::ptr::write(ppoptions, core::mem::transmute(ok__)); + ppoptions.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6512,7 +6512,7 @@ impl ITransactionLocal_Vtbl { let this = (*this).get_impl(); match ITransactionLocal_Impl::GetOptionsObject(this) { Ok(ok__) => { - core::ptr::write(ppoptions, core::mem::transmute(ok__)); + ppoptions.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6547,7 +6547,7 @@ impl ITransactionObject_Vtbl { let this = (*this).get_impl(); match ITransactionObject_Impl::GetTransactionObject(this, core::mem::transmute_copy(&ultransactionlevel)) { Ok(ok__) => { - core::ptr::write(pptransactionobject, core::mem::transmute(ok__)); + pptransactionobject.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6638,7 +6638,7 @@ impl ITrusteeGroupAdmin_Vtbl { let this = (*this).get_impl(); match ITrusteeGroupAdmin_Impl::IsMember(this, core::mem::transmute_copy(&pmembershiptrustee), core::mem::transmute_copy(&pmembertrustee)) { Ok(ok__) => { - core::ptr::write(pfstatus, core::mem::transmute(ok__)); + pfstatus.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6775,7 +6775,7 @@ impl IUrlAccessor_Vtbl { let this = (*this).get_impl(); match IUrlAccessor_Impl::GetCLSID(this) { Ok(ok__) => { - core::ptr::write(pclsid, core::mem::transmute(ok__)); + pclsid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6796,7 +6796,7 @@ impl IUrlAccessor_Vtbl { let this = (*this).get_impl(); match IUrlAccessor_Impl::GetSize(this) { Ok(ok__) => { - core::ptr::write(pllsize, core::mem::transmute(ok__)); + pllsize.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6807,7 +6807,7 @@ impl IUrlAccessor_Vtbl { let this = (*this).get_impl(); match IUrlAccessor_Impl::GetLastModified(this) { Ok(ok__) => { - core::ptr::write(pftlastmodified, core::mem::transmute(ok__)); + pftlastmodified.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6833,7 +6833,7 @@ impl IUrlAccessor_Vtbl { let this = (*this).get_impl(); match IUrlAccessor_Impl::GetSecurityProvider(this) { Ok(ok__) => { - core::ptr::write(pspclsid, core::mem::transmute(ok__)); + pspclsid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6844,7 +6844,7 @@ impl IUrlAccessor_Vtbl { let this = (*this).get_impl(); match IUrlAccessor_Impl::BindToStream(this) { Ok(ok__) => { - core::ptr::write(ppstream, core::mem::transmute(ok__)); + ppstream.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6855,7 +6855,7 @@ impl IUrlAccessor_Vtbl { let this = (*this).get_impl(); match IUrlAccessor_Impl::BindToFilter(this) { Ok(ok__) => { - core::ptr::write(ppfilter, core::mem::transmute(ok__)); + ppfilter.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6954,7 +6954,7 @@ impl IUrlAccessor4_Vtbl { let this = (*this).get_impl(); match IUrlAccessor4_Impl::ShouldIndexItemContent(this) { Ok(ok__) => { - core::ptr::write(pfindexcontent, core::mem::transmute(ok__)); + pfindexcontent.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6965,7 +6965,7 @@ impl IUrlAccessor4_Vtbl { let this = (*this).get_impl(); match IUrlAccessor4_Impl::ShouldIndexProperty(this, core::mem::transmute_copy(&key)) { Ok(ok__) => { - core::ptr::write(pfindexproperty, core::mem::transmute(ok__)); + pfindexproperty.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6993,7 +6993,7 @@ impl IViewChapter_Vtbl { let this = (*this).get_impl(); match IViewChapter_Impl::GetSpecification(this, core::mem::transmute_copy(&riid)) { Ok(ok__) => { - core::ptr::write(pprowset, core::mem::transmute(ok__)); + pprowset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7063,7 +7063,7 @@ impl IViewRowset_Vtbl { let this = (*this).get_impl(); match IViewRowset_Impl::GetSpecification(this, core::mem::transmute_copy(&riid)) { Ok(ok__) => { - core::ptr::write(ppobject, core::mem::transmute(ok__)); + ppobject.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7074,7 +7074,7 @@ impl IViewRowset_Vtbl { let this = (*this).get_impl(); match IViewRowset_Impl::OpenViewRowset(this, windows_core::from_raw_borrowed(&punkouter), core::mem::transmute_copy(&riid)) { Ok(ok__) => { - core::ptr::write(pprowset, core::mem::transmute(ok__)); + pprowset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7263,7 +7263,7 @@ impl OLEDBSimpleProvider_Vtbl { let this = (*this).get_impl(); match OLEDBSimpleProvider_Impl::getRowCount(this) { Ok(ok__) => { - core::ptr::write(pcrows, core::mem::transmute(ok__)); + pcrows.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7274,7 +7274,7 @@ impl OLEDBSimpleProvider_Vtbl { let this = (*this).get_impl(); match OLEDBSimpleProvider_Impl::getColumnCount(this) { Ok(ok__) => { - core::ptr::write(pccolumns, core::mem::transmute(ok__)); + pccolumns.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7285,7 +7285,7 @@ impl OLEDBSimpleProvider_Vtbl { let this = (*this).get_impl(); match OLEDBSimpleProvider_Impl::getRWStatus(this, core::mem::transmute_copy(&irow), core::mem::transmute_copy(&icolumn)) { Ok(ok__) => { - core::ptr::write(prwstatus, core::mem::transmute(ok__)); + prwstatus.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7296,7 +7296,7 @@ impl OLEDBSimpleProvider_Vtbl { let this = (*this).get_impl(); match OLEDBSimpleProvider_Impl::getVariant(this, core::mem::transmute_copy(&irow), core::mem::transmute_copy(&icolumn), core::mem::transmute_copy(&format)) { Ok(ok__) => { - core::ptr::write(pvar, core::mem::transmute(ok__)); + pvar.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7312,7 +7312,7 @@ impl OLEDBSimpleProvider_Vtbl { let this = (*this).get_impl(); match OLEDBSimpleProvider_Impl::getLocale(this) { Ok(ok__) => { - core::ptr::write(pbstrlocale, core::mem::transmute(ok__)); + pbstrlocale.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7323,7 +7323,7 @@ impl OLEDBSimpleProvider_Vtbl { let this = (*this).get_impl(); match OLEDBSimpleProvider_Impl::deleteRows(this, core::mem::transmute_copy(&irow), core::mem::transmute_copy(&crows)) { Ok(ok__) => { - core::ptr::write(pcrowsdeleted, core::mem::transmute(ok__)); + pcrowsdeleted.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7334,7 +7334,7 @@ impl OLEDBSimpleProvider_Vtbl { let this = (*this).get_impl(); match OLEDBSimpleProvider_Impl::insertRows(this, core::mem::transmute_copy(&irow), core::mem::transmute_copy(&crows)) { Ok(ok__) => { - core::ptr::write(pcrowsinserted, core::mem::transmute(ok__)); + pcrowsinserted.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7345,7 +7345,7 @@ impl OLEDBSimpleProvider_Vtbl { let this = (*this).get_impl(); match OLEDBSimpleProvider_Impl::find(this, core::mem::transmute_copy(&irowstart), core::mem::transmute_copy(&icolumn), core::mem::transmute(&val), core::mem::transmute_copy(&findflags), core::mem::transmute_copy(&comptype)) { Ok(ok__) => { - core::ptr::write(pirowfound, core::mem::transmute(ok__)); + pirowfound.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7366,7 +7366,7 @@ impl OLEDBSimpleProvider_Vtbl { let this = (*this).get_impl(); match OLEDBSimpleProvider_Impl::isAsync(this) { Ok(ok__) => { - core::ptr::write(pbasynch, core::mem::transmute(ok__)); + pbasynch.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7377,7 +7377,7 @@ impl OLEDBSimpleProvider_Vtbl { let this = (*this).get_impl(); match OLEDBSimpleProvider_Impl::getEstimatedRows(this) { Ok(ok__) => { - core::ptr::write(pirows, core::mem::transmute(ok__)); + pirows.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/Win32/System/SecurityCenter/impl.rs b/crates/libs/windows/src/Windows/Win32/System/SecurityCenter/impl.rs index 74e62aa530..13202604ac 100644 --- a/crates/libs/windows/src/Windows/Win32/System/SecurityCenter/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/SecurityCenter/impl.rs @@ -39,7 +39,7 @@ impl IWSCProductList_Vtbl { let this = (*this).get_impl(); match IWSCProductList_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -50,7 +50,7 @@ impl IWSCProductList_Vtbl { let this = (*this).get_impl(); match IWSCProductList_Impl::get_Item(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -87,7 +87,7 @@ impl IWscProduct_Vtbl { let this = (*this).get_impl(); match IWscProduct_Impl::ProductName(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -98,7 +98,7 @@ impl IWscProduct_Vtbl { let this = (*this).get_impl(); match IWscProduct_Impl::ProductState(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -109,7 +109,7 @@ impl IWscProduct_Vtbl { let this = (*this).get_impl(); match IWscProduct_Impl::SignatureStatus(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -120,7 +120,7 @@ impl IWscProduct_Vtbl { let this = (*this).get_impl(); match IWscProduct_Impl::RemediationPath(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -131,7 +131,7 @@ impl IWscProduct_Vtbl { let this = (*this).get_impl(); match IWscProduct_Impl::ProductStateTimestamp(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -142,7 +142,7 @@ impl IWscProduct_Vtbl { let this = (*this).get_impl(); match IWscProduct_Impl::ProductGuid(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -153,7 +153,7 @@ impl IWscProduct_Vtbl { let this = (*this).get_impl(); match IWscProduct_Impl::ProductIsDefault(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -193,7 +193,7 @@ impl IWscProduct2_Vtbl { let this = (*this).get_impl(); match IWscProduct2_Impl::AntivirusScanSubstatus(this) { Ok(ok__) => { - core::ptr::write(pestatus, core::mem::transmute(ok__)); + pestatus.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -204,7 +204,7 @@ impl IWscProduct2_Vtbl { let this = (*this).get_impl(); match IWscProduct2_Impl::AntivirusSettingsSubstatus(this) { Ok(ok__) => { - core::ptr::write(pestatus, core::mem::transmute(ok__)); + pestatus.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -215,7 +215,7 @@ impl IWscProduct2_Vtbl { let this = (*this).get_impl(); match IWscProduct2_Impl::AntivirusProtectionUpdateSubstatus(this) { Ok(ok__) => { - core::ptr::write(pestatus, core::mem::transmute(ok__)); + pestatus.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -226,7 +226,7 @@ impl IWscProduct2_Vtbl { let this = (*this).get_impl(); match IWscProduct2_Impl::FirewallDomainProfileSubstatus(this) { Ok(ok__) => { - core::ptr::write(pestatus, core::mem::transmute(ok__)); + pestatus.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -237,7 +237,7 @@ impl IWscProduct2_Vtbl { let this = (*this).get_impl(); match IWscProduct2_Impl::FirewallPrivateProfileSubstatus(this) { Ok(ok__) => { - core::ptr::write(pestatus, core::mem::transmute(ok__)); + pestatus.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -248,7 +248,7 @@ impl IWscProduct2_Vtbl { let this = (*this).get_impl(); match IWscProduct2_Impl::FirewallPublicProfileSubstatus(this) { Ok(ok__) => { - core::ptr::write(pestatus, core::mem::transmute(ok__)); + pestatus.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -282,7 +282,7 @@ impl IWscProduct3_Vtbl { let this = (*this).get_impl(); match IWscProduct3_Impl::AntivirusDaysUntilExpired(this) { Ok(ok__) => { - core::ptr::write(pdwdays, core::mem::transmute(ok__)); + pdwdays.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/Win32/System/ServerBackup/impl.rs b/crates/libs/windows/src/Windows/Win32/System/ServerBackup/impl.rs index 9264abc5a8..470c034712 100644 --- a/crates/libs/windows/src/Windows/Win32/System/ServerBackup/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/ServerBackup/impl.rs @@ -10,7 +10,7 @@ impl IWsbApplicationAsync_Vtbl { let this = (*this).get_impl(); match IWsbApplicationAsync_Impl::QueryStatus(this) { Ok(ok__) => { - core::ptr::write(phrresult, core::mem::transmute(ok__)); + phrresult.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -42,7 +42,7 @@ impl IWsbApplicationBackupSupport_Vtbl { let this = (*this).get_impl(); match IWsbApplicationBackupSupport_Impl::CheckConsistency(this, core::mem::transmute(&wszwritermetadata), core::mem::transmute(&wszcomponentname), core::mem::transmute(&wszcomponentlogicalpath), core::mem::transmute_copy(&cvolumes), core::mem::transmute_copy(&rgwszsourcevolumepath), core::mem::transmute_copy(&rgwszsnapshotvolumepath)) { Ok(ok__) => { - core::ptr::write(ppasync, core::mem::transmute(ok__)); + ppasync.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -83,7 +83,7 @@ impl IWsbApplicationRestoreSupport_Vtbl { let this = (*this).get_impl(); match IWsbApplicationRestoreSupport_Impl::IsRollForwardSupported(this) { Ok(ok__) => { - core::ptr::write(pbrollforwardsupported, core::mem::transmute(ok__)); + pbrollforwardsupported.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/Win32/System/SettingsManagementInfrastructure/impl.rs b/crates/libs/windows/src/Windows/Win32/System/SettingsManagementInfrastructure/impl.rs index eaf1cf3b56..00dcdeebf2 100644 --- a/crates/libs/windows/src/Windows/Win32/System/SettingsManagementInfrastructure/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/SettingsManagementInfrastructure/impl.rs @@ -11,7 +11,7 @@ impl IItemEnumerator_Vtbl { let this = (*this).get_impl(); match IItemEnumerator_Impl::Current(this) { Ok(ok__) => { - core::ptr::write(item, core::mem::transmute(ok__)); + item.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -22,7 +22,7 @@ impl IItemEnumerator_Vtbl { let this = (*this).get_impl(); match IItemEnumerator_Impl::MoveNext(this) { Ok(ok__) => { - core::ptr::write(itemvalid, core::mem::transmute(ok__)); + itemvalid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -69,7 +69,7 @@ impl ISettingsContext_Vtbl { let this = (*this).get_impl(); match ISettingsContext_Impl::Deserialize(this, windows_core::from_raw_borrowed(&pstream), windows_core::from_raw_borrowed(&ptarget), core::mem::transmute_copy(&pppresults)) { Ok(ok__) => { - core::ptr::write(pcresultcount, core::mem::transmute(ok__)); + pcresultcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -85,7 +85,7 @@ impl ISettingsContext_Vtbl { let this = (*this).get_impl(); match ISettingsContext_Impl::GetUserData(this) { Ok(ok__) => { - core::ptr::write(puserdata, core::mem::transmute(ok__)); + puserdata.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -96,7 +96,7 @@ impl ISettingsContext_Vtbl { let this = (*this).get_impl(); match ISettingsContext_Impl::GetNamespaces(this) { Ok(ok__) => { - core::ptr::write(ppnamespaceids, core::mem::transmute(ok__)); + ppnamespaceids.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -156,7 +156,7 @@ impl ISettingsEngine_Vtbl { let this = (*this).get_impl(); match ISettingsEngine_Impl::GetNamespaces(this, core::mem::transmute_copy(&flags), core::mem::transmute_copy(&reserved)) { Ok(ok__) => { - core::ptr::write(namespaces, core::mem::transmute(ok__)); + namespaces.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -167,7 +167,7 @@ impl ISettingsEngine_Vtbl { let this = (*this).get_impl(); match ISettingsEngine_Impl::GetNamespace(this, windows_core::from_raw_borrowed(&settingsid), core::mem::transmute_copy(&access), core::mem::transmute_copy(&reserved)) { Ok(ok__) => { - core::ptr::write(namespaceitem, core::mem::transmute(ok__)); + namespaceitem.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -178,7 +178,7 @@ impl ISettingsEngine_Vtbl { let this = (*this).get_impl(); match ISettingsEngine_Impl::GetErrorDescription(this, core::mem::transmute_copy(&hresult)) { Ok(ok__) => { - core::ptr::write(message, core::mem::transmute(ok__)); + message.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -189,7 +189,7 @@ impl ISettingsEngine_Vtbl { let this = (*this).get_impl(); match ISettingsEngine_Impl::CreateSettingsIdentity(this) { Ok(ok__) => { - core::ptr::write(settingsid, core::mem::transmute(ok__)); + settingsid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -200,7 +200,7 @@ impl ISettingsEngine_Vtbl { let this = (*this).get_impl(); match ISettingsEngine_Impl::GetStoreStatus(this, core::mem::transmute_copy(&reserved)) { Ok(ok__) => { - core::ptr::write(status, core::mem::transmute(ok__)); + status.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -221,7 +221,7 @@ impl ISettingsEngine_Vtbl { let this = (*this).get_impl(); match ISettingsEngine_Impl::RegisterNamespace(this, windows_core::from_raw_borrowed(&settingsid), windows_core::from_raw_borrowed(&stream), core::mem::transmute_copy(&pushsettings)) { Ok(ok__) => { - core::ptr::write(results, core::mem::transmute(ok__)); + results.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -237,7 +237,7 @@ impl ISettingsEngine_Vtbl { let this = (*this).get_impl(); match ISettingsEngine_Impl::CreateTargetInfo(this) { Ok(ok__) => { - core::ptr::write(target, core::mem::transmute(ok__)); + target.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -248,7 +248,7 @@ impl ISettingsEngine_Vtbl { let this = (*this).get_impl(); match ISettingsEngine_Impl::GetTargetInfo(this) { Ok(ok__) => { - core::ptr::write(target, core::mem::transmute(ok__)); + target.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -264,7 +264,7 @@ impl ISettingsEngine_Vtbl { let this = (*this).get_impl(); match ISettingsEngine_Impl::CreateSettingsContext(this, core::mem::transmute_copy(&flags), core::mem::transmute_copy(&reserved)) { Ok(ok__) => { - core::ptr::write(settingscontext, core::mem::transmute(ok__)); + settingscontext.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -280,7 +280,7 @@ impl ISettingsEngine_Vtbl { let this = (*this).get_impl(); match ISettingsEngine_Impl::ApplySettingsContext(this, windows_core::from_raw_borrowed(&settingscontext), core::mem::transmute_copy(&pppwzidentities)) { Ok(ok__) => { - core::ptr::write(pcidentities, core::mem::transmute(ok__)); + pcidentities.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -291,7 +291,7 @@ impl ISettingsEngine_Vtbl { let this = (*this).get_impl(); match ISettingsEngine_Impl::GetSettingsContext(this) { Ok(ok__) => { - core::ptr::write(settingscontext, core::mem::transmute(ok__)); + settingscontext.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -335,7 +335,7 @@ impl ISettingsIdentity_Vtbl { let this = (*this).get_impl(); match ISettingsIdentity_Impl::GetAttribute(this, core::mem::transmute_copy(&reserved), core::mem::transmute(&name)) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -351,7 +351,7 @@ impl ISettingsIdentity_Vtbl { let this = (*this).get_impl(); match ISettingsIdentity_Impl::GetFlags(this) { Ok(ok__) => { - core::ptr::write(flags, core::mem::transmute(ok__)); + flags.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -406,7 +406,7 @@ impl ISettingsItem_Vtbl { let this = (*this).get_impl(); match ISettingsItem_Impl::GetName(this) { Ok(ok__) => { - core::ptr::write(name, core::mem::transmute(ok__)); + name.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -417,7 +417,7 @@ impl ISettingsItem_Vtbl { let this = (*this).get_impl(); match ISettingsItem_Impl::GetValue(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -433,7 +433,7 @@ impl ISettingsItem_Vtbl { let this = (*this).get_impl(); match ISettingsItem_Impl::GetSettingType(this) { Ok(ok__) => { - core::ptr::write(r#type, core::mem::transmute(ok__)); + r#type.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -444,7 +444,7 @@ impl ISettingsItem_Vtbl { let this = (*this).get_impl(); match ISettingsItem_Impl::GetDataType(this) { Ok(ok__) => { - core::ptr::write(r#type, core::mem::transmute(ok__)); + r#type.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -455,7 +455,7 @@ impl ISettingsItem_Vtbl { let this = (*this).get_impl(); match ISettingsItem_Impl::GetValueRaw(this, core::mem::transmute_copy(&data)) { Ok(ok__) => { - core::ptr::write(datasize, core::mem::transmute(ok__)); + datasize.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -471,7 +471,7 @@ impl ISettingsItem_Vtbl { let this = (*this).get_impl(); match ISettingsItem_Impl::HasChild(this) { Ok(ok__) => { - core::ptr::write(itemhaschild, core::mem::transmute(ok__)); + itemhaschild.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -482,7 +482,7 @@ impl ISettingsItem_Vtbl { let this = (*this).get_impl(); match ISettingsItem_Impl::Children(this) { Ok(ok__) => { - core::ptr::write(children, core::mem::transmute(ok__)); + children.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -493,7 +493,7 @@ impl ISettingsItem_Vtbl { let this = (*this).get_impl(); match ISettingsItem_Impl::GetChild(this, core::mem::transmute(&name)) { Ok(ok__) => { - core::ptr::write(child, core::mem::transmute(ok__)); + child.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -504,7 +504,7 @@ impl ISettingsItem_Vtbl { let this = (*this).get_impl(); match ISettingsItem_Impl::GetSettingByPath(this, core::mem::transmute(&path)) { Ok(ok__) => { - core::ptr::write(setting, core::mem::transmute(ok__)); + setting.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -515,7 +515,7 @@ impl ISettingsItem_Vtbl { let this = (*this).get_impl(); match ISettingsItem_Impl::CreateSettingByPath(this, core::mem::transmute(&path)) { Ok(ok__) => { - core::ptr::write(setting, core::mem::transmute(ok__)); + setting.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -531,7 +531,7 @@ impl ISettingsItem_Vtbl { let this = (*this).get_impl(); match ISettingsItem_Impl::GetListKeyInformation(this, core::mem::transmute_copy(&keyname)) { Ok(ok__) => { - core::ptr::write(datatype, core::mem::transmute(ok__)); + datatype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -542,7 +542,7 @@ impl ISettingsItem_Vtbl { let this = (*this).get_impl(); match ISettingsItem_Impl::CreateListElement(this, core::mem::transmute_copy(&keydata)) { Ok(ok__) => { - core::ptr::write(child, core::mem::transmute(ok__)); + child.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -558,7 +558,7 @@ impl ISettingsItem_Vtbl { let this = (*this).get_impl(); match ISettingsItem_Impl::Attributes(this) { Ok(ok__) => { - core::ptr::write(attributes, core::mem::transmute(ok__)); + attributes.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -569,7 +569,7 @@ impl ISettingsItem_Vtbl { let this = (*this).get_impl(); match ISettingsItem_Impl::GetAttribute(this, core::mem::transmute(&name)) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -580,7 +580,7 @@ impl ISettingsItem_Vtbl { let this = (*this).get_impl(); match ISettingsItem_Impl::GetPath(this) { Ok(ok__) => { - core::ptr::write(path, core::mem::transmute(ok__)); + path.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -591,7 +591,7 @@ impl ISettingsItem_Vtbl { let this = (*this).get_impl(); match ISettingsItem_Impl::GetRestrictionFacets(this) { Ok(ok__) => { - core::ptr::write(restrictionfacets, core::mem::transmute(ok__)); + restrictionfacets.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -602,7 +602,7 @@ impl ISettingsItem_Vtbl { let this = (*this).get_impl(); match ISettingsItem_Impl::GetRestriction(this, core::mem::transmute_copy(&restrictionfacet)) { Ok(ok__) => { - core::ptr::write(facetdata, core::mem::transmute(ok__)); + facetdata.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -613,7 +613,7 @@ impl ISettingsItem_Vtbl { let this = (*this).get_impl(); match ISettingsItem_Impl::GetKeyValue(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -666,7 +666,7 @@ impl ISettingsNamespace_Vtbl { let this = (*this).get_impl(); match ISettingsNamespace_Impl::GetIdentity(this) { Ok(ok__) => { - core::ptr::write(settingsid, core::mem::transmute(ok__)); + settingsid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -677,7 +677,7 @@ impl ISettingsNamespace_Vtbl { let this = (*this).get_impl(); match ISettingsNamespace_Impl::Settings(this) { Ok(ok__) => { - core::ptr::write(settings, core::mem::transmute(ok__)); + settings.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -688,7 +688,7 @@ impl ISettingsNamespace_Vtbl { let this = (*this).get_impl(); match ISettingsNamespace_Impl::Save(this, core::mem::transmute_copy(&pushsettings)) { Ok(ok__) => { - core::ptr::write(result, core::mem::transmute(ok__)); + result.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -699,7 +699,7 @@ impl ISettingsNamespace_Vtbl { let this = (*this).get_impl(); match ISettingsNamespace_Impl::GetSettingByPath(this, core::mem::transmute(&path)) { Ok(ok__) => { - core::ptr::write(setting, core::mem::transmute(ok__)); + setting.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -710,7 +710,7 @@ impl ISettingsNamespace_Vtbl { let this = (*this).get_impl(); match ISettingsNamespace_Impl::CreateSettingByPath(this, core::mem::transmute(&path)) { Ok(ok__) => { - core::ptr::write(setting, core::mem::transmute(ok__)); + setting.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -726,7 +726,7 @@ impl ISettingsNamespace_Vtbl { let this = (*this).get_impl(); match ISettingsNamespace_Impl::GetAttribute(this, core::mem::transmute(&name)) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -763,7 +763,7 @@ impl ISettingsResult_Vtbl { let this = (*this).get_impl(); match ISettingsResult_Impl::GetDescription(this) { Ok(ok__) => { - core::ptr::write(description, core::mem::transmute(ok__)); + description.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -774,7 +774,7 @@ impl ISettingsResult_Vtbl { let this = (*this).get_impl(); match ISettingsResult_Impl::GetErrorCode(this) { Ok(ok__) => { - core::ptr::write(hrout, core::mem::transmute(ok__)); + hrout.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -785,7 +785,7 @@ impl ISettingsResult_Vtbl { let this = (*this).get_impl(); match ISettingsResult_Impl::GetContextDescription(this) { Ok(ok__) => { - core::ptr::write(description, core::mem::transmute(ok__)); + description.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -796,7 +796,7 @@ impl ISettingsResult_Vtbl { let this = (*this).get_impl(); match ISettingsResult_Impl::GetLine(this) { Ok(ok__) => { - core::ptr::write(dwline, core::mem::transmute(ok__)); + dwline.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -807,7 +807,7 @@ impl ISettingsResult_Vtbl { let this = (*this).get_impl(); match ISettingsResult_Impl::GetColumn(this) { Ok(ok__) => { - core::ptr::write(dwcolumn, core::mem::transmute(ok__)); + dwcolumn.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -818,7 +818,7 @@ impl ISettingsResult_Vtbl { let this = (*this).get_impl(); match ISettingsResult_Impl::GetSource(this) { Ok(ok__) => { - core::ptr::write(file, core::mem::transmute(ok__)); + file.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -869,7 +869,7 @@ impl ITargetInfo_Vtbl { let this = (*this).get_impl(); match ITargetInfo_Impl::GetTargetMode(this) { Ok(ok__) => { - core::ptr::write(targetmode, core::mem::transmute(ok__)); + targetmode.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -885,7 +885,7 @@ impl ITargetInfo_Vtbl { let this = (*this).get_impl(); match ITargetInfo_Impl::GetTemporaryStoreLocation(this) { Ok(ok__) => { - core::ptr::write(temporarystorelocation, core::mem::transmute(ok__)); + temporarystorelocation.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -901,7 +901,7 @@ impl ITargetInfo_Vtbl { let this = (*this).get_impl(); match ITargetInfo_Impl::GetTargetID(this) { Ok(ok__) => { - core::ptr::write(targetid, core::mem::transmute(ok__)); + targetid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -917,7 +917,7 @@ impl ITargetInfo_Vtbl { let this = (*this).get_impl(); match ITargetInfo_Impl::GetTargetProcessorArchitecture(this) { Ok(ok__) => { - core::ptr::write(processorarchitecture, core::mem::transmute(ok__)); + processorarchitecture.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -933,7 +933,7 @@ impl ITargetInfo_Vtbl { let this = (*this).get_impl(); match ITargetInfo_Impl::GetProperty(this, core::mem::transmute_copy(&offline), core::mem::transmute(&property)) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -949,7 +949,7 @@ impl ITargetInfo_Vtbl { let this = (*this).get_impl(); match ITargetInfo_Impl::GetEnumerator(this) { Ok(ok__) => { - core::ptr::write(enumerator, core::mem::transmute(ok__)); + enumerator.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -960,7 +960,7 @@ impl ITargetInfo_Vtbl { let this = (*this).get_impl(); match ITargetInfo_Impl::ExpandTarget(this, core::mem::transmute_copy(&offline), core::mem::transmute(&location)) { Ok(ok__) => { - core::ptr::write(expandedlocation, core::mem::transmute(ok__)); + expandedlocation.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -971,7 +971,7 @@ impl ITargetInfo_Vtbl { let this = (*this).get_impl(); match ITargetInfo_Impl::ExpandTargetPath(this, core::mem::transmute_copy(&offline), core::mem::transmute(&location)) { Ok(ok__) => { - core::ptr::write(expandedlocation, core::mem::transmute(ok__)); + expandedlocation.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -987,7 +987,7 @@ impl ITargetInfo_Vtbl { let this = (*this).get_impl(); match ITargetInfo_Impl::LoadModule(this, core::mem::transmute(&module)) { Ok(ok__) => { - core::ptr::write(modulehandle, core::mem::transmute(ok__)); + modulehandle.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1003,7 +1003,7 @@ impl ITargetInfo_Vtbl { let this = (*this).get_impl(); match ITargetInfo_Impl::TranslateWow64(this, core::mem::transmute(&clientarchitecture), core::mem::transmute(&value)) { Ok(ok__) => { - core::ptr::write(translatedvalue, core::mem::transmute(ok__)); + translatedvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1019,7 +1019,7 @@ impl ITargetInfo_Vtbl { let this = (*this).get_impl(); match ITargetInfo_Impl::GetSchemaHiveLocation(this) { Ok(ok__) => { - core::ptr::write(phivelocation, core::mem::transmute(ok__)); + phivelocation.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1035,7 +1035,7 @@ impl ITargetInfo_Vtbl { let this = (*this).get_impl(); match ITargetInfo_Impl::GetSchemaHiveMountName(this) { Ok(ok__) => { - core::ptr::write(pmountname, core::mem::transmute(ok__)); + pmountname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/Win32/System/SideShow/impl.rs b/crates/libs/windows/src/Windows/Win32/System/SideShow/impl.rs index 97367470e7..205425480b 100644 --- a/crates/libs/windows/src/Windows/Win32/System/SideShow/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/SideShow/impl.rs @@ -50,7 +50,7 @@ impl ISideShowCapabilitiesCollection_Vtbl { let this = (*this).get_impl(); match ISideShowCapabilitiesCollection_Impl::GetCount(this) { Ok(ok__) => { - core::ptr::write(out_pdwcount, core::mem::transmute(ok__)); + out_pdwcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -61,7 +61,7 @@ impl ISideShowCapabilitiesCollection_Vtbl { let this = (*this).get_impl(); match ISideShowCapabilitiesCollection_Impl::GetAt(this, core::mem::transmute_copy(&in_dwindex)) { Ok(ok__) => { - core::ptr::write(out_ppcapabilities, core::mem::transmute(ok__)); + out_ppcapabilities.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -95,7 +95,7 @@ impl ISideShowContent_Vtbl { let this = (*this).get_impl(); match ISideShowContent_Impl::ContentId(this) { Ok(ok__) => { - core::ptr::write(out_pcontentid, core::mem::transmute(ok__)); + out_pcontentid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -106,7 +106,7 @@ impl ISideShowContent_Vtbl { let this = (*this).get_impl(); match ISideShowContent_Impl::DifferentiateContent(this) { Ok(ok__) => { - core::ptr::write(out_pfdifferentiatecontent, core::mem::transmute(ok__)); + out_pfdifferentiatecontent.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -158,7 +158,7 @@ impl ISideShowContentManager_Vtbl { let this = (*this).get_impl(); match ISideShowContentManager_Impl::GetDeviceCapabilities(this) { Ok(ok__) => { - core::ptr::write(out_ppcollection, core::mem::transmute(ok__)); + out_ppcollection.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -191,7 +191,7 @@ impl ISideShowEvents_Vtbl { let this = (*this).get_impl(); match ISideShowEvents_Impl::ContentMissing(this, core::mem::transmute_copy(&in_contentid)) { Ok(ok__) => { - core::ptr::write(out_ppicontent, core::mem::transmute(ok__)); + out_ppicontent.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -298,7 +298,7 @@ impl ISideShowNotification_Vtbl { let this = (*this).get_impl(); match ISideShowNotification_Impl::NotificationId(this) { Ok(ok__) => { - core::ptr::write(out_pnotificationid, core::mem::transmute(ok__)); + out_pnotificationid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -314,7 +314,7 @@ impl ISideShowNotification_Vtbl { let this = (*this).get_impl(); match ISideShowNotification_Impl::Title(this) { Ok(ok__) => { - core::ptr::write(out_ppwsztitle, core::mem::transmute(ok__)); + out_ppwsztitle.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -330,7 +330,7 @@ impl ISideShowNotification_Vtbl { let this = (*this).get_impl(); match ISideShowNotification_Impl::Message(this) { Ok(ok__) => { - core::ptr::write(out_ppwszmessage, core::mem::transmute(ok__)); + out_ppwszmessage.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -346,7 +346,7 @@ impl ISideShowNotification_Vtbl { let this = (*this).get_impl(); match ISideShowNotification_Impl::Image(this) { Ok(ok__) => { - core::ptr::write(out_phicon, core::mem::transmute(ok__)); + out_phicon.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -362,7 +362,7 @@ impl ISideShowNotification_Vtbl { let this = (*this).get_impl(); match ISideShowNotification_Impl::ExpirationTime(this) { Ok(ok__) => { - core::ptr::write(out_ptime, core::mem::transmute(ok__)); + out_ptime.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -485,7 +485,7 @@ impl ISideShowSession_Vtbl { let this = (*this).get_impl(); match ISideShowSession_Impl::RegisterContent(this, core::mem::transmute_copy(&in_applicationid), core::mem::transmute_copy(&in_endpointid)) { Ok(ok__) => { - core::ptr::write(out_ppicontent, core::mem::transmute(ok__)); + out_ppicontent.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -496,7 +496,7 @@ impl ISideShowSession_Vtbl { let this = (*this).get_impl(); match ISideShowSession_Impl::RegisterNotifications(this, core::mem::transmute_copy(&in_applicationid)) { Ok(ok__) => { - core::ptr::write(out_ppinotification, core::mem::transmute(ok__)); + out_ppinotification.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/Win32/System/TaskScheduler/impl.rs b/crates/libs/windows/src/Windows/Win32/System/TaskScheduler/impl.rs index 73aa5ba9e5..256232dcec 100644 --- a/crates/libs/windows/src/Windows/Win32/System/TaskScheduler/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/TaskScheduler/impl.rs @@ -63,7 +63,7 @@ impl IActionCollection_Vtbl { let this = (*this).get_impl(); match IActionCollection_Impl::get_Item(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(ppaction, core::mem::transmute(ok__)); + ppaction.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -74,7 +74,7 @@ impl IActionCollection_Vtbl { let this = (*this).get_impl(); match IActionCollection_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -95,7 +95,7 @@ impl IActionCollection_Vtbl { let this = (*this).get_impl(); match IActionCollection_Impl::Create(this, core::mem::transmute_copy(&r#type)) { Ok(ok__) => { - core::ptr::write(ppaction, core::mem::transmute(ok__)); + ppaction.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -356,7 +356,7 @@ impl IEmailAction_Vtbl { let this = (*this).get_impl(); match IEmailAction_Impl::HeaderFields(this) { Ok(ok__) => { - core::ptr::write(ppheaderfields, core::mem::transmute(ok__)); + ppheaderfields.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -444,7 +444,7 @@ impl IEnumWorkItems_Vtbl { let this = (*this).get_impl(); match IEnumWorkItems_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppenumworkitems, core::mem::transmute(ok__)); + ppenumworkitems.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -501,7 +501,7 @@ impl IEventTrigger_Vtbl { let this = (*this).get_impl(); match IEventTrigger_Impl::ValueQueries(this) { Ok(ok__) => { - core::ptr::write(ppnamedxpaths, core::mem::transmute(ok__)); + ppnamedxpaths.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1168,7 +1168,7 @@ impl IProvideTaskPage_Vtbl { let this = (*this).get_impl(); match IProvideTaskPage_Impl::GetPage(this, core::mem::transmute_copy(&tptype), core::mem::transmute_copy(&fpersistchanges)) { Ok(ok__) => { - core::ptr::write(phpage, core::mem::transmute(ok__)); + phpage.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1211,7 +1211,7 @@ impl IRegisteredTask_Vtbl { let this = (*this).get_impl(); match IRegisteredTask_Impl::Name(this) { Ok(ok__) => { - core::ptr::write(pname, core::mem::transmute(ok__)); + pname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1222,7 +1222,7 @@ impl IRegisteredTask_Vtbl { let this = (*this).get_impl(); match IRegisteredTask_Impl::Path(this) { Ok(ok__) => { - core::ptr::write(ppath, core::mem::transmute(ok__)); + ppath.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1233,7 +1233,7 @@ impl IRegisteredTask_Vtbl { let this = (*this).get_impl(); match IRegisteredTask_Impl::State(this) { Ok(ok__) => { - core::ptr::write(pstate, core::mem::transmute(ok__)); + pstate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1244,7 +1244,7 @@ impl IRegisteredTask_Vtbl { let this = (*this).get_impl(); match IRegisteredTask_Impl::Enabled(this) { Ok(ok__) => { - core::ptr::write(penabled, core::mem::transmute(ok__)); + penabled.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1260,7 +1260,7 @@ impl IRegisteredTask_Vtbl { let this = (*this).get_impl(); match IRegisteredTask_Impl::Run(this, core::mem::transmute(¶ms)) { Ok(ok__) => { - core::ptr::write(pprunningtask, core::mem::transmute(ok__)); + pprunningtask.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1271,7 +1271,7 @@ impl IRegisteredTask_Vtbl { let this = (*this).get_impl(); match IRegisteredTask_Impl::RunEx(this, core::mem::transmute(¶ms), core::mem::transmute_copy(&flags), core::mem::transmute_copy(&sessionid), core::mem::transmute(&user)) { Ok(ok__) => { - core::ptr::write(pprunningtask, core::mem::transmute(ok__)); + pprunningtask.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1282,7 +1282,7 @@ impl IRegisteredTask_Vtbl { let this = (*this).get_impl(); match IRegisteredTask_Impl::GetInstances(this, core::mem::transmute_copy(&flags)) { Ok(ok__) => { - core::ptr::write(pprunningtasks, core::mem::transmute(ok__)); + pprunningtasks.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1293,7 +1293,7 @@ impl IRegisteredTask_Vtbl { let this = (*this).get_impl(); match IRegisteredTask_Impl::LastRunTime(this) { Ok(ok__) => { - core::ptr::write(plastruntime, core::mem::transmute(ok__)); + plastruntime.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1304,7 +1304,7 @@ impl IRegisteredTask_Vtbl { let this = (*this).get_impl(); match IRegisteredTask_Impl::LastTaskResult(this) { Ok(ok__) => { - core::ptr::write(plasttaskresult, core::mem::transmute(ok__)); + plasttaskresult.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1315,7 +1315,7 @@ impl IRegisteredTask_Vtbl { let this = (*this).get_impl(); match IRegisteredTask_Impl::NumberOfMissedRuns(this) { Ok(ok__) => { - core::ptr::write(pnumberofmissedruns, core::mem::transmute(ok__)); + pnumberofmissedruns.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1326,7 +1326,7 @@ impl IRegisteredTask_Vtbl { let this = (*this).get_impl(); match IRegisteredTask_Impl::NextRunTime(this) { Ok(ok__) => { - core::ptr::write(pnextruntime, core::mem::transmute(ok__)); + pnextruntime.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1337,7 +1337,7 @@ impl IRegisteredTask_Vtbl { let this = (*this).get_impl(); match IRegisteredTask_Impl::Definition(this) { Ok(ok__) => { - core::ptr::write(ppdefinition, core::mem::transmute(ok__)); + ppdefinition.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1348,7 +1348,7 @@ impl IRegisteredTask_Vtbl { let this = (*this).get_impl(); match IRegisteredTask_Impl::Xml(this) { Ok(ok__) => { - core::ptr::write(pxml, core::mem::transmute(ok__)); + pxml.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1359,7 +1359,7 @@ impl IRegisteredTask_Vtbl { let this = (*this).get_impl(); match IRegisteredTask_Impl::GetSecurityDescriptor(this, core::mem::transmute_copy(&securityinformation)) { Ok(ok__) => { - core::ptr::write(psddl, core::mem::transmute(ok__)); + psddl.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1422,7 +1422,7 @@ impl IRegisteredTaskCollection_Vtbl { let this = (*this).get_impl(); match IRegisteredTaskCollection_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(pcount, core::mem::transmute(ok__)); + pcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1433,7 +1433,7 @@ impl IRegisteredTaskCollection_Vtbl { let this = (*this).get_impl(); match IRegisteredTaskCollection_Impl::get_Item(this, core::mem::transmute(&index)) { Ok(ok__) => { - core::ptr::write(ppregisteredtask, core::mem::transmute(ok__)); + ppregisteredtask.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1444,7 +1444,7 @@ impl IRegisteredTaskCollection_Vtbl { let this = (*this).get_impl(); match IRegisteredTaskCollection_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1708,7 +1708,7 @@ impl IRunningTask_Vtbl { let this = (*this).get_impl(); match IRunningTask_Impl::Name(this) { Ok(ok__) => { - core::ptr::write(pname, core::mem::transmute(ok__)); + pname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1719,7 +1719,7 @@ impl IRunningTask_Vtbl { let this = (*this).get_impl(); match IRunningTask_Impl::InstanceGuid(this) { Ok(ok__) => { - core::ptr::write(pguid, core::mem::transmute(ok__)); + pguid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1730,7 +1730,7 @@ impl IRunningTask_Vtbl { let this = (*this).get_impl(); match IRunningTask_Impl::Path(this) { Ok(ok__) => { - core::ptr::write(ppath, core::mem::transmute(ok__)); + ppath.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1741,7 +1741,7 @@ impl IRunningTask_Vtbl { let this = (*this).get_impl(); match IRunningTask_Impl::State(this) { Ok(ok__) => { - core::ptr::write(pstate, core::mem::transmute(ok__)); + pstate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1752,7 +1752,7 @@ impl IRunningTask_Vtbl { let this = (*this).get_impl(); match IRunningTask_Impl::CurrentAction(this) { Ok(ok__) => { - core::ptr::write(pname, core::mem::transmute(ok__)); + pname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1773,7 +1773,7 @@ impl IRunningTask_Vtbl { let this = (*this).get_impl(); match IRunningTask_Impl::EnginePID(this) { Ok(ok__) => { - core::ptr::write(ppid, core::mem::transmute(ok__)); + ppid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1811,7 +1811,7 @@ impl IRunningTaskCollection_Vtbl { let this = (*this).get_impl(); match IRunningTaskCollection_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(pcount, core::mem::transmute(ok__)); + pcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1822,7 +1822,7 @@ impl IRunningTaskCollection_Vtbl { let this = (*this).get_impl(); match IRunningTaskCollection_Impl::get_Item(this, core::mem::transmute(&index)) { Ok(ok__) => { - core::ptr::write(pprunningtask, core::mem::transmute(ok__)); + pprunningtask.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1833,7 +1833,7 @@ impl IRunningTaskCollection_Vtbl { let this = (*this).get_impl(); match IRunningTaskCollection_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1899,7 +1899,7 @@ impl IScheduledWorkItem_Vtbl { let this = (*this).get_impl(); match IScheduledWorkItem_Impl::GetTriggerCount(this) { Ok(ok__) => { - core::ptr::write(pwcount, core::mem::transmute(ok__)); + pwcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1910,7 +1910,7 @@ impl IScheduledWorkItem_Vtbl { let this = (*this).get_impl(); match IScheduledWorkItem_Impl::GetTrigger(this, core::mem::transmute_copy(&itrigger)) { Ok(ok__) => { - core::ptr::write(pptrigger, core::mem::transmute(ok__)); + pptrigger.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1921,7 +1921,7 @@ impl IScheduledWorkItem_Vtbl { let this = (*this).get_impl(); match IScheduledWorkItem_Impl::GetTriggerString(this, core::mem::transmute_copy(&itrigger)) { Ok(ok__) => { - core::ptr::write(ppwsztrigger, core::mem::transmute(ok__)); + ppwsztrigger.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1967,7 +1967,7 @@ impl IScheduledWorkItem_Vtbl { let this = (*this).get_impl(); match IScheduledWorkItem_Impl::GetMostRecentRunTime(this) { Ok(ok__) => { - core::ptr::write(pstlastrun, core::mem::transmute(ok__)); + pstlastrun.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1978,7 +1978,7 @@ impl IScheduledWorkItem_Vtbl { let this = (*this).get_impl(); match IScheduledWorkItem_Impl::GetStatus(this) { Ok(ok__) => { - core::ptr::write(phrstatus, core::mem::transmute(ok__)); + phrstatus.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1989,7 +1989,7 @@ impl IScheduledWorkItem_Vtbl { let this = (*this).get_impl(); match IScheduledWorkItem_Impl::GetExitCode(this) { Ok(ok__) => { - core::ptr::write(pdwexitcode, core::mem::transmute(ok__)); + pdwexitcode.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2005,7 +2005,7 @@ impl IScheduledWorkItem_Vtbl { let this = (*this).get_impl(); match IScheduledWorkItem_Impl::GetComment(this) { Ok(ok__) => { - core::ptr::write(ppwszcomment, core::mem::transmute(ok__)); + ppwszcomment.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2021,7 +2021,7 @@ impl IScheduledWorkItem_Vtbl { let this = (*this).get_impl(); match IScheduledWorkItem_Impl::GetCreator(this) { Ok(ok__) => { - core::ptr::write(ppwszcreator, core::mem::transmute(ok__)); + ppwszcreator.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2047,7 +2047,7 @@ impl IScheduledWorkItem_Vtbl { let this = (*this).get_impl(); match IScheduledWorkItem_Impl::GetErrorRetryCount(this) { Ok(ok__) => { - core::ptr::write(pwretrycount, core::mem::transmute(ok__)); + pwretrycount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2063,7 +2063,7 @@ impl IScheduledWorkItem_Vtbl { let this = (*this).get_impl(); match IScheduledWorkItem_Impl::GetErrorRetryInterval(this) { Ok(ok__) => { - core::ptr::write(pwretryinterval, core::mem::transmute(ok__)); + pwretryinterval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2079,7 +2079,7 @@ impl IScheduledWorkItem_Vtbl { let this = (*this).get_impl(); match IScheduledWorkItem_Impl::GetFlags(this) { Ok(ok__) => { - core::ptr::write(pdwflags, core::mem::transmute(ok__)); + pdwflags.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2095,7 +2095,7 @@ impl IScheduledWorkItem_Vtbl { let this = (*this).get_impl(); match IScheduledWorkItem_Impl::GetAccountInformation(this) { Ok(ok__) => { - core::ptr::write(ppwszaccountname, core::mem::transmute(ok__)); + ppwszaccountname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2267,7 +2267,7 @@ impl ITask_Vtbl { let this = (*this).get_impl(); match ITask_Impl::GetApplicationName(this) { Ok(ok__) => { - core::ptr::write(ppwszapplicationname, core::mem::transmute(ok__)); + ppwszapplicationname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2283,7 +2283,7 @@ impl ITask_Vtbl { let this = (*this).get_impl(); match ITask_Impl::GetParameters(this) { Ok(ok__) => { - core::ptr::write(ppwszparameters, core::mem::transmute(ok__)); + ppwszparameters.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2299,7 +2299,7 @@ impl ITask_Vtbl { let this = (*this).get_impl(); match ITask_Impl::GetWorkingDirectory(this) { Ok(ok__) => { - core::ptr::write(ppwszworkingdirectory, core::mem::transmute(ok__)); + ppwszworkingdirectory.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2315,7 +2315,7 @@ impl ITask_Vtbl { let this = (*this).get_impl(); match ITask_Impl::GetPriority(this) { Ok(ok__) => { - core::ptr::write(pdwpriority, core::mem::transmute(ok__)); + pdwpriority.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2331,7 +2331,7 @@ impl ITask_Vtbl { let this = (*this).get_impl(); match ITask_Impl::GetTaskFlags(this) { Ok(ok__) => { - core::ptr::write(pdwflags, core::mem::transmute(ok__)); + pdwflags.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2347,7 +2347,7 @@ impl ITask_Vtbl { let this = (*this).get_impl(); match ITask_Impl::GetMaxRunTime(this) { Ok(ok__) => { - core::ptr::write(pdwmaxruntimems, core::mem::transmute(ok__)); + pdwmaxruntimems.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2400,7 +2400,7 @@ impl ITaskDefinition_Vtbl { let this = (*this).get_impl(); match ITaskDefinition_Impl::RegistrationInfo(this) { Ok(ok__) => { - core::ptr::write(ppregistrationinfo, core::mem::transmute(ok__)); + ppregistrationinfo.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2416,7 +2416,7 @@ impl ITaskDefinition_Vtbl { let this = (*this).get_impl(); match ITaskDefinition_Impl::Triggers(this) { Ok(ok__) => { - core::ptr::write(pptriggers, core::mem::transmute(ok__)); + pptriggers.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2432,7 +2432,7 @@ impl ITaskDefinition_Vtbl { let this = (*this).get_impl(); match ITaskDefinition_Impl::Settings(this) { Ok(ok__) => { - core::ptr::write(ppsettings, core::mem::transmute(ok__)); + ppsettings.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2458,7 +2458,7 @@ impl ITaskDefinition_Vtbl { let this = (*this).get_impl(); match ITaskDefinition_Impl::Principal(this) { Ok(ok__) => { - core::ptr::write(ppprincipal, core::mem::transmute(ok__)); + ppprincipal.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2474,7 +2474,7 @@ impl ITaskDefinition_Vtbl { let this = (*this).get_impl(); match ITaskDefinition_Impl::Actions(this) { Ok(ok__) => { - core::ptr::write(ppactions, core::mem::transmute(ok__)); + ppactions.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2543,7 +2543,7 @@ impl ITaskFolder_Vtbl { let this = (*this).get_impl(); match ITaskFolder_Impl::Name(this) { Ok(ok__) => { - core::ptr::write(pname, core::mem::transmute(ok__)); + pname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2554,7 +2554,7 @@ impl ITaskFolder_Vtbl { let this = (*this).get_impl(); match ITaskFolder_Impl::Path(this) { Ok(ok__) => { - core::ptr::write(ppath, core::mem::transmute(ok__)); + ppath.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2565,7 +2565,7 @@ impl ITaskFolder_Vtbl { let this = (*this).get_impl(); match ITaskFolder_Impl::GetFolder(this, core::mem::transmute(&path)) { Ok(ok__) => { - core::ptr::write(ppfolder, core::mem::transmute(ok__)); + ppfolder.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2576,7 +2576,7 @@ impl ITaskFolder_Vtbl { let this = (*this).get_impl(); match ITaskFolder_Impl::GetFolders(this, core::mem::transmute_copy(&flags)) { Ok(ok__) => { - core::ptr::write(ppfolders, core::mem::transmute(ok__)); + ppfolders.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2587,7 +2587,7 @@ impl ITaskFolder_Vtbl { let this = (*this).get_impl(); match ITaskFolder_Impl::CreateFolder(this, core::mem::transmute(&subfoldername), core::mem::transmute(&sddl)) { Ok(ok__) => { - core::ptr::write(ppfolder, core::mem::transmute(ok__)); + ppfolder.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2603,7 +2603,7 @@ impl ITaskFolder_Vtbl { let this = (*this).get_impl(); match ITaskFolder_Impl::GetTask(this, core::mem::transmute(&path)) { Ok(ok__) => { - core::ptr::write(pptask, core::mem::transmute(ok__)); + pptask.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2614,7 +2614,7 @@ impl ITaskFolder_Vtbl { let this = (*this).get_impl(); match ITaskFolder_Impl::GetTasks(this, core::mem::transmute_copy(&flags)) { Ok(ok__) => { - core::ptr::write(pptasks, core::mem::transmute(ok__)); + pptasks.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2630,7 +2630,7 @@ impl ITaskFolder_Vtbl { let this = (*this).get_impl(); match ITaskFolder_Impl::RegisterTask(this, core::mem::transmute(&path), core::mem::transmute(&xmltext), core::mem::transmute_copy(&flags), core::mem::transmute(&userid), core::mem::transmute(&password), core::mem::transmute_copy(&logontype), core::mem::transmute(&sddl)) { Ok(ok__) => { - core::ptr::write(pptask, core::mem::transmute(ok__)); + pptask.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2641,7 +2641,7 @@ impl ITaskFolder_Vtbl { let this = (*this).get_impl(); match ITaskFolder_Impl::RegisterTaskDefinition(this, core::mem::transmute(&path), windows_core::from_raw_borrowed(&pdefinition), core::mem::transmute_copy(&flags), core::mem::transmute(&userid), core::mem::transmute(&password), core::mem::transmute_copy(&logontype), core::mem::transmute(&sddl)) { Ok(ok__) => { - core::ptr::write(pptask, core::mem::transmute(ok__)); + pptask.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2652,7 +2652,7 @@ impl ITaskFolder_Vtbl { let this = (*this).get_impl(); match ITaskFolder_Impl::GetSecurityDescriptor(this, core::mem::transmute_copy(&securityinformation)) { Ok(ok__) => { - core::ptr::write(psddl, core::mem::transmute(ok__)); + psddl.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2700,7 +2700,7 @@ impl ITaskFolderCollection_Vtbl { let this = (*this).get_impl(); match ITaskFolderCollection_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(pcount, core::mem::transmute(ok__)); + pcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2711,7 +2711,7 @@ impl ITaskFolderCollection_Vtbl { let this = (*this).get_impl(); match ITaskFolderCollection_Impl::get_Item(this, core::mem::transmute(&index)) { Ok(ok__) => { - core::ptr::write(ppfolder, core::mem::transmute(ok__)); + ppfolder.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2722,7 +2722,7 @@ impl ITaskFolderCollection_Vtbl { let this = (*this).get_impl(); match ITaskFolderCollection_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2758,7 +2758,7 @@ impl ITaskHandler_Vtbl { let this = (*this).get_impl(); match ITaskHandler_Impl::Stop(this) { Ok(ok__) => { - core::ptr::write(pretcode, core::mem::transmute(ok__)); + pretcode.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2837,7 +2837,7 @@ impl ITaskNamedValueCollection_Vtbl { let this = (*this).get_impl(); match ITaskNamedValueCollection_Impl::get_Item(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(pppair, core::mem::transmute(ok__)); + pppair.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2848,7 +2848,7 @@ impl ITaskNamedValueCollection_Vtbl { let this = (*this).get_impl(); match ITaskNamedValueCollection_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2859,7 +2859,7 @@ impl ITaskNamedValueCollection_Vtbl { let this = (*this).get_impl(); match ITaskNamedValueCollection_Impl::Create(this, core::mem::transmute(&name), core::mem::transmute(&value)) { Ok(ok__) => { - core::ptr::write(pppair, core::mem::transmute(ok__)); + pppair.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2956,7 +2956,7 @@ impl ITaskScheduler_Vtbl { let this = (*this).get_impl(); match ITaskScheduler_Impl::GetTargetComputer(this) { Ok(ok__) => { - core::ptr::write(ppwszcomputer, core::mem::transmute(ok__)); + ppwszcomputer.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2967,7 +2967,7 @@ impl ITaskScheduler_Vtbl { let this = (*this).get_impl(); match ITaskScheduler_Impl::Enum(this) { Ok(ok__) => { - core::ptr::write(ppenumworkitems, core::mem::transmute(ok__)); + ppenumworkitems.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2978,7 +2978,7 @@ impl ITaskScheduler_Vtbl { let this = (*this).get_impl(); match ITaskScheduler_Impl::Activate(this, core::mem::transmute(&pwszname), core::mem::transmute_copy(&riid)) { Ok(ok__) => { - core::ptr::write(ppunk, core::mem::transmute(ok__)); + ppunk.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2994,7 +2994,7 @@ impl ITaskScheduler_Vtbl { let this = (*this).get_impl(); match ITaskScheduler_Impl::NewWorkItem(this, core::mem::transmute(&pwsztaskname), core::mem::transmute_copy(&rclsid), core::mem::transmute_copy(&riid)) { Ok(ok__) => { - core::ptr::write(ppunk, core::mem::transmute(ok__)); + ppunk.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3048,7 +3048,7 @@ impl ITaskService_Vtbl { let this = (*this).get_impl(); match ITaskService_Impl::GetFolder(this, core::mem::transmute(&path)) { Ok(ok__) => { - core::ptr::write(ppfolder, core::mem::transmute(ok__)); + ppfolder.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3059,7 +3059,7 @@ impl ITaskService_Vtbl { let this = (*this).get_impl(); match ITaskService_Impl::GetRunningTasks(this, core::mem::transmute_copy(&flags)) { Ok(ok__) => { - core::ptr::write(pprunningtasks, core::mem::transmute(ok__)); + pprunningtasks.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3070,7 +3070,7 @@ impl ITaskService_Vtbl { let this = (*this).get_impl(); match ITaskService_Impl::NewTask(this, core::mem::transmute_copy(&flags)) { Ok(ok__) => { - core::ptr::write(ppdefinition, core::mem::transmute(ok__)); + ppdefinition.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3086,7 +3086,7 @@ impl ITaskService_Vtbl { let this = (*this).get_impl(); match ITaskService_Impl::Connected(this) { Ok(ok__) => { - core::ptr::write(pconnected, core::mem::transmute(ok__)); + pconnected.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3097,7 +3097,7 @@ impl ITaskService_Vtbl { let this = (*this).get_impl(); match ITaskService_Impl::TargetServer(this) { Ok(ok__) => { - core::ptr::write(pserver, core::mem::transmute(ok__)); + pserver.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3108,7 +3108,7 @@ impl ITaskService_Vtbl { let this = (*this).get_impl(); match ITaskService_Impl::ConnectedUser(this) { Ok(ok__) => { - core::ptr::write(puser, core::mem::transmute(ok__)); + puser.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3119,7 +3119,7 @@ impl ITaskService_Vtbl { let this = (*this).get_impl(); match ITaskService_Impl::ConnectedDomain(this) { Ok(ok__) => { - core::ptr::write(pdomain, core::mem::transmute(ok__)); + pdomain.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3130,7 +3130,7 @@ impl ITaskService_Vtbl { let this = (*this).get_impl(); match ITaskService_Impl::HighestVersion(this) { Ok(ok__) => { - core::ptr::write(pversion, core::mem::transmute(ok__)); + pversion.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3366,7 +3366,7 @@ impl ITaskSettings_Vtbl { let this = (*this).get_impl(); match ITaskSettings_Impl::IdleSettings(this) { Ok(ok__) => { - core::ptr::write(ppidlesettings, core::mem::transmute(ok__)); + ppidlesettings.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3402,7 +3402,7 @@ impl ITaskSettings_Vtbl { let this = (*this).get_impl(); match ITaskSettings_Impl::NetworkSettings(this) { Ok(ok__) => { - core::ptr::write(ppnetworksettings, core::mem::transmute(ok__)); + ppnetworksettings.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3547,7 +3547,7 @@ impl ITaskSettings3_Vtbl { let this = (*this).get_impl(); match ITaskSettings3_Impl::MaintenanceSettings(this) { Ok(ok__) => { - core::ptr::write(ppmaintenancesettings, core::mem::transmute(ok__)); + ppmaintenancesettings.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3563,7 +3563,7 @@ impl ITaskSettings3_Vtbl { let this = (*this).get_impl(); match ITaskSettings3_Impl::CreateMaintenanceSettings(this) { Ok(ok__) => { - core::ptr::write(ppmaintenancesettings, core::mem::transmute(ok__)); + ppmaintenancesettings.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3619,7 +3619,7 @@ impl ITaskTrigger_Vtbl { let this = (*this).get_impl(); match ITaskTrigger_Impl::GetTriggerString(this) { Ok(ok__) => { - core::ptr::write(ppwsztrigger, core::mem::transmute(ok__)); + ppwsztrigger.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3649,7 +3649,7 @@ impl ITaskVariables_Vtbl { let this = (*this).get_impl(); match ITaskVariables_Impl::GetInput(this) { Ok(ok__) => { - core::ptr::write(pinput, core::mem::transmute(ok__)); + pinput.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3665,7 +3665,7 @@ impl ITaskVariables_Vtbl { let this = (*this).get_impl(); match ITaskVariables_Impl::GetContext(this) { Ok(ok__) => { - core::ptr::write(pcontext, core::mem::transmute(ok__)); + pcontext.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3753,7 +3753,7 @@ impl ITrigger_Vtbl { let this = (*this).get_impl(); match ITrigger_Impl::Repetition(this) { Ok(ok__) => { - core::ptr::write(pprepeat, core::mem::transmute(ok__)); + pprepeat.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3849,7 +3849,7 @@ impl ITriggerCollection_Vtbl { let this = (*this).get_impl(); match ITriggerCollection_Impl::get_Item(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(pptrigger, core::mem::transmute(ok__)); + pptrigger.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3860,7 +3860,7 @@ impl ITriggerCollection_Vtbl { let this = (*this).get_impl(); match ITriggerCollection_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3871,7 +3871,7 @@ impl ITriggerCollection_Vtbl { let this = (*this).get_impl(); match ITriggerCollection_Impl::Create(this, core::mem::transmute_copy(&r#type)) { Ok(ok__) => { - core::ptr::write(pptrigger, core::mem::transmute(ok__)); + pptrigger.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/Win32/System/Threading/impl.rs b/crates/libs/windows/src/Windows/Win32/System/Threading/impl.rs index 760868f75c..f0b19df98d 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Threading/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Threading/impl.rs @@ -40,7 +40,7 @@ impl IRtwqAsyncResult_Vtbl { let this = (*this).get_impl(); match IRtwqAsyncResult_Impl::GetState(this) { Ok(ok__) => { - core::ptr::write(ppunkstate, core::mem::transmute(ok__)); + ppunkstate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -61,7 +61,7 @@ impl IRtwqAsyncResult_Vtbl { let this = (*this).get_impl(); match IRtwqAsyncResult_Impl::GetObject(this) { Ok(ok__) => { - core::ptr::write(ppobject, core::mem::transmute(ok__)); + ppobject.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/Win32/System/TransactionServer/impl.rs b/crates/libs/windows/src/Windows/Win32/System/TransactionServer/impl.rs index 03938e19df..e606ffb403 100644 --- a/crates/libs/windows/src/Windows/Win32/System/TransactionServer/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/TransactionServer/impl.rs @@ -15,7 +15,7 @@ impl ICatalog_Vtbl { let this = (*this).get_impl(); match ICatalog_Impl::GetCollection(this, core::mem::transmute(&bstrcollname)) { Ok(ok__) => { - core::ptr::write(ppcatalogcollection, core::mem::transmute(ok__)); + ppcatalogcollection.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -26,7 +26,7 @@ impl ICatalog_Vtbl { let this = (*this).get_impl(); match ICatalog_Impl::Connect(this, core::mem::transmute(&bstrconnectstring)) { Ok(ok__) => { - core::ptr::write(ppcatalogcollection, core::mem::transmute(ok__)); + ppcatalogcollection.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/Win32/System/UpdateAgent/impl.rs b/crates/libs/windows/src/Windows/Win32/System/UpdateAgent/impl.rs index ceec29a30f..9e42b99796 100644 --- a/crates/libs/windows/src/Windows/Win32/System/UpdateAgent/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/UpdateAgent/impl.rs @@ -38,7 +38,7 @@ impl IAutomaticUpdates_Vtbl { let this = (*this).get_impl(); match IAutomaticUpdates_Impl::Settings(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -49,7 +49,7 @@ impl IAutomaticUpdates_Vtbl { let this = (*this).get_impl(); match IAutomaticUpdates_Impl::ServiceEnabled(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -89,7 +89,7 @@ impl IAutomaticUpdates2_Vtbl { let this = (*this).get_impl(); match IAutomaticUpdates2_Impl::Results(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -116,7 +116,7 @@ impl IAutomaticUpdatesResults_Vtbl { let this = (*this).get_impl(); match IAutomaticUpdatesResults_Impl::LastSearchSuccessDate(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -127,7 +127,7 @@ impl IAutomaticUpdatesResults_Vtbl { let this = (*this).get_impl(); match IAutomaticUpdatesResults_Impl::LastInstallationSuccessDate(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -166,7 +166,7 @@ impl IAutomaticUpdatesSettings_Vtbl { let this = (*this).get_impl(); match IAutomaticUpdatesSettings_Impl::NotificationLevel(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -182,7 +182,7 @@ impl IAutomaticUpdatesSettings_Vtbl { let this = (*this).get_impl(); match IAutomaticUpdatesSettings_Impl::ReadOnly(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -193,7 +193,7 @@ impl IAutomaticUpdatesSettings_Vtbl { let this = (*this).get_impl(); match IAutomaticUpdatesSettings_Impl::Required(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -204,7 +204,7 @@ impl IAutomaticUpdatesSettings_Vtbl { let this = (*this).get_impl(); match IAutomaticUpdatesSettings_Impl::ScheduledInstallationDay(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -220,7 +220,7 @@ impl IAutomaticUpdatesSettings_Vtbl { let this = (*this).get_impl(); match IAutomaticUpdatesSettings_Impl::ScheduledInstallationTime(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -275,7 +275,7 @@ impl IAutomaticUpdatesSettings2_Vtbl { let this = (*this).get_impl(); match IAutomaticUpdatesSettings2_Impl::IncludeRecommendedUpdates(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -291,7 +291,7 @@ impl IAutomaticUpdatesSettings2_Vtbl { let this = (*this).get_impl(); match IAutomaticUpdatesSettings2_Impl::CheckPermission(this, core::mem::transmute_copy(&usertype), core::mem::transmute_copy(&permissiontype)) { Ok(ok__) => { - core::ptr::write(userhaspermission, core::mem::transmute(ok__)); + userhaspermission.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -325,7 +325,7 @@ impl IAutomaticUpdatesSettings3_Vtbl { let this = (*this).get_impl(); match IAutomaticUpdatesSettings3_Impl::NonAdministratorsElevated(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -341,7 +341,7 @@ impl IAutomaticUpdatesSettings3_Vtbl { let this = (*this).get_impl(); match IAutomaticUpdatesSettings3_Impl::FeaturedUpdatesEnabled(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -386,7 +386,7 @@ impl ICategory_Vtbl { let this = (*this).get_impl(); match ICategory_Impl::Name(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -397,7 +397,7 @@ impl ICategory_Vtbl { let this = (*this).get_impl(); match ICategory_Impl::CategoryID(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -408,7 +408,7 @@ impl ICategory_Vtbl { let this = (*this).get_impl(); match ICategory_Impl::Children(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -419,7 +419,7 @@ impl ICategory_Vtbl { let this = (*this).get_impl(); match ICategory_Impl::Description(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -430,7 +430,7 @@ impl ICategory_Vtbl { let this = (*this).get_impl(); match ICategory_Impl::Image(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -441,7 +441,7 @@ impl ICategory_Vtbl { let this = (*this).get_impl(); match ICategory_Impl::Order(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -452,7 +452,7 @@ impl ICategory_Vtbl { let this = (*this).get_impl(); match ICategory_Impl::Parent(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -463,7 +463,7 @@ impl ICategory_Vtbl { let this = (*this).get_impl(); match ICategory_Impl::Type(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -474,7 +474,7 @@ impl ICategory_Vtbl { let this = (*this).get_impl(); match ICategory_Impl::Updates(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -513,7 +513,7 @@ impl ICategoryCollection_Vtbl { let this = (*this).get_impl(); match ICategoryCollection_Impl::get_Item(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -524,7 +524,7 @@ impl ICategoryCollection_Vtbl { let this = (*this).get_impl(); match ICategoryCollection_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -535,7 +535,7 @@ impl ICategoryCollection_Vtbl { let this = (*this).get_impl(); match ICategoryCollection_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -604,7 +604,7 @@ impl IDownloadJob_Vtbl { let this = (*this).get_impl(); match IDownloadJob_Impl::AsyncState(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -615,7 +615,7 @@ impl IDownloadJob_Vtbl { let this = (*this).get_impl(); match IDownloadJob_Impl::IsCompleted(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -626,7 +626,7 @@ impl IDownloadJob_Vtbl { let this = (*this).get_impl(); match IDownloadJob_Impl::Updates(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -642,7 +642,7 @@ impl IDownloadJob_Vtbl { let this = (*this).get_impl(); match IDownloadJob_Impl::GetProgress(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -689,7 +689,7 @@ impl IDownloadProgress_Vtbl { let this = (*this).get_impl(); match IDownloadProgress_Impl::CurrentUpdateBytesDownloaded(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -700,7 +700,7 @@ impl IDownloadProgress_Vtbl { let this = (*this).get_impl(); match IDownloadProgress_Impl::CurrentUpdateBytesToDownload(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -711,7 +711,7 @@ impl IDownloadProgress_Vtbl { let this = (*this).get_impl(); match IDownloadProgress_Impl::CurrentUpdateIndex(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -722,7 +722,7 @@ impl IDownloadProgress_Vtbl { let this = (*this).get_impl(); match IDownloadProgress_Impl::PercentComplete(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -733,7 +733,7 @@ impl IDownloadProgress_Vtbl { let this = (*this).get_impl(); match IDownloadProgress_Impl::TotalBytesDownloaded(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -744,7 +744,7 @@ impl IDownloadProgress_Vtbl { let this = (*this).get_impl(); match IDownloadProgress_Impl::TotalBytesToDownload(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -755,7 +755,7 @@ impl IDownloadProgress_Vtbl { let this = (*this).get_impl(); match IDownloadProgress_Impl::GetUpdateResult(this, core::mem::transmute_copy(&updateindex)) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -766,7 +766,7 @@ impl IDownloadProgress_Vtbl { let this = (*this).get_impl(); match IDownloadProgress_Impl::CurrentUpdateDownloadPhase(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -777,7 +777,7 @@ impl IDownloadProgress_Vtbl { let this = (*this).get_impl(); match IDownloadProgress_Impl::CurrentUpdatePercentComplete(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -834,7 +834,7 @@ impl IDownloadProgressChangedCallbackArgs_Vtbl { let this = (*this).get_impl(); match IDownloadProgressChangedCallbackArgs_Impl::Progress(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -862,7 +862,7 @@ impl IDownloadResult_Vtbl { let this = (*this).get_impl(); match IDownloadResult_Impl::HResult(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -873,7 +873,7 @@ impl IDownloadResult_Vtbl { let this = (*this).get_impl(); match IDownloadResult_Impl::ResultCode(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -884,7 +884,7 @@ impl IDownloadResult_Vtbl { let this = (*this).get_impl(); match IDownloadResult_Impl::GetUpdateResult(this, core::mem::transmute_copy(&updateindex)) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -918,7 +918,7 @@ impl IImageInformation_Vtbl { let this = (*this).get_impl(); match IImageInformation_Impl::AltText(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -929,7 +929,7 @@ impl IImageInformation_Vtbl { let this = (*this).get_impl(); match IImageInformation_Impl::Height(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -940,7 +940,7 @@ impl IImageInformation_Vtbl { let this = (*this).get_impl(); match IImageInformation_Impl::Source(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -951,7 +951,7 @@ impl IImageInformation_Vtbl { let this = (*this).get_impl(); match IImageInformation_Impl::Width(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1009,7 +1009,7 @@ impl IInstallationBehavior_Vtbl { let this = (*this).get_impl(); match IInstallationBehavior_Impl::CanRequestUserInput(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1020,7 +1020,7 @@ impl IInstallationBehavior_Vtbl { let this = (*this).get_impl(); match IInstallationBehavior_Impl::Impact(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1031,7 +1031,7 @@ impl IInstallationBehavior_Vtbl { let this = (*this).get_impl(); match IInstallationBehavior_Impl::RebootBehavior(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1042,7 +1042,7 @@ impl IInstallationBehavior_Vtbl { let this = (*this).get_impl(); match IInstallationBehavior_Impl::RequiresNetworkConnectivity(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1112,7 +1112,7 @@ impl IInstallationJob_Vtbl { let this = (*this).get_impl(); match IInstallationJob_Impl::AsyncState(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1123,7 +1123,7 @@ impl IInstallationJob_Vtbl { let this = (*this).get_impl(); match IInstallationJob_Impl::IsCompleted(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1134,7 +1134,7 @@ impl IInstallationJob_Vtbl { let this = (*this).get_impl(); match IInstallationJob_Impl::Updates(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1150,7 +1150,7 @@ impl IInstallationJob_Vtbl { let this = (*this).get_impl(); match IInstallationJob_Impl::GetProgress(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1192,7 +1192,7 @@ impl IInstallationProgress_Vtbl { let this = (*this).get_impl(); match IInstallationProgress_Impl::CurrentUpdateIndex(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1203,7 +1203,7 @@ impl IInstallationProgress_Vtbl { let this = (*this).get_impl(); match IInstallationProgress_Impl::CurrentUpdatePercentComplete(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1214,7 +1214,7 @@ impl IInstallationProgress_Vtbl { let this = (*this).get_impl(); match IInstallationProgress_Impl::PercentComplete(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1225,7 +1225,7 @@ impl IInstallationProgress_Vtbl { let this = (*this).get_impl(); match IInstallationProgress_Impl::GetUpdateResult(this, core::mem::transmute_copy(&updateindex)) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1277,7 +1277,7 @@ impl IInstallationProgressChangedCallbackArgs_Vtbl { let this = (*this).get_impl(); match IInstallationProgressChangedCallbackArgs_Impl::Progress(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1306,7 +1306,7 @@ impl IInstallationResult_Vtbl { let this = (*this).get_impl(); match IInstallationResult_Impl::HResult(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1317,7 +1317,7 @@ impl IInstallationResult_Vtbl { let this = (*this).get_impl(); match IInstallationResult_Impl::RebootRequired(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1328,7 +1328,7 @@ impl IInstallationResult_Vtbl { let this = (*this).get_impl(); match IInstallationResult_Impl::ResultCode(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1339,7 +1339,7 @@ impl IInstallationResult_Vtbl { let this = (*this).get_impl(); match IInstallationResult_Impl::GetUpdateResult(this, core::mem::transmute_copy(&updateindex)) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1371,7 +1371,7 @@ impl IInvalidProductLicenseException_Vtbl { let this = (*this).get_impl(); match IInvalidProductLicenseException_Impl::Product(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1433,7 +1433,7 @@ impl ISearchJob_Vtbl { let this = (*this).get_impl(); match ISearchJob_Impl::AsyncState(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1444,7 +1444,7 @@ impl ISearchJob_Vtbl { let this = (*this).get_impl(); match ISearchJob_Impl::IsCompleted(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1489,7 +1489,7 @@ impl ISearchResult_Vtbl { let this = (*this).get_impl(); match ISearchResult_Impl::ResultCode(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1500,7 +1500,7 @@ impl ISearchResult_Vtbl { let this = (*this).get_impl(); match ISearchResult_Impl::RootCategories(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1511,7 +1511,7 @@ impl ISearchResult_Vtbl { let this = (*this).get_impl(); match ISearchResult_Impl::Updates(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1522,7 +1522,7 @@ impl ISearchResult_Vtbl { let this = (*this).get_impl(); match ISearchResult_Impl::Warnings(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1563,7 +1563,7 @@ impl IStringCollection_Vtbl { let this = (*this).get_impl(); match IStringCollection_Impl::get_Item(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1579,7 +1579,7 @@ impl IStringCollection_Vtbl { let this = (*this).get_impl(); match IStringCollection_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1590,7 +1590,7 @@ impl IStringCollection_Vtbl { let this = (*this).get_impl(); match IStringCollection_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1601,7 +1601,7 @@ impl IStringCollection_Vtbl { let this = (*this).get_impl(); match IStringCollection_Impl::ReadOnly(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1612,7 +1612,7 @@ impl IStringCollection_Vtbl { let this = (*this).get_impl(); match IStringCollection_Impl::Add(this, core::mem::transmute(&value)) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1628,7 +1628,7 @@ impl IStringCollection_Vtbl { let this = (*this).get_impl(); match IStringCollection_Impl::Copy(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1677,7 +1677,7 @@ impl ISystemInformation_Vtbl { let this = (*this).get_impl(); match ISystemInformation_Impl::OemHardwareSupportLink(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1688,7 +1688,7 @@ impl ISystemInformation_Vtbl { let this = (*this).get_impl(); match ISystemInformation_Impl::RebootRequired(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1762,7 +1762,7 @@ impl IUpdate_Vtbl { let this = (*this).get_impl(); match IUpdate_Impl::Title(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1773,7 +1773,7 @@ impl IUpdate_Vtbl { let this = (*this).get_impl(); match IUpdate_Impl::AutoSelectOnWebSites(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1784,7 +1784,7 @@ impl IUpdate_Vtbl { let this = (*this).get_impl(); match IUpdate_Impl::BundledUpdates(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1795,7 +1795,7 @@ impl IUpdate_Vtbl { let this = (*this).get_impl(); match IUpdate_Impl::CanRequireSource(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1806,7 +1806,7 @@ impl IUpdate_Vtbl { let this = (*this).get_impl(); match IUpdate_Impl::Categories(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1817,7 +1817,7 @@ impl IUpdate_Vtbl { let this = (*this).get_impl(); match IUpdate_Impl::Deadline(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1828,7 +1828,7 @@ impl IUpdate_Vtbl { let this = (*this).get_impl(); match IUpdate_Impl::DeltaCompressedContentAvailable(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1839,7 +1839,7 @@ impl IUpdate_Vtbl { let this = (*this).get_impl(); match IUpdate_Impl::DeltaCompressedContentPreferred(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1850,7 +1850,7 @@ impl IUpdate_Vtbl { let this = (*this).get_impl(); match IUpdate_Impl::Description(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1861,7 +1861,7 @@ impl IUpdate_Vtbl { let this = (*this).get_impl(); match IUpdate_Impl::EulaAccepted(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1872,7 +1872,7 @@ impl IUpdate_Vtbl { let this = (*this).get_impl(); match IUpdate_Impl::EulaText(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1883,7 +1883,7 @@ impl IUpdate_Vtbl { let this = (*this).get_impl(); match IUpdate_Impl::HandlerID(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1894,7 +1894,7 @@ impl IUpdate_Vtbl { let this = (*this).get_impl(); match IUpdate_Impl::Identity(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1905,7 +1905,7 @@ impl IUpdate_Vtbl { let this = (*this).get_impl(); match IUpdate_Impl::Image(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1916,7 +1916,7 @@ impl IUpdate_Vtbl { let this = (*this).get_impl(); match IUpdate_Impl::InstallationBehavior(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1927,7 +1927,7 @@ impl IUpdate_Vtbl { let this = (*this).get_impl(); match IUpdate_Impl::IsBeta(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1938,7 +1938,7 @@ impl IUpdate_Vtbl { let this = (*this).get_impl(); match IUpdate_Impl::IsDownloaded(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1949,7 +1949,7 @@ impl IUpdate_Vtbl { let this = (*this).get_impl(); match IUpdate_Impl::IsHidden(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1965,7 +1965,7 @@ impl IUpdate_Vtbl { let this = (*this).get_impl(); match IUpdate_Impl::IsInstalled(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1976,7 +1976,7 @@ impl IUpdate_Vtbl { let this = (*this).get_impl(); match IUpdate_Impl::IsMandatory(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1987,7 +1987,7 @@ impl IUpdate_Vtbl { let this = (*this).get_impl(); match IUpdate_Impl::IsUninstallable(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1998,7 +1998,7 @@ impl IUpdate_Vtbl { let this = (*this).get_impl(); match IUpdate_Impl::Languages(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2009,7 +2009,7 @@ impl IUpdate_Vtbl { let this = (*this).get_impl(); match IUpdate_Impl::LastDeploymentChangeTime(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2020,7 +2020,7 @@ impl IUpdate_Vtbl { let this = (*this).get_impl(); match IUpdate_Impl::MaxDownloadSize(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2031,7 +2031,7 @@ impl IUpdate_Vtbl { let this = (*this).get_impl(); match IUpdate_Impl::MinDownloadSize(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2042,7 +2042,7 @@ impl IUpdate_Vtbl { let this = (*this).get_impl(); match IUpdate_Impl::MoreInfoUrls(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2053,7 +2053,7 @@ impl IUpdate_Vtbl { let this = (*this).get_impl(); match IUpdate_Impl::MsrcSeverity(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2064,7 +2064,7 @@ impl IUpdate_Vtbl { let this = (*this).get_impl(); match IUpdate_Impl::RecommendedCpuSpeed(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2075,7 +2075,7 @@ impl IUpdate_Vtbl { let this = (*this).get_impl(); match IUpdate_Impl::RecommendedHardDiskSpace(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2086,7 +2086,7 @@ impl IUpdate_Vtbl { let this = (*this).get_impl(); match IUpdate_Impl::RecommendedMemory(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2097,7 +2097,7 @@ impl IUpdate_Vtbl { let this = (*this).get_impl(); match IUpdate_Impl::ReleaseNotes(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2108,7 +2108,7 @@ impl IUpdate_Vtbl { let this = (*this).get_impl(); match IUpdate_Impl::SecurityBulletinIDs(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2119,7 +2119,7 @@ impl IUpdate_Vtbl { let this = (*this).get_impl(); match IUpdate_Impl::SupersededUpdateIDs(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2130,7 +2130,7 @@ impl IUpdate_Vtbl { let this = (*this).get_impl(); match IUpdate_Impl::SupportUrl(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2141,7 +2141,7 @@ impl IUpdate_Vtbl { let this = (*this).get_impl(); match IUpdate_Impl::Type(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2152,7 +2152,7 @@ impl IUpdate_Vtbl { let this = (*this).get_impl(); match IUpdate_Impl::UninstallationNotes(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2163,7 +2163,7 @@ impl IUpdate_Vtbl { let this = (*this).get_impl(); match IUpdate_Impl::UninstallationBehavior(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2174,7 +2174,7 @@ impl IUpdate_Vtbl { let this = (*this).get_impl(); match IUpdate_Impl::UninstallationSteps(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2185,7 +2185,7 @@ impl IUpdate_Vtbl { let this = (*this).get_impl(); match IUpdate_Impl::KBArticleIDs(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2201,7 +2201,7 @@ impl IUpdate_Vtbl { let this = (*this).get_impl(); match IUpdate_Impl::DeploymentAction(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2217,7 +2217,7 @@ impl IUpdate_Vtbl { let this = (*this).get_impl(); match IUpdate_Impl::DownloadPriority(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2228,7 +2228,7 @@ impl IUpdate_Vtbl { let this = (*this).get_impl(); match IUpdate_Impl::DownloadContents(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2304,7 +2304,7 @@ impl IUpdate2_Vtbl { let this = (*this).get_impl(); match IUpdate2_Impl::RebootRequired(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2315,7 +2315,7 @@ impl IUpdate2_Vtbl { let this = (*this).get_impl(); match IUpdate2_Impl::IsPresent(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2326,7 +2326,7 @@ impl IUpdate2_Vtbl { let this = (*this).get_impl(); match IUpdate2_Impl::CveIDs(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2363,7 +2363,7 @@ impl IUpdate3_Vtbl { let this = (*this).get_impl(); match IUpdate3_Impl::BrowseOnly(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2389,7 +2389,7 @@ impl IUpdate4_Vtbl { let this = (*this).get_impl(); match IUpdate4_Impl::PerUser(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2416,7 +2416,7 @@ impl IUpdate5_Vtbl { let this = (*this).get_impl(); match IUpdate5_Impl::AutoSelection(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2427,7 +2427,7 @@ impl IUpdate5_Vtbl { let this = (*this).get_impl(); match IUpdate5_Impl::AutoDownload(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2466,7 +2466,7 @@ impl IUpdateCollection_Vtbl { let this = (*this).get_impl(); match IUpdateCollection_Impl::get_Item(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2482,7 +2482,7 @@ impl IUpdateCollection_Vtbl { let this = (*this).get_impl(); match IUpdateCollection_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2493,7 +2493,7 @@ impl IUpdateCollection_Vtbl { let this = (*this).get_impl(); match IUpdateCollection_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2504,7 +2504,7 @@ impl IUpdateCollection_Vtbl { let this = (*this).get_impl(); match IUpdateCollection_Impl::ReadOnly(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2515,7 +2515,7 @@ impl IUpdateCollection_Vtbl { let this = (*this).get_impl(); match IUpdateCollection_Impl::Add(this, windows_core::from_raw_borrowed(&value)) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2531,7 +2531,7 @@ impl IUpdateCollection_Vtbl { let this = (*this).get_impl(); match IUpdateCollection_Impl::Copy(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2579,7 +2579,7 @@ impl IUpdateDownloadContent_Vtbl { let this = (*this).get_impl(); match IUpdateDownloadContent_Impl::DownloadUrl(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2605,7 +2605,7 @@ impl IUpdateDownloadContent2_Vtbl { let this = (*this).get_impl(); match IUpdateDownloadContent2_Impl::IsDeltaCompressedContent(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2636,7 +2636,7 @@ impl IUpdateDownloadContentCollection_Vtbl { let this = (*this).get_impl(); match IUpdateDownloadContentCollection_Impl::get_Item(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2647,7 +2647,7 @@ impl IUpdateDownloadContentCollection_Vtbl { let this = (*this).get_impl(); match IUpdateDownloadContentCollection_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2658,7 +2658,7 @@ impl IUpdateDownloadContentCollection_Vtbl { let this = (*this).get_impl(); match IUpdateDownloadContentCollection_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2690,7 +2690,7 @@ impl IUpdateDownloadResult_Vtbl { let this = (*this).get_impl(); match IUpdateDownloadResult_Impl::HResult(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2701,7 +2701,7 @@ impl IUpdateDownloadResult_Vtbl { let this = (*this).get_impl(); match IUpdateDownloadResult_Impl::ResultCode(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2741,7 +2741,7 @@ impl IUpdateDownloader_Vtbl { let this = (*this).get_impl(); match IUpdateDownloader_Impl::ClientApplicationID(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2757,7 +2757,7 @@ impl IUpdateDownloader_Vtbl { let this = (*this).get_impl(); match IUpdateDownloader_Impl::IsForced(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2773,7 +2773,7 @@ impl IUpdateDownloader_Vtbl { let this = (*this).get_impl(); match IUpdateDownloader_Impl::Priority(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2789,7 +2789,7 @@ impl IUpdateDownloader_Vtbl { let this = (*this).get_impl(); match IUpdateDownloader_Impl::Updates(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2805,7 +2805,7 @@ impl IUpdateDownloader_Vtbl { let this = (*this).get_impl(); match IUpdateDownloader_Impl::BeginDownload(this, windows_core::from_raw_borrowed(&onprogresschanged), windows_core::from_raw_borrowed(&oncompleted), core::mem::transmute(&state)) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2816,7 +2816,7 @@ impl IUpdateDownloader_Vtbl { let this = (*this).get_impl(); match IUpdateDownloader_Impl::Download(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2827,7 +2827,7 @@ impl IUpdateDownloader_Vtbl { let this = (*this).get_impl(); match IUpdateDownloader_Impl::EndDownload(this, windows_core::from_raw_borrowed(&value)) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2868,7 +2868,7 @@ impl IUpdateException_Vtbl { let this = (*this).get_impl(); match IUpdateException_Impl::Message(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2879,7 +2879,7 @@ impl IUpdateException_Vtbl { let this = (*this).get_impl(); match IUpdateException_Impl::HResult(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2890,7 +2890,7 @@ impl IUpdateException_Vtbl { let this = (*this).get_impl(); match IUpdateException_Impl::Context(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2923,7 +2923,7 @@ impl IUpdateExceptionCollection_Vtbl { let this = (*this).get_impl(); match IUpdateExceptionCollection_Impl::get_Item(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2934,7 +2934,7 @@ impl IUpdateExceptionCollection_Vtbl { let this = (*this).get_impl(); match IUpdateExceptionCollection_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2945,7 +2945,7 @@ impl IUpdateExceptionCollection_Vtbl { let this = (*this).get_impl(); match IUpdateExceptionCollection_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2989,7 +2989,7 @@ impl IUpdateHistoryEntry_Vtbl { let this = (*this).get_impl(); match IUpdateHistoryEntry_Impl::Operation(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3000,7 +3000,7 @@ impl IUpdateHistoryEntry_Vtbl { let this = (*this).get_impl(); match IUpdateHistoryEntry_Impl::ResultCode(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3011,7 +3011,7 @@ impl IUpdateHistoryEntry_Vtbl { let this = (*this).get_impl(); match IUpdateHistoryEntry_Impl::HResult(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3022,7 +3022,7 @@ impl IUpdateHistoryEntry_Vtbl { let this = (*this).get_impl(); match IUpdateHistoryEntry_Impl::Date(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3033,7 +3033,7 @@ impl IUpdateHistoryEntry_Vtbl { let this = (*this).get_impl(); match IUpdateHistoryEntry_Impl::UpdateIdentity(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3044,7 +3044,7 @@ impl IUpdateHistoryEntry_Vtbl { let this = (*this).get_impl(); match IUpdateHistoryEntry_Impl::Title(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3055,7 +3055,7 @@ impl IUpdateHistoryEntry_Vtbl { let this = (*this).get_impl(); match IUpdateHistoryEntry_Impl::Description(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3066,7 +3066,7 @@ impl IUpdateHistoryEntry_Vtbl { let this = (*this).get_impl(); match IUpdateHistoryEntry_Impl::UnmappedResultCode(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3077,7 +3077,7 @@ impl IUpdateHistoryEntry_Vtbl { let this = (*this).get_impl(); match IUpdateHistoryEntry_Impl::ClientApplicationID(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3088,7 +3088,7 @@ impl IUpdateHistoryEntry_Vtbl { let this = (*this).get_impl(); match IUpdateHistoryEntry_Impl::ServerSelection(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3099,7 +3099,7 @@ impl IUpdateHistoryEntry_Vtbl { let this = (*this).get_impl(); match IUpdateHistoryEntry_Impl::ServiceID(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3110,7 +3110,7 @@ impl IUpdateHistoryEntry_Vtbl { let this = (*this).get_impl(); match IUpdateHistoryEntry_Impl::UninstallationSteps(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3121,7 +3121,7 @@ impl IUpdateHistoryEntry_Vtbl { let this = (*this).get_impl(); match IUpdateHistoryEntry_Impl::UninstallationNotes(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3132,7 +3132,7 @@ impl IUpdateHistoryEntry_Vtbl { let this = (*this).get_impl(); match IUpdateHistoryEntry_Impl::SupportUrl(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3174,7 +3174,7 @@ impl IUpdateHistoryEntry2_Vtbl { let this = (*this).get_impl(); match IUpdateHistoryEntry2_Impl::Categories(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3202,7 +3202,7 @@ impl IUpdateHistoryEntryCollection_Vtbl { let this = (*this).get_impl(); match IUpdateHistoryEntryCollection_Impl::get_Item(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3213,7 +3213,7 @@ impl IUpdateHistoryEntryCollection_Vtbl { let this = (*this).get_impl(); match IUpdateHistoryEntryCollection_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3224,7 +3224,7 @@ impl IUpdateHistoryEntryCollection_Vtbl { let this = (*this).get_impl(); match IUpdateHistoryEntryCollection_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3256,7 +3256,7 @@ impl IUpdateIdentity_Vtbl { let this = (*this).get_impl(); match IUpdateIdentity_Impl::RevisionNumber(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3267,7 +3267,7 @@ impl IUpdateIdentity_Vtbl { let this = (*this).get_impl(); match IUpdateIdentity_Impl::UpdateID(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3299,7 +3299,7 @@ impl IUpdateInstallationResult_Vtbl { let this = (*this).get_impl(); match IUpdateInstallationResult_Impl::HResult(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3310,7 +3310,7 @@ impl IUpdateInstallationResult_Vtbl { let this = (*this).get_impl(); match IUpdateInstallationResult_Impl::RebootRequired(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3321,7 +3321,7 @@ impl IUpdateInstallationResult_Vtbl { let this = (*this).get_impl(); match IUpdateInstallationResult_Impl::ResultCode(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3372,7 +3372,7 @@ impl IUpdateInstaller_Vtbl { let this = (*this).get_impl(); match IUpdateInstaller_Impl::ClientApplicationID(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3388,7 +3388,7 @@ impl IUpdateInstaller_Vtbl { let this = (*this).get_impl(); match IUpdateInstaller_Impl::IsForced(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3404,7 +3404,7 @@ impl IUpdateInstaller_Vtbl { let this = (*this).get_impl(); match IUpdateInstaller_Impl::ParentHwnd(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3425,7 +3425,7 @@ impl IUpdateInstaller_Vtbl { let this = (*this).get_impl(); match IUpdateInstaller_Impl::ParentWindow(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3436,7 +3436,7 @@ impl IUpdateInstaller_Vtbl { let this = (*this).get_impl(); match IUpdateInstaller_Impl::Updates(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3452,7 +3452,7 @@ impl IUpdateInstaller_Vtbl { let this = (*this).get_impl(); match IUpdateInstaller_Impl::BeginInstall(this, windows_core::from_raw_borrowed(&onprogresschanged), windows_core::from_raw_borrowed(&oncompleted), core::mem::transmute(&state)) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3463,7 +3463,7 @@ impl IUpdateInstaller_Vtbl { let this = (*this).get_impl(); match IUpdateInstaller_Impl::BeginUninstall(this, windows_core::from_raw_borrowed(&onprogresschanged), windows_core::from_raw_borrowed(&oncompleted), core::mem::transmute(&state)) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3474,7 +3474,7 @@ impl IUpdateInstaller_Vtbl { let this = (*this).get_impl(); match IUpdateInstaller_Impl::EndInstall(this, windows_core::from_raw_borrowed(&value)) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3485,7 +3485,7 @@ impl IUpdateInstaller_Vtbl { let this = (*this).get_impl(); match IUpdateInstaller_Impl::EndUninstall(this, windows_core::from_raw_borrowed(&value)) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3496,7 +3496,7 @@ impl IUpdateInstaller_Vtbl { let this = (*this).get_impl(); match IUpdateInstaller_Impl::Install(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3507,7 +3507,7 @@ impl IUpdateInstaller_Vtbl { let this = (*this).get_impl(); match IUpdateInstaller_Impl::RunWizard(this, core::mem::transmute(&dialogtitle)) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3518,7 +3518,7 @@ impl IUpdateInstaller_Vtbl { let this = (*this).get_impl(); match IUpdateInstaller_Impl::IsBusy(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3529,7 +3529,7 @@ impl IUpdateInstaller_Vtbl { let this = (*this).get_impl(); match IUpdateInstaller_Impl::Uninstall(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3540,7 +3540,7 @@ impl IUpdateInstaller_Vtbl { let this = (*this).get_impl(); match IUpdateInstaller_Impl::AllowSourcePrompts(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3556,7 +3556,7 @@ impl IUpdateInstaller_Vtbl { let this = (*this).get_impl(); match IUpdateInstaller_Impl::RebootRequiredBeforeInstallation(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3606,7 +3606,7 @@ impl IUpdateInstaller2_Vtbl { let this = (*this).get_impl(); match IUpdateInstaller2_Impl::ForceQuiet(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3642,7 +3642,7 @@ impl IUpdateInstaller3_Vtbl { let this = (*this).get_impl(); match IUpdateInstaller3_Impl::AttemptCloseAppsIfNecessary(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3731,7 +3731,7 @@ impl IUpdateSearcher_Vtbl { let this = (*this).get_impl(); match IUpdateSearcher_Impl::CanAutomaticallyUpgradeService(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3747,7 +3747,7 @@ impl IUpdateSearcher_Vtbl { let this = (*this).get_impl(); match IUpdateSearcher_Impl::ClientApplicationID(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3763,7 +3763,7 @@ impl IUpdateSearcher_Vtbl { let this = (*this).get_impl(); match IUpdateSearcher_Impl::IncludePotentiallySupersededUpdates(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3779,7 +3779,7 @@ impl IUpdateSearcher_Vtbl { let this = (*this).get_impl(); match IUpdateSearcher_Impl::ServerSelection(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3795,7 +3795,7 @@ impl IUpdateSearcher_Vtbl { let this = (*this).get_impl(); match IUpdateSearcher_Impl::BeginSearch(this, core::mem::transmute(&criteria), windows_core::from_raw_borrowed(&oncompleted), core::mem::transmute(&state)) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3806,7 +3806,7 @@ impl IUpdateSearcher_Vtbl { let this = (*this).get_impl(); match IUpdateSearcher_Impl::EndSearch(this, windows_core::from_raw_borrowed(&searchjob)) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3817,7 +3817,7 @@ impl IUpdateSearcher_Vtbl { let this = (*this).get_impl(); match IUpdateSearcher_Impl::EscapeString(this, core::mem::transmute(&unescaped)) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3828,7 +3828,7 @@ impl IUpdateSearcher_Vtbl { let this = (*this).get_impl(); match IUpdateSearcher_Impl::QueryHistory(this, core::mem::transmute_copy(&startindex), core::mem::transmute_copy(&count)) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3839,7 +3839,7 @@ impl IUpdateSearcher_Vtbl { let this = (*this).get_impl(); match IUpdateSearcher_Impl::Search(this, core::mem::transmute(&criteria)) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3850,7 +3850,7 @@ impl IUpdateSearcher_Vtbl { let this = (*this).get_impl(); match IUpdateSearcher_Impl::Online(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3866,7 +3866,7 @@ impl IUpdateSearcher_Vtbl { let this = (*this).get_impl(); match IUpdateSearcher_Impl::GetTotalHistoryCount(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3877,7 +3877,7 @@ impl IUpdateSearcher_Vtbl { let this = (*this).get_impl(); match IUpdateSearcher_Impl::ServiceID(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3929,7 +3929,7 @@ impl IUpdateSearcher2_Vtbl { let this = (*this).get_impl(); match IUpdateSearcher2_Impl::IgnoreDownloadPriority(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3965,7 +3965,7 @@ impl IUpdateSearcher3_Vtbl { let this = (*this).get_impl(); match IUpdateSearcher3_Impl::SearchScope(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4012,7 +4012,7 @@ impl IUpdateService_Vtbl { let this = (*this).get_impl(); match IUpdateService_Impl::Name(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4023,7 +4023,7 @@ impl IUpdateService_Vtbl { let this = (*this).get_impl(); match IUpdateService_Impl::ContentValidationCert(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4034,7 +4034,7 @@ impl IUpdateService_Vtbl { let this = (*this).get_impl(); match IUpdateService_Impl::ExpirationDate(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4045,7 +4045,7 @@ impl IUpdateService_Vtbl { let this = (*this).get_impl(); match IUpdateService_Impl::IsManaged(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4056,7 +4056,7 @@ impl IUpdateService_Vtbl { let this = (*this).get_impl(); match IUpdateService_Impl::IsRegisteredWithAU(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4067,7 +4067,7 @@ impl IUpdateService_Vtbl { let this = (*this).get_impl(); match IUpdateService_Impl::IssueDate(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4078,7 +4078,7 @@ impl IUpdateService_Vtbl { let this = (*this).get_impl(); match IUpdateService_Impl::OffersWindowsUpdates(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4089,7 +4089,7 @@ impl IUpdateService_Vtbl { let this = (*this).get_impl(); match IUpdateService_Impl::RedirectUrls(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4100,7 +4100,7 @@ impl IUpdateService_Vtbl { let this = (*this).get_impl(); match IUpdateService_Impl::ServiceID(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4111,7 +4111,7 @@ impl IUpdateService_Vtbl { let this = (*this).get_impl(); match IUpdateService_Impl::IsScanPackageService(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4122,7 +4122,7 @@ impl IUpdateService_Vtbl { let this = (*this).get_impl(); match IUpdateService_Impl::CanRegisterWithAU(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4133,7 +4133,7 @@ impl IUpdateService_Vtbl { let this = (*this).get_impl(); match IUpdateService_Impl::ServiceUrl(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4144,7 +4144,7 @@ impl IUpdateService_Vtbl { let this = (*this).get_impl(); match IUpdateService_Impl::SetupPrefix(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4185,7 +4185,7 @@ impl IUpdateService2_Vtbl { let this = (*this).get_impl(); match IUpdateService2_Impl::IsDefaultAUService(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4213,7 +4213,7 @@ impl IUpdateServiceCollection_Vtbl { let this = (*this).get_impl(); match IUpdateServiceCollection_Impl::get_Item(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4224,7 +4224,7 @@ impl IUpdateServiceCollection_Vtbl { let this = (*this).get_impl(); match IUpdateServiceCollection_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4235,7 +4235,7 @@ impl IUpdateServiceCollection_Vtbl { let this = (*this).get_impl(); match IUpdateServiceCollection_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4272,7 +4272,7 @@ impl IUpdateServiceManager_Vtbl { let this = (*this).get_impl(); match IUpdateServiceManager_Impl::Services(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4283,7 +4283,7 @@ impl IUpdateServiceManager_Vtbl { let this = (*this).get_impl(); match IUpdateServiceManager_Impl::AddService(this, core::mem::transmute(&serviceid), core::mem::transmute(&authorizationcabpath)) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4309,7 +4309,7 @@ impl IUpdateServiceManager_Vtbl { let this = (*this).get_impl(); match IUpdateServiceManager_Impl::AddScanPackageService(this, core::mem::transmute(&servicename), core::mem::transmute(&scanfilelocation), core::mem::transmute_copy(&flags)) { Ok(ok__) => { - core::ptr::write(ppservice, core::mem::transmute(ok__)); + ppservice.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4352,7 +4352,7 @@ impl IUpdateServiceManager2_Vtbl { let this = (*this).get_impl(); match IUpdateServiceManager2_Impl::ClientApplicationID(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4368,7 +4368,7 @@ impl IUpdateServiceManager2_Vtbl { let this = (*this).get_impl(); match IUpdateServiceManager2_Impl::QueryServiceRegistration(this, core::mem::transmute(&serviceid)) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4379,7 +4379,7 @@ impl IUpdateServiceManager2_Vtbl { let this = (*this).get_impl(); match IUpdateServiceManager2_Impl::AddService2(this, core::mem::transmute(&serviceid), core::mem::transmute_copy(&flags), core::mem::transmute(&authorizationcabpath)) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4414,7 +4414,7 @@ impl IUpdateServiceRegistration_Vtbl { let this = (*this).get_impl(); match IUpdateServiceRegistration_Impl::RegistrationState(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4425,7 +4425,7 @@ impl IUpdateServiceRegistration_Vtbl { let this = (*this).get_impl(); match IUpdateServiceRegistration_Impl::ServiceID(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4436,7 +4436,7 @@ impl IUpdateServiceRegistration_Vtbl { let this = (*this).get_impl(); match IUpdateServiceRegistration_Impl::IsPendingRegistrationWithAU(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4447,7 +4447,7 @@ impl IUpdateServiceRegistration_Vtbl { let this = (*this).get_impl(); match IUpdateServiceRegistration_Impl::Service(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4486,7 +4486,7 @@ impl IUpdateSession_Vtbl { let this = (*this).get_impl(); match IUpdateSession_Impl::ClientApplicationID(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4502,7 +4502,7 @@ impl IUpdateSession_Vtbl { let this = (*this).get_impl(); match IUpdateSession_Impl::ReadOnly(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4513,7 +4513,7 @@ impl IUpdateSession_Vtbl { let this = (*this).get_impl(); match IUpdateSession_Impl::WebProxy(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4529,7 +4529,7 @@ impl IUpdateSession_Vtbl { let this = (*this).get_impl(); match IUpdateSession_Impl::CreateUpdateSearcher(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4540,7 +4540,7 @@ impl IUpdateSession_Vtbl { let this = (*this).get_impl(); match IUpdateSession_Impl::CreateUpdateDownloader(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4551,7 +4551,7 @@ impl IUpdateSession_Vtbl { let this = (*this).get_impl(); match IUpdateSession_Impl::CreateUpdateInstaller(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4588,7 +4588,7 @@ impl IUpdateSession2_Vtbl { let this = (*this).get_impl(); match IUpdateSession2_Impl::UserLocale(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4624,7 +4624,7 @@ impl IUpdateSession3_Vtbl { let this = (*this).get_impl(); match IUpdateSession3_Impl::CreateUpdateServiceManager(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4635,7 +4635,7 @@ impl IUpdateSession3_Vtbl { let this = (*this).get_impl(); match IUpdateSession3_Impl::QueryHistory(this, core::mem::transmute(&criteria), core::mem::transmute_copy(&startindex), core::mem::transmute_copy(&count)) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4678,7 +4678,7 @@ impl IWebProxy_Vtbl { let this = (*this).get_impl(); match IWebProxy_Impl::Address(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4694,7 +4694,7 @@ impl IWebProxy_Vtbl { let this = (*this).get_impl(); match IWebProxy_Impl::BypassList(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4710,7 +4710,7 @@ impl IWebProxy_Vtbl { let this = (*this).get_impl(); match IWebProxy_Impl::BypassProxyOnLocal(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4726,7 +4726,7 @@ impl IWebProxy_Vtbl { let this = (*this).get_impl(); match IWebProxy_Impl::ReadOnly(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4737,7 +4737,7 @@ impl IWebProxy_Vtbl { let this = (*this).get_impl(); match IWebProxy_Impl::UserName(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4768,7 +4768,7 @@ impl IWebProxy_Vtbl { let this = (*this).get_impl(); match IWebProxy_Impl::AutoDetect(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4822,7 +4822,7 @@ impl IWindowsDriverUpdate_Vtbl { let this = (*this).get_impl(); match IWindowsDriverUpdate_Impl::DriverClass(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4833,7 +4833,7 @@ impl IWindowsDriverUpdate_Vtbl { let this = (*this).get_impl(); match IWindowsDriverUpdate_Impl::DriverHardwareID(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4844,7 +4844,7 @@ impl IWindowsDriverUpdate_Vtbl { let this = (*this).get_impl(); match IWindowsDriverUpdate_Impl::DriverManufacturer(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4855,7 +4855,7 @@ impl IWindowsDriverUpdate_Vtbl { let this = (*this).get_impl(); match IWindowsDriverUpdate_Impl::DriverModel(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4866,7 +4866,7 @@ impl IWindowsDriverUpdate_Vtbl { let this = (*this).get_impl(); match IWindowsDriverUpdate_Impl::DriverProvider(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4877,7 +4877,7 @@ impl IWindowsDriverUpdate_Vtbl { let this = (*this).get_impl(); match IWindowsDriverUpdate_Impl::DriverVerDate(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4888,7 +4888,7 @@ impl IWindowsDriverUpdate_Vtbl { let this = (*this).get_impl(); match IWindowsDriverUpdate_Impl::DeviceProblemNumber(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4899,7 +4899,7 @@ impl IWindowsDriverUpdate_Vtbl { let this = (*this).get_impl(); match IWindowsDriverUpdate_Impl::DeviceStatus(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4938,7 +4938,7 @@ impl IWindowsDriverUpdate2_Vtbl { let this = (*this).get_impl(); match IWindowsDriverUpdate2_Impl::RebootRequired(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4949,7 +4949,7 @@ impl IWindowsDriverUpdate2_Vtbl { let this = (*this).get_impl(); match IWindowsDriverUpdate2_Impl::IsPresent(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4960,7 +4960,7 @@ impl IWindowsDriverUpdate2_Vtbl { let this = (*this).get_impl(); match IWindowsDriverUpdate2_Impl::CveIDs(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4997,7 +4997,7 @@ impl IWindowsDriverUpdate3_Vtbl { let this = (*this).get_impl(); match IWindowsDriverUpdate3_Impl::BrowseOnly(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5024,7 +5024,7 @@ impl IWindowsDriverUpdate4_Vtbl { let this = (*this).get_impl(); match IWindowsDriverUpdate4_Impl::WindowsDriverUpdateEntries(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5035,7 +5035,7 @@ impl IWindowsDriverUpdate4_Vtbl { let this = (*this).get_impl(); match IWindowsDriverUpdate4_Impl::PerUser(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5066,7 +5066,7 @@ impl IWindowsDriverUpdate5_Vtbl { let this = (*this).get_impl(); match IWindowsDriverUpdate5_Impl::AutoSelection(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5077,7 +5077,7 @@ impl IWindowsDriverUpdate5_Vtbl { let this = (*this).get_impl(); match IWindowsDriverUpdate5_Impl::AutoDownload(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5114,7 +5114,7 @@ impl IWindowsDriverUpdateEntry_Vtbl { let this = (*this).get_impl(); match IWindowsDriverUpdateEntry_Impl::DriverClass(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5125,7 +5125,7 @@ impl IWindowsDriverUpdateEntry_Vtbl { let this = (*this).get_impl(); match IWindowsDriverUpdateEntry_Impl::DriverHardwareID(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5136,7 +5136,7 @@ impl IWindowsDriverUpdateEntry_Vtbl { let this = (*this).get_impl(); match IWindowsDriverUpdateEntry_Impl::DriverManufacturer(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5147,7 +5147,7 @@ impl IWindowsDriverUpdateEntry_Vtbl { let this = (*this).get_impl(); match IWindowsDriverUpdateEntry_Impl::DriverModel(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5158,7 +5158,7 @@ impl IWindowsDriverUpdateEntry_Vtbl { let this = (*this).get_impl(); match IWindowsDriverUpdateEntry_Impl::DriverProvider(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5169,7 +5169,7 @@ impl IWindowsDriverUpdateEntry_Vtbl { let this = (*this).get_impl(); match IWindowsDriverUpdateEntry_Impl::DriverVerDate(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5180,7 +5180,7 @@ impl IWindowsDriverUpdateEntry_Vtbl { let this = (*this).get_impl(); match IWindowsDriverUpdateEntry_Impl::DeviceProblemNumber(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5191,7 +5191,7 @@ impl IWindowsDriverUpdateEntry_Vtbl { let this = (*this).get_impl(); match IWindowsDriverUpdateEntry_Impl::DeviceStatus(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5229,7 +5229,7 @@ impl IWindowsDriverUpdateEntryCollection_Vtbl { let this = (*this).get_impl(); match IWindowsDriverUpdateEntryCollection_Impl::get_Item(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5240,7 +5240,7 @@ impl IWindowsDriverUpdateEntryCollection_Vtbl { let this = (*this).get_impl(); match IWindowsDriverUpdateEntryCollection_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5251,7 +5251,7 @@ impl IWindowsDriverUpdateEntryCollection_Vtbl { let this = (*this).get_impl(); match IWindowsDriverUpdateEntryCollection_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5282,7 +5282,7 @@ impl IWindowsUpdateAgentInfo_Vtbl { let this = (*this).get_impl(); match IWindowsUpdateAgentInfo_Impl::GetInfo(this, core::mem::transmute(&varinfoidentifier)) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/Win32/System/UpdateAssessment/impl.rs b/crates/libs/windows/src/Windows/Win32/System/UpdateAssessment/impl.rs index 2b1b220724..d30011afe3 100644 --- a/crates/libs/windows/src/Windows/Win32/System/UpdateAssessment/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/UpdateAssessment/impl.rs @@ -9,7 +9,7 @@ impl IWaaSAssessor_Vtbl { let this = (*this).get_impl(); match IWaaSAssessor_Impl::GetOSUpdateAssessment(this) { Ok(ok__) => { - core::ptr::write(result, core::mem::transmute(ok__)); + result.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/Win32/System/WinRT/AllJoyn/impl.rs b/crates/libs/windows/src/Windows/Win32/System/WinRT/AllJoyn/impl.rs index d3c5f22295..1fd22f99d5 100644 --- a/crates/libs/windows/src/Windows/Win32/System/WinRT/AllJoyn/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/WinRT/AllJoyn/impl.rs @@ -29,7 +29,7 @@ impl IWindowsDevicesAllJoynBusAttachmentInterop_Vtbl { let this = (*this).get_impl(); match IWindowsDevicesAllJoynBusAttachmentInterop_Impl::Win32Handle(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -87,7 +87,7 @@ impl IWindowsDevicesAllJoynBusObjectInterop_Vtbl { let this = (*this).get_impl(); match IWindowsDevicesAllJoynBusObjectInterop_Impl::Win32Handle(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/Win32/System/WinRT/Composition/impl.rs b/crates/libs/windows/src/Windows/Win32/System/WinRT/Composition/impl.rs index 6ddc6207ee..caf68ad91b 100644 --- a/crates/libs/windows/src/Windows/Win32/System/WinRT/Composition/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/WinRT/Composition/impl.rs @@ -12,7 +12,7 @@ impl ICompositionCapabilitiesInteropFactory_Vtbl { let this = (*this).get_impl(); match ICompositionCapabilitiesInteropFactory_Impl::GetForWindow(this, core::mem::transmute_copy(&hwnd)) { Ok(ok__) => { - core::ptr::write(result, core::mem::transmute(ok__)); + result.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -111,7 +111,7 @@ impl ICompositionGraphicsDeviceInterop_Vtbl { let this = (*this).get_impl(); match ICompositionGraphicsDeviceInterop_Impl::GetRenderingDevice(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -164,7 +164,7 @@ impl ICompositorDesktopInterop_Vtbl { let this = (*this).get_impl(); match ICompositorDesktopInterop_Impl::CreateDesktopWindowTarget(this, core::mem::transmute_copy(&hwndtarget), core::mem::transmute_copy(&istopmost)) { Ok(ok__) => { - core::ptr::write(result, core::mem::transmute(ok__)); + result.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -201,7 +201,7 @@ impl ICompositorInterop_Vtbl { let this = (*this).get_impl(); match ICompositorInterop_Impl::CreateCompositionSurfaceForHandle(this, core::mem::transmute_copy(&swapchain)) { Ok(ok__) => { - core::ptr::write(result, core::mem::transmute(ok__)); + result.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -212,7 +212,7 @@ impl ICompositorInterop_Vtbl { let this = (*this).get_impl(); match ICompositorInterop_Impl::CreateCompositionSurfaceForSwapChain(this, windows_core::from_raw_borrowed(&swapchain)) { Ok(ok__) => { - core::ptr::write(result, core::mem::transmute(ok__)); + result.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -223,7 +223,7 @@ impl ICompositorInterop_Vtbl { let this = (*this).get_impl(); match ICompositorInterop_Impl::CreateGraphicsDevice(this, windows_core::from_raw_borrowed(&renderingdevice)) { Ok(ok__) => { - core::ptr::write(result, core::mem::transmute(ok__)); + result.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -255,7 +255,7 @@ impl ICompositorInterop2_Vtbl { let this = (*this).get_impl(); match ICompositorInterop2_Impl::CheckCompositionTextureSupport(this, windows_core::from_raw_borrowed(&renderingdevice)) { Ok(ok__) => { - core::ptr::write(supportscompositiontextures, core::mem::transmute(ok__)); + supportscompositiontextures.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -266,7 +266,7 @@ impl ICompositorInterop2_Vtbl { let this = (*this).get_impl(); match ICompositorInterop2_Impl::CreateCompositionTexture(this, windows_core::from_raw_borrowed(&d3dtexture)) { Ok(ok__) => { - core::ptr::write(compositiontexture, core::mem::transmute(ok__)); + compositiontexture.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -293,7 +293,7 @@ impl IDesktopWindowTargetInterop_Vtbl { let this = (*this).get_impl(); match IDesktopWindowTargetInterop_Impl::Hwnd(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/Win32/System/WinRT/Display/impl.rs b/crates/libs/windows/src/Windows/Win32/System/WinRT/Display/impl.rs index 808d84cf6e..ebb4e9534e 100644 --- a/crates/libs/windows/src/Windows/Win32/System/WinRT/Display/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/WinRT/Display/impl.rs @@ -13,7 +13,7 @@ impl IDisplayDeviceInterop_Vtbl { let this = (*this).get_impl(); match IDisplayDeviceInterop_Impl::CreateSharedHandle(this, windows_core::from_raw_borrowed(&pobject), core::mem::transmute_copy(&psecurityattributes), core::mem::transmute_copy(&access), core::mem::transmute(&name)) { Ok(ok__) => { - core::ptr::write(phandle, core::mem::transmute(ok__)); + phandle.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -24,7 +24,7 @@ impl IDisplayDeviceInterop_Vtbl { let this = (*this).get_impl(); match IDisplayDeviceInterop_Impl::OpenSharedHandle(this, core::mem::transmute_copy(&nthandle), core::mem::transmute(&riid)) { Ok(ok__) => { - core::ptr::write(ppvobj, core::mem::transmute(ok__)); + ppvobj.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -52,7 +52,7 @@ impl IDisplayPathInterop_Vtbl { let this = (*this).get_impl(); match IDisplayPathInterop_Impl::CreateSourcePresentationHandle(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -63,7 +63,7 @@ impl IDisplayPathInterop_Vtbl { let this = (*this).get_impl(); match IDisplayPathInterop_Impl::GetSourceId(this) { Ok(ok__) => { - core::ptr::write(psourceid, core::mem::transmute(ok__)); + psourceid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/Win32/System/WinRT/Graphics/Direct2D/impl.rs b/crates/libs/windows/src/Windows/Win32/System/WinRT/Graphics/Direct2D/impl.rs index 3bc6737797..124de55528 100644 --- a/crates/libs/windows/src/Windows/Win32/System/WinRT/Graphics/Direct2D/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/WinRT/Graphics/Direct2D/impl.rs @@ -13,7 +13,7 @@ impl IGeometrySource2DInterop_Vtbl { let this = (*this).get_impl(); match IGeometrySource2DInterop_Impl::GetGeometry(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -24,7 +24,7 @@ impl IGeometrySource2DInterop_Vtbl { let this = (*this).get_impl(); match IGeometrySource2DInterop_Impl::TryGetGeometryUsingFactory(this, windows_core::from_raw_borrowed(&factory)) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -59,7 +59,7 @@ impl IGraphicsEffectD2D1Interop_Vtbl { let this = (*this).get_impl(); match IGraphicsEffectD2D1Interop_Impl::GetEffectId(this) { Ok(ok__) => { - core::ptr::write(id, core::mem::transmute(ok__)); + id.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -75,7 +75,7 @@ impl IGraphicsEffectD2D1Interop_Vtbl { let this = (*this).get_impl(); match IGraphicsEffectD2D1Interop_Impl::GetPropertyCount(this) { Ok(ok__) => { - core::ptr::write(count, core::mem::transmute(ok__)); + count.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -86,7 +86,7 @@ impl IGraphicsEffectD2D1Interop_Vtbl { let this = (*this).get_impl(); match IGraphicsEffectD2D1Interop_Impl::GetProperty(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -97,7 +97,7 @@ impl IGraphicsEffectD2D1Interop_Vtbl { let this = (*this).get_impl(); match IGraphicsEffectD2D1Interop_Impl::GetSource(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(source, core::mem::transmute(ok__)); + source.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -108,7 +108,7 @@ impl IGraphicsEffectD2D1Interop_Vtbl { let this = (*this).get_impl(); match IGraphicsEffectD2D1Interop_Impl::GetSourceCount(this) { Ok(ok__) => { - core::ptr::write(count, core::mem::transmute(ok__)); + count.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/Win32/System/WinRT/Holographic/impl.rs b/crates/libs/windows/src/Windows/Win32/System/WinRT/Holographic/impl.rs index 44059a1933..b226934514 100644 --- a/crates/libs/windows/src/Windows/Win32/System/WinRT/Holographic/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/WinRT/Holographic/impl.rs @@ -16,7 +16,7 @@ impl IHolographicCameraInterop_Vtbl { let this = (*this).get_impl(); match IHolographicCameraInterop_Impl::CreateDirect3D12BackBufferResource(this, windows_core::from_raw_borrowed(&pdevice), core::mem::transmute_copy(&ptexture2ddesc)) { Ok(ok__) => { - core::ptr::write(ppcreatedtexture2dresource, core::mem::transmute(ok__)); + ppcreatedtexture2dresource.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -27,7 +27,7 @@ impl IHolographicCameraInterop_Vtbl { let this = (*this).get_impl(); match IHolographicCameraInterop_Impl::CreateDirect3D12HardwareProtectedBackBufferResource(this, windows_core::from_raw_borrowed(&pdevice), core::mem::transmute_copy(&ptexture2ddesc), windows_core::from_raw_borrowed(&pprotectedresourcesession)) { Ok(ok__) => { - core::ptr::write(ppcreatedtexture2dresource, core::mem::transmute(ok__)); + ppcreatedtexture2dresource.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -109,7 +109,7 @@ impl IHolographicQuadLayerInterop_Vtbl { let this = (*this).get_impl(); match IHolographicQuadLayerInterop_Impl::CreateDirect3D12ContentBufferResource(this, windows_core::from_raw_borrowed(&pdevice), core::mem::transmute_copy(&ptexture2ddesc)) { Ok(ok__) => { - core::ptr::write(pptexture2dresource, core::mem::transmute(ok__)); + pptexture2dresource.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -120,7 +120,7 @@ impl IHolographicQuadLayerInterop_Vtbl { let this = (*this).get_impl(); match IHolographicQuadLayerInterop_Impl::CreateDirect3D12HardwareProtectedContentBufferResource(this, windows_core::from_raw_borrowed(&pdevice), core::mem::transmute_copy(&ptexture2ddesc), windows_core::from_raw_borrowed(&pprotectedresourcesession)) { Ok(ok__) => { - core::ptr::write(ppcreatedtexture2dresource, core::mem::transmute(ok__)); + ppcreatedtexture2dresource.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/Win32/System/WinRT/Isolation/impl.rs b/crates/libs/windows/src/Windows/Win32/System/WinRT/Isolation/impl.rs index a8af08057b..8b2f874c22 100644 --- a/crates/libs/windows/src/Windows/Win32/System/WinRT/Isolation/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/WinRT/Isolation/impl.rs @@ -9,7 +9,7 @@ impl IIsolatedEnvironmentInterop_Vtbl { let this = (*this).get_impl(); match IIsolatedEnvironmentInterop_Impl::GetHostHwndInterop(this, core::mem::transmute_copy(&containerhwnd)) { Ok(ok__) => { - core::ptr::write(hosthwnd, core::mem::transmute(ok__)); + hosthwnd.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/Win32/System/WinRT/ML/impl.rs b/crates/libs/windows/src/Windows/Win32/System/WinRT/ML/impl.rs index b447f8c3aa..f132df8e4a 100644 --- a/crates/libs/windows/src/Windows/Win32/System/WinRT/ML/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/WinRT/ML/impl.rs @@ -12,7 +12,7 @@ impl ILearningModelDeviceFactoryNative_Vtbl { let this = (*this).get_impl(); match ILearningModelDeviceFactoryNative_Impl::CreateFromD3D12CommandQueue(this, windows_core::from_raw_borrowed(&value)) { Ok(ok__) => { - core::ptr::write(result, core::mem::transmute(ok__)); + result.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -41,7 +41,7 @@ impl ILearningModelOperatorProviderNative_Vtbl { let this = (*this).get_impl(); match ILearningModelOperatorProviderNative_Impl::GetRegistry(this) { Ok(ok__) => { - core::ptr::write(ppoperatorregistry, core::mem::transmute(ok__)); + ppoperatorregistry.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -110,7 +110,7 @@ impl ITensorNative_Vtbl { let this = (*this).get_impl(); match ITensorNative_Impl::GetD3D12Resource(this) { Ok(ok__) => { - core::ptr::write(result, core::mem::transmute(ok__)); + result.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/Win32/System/WinRT/Metadata/impl.rs b/crates/libs/windows/src/Windows/Win32/System/WinRT/Metadata/impl.rs index bef0d95cba..e17b81f9e3 100644 --- a/crates/libs/windows/src/Windows/Win32/System/WinRT/Metadata/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/WinRT/Metadata/impl.rs @@ -43,7 +43,7 @@ impl ICeeGen_Vtbl { let this = (*this).get_impl(); match ICeeGen_Impl::GetIMapTokenIface(this) { Ok(ok__) => { - core::ptr::write(pimaptoken, core::mem::transmute(ok__)); + pimaptoken.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -363,7 +363,7 @@ impl IMetaDataDispenser_Vtbl { let this = (*this).get_impl(); match IMetaDataDispenser_Impl::DefineScope(this, core::mem::transmute_copy(&rclsid), core::mem::transmute_copy(&dwcreateflags), core::mem::transmute_copy(&riid)) { Ok(ok__) => { - core::ptr::write(ppiunk, core::mem::transmute(ok__)); + ppiunk.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -374,7 +374,7 @@ impl IMetaDataDispenser_Vtbl { let this = (*this).get_impl(); match IMetaDataDispenser_Impl::OpenScope(this, core::mem::transmute(&szscope), core::mem::transmute_copy(&dwopenflags), core::mem::transmute_copy(&riid)) { Ok(ok__) => { - core::ptr::write(ppiunk, core::mem::transmute(ok__)); + ppiunk.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -385,7 +385,7 @@ impl IMetaDataDispenser_Vtbl { let this = (*this).get_impl(); match IMetaDataDispenser_Impl::OpenScopeOnMemory(this, core::mem::transmute_copy(&pdata), core::mem::transmute_copy(&cbdata), core::mem::transmute_copy(&dwopenflags), core::mem::transmute_copy(&riid)) { Ok(ok__) => { - core::ptr::write(ppiunk, core::mem::transmute(ok__)); + ppiunk.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -431,7 +431,7 @@ impl IMetaDataDispenserEx_Vtbl { let this = (*this).get_impl(); match IMetaDataDispenserEx_Impl::OpenScopeOnITypeInfo(this, windows_core::from_raw_borrowed(&piti), core::mem::transmute_copy(&dwopenflags), core::mem::transmute_copy(&riid)) { Ok(ok__) => { - core::ptr::write(ppiunk, core::mem::transmute(ok__)); + ppiunk.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/Win32/System/WinRT/Printing/impl.rs b/crates/libs/windows/src/Windows/Win32/System/WinRT/Printing/impl.rs index 9573502080..487e150253 100644 --- a/crates/libs/windows/src/Windows/Win32/System/WinRT/Printing/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/WinRT/Printing/impl.rs @@ -41,7 +41,7 @@ impl IPrintWorkflowConfigurationNative_Vtbl { let this = (*this).get_impl(); match IPrintWorkflowConfigurationNative_Impl::PrinterQueue(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -52,7 +52,7 @@ impl IPrintWorkflowConfigurationNative_Vtbl { let this = (*this).get_impl(); match IPrintWorkflowConfigurationNative_Impl::DriverProperties(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -63,7 +63,7 @@ impl IPrintWorkflowConfigurationNative_Vtbl { let this = (*this).get_impl(); match IPrintWorkflowConfigurationNative_Impl::UserProperties(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -100,7 +100,7 @@ impl IPrintWorkflowObjectModelSourceFileContentNative_Vtbl { let this = (*this).get_impl(); match IPrintWorkflowObjectModelSourceFileContentNative_Impl::ObjectFactory(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -130,7 +130,7 @@ impl IPrintWorkflowXpsObjectModelTargetPackageNative_Vtbl { let this = (*this).get_impl(); match IPrintWorkflowXpsObjectModelTargetPackageNative_Impl::DocumentPackageTarget(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/Win32/System/WinRT/Storage/impl.rs b/crates/libs/windows/src/Windows/Win32/System/WinRT/Storage/impl.rs index cc8ace2ea4..5030c40182 100644 --- a/crates/libs/windows/src/Windows/Win32/System/WinRT/Storage/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/WinRT/Storage/impl.rs @@ -26,7 +26,7 @@ impl IRandomAccessStreamFileAccessMode_Vtbl { let this = (*this).get_impl(); match IRandomAccessStreamFileAccessMode_Impl::GetMode(this) { Ok(ok__) => { - core::ptr::write(fileaccessmode, core::mem::transmute(ok__)); + fileaccessmode.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -49,7 +49,7 @@ impl IStorageFolderHandleAccess_Vtbl { let this = (*this).get_impl(); match IStorageFolderHandleAccess_Impl::Create(this, core::mem::transmute(&filename), core::mem::transmute_copy(&creationoptions), core::mem::transmute_copy(&accessoptions), core::mem::transmute_copy(&sharingoptions), core::mem::transmute_copy(&options), windows_core::from_raw_borrowed(&oplockbreakinghandler)) { Ok(ok__) => { - core::ptr::write(interophandle, core::mem::transmute(ok__)); + interophandle.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -72,7 +72,7 @@ impl IStorageItemHandleAccess_Vtbl { let this = (*this).get_impl(); match IStorageItemHandleAccess_Impl::Create(this, core::mem::transmute_copy(&accessoptions), core::mem::transmute_copy(&sharingoptions), core::mem::transmute_copy(&options), windows_core::from_raw_borrowed(&oplockbreakinghandler)) { Ok(ok__) => { - core::ptr::write(interophandle, core::mem::transmute(ok__)); + interophandle.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -113,7 +113,7 @@ impl IUnbufferedFileHandleProvider_Vtbl { let this = (*this).get_impl(); match IUnbufferedFileHandleProvider_Impl::OpenUnbufferedFileHandle(this, windows_core::from_raw_borrowed(&oplockbreakcallback)) { Ok(ok__) => { - core::ptr::write(filehandle, core::mem::transmute(ok__)); + filehandle.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/Win32/System/WinRT/impl.rs b/crates/libs/windows/src/Windows/Win32/System/WinRT/impl.rs index a05ef5375e..bec9d6a9fa 100644 --- a/crates/libs/windows/src/Windows/Win32/System/WinRT/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/WinRT/impl.rs @@ -43,7 +43,7 @@ impl IActivationFactory_Vtbl { let this = (*this).get_impl(); match IActivationFactory_Impl::ActivateInstance(this) { Ok(ok__) => { - core::ptr::write(instance, core::mem::transmute(ok__)); + instance.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -123,7 +123,7 @@ impl IBufferByteAccess_Vtbl { let this = (*this).get_impl(); match IBufferByteAccess_Impl::Buffer(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -165,7 +165,7 @@ impl ICastingController_Vtbl { let this = (*this).get_impl(); match ICastingController_Impl::Advise(this, windows_core::from_raw_borrowed(&eventhandler)) { Ok(ok__) => { - core::ptr::write(cookie, core::mem::transmute(ok__)); + cookie.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -231,7 +231,7 @@ impl ICastingSourceInfo_Vtbl { let this = (*this).get_impl(); match ICastingSourceInfo_Impl::GetController(this) { Ok(ok__) => { - core::ptr::write(controller, core::mem::transmute(ok__)); + controller.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -242,7 +242,7 @@ impl ICastingSourceInfo_Vtbl { let this = (*this).get_impl(); match ICastingSourceInfo_Impl::GetProperties(this) { Ok(ok__) => { - core::ptr::write(props, core::mem::transmute(ok__)); + props.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -297,7 +297,7 @@ impl ICoreInputInterop2_Vtbl { let this = (*this).get_impl(); match ICoreInputInterop2_Impl::WindowHandle(this) { Ok(ok__) => { - core::ptr::write(window, core::mem::transmute(ok__)); + window.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -336,7 +336,7 @@ impl ICoreWindowAdapterInterop_Vtbl { let this = (*this).get_impl(); match ICoreWindowAdapterInterop_Impl::AppActivationClientAdapter(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -347,7 +347,7 @@ impl ICoreWindowAdapterInterop_Vtbl { let this = (*this).get_impl(); match ICoreWindowAdapterInterop_Impl::ApplicationViewClientAdapter(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -358,7 +358,7 @@ impl ICoreWindowAdapterInterop_Vtbl { let this = (*this).get_impl(); match ICoreWindowAdapterInterop_Impl::CoreApplicationViewClientAdapter(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -369,7 +369,7 @@ impl ICoreWindowAdapterInterop_Vtbl { let this = (*this).get_impl(); match ICoreWindowAdapterInterop_Impl::HoloViewClientAdapter(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -380,7 +380,7 @@ impl ICoreWindowAdapterInterop_Vtbl { let this = (*this).get_impl(); match ICoreWindowAdapterInterop_Impl::PositionerClientAdapter(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -391,7 +391,7 @@ impl ICoreWindowAdapterInterop_Vtbl { let this = (*this).get_impl(); match ICoreWindowAdapterInterop_Impl::SystemNavigationClientAdapter(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -402,7 +402,7 @@ impl ICoreWindowAdapterInterop_Vtbl { let this = (*this).get_impl(); match ICoreWindowAdapterInterop_Impl::TitleBarClientAdapter(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -446,7 +446,7 @@ impl ICoreWindowComponentInterop_Vtbl { let this = (*this).get_impl(); match ICoreWindowComponentInterop_Impl::GetViewInstanceId(this) { Ok(ok__) => { - core::ptr::write(componentviewinstanceid, core::mem::transmute(ok__)); + componentviewinstanceid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -474,7 +474,7 @@ impl ICoreWindowInterop_Vtbl { let this = (*this).get_impl(); match ICoreWindowInterop_Impl::WindowHandle(this) { Ok(ok__) => { - core::ptr::write(hwnd, core::mem::transmute(ok__)); + hwnd.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -508,7 +508,7 @@ impl ICorrelationVectorInformation_Vtbl { let this = (*this).get_impl(); match ICorrelationVectorInformation_Impl::LastCorrelationVectorForThread(this) { Ok(ok__) => { - core::ptr::write(cv, core::mem::transmute(ok__)); + cv.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -519,7 +519,7 @@ impl ICorrelationVectorInformation_Vtbl { let this = (*this).get_impl(); match ICorrelationVectorInformation_Impl::NextCorrelationVectorForThread(this) { Ok(ok__) => { - core::ptr::write(cv, core::mem::transmute(ok__)); + cv.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -552,7 +552,7 @@ impl ICorrelationVectorSource_Vtbl { let this = (*this).get_impl(); match ICorrelationVectorSource_Impl::CorrelationVector(this) { Ok(ok__) => { - core::ptr::write(cv, core::mem::transmute(ok__)); + cv.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -632,7 +632,7 @@ impl ILanguageExceptionErrorInfo_Vtbl { let this = (*this).get_impl(); match ILanguageExceptionErrorInfo_Impl::GetLanguageException(this) { Ok(ok__) => { - core::ptr::write(languageexception, core::mem::transmute(ok__)); + languageexception.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -657,7 +657,7 @@ impl ILanguageExceptionErrorInfo2_Vtbl { let this = (*this).get_impl(); match ILanguageExceptionErrorInfo2_Impl::GetPreviousLanguageExceptionErrorInfo(this) { Ok(ok__) => { - core::ptr::write(previouslanguageexceptionerrorinfo, core::mem::transmute(ok__)); + previouslanguageexceptionerrorinfo.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -673,7 +673,7 @@ impl ILanguageExceptionErrorInfo2_Vtbl { let this = (*this).get_impl(); match ILanguageExceptionErrorInfo2_Impl::GetPropagationContextHead(this) { Ok(ok__) => { - core::ptr::write(propagatedlanguageexceptionerrorinfohead, core::mem::transmute(ok__)); + propagatedlanguageexceptionerrorinfohead.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -718,7 +718,7 @@ impl ILanguageExceptionTransform_Vtbl { let this = (*this).get_impl(); match ILanguageExceptionTransform_Impl::GetTransformedRestrictedErrorInfo(this) { Ok(ok__) => { - core::ptr::write(restrictederrorinfo, core::mem::transmute(ok__)); + restrictederrorinfo.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -811,7 +811,7 @@ impl IRestrictedErrorInfo_Vtbl { let this = (*this).get_impl(); match IRestrictedErrorInfo_Impl::GetReference(this) { Ok(ok__) => { - core::ptr::write(reference, core::mem::transmute(ok__)); + reference.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -838,7 +838,7 @@ impl IShareWindowCommandEventArgsInterop_Vtbl { let this = (*this).get_impl(); match IShareWindowCommandEventArgsInterop_Impl::GetWindow(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1032,7 +1032,7 @@ impl IWeakReferenceSource_Vtbl { let this = (*this).get_impl(); match IWeakReferenceSource_Impl::GetWeakReference(this) { Ok(ok__) => { - core::ptr::write(weakreference, core::mem::transmute(ok__)); + weakreference.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/Win32/System/WindowsProgramming/impl.rs b/crates/libs/windows/src/Windows/Win32/System/WindowsProgramming/impl.rs index 83354eadbf..8a7293fb95 100644 --- a/crates/libs/windows/src/Windows/Win32/System/WindowsProgramming/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/WindowsProgramming/impl.rs @@ -29,7 +29,7 @@ impl ICameraUIControl_Vtbl { let this = (*this).get_impl(); match ICameraUIControl_Impl::Suspend(this) { Ok(ok__) => { - core::ptr::write(pbdeferralrequired, core::mem::transmute(ok__)); + pbdeferralrequired.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -45,7 +45,7 @@ impl ICameraUIControl_Vtbl { let this = (*this).get_impl(); match ICameraUIControl_Impl::GetCurrentViewType(this) { Ok(ok__) => { - core::ptr::write(pviewtype, core::mem::transmute(ok__)); + pviewtype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -61,7 +61,7 @@ impl ICameraUIControl_Vtbl { let this = (*this).get_impl(); match ICameraUIControl_Impl::GetSelectedItems(this) { Ok(ok__) => { - core::ptr::write(ppselecteditempaths, core::mem::transmute(ok__)); + ppselecteditempaths.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -164,7 +164,7 @@ impl IContainerActivationHelper_Vtbl { let this = (*this).get_impl(); match IContainerActivationHelper_Impl::CanActivateClientVM(this) { Ok(ok__) => { - core::ptr::write(isallowed, core::mem::transmute(ok__)); + isallowed.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -269,7 +269,7 @@ impl IEditionUpgradeHelper_Vtbl { let this = (*this).get_impl(); match IEditionUpgradeHelper_Impl::CanUpgrade(this) { Ok(ok__) => { - core::ptr::write(isallowed, core::mem::transmute(ok__)); + isallowed.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -290,7 +290,7 @@ impl IEditionUpgradeHelper_Vtbl { let this = (*this).get_impl(); match IEditionUpgradeHelper_Impl::GetOsProductContentId(this) { Ok(ok__) => { - core::ptr::write(contentid, core::mem::transmute(ok__)); + contentid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -301,7 +301,7 @@ impl IEditionUpgradeHelper_Vtbl { let this = (*this).get_impl(); match IEditionUpgradeHelper_Impl::GetGenuineLocalStatus(this) { Ok(ok__) => { - core::ptr::write(isgenuine, core::mem::transmute(ok__)); + isgenuine.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -348,7 +348,7 @@ impl IWindowsLockModeHelper_Vtbl { let this = (*this).get_impl(); match IWindowsLockModeHelper_Impl::GetSMode(this) { Ok(ok__) => { - core::ptr::write(issmode, core::mem::transmute(ok__)); + issmode.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/Win32/System/WindowsSync/impl.rs b/crates/libs/windows/src/Windows/Win32/System/WindowsSync/impl.rs index b5c82c4980..4ada1508e5 100644 --- a/crates/libs/windows/src/Windows/Win32/System/WindowsSync/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/WindowsSync/impl.rs @@ -57,7 +57,7 @@ impl IChangeConflict_Vtbl { let this = (*this).get_impl(); match IChangeConflict_Impl::GetDestinationProviderConflictingChange(this) { Ok(ok__) => { - core::ptr::write(ppconflictingchange, core::mem::transmute(ok__)); + ppconflictingchange.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -68,7 +68,7 @@ impl IChangeConflict_Vtbl { let this = (*this).get_impl(); match IChangeConflict_Impl::GetSourceProviderConflictingChange(this) { Ok(ok__) => { - core::ptr::write(ppconflictingchange, core::mem::transmute(ok__)); + ppconflictingchange.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -79,7 +79,7 @@ impl IChangeConflict_Vtbl { let this = (*this).get_impl(); match IChangeConflict_Impl::GetDestinationProviderConflictingData(this) { Ok(ok__) => { - core::ptr::write(ppconflictingdata, core::mem::transmute(ok__)); + ppconflictingdata.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -90,7 +90,7 @@ impl IChangeConflict_Vtbl { let this = (*this).get_impl(); match IChangeConflict_Impl::GetSourceProviderConflictingData(this) { Ok(ok__) => { - core::ptr::write(ppconflictingdata, core::mem::transmute(ok__)); + ppconflictingdata.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -272,7 +272,7 @@ impl ICombinedFilterInfo_Vtbl { let this = (*this).get_impl(); match ICombinedFilterInfo_Impl::GetFilterInfo(this, core::mem::transmute_copy(&dwfilterindex)) { Ok(ok__) => { - core::ptr::write(ppifilterinfo, core::mem::transmute(ok__)); + ppifilterinfo.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -316,7 +316,7 @@ impl IConstraintConflict_Vtbl { let this = (*this).get_impl(); match IConstraintConflict_Impl::GetDestinationProviderConflictingChange(this) { Ok(ok__) => { - core::ptr::write(ppconflictingchange, core::mem::transmute(ok__)); + ppconflictingchange.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -327,7 +327,7 @@ impl IConstraintConflict_Vtbl { let this = (*this).get_impl(); match IConstraintConflict_Impl::GetSourceProviderConflictingChange(this) { Ok(ok__) => { - core::ptr::write(ppconflictingchange, core::mem::transmute(ok__)); + ppconflictingchange.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -338,7 +338,7 @@ impl IConstraintConflict_Vtbl { let this = (*this).get_impl(); match IConstraintConflict_Impl::GetDestinationProviderOriginalChange(this) { Ok(ok__) => { - core::ptr::write(pporiginalchange, core::mem::transmute(ok__)); + pporiginalchange.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -349,7 +349,7 @@ impl IConstraintConflict_Vtbl { let this = (*this).get_impl(); match IConstraintConflict_Impl::GetDestinationProviderConflictingData(this) { Ok(ok__) => { - core::ptr::write(ppconflictingdata, core::mem::transmute(ok__)); + ppconflictingdata.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -360,7 +360,7 @@ impl IConstraintConflict_Vtbl { let this = (*this).get_impl(); match IConstraintConflict_Impl::GetSourceProviderConflictingData(this) { Ok(ok__) => { - core::ptr::write(ppconflictingdata, core::mem::transmute(ok__)); + ppconflictingdata.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -371,7 +371,7 @@ impl IConstraintConflict_Vtbl { let this = (*this).get_impl(); match IConstraintConflict_Impl::GetDestinationProviderOriginalData(this) { Ok(ok__) => { - core::ptr::write(pporiginaldata, core::mem::transmute(ok__)); + pporiginaldata.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -530,7 +530,7 @@ impl ICustomFilterInfo_Vtbl { let this = (*this).get_impl(); match ICustomFilterInfo_Impl::GetSyncFilter(this) { Ok(ok__) => { - core::ptr::write(pisyncfilter, core::mem::transmute(ok__)); + pisyncfilter.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -598,7 +598,7 @@ impl IEnumChangeUnitExceptions_Vtbl { let this = (*this).get_impl(); match IEnumChangeUnitExceptions_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -645,7 +645,7 @@ impl IEnumClockVector_Vtbl { let this = (*this).get_impl(); match IEnumClockVector_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppienum, core::mem::transmute(ok__)); + ppienum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -692,7 +692,7 @@ impl IEnumFeedClockVector_Vtbl { let this = (*this).get_impl(); match IEnumFeedClockVector_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppienum, core::mem::transmute(ok__)); + ppienum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -756,7 +756,7 @@ impl IEnumRangeExceptions_Vtbl { let this = (*this).get_impl(); match IEnumRangeExceptions_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -803,7 +803,7 @@ impl IEnumSingleItemExceptions_Vtbl { let this = (*this).get_impl(); match IEnumSingleItemExceptions_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -850,7 +850,7 @@ impl IEnumSyncChangeUnits_Vtbl { let this = (*this).get_impl(); match IEnumSyncChangeUnits_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -897,7 +897,7 @@ impl IEnumSyncChanges_Vtbl { let this = (*this).get_impl(); match IEnumSyncChanges_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -947,7 +947,7 @@ impl IEnumSyncProviderConfigUIInfos_Vtbl { let this = (*this).get_impl(); match IEnumSyncProviderConfigUIInfos_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -997,7 +997,7 @@ impl IEnumSyncProviderInfos_Vtbl { let this = (*this).get_impl(); match IEnumSyncProviderInfos_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1093,7 +1093,7 @@ impl IFilterKeyMap_Vtbl { let this = (*this).get_impl(); match IFilterKeyMap_Impl::GetFilter(this, core::mem::transmute_copy(&dwfilterkey)) { Ok(ok__) => { - core::ptr::write(ppisyncfilter, core::mem::transmute(ok__)); + ppisyncfilter.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1296,7 +1296,7 @@ impl ILoadChangeContext_Vtbl { let this = (*this).get_impl(); match ILoadChangeContext_Impl::GetSyncChange(this) { Ok(ok__) => { - core::ptr::write(ppsyncchange, core::mem::transmute(ok__)); + ppsyncchange.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1399,7 +1399,7 @@ impl IRecoverableError_Vtbl { let this = (*this).get_impl(); match IRecoverableError_Impl::GetChangeWithRecoverableError(this) { Ok(ok__) => { - core::ptr::write(ppchangewithrecoverableerror, core::mem::transmute(ok__)); + ppchangewithrecoverableerror.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1483,7 +1483,7 @@ impl IRegisteredSyncProvider_Vtbl { let this = (*this).get_impl(); match IRegisteredSyncProvider_Impl::GetInstanceId(this) { Ok(ok__) => { - core::ptr::write(pguidinstanceid, core::mem::transmute(ok__)); + pguidinstanceid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1752,7 +1752,7 @@ impl ISyncChange_Vtbl { let this = (*this).get_impl(); match ISyncChange_Impl::GetChangeUnits(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1763,7 +1763,7 @@ impl ISyncChange_Vtbl { let this = (*this).get_impl(); match ISyncChange_Impl::GetMadeWithKnowledge(this) { Ok(ok__) => { - core::ptr::write(ppmadewithknowledge, core::mem::transmute(ok__)); + ppmadewithknowledge.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1774,7 +1774,7 @@ impl ISyncChange_Vtbl { let this = (*this).get_impl(); match ISyncChange_Impl::GetLearnedKnowledge(this) { Ok(ok__) => { - core::ptr::write(pplearnedknowledge, core::mem::transmute(ok__)); + pplearnedknowledge.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1826,7 +1826,7 @@ impl ISyncChangeBatch_Vtbl { let this = (*this).get_impl(); match ISyncChangeBatch_Impl::AddLoggedConflict(this, core::mem::transmute_copy(&pbownerreplicaid), core::mem::transmute_copy(&pbitemid), core::mem::transmute_copy(&pchangeversion), core::mem::transmute_copy(&pcreationversion), core::mem::transmute_copy(&dwflags), core::mem::transmute_copy(&dwworkforchange), windows_core::from_raw_borrowed(&pconflictknowledge)) { Ok(ok__) => { - core::ptr::write(ppchangebuilder, core::mem::transmute(ok__)); + ppchangebuilder.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1855,7 +1855,7 @@ impl ISyncChangeBatch2_Vtbl { let this = (*this).get_impl(); match ISyncChangeBatch2_Impl::AddMergeTombstoneMetadataToGroup(this, core::mem::transmute_copy(&pbownerreplicaid), core::mem::transmute_copy(&pbwinneritemid), core::mem::transmute_copy(&pbitemid), core::mem::transmute_copy(&pchangeversion), core::mem::transmute_copy(&pcreationversion), core::mem::transmute_copy(&dwworkforchange)) { Ok(ok__) => { - core::ptr::write(ppchangebuilder, core::mem::transmute(ok__)); + ppchangebuilder.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1866,7 +1866,7 @@ impl ISyncChangeBatch2_Vtbl { let this = (*this).get_impl(); match ISyncChangeBatch2_Impl::AddMergeTombstoneLoggedConflict(this, core::mem::transmute_copy(&pbownerreplicaid), core::mem::transmute_copy(&pbwinneritemid), core::mem::transmute_copy(&pbitemid), core::mem::transmute_copy(&pchangeversion), core::mem::transmute_copy(&pcreationversion), core::mem::transmute_copy(&dwworkforchange), windows_core::from_raw_borrowed(&pconflictknowledge)) { Ok(ok__) => { - core::ptr::write(ppchangebuilder, core::mem::transmute(ok__)); + ppchangebuilder.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1896,7 +1896,7 @@ impl ISyncChangeBatchAdvanced_Vtbl { let this = (*this).get_impl(); match ISyncChangeBatchAdvanced_Impl::GetFilterInfo(this) { Ok(ok__) => { - core::ptr::write(ppfilterinfo, core::mem::transmute(ok__)); + ppfilterinfo.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1907,7 +1907,7 @@ impl ISyncChangeBatchAdvanced_Vtbl { let this = (*this).get_impl(); match ISyncChangeBatchAdvanced_Impl::ConvertFullEnumerationChangeBatchToRegularChangeBatch(this) { Ok(ok__) => { - core::ptr::write(ppchangebatch, core::mem::transmute(ok__)); + ppchangebatch.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1959,7 +1959,7 @@ impl ISyncChangeBatchBase_Vtbl { let this = (*this).get_impl(); match ISyncChangeBatchBase_Impl::GetChangeEnumerator(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1995,7 +1995,7 @@ impl ISyncChangeBatchBase_Vtbl { let this = (*this).get_impl(); match ISyncChangeBatchBase_Impl::AddItemMetadataToGroup(this, core::mem::transmute_copy(&pbownerreplicaid), core::mem::transmute_copy(&pbitemid), core::mem::transmute_copy(&pchangeversion), core::mem::transmute_copy(&pcreationversion), core::mem::transmute_copy(&dwflags), core::mem::transmute_copy(&dwworkforchange)) { Ok(ok__) => { - core::ptr::write(ppchangebuilder, core::mem::transmute(ok__)); + ppchangebuilder.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2006,7 +2006,7 @@ impl ISyncChangeBatchBase_Vtbl { let this = (*this).get_impl(); match ISyncChangeBatchBase_Impl::GetLearnedKnowledge(this) { Ok(ok__) => { - core::ptr::write(pplearnedknowledge, core::mem::transmute(ok__)); + pplearnedknowledge.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2017,7 +2017,7 @@ impl ISyncChangeBatchBase_Vtbl { let this = (*this).get_impl(); match ISyncChangeBatchBase_Impl::GetPrerequisiteKnowledge(this) { Ok(ok__) => { - core::ptr::write(ppprerequisteknowledge, core::mem::transmute(ok__)); + ppprerequisteknowledge.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2028,7 +2028,7 @@ impl ISyncChangeBatchBase_Vtbl { let this = (*this).get_impl(); match ISyncChangeBatchBase_Impl::GetSourceForgottenKnowledge(this) { Ok(ok__) => { - core::ptr::write(ppsourceforgottenknowledge, core::mem::transmute(ok__)); + ppsourceforgottenknowledge.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2111,7 +2111,7 @@ impl ISyncChangeBatchWithFilterKeyMap_Vtbl { let this = (*this).get_impl(); match ISyncChangeBatchWithFilterKeyMap_Impl::GetFilterKeyMap(this) { Ok(ok__) => { - core::ptr::write(ppifilterkeymap, core::mem::transmute(ok__)); + ppifilterkeymap.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2132,7 +2132,7 @@ impl ISyncChangeBatchWithFilterKeyMap_Vtbl { let this = (*this).get_impl(); match ISyncChangeBatchWithFilterKeyMap_Impl::GetFilteredReplicaLearnedKnowledge(this, windows_core::from_raw_borrowed(&pdestinationknowledge), windows_core::from_raw_borrowed(&pnewmoveins)) { Ok(ok__) => { - core::ptr::write(pplearnedforgottenknowledge, core::mem::transmute(ok__)); + pplearnedforgottenknowledge.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2143,7 +2143,7 @@ impl ISyncChangeBatchWithFilterKeyMap_Vtbl { let this = (*this).get_impl(); match ISyncChangeBatchWithFilterKeyMap_Impl::GetLearnedFilterForgottenKnowledge(this, windows_core::from_raw_borrowed(&pdestinationknowledge), windows_core::from_raw_borrowed(&pnewmoveins), core::mem::transmute_copy(&dwfilterkey)) { Ok(ok__) => { - core::ptr::write(pplearnedfilterforgottenknowledge, core::mem::transmute(ok__)); + pplearnedfilterforgottenknowledge.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2154,7 +2154,7 @@ impl ISyncChangeBatchWithFilterKeyMap_Vtbl { let this = (*this).get_impl(); match ISyncChangeBatchWithFilterKeyMap_Impl::GetFilteredReplicaLearnedForgottenKnowledge(this, windows_core::from_raw_borrowed(&pdestinationknowledge), windows_core::from_raw_borrowed(&pnewmoveins)) { Ok(ok__) => { - core::ptr::write(pplearnedforgottenknowledge, core::mem::transmute(ok__)); + pplearnedforgottenknowledge.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2165,7 +2165,7 @@ impl ISyncChangeBatchWithFilterKeyMap_Vtbl { let this = (*this).get_impl(); match ISyncChangeBatchWithFilterKeyMap_Impl::GetFilteredReplicaLearnedForgottenKnowledgeAfterRecoveryComplete(this, windows_core::from_raw_borrowed(&pdestinationknowledge), windows_core::from_raw_borrowed(&pnewmoveins)) { Ok(ok__) => { - core::ptr::write(pplearnedforgottenknowledge, core::mem::transmute(ok__)); + pplearnedforgottenknowledge.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2176,7 +2176,7 @@ impl ISyncChangeBatchWithFilterKeyMap_Vtbl { let this = (*this).get_impl(); match ISyncChangeBatchWithFilterKeyMap_Impl::GetLearnedFilterForgottenKnowledgeAfterRecoveryComplete(this, windows_core::from_raw_borrowed(&pdestinationknowledge), windows_core::from_raw_borrowed(&pnewmoveins), core::mem::transmute_copy(&dwfilterkey)) { Ok(ok__) => { - core::ptr::write(pplearnedfilterforgottenknowledge, core::mem::transmute(ok__)); + pplearnedfilterforgottenknowledge.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2216,7 +2216,7 @@ impl ISyncChangeBatchWithPrerequisite_Vtbl { let this = (*this).get_impl(); match ISyncChangeBatchWithPrerequisite_Impl::GetLearnedKnowledgeWithPrerequisite(this, windows_core::from_raw_borrowed(&pdestinationknowledge)) { Ok(ok__) => { - core::ptr::write(pplearnedwithprerequisiteknowledge, core::mem::transmute(ok__)); + pplearnedwithprerequisiteknowledge.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2227,7 +2227,7 @@ impl ISyncChangeBatchWithPrerequisite_Vtbl { let this = (*this).get_impl(); match ISyncChangeBatchWithPrerequisite_Impl::GetLearnedForgottenKnowledge(this) { Ok(ok__) => { - core::ptr::write(pplearnedforgottenknowledge, core::mem::transmute(ok__)); + pplearnedforgottenknowledge.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2274,7 +2274,7 @@ impl ISyncChangeUnit_Vtbl { let this = (*this).get_impl(); match ISyncChangeUnit_Impl::GetItemChange(this) { Ok(ok__) => { - core::ptr::write(ppsyncchange, core::mem::transmute(ok__)); + ppsyncchange.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2335,7 +2335,7 @@ impl ISyncChangeWithFilterKeyMap_Vtbl { let this = (*this).get_impl(); match ISyncChangeWithFilterKeyMap_Impl::GetFilterForgottenKnowledge(this, core::mem::transmute_copy(&dwfilterkey)) { Ok(ok__) => { - core::ptr::write(ppifilterforgottenknowledge, core::mem::transmute(ok__)); + ppifilterforgottenknowledge.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2346,7 +2346,7 @@ impl ISyncChangeWithFilterKeyMap_Vtbl { let this = (*this).get_impl(); match ISyncChangeWithFilterKeyMap_Impl::GetFilteredReplicaLearnedKnowledge(this, windows_core::from_raw_borrowed(&pdestinationknowledge), windows_core::from_raw_borrowed(&pnewmoveins)) { Ok(ok__) => { - core::ptr::write(pplearnedknowledge, core::mem::transmute(ok__)); + pplearnedknowledge.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2357,7 +2357,7 @@ impl ISyncChangeWithFilterKeyMap_Vtbl { let this = (*this).get_impl(); match ISyncChangeWithFilterKeyMap_Impl::GetLearnedFilterForgottenKnowledge(this, windows_core::from_raw_borrowed(&pdestinationknowledge), windows_core::from_raw_borrowed(&pnewmoveins), core::mem::transmute_copy(&dwfilterkey)) { Ok(ok__) => { - core::ptr::write(pplearnedfilterforgottenknowledge, core::mem::transmute(ok__)); + pplearnedfilterforgottenknowledge.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2368,7 +2368,7 @@ impl ISyncChangeWithFilterKeyMap_Vtbl { let this = (*this).get_impl(); match ISyncChangeWithFilterKeyMap_Impl::GetFilteredReplicaLearnedForgottenKnowledge(this, windows_core::from_raw_borrowed(&pdestinationknowledge), windows_core::from_raw_borrowed(&pnewmoveins)) { Ok(ok__) => { - core::ptr::write(pplearnedforgottenknowledge, core::mem::transmute(ok__)); + pplearnedforgottenknowledge.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2379,7 +2379,7 @@ impl ISyncChangeWithFilterKeyMap_Vtbl { let this = (*this).get_impl(); match ISyncChangeWithFilterKeyMap_Impl::GetFilteredReplicaLearnedForgottenKnowledgeAfterRecoveryComplete(this, windows_core::from_raw_borrowed(&pdestinationknowledge), windows_core::from_raw_borrowed(&pnewmoveins)) { Ok(ok__) => { - core::ptr::write(pplearnedforgottenknowledge, core::mem::transmute(ok__)); + pplearnedforgottenknowledge.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2390,7 +2390,7 @@ impl ISyncChangeWithFilterKeyMap_Vtbl { let this = (*this).get_impl(); match ISyncChangeWithFilterKeyMap_Impl::GetLearnedFilterForgottenKnowledgeAfterRecoveryComplete(this, windows_core::from_raw_borrowed(&pdestinationknowledge), windows_core::from_raw_borrowed(&pnewmoveins), core::mem::transmute_copy(&dwfilterkey)) { Ok(ok__) => { - core::ptr::write(pplearnedfilterforgottenknowledge, core::mem::transmute(ok__)); + pplearnedfilterforgottenknowledge.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2425,7 +2425,7 @@ impl ISyncChangeWithPrerequisite_Vtbl { let this = (*this).get_impl(); match ISyncChangeWithPrerequisite_Impl::GetPrerequisiteKnowledge(this) { Ok(ok__) => { - core::ptr::write(ppprerequisiteknowledge, core::mem::transmute(ok__)); + ppprerequisiteknowledge.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2436,7 +2436,7 @@ impl ISyncChangeWithPrerequisite_Vtbl { let this = (*this).get_impl(); match ISyncChangeWithPrerequisite_Impl::GetLearnedKnowledgeWithPrerequisite(this, windows_core::from_raw_borrowed(&pdestinationknowledge)) { Ok(ok__) => { - core::ptr::write(pplearnedknowledgewithprerequisite, core::mem::transmute(ok__)); + pplearnedknowledgewithprerequisite.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2483,7 +2483,7 @@ impl ISyncDataConverter_Vtbl { let this = (*this).get_impl(); match ISyncDataConverter_Impl::ConvertDataRetrieverFromProviderFormat(this, windows_core::from_raw_borrowed(&punkdataretrieverin), windows_core::from_raw_borrowed(&penumsyncchanges)) { Ok(ok__) => { - core::ptr::write(ppunkdataout, core::mem::transmute(ok__)); + ppunkdataout.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2494,7 +2494,7 @@ impl ISyncDataConverter_Vtbl { let this = (*this).get_impl(); match ISyncDataConverter_Impl::ConvertDataRetrieverToProviderFormat(this, windows_core::from_raw_borrowed(&punkdataretrieverin), windows_core::from_raw_borrowed(&penumsyncchanges)) { Ok(ok__) => { - core::ptr::write(ppunkdataout, core::mem::transmute(ok__)); + ppunkdataout.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2505,7 +2505,7 @@ impl ISyncDataConverter_Vtbl { let this = (*this).get_impl(); match ISyncDataConverter_Impl::ConvertDataFromProviderFormat(this, windows_core::from_raw_borrowed(&pdatacontext), windows_core::from_raw_borrowed(&punkdatain)) { Ok(ok__) => { - core::ptr::write(ppunkdataout, core::mem::transmute(ok__)); + ppunkdataout.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2516,7 +2516,7 @@ impl ISyncDataConverter_Vtbl { let this = (*this).get_impl(); match ISyncDataConverter_Impl::ConvertDataToProviderFormat(this, windows_core::from_raw_borrowed(&pdatacontext), windows_core::from_raw_borrowed(&punkdataout)) { Ok(ok__) => { - core::ptr::write(ppunkdataout, core::mem::transmute(ok__)); + ppunkdataout.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2572,7 +2572,7 @@ impl ISyncFilterDeserializer_Vtbl { let this = (*this).get_impl(); match ISyncFilterDeserializer_Impl::DeserializeSyncFilter(this, core::mem::transmute_copy(&pbsyncfilter), core::mem::transmute_copy(&dwcbsyncfilter)) { Ok(ok__) => { - core::ptr::write(ppisyncfilter, core::mem::transmute(ok__)); + ppisyncfilter.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2630,7 +2630,7 @@ impl ISyncFullEnumerationChange_Vtbl { let this = (*this).get_impl(); match ISyncFullEnumerationChange_Impl::GetLearnedKnowledgeAfterRecoveryComplete(this) { Ok(ok__) => { - core::ptr::write(pplearnedknowledge, core::mem::transmute(ok__)); + pplearnedknowledge.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2641,7 +2641,7 @@ impl ISyncFullEnumerationChange_Vtbl { let this = (*this).get_impl(); match ISyncFullEnumerationChange_Impl::GetLearnedForgottenKnowledge(this) { Ok(ok__) => { - core::ptr::write(pplearnedforgottenknowledge, core::mem::transmute(ok__)); + pplearnedforgottenknowledge.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2670,7 +2670,7 @@ impl ISyncFullEnumerationChangeBatch_Vtbl { let this = (*this).get_impl(); match ISyncFullEnumerationChangeBatch_Impl::GetLearnedKnowledgeAfterRecoveryComplete(this) { Ok(ok__) => { - core::ptr::write(pplearnedknowledgeafterrecoverycomplete, core::mem::transmute(ok__)); + pplearnedknowledgeafterrecoverycomplete.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2708,7 +2708,7 @@ impl ISyncFullEnumerationChangeBatch2_Vtbl { let this = (*this).get_impl(); match ISyncFullEnumerationChangeBatch2_Impl::AddMergeTombstoneMetadataToGroup(this, core::mem::transmute_copy(&pbownerreplicaid), core::mem::transmute_copy(&pbwinneritemid), core::mem::transmute_copy(&pbitemid), core::mem::transmute_copy(&pchangeversion), core::mem::transmute_copy(&pcreationversion), core::mem::transmute_copy(&dwworkforchange)) { Ok(ok__) => { - core::ptr::write(ppchangebuilder, core::mem::transmute(ok__)); + ppchangebuilder.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2787,7 +2787,7 @@ impl ISyncKnowledge_Vtbl { let this = (*this).get_impl(); match ISyncKnowledge_Impl::GetReplicaKeyMap(this) { Ok(ok__) => { - core::ptr::write(ppreplicakeymap, core::mem::transmute(ok__)); + ppreplicakeymap.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2798,7 +2798,7 @@ impl ISyncKnowledge_Vtbl { let this = (*this).get_impl(); match ISyncKnowledge_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppclonedknowledge, core::mem::transmute(ok__)); + ppclonedknowledge.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2814,7 +2814,7 @@ impl ISyncKnowledge_Vtbl { let this = (*this).get_impl(); match ISyncKnowledge_Impl::MapRemoteToLocal(this, windows_core::from_raw_borrowed(&premoteknowledge)) { Ok(ok__) => { - core::ptr::write(ppmappedknowledge, core::mem::transmute(ok__)); + ppmappedknowledge.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2830,7 +2830,7 @@ impl ISyncKnowledge_Vtbl { let this = (*this).get_impl(); match ISyncKnowledge_Impl::ProjectOntoItem(this, core::mem::transmute_copy(&pbitemid)) { Ok(ok__) => { - core::ptr::write(ppknowledgeout, core::mem::transmute(ok__)); + ppknowledgeout.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2841,7 +2841,7 @@ impl ISyncKnowledge_Vtbl { let this = (*this).get_impl(); match ISyncKnowledge_Impl::ProjectOntoChangeUnit(this, core::mem::transmute_copy(&pbitemid), core::mem::transmute_copy(&pbchangeunitid)) { Ok(ok__) => { - core::ptr::write(ppknowledgeout, core::mem::transmute(ok__)); + ppknowledgeout.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2852,7 +2852,7 @@ impl ISyncKnowledge_Vtbl { let this = (*this).get_impl(); match ISyncKnowledge_Impl::ProjectOntoRange(this, core::mem::transmute_copy(&psrngsyncrange)) { Ok(ok__) => { - core::ptr::write(ppknowledgeout, core::mem::transmute(ok__)); + ppknowledgeout.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2969,7 +2969,7 @@ impl ISyncKnowledge2_Vtbl { let this = (*this).get_impl(); match ISyncKnowledge2_Impl::ProjectOntoColumnSet(this, core::mem::transmute_copy(&ppcolumns), core::mem::transmute_copy(&count)) { Ok(ok__) => { - core::ptr::write(ppiknowledgeout, core::mem::transmute(ok__)); + ppiknowledgeout.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3015,7 +3015,7 @@ impl ISyncKnowledge2_Vtbl { let this = (*this).get_impl(); match ISyncKnowledge2_Impl::ProjectOntoKnowledgeWithPrerequisite(this, windows_core::from_raw_borrowed(&pprerequisiteknowledge), windows_core::from_raw_borrowed(&ptemplateknowledge)) { Ok(ok__) => { - core::ptr::write(ppprojectedknowledge, core::mem::transmute(ok__)); + ppprojectedknowledge.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3026,7 +3026,7 @@ impl ISyncKnowledge2_Vtbl { let this = (*this).get_impl(); match ISyncKnowledge2_Impl::Complement(this, windows_core::from_raw_borrowed(&psyncknowledge)) { Ok(ok__) => { - core::ptr::write(ppcomplementedknowledge, core::mem::transmute(ok__)); + ppcomplementedknowledge.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3042,7 +3042,7 @@ impl ISyncKnowledge2_Vtbl { let this = (*this).get_impl(); match ISyncKnowledge2_Impl::GetKnowledgeCookie(this) { Ok(ok__) => { - core::ptr::write(ppknowledgecookie, core::mem::transmute(ok__)); + ppknowledgecookie.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3131,7 +3131,7 @@ impl ISyncProviderConfigUI_Vtbl { let this = (*this).get_impl(); match ISyncProviderConfigUI_Impl::GetRegisteredProperties(this) { Ok(ok__) => { - core::ptr::write(ppconfiguiproperties, core::mem::transmute(ok__)); + ppconfiguiproperties.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3142,7 +3142,7 @@ impl ISyncProviderConfigUI_Vtbl { let this = (*this).get_impl(); match ISyncProviderConfigUI_Impl::CreateAndRegisterNewSyncProvider(this, core::mem::transmute_copy(&hwndparent), windows_core::from_raw_borrowed(&punkcontext)) { Ok(ok__) => { - core::ptr::write(ppproviderinfo, core::mem::transmute(ok__)); + ppproviderinfo.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3179,7 +3179,7 @@ impl ISyncProviderConfigUIInfo_Vtbl { let this = (*this).get_impl(); match ISyncProviderConfigUIInfo_Impl::GetSyncProviderConfigUI(this, core::mem::transmute_copy(&dwclscontext)) { Ok(ok__) => { - core::ptr::write(ppsyncproviderconfigui, core::mem::transmute(ok__)); + ppsyncproviderconfigui.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3208,7 +3208,7 @@ impl ISyncProviderInfo_Vtbl { let this = (*this).get_impl(); match ISyncProviderInfo_Impl::GetSyncProvider(this, core::mem::transmute_copy(&dwclscontext)) { Ok(ok__) => { - core::ptr::write(ppsyncprovider, core::mem::transmute(ok__)); + ppsyncprovider.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3252,7 +3252,7 @@ impl ISyncProviderRegistration_Vtbl { let this = (*this).get_impl(); match ISyncProviderRegistration_Impl::CreateSyncProviderConfigUIRegistrationInstance(this, core::mem::transmute_copy(&pconfiguiconfig)) { Ok(ok__) => { - core::ptr::write(ppconfiguiinfo, core::mem::transmute(ok__)); + ppconfiguiinfo.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3268,7 +3268,7 @@ impl ISyncProviderRegistration_Vtbl { let this = (*this).get_impl(); match ISyncProviderRegistration_Impl::EnumerateSyncProviderConfigUIs(this, core::mem::transmute_copy(&pguidcontenttype), core::mem::transmute_copy(&dwsupportedarchitecture)) { Ok(ok__) => { - core::ptr::write(ppenumsyncproviderconfiguiinfos, core::mem::transmute(ok__)); + ppenumsyncproviderconfiguiinfos.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3279,7 +3279,7 @@ impl ISyncProviderRegistration_Vtbl { let this = (*this).get_impl(); match ISyncProviderRegistration_Impl::CreateSyncProviderRegistrationInstance(this, core::mem::transmute_copy(&pproviderconfiguration)) { Ok(ok__) => { - core::ptr::write(ppproviderinfo, core::mem::transmute(ok__)); + ppproviderinfo.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3295,7 +3295,7 @@ impl ISyncProviderRegistration_Vtbl { let this = (*this).get_impl(); match ISyncProviderRegistration_Impl::GetSyncProviderConfigUIInfoforProvider(this, core::mem::transmute_copy(&pguidproviderinstanceid)) { Ok(ok__) => { - core::ptr::write(ppproviderconfiguiinfo, core::mem::transmute(ok__)); + ppproviderconfiguiinfo.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3306,7 +3306,7 @@ impl ISyncProviderRegistration_Vtbl { let this = (*this).get_impl(); match ISyncProviderRegistration_Impl::EnumerateSyncProviders(this, core::mem::transmute_copy(&pguidcontenttype), core::mem::transmute_copy(&dwstateflagstofiltermask), core::mem::transmute_copy(&dwstateflagstofilter), core::mem::transmute_copy(&refproviderclsid), core::mem::transmute_copy(&dwsupportedarchitecture)) { Ok(ok__) => { - core::ptr::write(ppenumsyncproviderinfos, core::mem::transmute(ok__)); + ppenumsyncproviderinfos.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3317,7 +3317,7 @@ impl ISyncProviderRegistration_Vtbl { let this = (*this).get_impl(); match ISyncProviderRegistration_Impl::GetSyncProviderInfo(this, core::mem::transmute_copy(&pguidinstanceid)) { Ok(ok__) => { - core::ptr::write(ppproviderinfo, core::mem::transmute(ok__)); + ppproviderinfo.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3328,7 +3328,7 @@ impl ISyncProviderRegistration_Vtbl { let this = (*this).get_impl(); match ISyncProviderRegistration_Impl::GetSyncProviderFromInstanceId(this, core::mem::transmute_copy(&pguidinstanceid), core::mem::transmute_copy(&dwclscontext)) { Ok(ok__) => { - core::ptr::write(ppsyncprovider, core::mem::transmute(ok__)); + ppsyncprovider.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3339,7 +3339,7 @@ impl ISyncProviderRegistration_Vtbl { let this = (*this).get_impl(); match ISyncProviderRegistration_Impl::GetSyncProviderConfigUIInfo(this, core::mem::transmute_copy(&pguidinstanceid)) { Ok(ok__) => { - core::ptr::write(ppconfiguiinfo, core::mem::transmute(ok__)); + ppconfiguiinfo.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3350,7 +3350,7 @@ impl ISyncProviderRegistration_Vtbl { let this = (*this).get_impl(); match ISyncProviderRegistration_Impl::GetSyncProviderConfigUIFromInstanceId(this, core::mem::transmute_copy(&pguidinstanceid), core::mem::transmute_copy(&dwclscontext)) { Ok(ok__) => { - core::ptr::write(ppconfigui, core::mem::transmute(ok__)); + ppconfigui.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3361,7 +3361,7 @@ impl ISyncProviderRegistration_Vtbl { let this = (*this).get_impl(); match ISyncProviderRegistration_Impl::GetSyncProviderState(this, core::mem::transmute_copy(&pguidinstanceid)) { Ok(ok__) => { - core::ptr::write(pdwstateflags, core::mem::transmute(ok__)); + pdwstateflags.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3387,7 +3387,7 @@ impl ISyncProviderRegistration_Vtbl { let this = (*this).get_impl(); match ISyncProviderRegistration_Impl::GetChange(this, core::mem::transmute_copy(&hevent)) { Ok(ok__) => { - core::ptr::write(ppchange, core::mem::transmute(ok__)); + ppchange.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3429,7 +3429,7 @@ impl ISyncRegistrationChange_Vtbl { let this = (*this).get_impl(); match ISyncRegistrationChange_Impl::GetEvent(this) { Ok(ok__) => { - core::ptr::write(psreevent, core::mem::transmute(ok__)); + psreevent.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3440,7 +3440,7 @@ impl ISyncRegistrationChange_Vtbl { let this = (*this).get_impl(); match ISyncRegistrationChange_Impl::GetInstanceId(this) { Ok(ok__) => { - core::ptr::write(pguidinstanceid, core::mem::transmute(ok__)); + pguidinstanceid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3467,7 +3467,7 @@ impl ISyncSessionExtendedErrorInfo_Vtbl { let this = (*this).get_impl(); match ISyncSessionExtendedErrorInfo_Impl::GetSyncProviderWithError(this) { Ok(ok__) => { - core::ptr::write(ppproviderwitherror, core::mem::transmute(ok__)); + ppproviderwitherror.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3585,7 +3585,7 @@ impl ISynchronousDataRetriever_Vtbl { let this = (*this).get_impl(); match ISynchronousDataRetriever_Impl::LoadChangeData(this, windows_core::from_raw_borrowed(&ploadchangecontext)) { Ok(ok__) => { - core::ptr::write(ppunkdata, core::mem::transmute(ok__)); + ppunkdata.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/Win32/System/Wmi/impl.rs b/crates/libs/windows/src/Windows/Win32/System/Wmi/impl.rs index 7c3032848e..3ce7082126 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Wmi/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Wmi/impl.rs @@ -28,7 +28,7 @@ impl IEnumWbemClassObject_Vtbl { let this = (*this).get_impl(); match IEnumWbemClassObject_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -139,7 +139,7 @@ impl ISWbemDateTime_Vtbl { let this = (*this).get_impl(); match ISWbemDateTime_Impl::Value(this) { Ok(ok__) => { - core::ptr::write(strvalue, core::mem::transmute(ok__)); + strvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -155,7 +155,7 @@ impl ISWbemDateTime_Vtbl { let this = (*this).get_impl(); match ISWbemDateTime_Impl::Year(this) { Ok(ok__) => { - core::ptr::write(iyear, core::mem::transmute(ok__)); + iyear.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -171,7 +171,7 @@ impl ISWbemDateTime_Vtbl { let this = (*this).get_impl(); match ISWbemDateTime_Impl::YearSpecified(this) { Ok(ok__) => { - core::ptr::write(byearspecified, core::mem::transmute(ok__)); + byearspecified.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -187,7 +187,7 @@ impl ISWbemDateTime_Vtbl { let this = (*this).get_impl(); match ISWbemDateTime_Impl::Month(this) { Ok(ok__) => { - core::ptr::write(imonth, core::mem::transmute(ok__)); + imonth.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -203,7 +203,7 @@ impl ISWbemDateTime_Vtbl { let this = (*this).get_impl(); match ISWbemDateTime_Impl::MonthSpecified(this) { Ok(ok__) => { - core::ptr::write(bmonthspecified, core::mem::transmute(ok__)); + bmonthspecified.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -219,7 +219,7 @@ impl ISWbemDateTime_Vtbl { let this = (*this).get_impl(); match ISWbemDateTime_Impl::Day(this) { Ok(ok__) => { - core::ptr::write(iday, core::mem::transmute(ok__)); + iday.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -235,7 +235,7 @@ impl ISWbemDateTime_Vtbl { let this = (*this).get_impl(); match ISWbemDateTime_Impl::DaySpecified(this) { Ok(ok__) => { - core::ptr::write(bdayspecified, core::mem::transmute(ok__)); + bdayspecified.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -251,7 +251,7 @@ impl ISWbemDateTime_Vtbl { let this = (*this).get_impl(); match ISWbemDateTime_Impl::Hours(this) { Ok(ok__) => { - core::ptr::write(ihours, core::mem::transmute(ok__)); + ihours.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -267,7 +267,7 @@ impl ISWbemDateTime_Vtbl { let this = (*this).get_impl(); match ISWbemDateTime_Impl::HoursSpecified(this) { Ok(ok__) => { - core::ptr::write(bhoursspecified, core::mem::transmute(ok__)); + bhoursspecified.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -283,7 +283,7 @@ impl ISWbemDateTime_Vtbl { let this = (*this).get_impl(); match ISWbemDateTime_Impl::Minutes(this) { Ok(ok__) => { - core::ptr::write(iminutes, core::mem::transmute(ok__)); + iminutes.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -299,7 +299,7 @@ impl ISWbemDateTime_Vtbl { let this = (*this).get_impl(); match ISWbemDateTime_Impl::MinutesSpecified(this) { Ok(ok__) => { - core::ptr::write(bminutesspecified, core::mem::transmute(ok__)); + bminutesspecified.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -315,7 +315,7 @@ impl ISWbemDateTime_Vtbl { let this = (*this).get_impl(); match ISWbemDateTime_Impl::Seconds(this) { Ok(ok__) => { - core::ptr::write(iseconds, core::mem::transmute(ok__)); + iseconds.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -331,7 +331,7 @@ impl ISWbemDateTime_Vtbl { let this = (*this).get_impl(); match ISWbemDateTime_Impl::SecondsSpecified(this) { Ok(ok__) => { - core::ptr::write(bsecondsspecified, core::mem::transmute(ok__)); + bsecondsspecified.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -347,7 +347,7 @@ impl ISWbemDateTime_Vtbl { let this = (*this).get_impl(); match ISWbemDateTime_Impl::Microseconds(this) { Ok(ok__) => { - core::ptr::write(imicroseconds, core::mem::transmute(ok__)); + imicroseconds.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -363,7 +363,7 @@ impl ISWbemDateTime_Vtbl { let this = (*this).get_impl(); match ISWbemDateTime_Impl::MicrosecondsSpecified(this) { Ok(ok__) => { - core::ptr::write(bmicrosecondsspecified, core::mem::transmute(ok__)); + bmicrosecondsspecified.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -379,7 +379,7 @@ impl ISWbemDateTime_Vtbl { let this = (*this).get_impl(); match ISWbemDateTime_Impl::UTC(this) { Ok(ok__) => { - core::ptr::write(iutc, core::mem::transmute(ok__)); + iutc.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -395,7 +395,7 @@ impl ISWbemDateTime_Vtbl { let this = (*this).get_impl(); match ISWbemDateTime_Impl::UTCSpecified(this) { Ok(ok__) => { - core::ptr::write(butcspecified, core::mem::transmute(ok__)); + butcspecified.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -411,7 +411,7 @@ impl ISWbemDateTime_Vtbl { let this = (*this).get_impl(); match ISWbemDateTime_Impl::IsInterval(this) { Ok(ok__) => { - core::ptr::write(bisinterval, core::mem::transmute(ok__)); + bisinterval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -427,7 +427,7 @@ impl ISWbemDateTime_Vtbl { let this = (*this).get_impl(); match ISWbemDateTime_Impl::GetVarDate(this, core::mem::transmute_copy(&bislocal)) { Ok(ok__) => { - core::ptr::write(dvardate, core::mem::transmute(ok__)); + dvardate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -443,7 +443,7 @@ impl ISWbemDateTime_Vtbl { let this = (*this).get_impl(); match ISWbemDateTime_Impl::GetFileTime(this, core::mem::transmute_copy(&bislocal)) { Ok(ok__) => { - core::ptr::write(strfiletime, core::mem::transmute(ok__)); + strfiletime.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -517,7 +517,7 @@ impl ISWbemEventSource_Vtbl { let this = (*this).get_impl(); match ISWbemEventSource_Impl::NextEvent(this, core::mem::transmute_copy(&itimeoutms)) { Ok(ok__) => { - core::ptr::write(objwbemobject, core::mem::transmute(ok__)); + objwbemobject.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -528,7 +528,7 @@ impl ISWbemEventSource_Vtbl { let this = (*this).get_impl(); match ISWbemEventSource_Impl::Security_(this) { Ok(ok__) => { - core::ptr::write(objwbemsecurity, core::mem::transmute(ok__)); + objwbemsecurity.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -572,7 +572,7 @@ impl ISWbemLocator_Vtbl { let this = (*this).get_impl(); match ISWbemLocator_Impl::ConnectServer(this, core::mem::transmute(&strserver), core::mem::transmute(&strnamespace), core::mem::transmute(&struser), core::mem::transmute(&strpassword), core::mem::transmute(&strlocale), core::mem::transmute(&strauthority), core::mem::transmute_copy(&isecurityflags), windows_core::from_raw_borrowed(&objwbemnamedvalueset)) { Ok(ok__) => { - core::ptr::write(objwbemservices, core::mem::transmute(ok__)); + objwbemservices.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -583,7 +583,7 @@ impl ISWbemLocator_Vtbl { let this = (*this).get_impl(); match ISWbemLocator_Impl::Security_(this) { Ok(ok__) => { - core::ptr::write(objwbemsecurity, core::mem::transmute(ok__)); + objwbemsecurity.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -617,7 +617,7 @@ impl ISWbemMethod_Vtbl { let this = (*this).get_impl(); match ISWbemMethod_Impl::Name(this) { Ok(ok__) => { - core::ptr::write(strname, core::mem::transmute(ok__)); + strname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -628,7 +628,7 @@ impl ISWbemMethod_Vtbl { let this = (*this).get_impl(); match ISWbemMethod_Impl::Origin(this) { Ok(ok__) => { - core::ptr::write(strorigin, core::mem::transmute(ok__)); + strorigin.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -639,7 +639,7 @@ impl ISWbemMethod_Vtbl { let this = (*this).get_impl(); match ISWbemMethod_Impl::InParameters(this) { Ok(ok__) => { - core::ptr::write(objwbeminparameters, core::mem::transmute(ok__)); + objwbeminparameters.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -650,7 +650,7 @@ impl ISWbemMethod_Vtbl { let this = (*this).get_impl(); match ISWbemMethod_Impl::OutParameters(this) { Ok(ok__) => { - core::ptr::write(objwbemoutparameters, core::mem::transmute(ok__)); + objwbemoutparameters.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -661,7 +661,7 @@ impl ISWbemMethod_Vtbl { let this = (*this).get_impl(); match ISWbemMethod_Impl::Qualifiers_(this) { Ok(ok__) => { - core::ptr::write(objwbemqualifierset, core::mem::transmute(ok__)); + objwbemqualifierset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -696,7 +696,7 @@ impl ISWbemMethodSet_Vtbl { let this = (*this).get_impl(); match ISWbemMethodSet_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(punk, core::mem::transmute(ok__)); + punk.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -707,7 +707,7 @@ impl ISWbemMethodSet_Vtbl { let this = (*this).get_impl(); match ISWbemMethodSet_Impl::Item(this, core::mem::transmute(&strname), core::mem::transmute_copy(&iflags)) { Ok(ok__) => { - core::ptr::write(objwbemmethod, core::mem::transmute(ok__)); + objwbemmethod.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -718,7 +718,7 @@ impl ISWbemMethodSet_Vtbl { let this = (*this).get_impl(); match ISWbemMethodSet_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(icount, core::mem::transmute(ok__)); + icount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -751,7 +751,7 @@ impl ISWbemNamedValue_Vtbl { let this = (*this).get_impl(); match ISWbemNamedValue_Impl::Value(this) { Ok(ok__) => { - core::ptr::write(varvalue, core::mem::transmute(ok__)); + varvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -767,7 +767,7 @@ impl ISWbemNamedValue_Vtbl { let this = (*this).get_impl(); match ISWbemNamedValue_Impl::Name(this) { Ok(ok__) => { - core::ptr::write(strname, core::mem::transmute(ok__)); + strname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -804,7 +804,7 @@ impl ISWbemNamedValueSet_Vtbl { let this = (*this).get_impl(); match ISWbemNamedValueSet_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(punk, core::mem::transmute(ok__)); + punk.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -815,7 +815,7 @@ impl ISWbemNamedValueSet_Vtbl { let this = (*this).get_impl(); match ISWbemNamedValueSet_Impl::Item(this, core::mem::transmute(&strname), core::mem::transmute_copy(&iflags)) { Ok(ok__) => { - core::ptr::write(objwbemnamedvalue, core::mem::transmute(ok__)); + objwbemnamedvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -826,7 +826,7 @@ impl ISWbemNamedValueSet_Vtbl { let this = (*this).get_impl(); match ISWbemNamedValueSet_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(icount, core::mem::transmute(ok__)); + icount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -837,7 +837,7 @@ impl ISWbemNamedValueSet_Vtbl { let this = (*this).get_impl(); match ISWbemNamedValueSet_Impl::Add(this, core::mem::transmute(&strname), core::mem::transmute_copy(&varvalue), core::mem::transmute_copy(&iflags)) { Ok(ok__) => { - core::ptr::write(objwbemnamedvalue, core::mem::transmute(ok__)); + objwbemnamedvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -853,7 +853,7 @@ impl ISWbemNamedValueSet_Vtbl { let this = (*this).get_impl(); match ISWbemNamedValueSet_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(objwbemnamedvalueset, core::mem::transmute(ok__)); + objwbemnamedvalueset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -917,7 +917,7 @@ impl ISWbemObject_Vtbl { let this = (*this).get_impl(); match ISWbemObject_Impl::Put_(this, core::mem::transmute_copy(&iflags), windows_core::from_raw_borrowed(&objwbemnamedvalueset)) { Ok(ok__) => { - core::ptr::write(objwbemobjectpath, core::mem::transmute(ok__)); + objwbemobjectpath.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -943,7 +943,7 @@ impl ISWbemObject_Vtbl { let this = (*this).get_impl(); match ISWbemObject_Impl::Instances_(this, core::mem::transmute_copy(&iflags), windows_core::from_raw_borrowed(&objwbemnamedvalueset)) { Ok(ok__) => { - core::ptr::write(objwbemobjectset, core::mem::transmute(ok__)); + objwbemobjectset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -959,7 +959,7 @@ impl ISWbemObject_Vtbl { let this = (*this).get_impl(); match ISWbemObject_Impl::Subclasses_(this, core::mem::transmute_copy(&iflags), windows_core::from_raw_borrowed(&objwbemnamedvalueset)) { Ok(ok__) => { - core::ptr::write(objwbemobjectset, core::mem::transmute(ok__)); + objwbemobjectset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -975,7 +975,7 @@ impl ISWbemObject_Vtbl { let this = (*this).get_impl(); match ISWbemObject_Impl::Associators_(this, core::mem::transmute(&strassocclass), core::mem::transmute(&strresultclass), core::mem::transmute(&strresultrole), core::mem::transmute(&strrole), core::mem::transmute_copy(&bclassesonly), core::mem::transmute_copy(&bschemaonly), core::mem::transmute(&strrequiredassocqualifier), core::mem::transmute(&strrequiredqualifier), core::mem::transmute_copy(&iflags), windows_core::from_raw_borrowed(&objwbemnamedvalueset)) { Ok(ok__) => { - core::ptr::write(objwbemobjectset, core::mem::transmute(ok__)); + objwbemobjectset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1020,7 +1020,7 @@ impl ISWbemObject_Vtbl { let this = (*this).get_impl(); match ISWbemObject_Impl::References_(this, core::mem::transmute(&strresultclass), core::mem::transmute(&strrole), core::mem::transmute_copy(&bclassesonly), core::mem::transmute_copy(&bschemaonly), core::mem::transmute(&strrequiredqualifier), core::mem::transmute_copy(&iflags), windows_core::from_raw_borrowed(&objwbemnamedvalueset)) { Ok(ok__) => { - core::ptr::write(objwbemobjectset, core::mem::transmute(ok__)); + objwbemobjectset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1036,7 +1036,7 @@ impl ISWbemObject_Vtbl { let this = (*this).get_impl(); match ISWbemObject_Impl::ExecMethod_(this, core::mem::transmute(&strmethodname), windows_core::from_raw_borrowed(&objwbeminparameters), core::mem::transmute_copy(&iflags), windows_core::from_raw_borrowed(&objwbemnamedvalueset)) { Ok(ok__) => { - core::ptr::write(objwbemoutparameters, core::mem::transmute(ok__)); + objwbemoutparameters.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1052,7 +1052,7 @@ impl ISWbemObject_Vtbl { let this = (*this).get_impl(); match ISWbemObject_Impl::Clone_(this) { Ok(ok__) => { - core::ptr::write(objwbemobject, core::mem::transmute(ok__)); + objwbemobject.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1063,7 +1063,7 @@ impl ISWbemObject_Vtbl { let this = (*this).get_impl(); match ISWbemObject_Impl::GetObjectText_(this, core::mem::transmute_copy(&iflags)) { Ok(ok__) => { - core::ptr::write(strobjecttext, core::mem::transmute(ok__)); + strobjecttext.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1074,7 +1074,7 @@ impl ISWbemObject_Vtbl { let this = (*this).get_impl(); match ISWbemObject_Impl::SpawnDerivedClass_(this, core::mem::transmute_copy(&iflags)) { Ok(ok__) => { - core::ptr::write(objwbemobject, core::mem::transmute(ok__)); + objwbemobject.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1085,7 +1085,7 @@ impl ISWbemObject_Vtbl { let this = (*this).get_impl(); match ISWbemObject_Impl::SpawnInstance_(this, core::mem::transmute_copy(&iflags)) { Ok(ok__) => { - core::ptr::write(objwbemobject, core::mem::transmute(ok__)); + objwbemobject.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1096,7 +1096,7 @@ impl ISWbemObject_Vtbl { let this = (*this).get_impl(); match ISWbemObject_Impl::CompareTo_(this, windows_core::from_raw_borrowed(&objwbemobject), core::mem::transmute_copy(&iflags)) { Ok(ok__) => { - core::ptr::write(bresult, core::mem::transmute(ok__)); + bresult.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1107,7 +1107,7 @@ impl ISWbemObject_Vtbl { let this = (*this).get_impl(); match ISWbemObject_Impl::Qualifiers_(this) { Ok(ok__) => { - core::ptr::write(objwbemqualifierset, core::mem::transmute(ok__)); + objwbemqualifierset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1118,7 +1118,7 @@ impl ISWbemObject_Vtbl { let this = (*this).get_impl(); match ISWbemObject_Impl::Properties_(this) { Ok(ok__) => { - core::ptr::write(objwbempropertyset, core::mem::transmute(ok__)); + objwbempropertyset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1129,7 +1129,7 @@ impl ISWbemObject_Vtbl { let this = (*this).get_impl(); match ISWbemObject_Impl::Methods_(this) { Ok(ok__) => { - core::ptr::write(objwbemmethodset, core::mem::transmute(ok__)); + objwbemmethodset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1140,7 +1140,7 @@ impl ISWbemObject_Vtbl { let this = (*this).get_impl(); match ISWbemObject_Impl::Derivation_(this) { Ok(ok__) => { - core::ptr::write(strclassnamearray, core::mem::transmute(ok__)); + strclassnamearray.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1151,7 +1151,7 @@ impl ISWbemObject_Vtbl { let this = (*this).get_impl(); match ISWbemObject_Impl::Path_(this) { Ok(ok__) => { - core::ptr::write(objwbemobjectpath, core::mem::transmute(ok__)); + objwbemobjectpath.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1162,7 +1162,7 @@ impl ISWbemObject_Vtbl { let this = (*this).get_impl(); match ISWbemObject_Impl::Security_(this) { Ok(ok__) => { - core::ptr::write(objwbemsecurity, core::mem::transmute(ok__)); + objwbemsecurity.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1223,7 +1223,7 @@ impl ISWbemObjectEx_Vtbl { let this = (*this).get_impl(); match ISWbemObjectEx_Impl::SystemProperties_(this) { Ok(ok__) => { - core::ptr::write(objwbempropertyset, core::mem::transmute(ok__)); + objwbempropertyset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1234,7 +1234,7 @@ impl ISWbemObjectEx_Vtbl { let this = (*this).get_impl(); match ISWbemObjectEx_Impl::GetText_(this, core::mem::transmute_copy(&iobjecttextformat), core::mem::transmute_copy(&iflags), windows_core::from_raw_borrowed(&objwbemnamedvalueset)) { Ok(ok__) => { - core::ptr::write(bstext, core::mem::transmute(ok__)); + bstext.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1293,7 +1293,7 @@ impl ISWbemObjectPath_Vtbl { let this = (*this).get_impl(); match ISWbemObjectPath_Impl::Path(this) { Ok(ok__) => { - core::ptr::write(strpath, core::mem::transmute(ok__)); + strpath.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1309,7 +1309,7 @@ impl ISWbemObjectPath_Vtbl { let this = (*this).get_impl(); match ISWbemObjectPath_Impl::RelPath(this) { Ok(ok__) => { - core::ptr::write(strrelpath, core::mem::transmute(ok__)); + strrelpath.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1325,7 +1325,7 @@ impl ISWbemObjectPath_Vtbl { let this = (*this).get_impl(); match ISWbemObjectPath_Impl::Server(this) { Ok(ok__) => { - core::ptr::write(strserver, core::mem::transmute(ok__)); + strserver.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1341,7 +1341,7 @@ impl ISWbemObjectPath_Vtbl { let this = (*this).get_impl(); match ISWbemObjectPath_Impl::Namespace(this) { Ok(ok__) => { - core::ptr::write(strnamespace, core::mem::transmute(ok__)); + strnamespace.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1357,7 +1357,7 @@ impl ISWbemObjectPath_Vtbl { let this = (*this).get_impl(); match ISWbemObjectPath_Impl::ParentNamespace(this) { Ok(ok__) => { - core::ptr::write(strparentnamespace, core::mem::transmute(ok__)); + strparentnamespace.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1368,7 +1368,7 @@ impl ISWbemObjectPath_Vtbl { let this = (*this).get_impl(); match ISWbemObjectPath_Impl::DisplayName(this) { Ok(ok__) => { - core::ptr::write(strdisplayname, core::mem::transmute(ok__)); + strdisplayname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1384,7 +1384,7 @@ impl ISWbemObjectPath_Vtbl { let this = (*this).get_impl(); match ISWbemObjectPath_Impl::Class(this) { Ok(ok__) => { - core::ptr::write(strclass, core::mem::transmute(ok__)); + strclass.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1400,7 +1400,7 @@ impl ISWbemObjectPath_Vtbl { let this = (*this).get_impl(); match ISWbemObjectPath_Impl::IsClass(this) { Ok(ok__) => { - core::ptr::write(bisclass, core::mem::transmute(ok__)); + bisclass.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1416,7 +1416,7 @@ impl ISWbemObjectPath_Vtbl { let this = (*this).get_impl(); match ISWbemObjectPath_Impl::IsSingleton(this) { Ok(ok__) => { - core::ptr::write(bissingleton, core::mem::transmute(ok__)); + bissingleton.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1432,7 +1432,7 @@ impl ISWbemObjectPath_Vtbl { let this = (*this).get_impl(); match ISWbemObjectPath_Impl::Keys(this) { Ok(ok__) => { - core::ptr::write(objwbemnamedvalueset, core::mem::transmute(ok__)); + objwbemnamedvalueset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1443,7 +1443,7 @@ impl ISWbemObjectPath_Vtbl { let this = (*this).get_impl(); match ISWbemObjectPath_Impl::Security_(this) { Ok(ok__) => { - core::ptr::write(objwbemsecurity, core::mem::transmute(ok__)); + objwbemsecurity.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1454,7 +1454,7 @@ impl ISWbemObjectPath_Vtbl { let this = (*this).get_impl(); match ISWbemObjectPath_Impl::Locale(this) { Ok(ok__) => { - core::ptr::write(strlocale, core::mem::transmute(ok__)); + strlocale.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1470,7 +1470,7 @@ impl ISWbemObjectPath_Vtbl { let this = (*this).get_impl(); match ISWbemObjectPath_Impl::Authority(this) { Ok(ok__) => { - core::ptr::write(strauthority, core::mem::transmute(ok__)); + strauthority.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1530,7 +1530,7 @@ impl ISWbemObjectSet_Vtbl { let this = (*this).get_impl(); match ISWbemObjectSet_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(punk, core::mem::transmute(ok__)); + punk.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1541,7 +1541,7 @@ impl ISWbemObjectSet_Vtbl { let this = (*this).get_impl(); match ISWbemObjectSet_Impl::Item(this, core::mem::transmute(&strobjectpath), core::mem::transmute_copy(&iflags)) { Ok(ok__) => { - core::ptr::write(objwbemobject, core::mem::transmute(ok__)); + objwbemobject.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1552,7 +1552,7 @@ impl ISWbemObjectSet_Vtbl { let this = (*this).get_impl(); match ISWbemObjectSet_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(icount, core::mem::transmute(ok__)); + icount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1563,7 +1563,7 @@ impl ISWbemObjectSet_Vtbl { let this = (*this).get_impl(); match ISWbemObjectSet_Impl::Security_(this) { Ok(ok__) => { - core::ptr::write(objwbemsecurity, core::mem::transmute(ok__)); + objwbemsecurity.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1574,7 +1574,7 @@ impl ISWbemObjectSet_Vtbl { let this = (*this).get_impl(); match ISWbemObjectSet_Impl::ItemIndex(this, core::mem::transmute_copy(&lindex)) { Ok(ok__) => { - core::ptr::write(objwbemobject, core::mem::transmute(ok__)); + objwbemobject.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1611,7 +1611,7 @@ impl ISWbemPrivilege_Vtbl { let this = (*this).get_impl(); match ISWbemPrivilege_Impl::IsEnabled(this) { Ok(ok__) => { - core::ptr::write(bisenabled, core::mem::transmute(ok__)); + bisenabled.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1627,7 +1627,7 @@ impl ISWbemPrivilege_Vtbl { let this = (*this).get_impl(); match ISWbemPrivilege_Impl::Name(this) { Ok(ok__) => { - core::ptr::write(strdisplayname, core::mem::transmute(ok__)); + strdisplayname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1638,7 +1638,7 @@ impl ISWbemPrivilege_Vtbl { let this = (*this).get_impl(); match ISWbemPrivilege_Impl::DisplayName(this) { Ok(ok__) => { - core::ptr::write(strdisplayname, core::mem::transmute(ok__)); + strdisplayname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1649,7 +1649,7 @@ impl ISWbemPrivilege_Vtbl { let this = (*this).get_impl(); match ISWbemPrivilege_Impl::Identifier(this) { Ok(ok__) => { - core::ptr::write(iprivilege, core::mem::transmute(ok__)); + iprivilege.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1688,7 +1688,7 @@ impl ISWbemPrivilegeSet_Vtbl { let this = (*this).get_impl(); match ISWbemPrivilegeSet_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(punk, core::mem::transmute(ok__)); + punk.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1699,7 +1699,7 @@ impl ISWbemPrivilegeSet_Vtbl { let this = (*this).get_impl(); match ISWbemPrivilegeSet_Impl::Item(this, core::mem::transmute_copy(&iprivilege)) { Ok(ok__) => { - core::ptr::write(objwbemprivilege, core::mem::transmute(ok__)); + objwbemprivilege.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1710,7 +1710,7 @@ impl ISWbemPrivilegeSet_Vtbl { let this = (*this).get_impl(); match ISWbemPrivilegeSet_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(icount, core::mem::transmute(ok__)); + icount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1721,7 +1721,7 @@ impl ISWbemPrivilegeSet_Vtbl { let this = (*this).get_impl(); match ISWbemPrivilegeSet_Impl::Add(this, core::mem::transmute_copy(&iprivilege), core::mem::transmute_copy(&bisenabled)) { Ok(ok__) => { - core::ptr::write(objwbemprivilege, core::mem::transmute(ok__)); + objwbemprivilege.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1742,7 +1742,7 @@ impl ISWbemPrivilegeSet_Vtbl { let this = (*this).get_impl(); match ISWbemPrivilegeSet_Impl::AddAsString(this, core::mem::transmute(&strprivilege), core::mem::transmute_copy(&bisenabled)) { Ok(ok__) => { - core::ptr::write(objwbemprivilege, core::mem::transmute(ok__)); + objwbemprivilege.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1784,7 +1784,7 @@ impl ISWbemProperty_Vtbl { let this = (*this).get_impl(); match ISWbemProperty_Impl::Value(this) { Ok(ok__) => { - core::ptr::write(varvalue, core::mem::transmute(ok__)); + varvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1800,7 +1800,7 @@ impl ISWbemProperty_Vtbl { let this = (*this).get_impl(); match ISWbemProperty_Impl::Name(this) { Ok(ok__) => { - core::ptr::write(strname, core::mem::transmute(ok__)); + strname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1811,7 +1811,7 @@ impl ISWbemProperty_Vtbl { let this = (*this).get_impl(); match ISWbemProperty_Impl::IsLocal(this) { Ok(ok__) => { - core::ptr::write(bislocal, core::mem::transmute(ok__)); + bislocal.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1822,7 +1822,7 @@ impl ISWbemProperty_Vtbl { let this = (*this).get_impl(); match ISWbemProperty_Impl::Origin(this) { Ok(ok__) => { - core::ptr::write(strorigin, core::mem::transmute(ok__)); + strorigin.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1833,7 +1833,7 @@ impl ISWbemProperty_Vtbl { let this = (*this).get_impl(); match ISWbemProperty_Impl::CIMType(this) { Ok(ok__) => { - core::ptr::write(icimtype, core::mem::transmute(ok__)); + icimtype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1844,7 +1844,7 @@ impl ISWbemProperty_Vtbl { let this = (*this).get_impl(); match ISWbemProperty_Impl::Qualifiers_(this) { Ok(ok__) => { - core::ptr::write(objwbemqualifierset, core::mem::transmute(ok__)); + objwbemqualifierset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1855,7 +1855,7 @@ impl ISWbemProperty_Vtbl { let this = (*this).get_impl(); match ISWbemProperty_Impl::IsArray(this) { Ok(ok__) => { - core::ptr::write(bisarray, core::mem::transmute(ok__)); + bisarray.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1895,7 +1895,7 @@ impl ISWbemPropertySet_Vtbl { let this = (*this).get_impl(); match ISWbemPropertySet_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(punk, core::mem::transmute(ok__)); + punk.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1906,7 +1906,7 @@ impl ISWbemPropertySet_Vtbl { let this = (*this).get_impl(); match ISWbemPropertySet_Impl::Item(this, core::mem::transmute(&strname), core::mem::transmute_copy(&iflags)) { Ok(ok__) => { - core::ptr::write(objwbemproperty, core::mem::transmute(ok__)); + objwbemproperty.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1917,7 +1917,7 @@ impl ISWbemPropertySet_Vtbl { let this = (*this).get_impl(); match ISWbemPropertySet_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(icount, core::mem::transmute(ok__)); + icount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1928,7 +1928,7 @@ impl ISWbemPropertySet_Vtbl { let this = (*this).get_impl(); match ISWbemPropertySet_Impl::Add(this, core::mem::transmute(&strname), core::mem::transmute_copy(&icimtype), core::mem::transmute_copy(&bisarray), core::mem::transmute_copy(&iflags)) { Ok(ok__) => { - core::ptr::write(objwbemproperty, core::mem::transmute(ok__)); + objwbemproperty.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1976,7 +1976,7 @@ impl ISWbemQualifier_Vtbl { let this = (*this).get_impl(); match ISWbemQualifier_Impl::Value(this) { Ok(ok__) => { - core::ptr::write(varvalue, core::mem::transmute(ok__)); + varvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1992,7 +1992,7 @@ impl ISWbemQualifier_Vtbl { let this = (*this).get_impl(); match ISWbemQualifier_Impl::Name(this) { Ok(ok__) => { - core::ptr::write(strname, core::mem::transmute(ok__)); + strname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2003,7 +2003,7 @@ impl ISWbemQualifier_Vtbl { let this = (*this).get_impl(); match ISWbemQualifier_Impl::IsLocal(this) { Ok(ok__) => { - core::ptr::write(bislocal, core::mem::transmute(ok__)); + bislocal.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2014,7 +2014,7 @@ impl ISWbemQualifier_Vtbl { let this = (*this).get_impl(); match ISWbemQualifier_Impl::PropagatesToSubclass(this) { Ok(ok__) => { - core::ptr::write(bpropagatestosubclass, core::mem::transmute(ok__)); + bpropagatestosubclass.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2030,7 +2030,7 @@ impl ISWbemQualifier_Vtbl { let this = (*this).get_impl(); match ISWbemQualifier_Impl::PropagatesToInstance(this) { Ok(ok__) => { - core::ptr::write(bpropagatestoinstance, core::mem::transmute(ok__)); + bpropagatestoinstance.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2046,7 +2046,7 @@ impl ISWbemQualifier_Vtbl { let this = (*this).get_impl(); match ISWbemQualifier_Impl::IsOverridable(this) { Ok(ok__) => { - core::ptr::write(bisoverridable, core::mem::transmute(ok__)); + bisoverridable.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2062,7 +2062,7 @@ impl ISWbemQualifier_Vtbl { let this = (*this).get_impl(); match ISWbemQualifier_Impl::IsAmended(this) { Ok(ok__) => { - core::ptr::write(bisamended, core::mem::transmute(ok__)); + bisamended.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2105,7 +2105,7 @@ impl ISWbemQualifierSet_Vtbl { let this = (*this).get_impl(); match ISWbemQualifierSet_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(punk, core::mem::transmute(ok__)); + punk.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2116,7 +2116,7 @@ impl ISWbemQualifierSet_Vtbl { let this = (*this).get_impl(); match ISWbemQualifierSet_Impl::Item(this, core::mem::transmute(&name), core::mem::transmute_copy(&iflags)) { Ok(ok__) => { - core::ptr::write(objwbemqualifier, core::mem::transmute(ok__)); + objwbemqualifier.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2127,7 +2127,7 @@ impl ISWbemQualifierSet_Vtbl { let this = (*this).get_impl(); match ISWbemQualifierSet_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(icount, core::mem::transmute(ok__)); + icount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2138,7 +2138,7 @@ impl ISWbemQualifierSet_Vtbl { let this = (*this).get_impl(); match ISWbemQualifierSet_Impl::Add(this, core::mem::transmute(&strname), core::mem::transmute_copy(&varval), core::mem::transmute_copy(&bpropagatestosubclass), core::mem::transmute_copy(&bpropagatestoinstance), core::mem::transmute_copy(&bisoverridable), core::mem::transmute_copy(&iflags)) { Ok(ok__) => { - core::ptr::write(objwbemqualifier, core::mem::transmute(ok__)); + objwbemqualifier.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2181,7 +2181,7 @@ impl ISWbemRefreshableItem_Vtbl { let this = (*this).get_impl(); match ISWbemRefreshableItem_Impl::Index(this) { Ok(ok__) => { - core::ptr::write(iindex, core::mem::transmute(ok__)); + iindex.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2192,7 +2192,7 @@ impl ISWbemRefreshableItem_Vtbl { let this = (*this).get_impl(); match ISWbemRefreshableItem_Impl::Refresher(this) { Ok(ok__) => { - core::ptr::write(objwbemrefresher, core::mem::transmute(ok__)); + objwbemrefresher.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2203,7 +2203,7 @@ impl ISWbemRefreshableItem_Vtbl { let this = (*this).get_impl(); match ISWbemRefreshableItem_Impl::IsSet(this) { Ok(ok__) => { - core::ptr::write(bisset, core::mem::transmute(ok__)); + bisset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2214,7 +2214,7 @@ impl ISWbemRefreshableItem_Vtbl { let this = (*this).get_impl(); match ISWbemRefreshableItem_Impl::Object(this) { Ok(ok__) => { - core::ptr::write(objwbemobject, core::mem::transmute(ok__)); + objwbemobject.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2225,7 +2225,7 @@ impl ISWbemRefreshableItem_Vtbl { let this = (*this).get_impl(); match ISWbemRefreshableItem_Impl::ObjectSet(this) { Ok(ok__) => { - core::ptr::write(objwbemobjectset, core::mem::transmute(ok__)); + objwbemobjectset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2273,7 +2273,7 @@ impl ISWbemRefresher_Vtbl { let this = (*this).get_impl(); match ISWbemRefresher_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(punk, core::mem::transmute(ok__)); + punk.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2284,7 +2284,7 @@ impl ISWbemRefresher_Vtbl { let this = (*this).get_impl(); match ISWbemRefresher_Impl::Item(this, core::mem::transmute_copy(&iindex)) { Ok(ok__) => { - core::ptr::write(objwbemrefreshableitem, core::mem::transmute(ok__)); + objwbemrefreshableitem.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2295,7 +2295,7 @@ impl ISWbemRefresher_Vtbl { let this = (*this).get_impl(); match ISWbemRefresher_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(icount, core::mem::transmute(ok__)); + icount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2306,7 +2306,7 @@ impl ISWbemRefresher_Vtbl { let this = (*this).get_impl(); match ISWbemRefresher_Impl::Add(this, windows_core::from_raw_borrowed(&objwbemservices), core::mem::transmute(&bsinstancepath), core::mem::transmute_copy(&iflags), windows_core::from_raw_borrowed(&objwbemnamedvalueset)) { Ok(ok__) => { - core::ptr::write(objwbemrefreshableitem, core::mem::transmute(ok__)); + objwbemrefreshableitem.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2317,7 +2317,7 @@ impl ISWbemRefresher_Vtbl { let this = (*this).get_impl(); match ISWbemRefresher_Impl::AddEnum(this, windows_core::from_raw_borrowed(&objwbemservices), core::mem::transmute(&bsclassname), core::mem::transmute_copy(&iflags), windows_core::from_raw_borrowed(&objwbemnamedvalueset)) { Ok(ok__) => { - core::ptr::write(objwbemrefreshableitem, core::mem::transmute(ok__)); + objwbemrefreshableitem.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2338,7 +2338,7 @@ impl ISWbemRefresher_Vtbl { let this = (*this).get_impl(); match ISWbemRefresher_Impl::AutoReconnect(this) { Ok(ok__) => { - core::ptr::write(bcount, core::mem::transmute(ok__)); + bcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2390,7 +2390,7 @@ impl ISWbemSecurity_Vtbl { let this = (*this).get_impl(); match ISWbemSecurity_Impl::ImpersonationLevel(this) { Ok(ok__) => { - core::ptr::write(iimpersonationlevel, core::mem::transmute(ok__)); + iimpersonationlevel.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2406,7 +2406,7 @@ impl ISWbemSecurity_Vtbl { let this = (*this).get_impl(); match ISWbemSecurity_Impl::AuthenticationLevel(this) { Ok(ok__) => { - core::ptr::write(iauthenticationlevel, core::mem::transmute(ok__)); + iauthenticationlevel.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2422,7 +2422,7 @@ impl ISWbemSecurity_Vtbl { let this = (*this).get_impl(); match ISWbemSecurity_Impl::Privileges(this) { Ok(ok__) => { - core::ptr::write(objwbemprivilegeset, core::mem::transmute(ok__)); + objwbemprivilegeset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2473,7 +2473,7 @@ impl ISWbemServices_Vtbl { let this = (*this).get_impl(); match ISWbemServices_Impl::Get(this, core::mem::transmute(&strobjectpath), core::mem::transmute_copy(&iflags), windows_core::from_raw_borrowed(&objwbemnamedvalueset)) { Ok(ok__) => { - core::ptr::write(objwbemobject, core::mem::transmute(ok__)); + objwbemobject.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2499,7 +2499,7 @@ impl ISWbemServices_Vtbl { let this = (*this).get_impl(); match ISWbemServices_Impl::InstancesOf(this, core::mem::transmute(&strclass), core::mem::transmute_copy(&iflags), windows_core::from_raw_borrowed(&objwbemnamedvalueset)) { Ok(ok__) => { - core::ptr::write(objwbemobjectset, core::mem::transmute(ok__)); + objwbemobjectset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2515,7 +2515,7 @@ impl ISWbemServices_Vtbl { let this = (*this).get_impl(); match ISWbemServices_Impl::SubclassesOf(this, core::mem::transmute(&strsuperclass), core::mem::transmute_copy(&iflags), windows_core::from_raw_borrowed(&objwbemnamedvalueset)) { Ok(ok__) => { - core::ptr::write(objwbemobjectset, core::mem::transmute(ok__)); + objwbemobjectset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2531,7 +2531,7 @@ impl ISWbemServices_Vtbl { let this = (*this).get_impl(); match ISWbemServices_Impl::ExecQuery(this, core::mem::transmute(&strquery), core::mem::transmute(&strquerylanguage), core::mem::transmute_copy(&iflags), windows_core::from_raw_borrowed(&objwbemnamedvalueset)) { Ok(ok__) => { - core::ptr::write(objwbemobjectset, core::mem::transmute(ok__)); + objwbemobjectset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2561,7 +2561,7 @@ impl ISWbemServices_Vtbl { let this = (*this).get_impl(); match ISWbemServices_Impl::AssociatorsOf(this, core::mem::transmute(&strobjectpath), core::mem::transmute(&strassocclass), core::mem::transmute(&strresultclass), core::mem::transmute(&strresultrole), core::mem::transmute(&strrole), core::mem::transmute_copy(&bclassesonly), core::mem::transmute_copy(&bschemaonly), core::mem::transmute(&strrequiredassocqualifier), core::mem::transmute(&strrequiredqualifier), core::mem::transmute_copy(&iflags), windows_core::from_raw_borrowed(&objwbemnamedvalueset)) { Ok(ok__) => { - core::ptr::write(objwbemobjectset, core::mem::transmute(ok__)); + objwbemobjectset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2608,7 +2608,7 @@ impl ISWbemServices_Vtbl { let this = (*this).get_impl(); match ISWbemServices_Impl::ReferencesTo(this, core::mem::transmute(&strobjectpath), core::mem::transmute(&strresultclass), core::mem::transmute(&strrole), core::mem::transmute_copy(&bclassesonly), core::mem::transmute_copy(&bschemaonly), core::mem::transmute(&strrequiredqualifier), core::mem::transmute_copy(&iflags), windows_core::from_raw_borrowed(&objwbemnamedvalueset)) { Ok(ok__) => { - core::ptr::write(objwbemobjectset, core::mem::transmute(ok__)); + objwbemobjectset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2624,7 +2624,7 @@ impl ISWbemServices_Vtbl { let this = (*this).get_impl(); match ISWbemServices_Impl::ExecNotificationQuery(this, core::mem::transmute(&strquery), core::mem::transmute(&strquerylanguage), core::mem::transmute_copy(&iflags), windows_core::from_raw_borrowed(&objwbemnamedvalueset)) { Ok(ok__) => { - core::ptr::write(objwbemeventsource, core::mem::transmute(ok__)); + objwbemeventsource.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2640,7 +2640,7 @@ impl ISWbemServices_Vtbl { let this = (*this).get_impl(); match ISWbemServices_Impl::ExecMethod(this, core::mem::transmute(&strobjectpath), core::mem::transmute(&strmethodname), windows_core::from_raw_borrowed(&objwbeminparameters), core::mem::transmute_copy(&iflags), windows_core::from_raw_borrowed(&objwbemnamedvalueset)) { Ok(ok__) => { - core::ptr::write(objwbemoutparameters, core::mem::transmute(ok__)); + objwbemoutparameters.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2656,7 +2656,7 @@ impl ISWbemServices_Vtbl { let this = (*this).get_impl(); match ISWbemServices_Impl::Security_(this) { Ok(ok__) => { - core::ptr::write(objwbemsecurity, core::mem::transmute(ok__)); + objwbemsecurity.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2704,7 +2704,7 @@ impl ISWbemServicesEx_Vtbl { let this = (*this).get_impl(); match ISWbemServicesEx_Impl::Put(this, windows_core::from_raw_borrowed(&objwbemobject), core::mem::transmute_copy(&iflags), windows_core::from_raw_borrowed(&objwbemnamedvalueset)) { Ok(ok__) => { - core::ptr::write(objwbemobjectpath, core::mem::transmute(ok__)); + objwbemobjectpath.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2765,7 +2765,7 @@ impl IUnsecuredApartment_Vtbl { let this = (*this).get_impl(); match IUnsecuredApartment_Impl::CreateObjectStub(this, windows_core::from_raw_borrowed(&pobject)) { Ok(ok__) => { - core::ptr::write(ppstub, core::mem::transmute(ok__)); + ppstub.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2793,7 +2793,7 @@ impl IWMIExtension_Vtbl { let this = (*this).get_impl(); match IWMIExtension_Impl::WMIObjectPath(this) { Ok(ok__) => { - core::ptr::write(strwmiobjectpath, core::mem::transmute(ok__)); + strwmiobjectpath.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2804,7 +2804,7 @@ impl IWMIExtension_Vtbl { let this = (*this).get_impl(); match IWMIExtension_Impl::GetWMIObject(this) { Ok(ok__) => { - core::ptr::write(objwmiobject, core::mem::transmute(ok__)); + objwmiobject.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2815,7 +2815,7 @@ impl IWMIExtension_Vtbl { let this = (*this).get_impl(); match IWMIExtension_Impl::GetWMIServices(this) { Ok(ok__) => { - core::ptr::write(objwmiservices, core::mem::transmute(ok__)); + objwmiservices.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2917,7 +2917,7 @@ impl IWbemCallResult_Vtbl { let this = (*this).get_impl(); match IWbemCallResult_Impl::GetResultObject(this, core::mem::transmute_copy(<imeout)) { Ok(ok__) => { - core::ptr::write(ppresultobject, core::mem::transmute(ok__)); + ppresultobject.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2928,7 +2928,7 @@ impl IWbemCallResult_Vtbl { let this = (*this).get_impl(); match IWbemCallResult_Impl::GetResultString(this, core::mem::transmute_copy(<imeout)) { Ok(ok__) => { - core::ptr::write(pstrresultstring, core::mem::transmute(ok__)); + pstrresultstring.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2939,7 +2939,7 @@ impl IWbemCallResult_Vtbl { let this = (*this).get_impl(); match IWbemCallResult_Impl::GetResultServices(this, core::mem::transmute_copy(<imeout)) { Ok(ok__) => { - core::ptr::write(ppservices, core::mem::transmute(ok__)); + ppservices.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2950,7 +2950,7 @@ impl IWbemCallResult_Vtbl { let this = (*this).get_impl(); match IWbemCallResult_Impl::GetCallStatus(this, core::mem::transmute_copy(<imeout)) { Ok(ok__) => { - core::ptr::write(plstatus, core::mem::transmute(ok__)); + plstatus.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3005,7 +3005,7 @@ impl IWbemClassObject_Vtbl { let this = (*this).get_impl(); match IWbemClassObject_Impl::GetQualifierSet(this) { Ok(ok__) => { - core::ptr::write(ppqualset, core::mem::transmute(ok__)); + ppqualset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3031,7 +3031,7 @@ impl IWbemClassObject_Vtbl { let this = (*this).get_impl(); match IWbemClassObject_Impl::GetNames(this, core::mem::transmute(&wszqualifiername), core::mem::transmute_copy(&lflags), core::mem::transmute_copy(&pqualifierval)) { Ok(ok__) => { - core::ptr::write(pnames, core::mem::transmute(ok__)); + pnames.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3057,7 +3057,7 @@ impl IWbemClassObject_Vtbl { let this = (*this).get_impl(); match IWbemClassObject_Impl::GetPropertyQualifierSet(this, core::mem::transmute(&wszproperty)) { Ok(ok__) => { - core::ptr::write(ppqualset, core::mem::transmute(ok__)); + ppqualset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3068,7 +3068,7 @@ impl IWbemClassObject_Vtbl { let this = (*this).get_impl(); match IWbemClassObject_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppcopy, core::mem::transmute(ok__)); + ppcopy.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3079,7 +3079,7 @@ impl IWbemClassObject_Vtbl { let this = (*this).get_impl(); match IWbemClassObject_Impl::GetObjectText(this, core::mem::transmute_copy(&lflags)) { Ok(ok__) => { - core::ptr::write(pstrobjecttext, core::mem::transmute(ok__)); + pstrobjecttext.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3090,7 +3090,7 @@ impl IWbemClassObject_Vtbl { let this = (*this).get_impl(); match IWbemClassObject_Impl::SpawnDerivedClass(this, core::mem::transmute_copy(&lflags)) { Ok(ok__) => { - core::ptr::write(ppnewclass, core::mem::transmute(ok__)); + ppnewclass.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3101,7 +3101,7 @@ impl IWbemClassObject_Vtbl { let this = (*this).get_impl(); match IWbemClassObject_Impl::SpawnInstance(this, core::mem::transmute_copy(&lflags)) { Ok(ok__) => { - core::ptr::write(ppnewinstance, core::mem::transmute(ok__)); + ppnewinstance.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3117,7 +3117,7 @@ impl IWbemClassObject_Vtbl { let this = (*this).get_impl(); match IWbemClassObject_Impl::GetPropertyOrigin(this, core::mem::transmute(&wszname)) { Ok(ok__) => { - core::ptr::write(pstrclassname, core::mem::transmute(ok__)); + pstrclassname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3163,7 +3163,7 @@ impl IWbemClassObject_Vtbl { let this = (*this).get_impl(); match IWbemClassObject_Impl::GetMethodQualifierSet(this, core::mem::transmute(&wszmethod)) { Ok(ok__) => { - core::ptr::write(ppqualset, core::mem::transmute(ok__)); + ppqualset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3174,7 +3174,7 @@ impl IWbemClassObject_Vtbl { let this = (*this).get_impl(); match IWbemClassObject_Impl::GetMethodOrigin(this, core::mem::transmute(&wszmethodname)) { Ok(ok__) => { - core::ptr::write(pstrclassname, core::mem::transmute(ok__)); + pstrclassname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3257,7 +3257,7 @@ impl IWbemClientTransport_Vtbl { let this = (*this).get_impl(); match IWbemClientTransport_Impl::ConnectServer(this, core::mem::transmute(&straddresstype), core::mem::transmute_copy(&dwbinaryaddresslength), core::mem::transmute_copy(&abbinaryaddress), core::mem::transmute(&strnetworkresource), core::mem::transmute(&struser), core::mem::transmute(&strpassword), core::mem::transmute(&strlocale), core::mem::transmute_copy(&lsecurityflags), core::mem::transmute(&strauthority), windows_core::from_raw_borrowed(&pctx)) { Ok(ok__) => { - core::ptr::write(ppnamespace, core::mem::transmute(ok__)); + ppnamespace.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3397,7 +3397,7 @@ impl IWbemContext_Vtbl { let this = (*this).get_impl(); match IWbemContext_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppnewcopy, core::mem::transmute(ok__)); + ppnewcopy.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3408,7 +3408,7 @@ impl IWbemContext_Vtbl { let this = (*this).get_impl(); match IWbemContext_Impl::GetNames(this, core::mem::transmute_copy(&lflags)) { Ok(ok__) => { - core::ptr::write(pnames, core::mem::transmute(ok__)); + pnames.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3439,7 +3439,7 @@ impl IWbemContext_Vtbl { let this = (*this).get_impl(); match IWbemContext_Impl::GetValue(this, core::mem::transmute(&wszname), core::mem::transmute_copy(&lflags)) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3484,7 +3484,7 @@ impl IWbemDecoupledBasicEventProvider_Vtbl { let this = (*this).get_impl(); match IWbemDecoupledBasicEventProvider_Impl::GetSink(this, core::mem::transmute_copy(&a_flags), windows_core::from_raw_borrowed(&a_context)) { Ok(ok__) => { - core::ptr::write(a_sink, core::mem::transmute(ok__)); + a_sink.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3495,7 +3495,7 @@ impl IWbemDecoupledBasicEventProvider_Vtbl { let this = (*this).get_impl(); match IWbemDecoupledBasicEventProvider_Impl::GetService(this, core::mem::transmute_copy(&a_flags), windows_core::from_raw_borrowed(&a_context)) { Ok(ok__) => { - core::ptr::write(a_service, core::mem::transmute(ok__)); + a_service.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3549,7 +3549,7 @@ impl IWbemEventConsumerProvider_Vtbl { let this = (*this).get_impl(); match IWbemEventConsumerProvider_Impl::FindConsumer(this, windows_core::from_raw_borrowed(&plogicalconsumer)) { Ok(ok__) => { - core::ptr::write(ppconsumer, core::mem::transmute(ok__)); + ppconsumer.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3646,7 +3646,7 @@ impl IWbemEventSink_Vtbl { let this = (*this).get_impl(); match IWbemEventSink_Impl::GetRestrictedSink(this, core::mem::transmute_copy(&lnumqueries), core::mem::transmute_copy(&awszqueries), windows_core::from_raw_borrowed(&pcallback)) { Ok(ok__) => { - core::ptr::write(ppsink, core::mem::transmute(ok__)); + ppsink.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3731,7 +3731,7 @@ impl IWbemHiPerfProvider_Vtbl { let this = (*this).get_impl(); match IWbemHiPerfProvider_Impl::CreateRefresher(this, windows_core::from_raw_borrowed(&pnamespace), core::mem::transmute_copy(&lflags)) { Ok(ok__) => { - core::ptr::write(pprefresher, core::mem::transmute(ok__)); + pprefresher.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3752,7 +3752,7 @@ impl IWbemHiPerfProvider_Vtbl { let this = (*this).get_impl(); match IWbemHiPerfProvider_Impl::CreateRefreshableEnum(this, windows_core::from_raw_borrowed(&pnamespace), core::mem::transmute(&wszclass), windows_core::from_raw_borrowed(&prefresher), core::mem::transmute_copy(&lflags), windows_core::from_raw_borrowed(&pcontext), windows_core::from_raw_borrowed(&phiperfenum)) { Ok(ok__) => { - core::ptr::write(plid, core::mem::transmute(ok__)); + plid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3791,7 +3791,7 @@ impl IWbemLevel1Login_Vtbl { let this = (*this).get_impl(); match IWbemLevel1Login_Impl::EstablishPosition(this, core::mem::transmute(&wszlocalelist), core::mem::transmute_copy(&dwnumlocales)) { Ok(ok__) => { - core::ptr::write(reserved, core::mem::transmute(ok__)); + reserved.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3802,7 +3802,7 @@ impl IWbemLevel1Login_Vtbl { let this = (*this).get_impl(); match IWbemLevel1Login_Impl::RequestChallenge(this, core::mem::transmute(&wsznetworkresource), core::mem::transmute(&wszuser)) { Ok(ok__) => { - core::ptr::write(nonce, core::mem::transmute(ok__)); + nonce.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3813,7 +3813,7 @@ impl IWbemLevel1Login_Vtbl { let this = (*this).get_impl(); match IWbemLevel1Login_Impl::WBEMLogin(this, core::mem::transmute(&wszpreferredlocale), core::mem::transmute_copy(&accesstoken), core::mem::transmute_copy(&lflags), windows_core::from_raw_borrowed(&pctx)) { Ok(ok__) => { - core::ptr::write(ppnamespace, core::mem::transmute(ok__)); + ppnamespace.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3824,7 +3824,7 @@ impl IWbemLevel1Login_Vtbl { let this = (*this).get_impl(); match IWbemLevel1Login_Impl::NTLMLogin(this, core::mem::transmute(&wsznetworkresource), core::mem::transmute(&wszpreferredlocale), core::mem::transmute_copy(&lflags), windows_core::from_raw_borrowed(&pctx)) { Ok(ok__) => { - core::ptr::write(ppnamespace, core::mem::transmute(ok__)); + ppnamespace.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3853,7 +3853,7 @@ impl IWbemLocator_Vtbl { let this = (*this).get_impl(); match IWbemLocator_Impl::ConnectServer(this, core::mem::transmute(&strnetworkresource), core::mem::transmute(&struser), core::mem::transmute(&strpassword), core::mem::transmute(&strlocale), core::mem::transmute_copy(&lsecurityflags), core::mem::transmute(&strauthority), windows_core::from_raw_borrowed(&pctx)) { Ok(ok__) => { - core::ptr::write(ppnamespace, core::mem::transmute(ok__)); + ppnamespace.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3903,7 +3903,7 @@ impl IWbemObjectAccess_Vtbl { let this = (*this).get_impl(); match IWbemObjectAccess_Impl::ReadDWORD(this, core::mem::transmute_copy(&lhandle)) { Ok(ok__) => { - core::ptr::write(pdw, core::mem::transmute(ok__)); + pdw.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3919,7 +3919,7 @@ impl IWbemObjectAccess_Vtbl { let this = (*this).get_impl(); match IWbemObjectAccess_Impl::ReadQWORD(this, core::mem::transmute_copy(&lhandle)) { Ok(ok__) => { - core::ptr::write(pqw, core::mem::transmute(ok__)); + pqw.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4010,7 +4010,7 @@ impl IWbemObjectSinkEx_Vtbl { let this = (*this).get_impl(); match IWbemObjectSinkEx_Impl::WriteError(this, windows_core::from_raw_borrowed(&pobjerror)) { Ok(ok__) => { - core::ptr::write(pureturned, core::mem::transmute(ok__)); + pureturned.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4021,7 +4021,7 @@ impl IWbemObjectSinkEx_Vtbl { let this = (*this).get_impl(); match IWbemObjectSinkEx_Impl::PromptUser(this, core::mem::transmute(&strmessage), core::mem::transmute_copy(&uprompttype)) { Ok(ok__) => { - core::ptr::write(pureturned, core::mem::transmute(ok__)); + pureturned.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4062,7 +4062,7 @@ impl IWbemObjectTextSrc_Vtbl { let this = (*this).get_impl(); match IWbemObjectTextSrc_Impl::GetText(this, core::mem::transmute_copy(&lflags), windows_core::from_raw_borrowed(&pobj), core::mem::transmute_copy(&uobjtextformat), windows_core::from_raw_borrowed(&pctx)) { Ok(ok__) => { - core::ptr::write(strtext, core::mem::transmute(ok__)); + strtext.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4073,7 +4073,7 @@ impl IWbemObjectTextSrc_Vtbl { let this = (*this).get_impl(); match IWbemObjectTextSrc_Impl::CreateFromText(this, core::mem::transmute_copy(&lflags), core::mem::transmute(&strtext), core::mem::transmute_copy(&uobjtextformat), windows_core::from_raw_borrowed(&pctx)) { Ok(ok__) => { - core::ptr::write(pnewobj, core::mem::transmute(ok__)); + pnewobj.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4135,7 +4135,7 @@ impl IWbemPath_Vtbl { let this = (*this).get_impl(); match IWbemPath_Impl::GetInfo(this, core::mem::transmute_copy(&urequestedinfo)) { Ok(ok__) => { - core::ptr::write(puresponse, core::mem::transmute(ok__)); + puresponse.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4156,7 +4156,7 @@ impl IWbemPath_Vtbl { let this = (*this).get_impl(); match IWbemPath_Impl::GetNamespaceCount(this) { Ok(ok__) => { - core::ptr::write(pucount, core::mem::transmute(ok__)); + pucount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4187,7 +4187,7 @@ impl IWbemPath_Vtbl { let this = (*this).get_impl(); match IWbemPath_Impl::GetScopeCount(this) { Ok(ok__) => { - core::ptr::write(pucount, core::mem::transmute(ok__)); + pucount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4238,7 +4238,7 @@ impl IWbemPath_Vtbl { let this = (*this).get_impl(); match IWbemPath_Impl::GetKeyList(this) { Ok(ok__) => { - core::ptr::write(pout, core::mem::transmute(ok__)); + pout.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4328,7 +4328,7 @@ impl IWbemPathKeyList_Vtbl { let this = (*this).get_impl(); match IWbemPathKeyList_Impl::GetCount(this) { Ok(ok__) => { - core::ptr::write(pukeycount, core::mem::transmute(ok__)); + pukeycount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4374,7 +4374,7 @@ impl IWbemPathKeyList_Vtbl { let this = (*this).get_impl(); match IWbemPathKeyList_Impl::GetInfo(this, core::mem::transmute_copy(&urequestedinfo)) { Ok(ok__) => { - core::ptr::write(puresponse, core::mem::transmute(ok__)); + puresponse.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4415,7 +4415,7 @@ impl IWbemPropertyProvider_Vtbl { let this = (*this).get_impl(); match IWbemPropertyProvider_Impl::GetProperty(this, core::mem::transmute_copy(&lflags), core::mem::transmute(&strlocale), core::mem::transmute(&strclassmapping), core::mem::transmute(&strinstmapping), core::mem::transmute(&strpropmapping)) { Ok(ok__) => { - core::ptr::write(pvvalue, core::mem::transmute(ok__)); + pvvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4522,7 +4522,7 @@ impl IWbemQualifierSet_Vtbl { let this = (*this).get_impl(); match IWbemQualifierSet_Impl::GetNames(this, core::mem::transmute_copy(&lflags)) { Ok(ok__) => { - core::ptr::write(pnames, core::mem::transmute(ok__)); + pnames.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4680,7 +4680,7 @@ impl IWbemServices_Vtbl { let this = (*this).get_impl(); match IWbemServices_Impl::QueryObjectSink(this, core::mem::transmute_copy(&lflags)) { Ok(ok__) => { - core::ptr::write(ppresponsehandler, core::mem::transmute(ok__)); + ppresponsehandler.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4721,7 +4721,7 @@ impl IWbemServices_Vtbl { let this = (*this).get_impl(); match IWbemServices_Impl::CreateClassEnum(this, core::mem::transmute(&strsuperclass), core::mem::transmute_copy(&lflags), windows_core::from_raw_borrowed(&pctx)) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4757,7 +4757,7 @@ impl IWbemServices_Vtbl { let this = (*this).get_impl(); match IWbemServices_Impl::CreateInstanceEnum(this, core::mem::transmute(&strfilter), core::mem::transmute_copy(&lflags), windows_core::from_raw_borrowed(&pctx)) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4773,7 +4773,7 @@ impl IWbemServices_Vtbl { let this = (*this).get_impl(); match IWbemServices_Impl::ExecQuery(this, core::mem::transmute(&strquerylanguage), core::mem::transmute(&strquery), core::mem::transmute_copy(&lflags), windows_core::from_raw_borrowed(&pctx)) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4789,7 +4789,7 @@ impl IWbemServices_Vtbl { let this = (*this).get_impl(); match IWbemServices_Impl::ExecNotificationQuery(this, core::mem::transmute(&strquerylanguage), core::mem::transmute(&strquery), core::mem::transmute_copy(&lflags), windows_core::from_raw_borrowed(&pctx)) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4870,7 +4870,7 @@ impl IWbemStatusCodeText_Vtbl { let this = (*this).get_impl(); match IWbemStatusCodeText_Impl::GetErrorCodeText(this, core::mem::transmute_copy(&hres), core::mem::transmute_copy(&localeid), core::mem::transmute_copy(&lflags)) { Ok(ok__) => { - core::ptr::write(messagetext, core::mem::transmute(ok__)); + messagetext.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4881,7 +4881,7 @@ impl IWbemStatusCodeText_Vtbl { let this = (*this).get_impl(); match IWbemStatusCodeText_Impl::GetFacilityCodeText(this, core::mem::transmute_copy(&hres), core::mem::transmute_copy(&localeid), core::mem::transmute_copy(&lflags)) { Ok(ok__) => { - core::ptr::write(messagetext, core::mem::transmute(ok__)); + messagetext.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4942,7 +4942,7 @@ impl IWbemUnsecuredApartment_Vtbl { let this = (*this).get_impl(); match IWbemUnsecuredApartment_Impl::CreateSinkStub(this, windows_core::from_raw_borrowed(&psink), core::mem::transmute_copy(&dwflags), core::mem::transmute(&wszreserved)) { Ok(ok__) => { - core::ptr::write(ppstub, core::mem::transmute(ok__)); + ppstub.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/Win32/UI/Accessibility/impl.rs b/crates/libs/windows/src/Windows/Win32/UI/Accessibility/impl.rs index 25c25f6df9..4f3885fabe 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/Accessibility/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/Accessibility/impl.rs @@ -187,7 +187,7 @@ impl IAccessible_Vtbl { let this = (*this).get_impl(); match IAccessible_Impl::accParent(this) { Ok(ok__) => { - core::ptr::write(ppdispparent, core::mem::transmute(ok__)); + ppdispparent.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -198,7 +198,7 @@ impl IAccessible_Vtbl { let this = (*this).get_impl(); match IAccessible_Impl::accChildCount(this) { Ok(ok__) => { - core::ptr::write(pcountchildren, core::mem::transmute(ok__)); + pcountchildren.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -209,7 +209,7 @@ impl IAccessible_Vtbl { let this = (*this).get_impl(); match IAccessible_Impl::get_accChild(this, core::mem::transmute(&varchild)) { Ok(ok__) => { - core::ptr::write(ppdispchild, core::mem::transmute(ok__)); + ppdispchild.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -220,7 +220,7 @@ impl IAccessible_Vtbl { let this = (*this).get_impl(); match IAccessible_Impl::get_accName(this, core::mem::transmute(&varchild)) { Ok(ok__) => { - core::ptr::write(pszname, core::mem::transmute(ok__)); + pszname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -231,7 +231,7 @@ impl IAccessible_Vtbl { let this = (*this).get_impl(); match IAccessible_Impl::get_accValue(this, core::mem::transmute(&varchild)) { Ok(ok__) => { - core::ptr::write(pszvalue, core::mem::transmute(ok__)); + pszvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -242,7 +242,7 @@ impl IAccessible_Vtbl { let this = (*this).get_impl(); match IAccessible_Impl::get_accDescription(this, core::mem::transmute(&varchild)) { Ok(ok__) => { - core::ptr::write(pszdescription, core::mem::transmute(ok__)); + pszdescription.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -253,7 +253,7 @@ impl IAccessible_Vtbl { let this = (*this).get_impl(); match IAccessible_Impl::get_accRole(this, core::mem::transmute(&varchild)) { Ok(ok__) => { - core::ptr::write(pvarrole, core::mem::transmute(ok__)); + pvarrole.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -264,7 +264,7 @@ impl IAccessible_Vtbl { let this = (*this).get_impl(); match IAccessible_Impl::get_accState(this, core::mem::transmute(&varchild)) { Ok(ok__) => { - core::ptr::write(pvarstate, core::mem::transmute(ok__)); + pvarstate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -275,7 +275,7 @@ impl IAccessible_Vtbl { let this = (*this).get_impl(); match IAccessible_Impl::get_accHelp(this, core::mem::transmute(&varchild)) { Ok(ok__) => { - core::ptr::write(pszhelp, core::mem::transmute(ok__)); + pszhelp.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -286,7 +286,7 @@ impl IAccessible_Vtbl { let this = (*this).get_impl(); match IAccessible_Impl::get_accHelpTopic(this, core::mem::transmute_copy(&pszhelpfile), core::mem::transmute(&varchild)) { Ok(ok__) => { - core::ptr::write(pidtopic, core::mem::transmute(ok__)); + pidtopic.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -297,7 +297,7 @@ impl IAccessible_Vtbl { let this = (*this).get_impl(); match IAccessible_Impl::get_accKeyboardShortcut(this, core::mem::transmute(&varchild)) { Ok(ok__) => { - core::ptr::write(pszkeyboardshortcut, core::mem::transmute(ok__)); + pszkeyboardshortcut.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -308,7 +308,7 @@ impl IAccessible_Vtbl { let this = (*this).get_impl(); match IAccessible_Impl::accFocus(this) { Ok(ok__) => { - core::ptr::write(pvarchild, core::mem::transmute(ok__)); + pvarchild.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -319,7 +319,7 @@ impl IAccessible_Vtbl { let this = (*this).get_impl(); match IAccessible_Impl::accSelection(this) { Ok(ok__) => { - core::ptr::write(pvarchildren, core::mem::transmute(ok__)); + pvarchildren.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -330,7 +330,7 @@ impl IAccessible_Vtbl { let this = (*this).get_impl(); match IAccessible_Impl::get_accDefaultAction(this, core::mem::transmute(&varchild)) { Ok(ok__) => { - core::ptr::write(pszdefaultaction, core::mem::transmute(ok__)); + pszdefaultaction.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -351,7 +351,7 @@ impl IAccessible_Vtbl { let this = (*this).get_impl(); match IAccessible_Impl::accNavigate(this, core::mem::transmute_copy(&navdir), core::mem::transmute(&varstart)) { Ok(ok__) => { - core::ptr::write(pvarendupat, core::mem::transmute(ok__)); + pvarendupat.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -362,7 +362,7 @@ impl IAccessible_Vtbl { let this = (*this).get_impl(); match IAccessible_Impl::accHitTest(this, core::mem::transmute_copy(&xleft), core::mem::transmute_copy(&ytop)) { Ok(ok__) => { - core::ptr::write(pvarchild, core::mem::transmute(ok__)); + pvarchild.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -429,7 +429,7 @@ impl IAccessibleEx_Vtbl { let this = (*this).get_impl(); match IAccessibleEx_Impl::GetObjectForChild(this, core::mem::transmute_copy(&idchild)) { Ok(ok__) => { - core::ptr::write(pretval, core::mem::transmute(ok__)); + pretval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -445,7 +445,7 @@ impl IAccessibleEx_Vtbl { let this = (*this).get_impl(); match IAccessibleEx_Impl::GetRuntimeId(this) { Ok(ok__) => { - core::ptr::write(pretval, core::mem::transmute(ok__)); + pretval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -456,7 +456,7 @@ impl IAccessibleEx_Vtbl { let this = (*this).get_impl(); match IAccessibleEx_Impl::ConvertReturnedElement(this, windows_core::from_raw_borrowed(&pin)) { Ok(ok__) => { - core::ptr::write(ppretvalout, core::mem::transmute(ok__)); + ppretvalout.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -488,7 +488,7 @@ impl IAccessibleHandler_Vtbl { let this = (*this).get_impl(); match IAccessibleHandler_Impl::AccessibleObjectFromID(this, core::mem::transmute_copy(&hwnd), core::mem::transmute_copy(&lobjectid)) { Ok(ok__) => { - core::ptr::write(piaccessible, core::mem::transmute(ok__)); + piaccessible.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -515,7 +515,7 @@ impl IAccessibleHostingElementProviders_Vtbl { let this = (*this).get_impl(); match IAccessibleHostingElementProviders_Impl::GetEmbeddedFragmentRoots(this) { Ok(ok__) => { - core::ptr::write(pretval, core::mem::transmute(ok__)); + pretval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -526,7 +526,7 @@ impl IAccessibleHostingElementProviders_Vtbl { let this = (*this).get_impl(); match IAccessibleHostingElementProviders_Impl::GetObjectIdForProvider(this, windows_core::from_raw_borrowed(&pprovider)) { Ok(ok__) => { - core::ptr::write(pidobject, core::mem::transmute(ok__)); + pidobject.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -559,7 +559,7 @@ impl IAccessibleWindowlessSite_Vtbl { let this = (*this).get_impl(); match IAccessibleWindowlessSite_Impl::AcquireObjectIdRange(this, core::mem::transmute_copy(&rangesize), windows_core::from_raw_borrowed(&prangeowner)) { Ok(ok__) => { - core::ptr::write(prangebase, core::mem::transmute(ok__)); + prangebase.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -575,7 +575,7 @@ impl IAccessibleWindowlessSite_Vtbl { let this = (*this).get_impl(); match IAccessibleWindowlessSite_Impl::QueryObjectIdRanges(this, windows_core::from_raw_borrowed(&prangesowner)) { Ok(ok__) => { - core::ptr::write(psaranges, core::mem::transmute(ok__)); + psaranges.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -586,7 +586,7 @@ impl IAccessibleWindowlessSite_Vtbl { let this = (*this).get_impl(); match IAccessibleWindowlessSite_Impl::GetParentAccessible(this) { Ok(ok__) => { - core::ptr::write(ppparent, core::mem::transmute(ok__)); + ppparent.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -619,7 +619,7 @@ impl IAnnotationProvider_Vtbl { let this = (*this).get_impl(); match IAnnotationProvider_Impl::AnnotationTypeId(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -630,7 +630,7 @@ impl IAnnotationProvider_Vtbl { let this = (*this).get_impl(); match IAnnotationProvider_Impl::AnnotationTypeName(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -641,7 +641,7 @@ impl IAnnotationProvider_Vtbl { let this = (*this).get_impl(); match IAnnotationProvider_Impl::Author(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -652,7 +652,7 @@ impl IAnnotationProvider_Vtbl { let this = (*this).get_impl(); match IAnnotationProvider_Impl::DateTime(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -663,7 +663,7 @@ impl IAnnotationProvider_Vtbl { let this = (*this).get_impl(); match IAnnotationProvider_Impl::Target(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -693,7 +693,7 @@ impl ICustomNavigationProvider_Vtbl { let this = (*this).get_impl(); match ICustomNavigationProvider_Impl::Navigate(this, core::mem::transmute_copy(&direction)) { Ok(ok__) => { - core::ptr::write(pretval, core::mem::transmute(ok__)); + pretval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -722,7 +722,7 @@ impl IDockProvider_Vtbl { let this = (*this).get_impl(); match IDockProvider_Impl::DockPosition(this) { Ok(ok__) => { - core::ptr::write(pretval, core::mem::transmute(ok__)); + pretval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -755,7 +755,7 @@ impl IDragProvider_Vtbl { let this = (*this).get_impl(); match IDragProvider_Impl::IsGrabbed(this) { Ok(ok__) => { - core::ptr::write(pretval, core::mem::transmute(ok__)); + pretval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -766,7 +766,7 @@ impl IDragProvider_Vtbl { let this = (*this).get_impl(); match IDragProvider_Impl::DropEffect(this) { Ok(ok__) => { - core::ptr::write(pretval, core::mem::transmute(ok__)); + pretval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -777,7 +777,7 @@ impl IDragProvider_Vtbl { let this = (*this).get_impl(); match IDragProvider_Impl::DropEffects(this) { Ok(ok__) => { - core::ptr::write(pretval, core::mem::transmute(ok__)); + pretval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -788,7 +788,7 @@ impl IDragProvider_Vtbl { let this = (*this).get_impl(); match IDragProvider_Impl::GetGrabbedItems(this) { Ok(ok__) => { - core::ptr::write(pretval, core::mem::transmute(ok__)); + pretval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -821,7 +821,7 @@ impl IDropTargetProvider_Vtbl { let this = (*this).get_impl(); match IDropTargetProvider_Impl::DropTargetEffect(this) { Ok(ok__) => { - core::ptr::write(pretval, core::mem::transmute(ok__)); + pretval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -832,7 +832,7 @@ impl IDropTargetProvider_Vtbl { let this = (*this).get_impl(); match IDropTargetProvider_Impl::DropTargetEffects(this) { Ok(ok__) => { - core::ptr::write(pretval, core::mem::transmute(ok__)); + pretval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -871,7 +871,7 @@ impl IExpandCollapseProvider_Vtbl { let this = (*this).get_impl(); match IExpandCollapseProvider_Impl::ExpandCollapseState(this) { Ok(ok__) => { - core::ptr::write(pretval, core::mem::transmute(ok__)); + pretval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -903,7 +903,7 @@ impl IGridItemProvider_Vtbl { let this = (*this).get_impl(); match IGridItemProvider_Impl::Row(this) { Ok(ok__) => { - core::ptr::write(pretval, core::mem::transmute(ok__)); + pretval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -914,7 +914,7 @@ impl IGridItemProvider_Vtbl { let this = (*this).get_impl(); match IGridItemProvider_Impl::Column(this) { Ok(ok__) => { - core::ptr::write(pretval, core::mem::transmute(ok__)); + pretval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -925,7 +925,7 @@ impl IGridItemProvider_Vtbl { let this = (*this).get_impl(); match IGridItemProvider_Impl::RowSpan(this) { Ok(ok__) => { - core::ptr::write(pretval, core::mem::transmute(ok__)); + pretval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -936,7 +936,7 @@ impl IGridItemProvider_Vtbl { let this = (*this).get_impl(); match IGridItemProvider_Impl::ColumnSpan(this) { Ok(ok__) => { - core::ptr::write(pretval, core::mem::transmute(ok__)); + pretval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -947,7 +947,7 @@ impl IGridItemProvider_Vtbl { let this = (*this).get_impl(); match IGridItemProvider_Impl::ContainingGrid(this) { Ok(ok__) => { - core::ptr::write(pretval, core::mem::transmute(ok__)); + pretval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -979,7 +979,7 @@ impl IGridProvider_Vtbl { let this = (*this).get_impl(); match IGridProvider_Impl::GetItem(this, core::mem::transmute_copy(&row), core::mem::transmute_copy(&column)) { Ok(ok__) => { - core::ptr::write(pretval, core::mem::transmute(ok__)); + pretval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -990,7 +990,7 @@ impl IGridProvider_Vtbl { let this = (*this).get_impl(); match IGridProvider_Impl::RowCount(this) { Ok(ok__) => { - core::ptr::write(pretval, core::mem::transmute(ok__)); + pretval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1001,7 +1001,7 @@ impl IGridProvider_Vtbl { let this = (*this).get_impl(); match IGridProvider_Impl::ColumnCount(this) { Ok(ok__) => { - core::ptr::write(pretval, core::mem::transmute(ok__)); + pretval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1046,7 +1046,7 @@ impl IItemContainerProvider_Vtbl { let this = (*this).get_impl(); match IItemContainerProvider_Impl::FindItemByProperty(this, windows_core::from_raw_borrowed(&pstartafter), core::mem::transmute_copy(&propertyid), core::mem::transmute(&value)) { Ok(ok__) => { - core::ptr::write(pfound, core::mem::transmute(ok__)); + pfound.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1100,7 +1100,7 @@ impl ILegacyIAccessibleProvider_Vtbl { let this = (*this).get_impl(); match ILegacyIAccessibleProvider_Impl::GetIAccessible(this) { Ok(ok__) => { - core::ptr::write(ppaccessible, core::mem::transmute(ok__)); + ppaccessible.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1111,7 +1111,7 @@ impl ILegacyIAccessibleProvider_Vtbl { let this = (*this).get_impl(); match ILegacyIAccessibleProvider_Impl::ChildId(this) { Ok(ok__) => { - core::ptr::write(pretval, core::mem::transmute(ok__)); + pretval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1122,7 +1122,7 @@ impl ILegacyIAccessibleProvider_Vtbl { let this = (*this).get_impl(); match ILegacyIAccessibleProvider_Impl::Name(this) { Ok(ok__) => { - core::ptr::write(pszname, core::mem::transmute(ok__)); + pszname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1133,7 +1133,7 @@ impl ILegacyIAccessibleProvider_Vtbl { let this = (*this).get_impl(); match ILegacyIAccessibleProvider_Impl::Value(this) { Ok(ok__) => { - core::ptr::write(pszvalue, core::mem::transmute(ok__)); + pszvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1144,7 +1144,7 @@ impl ILegacyIAccessibleProvider_Vtbl { let this = (*this).get_impl(); match ILegacyIAccessibleProvider_Impl::Description(this) { Ok(ok__) => { - core::ptr::write(pszdescription, core::mem::transmute(ok__)); + pszdescription.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1155,7 +1155,7 @@ impl ILegacyIAccessibleProvider_Vtbl { let this = (*this).get_impl(); match ILegacyIAccessibleProvider_Impl::Role(this) { Ok(ok__) => { - core::ptr::write(pdwrole, core::mem::transmute(ok__)); + pdwrole.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1166,7 +1166,7 @@ impl ILegacyIAccessibleProvider_Vtbl { let this = (*this).get_impl(); match ILegacyIAccessibleProvider_Impl::State(this) { Ok(ok__) => { - core::ptr::write(pdwstate, core::mem::transmute(ok__)); + pdwstate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1177,7 +1177,7 @@ impl ILegacyIAccessibleProvider_Vtbl { let this = (*this).get_impl(); match ILegacyIAccessibleProvider_Impl::Help(this) { Ok(ok__) => { - core::ptr::write(pszhelp, core::mem::transmute(ok__)); + pszhelp.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1188,7 +1188,7 @@ impl ILegacyIAccessibleProvider_Vtbl { let this = (*this).get_impl(); match ILegacyIAccessibleProvider_Impl::KeyboardShortcut(this) { Ok(ok__) => { - core::ptr::write(pszkeyboardshortcut, core::mem::transmute(ok__)); + pszkeyboardshortcut.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1199,7 +1199,7 @@ impl ILegacyIAccessibleProvider_Vtbl { let this = (*this).get_impl(); match ILegacyIAccessibleProvider_Impl::GetSelection(this) { Ok(ok__) => { - core::ptr::write(pvarselectedchildren, core::mem::transmute(ok__)); + pvarselectedchildren.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1210,7 +1210,7 @@ impl ILegacyIAccessibleProvider_Vtbl { let this = (*this).get_impl(); match ILegacyIAccessibleProvider_Impl::DefaultAction(this) { Ok(ok__) => { - core::ptr::write(pszdefaultaction, core::mem::transmute(ok__)); + pszdefaultaction.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1255,7 +1255,7 @@ impl IMultipleViewProvider_Vtbl { let this = (*this).get_impl(); match IMultipleViewProvider_Impl::GetViewName(this, core::mem::transmute_copy(&viewid)) { Ok(ok__) => { - core::ptr::write(pretval, core::mem::transmute(ok__)); + pretval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1271,7 +1271,7 @@ impl IMultipleViewProvider_Vtbl { let this = (*this).get_impl(); match IMultipleViewProvider_Impl::CurrentView(this) { Ok(ok__) => { - core::ptr::write(pretval, core::mem::transmute(ok__)); + pretval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1282,7 +1282,7 @@ impl IMultipleViewProvider_Vtbl { let this = (*this).get_impl(); match IMultipleViewProvider_Impl::GetSupportedViews(this) { Ok(ok__) => { - core::ptr::write(pretval, core::mem::transmute(ok__)); + pretval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1311,7 +1311,7 @@ impl IObjectModelProvider_Vtbl { let this = (*this).get_impl(); match IObjectModelProvider_Impl::GetUnderlyingObjectModel(this) { Ok(ok__) => { - core::ptr::write(ppunknown, core::mem::transmute(ok__)); + ppunknown.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1399,7 +1399,7 @@ impl IRangeValueProvider_Vtbl { let this = (*this).get_impl(); match IRangeValueProvider_Impl::Value(this) { Ok(ok__) => { - core::ptr::write(pretval, core::mem::transmute(ok__)); + pretval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1410,7 +1410,7 @@ impl IRangeValueProvider_Vtbl { let this = (*this).get_impl(); match IRangeValueProvider_Impl::IsReadOnly(this) { Ok(ok__) => { - core::ptr::write(pretval, core::mem::transmute(ok__)); + pretval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1421,7 +1421,7 @@ impl IRangeValueProvider_Vtbl { let this = (*this).get_impl(); match IRangeValueProvider_Impl::Maximum(this) { Ok(ok__) => { - core::ptr::write(pretval, core::mem::transmute(ok__)); + pretval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1432,7 +1432,7 @@ impl IRangeValueProvider_Vtbl { let this = (*this).get_impl(); match IRangeValueProvider_Impl::Minimum(this) { Ok(ok__) => { - core::ptr::write(pretval, core::mem::transmute(ok__)); + pretval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1443,7 +1443,7 @@ impl IRangeValueProvider_Vtbl { let this = (*this).get_impl(); match IRangeValueProvider_Impl::LargeChange(this) { Ok(ok__) => { - core::ptr::write(pretval, core::mem::transmute(ok__)); + pretval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1454,7 +1454,7 @@ impl IRangeValueProvider_Vtbl { let this = (*this).get_impl(); match IRangeValueProvider_Impl::SmallChange(this) { Ok(ok__) => { - core::ptr::write(pretval, core::mem::transmute(ok__)); + pretval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1524,7 +1524,7 @@ impl IRawElementProviderFragment_Vtbl { let this = (*this).get_impl(); match IRawElementProviderFragment_Impl::Navigate(this, core::mem::transmute_copy(&direction)) { Ok(ok__) => { - core::ptr::write(pretval, core::mem::transmute(ok__)); + pretval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1535,7 +1535,7 @@ impl IRawElementProviderFragment_Vtbl { let this = (*this).get_impl(); match IRawElementProviderFragment_Impl::GetRuntimeId(this) { Ok(ok__) => { - core::ptr::write(pretval, core::mem::transmute(ok__)); + pretval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1546,7 +1546,7 @@ impl IRawElementProviderFragment_Vtbl { let this = (*this).get_impl(); match IRawElementProviderFragment_Impl::BoundingRectangle(this) { Ok(ok__) => { - core::ptr::write(pretval, core::mem::transmute(ok__)); + pretval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1557,7 +1557,7 @@ impl IRawElementProviderFragment_Vtbl { let this = (*this).get_impl(); match IRawElementProviderFragment_Impl::GetEmbeddedFragmentRoots(this) { Ok(ok__) => { - core::ptr::write(pretval, core::mem::transmute(ok__)); + pretval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1573,7 +1573,7 @@ impl IRawElementProviderFragment_Vtbl { let this = (*this).get_impl(); match IRawElementProviderFragment_Impl::FragmentRoot(this) { Ok(ok__) => { - core::ptr::write(pretval, core::mem::transmute(ok__)); + pretval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1605,7 +1605,7 @@ impl IRawElementProviderFragmentRoot_Vtbl { let this = (*this).get_impl(); match IRawElementProviderFragmentRoot_Impl::ElementProviderFromPoint(this, core::mem::transmute_copy(&x), core::mem::transmute_copy(&y)) { Ok(ok__) => { - core::ptr::write(pretval, core::mem::transmute(ok__)); + pretval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1616,7 +1616,7 @@ impl IRawElementProviderFragmentRoot_Vtbl { let this = (*this).get_impl(); match IRawElementProviderFragmentRoot_Impl::GetFocus(this) { Ok(ok__) => { - core::ptr::write(pretval, core::mem::transmute(ok__)); + pretval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1646,7 +1646,7 @@ impl IRawElementProviderHostingAccessibles_Vtbl { let this = (*this).get_impl(); match IRawElementProviderHostingAccessibles_Impl::GetEmbeddedAccessibles(this) { Ok(ok__) => { - core::ptr::write(pretval, core::mem::transmute(ok__)); + pretval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1669,7 +1669,7 @@ impl IRawElementProviderHwndOverride_Vtbl { let this = (*this).get_impl(); match IRawElementProviderHwndOverride_Impl::GetOverrideProviderForHwnd(this, core::mem::transmute_copy(&hwnd)) { Ok(ok__) => { - core::ptr::write(pretval, core::mem::transmute(ok__)); + pretval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1695,7 +1695,7 @@ impl IRawElementProviderSimple_Vtbl { let this = (*this).get_impl(); match IRawElementProviderSimple_Impl::ProviderOptions(this) { Ok(ok__) => { - core::ptr::write(pretval, core::mem::transmute(ok__)); + pretval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1706,7 +1706,7 @@ impl IRawElementProviderSimple_Vtbl { let this = (*this).get_impl(); match IRawElementProviderSimple_Impl::GetPatternProvider(this, core::mem::transmute_copy(&patternid)) { Ok(ok__) => { - core::ptr::write(pretval, core::mem::transmute(ok__)); + pretval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1717,7 +1717,7 @@ impl IRawElementProviderSimple_Vtbl { let this = (*this).get_impl(); match IRawElementProviderSimple_Impl::GetPropertyValue(this, core::mem::transmute_copy(&propertyid)) { Ok(ok__) => { - core::ptr::write(pretval, core::mem::transmute(ok__)); + pretval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1728,7 +1728,7 @@ impl IRawElementProviderSimple_Vtbl { let this = (*this).get_impl(); match IRawElementProviderSimple_Impl::HostRawElementProvider(this) { Ok(ok__) => { - core::ptr::write(pretval, core::mem::transmute(ok__)); + pretval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1774,7 +1774,7 @@ impl IRawElementProviderSimple3_Vtbl { let this = (*this).get_impl(); match IRawElementProviderSimple3_Impl::GetMetadataValue(this, core::mem::transmute_copy(&targetid), core::mem::transmute_copy(&metadataid)) { Ok(ok__) => { - core::ptr::write(returnval, core::mem::transmute(ok__)); + returnval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1801,7 +1801,7 @@ impl IRawElementProviderWindowlessSite_Vtbl { let this = (*this).get_impl(); match IRawElementProviderWindowlessSite_Impl::GetAdjacentFragment(this, core::mem::transmute_copy(&direction)) { Ok(ok__) => { - core::ptr::write(ppparent, core::mem::transmute(ok__)); + ppparent.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1812,7 +1812,7 @@ impl IRawElementProviderWindowlessSite_Vtbl { let this = (*this).get_impl(); match IRawElementProviderWindowlessSite_Impl::GetRuntimeIdPrefix(this) { Ok(ok__) => { - core::ptr::write(pretval, core::mem::transmute(ok__)); + pretval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1866,7 +1866,7 @@ impl IRicheditWindowlessAccessibility_Vtbl { let this = (*this).get_impl(); match IRicheditWindowlessAccessibility_Impl::CreateProvider(this, windows_core::from_raw_borrowed(&psite)) { Ok(ok__) => { - core::ptr::write(ppprovider, core::mem::transmute(ok__)); + ppprovider.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1923,7 +1923,7 @@ impl IScrollProvider_Vtbl { let this = (*this).get_impl(); match IScrollProvider_Impl::HorizontalScrollPercent(this) { Ok(ok__) => { - core::ptr::write(pretval, core::mem::transmute(ok__)); + pretval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1934,7 +1934,7 @@ impl IScrollProvider_Vtbl { let this = (*this).get_impl(); match IScrollProvider_Impl::VerticalScrollPercent(this) { Ok(ok__) => { - core::ptr::write(pretval, core::mem::transmute(ok__)); + pretval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1945,7 +1945,7 @@ impl IScrollProvider_Vtbl { let this = (*this).get_impl(); match IScrollProvider_Impl::HorizontalViewSize(this) { Ok(ok__) => { - core::ptr::write(pretval, core::mem::transmute(ok__)); + pretval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1956,7 +1956,7 @@ impl IScrollProvider_Vtbl { let this = (*this).get_impl(); match IScrollProvider_Impl::VerticalViewSize(this) { Ok(ok__) => { - core::ptr::write(pretval, core::mem::transmute(ok__)); + pretval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1967,7 +1967,7 @@ impl IScrollProvider_Vtbl { let this = (*this).get_impl(); match IScrollProvider_Impl::HorizontallyScrollable(this) { Ok(ok__) => { - core::ptr::write(pretval, core::mem::transmute(ok__)); + pretval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1978,7 +1978,7 @@ impl IScrollProvider_Vtbl { let this = (*this).get_impl(); match IScrollProvider_Impl::VerticallyScrollable(this) { Ok(ok__) => { - core::ptr::write(pretval, core::mem::transmute(ok__)); + pretval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2030,7 +2030,7 @@ impl ISelectionItemProvider_Vtbl { let this = (*this).get_impl(); match ISelectionItemProvider_Impl::IsSelected(this) { Ok(ok__) => { - core::ptr::write(pretval, core::mem::transmute(ok__)); + pretval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2041,7 +2041,7 @@ impl ISelectionItemProvider_Vtbl { let this = (*this).get_impl(); match ISelectionItemProvider_Impl::SelectionContainer(this) { Ok(ok__) => { - core::ptr::write(pretval, core::mem::transmute(ok__)); + pretval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2076,7 +2076,7 @@ impl ISelectionProvider_Vtbl { let this = (*this).get_impl(); match ISelectionProvider_Impl::GetSelection(this) { Ok(ok__) => { - core::ptr::write(pretval, core::mem::transmute(ok__)); + pretval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2087,7 +2087,7 @@ impl ISelectionProvider_Vtbl { let this = (*this).get_impl(); match ISelectionProvider_Impl::CanSelectMultiple(this) { Ok(ok__) => { - core::ptr::write(pretval, core::mem::transmute(ok__)); + pretval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2098,7 +2098,7 @@ impl ISelectionProvider_Vtbl { let this = (*this).get_impl(); match ISelectionProvider_Impl::IsSelectionRequired(this) { Ok(ok__) => { - core::ptr::write(pretval, core::mem::transmute(ok__)); + pretval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2132,7 +2132,7 @@ impl ISelectionProvider2_Vtbl { let this = (*this).get_impl(); match ISelectionProvider2_Impl::FirstSelectedItem(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2143,7 +2143,7 @@ impl ISelectionProvider2_Vtbl { let this = (*this).get_impl(); match ISelectionProvider2_Impl::LastSelectedItem(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2154,7 +2154,7 @@ impl ISelectionProvider2_Vtbl { let this = (*this).get_impl(); match ISelectionProvider2_Impl::CurrentSelectedItem(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2165,7 +2165,7 @@ impl ISelectionProvider2_Vtbl { let this = (*this).get_impl(); match ISelectionProvider2_Impl::ItemCount(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2199,7 +2199,7 @@ impl ISpreadsheetItemProvider_Vtbl { let this = (*this).get_impl(); match ISpreadsheetItemProvider_Impl::Formula(this) { Ok(ok__) => { - core::ptr::write(pretval, core::mem::transmute(ok__)); + pretval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2210,7 +2210,7 @@ impl ISpreadsheetItemProvider_Vtbl { let this = (*this).get_impl(); match ISpreadsheetItemProvider_Impl::GetAnnotationObjects(this) { Ok(ok__) => { - core::ptr::write(pretval, core::mem::transmute(ok__)); + pretval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2221,7 +2221,7 @@ impl ISpreadsheetItemProvider_Vtbl { let this = (*this).get_impl(); match ISpreadsheetItemProvider_Impl::GetAnnotationTypes(this) { Ok(ok__) => { - core::ptr::write(pretval, core::mem::transmute(ok__)); + pretval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2249,7 +2249,7 @@ impl ISpreadsheetProvider_Vtbl { let this = (*this).get_impl(); match ISpreadsheetProvider_Impl::GetItemByName(this, core::mem::transmute(&name)) { Ok(ok__) => { - core::ptr::write(pretval, core::mem::transmute(ok__)); + pretval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2278,7 +2278,7 @@ impl IStylesProvider_Vtbl { let this = (*this).get_impl(); match IStylesProvider_Impl::StyleId(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2289,7 +2289,7 @@ impl IStylesProvider_Vtbl { let this = (*this).get_impl(); match IStylesProvider_Impl::StyleName(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2300,7 +2300,7 @@ impl IStylesProvider_Vtbl { let this = (*this).get_impl(); match IStylesProvider_Impl::FillColor(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2311,7 +2311,7 @@ impl IStylesProvider_Vtbl { let this = (*this).get_impl(); match IStylesProvider_Impl::FillPatternStyle(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2322,7 +2322,7 @@ impl IStylesProvider_Vtbl { let this = (*this).get_impl(); match IStylesProvider_Impl::Shape(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2333,7 +2333,7 @@ impl IStylesProvider_Vtbl { let this = (*this).get_impl(); match IStylesProvider_Impl::FillPatternColor(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2344,7 +2344,7 @@ impl IStylesProvider_Vtbl { let this = (*this).get_impl(); match IStylesProvider_Impl::ExtendedProperties(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2407,7 +2407,7 @@ impl ITableItemProvider_Vtbl { let this = (*this).get_impl(); match ITableItemProvider_Impl::GetRowHeaderItems(this) { Ok(ok__) => { - core::ptr::write(pretval, core::mem::transmute(ok__)); + pretval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2418,7 +2418,7 @@ impl ITableItemProvider_Vtbl { let this = (*this).get_impl(); match ITableItemProvider_Impl::GetColumnHeaderItems(this) { Ok(ok__) => { - core::ptr::write(pretval, core::mem::transmute(ok__)); + pretval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2450,7 +2450,7 @@ impl ITableProvider_Vtbl { let this = (*this).get_impl(); match ITableProvider_Impl::GetRowHeaders(this) { Ok(ok__) => { - core::ptr::write(pretval, core::mem::transmute(ok__)); + pretval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2461,7 +2461,7 @@ impl ITableProvider_Vtbl { let this = (*this).get_impl(); match ITableProvider_Impl::GetColumnHeaders(this) { Ok(ok__) => { - core::ptr::write(pretval, core::mem::transmute(ok__)); + pretval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2472,7 +2472,7 @@ impl ITableProvider_Vtbl { let this = (*this).get_impl(); match ITableProvider_Impl::RowOrColumnMajor(this) { Ok(ok__) => { - core::ptr::write(pretval, core::mem::transmute(ok__)); + pretval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2501,7 +2501,7 @@ impl ITextChildProvider_Vtbl { let this = (*this).get_impl(); match ITextChildProvider_Impl::TextContainer(this) { Ok(ok__) => { - core::ptr::write(pretval, core::mem::transmute(ok__)); + pretval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2512,7 +2512,7 @@ impl ITextChildProvider_Vtbl { let this = (*this).get_impl(); match ITextChildProvider_Impl::TextRange(this) { Ok(ok__) => { - core::ptr::write(pretval, core::mem::transmute(ok__)); + pretval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2543,7 +2543,7 @@ impl ITextEditProvider_Vtbl { let this = (*this).get_impl(); match ITextEditProvider_Impl::GetActiveComposition(this) { Ok(ok__) => { - core::ptr::write(pretval, core::mem::transmute(ok__)); + pretval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2554,7 +2554,7 @@ impl ITextEditProvider_Vtbl { let this = (*this).get_impl(); match ITextEditProvider_Impl::GetConversionTarget(this) { Ok(ok__) => { - core::ptr::write(pretval, core::mem::transmute(ok__)); + pretval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2589,7 +2589,7 @@ impl ITextProvider_Vtbl { let this = (*this).get_impl(); match ITextProvider_Impl::GetSelection(this) { Ok(ok__) => { - core::ptr::write(pretval, core::mem::transmute(ok__)); + pretval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2600,7 +2600,7 @@ impl ITextProvider_Vtbl { let this = (*this).get_impl(); match ITextProvider_Impl::GetVisibleRanges(this) { Ok(ok__) => { - core::ptr::write(pretval, core::mem::transmute(ok__)); + pretval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2611,7 +2611,7 @@ impl ITextProvider_Vtbl { let this = (*this).get_impl(); match ITextProvider_Impl::RangeFromChild(this, windows_core::from_raw_borrowed(&childelement)) { Ok(ok__) => { - core::ptr::write(pretval, core::mem::transmute(ok__)); + pretval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2622,7 +2622,7 @@ impl ITextProvider_Vtbl { let this = (*this).get_impl(); match ITextProvider_Impl::RangeFromPoint(this, core::mem::transmute(&point)) { Ok(ok__) => { - core::ptr::write(pretval, core::mem::transmute(ok__)); + pretval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2633,7 +2633,7 @@ impl ITextProvider_Vtbl { let this = (*this).get_impl(); match ITextProvider_Impl::DocumentRange(this) { Ok(ok__) => { - core::ptr::write(pretval, core::mem::transmute(ok__)); + pretval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2644,7 +2644,7 @@ impl ITextProvider_Vtbl { let this = (*this).get_impl(); match ITextProvider_Impl::SupportedTextSelection(this) { Ok(ok__) => { - core::ptr::write(pretval, core::mem::transmute(ok__)); + pretval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2679,7 +2679,7 @@ impl ITextProvider2_Vtbl { let this = (*this).get_impl(); match ITextProvider2_Impl::RangeFromAnnotation(this, windows_core::from_raw_borrowed(&annotationelement)) { Ok(ok__) => { - core::ptr::write(pretval, core::mem::transmute(ok__)); + pretval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2690,7 +2690,7 @@ impl ITextProvider2_Vtbl { let this = (*this).get_impl(); match ITextProvider2_Impl::GetCaretRange(this, core::mem::transmute_copy(&isactive)) { Ok(ok__) => { - core::ptr::write(pretval, core::mem::transmute(ok__)); + pretval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2737,7 +2737,7 @@ impl ITextRangeProvider_Vtbl { let this = (*this).get_impl(); match ITextRangeProvider_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(pretval, core::mem::transmute(ok__)); + pretval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2748,7 +2748,7 @@ impl ITextRangeProvider_Vtbl { let this = (*this).get_impl(); match ITextRangeProvider_Impl::Compare(this, windows_core::from_raw_borrowed(&range)) { Ok(ok__) => { - core::ptr::write(pretval, core::mem::transmute(ok__)); + pretval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2759,7 +2759,7 @@ impl ITextRangeProvider_Vtbl { let this = (*this).get_impl(); match ITextRangeProvider_Impl::CompareEndpoints(this, core::mem::transmute_copy(&endpoint), windows_core::from_raw_borrowed(&targetrange), core::mem::transmute_copy(&targetendpoint)) { Ok(ok__) => { - core::ptr::write(pretval, core::mem::transmute(ok__)); + pretval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2775,7 +2775,7 @@ impl ITextRangeProvider_Vtbl { let this = (*this).get_impl(); match ITextRangeProvider_Impl::FindAttribute(this, core::mem::transmute_copy(&attributeid), core::mem::transmute(&val), core::mem::transmute_copy(&backward)) { Ok(ok__) => { - core::ptr::write(pretval, core::mem::transmute(ok__)); + pretval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2786,7 +2786,7 @@ impl ITextRangeProvider_Vtbl { let this = (*this).get_impl(); match ITextRangeProvider_Impl::FindText(this, core::mem::transmute(&text), core::mem::transmute_copy(&backward), core::mem::transmute_copy(&ignorecase)) { Ok(ok__) => { - core::ptr::write(pretval, core::mem::transmute(ok__)); + pretval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2797,7 +2797,7 @@ impl ITextRangeProvider_Vtbl { let this = (*this).get_impl(); match ITextRangeProvider_Impl::GetAttributeValue(this, core::mem::transmute_copy(&attributeid)) { Ok(ok__) => { - core::ptr::write(pretval, core::mem::transmute(ok__)); + pretval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2808,7 +2808,7 @@ impl ITextRangeProvider_Vtbl { let this = (*this).get_impl(); match ITextRangeProvider_Impl::GetBoundingRectangles(this) { Ok(ok__) => { - core::ptr::write(pretval, core::mem::transmute(ok__)); + pretval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2819,7 +2819,7 @@ impl ITextRangeProvider_Vtbl { let this = (*this).get_impl(); match ITextRangeProvider_Impl::GetEnclosingElement(this) { Ok(ok__) => { - core::ptr::write(pretval, core::mem::transmute(ok__)); + pretval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2830,7 +2830,7 @@ impl ITextRangeProvider_Vtbl { let this = (*this).get_impl(); match ITextRangeProvider_Impl::GetText(this, core::mem::transmute_copy(&maxlength)) { Ok(ok__) => { - core::ptr::write(pretval, core::mem::transmute(ok__)); + pretval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2841,7 +2841,7 @@ impl ITextRangeProvider_Vtbl { let this = (*this).get_impl(); match ITextRangeProvider_Impl::Move(this, core::mem::transmute_copy(&unit), core::mem::transmute_copy(&count)) { Ok(ok__) => { - core::ptr::write(pretval, core::mem::transmute(ok__)); + pretval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2852,7 +2852,7 @@ impl ITextRangeProvider_Vtbl { let this = (*this).get_impl(); match ITextRangeProvider_Impl::MoveEndpointByUnit(this, core::mem::transmute_copy(&endpoint), core::mem::transmute_copy(&unit), core::mem::transmute_copy(&count)) { Ok(ok__) => { - core::ptr::write(pretval, core::mem::transmute(ok__)); + pretval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2888,7 +2888,7 @@ impl ITextRangeProvider_Vtbl { let this = (*this).get_impl(); match ITextRangeProvider_Impl::GetChildren(this) { Ok(ok__) => { - core::ptr::write(pretval, core::mem::transmute(ok__)); + pretval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2957,7 +2957,7 @@ impl IToggleProvider_Vtbl { let this = (*this).get_impl(); match IToggleProvider_Impl::ToggleState(this) { Ok(ok__) => { - core::ptr::write(pretval, core::mem::transmute(ok__)); + pretval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3004,7 +3004,7 @@ impl ITransformProvider_Vtbl { let this = (*this).get_impl(); match ITransformProvider_Impl::CanMove(this) { Ok(ok__) => { - core::ptr::write(pretval, core::mem::transmute(ok__)); + pretval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3015,7 +3015,7 @@ impl ITransformProvider_Vtbl { let this = (*this).get_impl(); match ITransformProvider_Impl::CanResize(this) { Ok(ok__) => { - core::ptr::write(pretval, core::mem::transmute(ok__)); + pretval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3026,7 +3026,7 @@ impl ITransformProvider_Vtbl { let this = (*this).get_impl(); match ITransformProvider_Impl::CanRotate(this) { Ok(ok__) => { - core::ptr::write(pretval, core::mem::transmute(ok__)); + pretval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3067,7 +3067,7 @@ impl ITransformProvider2_Vtbl { let this = (*this).get_impl(); match ITransformProvider2_Impl::CanZoom(this) { Ok(ok__) => { - core::ptr::write(pretval, core::mem::transmute(ok__)); + pretval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3078,7 +3078,7 @@ impl ITransformProvider2_Vtbl { let this = (*this).get_impl(); match ITransformProvider2_Impl::ZoomLevel(this) { Ok(ok__) => { - core::ptr::write(pretval, core::mem::transmute(ok__)); + pretval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3089,7 +3089,7 @@ impl ITransformProvider2_Vtbl { let this = (*this).get_impl(); match ITransformProvider2_Impl::ZoomMinimum(this) { Ok(ok__) => { - core::ptr::write(pretval, core::mem::transmute(ok__)); + pretval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3100,7 +3100,7 @@ impl ITransformProvider2_Vtbl { let this = (*this).get_impl(); match ITransformProvider2_Impl::ZoomMaximum(this) { Ok(ok__) => { - core::ptr::write(pretval, core::mem::transmute(ok__)); + pretval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3193,7 +3193,7 @@ impl IUIAutomation_Vtbl { let this = (*this).get_impl(); match IUIAutomation_Impl::CompareElements(this, windows_core::from_raw_borrowed(&el1), windows_core::from_raw_borrowed(&el2)) { Ok(ok__) => { - core::ptr::write(aresame, core::mem::transmute(ok__)); + aresame.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3204,7 +3204,7 @@ impl IUIAutomation_Vtbl { let this = (*this).get_impl(); match IUIAutomation_Impl::CompareRuntimeIds(this, core::mem::transmute_copy(&runtimeid1), core::mem::transmute_copy(&runtimeid2)) { Ok(ok__) => { - core::ptr::write(aresame, core::mem::transmute(ok__)); + aresame.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3215,7 +3215,7 @@ impl IUIAutomation_Vtbl { let this = (*this).get_impl(); match IUIAutomation_Impl::GetRootElement(this) { Ok(ok__) => { - core::ptr::write(root, core::mem::transmute(ok__)); + root.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3226,7 +3226,7 @@ impl IUIAutomation_Vtbl { let this = (*this).get_impl(); match IUIAutomation_Impl::ElementFromHandle(this, core::mem::transmute_copy(&hwnd)) { Ok(ok__) => { - core::ptr::write(element, core::mem::transmute(ok__)); + element.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3237,7 +3237,7 @@ impl IUIAutomation_Vtbl { let this = (*this).get_impl(); match IUIAutomation_Impl::ElementFromPoint(this, core::mem::transmute(&pt)) { Ok(ok__) => { - core::ptr::write(element, core::mem::transmute(ok__)); + element.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3248,7 +3248,7 @@ impl IUIAutomation_Vtbl { let this = (*this).get_impl(); match IUIAutomation_Impl::GetFocusedElement(this) { Ok(ok__) => { - core::ptr::write(element, core::mem::transmute(ok__)); + element.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3259,7 +3259,7 @@ impl IUIAutomation_Vtbl { let this = (*this).get_impl(); match IUIAutomation_Impl::GetRootElementBuildCache(this, windows_core::from_raw_borrowed(&cacherequest)) { Ok(ok__) => { - core::ptr::write(root, core::mem::transmute(ok__)); + root.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3270,7 +3270,7 @@ impl IUIAutomation_Vtbl { let this = (*this).get_impl(); match IUIAutomation_Impl::ElementFromHandleBuildCache(this, core::mem::transmute_copy(&hwnd), windows_core::from_raw_borrowed(&cacherequest)) { Ok(ok__) => { - core::ptr::write(element, core::mem::transmute(ok__)); + element.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3281,7 +3281,7 @@ impl IUIAutomation_Vtbl { let this = (*this).get_impl(); match IUIAutomation_Impl::ElementFromPointBuildCache(this, core::mem::transmute(&pt), windows_core::from_raw_borrowed(&cacherequest)) { Ok(ok__) => { - core::ptr::write(element, core::mem::transmute(ok__)); + element.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3292,7 +3292,7 @@ impl IUIAutomation_Vtbl { let this = (*this).get_impl(); match IUIAutomation_Impl::GetFocusedElementBuildCache(this, windows_core::from_raw_borrowed(&cacherequest)) { Ok(ok__) => { - core::ptr::write(element, core::mem::transmute(ok__)); + element.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3303,7 +3303,7 @@ impl IUIAutomation_Vtbl { let this = (*this).get_impl(); match IUIAutomation_Impl::CreateTreeWalker(this, windows_core::from_raw_borrowed(&pcondition)) { Ok(ok__) => { - core::ptr::write(walker, core::mem::transmute(ok__)); + walker.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3314,7 +3314,7 @@ impl IUIAutomation_Vtbl { let this = (*this).get_impl(); match IUIAutomation_Impl::ControlViewWalker(this) { Ok(ok__) => { - core::ptr::write(walker, core::mem::transmute(ok__)); + walker.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3325,7 +3325,7 @@ impl IUIAutomation_Vtbl { let this = (*this).get_impl(); match IUIAutomation_Impl::ContentViewWalker(this) { Ok(ok__) => { - core::ptr::write(walker, core::mem::transmute(ok__)); + walker.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3336,7 +3336,7 @@ impl IUIAutomation_Vtbl { let this = (*this).get_impl(); match IUIAutomation_Impl::RawViewWalker(this) { Ok(ok__) => { - core::ptr::write(walker, core::mem::transmute(ok__)); + walker.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3347,7 +3347,7 @@ impl IUIAutomation_Vtbl { let this = (*this).get_impl(); match IUIAutomation_Impl::RawViewCondition(this) { Ok(ok__) => { - core::ptr::write(condition, core::mem::transmute(ok__)); + condition.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3358,7 +3358,7 @@ impl IUIAutomation_Vtbl { let this = (*this).get_impl(); match IUIAutomation_Impl::ControlViewCondition(this) { Ok(ok__) => { - core::ptr::write(condition, core::mem::transmute(ok__)); + condition.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3369,7 +3369,7 @@ impl IUIAutomation_Vtbl { let this = (*this).get_impl(); match IUIAutomation_Impl::ContentViewCondition(this) { Ok(ok__) => { - core::ptr::write(condition, core::mem::transmute(ok__)); + condition.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3380,7 +3380,7 @@ impl IUIAutomation_Vtbl { let this = (*this).get_impl(); match IUIAutomation_Impl::CreateCacheRequest(this) { Ok(ok__) => { - core::ptr::write(cacherequest, core::mem::transmute(ok__)); + cacherequest.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3391,7 +3391,7 @@ impl IUIAutomation_Vtbl { let this = (*this).get_impl(); match IUIAutomation_Impl::CreateTrueCondition(this) { Ok(ok__) => { - core::ptr::write(newcondition, core::mem::transmute(ok__)); + newcondition.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3402,7 +3402,7 @@ impl IUIAutomation_Vtbl { let this = (*this).get_impl(); match IUIAutomation_Impl::CreateFalseCondition(this) { Ok(ok__) => { - core::ptr::write(newcondition, core::mem::transmute(ok__)); + newcondition.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3413,7 +3413,7 @@ impl IUIAutomation_Vtbl { let this = (*this).get_impl(); match IUIAutomation_Impl::CreatePropertyCondition(this, core::mem::transmute_copy(&propertyid), core::mem::transmute(&value)) { Ok(ok__) => { - core::ptr::write(newcondition, core::mem::transmute(ok__)); + newcondition.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3424,7 +3424,7 @@ impl IUIAutomation_Vtbl { let this = (*this).get_impl(); match IUIAutomation_Impl::CreatePropertyConditionEx(this, core::mem::transmute_copy(&propertyid), core::mem::transmute(&value), core::mem::transmute_copy(&flags)) { Ok(ok__) => { - core::ptr::write(newcondition, core::mem::transmute(ok__)); + newcondition.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3435,7 +3435,7 @@ impl IUIAutomation_Vtbl { let this = (*this).get_impl(); match IUIAutomation_Impl::CreateAndCondition(this, windows_core::from_raw_borrowed(&condition1), windows_core::from_raw_borrowed(&condition2)) { Ok(ok__) => { - core::ptr::write(newcondition, core::mem::transmute(ok__)); + newcondition.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3446,7 +3446,7 @@ impl IUIAutomation_Vtbl { let this = (*this).get_impl(); match IUIAutomation_Impl::CreateAndConditionFromArray(this, core::mem::transmute_copy(&conditions)) { Ok(ok__) => { - core::ptr::write(newcondition, core::mem::transmute(ok__)); + newcondition.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3457,7 +3457,7 @@ impl IUIAutomation_Vtbl { let this = (*this).get_impl(); match IUIAutomation_Impl::CreateAndConditionFromNativeArray(this, core::mem::transmute_copy(&conditions), core::mem::transmute_copy(&conditioncount)) { Ok(ok__) => { - core::ptr::write(newcondition, core::mem::transmute(ok__)); + newcondition.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3468,7 +3468,7 @@ impl IUIAutomation_Vtbl { let this = (*this).get_impl(); match IUIAutomation_Impl::CreateOrCondition(this, windows_core::from_raw_borrowed(&condition1), windows_core::from_raw_borrowed(&condition2)) { Ok(ok__) => { - core::ptr::write(newcondition, core::mem::transmute(ok__)); + newcondition.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3479,7 +3479,7 @@ impl IUIAutomation_Vtbl { let this = (*this).get_impl(); match IUIAutomation_Impl::CreateOrConditionFromArray(this, core::mem::transmute_copy(&conditions)) { Ok(ok__) => { - core::ptr::write(newcondition, core::mem::transmute(ok__)); + newcondition.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3490,7 +3490,7 @@ impl IUIAutomation_Vtbl { let this = (*this).get_impl(); match IUIAutomation_Impl::CreateOrConditionFromNativeArray(this, core::mem::transmute_copy(&conditions), core::mem::transmute_copy(&conditioncount)) { Ok(ok__) => { - core::ptr::write(newcondition, core::mem::transmute(ok__)); + newcondition.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3501,7 +3501,7 @@ impl IUIAutomation_Vtbl { let this = (*this).get_impl(); match IUIAutomation_Impl::CreateNotCondition(this, windows_core::from_raw_borrowed(&condition)) { Ok(ok__) => { - core::ptr::write(newcondition, core::mem::transmute(ok__)); + newcondition.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3562,7 +3562,7 @@ impl IUIAutomation_Vtbl { let this = (*this).get_impl(); match IUIAutomation_Impl::IntNativeArrayToSafeArray(this, core::mem::transmute_copy(&array), core::mem::transmute_copy(&arraycount)) { Ok(ok__) => { - core::ptr::write(safearray, core::mem::transmute(ok__)); + safearray.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3573,7 +3573,7 @@ impl IUIAutomation_Vtbl { let this = (*this).get_impl(); match IUIAutomation_Impl::IntSafeArrayToNativeArray(this, core::mem::transmute_copy(&intarray), core::mem::transmute_copy(&array)) { Ok(ok__) => { - core::ptr::write(arraycount, core::mem::transmute(ok__)); + arraycount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3584,7 +3584,7 @@ impl IUIAutomation_Vtbl { let this = (*this).get_impl(); match IUIAutomation_Impl::RectToVariant(this, core::mem::transmute(&rc)) { Ok(ok__) => { - core::ptr::write(var, core::mem::transmute(ok__)); + var.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3595,7 +3595,7 @@ impl IUIAutomation_Vtbl { let this = (*this).get_impl(); match IUIAutomation_Impl::VariantToRect(this, core::mem::transmute(&var)) { Ok(ok__) => { - core::ptr::write(rc, core::mem::transmute(ok__)); + rc.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3606,7 +3606,7 @@ impl IUIAutomation_Vtbl { let this = (*this).get_impl(); match IUIAutomation_Impl::SafeArrayToRectNativeArray(this, core::mem::transmute_copy(&rects), core::mem::transmute_copy(&rectarray)) { Ok(ok__) => { - core::ptr::write(rectarraycount, core::mem::transmute(ok__)); + rectarraycount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3617,7 +3617,7 @@ impl IUIAutomation_Vtbl { let this = (*this).get_impl(); match IUIAutomation_Impl::CreateProxyFactoryEntry(this, windows_core::from_raw_borrowed(&factory)) { Ok(ok__) => { - core::ptr::write(factoryentry, core::mem::transmute(ok__)); + factoryentry.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3628,7 +3628,7 @@ impl IUIAutomation_Vtbl { let this = (*this).get_impl(); match IUIAutomation_Impl::ProxyFactoryMapping(this) { Ok(ok__) => { - core::ptr::write(factorymapping, core::mem::transmute(ok__)); + factorymapping.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3639,7 +3639,7 @@ impl IUIAutomation_Vtbl { let this = (*this).get_impl(); match IUIAutomation_Impl::GetPropertyProgrammaticName(this, core::mem::transmute_copy(&property)) { Ok(ok__) => { - core::ptr::write(name, core::mem::transmute(ok__)); + name.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3650,7 +3650,7 @@ impl IUIAutomation_Vtbl { let this = (*this).get_impl(); match IUIAutomation_Impl::GetPatternProgrammaticName(this, core::mem::transmute_copy(&pattern)) { Ok(ok__) => { - core::ptr::write(name, core::mem::transmute(ok__)); + name.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3671,7 +3671,7 @@ impl IUIAutomation_Vtbl { let this = (*this).get_impl(); match IUIAutomation_Impl::CheckNotSupported(this, core::mem::transmute(&value)) { Ok(ok__) => { - core::ptr::write(isnotsupported, core::mem::transmute(ok__)); + isnotsupported.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3682,7 +3682,7 @@ impl IUIAutomation_Vtbl { let this = (*this).get_impl(); match IUIAutomation_Impl::ReservedNotSupportedValue(this) { Ok(ok__) => { - core::ptr::write(notsupportedvalue, core::mem::transmute(ok__)); + notsupportedvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3693,7 +3693,7 @@ impl IUIAutomation_Vtbl { let this = (*this).get_impl(); match IUIAutomation_Impl::ReservedMixedAttributeValue(this) { Ok(ok__) => { - core::ptr::write(mixedattributevalue, core::mem::transmute(ok__)); + mixedattributevalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3704,7 +3704,7 @@ impl IUIAutomation_Vtbl { let this = (*this).get_impl(); match IUIAutomation_Impl::ElementFromIAccessible(this, windows_core::from_raw_borrowed(&accessible), core::mem::transmute_copy(&childid)) { Ok(ok__) => { - core::ptr::write(element, core::mem::transmute(ok__)); + element.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3715,7 +3715,7 @@ impl IUIAutomation_Vtbl { let this = (*this).get_impl(); match IUIAutomation_Impl::ElementFromIAccessibleBuildCache(this, windows_core::from_raw_borrowed(&accessible), core::mem::transmute_copy(&childid), windows_core::from_raw_borrowed(&cacherequest)) { Ok(ok__) => { - core::ptr::write(element, core::mem::transmute(ok__)); + element.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3803,7 +3803,7 @@ impl IUIAutomation2_Vtbl { let this = (*this).get_impl(); match IUIAutomation2_Impl::AutoSetFocus(this) { Ok(ok__) => { - core::ptr::write(autosetfocus, core::mem::transmute(ok__)); + autosetfocus.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3819,7 +3819,7 @@ impl IUIAutomation2_Vtbl { let this = (*this).get_impl(); match IUIAutomation2_Impl::ConnectionTimeout(this) { Ok(ok__) => { - core::ptr::write(timeout, core::mem::transmute(ok__)); + timeout.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3835,7 +3835,7 @@ impl IUIAutomation2_Vtbl { let this = (*this).get_impl(); match IUIAutomation2_Impl::TransactionTimeout(this) { Ok(ok__) => { - core::ptr::write(timeout, core::mem::transmute(ok__)); + timeout.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3972,7 +3972,7 @@ impl IUIAutomation6_Vtbl { let this = (*this).get_impl(); match IUIAutomation6_Impl::CreateEventHandlerGroup(this) { Ok(ok__) => { - core::ptr::write(handlergroup, core::mem::transmute(ok__)); + handlergroup.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3993,7 +3993,7 @@ impl IUIAutomation6_Vtbl { let this = (*this).get_impl(); match IUIAutomation6_Impl::ConnectionRecoveryBehavior(this) { Ok(ok__) => { - core::ptr::write(connectionrecoverybehavioroptions, core::mem::transmute(ok__)); + connectionrecoverybehavioroptions.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4009,7 +4009,7 @@ impl IUIAutomation6_Vtbl { let this = (*this).get_impl(); match IUIAutomation6_Impl::CoalesceEvents(this) { Ok(ok__) => { - core::ptr::write(coalesceeventsoptions, core::mem::transmute(ok__)); + coalesceeventsoptions.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4083,7 +4083,7 @@ impl IUIAutomationAndCondition_Vtbl { let this = (*this).get_impl(); match IUIAutomationAndCondition_Impl::ChildCount(this) { Ok(ok__) => { - core::ptr::write(childcount, core::mem::transmute(ok__)); + childcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4099,7 +4099,7 @@ impl IUIAutomationAndCondition_Vtbl { let this = (*this).get_impl(); match IUIAutomationAndCondition_Impl::GetChildren(this) { Ok(ok__) => { - core::ptr::write(childarray, core::mem::transmute(ok__)); + childarray.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4136,7 +4136,7 @@ impl IUIAutomationAnnotationPattern_Vtbl { let this = (*this).get_impl(); match IUIAutomationAnnotationPattern_Impl::CurrentAnnotationTypeId(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4147,7 +4147,7 @@ impl IUIAutomationAnnotationPattern_Vtbl { let this = (*this).get_impl(); match IUIAutomationAnnotationPattern_Impl::CurrentAnnotationTypeName(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4158,7 +4158,7 @@ impl IUIAutomationAnnotationPattern_Vtbl { let this = (*this).get_impl(); match IUIAutomationAnnotationPattern_Impl::CurrentAuthor(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4169,7 +4169,7 @@ impl IUIAutomationAnnotationPattern_Vtbl { let this = (*this).get_impl(); match IUIAutomationAnnotationPattern_Impl::CurrentDateTime(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4180,7 +4180,7 @@ impl IUIAutomationAnnotationPattern_Vtbl { let this = (*this).get_impl(); match IUIAutomationAnnotationPattern_Impl::CurrentTarget(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4191,7 +4191,7 @@ impl IUIAutomationAnnotationPattern_Vtbl { let this = (*this).get_impl(); match IUIAutomationAnnotationPattern_Impl::CachedAnnotationTypeId(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4202,7 +4202,7 @@ impl IUIAutomationAnnotationPattern_Vtbl { let this = (*this).get_impl(); match IUIAutomationAnnotationPattern_Impl::CachedAnnotationTypeName(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4213,7 +4213,7 @@ impl IUIAutomationAnnotationPattern_Vtbl { let this = (*this).get_impl(); match IUIAutomationAnnotationPattern_Impl::CachedAuthor(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4224,7 +4224,7 @@ impl IUIAutomationAnnotationPattern_Vtbl { let this = (*this).get_impl(); match IUIAutomationAnnotationPattern_Impl::CachedDateTime(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4235,7 +4235,7 @@ impl IUIAutomationAnnotationPattern_Vtbl { let this = (*this).get_impl(); match IUIAutomationAnnotationPattern_Impl::CachedTarget(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4270,7 +4270,7 @@ impl IUIAutomationBoolCondition_Vtbl { let this = (*this).get_impl(); match IUIAutomationBoolCondition_Impl::BooleanValue(this) { Ok(ok__) => { - core::ptr::write(boolval, core::mem::transmute(ok__)); + boolval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4311,7 +4311,7 @@ impl IUIAutomationCacheRequest_Vtbl { let this = (*this).get_impl(); match IUIAutomationCacheRequest_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(clonedrequest, core::mem::transmute(ok__)); + clonedrequest.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4322,7 +4322,7 @@ impl IUIAutomationCacheRequest_Vtbl { let this = (*this).get_impl(); match IUIAutomationCacheRequest_Impl::TreeScope(this) { Ok(ok__) => { - core::ptr::write(scope, core::mem::transmute(ok__)); + scope.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4338,7 +4338,7 @@ impl IUIAutomationCacheRequest_Vtbl { let this = (*this).get_impl(); match IUIAutomationCacheRequest_Impl::TreeFilter(this) { Ok(ok__) => { - core::ptr::write(filter, core::mem::transmute(ok__)); + filter.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4354,7 +4354,7 @@ impl IUIAutomationCacheRequest_Vtbl { let this = (*this).get_impl(); match IUIAutomationCacheRequest_Impl::AutomationElementMode(this) { Ok(ok__) => { - core::ptr::write(mode, core::mem::transmute(ok__)); + mode.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4420,7 +4420,7 @@ impl IUIAutomationCustomNavigationPattern_Vtbl { let this = (*this).get_impl(); match IUIAutomationCustomNavigationPattern_Impl::Navigate(this, core::mem::transmute_copy(&direction)) { Ok(ok__) => { - core::ptr::write(pretval, core::mem::transmute(ok__)); + pretval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4450,7 +4450,7 @@ impl IUIAutomationDockPattern_Vtbl { let this = (*this).get_impl(); match IUIAutomationDockPattern_Impl::CurrentDockPosition(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4461,7 +4461,7 @@ impl IUIAutomationDockPattern_Vtbl { let this = (*this).get_impl(); match IUIAutomationDockPattern_Impl::CachedDockPosition(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4499,7 +4499,7 @@ impl IUIAutomationDragPattern_Vtbl { let this = (*this).get_impl(); match IUIAutomationDragPattern_Impl::CurrentIsGrabbed(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4510,7 +4510,7 @@ impl IUIAutomationDragPattern_Vtbl { let this = (*this).get_impl(); match IUIAutomationDragPattern_Impl::CachedIsGrabbed(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4521,7 +4521,7 @@ impl IUIAutomationDragPattern_Vtbl { let this = (*this).get_impl(); match IUIAutomationDragPattern_Impl::CurrentDropEffect(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4532,7 +4532,7 @@ impl IUIAutomationDragPattern_Vtbl { let this = (*this).get_impl(); match IUIAutomationDragPattern_Impl::CachedDropEffect(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4543,7 +4543,7 @@ impl IUIAutomationDragPattern_Vtbl { let this = (*this).get_impl(); match IUIAutomationDragPattern_Impl::CurrentDropEffects(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4554,7 +4554,7 @@ impl IUIAutomationDragPattern_Vtbl { let this = (*this).get_impl(); match IUIAutomationDragPattern_Impl::CachedDropEffects(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4565,7 +4565,7 @@ impl IUIAutomationDragPattern_Vtbl { let this = (*this).get_impl(); match IUIAutomationDragPattern_Impl::GetCurrentGrabbedItems(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4576,7 +4576,7 @@ impl IUIAutomationDragPattern_Vtbl { let this = (*this).get_impl(); match IUIAutomationDragPattern_Impl::GetCachedGrabbedItems(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4615,7 +4615,7 @@ impl IUIAutomationDropTargetPattern_Vtbl { let this = (*this).get_impl(); match IUIAutomationDropTargetPattern_Impl::CurrentDropTargetEffect(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4626,7 +4626,7 @@ impl IUIAutomationDropTargetPattern_Vtbl { let this = (*this).get_impl(); match IUIAutomationDropTargetPattern_Impl::CachedDropTargetEffect(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4637,7 +4637,7 @@ impl IUIAutomationDropTargetPattern_Vtbl { let this = (*this).get_impl(); match IUIAutomationDropTargetPattern_Impl::CurrentDropTargetEffects(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4648,7 +4648,7 @@ impl IUIAutomationDropTargetPattern_Vtbl { let this = (*this).get_impl(); match IUIAutomationDropTargetPattern_Impl::CachedDropTargetEffects(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4766,7 +4766,7 @@ impl IUIAutomationElement_Vtbl { let this = (*this).get_impl(); match IUIAutomationElement_Impl::GetRuntimeId(this) { Ok(ok__) => { - core::ptr::write(runtimeid, core::mem::transmute(ok__)); + runtimeid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4777,7 +4777,7 @@ impl IUIAutomationElement_Vtbl { let this = (*this).get_impl(); match IUIAutomationElement_Impl::FindFirst(this, core::mem::transmute_copy(&scope), windows_core::from_raw_borrowed(&condition)) { Ok(ok__) => { - core::ptr::write(found, core::mem::transmute(ok__)); + found.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4788,7 +4788,7 @@ impl IUIAutomationElement_Vtbl { let this = (*this).get_impl(); match IUIAutomationElement_Impl::FindAll(this, core::mem::transmute_copy(&scope), windows_core::from_raw_borrowed(&condition)) { Ok(ok__) => { - core::ptr::write(found, core::mem::transmute(ok__)); + found.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4799,7 +4799,7 @@ impl IUIAutomationElement_Vtbl { let this = (*this).get_impl(); match IUIAutomationElement_Impl::FindFirstBuildCache(this, core::mem::transmute_copy(&scope), windows_core::from_raw_borrowed(&condition), windows_core::from_raw_borrowed(&cacherequest)) { Ok(ok__) => { - core::ptr::write(found, core::mem::transmute(ok__)); + found.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4810,7 +4810,7 @@ impl IUIAutomationElement_Vtbl { let this = (*this).get_impl(); match IUIAutomationElement_Impl::FindAllBuildCache(this, core::mem::transmute_copy(&scope), windows_core::from_raw_borrowed(&condition), windows_core::from_raw_borrowed(&cacherequest)) { Ok(ok__) => { - core::ptr::write(found, core::mem::transmute(ok__)); + found.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4821,7 +4821,7 @@ impl IUIAutomationElement_Vtbl { let this = (*this).get_impl(); match IUIAutomationElement_Impl::BuildUpdatedCache(this, windows_core::from_raw_borrowed(&cacherequest)) { Ok(ok__) => { - core::ptr::write(updatedelement, core::mem::transmute(ok__)); + updatedelement.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4832,7 +4832,7 @@ impl IUIAutomationElement_Vtbl { let this = (*this).get_impl(); match IUIAutomationElement_Impl::GetCurrentPropertyValue(this, core::mem::transmute_copy(&propertyid)) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4843,7 +4843,7 @@ impl IUIAutomationElement_Vtbl { let this = (*this).get_impl(); match IUIAutomationElement_Impl::GetCurrentPropertyValueEx(this, core::mem::transmute_copy(&propertyid), core::mem::transmute_copy(&ignoredefaultvalue)) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4854,7 +4854,7 @@ impl IUIAutomationElement_Vtbl { let this = (*this).get_impl(); match IUIAutomationElement_Impl::GetCachedPropertyValue(this, core::mem::transmute_copy(&propertyid)) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4865,7 +4865,7 @@ impl IUIAutomationElement_Vtbl { let this = (*this).get_impl(); match IUIAutomationElement_Impl::GetCachedPropertyValueEx(this, core::mem::transmute_copy(&propertyid), core::mem::transmute_copy(&ignoredefaultvalue)) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4886,7 +4886,7 @@ impl IUIAutomationElement_Vtbl { let this = (*this).get_impl(); match IUIAutomationElement_Impl::GetCurrentPattern(this, core::mem::transmute_copy(&patternid)) { Ok(ok__) => { - core::ptr::write(patternobject, core::mem::transmute(ok__)); + patternobject.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4897,7 +4897,7 @@ impl IUIAutomationElement_Vtbl { let this = (*this).get_impl(); match IUIAutomationElement_Impl::GetCachedPattern(this, core::mem::transmute_copy(&patternid)) { Ok(ok__) => { - core::ptr::write(patternobject, core::mem::transmute(ok__)); + patternobject.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4908,7 +4908,7 @@ impl IUIAutomationElement_Vtbl { let this = (*this).get_impl(); match IUIAutomationElement_Impl::GetCachedParent(this) { Ok(ok__) => { - core::ptr::write(parent, core::mem::transmute(ok__)); + parent.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4919,7 +4919,7 @@ impl IUIAutomationElement_Vtbl { let this = (*this).get_impl(); match IUIAutomationElement_Impl::GetCachedChildren(this) { Ok(ok__) => { - core::ptr::write(children, core::mem::transmute(ok__)); + children.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4930,7 +4930,7 @@ impl IUIAutomationElement_Vtbl { let this = (*this).get_impl(); match IUIAutomationElement_Impl::CurrentProcessId(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4941,7 +4941,7 @@ impl IUIAutomationElement_Vtbl { let this = (*this).get_impl(); match IUIAutomationElement_Impl::CurrentControlType(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4952,7 +4952,7 @@ impl IUIAutomationElement_Vtbl { let this = (*this).get_impl(); match IUIAutomationElement_Impl::CurrentLocalizedControlType(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4963,7 +4963,7 @@ impl IUIAutomationElement_Vtbl { let this = (*this).get_impl(); match IUIAutomationElement_Impl::CurrentName(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4974,7 +4974,7 @@ impl IUIAutomationElement_Vtbl { let this = (*this).get_impl(); match IUIAutomationElement_Impl::CurrentAcceleratorKey(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4985,7 +4985,7 @@ impl IUIAutomationElement_Vtbl { let this = (*this).get_impl(); match IUIAutomationElement_Impl::CurrentAccessKey(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4996,7 +4996,7 @@ impl IUIAutomationElement_Vtbl { let this = (*this).get_impl(); match IUIAutomationElement_Impl::CurrentHasKeyboardFocus(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5007,7 +5007,7 @@ impl IUIAutomationElement_Vtbl { let this = (*this).get_impl(); match IUIAutomationElement_Impl::CurrentIsKeyboardFocusable(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5018,7 +5018,7 @@ impl IUIAutomationElement_Vtbl { let this = (*this).get_impl(); match IUIAutomationElement_Impl::CurrentIsEnabled(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5029,7 +5029,7 @@ impl IUIAutomationElement_Vtbl { let this = (*this).get_impl(); match IUIAutomationElement_Impl::CurrentAutomationId(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5040,7 +5040,7 @@ impl IUIAutomationElement_Vtbl { let this = (*this).get_impl(); match IUIAutomationElement_Impl::CurrentClassName(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5051,7 +5051,7 @@ impl IUIAutomationElement_Vtbl { let this = (*this).get_impl(); match IUIAutomationElement_Impl::CurrentHelpText(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5062,7 +5062,7 @@ impl IUIAutomationElement_Vtbl { let this = (*this).get_impl(); match IUIAutomationElement_Impl::CurrentCulture(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5073,7 +5073,7 @@ impl IUIAutomationElement_Vtbl { let this = (*this).get_impl(); match IUIAutomationElement_Impl::CurrentIsControlElement(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5084,7 +5084,7 @@ impl IUIAutomationElement_Vtbl { let this = (*this).get_impl(); match IUIAutomationElement_Impl::CurrentIsContentElement(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5095,7 +5095,7 @@ impl IUIAutomationElement_Vtbl { let this = (*this).get_impl(); match IUIAutomationElement_Impl::CurrentIsPassword(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5106,7 +5106,7 @@ impl IUIAutomationElement_Vtbl { let this = (*this).get_impl(); match IUIAutomationElement_Impl::CurrentNativeWindowHandle(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5117,7 +5117,7 @@ impl IUIAutomationElement_Vtbl { let this = (*this).get_impl(); match IUIAutomationElement_Impl::CurrentItemType(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5128,7 +5128,7 @@ impl IUIAutomationElement_Vtbl { let this = (*this).get_impl(); match IUIAutomationElement_Impl::CurrentIsOffscreen(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5139,7 +5139,7 @@ impl IUIAutomationElement_Vtbl { let this = (*this).get_impl(); match IUIAutomationElement_Impl::CurrentOrientation(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5150,7 +5150,7 @@ impl IUIAutomationElement_Vtbl { let this = (*this).get_impl(); match IUIAutomationElement_Impl::CurrentFrameworkId(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5161,7 +5161,7 @@ impl IUIAutomationElement_Vtbl { let this = (*this).get_impl(); match IUIAutomationElement_Impl::CurrentIsRequiredForForm(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5172,7 +5172,7 @@ impl IUIAutomationElement_Vtbl { let this = (*this).get_impl(); match IUIAutomationElement_Impl::CurrentItemStatus(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5183,7 +5183,7 @@ impl IUIAutomationElement_Vtbl { let this = (*this).get_impl(); match IUIAutomationElement_Impl::CurrentBoundingRectangle(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5194,7 +5194,7 @@ impl IUIAutomationElement_Vtbl { let this = (*this).get_impl(); match IUIAutomationElement_Impl::CurrentLabeledBy(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5205,7 +5205,7 @@ impl IUIAutomationElement_Vtbl { let this = (*this).get_impl(); match IUIAutomationElement_Impl::CurrentAriaRole(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5216,7 +5216,7 @@ impl IUIAutomationElement_Vtbl { let this = (*this).get_impl(); match IUIAutomationElement_Impl::CurrentAriaProperties(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5227,7 +5227,7 @@ impl IUIAutomationElement_Vtbl { let this = (*this).get_impl(); match IUIAutomationElement_Impl::CurrentIsDataValidForForm(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5238,7 +5238,7 @@ impl IUIAutomationElement_Vtbl { let this = (*this).get_impl(); match IUIAutomationElement_Impl::CurrentControllerFor(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5249,7 +5249,7 @@ impl IUIAutomationElement_Vtbl { let this = (*this).get_impl(); match IUIAutomationElement_Impl::CurrentDescribedBy(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5260,7 +5260,7 @@ impl IUIAutomationElement_Vtbl { let this = (*this).get_impl(); match IUIAutomationElement_Impl::CurrentFlowsTo(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5271,7 +5271,7 @@ impl IUIAutomationElement_Vtbl { let this = (*this).get_impl(); match IUIAutomationElement_Impl::CurrentProviderDescription(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5282,7 +5282,7 @@ impl IUIAutomationElement_Vtbl { let this = (*this).get_impl(); match IUIAutomationElement_Impl::CachedProcessId(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5293,7 +5293,7 @@ impl IUIAutomationElement_Vtbl { let this = (*this).get_impl(); match IUIAutomationElement_Impl::CachedControlType(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5304,7 +5304,7 @@ impl IUIAutomationElement_Vtbl { let this = (*this).get_impl(); match IUIAutomationElement_Impl::CachedLocalizedControlType(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5315,7 +5315,7 @@ impl IUIAutomationElement_Vtbl { let this = (*this).get_impl(); match IUIAutomationElement_Impl::CachedName(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5326,7 +5326,7 @@ impl IUIAutomationElement_Vtbl { let this = (*this).get_impl(); match IUIAutomationElement_Impl::CachedAcceleratorKey(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5337,7 +5337,7 @@ impl IUIAutomationElement_Vtbl { let this = (*this).get_impl(); match IUIAutomationElement_Impl::CachedAccessKey(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5348,7 +5348,7 @@ impl IUIAutomationElement_Vtbl { let this = (*this).get_impl(); match IUIAutomationElement_Impl::CachedHasKeyboardFocus(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5359,7 +5359,7 @@ impl IUIAutomationElement_Vtbl { let this = (*this).get_impl(); match IUIAutomationElement_Impl::CachedIsKeyboardFocusable(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5370,7 +5370,7 @@ impl IUIAutomationElement_Vtbl { let this = (*this).get_impl(); match IUIAutomationElement_Impl::CachedIsEnabled(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5381,7 +5381,7 @@ impl IUIAutomationElement_Vtbl { let this = (*this).get_impl(); match IUIAutomationElement_Impl::CachedAutomationId(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5392,7 +5392,7 @@ impl IUIAutomationElement_Vtbl { let this = (*this).get_impl(); match IUIAutomationElement_Impl::CachedClassName(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5403,7 +5403,7 @@ impl IUIAutomationElement_Vtbl { let this = (*this).get_impl(); match IUIAutomationElement_Impl::CachedHelpText(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5414,7 +5414,7 @@ impl IUIAutomationElement_Vtbl { let this = (*this).get_impl(); match IUIAutomationElement_Impl::CachedCulture(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5425,7 +5425,7 @@ impl IUIAutomationElement_Vtbl { let this = (*this).get_impl(); match IUIAutomationElement_Impl::CachedIsControlElement(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5436,7 +5436,7 @@ impl IUIAutomationElement_Vtbl { let this = (*this).get_impl(); match IUIAutomationElement_Impl::CachedIsContentElement(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5447,7 +5447,7 @@ impl IUIAutomationElement_Vtbl { let this = (*this).get_impl(); match IUIAutomationElement_Impl::CachedIsPassword(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5458,7 +5458,7 @@ impl IUIAutomationElement_Vtbl { let this = (*this).get_impl(); match IUIAutomationElement_Impl::CachedNativeWindowHandle(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5469,7 +5469,7 @@ impl IUIAutomationElement_Vtbl { let this = (*this).get_impl(); match IUIAutomationElement_Impl::CachedItemType(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5480,7 +5480,7 @@ impl IUIAutomationElement_Vtbl { let this = (*this).get_impl(); match IUIAutomationElement_Impl::CachedIsOffscreen(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5491,7 +5491,7 @@ impl IUIAutomationElement_Vtbl { let this = (*this).get_impl(); match IUIAutomationElement_Impl::CachedOrientation(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5502,7 +5502,7 @@ impl IUIAutomationElement_Vtbl { let this = (*this).get_impl(); match IUIAutomationElement_Impl::CachedFrameworkId(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5513,7 +5513,7 @@ impl IUIAutomationElement_Vtbl { let this = (*this).get_impl(); match IUIAutomationElement_Impl::CachedIsRequiredForForm(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5524,7 +5524,7 @@ impl IUIAutomationElement_Vtbl { let this = (*this).get_impl(); match IUIAutomationElement_Impl::CachedItemStatus(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5535,7 +5535,7 @@ impl IUIAutomationElement_Vtbl { let this = (*this).get_impl(); match IUIAutomationElement_Impl::CachedBoundingRectangle(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5546,7 +5546,7 @@ impl IUIAutomationElement_Vtbl { let this = (*this).get_impl(); match IUIAutomationElement_Impl::CachedLabeledBy(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5557,7 +5557,7 @@ impl IUIAutomationElement_Vtbl { let this = (*this).get_impl(); match IUIAutomationElement_Impl::CachedAriaRole(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5568,7 +5568,7 @@ impl IUIAutomationElement_Vtbl { let this = (*this).get_impl(); match IUIAutomationElement_Impl::CachedAriaProperties(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5579,7 +5579,7 @@ impl IUIAutomationElement_Vtbl { let this = (*this).get_impl(); match IUIAutomationElement_Impl::CachedIsDataValidForForm(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5590,7 +5590,7 @@ impl IUIAutomationElement_Vtbl { let this = (*this).get_impl(); match IUIAutomationElement_Impl::CachedControllerFor(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5601,7 +5601,7 @@ impl IUIAutomationElement_Vtbl { let this = (*this).get_impl(); match IUIAutomationElement_Impl::CachedDescribedBy(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5612,7 +5612,7 @@ impl IUIAutomationElement_Vtbl { let this = (*this).get_impl(); match IUIAutomationElement_Impl::CachedFlowsTo(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5623,7 +5623,7 @@ impl IUIAutomationElement_Vtbl { let this = (*this).get_impl(); match IUIAutomationElement_Impl::CachedProviderDescription(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5634,7 +5634,7 @@ impl IUIAutomationElement_Vtbl { let this = (*this).get_impl(); match IUIAutomationElement_Impl::GetClickablePoint(this, core::mem::transmute_copy(&clickable)) { Ok(ok__) => { - core::ptr::write(gotclickable, core::mem::transmute(ok__)); + gotclickable.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5749,7 +5749,7 @@ impl IUIAutomationElement2_Vtbl { let this = (*this).get_impl(); match IUIAutomationElement2_Impl::CurrentOptimizeForVisualContent(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5760,7 +5760,7 @@ impl IUIAutomationElement2_Vtbl { let this = (*this).get_impl(); match IUIAutomationElement2_Impl::CachedOptimizeForVisualContent(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5771,7 +5771,7 @@ impl IUIAutomationElement2_Vtbl { let this = (*this).get_impl(); match IUIAutomationElement2_Impl::CurrentLiveSetting(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5782,7 +5782,7 @@ impl IUIAutomationElement2_Vtbl { let this = (*this).get_impl(); match IUIAutomationElement2_Impl::CachedLiveSetting(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5793,7 +5793,7 @@ impl IUIAutomationElement2_Vtbl { let this = (*this).get_impl(); match IUIAutomationElement2_Impl::CurrentFlowsFrom(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5804,7 +5804,7 @@ impl IUIAutomationElement2_Vtbl { let this = (*this).get_impl(); match IUIAutomationElement2_Impl::CachedFlowsFrom(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5845,7 +5845,7 @@ impl IUIAutomationElement3_Vtbl { let this = (*this).get_impl(); match IUIAutomationElement3_Impl::CurrentIsPeripheral(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5856,7 +5856,7 @@ impl IUIAutomationElement3_Vtbl { let this = (*this).get_impl(); match IUIAutomationElement3_Impl::CachedIsPeripheral(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5896,7 +5896,7 @@ impl IUIAutomationElement4_Vtbl { let this = (*this).get_impl(); match IUIAutomationElement4_Impl::CurrentPositionInSet(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5907,7 +5907,7 @@ impl IUIAutomationElement4_Vtbl { let this = (*this).get_impl(); match IUIAutomationElement4_Impl::CurrentSizeOfSet(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5918,7 +5918,7 @@ impl IUIAutomationElement4_Vtbl { let this = (*this).get_impl(); match IUIAutomationElement4_Impl::CurrentLevel(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5929,7 +5929,7 @@ impl IUIAutomationElement4_Vtbl { let this = (*this).get_impl(); match IUIAutomationElement4_Impl::CurrentAnnotationTypes(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5940,7 +5940,7 @@ impl IUIAutomationElement4_Vtbl { let this = (*this).get_impl(); match IUIAutomationElement4_Impl::CurrentAnnotationObjects(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5951,7 +5951,7 @@ impl IUIAutomationElement4_Vtbl { let this = (*this).get_impl(); match IUIAutomationElement4_Impl::CachedPositionInSet(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5962,7 +5962,7 @@ impl IUIAutomationElement4_Vtbl { let this = (*this).get_impl(); match IUIAutomationElement4_Impl::CachedSizeOfSet(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5973,7 +5973,7 @@ impl IUIAutomationElement4_Vtbl { let this = (*this).get_impl(); match IUIAutomationElement4_Impl::CachedLevel(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5984,7 +5984,7 @@ impl IUIAutomationElement4_Vtbl { let this = (*this).get_impl(); match IUIAutomationElement4_Impl::CachedAnnotationTypes(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5995,7 +5995,7 @@ impl IUIAutomationElement4_Vtbl { let this = (*this).get_impl(); match IUIAutomationElement4_Impl::CachedAnnotationObjects(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6036,7 +6036,7 @@ impl IUIAutomationElement5_Vtbl { let this = (*this).get_impl(); match IUIAutomationElement5_Impl::CurrentLandmarkType(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6047,7 +6047,7 @@ impl IUIAutomationElement5_Vtbl { let this = (*this).get_impl(); match IUIAutomationElement5_Impl::CurrentLocalizedLandmarkType(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6058,7 +6058,7 @@ impl IUIAutomationElement5_Vtbl { let this = (*this).get_impl(); match IUIAutomationElement5_Impl::CachedLandmarkType(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6069,7 +6069,7 @@ impl IUIAutomationElement5_Vtbl { let this = (*this).get_impl(); match IUIAutomationElement5_Impl::CachedLocalizedLandmarkType(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6102,7 +6102,7 @@ impl IUIAutomationElement6_Vtbl { let this = (*this).get_impl(); match IUIAutomationElement6_Impl::CurrentFullDescription(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6113,7 +6113,7 @@ impl IUIAutomationElement6_Vtbl { let this = (*this).get_impl(); match IUIAutomationElement6_Impl::CachedFullDescription(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6147,7 +6147,7 @@ impl IUIAutomationElement7_Vtbl { let this = (*this).get_impl(); match IUIAutomationElement7_Impl::FindFirstWithOptions(this, core::mem::transmute_copy(&scope), windows_core::from_raw_borrowed(&condition), core::mem::transmute_copy(&traversaloptions), windows_core::from_raw_borrowed(&root)) { Ok(ok__) => { - core::ptr::write(found, core::mem::transmute(ok__)); + found.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6158,7 +6158,7 @@ impl IUIAutomationElement7_Vtbl { let this = (*this).get_impl(); match IUIAutomationElement7_Impl::FindAllWithOptions(this, core::mem::transmute_copy(&scope), windows_core::from_raw_borrowed(&condition), core::mem::transmute_copy(&traversaloptions), windows_core::from_raw_borrowed(&root)) { Ok(ok__) => { - core::ptr::write(found, core::mem::transmute(ok__)); + found.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6169,7 +6169,7 @@ impl IUIAutomationElement7_Vtbl { let this = (*this).get_impl(); match IUIAutomationElement7_Impl::FindFirstWithOptionsBuildCache(this, core::mem::transmute_copy(&scope), windows_core::from_raw_borrowed(&condition), windows_core::from_raw_borrowed(&cacherequest), core::mem::transmute_copy(&traversaloptions), windows_core::from_raw_borrowed(&root)) { Ok(ok__) => { - core::ptr::write(found, core::mem::transmute(ok__)); + found.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6180,7 +6180,7 @@ impl IUIAutomationElement7_Vtbl { let this = (*this).get_impl(); match IUIAutomationElement7_Impl::FindAllWithOptionsBuildCache(this, core::mem::transmute_copy(&scope), windows_core::from_raw_borrowed(&condition), windows_core::from_raw_borrowed(&cacherequest), core::mem::transmute_copy(&traversaloptions), windows_core::from_raw_borrowed(&root)) { Ok(ok__) => { - core::ptr::write(found, core::mem::transmute(ok__)); + found.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6191,7 +6191,7 @@ impl IUIAutomationElement7_Vtbl { let this = (*this).get_impl(); match IUIAutomationElement7_Impl::GetCurrentMetadataValue(this, core::mem::transmute_copy(&targetid), core::mem::transmute_copy(&metadataid)) { Ok(ok__) => { - core::ptr::write(returnval, core::mem::transmute(ok__)); + returnval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6225,7 +6225,7 @@ impl IUIAutomationElement8_Vtbl { let this = (*this).get_impl(); match IUIAutomationElement8_Impl::CurrentHeadingLevel(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6236,7 +6236,7 @@ impl IUIAutomationElement8_Vtbl { let this = (*this).get_impl(); match IUIAutomationElement8_Impl::CachedHeadingLevel(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6267,7 +6267,7 @@ impl IUIAutomationElement9_Vtbl { let this = (*this).get_impl(); match IUIAutomationElement9_Impl::CurrentIsDialog(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6278,7 +6278,7 @@ impl IUIAutomationElement9_Vtbl { let this = (*this).get_impl(); match IUIAutomationElement9_Impl::CachedIsDialog(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6306,7 +6306,7 @@ impl IUIAutomationElementArray_Vtbl { let this = (*this).get_impl(); match IUIAutomationElementArray_Impl::Length(this) { Ok(ok__) => { - core::ptr::write(length, core::mem::transmute(ok__)); + length.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6317,7 +6317,7 @@ impl IUIAutomationElementArray_Vtbl { let this = (*this).get_impl(); match IUIAutomationElementArray_Impl::GetElement(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(element, core::mem::transmute(ok__)); + element.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6436,7 +6436,7 @@ impl IUIAutomationExpandCollapsePattern_Vtbl { let this = (*this).get_impl(); match IUIAutomationExpandCollapsePattern_Impl::CurrentExpandCollapseState(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6447,7 +6447,7 @@ impl IUIAutomationExpandCollapsePattern_Vtbl { let this = (*this).get_impl(); match IUIAutomationExpandCollapsePattern_Impl::CachedExpandCollapseState(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6502,7 +6502,7 @@ impl IUIAutomationGridItemPattern_Vtbl { let this = (*this).get_impl(); match IUIAutomationGridItemPattern_Impl::CurrentContainingGrid(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6513,7 +6513,7 @@ impl IUIAutomationGridItemPattern_Vtbl { let this = (*this).get_impl(); match IUIAutomationGridItemPattern_Impl::CurrentRow(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6524,7 +6524,7 @@ impl IUIAutomationGridItemPattern_Vtbl { let this = (*this).get_impl(); match IUIAutomationGridItemPattern_Impl::CurrentColumn(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6535,7 +6535,7 @@ impl IUIAutomationGridItemPattern_Vtbl { let this = (*this).get_impl(); match IUIAutomationGridItemPattern_Impl::CurrentRowSpan(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6546,7 +6546,7 @@ impl IUIAutomationGridItemPattern_Vtbl { let this = (*this).get_impl(); match IUIAutomationGridItemPattern_Impl::CurrentColumnSpan(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6557,7 +6557,7 @@ impl IUIAutomationGridItemPattern_Vtbl { let this = (*this).get_impl(); match IUIAutomationGridItemPattern_Impl::CachedContainingGrid(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6568,7 +6568,7 @@ impl IUIAutomationGridItemPattern_Vtbl { let this = (*this).get_impl(); match IUIAutomationGridItemPattern_Impl::CachedRow(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6579,7 +6579,7 @@ impl IUIAutomationGridItemPattern_Vtbl { let this = (*this).get_impl(); match IUIAutomationGridItemPattern_Impl::CachedColumn(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6590,7 +6590,7 @@ impl IUIAutomationGridItemPattern_Vtbl { let this = (*this).get_impl(); match IUIAutomationGridItemPattern_Impl::CachedRowSpan(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6601,7 +6601,7 @@ impl IUIAutomationGridItemPattern_Vtbl { let this = (*this).get_impl(); match IUIAutomationGridItemPattern_Impl::CachedColumnSpan(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6640,7 +6640,7 @@ impl IUIAutomationGridPattern_Vtbl { let this = (*this).get_impl(); match IUIAutomationGridPattern_Impl::GetItem(this, core::mem::transmute_copy(&row), core::mem::transmute_copy(&column)) { Ok(ok__) => { - core::ptr::write(element, core::mem::transmute(ok__)); + element.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6651,7 +6651,7 @@ impl IUIAutomationGridPattern_Vtbl { let this = (*this).get_impl(); match IUIAutomationGridPattern_Impl::CurrentRowCount(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6662,7 +6662,7 @@ impl IUIAutomationGridPattern_Vtbl { let this = (*this).get_impl(); match IUIAutomationGridPattern_Impl::CurrentColumnCount(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6673,7 +6673,7 @@ impl IUIAutomationGridPattern_Vtbl { let this = (*this).get_impl(); match IUIAutomationGridPattern_Impl::CachedRowCount(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6684,7 +6684,7 @@ impl IUIAutomationGridPattern_Vtbl { let this = (*this).get_impl(); match IUIAutomationGridPattern_Impl::CachedColumnCount(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6731,7 +6731,7 @@ impl IUIAutomationItemContainerPattern_Vtbl { let this = (*this).get_impl(); match IUIAutomationItemContainerPattern_Impl::FindItemByProperty(this, windows_core::from_raw_borrowed(&pstartafter), core::mem::transmute_copy(&propertyid), core::mem::transmute(&value)) { Ok(ok__) => { - core::ptr::write(pfound, core::mem::transmute(ok__)); + pfound.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6795,7 +6795,7 @@ impl IUIAutomationLegacyIAccessiblePattern_Vtbl { let this = (*this).get_impl(); match IUIAutomationLegacyIAccessiblePattern_Impl::CurrentChildId(this) { Ok(ok__) => { - core::ptr::write(pretval, core::mem::transmute(ok__)); + pretval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6806,7 +6806,7 @@ impl IUIAutomationLegacyIAccessiblePattern_Vtbl { let this = (*this).get_impl(); match IUIAutomationLegacyIAccessiblePattern_Impl::CurrentName(this) { Ok(ok__) => { - core::ptr::write(pszname, core::mem::transmute(ok__)); + pszname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6817,7 +6817,7 @@ impl IUIAutomationLegacyIAccessiblePattern_Vtbl { let this = (*this).get_impl(); match IUIAutomationLegacyIAccessiblePattern_Impl::CurrentValue(this) { Ok(ok__) => { - core::ptr::write(pszvalue, core::mem::transmute(ok__)); + pszvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6828,7 +6828,7 @@ impl IUIAutomationLegacyIAccessiblePattern_Vtbl { let this = (*this).get_impl(); match IUIAutomationLegacyIAccessiblePattern_Impl::CurrentDescription(this) { Ok(ok__) => { - core::ptr::write(pszdescription, core::mem::transmute(ok__)); + pszdescription.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6839,7 +6839,7 @@ impl IUIAutomationLegacyIAccessiblePattern_Vtbl { let this = (*this).get_impl(); match IUIAutomationLegacyIAccessiblePattern_Impl::CurrentRole(this) { Ok(ok__) => { - core::ptr::write(pdwrole, core::mem::transmute(ok__)); + pdwrole.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6850,7 +6850,7 @@ impl IUIAutomationLegacyIAccessiblePattern_Vtbl { let this = (*this).get_impl(); match IUIAutomationLegacyIAccessiblePattern_Impl::CurrentState(this) { Ok(ok__) => { - core::ptr::write(pdwstate, core::mem::transmute(ok__)); + pdwstate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6861,7 +6861,7 @@ impl IUIAutomationLegacyIAccessiblePattern_Vtbl { let this = (*this).get_impl(); match IUIAutomationLegacyIAccessiblePattern_Impl::CurrentHelp(this) { Ok(ok__) => { - core::ptr::write(pszhelp, core::mem::transmute(ok__)); + pszhelp.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6872,7 +6872,7 @@ impl IUIAutomationLegacyIAccessiblePattern_Vtbl { let this = (*this).get_impl(); match IUIAutomationLegacyIAccessiblePattern_Impl::CurrentKeyboardShortcut(this) { Ok(ok__) => { - core::ptr::write(pszkeyboardshortcut, core::mem::transmute(ok__)); + pszkeyboardshortcut.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6883,7 +6883,7 @@ impl IUIAutomationLegacyIAccessiblePattern_Vtbl { let this = (*this).get_impl(); match IUIAutomationLegacyIAccessiblePattern_Impl::GetCurrentSelection(this) { Ok(ok__) => { - core::ptr::write(pvarselectedchildren, core::mem::transmute(ok__)); + pvarselectedchildren.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6894,7 +6894,7 @@ impl IUIAutomationLegacyIAccessiblePattern_Vtbl { let this = (*this).get_impl(); match IUIAutomationLegacyIAccessiblePattern_Impl::CurrentDefaultAction(this) { Ok(ok__) => { - core::ptr::write(pszdefaultaction, core::mem::transmute(ok__)); + pszdefaultaction.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6905,7 +6905,7 @@ impl IUIAutomationLegacyIAccessiblePattern_Vtbl { let this = (*this).get_impl(); match IUIAutomationLegacyIAccessiblePattern_Impl::CachedChildId(this) { Ok(ok__) => { - core::ptr::write(pretval, core::mem::transmute(ok__)); + pretval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6916,7 +6916,7 @@ impl IUIAutomationLegacyIAccessiblePattern_Vtbl { let this = (*this).get_impl(); match IUIAutomationLegacyIAccessiblePattern_Impl::CachedName(this) { Ok(ok__) => { - core::ptr::write(pszname, core::mem::transmute(ok__)); + pszname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6927,7 +6927,7 @@ impl IUIAutomationLegacyIAccessiblePattern_Vtbl { let this = (*this).get_impl(); match IUIAutomationLegacyIAccessiblePattern_Impl::CachedValue(this) { Ok(ok__) => { - core::ptr::write(pszvalue, core::mem::transmute(ok__)); + pszvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6938,7 +6938,7 @@ impl IUIAutomationLegacyIAccessiblePattern_Vtbl { let this = (*this).get_impl(); match IUIAutomationLegacyIAccessiblePattern_Impl::CachedDescription(this) { Ok(ok__) => { - core::ptr::write(pszdescription, core::mem::transmute(ok__)); + pszdescription.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6949,7 +6949,7 @@ impl IUIAutomationLegacyIAccessiblePattern_Vtbl { let this = (*this).get_impl(); match IUIAutomationLegacyIAccessiblePattern_Impl::CachedRole(this) { Ok(ok__) => { - core::ptr::write(pdwrole, core::mem::transmute(ok__)); + pdwrole.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6960,7 +6960,7 @@ impl IUIAutomationLegacyIAccessiblePattern_Vtbl { let this = (*this).get_impl(); match IUIAutomationLegacyIAccessiblePattern_Impl::CachedState(this) { Ok(ok__) => { - core::ptr::write(pdwstate, core::mem::transmute(ok__)); + pdwstate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6971,7 +6971,7 @@ impl IUIAutomationLegacyIAccessiblePattern_Vtbl { let this = (*this).get_impl(); match IUIAutomationLegacyIAccessiblePattern_Impl::CachedHelp(this) { Ok(ok__) => { - core::ptr::write(pszhelp, core::mem::transmute(ok__)); + pszhelp.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6982,7 +6982,7 @@ impl IUIAutomationLegacyIAccessiblePattern_Vtbl { let this = (*this).get_impl(); match IUIAutomationLegacyIAccessiblePattern_Impl::CachedKeyboardShortcut(this) { Ok(ok__) => { - core::ptr::write(pszkeyboardshortcut, core::mem::transmute(ok__)); + pszkeyboardshortcut.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6993,7 +6993,7 @@ impl IUIAutomationLegacyIAccessiblePattern_Vtbl { let this = (*this).get_impl(); match IUIAutomationLegacyIAccessiblePattern_Impl::GetCachedSelection(this) { Ok(ok__) => { - core::ptr::write(pvarselectedchildren, core::mem::transmute(ok__)); + pvarselectedchildren.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7004,7 +7004,7 @@ impl IUIAutomationLegacyIAccessiblePattern_Vtbl { let this = (*this).get_impl(); match IUIAutomationLegacyIAccessiblePattern_Impl::CachedDefaultAction(this) { Ok(ok__) => { - core::ptr::write(pszdefaultaction, core::mem::transmute(ok__)); + pszdefaultaction.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7015,7 +7015,7 @@ impl IUIAutomationLegacyIAccessiblePattern_Vtbl { let this = (*this).get_impl(); match IUIAutomationLegacyIAccessiblePattern_Impl::GetIAccessible(this) { Ok(ok__) => { - core::ptr::write(ppaccessible, core::mem::transmute(ok__)); + ppaccessible.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7072,7 +7072,7 @@ impl IUIAutomationMultipleViewPattern_Vtbl { let this = (*this).get_impl(); match IUIAutomationMultipleViewPattern_Impl::GetViewName(this, core::mem::transmute_copy(&view)) { Ok(ok__) => { - core::ptr::write(name, core::mem::transmute(ok__)); + name.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7088,7 +7088,7 @@ impl IUIAutomationMultipleViewPattern_Vtbl { let this = (*this).get_impl(); match IUIAutomationMultipleViewPattern_Impl::CurrentCurrentView(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7099,7 +7099,7 @@ impl IUIAutomationMultipleViewPattern_Vtbl { let this = (*this).get_impl(); match IUIAutomationMultipleViewPattern_Impl::GetCurrentSupportedViews(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7110,7 +7110,7 @@ impl IUIAutomationMultipleViewPattern_Vtbl { let this = (*this).get_impl(); match IUIAutomationMultipleViewPattern_Impl::CachedCurrentView(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7121,7 +7121,7 @@ impl IUIAutomationMultipleViewPattern_Vtbl { let this = (*this).get_impl(); match IUIAutomationMultipleViewPattern_Impl::GetCachedSupportedViews(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7152,7 +7152,7 @@ impl IUIAutomationNotCondition_Vtbl { let this = (*this).get_impl(); match IUIAutomationNotCondition_Impl::GetChild(this) { Ok(ok__) => { - core::ptr::write(condition, core::mem::transmute(ok__)); + condition.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7192,7 +7192,7 @@ impl IUIAutomationObjectModelPattern_Vtbl { let this = (*this).get_impl(); match IUIAutomationObjectModelPattern_Impl::GetUnderlyingObjectModel(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7220,7 +7220,7 @@ impl IUIAutomationOrCondition_Vtbl { let this = (*this).get_impl(); match IUIAutomationOrCondition_Impl::ChildCount(this) { Ok(ok__) => { - core::ptr::write(childcount, core::mem::transmute(ok__)); + childcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7236,7 +7236,7 @@ impl IUIAutomationOrCondition_Vtbl { let this = (*this).get_impl(); match IUIAutomationOrCondition_Impl::GetChildren(this) { Ok(ok__) => { - core::ptr::write(childarray, core::mem::transmute(ok__)); + childarray.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7265,7 +7265,7 @@ impl IUIAutomationPatternHandler_Vtbl { let this = (*this).get_impl(); match IUIAutomationPatternHandler_Impl::CreateClientWrapper(this, windows_core::from_raw_borrowed(&ppatterninstance)) { Ok(ok__) => { - core::ptr::write(pclientwrapper, core::mem::transmute(ok__)); + pclientwrapper.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7343,7 +7343,7 @@ impl IUIAutomationPropertyCondition_Vtbl { let this = (*this).get_impl(); match IUIAutomationPropertyCondition_Impl::PropertyId(this) { Ok(ok__) => { - core::ptr::write(propertyid, core::mem::transmute(ok__)); + propertyid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7354,7 +7354,7 @@ impl IUIAutomationPropertyCondition_Vtbl { let this = (*this).get_impl(); match IUIAutomationPropertyCondition_Impl::PropertyValue(this) { Ok(ok__) => { - core::ptr::write(propertyvalue, core::mem::transmute(ok__)); + propertyvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7365,7 +7365,7 @@ impl IUIAutomationPropertyCondition_Vtbl { let this = (*this).get_impl(); match IUIAutomationPropertyCondition_Impl::PropertyConditionFlags(this) { Ok(ok__) => { - core::ptr::write(flags, core::mem::transmute(ok__)); + flags.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7394,7 +7394,7 @@ impl IUIAutomationProxyFactory_Vtbl { let this = (*this).get_impl(); match IUIAutomationProxyFactory_Impl::CreateProvider(this, core::mem::transmute_copy(&hwnd), core::mem::transmute_copy(&idobject), core::mem::transmute_copy(&idchild)) { Ok(ok__) => { - core::ptr::write(provider, core::mem::transmute(ok__)); + provider.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7405,7 +7405,7 @@ impl IUIAutomationProxyFactory_Vtbl { let this = (*this).get_impl(); match IUIAutomationProxyFactory_Impl::ProxyFactoryId(this) { Ok(ok__) => { - core::ptr::write(factoryid, core::mem::transmute(ok__)); + factoryid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7447,7 +7447,7 @@ impl IUIAutomationProxyFactoryEntry_Vtbl { let this = (*this).get_impl(); match IUIAutomationProxyFactoryEntry_Impl::ProxyFactory(this) { Ok(ok__) => { - core::ptr::write(factory, core::mem::transmute(ok__)); + factory.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7458,7 +7458,7 @@ impl IUIAutomationProxyFactoryEntry_Vtbl { let this = (*this).get_impl(); match IUIAutomationProxyFactoryEntry_Impl::ClassName(this) { Ok(ok__) => { - core::ptr::write(classname, core::mem::transmute(ok__)); + classname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7469,7 +7469,7 @@ impl IUIAutomationProxyFactoryEntry_Vtbl { let this = (*this).get_impl(); match IUIAutomationProxyFactoryEntry_Impl::ImageName(this) { Ok(ok__) => { - core::ptr::write(imagename, core::mem::transmute(ok__)); + imagename.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7480,7 +7480,7 @@ impl IUIAutomationProxyFactoryEntry_Vtbl { let this = (*this).get_impl(); match IUIAutomationProxyFactoryEntry_Impl::AllowSubstringMatch(this) { Ok(ok__) => { - core::ptr::write(allowsubstringmatch, core::mem::transmute(ok__)); + allowsubstringmatch.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7491,7 +7491,7 @@ impl IUIAutomationProxyFactoryEntry_Vtbl { let this = (*this).get_impl(); match IUIAutomationProxyFactoryEntry_Impl::CanCheckBaseClass(this) { Ok(ok__) => { - core::ptr::write(cancheckbaseclass, core::mem::transmute(ok__)); + cancheckbaseclass.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7502,7 +7502,7 @@ impl IUIAutomationProxyFactoryEntry_Vtbl { let this = (*this).get_impl(); match IUIAutomationProxyFactoryEntry_Impl::NeedsAdviseEvents(this) { Ok(ok__) => { - core::ptr::write(adviseevents, core::mem::transmute(ok__)); + adviseevents.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7543,7 +7543,7 @@ impl IUIAutomationProxyFactoryEntry_Vtbl { let this = (*this).get_impl(); match IUIAutomationProxyFactoryEntry_Impl::GetWinEventsForAutomationEvent(this, core::mem::transmute_copy(&eventid), core::mem::transmute_copy(&propertyid)) { Ok(ok__) => { - core::ptr::write(winevents, core::mem::transmute(ok__)); + winevents.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7592,7 +7592,7 @@ impl IUIAutomationProxyFactoryMapping_Vtbl { let this = (*this).get_impl(); match IUIAutomationProxyFactoryMapping_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(count, core::mem::transmute(ok__)); + count.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7603,7 +7603,7 @@ impl IUIAutomationProxyFactoryMapping_Vtbl { let this = (*this).get_impl(); match IUIAutomationProxyFactoryMapping_Impl::GetTable(this) { Ok(ok__) => { - core::ptr::write(table, core::mem::transmute(ok__)); + table.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7614,7 +7614,7 @@ impl IUIAutomationProxyFactoryMapping_Vtbl { let this = (*this).get_impl(); match IUIAutomationProxyFactoryMapping_Impl::GetEntry(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(entry, core::mem::transmute(ok__)); + entry.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7695,7 +7695,7 @@ impl IUIAutomationRangeValuePattern_Vtbl { let this = (*this).get_impl(); match IUIAutomationRangeValuePattern_Impl::CurrentValue(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7706,7 +7706,7 @@ impl IUIAutomationRangeValuePattern_Vtbl { let this = (*this).get_impl(); match IUIAutomationRangeValuePattern_Impl::CurrentIsReadOnly(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7717,7 +7717,7 @@ impl IUIAutomationRangeValuePattern_Vtbl { let this = (*this).get_impl(); match IUIAutomationRangeValuePattern_Impl::CurrentMaximum(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7728,7 +7728,7 @@ impl IUIAutomationRangeValuePattern_Vtbl { let this = (*this).get_impl(); match IUIAutomationRangeValuePattern_Impl::CurrentMinimum(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7739,7 +7739,7 @@ impl IUIAutomationRangeValuePattern_Vtbl { let this = (*this).get_impl(); match IUIAutomationRangeValuePattern_Impl::CurrentLargeChange(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7750,7 +7750,7 @@ impl IUIAutomationRangeValuePattern_Vtbl { let this = (*this).get_impl(); match IUIAutomationRangeValuePattern_Impl::CurrentSmallChange(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7761,7 +7761,7 @@ impl IUIAutomationRangeValuePattern_Vtbl { let this = (*this).get_impl(); match IUIAutomationRangeValuePattern_Impl::CachedValue(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7772,7 +7772,7 @@ impl IUIAutomationRangeValuePattern_Vtbl { let this = (*this).get_impl(); match IUIAutomationRangeValuePattern_Impl::CachedIsReadOnly(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7783,7 +7783,7 @@ impl IUIAutomationRangeValuePattern_Vtbl { let this = (*this).get_impl(); match IUIAutomationRangeValuePattern_Impl::CachedMaximum(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7794,7 +7794,7 @@ impl IUIAutomationRangeValuePattern_Vtbl { let this = (*this).get_impl(); match IUIAutomationRangeValuePattern_Impl::CachedMinimum(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7805,7 +7805,7 @@ impl IUIAutomationRangeValuePattern_Vtbl { let this = (*this).get_impl(); match IUIAutomationRangeValuePattern_Impl::CachedLargeChange(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7816,7 +7816,7 @@ impl IUIAutomationRangeValuePattern_Vtbl { let this = (*this).get_impl(); match IUIAutomationRangeValuePattern_Impl::CachedSmallChange(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7856,7 +7856,7 @@ impl IUIAutomationRegistrar_Vtbl { let this = (*this).get_impl(); match IUIAutomationRegistrar_Impl::RegisterProperty(this, core::mem::transmute_copy(&property)) { Ok(ok__) => { - core::ptr::write(propertyid, core::mem::transmute(ok__)); + propertyid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7867,7 +7867,7 @@ impl IUIAutomationRegistrar_Vtbl { let this = (*this).get_impl(); match IUIAutomationRegistrar_Impl::RegisterEvent(this, core::mem::transmute_copy(&event)) { Ok(ok__) => { - core::ptr::write(eventid, core::mem::transmute(ok__)); + eventid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7940,7 +7940,7 @@ impl IUIAutomationScrollPattern_Vtbl { let this = (*this).get_impl(); match IUIAutomationScrollPattern_Impl::CurrentHorizontalScrollPercent(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7951,7 +7951,7 @@ impl IUIAutomationScrollPattern_Vtbl { let this = (*this).get_impl(); match IUIAutomationScrollPattern_Impl::CurrentVerticalScrollPercent(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7962,7 +7962,7 @@ impl IUIAutomationScrollPattern_Vtbl { let this = (*this).get_impl(); match IUIAutomationScrollPattern_Impl::CurrentHorizontalViewSize(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7973,7 +7973,7 @@ impl IUIAutomationScrollPattern_Vtbl { let this = (*this).get_impl(); match IUIAutomationScrollPattern_Impl::CurrentVerticalViewSize(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7984,7 +7984,7 @@ impl IUIAutomationScrollPattern_Vtbl { let this = (*this).get_impl(); match IUIAutomationScrollPattern_Impl::CurrentHorizontallyScrollable(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7995,7 +7995,7 @@ impl IUIAutomationScrollPattern_Vtbl { let this = (*this).get_impl(); match IUIAutomationScrollPattern_Impl::CurrentVerticallyScrollable(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8006,7 +8006,7 @@ impl IUIAutomationScrollPattern_Vtbl { let this = (*this).get_impl(); match IUIAutomationScrollPattern_Impl::CachedHorizontalScrollPercent(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8017,7 +8017,7 @@ impl IUIAutomationScrollPattern_Vtbl { let this = (*this).get_impl(); match IUIAutomationScrollPattern_Impl::CachedVerticalScrollPercent(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8028,7 +8028,7 @@ impl IUIAutomationScrollPattern_Vtbl { let this = (*this).get_impl(); match IUIAutomationScrollPattern_Impl::CachedHorizontalViewSize(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8039,7 +8039,7 @@ impl IUIAutomationScrollPattern_Vtbl { let this = (*this).get_impl(); match IUIAutomationScrollPattern_Impl::CachedVerticalViewSize(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8050,7 +8050,7 @@ impl IUIAutomationScrollPattern_Vtbl { let this = (*this).get_impl(); match IUIAutomationScrollPattern_Impl::CachedHorizontallyScrollable(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8061,7 +8061,7 @@ impl IUIAutomationScrollPattern_Vtbl { let this = (*this).get_impl(); match IUIAutomationScrollPattern_Impl::CachedVerticallyScrollable(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8121,7 +8121,7 @@ impl IUIAutomationSelectionItemPattern_Vtbl { let this = (*this).get_impl(); match IUIAutomationSelectionItemPattern_Impl::CurrentIsSelected(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8132,7 +8132,7 @@ impl IUIAutomationSelectionItemPattern_Vtbl { let this = (*this).get_impl(); match IUIAutomationSelectionItemPattern_Impl::CurrentSelectionContainer(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8143,7 +8143,7 @@ impl IUIAutomationSelectionItemPattern_Vtbl { let this = (*this).get_impl(); match IUIAutomationSelectionItemPattern_Impl::CachedIsSelected(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8154,7 +8154,7 @@ impl IUIAutomationSelectionItemPattern_Vtbl { let this = (*this).get_impl(); match IUIAutomationSelectionItemPattern_Impl::CachedSelectionContainer(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8191,7 +8191,7 @@ impl IUIAutomationSelectionPattern_Vtbl { let this = (*this).get_impl(); match IUIAutomationSelectionPattern_Impl::GetCurrentSelection(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8202,7 +8202,7 @@ impl IUIAutomationSelectionPattern_Vtbl { let this = (*this).get_impl(); match IUIAutomationSelectionPattern_Impl::CurrentCanSelectMultiple(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8213,7 +8213,7 @@ impl IUIAutomationSelectionPattern_Vtbl { let this = (*this).get_impl(); match IUIAutomationSelectionPattern_Impl::CurrentIsSelectionRequired(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8224,7 +8224,7 @@ impl IUIAutomationSelectionPattern_Vtbl { let this = (*this).get_impl(); match IUIAutomationSelectionPattern_Impl::GetCachedSelection(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8235,7 +8235,7 @@ impl IUIAutomationSelectionPattern_Vtbl { let this = (*this).get_impl(); match IUIAutomationSelectionPattern_Impl::CachedCanSelectMultiple(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8246,7 +8246,7 @@ impl IUIAutomationSelectionPattern_Vtbl { let this = (*this).get_impl(); match IUIAutomationSelectionPattern_Impl::CachedIsSelectionRequired(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8284,7 +8284,7 @@ impl IUIAutomationSelectionPattern2_Vtbl { let this = (*this).get_impl(); match IUIAutomationSelectionPattern2_Impl::CurrentFirstSelectedItem(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8295,7 +8295,7 @@ impl IUIAutomationSelectionPattern2_Vtbl { let this = (*this).get_impl(); match IUIAutomationSelectionPattern2_Impl::CurrentLastSelectedItem(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8306,7 +8306,7 @@ impl IUIAutomationSelectionPattern2_Vtbl { let this = (*this).get_impl(); match IUIAutomationSelectionPattern2_Impl::CurrentCurrentSelectedItem(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8317,7 +8317,7 @@ impl IUIAutomationSelectionPattern2_Vtbl { let this = (*this).get_impl(); match IUIAutomationSelectionPattern2_Impl::CurrentItemCount(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8328,7 +8328,7 @@ impl IUIAutomationSelectionPattern2_Vtbl { let this = (*this).get_impl(); match IUIAutomationSelectionPattern2_Impl::CachedFirstSelectedItem(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8339,7 +8339,7 @@ impl IUIAutomationSelectionPattern2_Vtbl { let this = (*this).get_impl(); match IUIAutomationSelectionPattern2_Impl::CachedLastSelectedItem(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8350,7 +8350,7 @@ impl IUIAutomationSelectionPattern2_Vtbl { let this = (*this).get_impl(); match IUIAutomationSelectionPattern2_Impl::CachedCurrentSelectedItem(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8361,7 +8361,7 @@ impl IUIAutomationSelectionPattern2_Vtbl { let this = (*this).get_impl(); match IUIAutomationSelectionPattern2_Impl::CachedItemCount(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8402,7 +8402,7 @@ impl IUIAutomationSpreadsheetItemPattern_Vtbl { let this = (*this).get_impl(); match IUIAutomationSpreadsheetItemPattern_Impl::CurrentFormula(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8413,7 +8413,7 @@ impl IUIAutomationSpreadsheetItemPattern_Vtbl { let this = (*this).get_impl(); match IUIAutomationSpreadsheetItemPattern_Impl::GetCurrentAnnotationObjects(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8424,7 +8424,7 @@ impl IUIAutomationSpreadsheetItemPattern_Vtbl { let this = (*this).get_impl(); match IUIAutomationSpreadsheetItemPattern_Impl::GetCurrentAnnotationTypes(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8435,7 +8435,7 @@ impl IUIAutomationSpreadsheetItemPattern_Vtbl { let this = (*this).get_impl(); match IUIAutomationSpreadsheetItemPattern_Impl::CachedFormula(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8446,7 +8446,7 @@ impl IUIAutomationSpreadsheetItemPattern_Vtbl { let this = (*this).get_impl(); match IUIAutomationSpreadsheetItemPattern_Impl::GetCachedAnnotationObjects(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8457,7 +8457,7 @@ impl IUIAutomationSpreadsheetItemPattern_Vtbl { let this = (*this).get_impl(); match IUIAutomationSpreadsheetItemPattern_Impl::GetCachedAnnotationTypes(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8488,7 +8488,7 @@ impl IUIAutomationSpreadsheetPattern_Vtbl { let this = (*this).get_impl(); match IUIAutomationSpreadsheetPattern_Impl::GetItemByName(this, core::mem::transmute(&name)) { Ok(ok__) => { - core::ptr::write(element, core::mem::transmute(ok__)); + element.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8549,7 +8549,7 @@ impl IUIAutomationStylesPattern_Vtbl { let this = (*this).get_impl(); match IUIAutomationStylesPattern_Impl::CurrentStyleId(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8560,7 +8560,7 @@ impl IUIAutomationStylesPattern_Vtbl { let this = (*this).get_impl(); match IUIAutomationStylesPattern_Impl::CurrentStyleName(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8571,7 +8571,7 @@ impl IUIAutomationStylesPattern_Vtbl { let this = (*this).get_impl(); match IUIAutomationStylesPattern_Impl::CurrentFillColor(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8582,7 +8582,7 @@ impl IUIAutomationStylesPattern_Vtbl { let this = (*this).get_impl(); match IUIAutomationStylesPattern_Impl::CurrentFillPatternStyle(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8593,7 +8593,7 @@ impl IUIAutomationStylesPattern_Vtbl { let this = (*this).get_impl(); match IUIAutomationStylesPattern_Impl::CurrentShape(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8604,7 +8604,7 @@ impl IUIAutomationStylesPattern_Vtbl { let this = (*this).get_impl(); match IUIAutomationStylesPattern_Impl::CurrentFillPatternColor(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8615,7 +8615,7 @@ impl IUIAutomationStylesPattern_Vtbl { let this = (*this).get_impl(); match IUIAutomationStylesPattern_Impl::CurrentExtendedProperties(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8631,7 +8631,7 @@ impl IUIAutomationStylesPattern_Vtbl { let this = (*this).get_impl(); match IUIAutomationStylesPattern_Impl::CachedStyleId(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8642,7 +8642,7 @@ impl IUIAutomationStylesPattern_Vtbl { let this = (*this).get_impl(); match IUIAutomationStylesPattern_Impl::CachedStyleName(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8653,7 +8653,7 @@ impl IUIAutomationStylesPattern_Vtbl { let this = (*this).get_impl(); match IUIAutomationStylesPattern_Impl::CachedFillColor(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8664,7 +8664,7 @@ impl IUIAutomationStylesPattern_Vtbl { let this = (*this).get_impl(); match IUIAutomationStylesPattern_Impl::CachedFillPatternStyle(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8675,7 +8675,7 @@ impl IUIAutomationStylesPattern_Vtbl { let this = (*this).get_impl(); match IUIAutomationStylesPattern_Impl::CachedShape(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8686,7 +8686,7 @@ impl IUIAutomationStylesPattern_Vtbl { let this = (*this).get_impl(); match IUIAutomationStylesPattern_Impl::CachedFillPatternColor(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8697,7 +8697,7 @@ impl IUIAutomationStylesPattern_Vtbl { let this = (*this).get_impl(); match IUIAutomationStylesPattern_Impl::CachedExtendedProperties(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8773,7 +8773,7 @@ impl IUIAutomationTableItemPattern_Vtbl { let this = (*this).get_impl(); match IUIAutomationTableItemPattern_Impl::GetCurrentRowHeaderItems(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8784,7 +8784,7 @@ impl IUIAutomationTableItemPattern_Vtbl { let this = (*this).get_impl(); match IUIAutomationTableItemPattern_Impl::GetCurrentColumnHeaderItems(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8795,7 +8795,7 @@ impl IUIAutomationTableItemPattern_Vtbl { let this = (*this).get_impl(); match IUIAutomationTableItemPattern_Impl::GetCachedRowHeaderItems(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8806,7 +8806,7 @@ impl IUIAutomationTableItemPattern_Vtbl { let this = (*this).get_impl(); match IUIAutomationTableItemPattern_Impl::GetCachedColumnHeaderItems(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8840,7 +8840,7 @@ impl IUIAutomationTablePattern_Vtbl { let this = (*this).get_impl(); match IUIAutomationTablePattern_Impl::GetCurrentRowHeaders(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8851,7 +8851,7 @@ impl IUIAutomationTablePattern_Vtbl { let this = (*this).get_impl(); match IUIAutomationTablePattern_Impl::GetCurrentColumnHeaders(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8862,7 +8862,7 @@ impl IUIAutomationTablePattern_Vtbl { let this = (*this).get_impl(); match IUIAutomationTablePattern_Impl::CurrentRowOrColumnMajor(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8873,7 +8873,7 @@ impl IUIAutomationTablePattern_Vtbl { let this = (*this).get_impl(); match IUIAutomationTablePattern_Impl::GetCachedRowHeaders(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8884,7 +8884,7 @@ impl IUIAutomationTablePattern_Vtbl { let this = (*this).get_impl(); match IUIAutomationTablePattern_Impl::GetCachedColumnHeaders(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8895,7 +8895,7 @@ impl IUIAutomationTablePattern_Vtbl { let this = (*this).get_impl(); match IUIAutomationTablePattern_Impl::CachedRowOrColumnMajor(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8927,7 +8927,7 @@ impl IUIAutomationTextChildPattern_Vtbl { let this = (*this).get_impl(); match IUIAutomationTextChildPattern_Impl::TextContainer(this) { Ok(ok__) => { - core::ptr::write(container, core::mem::transmute(ok__)); + container.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8938,7 +8938,7 @@ impl IUIAutomationTextChildPattern_Vtbl { let this = (*this).get_impl(); match IUIAutomationTextChildPattern_Impl::TextRange(this) { Ok(ok__) => { - core::ptr::write(range, core::mem::transmute(ok__)); + range.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8966,7 +8966,7 @@ impl IUIAutomationTextEditPattern_Vtbl { let this = (*this).get_impl(); match IUIAutomationTextEditPattern_Impl::GetActiveComposition(this) { Ok(ok__) => { - core::ptr::write(range, core::mem::transmute(ok__)); + range.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8977,7 +8977,7 @@ impl IUIAutomationTextEditPattern_Vtbl { let this = (*this).get_impl(); match IUIAutomationTextEditPattern_Impl::GetConversionTarget(this) { Ok(ok__) => { - core::ptr::write(range, core::mem::transmute(ok__)); + range.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9032,7 +9032,7 @@ impl IUIAutomationTextPattern_Vtbl { let this = (*this).get_impl(); match IUIAutomationTextPattern_Impl::RangeFromPoint(this, core::mem::transmute(&pt)) { Ok(ok__) => { - core::ptr::write(range, core::mem::transmute(ok__)); + range.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9043,7 +9043,7 @@ impl IUIAutomationTextPattern_Vtbl { let this = (*this).get_impl(); match IUIAutomationTextPattern_Impl::RangeFromChild(this, windows_core::from_raw_borrowed(&child)) { Ok(ok__) => { - core::ptr::write(range, core::mem::transmute(ok__)); + range.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9054,7 +9054,7 @@ impl IUIAutomationTextPattern_Vtbl { let this = (*this).get_impl(); match IUIAutomationTextPattern_Impl::GetSelection(this) { Ok(ok__) => { - core::ptr::write(ranges, core::mem::transmute(ok__)); + ranges.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9065,7 +9065,7 @@ impl IUIAutomationTextPattern_Vtbl { let this = (*this).get_impl(); match IUIAutomationTextPattern_Impl::GetVisibleRanges(this) { Ok(ok__) => { - core::ptr::write(ranges, core::mem::transmute(ok__)); + ranges.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9076,7 +9076,7 @@ impl IUIAutomationTextPattern_Vtbl { let this = (*this).get_impl(); match IUIAutomationTextPattern_Impl::DocumentRange(this) { Ok(ok__) => { - core::ptr::write(range, core::mem::transmute(ok__)); + range.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9087,7 +9087,7 @@ impl IUIAutomationTextPattern_Vtbl { let this = (*this).get_impl(); match IUIAutomationTextPattern_Impl::SupportedTextSelection(this) { Ok(ok__) => { - core::ptr::write(supportedtextselection, core::mem::transmute(ok__)); + supportedtextselection.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9119,7 +9119,7 @@ impl IUIAutomationTextPattern2_Vtbl { let this = (*this).get_impl(); match IUIAutomationTextPattern2_Impl::RangeFromAnnotation(this, windows_core::from_raw_borrowed(&annotation)) { Ok(ok__) => { - core::ptr::write(range, core::mem::transmute(ok__)); + range.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9130,7 +9130,7 @@ impl IUIAutomationTextPattern2_Vtbl { let this = (*this).get_impl(); match IUIAutomationTextPattern2_Impl::GetCaretRange(this, core::mem::transmute_copy(&isactive)) { Ok(ok__) => { - core::ptr::write(range, core::mem::transmute(ok__)); + range.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9177,7 +9177,7 @@ impl IUIAutomationTextRange_Vtbl { let this = (*this).get_impl(); match IUIAutomationTextRange_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(clonedrange, core::mem::transmute(ok__)); + clonedrange.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9188,7 +9188,7 @@ impl IUIAutomationTextRange_Vtbl { let this = (*this).get_impl(); match IUIAutomationTextRange_Impl::Compare(this, windows_core::from_raw_borrowed(&range)) { Ok(ok__) => { - core::ptr::write(aresame, core::mem::transmute(ok__)); + aresame.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9199,7 +9199,7 @@ impl IUIAutomationTextRange_Vtbl { let this = (*this).get_impl(); match IUIAutomationTextRange_Impl::CompareEndpoints(this, core::mem::transmute_copy(&srcendpoint), windows_core::from_raw_borrowed(&range), core::mem::transmute_copy(&targetendpoint)) { Ok(ok__) => { - core::ptr::write(compvalue, core::mem::transmute(ok__)); + compvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9215,7 +9215,7 @@ impl IUIAutomationTextRange_Vtbl { let this = (*this).get_impl(); match IUIAutomationTextRange_Impl::FindAttribute(this, core::mem::transmute_copy(&attr), core::mem::transmute(&val), core::mem::transmute_copy(&backward)) { Ok(ok__) => { - core::ptr::write(found, core::mem::transmute(ok__)); + found.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9226,7 +9226,7 @@ impl IUIAutomationTextRange_Vtbl { let this = (*this).get_impl(); match IUIAutomationTextRange_Impl::FindText(this, core::mem::transmute(&text), core::mem::transmute_copy(&backward), core::mem::transmute_copy(&ignorecase)) { Ok(ok__) => { - core::ptr::write(found, core::mem::transmute(ok__)); + found.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9237,7 +9237,7 @@ impl IUIAutomationTextRange_Vtbl { let this = (*this).get_impl(); match IUIAutomationTextRange_Impl::GetAttributeValue(this, core::mem::transmute_copy(&attr)) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9248,7 +9248,7 @@ impl IUIAutomationTextRange_Vtbl { let this = (*this).get_impl(); match IUIAutomationTextRange_Impl::GetBoundingRectangles(this) { Ok(ok__) => { - core::ptr::write(boundingrects, core::mem::transmute(ok__)); + boundingrects.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9259,7 +9259,7 @@ impl IUIAutomationTextRange_Vtbl { let this = (*this).get_impl(); match IUIAutomationTextRange_Impl::GetEnclosingElement(this) { Ok(ok__) => { - core::ptr::write(enclosingelement, core::mem::transmute(ok__)); + enclosingelement.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9270,7 +9270,7 @@ impl IUIAutomationTextRange_Vtbl { let this = (*this).get_impl(); match IUIAutomationTextRange_Impl::GetText(this, core::mem::transmute_copy(&maxlength)) { Ok(ok__) => { - core::ptr::write(text, core::mem::transmute(ok__)); + text.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9281,7 +9281,7 @@ impl IUIAutomationTextRange_Vtbl { let this = (*this).get_impl(); match IUIAutomationTextRange_Impl::Move(this, core::mem::transmute_copy(&unit), core::mem::transmute_copy(&count)) { Ok(ok__) => { - core::ptr::write(moved, core::mem::transmute(ok__)); + moved.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9292,7 +9292,7 @@ impl IUIAutomationTextRange_Vtbl { let this = (*this).get_impl(); match IUIAutomationTextRange_Impl::MoveEndpointByUnit(this, core::mem::transmute_copy(&endpoint), core::mem::transmute_copy(&unit), core::mem::transmute_copy(&count)) { Ok(ok__) => { - core::ptr::write(moved, core::mem::transmute(ok__)); + moved.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9328,7 +9328,7 @@ impl IUIAutomationTextRange_Vtbl { let this = (*this).get_impl(); match IUIAutomationTextRange_Impl::GetChildren(this) { Ok(ok__) => { - core::ptr::write(children, core::mem::transmute(ok__)); + children.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9396,7 +9396,7 @@ impl IUIAutomationTextRange3_Vtbl { let this = (*this).get_impl(); match IUIAutomationTextRange3_Impl::GetEnclosingElementBuildCache(this, windows_core::from_raw_borrowed(&cacherequest)) { Ok(ok__) => { - core::ptr::write(enclosingelement, core::mem::transmute(ok__)); + enclosingelement.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9407,7 +9407,7 @@ impl IUIAutomationTextRange3_Vtbl { let this = (*this).get_impl(); match IUIAutomationTextRange3_Impl::GetChildrenBuildCache(this, windows_core::from_raw_borrowed(&cacherequest)) { Ok(ok__) => { - core::ptr::write(children, core::mem::transmute(ok__)); + children.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9418,7 +9418,7 @@ impl IUIAutomationTextRange3_Vtbl { let this = (*this).get_impl(); match IUIAutomationTextRange3_Impl::GetAttributeValues(this, core::mem::transmute_copy(&attributeids), core::mem::transmute_copy(&attributeidcount)) { Ok(ok__) => { - core::ptr::write(attributevalues, core::mem::transmute(ok__)); + attributevalues.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9447,7 +9447,7 @@ impl IUIAutomationTextRangeArray_Vtbl { let this = (*this).get_impl(); match IUIAutomationTextRangeArray_Impl::Length(this) { Ok(ok__) => { - core::ptr::write(length, core::mem::transmute(ok__)); + length.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9458,7 +9458,7 @@ impl IUIAutomationTextRangeArray_Vtbl { let this = (*this).get_impl(); match IUIAutomationTextRangeArray_Impl::GetElement(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(element, core::mem::transmute(ok__)); + element.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9492,7 +9492,7 @@ impl IUIAutomationTogglePattern_Vtbl { let this = (*this).get_impl(); match IUIAutomationTogglePattern_Impl::CurrentToggleState(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9503,7 +9503,7 @@ impl IUIAutomationTogglePattern_Vtbl { let this = (*this).get_impl(); match IUIAutomationTogglePattern_Impl::CachedToggleState(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9554,7 +9554,7 @@ impl IUIAutomationTransformPattern_Vtbl { let this = (*this).get_impl(); match IUIAutomationTransformPattern_Impl::CurrentCanMove(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9565,7 +9565,7 @@ impl IUIAutomationTransformPattern_Vtbl { let this = (*this).get_impl(); match IUIAutomationTransformPattern_Impl::CurrentCanResize(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9576,7 +9576,7 @@ impl IUIAutomationTransformPattern_Vtbl { let this = (*this).get_impl(); match IUIAutomationTransformPattern_Impl::CurrentCanRotate(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9587,7 +9587,7 @@ impl IUIAutomationTransformPattern_Vtbl { let this = (*this).get_impl(); match IUIAutomationTransformPattern_Impl::CachedCanMove(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9598,7 +9598,7 @@ impl IUIAutomationTransformPattern_Vtbl { let this = (*this).get_impl(); match IUIAutomationTransformPattern_Impl::CachedCanResize(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9609,7 +9609,7 @@ impl IUIAutomationTransformPattern_Vtbl { let this = (*this).get_impl(); match IUIAutomationTransformPattern_Impl::CachedCanRotate(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9662,7 +9662,7 @@ impl IUIAutomationTransformPattern2_Vtbl { let this = (*this).get_impl(); match IUIAutomationTransformPattern2_Impl::CurrentCanZoom(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9673,7 +9673,7 @@ impl IUIAutomationTransformPattern2_Vtbl { let this = (*this).get_impl(); match IUIAutomationTransformPattern2_Impl::CachedCanZoom(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9684,7 +9684,7 @@ impl IUIAutomationTransformPattern2_Vtbl { let this = (*this).get_impl(); match IUIAutomationTransformPattern2_Impl::CurrentZoomLevel(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9695,7 +9695,7 @@ impl IUIAutomationTransformPattern2_Vtbl { let this = (*this).get_impl(); match IUIAutomationTransformPattern2_Impl::CachedZoomLevel(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9706,7 +9706,7 @@ impl IUIAutomationTransformPattern2_Vtbl { let this = (*this).get_impl(); match IUIAutomationTransformPattern2_Impl::CurrentZoomMinimum(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9717,7 +9717,7 @@ impl IUIAutomationTransformPattern2_Vtbl { let this = (*this).get_impl(); match IUIAutomationTransformPattern2_Impl::CachedZoomMinimum(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9728,7 +9728,7 @@ impl IUIAutomationTransformPattern2_Vtbl { let this = (*this).get_impl(); match IUIAutomationTransformPattern2_Impl::CurrentZoomMaximum(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9739,7 +9739,7 @@ impl IUIAutomationTransformPattern2_Vtbl { let this = (*this).get_impl(); match IUIAutomationTransformPattern2_Impl::CachedZoomMaximum(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9786,7 +9786,7 @@ impl IUIAutomationTreeWalker_Vtbl { let this = (*this).get_impl(); match IUIAutomationTreeWalker_Impl::GetParentElement(this, windows_core::from_raw_borrowed(&element)) { Ok(ok__) => { - core::ptr::write(parent, core::mem::transmute(ok__)); + parent.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9797,7 +9797,7 @@ impl IUIAutomationTreeWalker_Vtbl { let this = (*this).get_impl(); match IUIAutomationTreeWalker_Impl::GetFirstChildElement(this, windows_core::from_raw_borrowed(&element)) { Ok(ok__) => { - core::ptr::write(first, core::mem::transmute(ok__)); + first.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9808,7 +9808,7 @@ impl IUIAutomationTreeWalker_Vtbl { let this = (*this).get_impl(); match IUIAutomationTreeWalker_Impl::GetLastChildElement(this, windows_core::from_raw_borrowed(&element)) { Ok(ok__) => { - core::ptr::write(last, core::mem::transmute(ok__)); + last.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9819,7 +9819,7 @@ impl IUIAutomationTreeWalker_Vtbl { let this = (*this).get_impl(); match IUIAutomationTreeWalker_Impl::GetNextSiblingElement(this, windows_core::from_raw_borrowed(&element)) { Ok(ok__) => { - core::ptr::write(next, core::mem::transmute(ok__)); + next.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9830,7 +9830,7 @@ impl IUIAutomationTreeWalker_Vtbl { let this = (*this).get_impl(); match IUIAutomationTreeWalker_Impl::GetPreviousSiblingElement(this, windows_core::from_raw_borrowed(&element)) { Ok(ok__) => { - core::ptr::write(previous, core::mem::transmute(ok__)); + previous.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9841,7 +9841,7 @@ impl IUIAutomationTreeWalker_Vtbl { let this = (*this).get_impl(); match IUIAutomationTreeWalker_Impl::NormalizeElement(this, windows_core::from_raw_borrowed(&element)) { Ok(ok__) => { - core::ptr::write(normalized, core::mem::transmute(ok__)); + normalized.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9852,7 +9852,7 @@ impl IUIAutomationTreeWalker_Vtbl { let this = (*this).get_impl(); match IUIAutomationTreeWalker_Impl::GetParentElementBuildCache(this, windows_core::from_raw_borrowed(&element), windows_core::from_raw_borrowed(&cacherequest)) { Ok(ok__) => { - core::ptr::write(parent, core::mem::transmute(ok__)); + parent.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9863,7 +9863,7 @@ impl IUIAutomationTreeWalker_Vtbl { let this = (*this).get_impl(); match IUIAutomationTreeWalker_Impl::GetFirstChildElementBuildCache(this, windows_core::from_raw_borrowed(&element), windows_core::from_raw_borrowed(&cacherequest)) { Ok(ok__) => { - core::ptr::write(first, core::mem::transmute(ok__)); + first.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9874,7 +9874,7 @@ impl IUIAutomationTreeWalker_Vtbl { let this = (*this).get_impl(); match IUIAutomationTreeWalker_Impl::GetLastChildElementBuildCache(this, windows_core::from_raw_borrowed(&element), windows_core::from_raw_borrowed(&cacherequest)) { Ok(ok__) => { - core::ptr::write(last, core::mem::transmute(ok__)); + last.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9885,7 +9885,7 @@ impl IUIAutomationTreeWalker_Vtbl { let this = (*this).get_impl(); match IUIAutomationTreeWalker_Impl::GetNextSiblingElementBuildCache(this, windows_core::from_raw_borrowed(&element), windows_core::from_raw_borrowed(&cacherequest)) { Ok(ok__) => { - core::ptr::write(next, core::mem::transmute(ok__)); + next.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9896,7 +9896,7 @@ impl IUIAutomationTreeWalker_Vtbl { let this = (*this).get_impl(); match IUIAutomationTreeWalker_Impl::GetPreviousSiblingElementBuildCache(this, windows_core::from_raw_borrowed(&element), windows_core::from_raw_borrowed(&cacherequest)) { Ok(ok__) => { - core::ptr::write(previous, core::mem::transmute(ok__)); + previous.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9907,7 +9907,7 @@ impl IUIAutomationTreeWalker_Vtbl { let this = (*this).get_impl(); match IUIAutomationTreeWalker_Impl::NormalizeElementBuildCache(this, windows_core::from_raw_borrowed(&element), windows_core::from_raw_borrowed(&cacherequest)) { Ok(ok__) => { - core::ptr::write(normalized, core::mem::transmute(ok__)); + normalized.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9918,7 +9918,7 @@ impl IUIAutomationTreeWalker_Vtbl { let this = (*this).get_impl(); match IUIAutomationTreeWalker_Impl::Condition(this) { Ok(ok__) => { - core::ptr::write(condition, core::mem::transmute(ok__)); + condition.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9965,7 +9965,7 @@ impl IUIAutomationValuePattern_Vtbl { let this = (*this).get_impl(); match IUIAutomationValuePattern_Impl::CurrentValue(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9976,7 +9976,7 @@ impl IUIAutomationValuePattern_Vtbl { let this = (*this).get_impl(); match IUIAutomationValuePattern_Impl::CurrentIsReadOnly(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9987,7 +9987,7 @@ impl IUIAutomationValuePattern_Vtbl { let this = (*this).get_impl(); match IUIAutomationValuePattern_Impl::CachedValue(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9998,7 +9998,7 @@ impl IUIAutomationValuePattern_Vtbl { let this = (*this).get_impl(); match IUIAutomationValuePattern_Impl::CachedIsReadOnly(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10064,7 +10064,7 @@ impl IUIAutomationWindowPattern_Vtbl { let this = (*this).get_impl(); match IUIAutomationWindowPattern_Impl::WaitForInputIdle(this, core::mem::transmute_copy(&milliseconds)) { Ok(ok__) => { - core::ptr::write(success, core::mem::transmute(ok__)); + success.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10080,7 +10080,7 @@ impl IUIAutomationWindowPattern_Vtbl { let this = (*this).get_impl(); match IUIAutomationWindowPattern_Impl::CurrentCanMaximize(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10091,7 +10091,7 @@ impl IUIAutomationWindowPattern_Vtbl { let this = (*this).get_impl(); match IUIAutomationWindowPattern_Impl::CurrentCanMinimize(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10102,7 +10102,7 @@ impl IUIAutomationWindowPattern_Vtbl { let this = (*this).get_impl(); match IUIAutomationWindowPattern_Impl::CurrentIsModal(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10113,7 +10113,7 @@ impl IUIAutomationWindowPattern_Vtbl { let this = (*this).get_impl(); match IUIAutomationWindowPattern_Impl::CurrentIsTopmost(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10124,7 +10124,7 @@ impl IUIAutomationWindowPattern_Vtbl { let this = (*this).get_impl(); match IUIAutomationWindowPattern_Impl::CurrentWindowVisualState(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10135,7 +10135,7 @@ impl IUIAutomationWindowPattern_Vtbl { let this = (*this).get_impl(); match IUIAutomationWindowPattern_Impl::CurrentWindowInteractionState(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10146,7 +10146,7 @@ impl IUIAutomationWindowPattern_Vtbl { let this = (*this).get_impl(); match IUIAutomationWindowPattern_Impl::CachedCanMaximize(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10157,7 +10157,7 @@ impl IUIAutomationWindowPattern_Vtbl { let this = (*this).get_impl(); match IUIAutomationWindowPattern_Impl::CachedCanMinimize(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10168,7 +10168,7 @@ impl IUIAutomationWindowPattern_Vtbl { let this = (*this).get_impl(); match IUIAutomationWindowPattern_Impl::CachedIsModal(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10179,7 +10179,7 @@ impl IUIAutomationWindowPattern_Vtbl { let this = (*this).get_impl(); match IUIAutomationWindowPattern_Impl::CachedIsTopmost(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10190,7 +10190,7 @@ impl IUIAutomationWindowPattern_Vtbl { let this = (*this).get_impl(); match IUIAutomationWindowPattern_Impl::CachedWindowVisualState(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10201,7 +10201,7 @@ impl IUIAutomationWindowPattern_Vtbl { let this = (*this).get_impl(); match IUIAutomationWindowPattern_Impl::CachedWindowInteractionState(this) { Ok(ok__) => { - core::ptr::write(retval, core::mem::transmute(ok__)); + retval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10248,7 +10248,7 @@ impl IValueProvider_Vtbl { let this = (*this).get_impl(); match IValueProvider_Impl::Value(this) { Ok(ok__) => { - core::ptr::write(pretval, core::mem::transmute(ok__)); + pretval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10259,7 +10259,7 @@ impl IValueProvider_Vtbl { let this = (*this).get_impl(); match IValueProvider_Impl::IsReadOnly(this) { Ok(ok__) => { - core::ptr::write(pretval, core::mem::transmute(ok__)); + pretval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10322,7 +10322,7 @@ impl IWindowProvider_Vtbl { let this = (*this).get_impl(); match IWindowProvider_Impl::WaitForInputIdle(this, core::mem::transmute_copy(&milliseconds)) { Ok(ok__) => { - core::ptr::write(pretval, core::mem::transmute(ok__)); + pretval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10333,7 +10333,7 @@ impl IWindowProvider_Vtbl { let this = (*this).get_impl(); match IWindowProvider_Impl::CanMaximize(this) { Ok(ok__) => { - core::ptr::write(pretval, core::mem::transmute(ok__)); + pretval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10344,7 +10344,7 @@ impl IWindowProvider_Vtbl { let this = (*this).get_impl(); match IWindowProvider_Impl::CanMinimize(this) { Ok(ok__) => { - core::ptr::write(pretval, core::mem::transmute(ok__)); + pretval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10355,7 +10355,7 @@ impl IWindowProvider_Vtbl { let this = (*this).get_impl(); match IWindowProvider_Impl::IsModal(this) { Ok(ok__) => { - core::ptr::write(pretval, core::mem::transmute(ok__)); + pretval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10366,7 +10366,7 @@ impl IWindowProvider_Vtbl { let this = (*this).get_impl(); match IWindowProvider_Impl::WindowVisualState(this) { Ok(ok__) => { - core::ptr::write(pretval, core::mem::transmute(ok__)); + pretval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10377,7 +10377,7 @@ impl IWindowProvider_Vtbl { let this = (*this).get_impl(); match IWindowProvider_Impl::WindowInteractionState(this) { Ok(ok__) => { - core::ptr::write(pretval, core::mem::transmute(ok__)); + pretval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10388,7 +10388,7 @@ impl IWindowProvider_Vtbl { let this = (*this).get_impl(); match IWindowProvider_Impl::IsTopmost(this) { Ok(ok__) => { - core::ptr::write(pretval, core::mem::transmute(ok__)); + pretval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/Win32/UI/Animation/impl.rs b/crates/libs/windows/src/Windows/Win32/UI/Animation/impl.rs index b3ac7760ec..7d088e3a89 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/Animation/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/Animation/impl.rs @@ -25,7 +25,7 @@ impl IUIAnimationInterpolator_Vtbl { let this = (*this).get_impl(); match IUIAnimationInterpolator_Impl::GetDuration(this) { Ok(ok__) => { - core::ptr::write(duration, core::mem::transmute(ok__)); + duration.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -36,7 +36,7 @@ impl IUIAnimationInterpolator_Vtbl { let this = (*this).get_impl(); match IUIAnimationInterpolator_Impl::GetFinalValue(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -47,7 +47,7 @@ impl IUIAnimationInterpolator_Vtbl { let this = (*this).get_impl(); match IUIAnimationInterpolator_Impl::InterpolateValue(this, core::mem::transmute_copy(&offset)) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -58,7 +58,7 @@ impl IUIAnimationInterpolator_Vtbl { let this = (*this).get_impl(); match IUIAnimationInterpolator_Impl::InterpolateVelocity(this, core::mem::transmute_copy(&offset)) { Ok(ok__) => { - core::ptr::write(velocity, core::mem::transmute(ok__)); + velocity.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -103,7 +103,7 @@ impl IUIAnimationInterpolator2_Vtbl { let this = (*this).get_impl(); match IUIAnimationInterpolator2_Impl::GetDimension(this) { Ok(ok__) => { - core::ptr::write(dimension, core::mem::transmute(ok__)); + dimension.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -124,7 +124,7 @@ impl IUIAnimationInterpolator2_Vtbl { let this = (*this).get_impl(); match IUIAnimationInterpolator2_Impl::GetDuration(this) { Ok(ok__) => { - core::ptr::write(duration, core::mem::transmute(ok__)); + duration.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -218,7 +218,7 @@ impl IUIAnimationManager_Vtbl { let this = (*this).get_impl(); match IUIAnimationManager_Impl::CreateAnimationVariable(this, core::mem::transmute_copy(&initialvalue)) { Ok(ok__) => { - core::ptr::write(variable, core::mem::transmute(ok__)); + variable.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -234,7 +234,7 @@ impl IUIAnimationManager_Vtbl { let this = (*this).get_impl(); match IUIAnimationManager_Impl::CreateStoryboard(this) { Ok(ok__) => { - core::ptr::write(storyboard, core::mem::transmute(ok__)); + storyboard.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -260,7 +260,7 @@ impl IUIAnimationManager_Vtbl { let this = (*this).get_impl(); match IUIAnimationManager_Impl::GetVariableFromTag(this, windows_core::from_raw_borrowed(&object), core::mem::transmute_copy(&id)) { Ok(ok__) => { - core::ptr::write(variable, core::mem::transmute(ok__)); + variable.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -271,7 +271,7 @@ impl IUIAnimationManager_Vtbl { let this = (*this).get_impl(); match IUIAnimationManager_Impl::GetStoryboardFromTag(this, windows_core::from_raw_borrowed(&object), core::mem::transmute_copy(&id)) { Ok(ok__) => { - core::ptr::write(storyboard, core::mem::transmute(ok__)); + storyboard.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -282,7 +282,7 @@ impl IUIAnimationManager_Vtbl { let this = (*this).get_impl(); match IUIAnimationManager_Impl::GetStatus(this) { Ok(ok__) => { - core::ptr::write(status, core::mem::transmute(ok__)); + status.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -396,7 +396,7 @@ impl IUIAnimationManager2_Vtbl { let this = (*this).get_impl(); match IUIAnimationManager2_Impl::CreateAnimationVectorVariable(this, core::mem::transmute_copy(&initialvalue), core::mem::transmute_copy(&cdimension)) { Ok(ok__) => { - core::ptr::write(variable, core::mem::transmute(ok__)); + variable.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -407,7 +407,7 @@ impl IUIAnimationManager2_Vtbl { let this = (*this).get_impl(); match IUIAnimationManager2_Impl::CreateAnimationVariable(this, core::mem::transmute_copy(&initialvalue)) { Ok(ok__) => { - core::ptr::write(variable, core::mem::transmute(ok__)); + variable.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -423,7 +423,7 @@ impl IUIAnimationManager2_Vtbl { let this = (*this).get_impl(); match IUIAnimationManager2_Impl::CreateStoryboard(this) { Ok(ok__) => { - core::ptr::write(storyboard, core::mem::transmute(ok__)); + storyboard.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -449,7 +449,7 @@ impl IUIAnimationManager2_Vtbl { let this = (*this).get_impl(); match IUIAnimationManager2_Impl::GetVariableFromTag(this, windows_core::from_raw_borrowed(&object), core::mem::transmute_copy(&id)) { Ok(ok__) => { - core::ptr::write(variable, core::mem::transmute(ok__)); + variable.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -460,7 +460,7 @@ impl IUIAnimationManager2_Vtbl { let this = (*this).get_impl(); match IUIAnimationManager2_Impl::GetStoryboardFromTag(this, windows_core::from_raw_borrowed(&object), core::mem::transmute_copy(&id)) { Ok(ok__) => { - core::ptr::write(storyboard, core::mem::transmute(ok__)); + storyboard.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -471,7 +471,7 @@ impl IUIAnimationManager2_Vtbl { let this = (*this).get_impl(); match IUIAnimationManager2_Impl::EstimateNextEventTime(this) { Ok(ok__) => { - core::ptr::write(seconds, core::mem::transmute(ok__)); + seconds.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -482,7 +482,7 @@ impl IUIAnimationManager2_Vtbl { let this = (*this).get_impl(); match IUIAnimationManager2_Impl::GetStatus(this) { Ok(ok__) => { - core::ptr::write(status, core::mem::transmute(ok__)); + status.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -694,7 +694,7 @@ impl IUIAnimationStoryboard_Vtbl { let this = (*this).get_impl(); match IUIAnimationStoryboard_Impl::AddKeyframeAtOffset(this, core::mem::transmute_copy(&existingkeyframe), core::mem::transmute_copy(&offset)) { Ok(ok__) => { - core::ptr::write(keyframe, core::mem::transmute(ok__)); + keyframe.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -705,7 +705,7 @@ impl IUIAnimationStoryboard_Vtbl { let this = (*this).get_impl(); match IUIAnimationStoryboard_Impl::AddKeyframeAfterTransition(this, windows_core::from_raw_borrowed(&transition)) { Ok(ok__) => { - core::ptr::write(keyframe, core::mem::transmute(ok__)); + keyframe.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -771,7 +771,7 @@ impl IUIAnimationStoryboard_Vtbl { let this = (*this).get_impl(); match IUIAnimationStoryboard_Impl::GetStatus(this) { Ok(ok__) => { - core::ptr::write(status, core::mem::transmute(ok__)); + status.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -782,7 +782,7 @@ impl IUIAnimationStoryboard_Vtbl { let this = (*this).get_impl(); match IUIAnimationStoryboard_Impl::GetElapsedTime(this) { Ok(ok__) => { - core::ptr::write(elapsedtime, core::mem::transmute(ok__)); + elapsedtime.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -851,7 +851,7 @@ impl IUIAnimationStoryboard2_Vtbl { let this = (*this).get_impl(); match IUIAnimationStoryboard2_Impl::AddKeyframeAtOffset(this, core::mem::transmute_copy(&existingkeyframe), core::mem::transmute_copy(&offset)) { Ok(ok__) => { - core::ptr::write(keyframe, core::mem::transmute(ok__)); + keyframe.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -862,7 +862,7 @@ impl IUIAnimationStoryboard2_Vtbl { let this = (*this).get_impl(); match IUIAnimationStoryboard2_Impl::AddKeyframeAfterTransition(this, windows_core::from_raw_borrowed(&transition)) { Ok(ok__) => { - core::ptr::write(keyframe, core::mem::transmute(ok__)); + keyframe.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -933,7 +933,7 @@ impl IUIAnimationStoryboard2_Vtbl { let this = (*this).get_impl(); match IUIAnimationStoryboard2_Impl::GetStatus(this) { Ok(ok__) => { - core::ptr::write(status, core::mem::transmute(ok__)); + status.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -944,7 +944,7 @@ impl IUIAnimationStoryboard2_Vtbl { let this = (*this).get_impl(); match IUIAnimationStoryboard2_Impl::GetElapsedTime(this) { Ok(ok__) => { - core::ptr::write(elapsedtime, core::mem::transmute(ok__)); + elapsedtime.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1077,7 +1077,7 @@ impl IUIAnimationTimer_Vtbl { let this = (*this).get_impl(); match IUIAnimationTimer_Impl::GetTime(this) { Ok(ok__) => { - core::ptr::write(seconds, core::mem::transmute(ok__)); + seconds.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1167,7 +1167,7 @@ impl IUIAnimationTimerUpdateHandler_Vtbl { let this = (*this).get_impl(); match IUIAnimationTimerUpdateHandler_Impl::OnUpdate(this, core::mem::transmute_copy(&timenow)) { Ok(ok__) => { - core::ptr::write(result, core::mem::transmute(ok__)); + result.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1223,7 +1223,7 @@ impl IUIAnimationTransition_Vtbl { let this = (*this).get_impl(); match IUIAnimationTransition_Impl::GetDuration(this) { Ok(ok__) => { - core::ptr::write(duration, core::mem::transmute(ok__)); + duration.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1258,7 +1258,7 @@ impl IUIAnimationTransition2_Vtbl { let this = (*this).get_impl(); match IUIAnimationTransition2_Impl::GetDimension(this) { Ok(ok__) => { - core::ptr::write(dimension, core::mem::transmute(ok__)); + dimension.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1294,7 +1294,7 @@ impl IUIAnimationTransition2_Vtbl { let this = (*this).get_impl(); match IUIAnimationTransition2_Impl::GetDuration(this) { Ok(ok__) => { - core::ptr::write(duration, core::mem::transmute(ok__)); + duration.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1326,7 +1326,7 @@ impl IUIAnimationTransitionFactory_Vtbl { let this = (*this).get_impl(); match IUIAnimationTransitionFactory_Impl::CreateTransition(this, windows_core::from_raw_borrowed(&interpolator)) { Ok(ok__) => { - core::ptr::write(transition, core::mem::transmute(ok__)); + transition.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1349,7 +1349,7 @@ impl IUIAnimationTransitionFactory2_Vtbl { let this = (*this).get_impl(); match IUIAnimationTransitionFactory2_Impl::CreateTransition(this, windows_core::from_raw_borrowed(&interpolator)) { Ok(ok__) => { - core::ptr::write(transition, core::mem::transmute(ok__)); + transition.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1383,7 +1383,7 @@ impl IUIAnimationTransitionLibrary_Vtbl { let this = (*this).get_impl(); match IUIAnimationTransitionLibrary_Impl::CreateInstantaneousTransition(this, core::mem::transmute_copy(&finalvalue)) { Ok(ok__) => { - core::ptr::write(transition, core::mem::transmute(ok__)); + transition.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1394,7 +1394,7 @@ impl IUIAnimationTransitionLibrary_Vtbl { let this = (*this).get_impl(); match IUIAnimationTransitionLibrary_Impl::CreateConstantTransition(this, core::mem::transmute_copy(&duration)) { Ok(ok__) => { - core::ptr::write(transition, core::mem::transmute(ok__)); + transition.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1405,7 +1405,7 @@ impl IUIAnimationTransitionLibrary_Vtbl { let this = (*this).get_impl(); match IUIAnimationTransitionLibrary_Impl::CreateDiscreteTransition(this, core::mem::transmute_copy(&delay), core::mem::transmute_copy(&finalvalue), core::mem::transmute_copy(&hold)) { Ok(ok__) => { - core::ptr::write(transition, core::mem::transmute(ok__)); + transition.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1416,7 +1416,7 @@ impl IUIAnimationTransitionLibrary_Vtbl { let this = (*this).get_impl(); match IUIAnimationTransitionLibrary_Impl::CreateLinearTransition(this, core::mem::transmute_copy(&duration), core::mem::transmute_copy(&finalvalue)) { Ok(ok__) => { - core::ptr::write(transition, core::mem::transmute(ok__)); + transition.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1427,7 +1427,7 @@ impl IUIAnimationTransitionLibrary_Vtbl { let this = (*this).get_impl(); match IUIAnimationTransitionLibrary_Impl::CreateLinearTransitionFromSpeed(this, core::mem::transmute_copy(&speed), core::mem::transmute_copy(&finalvalue)) { Ok(ok__) => { - core::ptr::write(transition, core::mem::transmute(ok__)); + transition.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1438,7 +1438,7 @@ impl IUIAnimationTransitionLibrary_Vtbl { let this = (*this).get_impl(); match IUIAnimationTransitionLibrary_Impl::CreateSinusoidalTransitionFromVelocity(this, core::mem::transmute_copy(&duration), core::mem::transmute_copy(&period)) { Ok(ok__) => { - core::ptr::write(transition, core::mem::transmute(ok__)); + transition.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1449,7 +1449,7 @@ impl IUIAnimationTransitionLibrary_Vtbl { let this = (*this).get_impl(); match IUIAnimationTransitionLibrary_Impl::CreateSinusoidalTransitionFromRange(this, core::mem::transmute_copy(&duration), core::mem::transmute_copy(&minimumvalue), core::mem::transmute_copy(&maximumvalue), core::mem::transmute_copy(&period), core::mem::transmute_copy(&slope)) { Ok(ok__) => { - core::ptr::write(transition, core::mem::transmute(ok__)); + transition.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1460,7 +1460,7 @@ impl IUIAnimationTransitionLibrary_Vtbl { let this = (*this).get_impl(); match IUIAnimationTransitionLibrary_Impl::CreateAccelerateDecelerateTransition(this, core::mem::transmute_copy(&duration), core::mem::transmute_copy(&finalvalue), core::mem::transmute_copy(&accelerationratio), core::mem::transmute_copy(&decelerationratio)) { Ok(ok__) => { - core::ptr::write(transition, core::mem::transmute(ok__)); + transition.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1471,7 +1471,7 @@ impl IUIAnimationTransitionLibrary_Vtbl { let this = (*this).get_impl(); match IUIAnimationTransitionLibrary_Impl::CreateReversalTransition(this, core::mem::transmute_copy(&duration)) { Ok(ok__) => { - core::ptr::write(transition, core::mem::transmute(ok__)); + transition.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1482,7 +1482,7 @@ impl IUIAnimationTransitionLibrary_Vtbl { let this = (*this).get_impl(); match IUIAnimationTransitionLibrary_Impl::CreateCubicTransition(this, core::mem::transmute_copy(&duration), core::mem::transmute_copy(&finalvalue), core::mem::transmute_copy(&finalvelocity)) { Ok(ok__) => { - core::ptr::write(transition, core::mem::transmute(ok__)); + transition.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1493,7 +1493,7 @@ impl IUIAnimationTransitionLibrary_Vtbl { let this = (*this).get_impl(); match IUIAnimationTransitionLibrary_Impl::CreateSmoothStopTransition(this, core::mem::transmute_copy(&maximumduration), core::mem::transmute_copy(&finalvalue)) { Ok(ok__) => { - core::ptr::write(transition, core::mem::transmute(ok__)); + transition.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1504,7 +1504,7 @@ impl IUIAnimationTransitionLibrary_Vtbl { let this = (*this).get_impl(); match IUIAnimationTransitionLibrary_Impl::CreateParabolicTransitionFromAcceleration(this, core::mem::transmute_copy(&finalvalue), core::mem::transmute_copy(&finalvelocity), core::mem::transmute_copy(&acceleration)) { Ok(ok__) => { - core::ptr::write(transition, core::mem::transmute(ok__)); + transition.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1559,7 +1559,7 @@ impl IUIAnimationTransitionLibrary2_Vtbl { let this = (*this).get_impl(); match IUIAnimationTransitionLibrary2_Impl::CreateInstantaneousTransition(this, core::mem::transmute_copy(&finalvalue)) { Ok(ok__) => { - core::ptr::write(transition, core::mem::transmute(ok__)); + transition.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1570,7 +1570,7 @@ impl IUIAnimationTransitionLibrary2_Vtbl { let this = (*this).get_impl(); match IUIAnimationTransitionLibrary2_Impl::CreateInstantaneousVectorTransition(this, core::mem::transmute_copy(&finalvalue), core::mem::transmute_copy(&cdimension)) { Ok(ok__) => { - core::ptr::write(transition, core::mem::transmute(ok__)); + transition.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1581,7 +1581,7 @@ impl IUIAnimationTransitionLibrary2_Vtbl { let this = (*this).get_impl(); match IUIAnimationTransitionLibrary2_Impl::CreateConstantTransition(this, core::mem::transmute_copy(&duration)) { Ok(ok__) => { - core::ptr::write(transition, core::mem::transmute(ok__)); + transition.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1592,7 +1592,7 @@ impl IUIAnimationTransitionLibrary2_Vtbl { let this = (*this).get_impl(); match IUIAnimationTransitionLibrary2_Impl::CreateDiscreteTransition(this, core::mem::transmute_copy(&delay), core::mem::transmute_copy(&finalvalue), core::mem::transmute_copy(&hold)) { Ok(ok__) => { - core::ptr::write(transition, core::mem::transmute(ok__)); + transition.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1603,7 +1603,7 @@ impl IUIAnimationTransitionLibrary2_Vtbl { let this = (*this).get_impl(); match IUIAnimationTransitionLibrary2_Impl::CreateDiscreteVectorTransition(this, core::mem::transmute_copy(&delay), core::mem::transmute_copy(&finalvalue), core::mem::transmute_copy(&cdimension), core::mem::transmute_copy(&hold)) { Ok(ok__) => { - core::ptr::write(transition, core::mem::transmute(ok__)); + transition.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1614,7 +1614,7 @@ impl IUIAnimationTransitionLibrary2_Vtbl { let this = (*this).get_impl(); match IUIAnimationTransitionLibrary2_Impl::CreateLinearTransition(this, core::mem::transmute_copy(&duration), core::mem::transmute_copy(&finalvalue)) { Ok(ok__) => { - core::ptr::write(transition, core::mem::transmute(ok__)); + transition.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1625,7 +1625,7 @@ impl IUIAnimationTransitionLibrary2_Vtbl { let this = (*this).get_impl(); match IUIAnimationTransitionLibrary2_Impl::CreateLinearVectorTransition(this, core::mem::transmute_copy(&duration), core::mem::transmute_copy(&finalvalue), core::mem::transmute_copy(&cdimension)) { Ok(ok__) => { - core::ptr::write(transition, core::mem::transmute(ok__)); + transition.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1636,7 +1636,7 @@ impl IUIAnimationTransitionLibrary2_Vtbl { let this = (*this).get_impl(); match IUIAnimationTransitionLibrary2_Impl::CreateLinearTransitionFromSpeed(this, core::mem::transmute_copy(&speed), core::mem::transmute_copy(&finalvalue)) { Ok(ok__) => { - core::ptr::write(transition, core::mem::transmute(ok__)); + transition.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1647,7 +1647,7 @@ impl IUIAnimationTransitionLibrary2_Vtbl { let this = (*this).get_impl(); match IUIAnimationTransitionLibrary2_Impl::CreateLinearVectorTransitionFromSpeed(this, core::mem::transmute_copy(&speed), core::mem::transmute_copy(&finalvalue), core::mem::transmute_copy(&cdimension)) { Ok(ok__) => { - core::ptr::write(transition, core::mem::transmute(ok__)); + transition.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1658,7 +1658,7 @@ impl IUIAnimationTransitionLibrary2_Vtbl { let this = (*this).get_impl(); match IUIAnimationTransitionLibrary2_Impl::CreateSinusoidalTransitionFromVelocity(this, core::mem::transmute_copy(&duration), core::mem::transmute_copy(&period)) { Ok(ok__) => { - core::ptr::write(transition, core::mem::transmute(ok__)); + transition.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1669,7 +1669,7 @@ impl IUIAnimationTransitionLibrary2_Vtbl { let this = (*this).get_impl(); match IUIAnimationTransitionLibrary2_Impl::CreateSinusoidalTransitionFromRange(this, core::mem::transmute_copy(&duration), core::mem::transmute_copy(&minimumvalue), core::mem::transmute_copy(&maximumvalue), core::mem::transmute_copy(&period), core::mem::transmute_copy(&slope)) { Ok(ok__) => { - core::ptr::write(transition, core::mem::transmute(ok__)); + transition.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1680,7 +1680,7 @@ impl IUIAnimationTransitionLibrary2_Vtbl { let this = (*this).get_impl(); match IUIAnimationTransitionLibrary2_Impl::CreateAccelerateDecelerateTransition(this, core::mem::transmute_copy(&duration), core::mem::transmute_copy(&finalvalue), core::mem::transmute_copy(&accelerationratio), core::mem::transmute_copy(&decelerationratio)) { Ok(ok__) => { - core::ptr::write(transition, core::mem::transmute(ok__)); + transition.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1691,7 +1691,7 @@ impl IUIAnimationTransitionLibrary2_Vtbl { let this = (*this).get_impl(); match IUIAnimationTransitionLibrary2_Impl::CreateReversalTransition(this, core::mem::transmute_copy(&duration)) { Ok(ok__) => { - core::ptr::write(transition, core::mem::transmute(ok__)); + transition.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1702,7 +1702,7 @@ impl IUIAnimationTransitionLibrary2_Vtbl { let this = (*this).get_impl(); match IUIAnimationTransitionLibrary2_Impl::CreateCubicTransition(this, core::mem::transmute_copy(&duration), core::mem::transmute_copy(&finalvalue), core::mem::transmute_copy(&finalvelocity)) { Ok(ok__) => { - core::ptr::write(transition, core::mem::transmute(ok__)); + transition.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1713,7 +1713,7 @@ impl IUIAnimationTransitionLibrary2_Vtbl { let this = (*this).get_impl(); match IUIAnimationTransitionLibrary2_Impl::CreateCubicVectorTransition(this, core::mem::transmute_copy(&duration), core::mem::transmute_copy(&finalvalue), core::mem::transmute_copy(&finalvelocity), core::mem::transmute_copy(&cdimension)) { Ok(ok__) => { - core::ptr::write(transition, core::mem::transmute(ok__)); + transition.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1724,7 +1724,7 @@ impl IUIAnimationTransitionLibrary2_Vtbl { let this = (*this).get_impl(); match IUIAnimationTransitionLibrary2_Impl::CreateSmoothStopTransition(this, core::mem::transmute_copy(&maximumduration), core::mem::transmute_copy(&finalvalue)) { Ok(ok__) => { - core::ptr::write(transition, core::mem::transmute(ok__)); + transition.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1735,7 +1735,7 @@ impl IUIAnimationTransitionLibrary2_Vtbl { let this = (*this).get_impl(); match IUIAnimationTransitionLibrary2_Impl::CreateParabolicTransitionFromAcceleration(this, core::mem::transmute_copy(&finalvalue), core::mem::transmute_copy(&finalvelocity), core::mem::transmute_copy(&acceleration)) { Ok(ok__) => { - core::ptr::write(transition, core::mem::transmute(ok__)); + transition.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1746,7 +1746,7 @@ impl IUIAnimationTransitionLibrary2_Vtbl { let this = (*this).get_impl(); match IUIAnimationTransitionLibrary2_Impl::CreateCubicBezierLinearTransition(this, core::mem::transmute_copy(&duration), core::mem::transmute_copy(&finalvalue), core::mem::transmute_copy(&x1), core::mem::transmute_copy(&y1), core::mem::transmute_copy(&x2), core::mem::transmute_copy(&y2)) { Ok(ok__) => { - core::ptr::write(pptransition, core::mem::transmute(ok__)); + pptransition.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1757,7 +1757,7 @@ impl IUIAnimationTransitionLibrary2_Vtbl { let this = (*this).get_impl(); match IUIAnimationTransitionLibrary2_Impl::CreateCubicBezierLinearVectorTransition(this, core::mem::transmute_copy(&duration), core::mem::transmute_copy(&finalvalue), core::mem::transmute_copy(&cdimension), core::mem::transmute_copy(&x1), core::mem::transmute_copy(&y1), core::mem::transmute_copy(&x2), core::mem::transmute_copy(&y2)) { Ok(ok__) => { - core::ptr::write(pptransition, core::mem::transmute(ok__)); + pptransition.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1814,7 +1814,7 @@ impl IUIAnimationVariable_Vtbl { let this = (*this).get_impl(); match IUIAnimationVariable_Impl::GetValue(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1825,7 +1825,7 @@ impl IUIAnimationVariable_Vtbl { let this = (*this).get_impl(); match IUIAnimationVariable_Impl::GetFinalValue(this) { Ok(ok__) => { - core::ptr::write(finalvalue, core::mem::transmute(ok__)); + finalvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1836,7 +1836,7 @@ impl IUIAnimationVariable_Vtbl { let this = (*this).get_impl(); match IUIAnimationVariable_Impl::GetPreviousValue(this) { Ok(ok__) => { - core::ptr::write(previousvalue, core::mem::transmute(ok__)); + previousvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1847,7 +1847,7 @@ impl IUIAnimationVariable_Vtbl { let this = (*this).get_impl(); match IUIAnimationVariable_Impl::GetIntegerValue(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1858,7 +1858,7 @@ impl IUIAnimationVariable_Vtbl { let this = (*this).get_impl(); match IUIAnimationVariable_Impl::GetFinalIntegerValue(this) { Ok(ok__) => { - core::ptr::write(finalvalue, core::mem::transmute(ok__)); + finalvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1869,7 +1869,7 @@ impl IUIAnimationVariable_Vtbl { let this = (*this).get_impl(); match IUIAnimationVariable_Impl::GetPreviousIntegerValue(this) { Ok(ok__) => { - core::ptr::write(previousvalue, core::mem::transmute(ok__)); + previousvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1880,7 +1880,7 @@ impl IUIAnimationVariable_Vtbl { let this = (*this).get_impl(); match IUIAnimationVariable_Impl::GetCurrentStoryboard(this) { Ok(ok__) => { - core::ptr::write(storyboard, core::mem::transmute(ok__)); + storyboard.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1982,7 +1982,7 @@ impl IUIAnimationVariable2_Vtbl { let this = (*this).get_impl(); match IUIAnimationVariable2_Impl::GetDimension(this) { Ok(ok__) => { - core::ptr::write(dimension, core::mem::transmute(ok__)); + dimension.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1993,7 +1993,7 @@ impl IUIAnimationVariable2_Vtbl { let this = (*this).get_impl(); match IUIAnimationVariable2_Impl::GetValue(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2019,7 +2019,7 @@ impl IUIAnimationVariable2_Vtbl { let this = (*this).get_impl(); match IUIAnimationVariable2_Impl::GetFinalValue(this) { Ok(ok__) => { - core::ptr::write(finalvalue, core::mem::transmute(ok__)); + finalvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2035,7 +2035,7 @@ impl IUIAnimationVariable2_Vtbl { let this = (*this).get_impl(); match IUIAnimationVariable2_Impl::GetPreviousValue(this) { Ok(ok__) => { - core::ptr::write(previousvalue, core::mem::transmute(ok__)); + previousvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2051,7 +2051,7 @@ impl IUIAnimationVariable2_Vtbl { let this = (*this).get_impl(); match IUIAnimationVariable2_Impl::GetIntegerValue(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2067,7 +2067,7 @@ impl IUIAnimationVariable2_Vtbl { let this = (*this).get_impl(); match IUIAnimationVariable2_Impl::GetFinalIntegerValue(this) { Ok(ok__) => { - core::ptr::write(finalvalue, core::mem::transmute(ok__)); + finalvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2083,7 +2083,7 @@ impl IUIAnimationVariable2_Vtbl { let this = (*this).get_impl(); match IUIAnimationVariable2_Impl::GetPreviousIntegerValue(this) { Ok(ok__) => { - core::ptr::write(previousvalue, core::mem::transmute(ok__)); + previousvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2099,7 +2099,7 @@ impl IUIAnimationVariable2_Vtbl { let this = (*this).get_impl(); match IUIAnimationVariable2_Impl::GetCurrentStoryboard(this) { Ok(ok__) => { - core::ptr::write(storyboard, core::mem::transmute(ok__)); + storyboard.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/Win32/UI/ColorSystem/impl.rs b/crates/libs/windows/src/Windows/Win32/UI/ColorSystem/impl.rs index 8d18cb5b6b..1d62a45b1f 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/ColorSystem/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/ColorSystem/impl.rs @@ -24,7 +24,7 @@ impl IDeviceModelPlugIn_Vtbl { let this = (*this).get_impl(); match IDeviceModelPlugIn_Impl::GetNumChannels(this) { Ok(ok__) => { - core::ptr::write(pnumchannels, core::mem::transmute(ok__)); + pnumchannels.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -40,7 +40,7 @@ impl IDeviceModelPlugIn_Vtbl { let this = (*this).get_impl(); match IDeviceModelPlugIn_Impl::ColorimetricToDeviceColors(this, core::mem::transmute_copy(&ccolors), core::mem::transmute_copy(&cchannels), core::mem::transmute_copy(&pxyzcolors)) { Ok(ok__) => { - core::ptr::write(pdevicevalues, core::mem::transmute(ok__)); + pdevicevalues.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -51,7 +51,7 @@ impl IDeviceModelPlugIn_Vtbl { let this = (*this).get_impl(); match IDeviceModelPlugIn_Impl::ColorimetricToDeviceColorsWithBlack(this, core::mem::transmute_copy(&ccolors), core::mem::transmute_copy(&cchannels), core::mem::transmute_copy(&pxyzcolors), core::mem::transmute_copy(&pblackinformation)) { Ok(ok__) => { - core::ptr::write(pdevicevalues, core::mem::transmute(ok__)); + pdevicevalues.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -82,7 +82,7 @@ impl IDeviceModelPlugIn_Vtbl { let this = (*this).get_impl(); match IDeviceModelPlugIn_Impl::GetNeutralAxisSize(this) { Ok(ok__) => { - core::ptr::write(pccolors, core::mem::transmute(ok__)); + pccolors.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/Win32/UI/Controls/RichEdit/impl.rs b/crates/libs/windows/src/Windows/Win32/UI/Controls/RichEdit/impl.rs index 7bd481e12f..3e9c9206ae 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/Controls/RichEdit/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/Controls/RichEdit/impl.rs @@ -27,7 +27,7 @@ impl IRichEditOle_Vtbl { let this = (*this).get_impl(); match IRichEditOle_Impl::GetClientSite(this) { Ok(ok__) => { - core::ptr::write(lplpolesite, core::mem::transmute(ok__)); + lplpolesite.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -155,7 +155,7 @@ impl IRichEditOleCallback_Vtbl { let this = (*this).get_impl(); match IRichEditOleCallback_Impl::GetNewStorage(this) { Ok(ok__) => { - core::ptr::write(lplpstg, core::mem::transmute(ok__)); + lplpstg.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -286,7 +286,7 @@ impl ITextDocument_Vtbl { let this = (*this).get_impl(); match ITextDocument_Impl::GetName(this) { Ok(ok__) => { - core::ptr::write(pname, core::mem::transmute(ok__)); + pname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -297,7 +297,7 @@ impl ITextDocument_Vtbl { let this = (*this).get_impl(); match ITextDocument_Impl::GetSelection(this) { Ok(ok__) => { - core::ptr::write(ppsel, core::mem::transmute(ok__)); + ppsel.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -308,7 +308,7 @@ impl ITextDocument_Vtbl { let this = (*this).get_impl(); match ITextDocument_Impl::GetStoryCount(this) { Ok(ok__) => { - core::ptr::write(pcount, core::mem::transmute(ok__)); + pcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -319,7 +319,7 @@ impl ITextDocument_Vtbl { let this = (*this).get_impl(); match ITextDocument_Impl::GetStoryRanges(this) { Ok(ok__) => { - core::ptr::write(ppstories, core::mem::transmute(ok__)); + ppstories.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -330,7 +330,7 @@ impl ITextDocument_Vtbl { let this = (*this).get_impl(); match ITextDocument_Impl::GetSaved(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -346,7 +346,7 @@ impl ITextDocument_Vtbl { let this = (*this).get_impl(); match ITextDocument_Impl::GetDefaultTabStop(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -377,7 +377,7 @@ impl ITextDocument_Vtbl { let this = (*this).get_impl(); match ITextDocument_Impl::Freeze(this) { Ok(ok__) => { - core::ptr::write(pcount, core::mem::transmute(ok__)); + pcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -388,7 +388,7 @@ impl ITextDocument_Vtbl { let this = (*this).get_impl(); match ITextDocument_Impl::Unfreeze(this) { Ok(ok__) => { - core::ptr::write(pcount, core::mem::transmute(ok__)); + pcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -409,7 +409,7 @@ impl ITextDocument_Vtbl { let this = (*this).get_impl(); match ITextDocument_Impl::Undo(this, core::mem::transmute_copy(&count)) { Ok(ok__) => { - core::ptr::write(pcount, core::mem::transmute(ok__)); + pcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -420,7 +420,7 @@ impl ITextDocument_Vtbl { let this = (*this).get_impl(); match ITextDocument_Impl::Redo(this, core::mem::transmute_copy(&count)) { Ok(ok__) => { - core::ptr::write(pcount, core::mem::transmute(ok__)); + pcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -431,7 +431,7 @@ impl ITextDocument_Vtbl { let this = (*this).get_impl(); match ITextDocument_Impl::Range(this, core::mem::transmute_copy(&cpactive), core::mem::transmute_copy(&cpanchor)) { Ok(ok__) => { - core::ptr::write(pprange, core::mem::transmute(ok__)); + pprange.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -442,7 +442,7 @@ impl ITextDocument_Vtbl { let this = (*this).get_impl(); match ITextDocument_Impl::RangeFromPoint(this, core::mem::transmute_copy(&x), core::mem::transmute_copy(&y)) { Ok(ok__) => { - core::ptr::write(pprange, core::mem::transmute(ok__)); + pprange.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -532,7 +532,7 @@ impl ITextDocument2_Vtbl { let this = (*this).get_impl(); match ITextDocument2_Impl::GetCaretType(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -548,7 +548,7 @@ impl ITextDocument2_Vtbl { let this = (*this).get_impl(); match ITextDocument2_Impl::GetDisplays(this) { Ok(ok__) => { - core::ptr::write(ppdisplays, core::mem::transmute(ok__)); + ppdisplays.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -559,7 +559,7 @@ impl ITextDocument2_Vtbl { let this = (*this).get_impl(); match ITextDocument2_Impl::GetDocumentFont(this) { Ok(ok__) => { - core::ptr::write(ppfont, core::mem::transmute(ok__)); + ppfont.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -575,7 +575,7 @@ impl ITextDocument2_Vtbl { let this = (*this).get_impl(); match ITextDocument2_Impl::GetDocumentPara(this) { Ok(ok__) => { - core::ptr::write(pppara, core::mem::transmute(ok__)); + pppara.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -591,7 +591,7 @@ impl ITextDocument2_Vtbl { let this = (*this).get_impl(); match ITextDocument2_Impl::GetEastAsianFlags(this) { Ok(ok__) => { - core::ptr::write(pflags, core::mem::transmute(ok__)); + pflags.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -602,7 +602,7 @@ impl ITextDocument2_Vtbl { let this = (*this).get_impl(); match ITextDocument2_Impl::GetGenerator(this) { Ok(ok__) => { - core::ptr::write(pbstr, core::mem::transmute(ok__)); + pbstr.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -618,7 +618,7 @@ impl ITextDocument2_Vtbl { let this = (*this).get_impl(); match ITextDocument2_Impl::GetNotificationMode(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -634,7 +634,7 @@ impl ITextDocument2_Vtbl { let this = (*this).get_impl(); match ITextDocument2_Impl::GetSelection2(this) { Ok(ok__) => { - core::ptr::write(ppsel, core::mem::transmute(ok__)); + ppsel.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -645,7 +645,7 @@ impl ITextDocument2_Vtbl { let this = (*this).get_impl(); match ITextDocument2_Impl::GetStoryRanges2(this) { Ok(ok__) => { - core::ptr::write(ppstories, core::mem::transmute(ok__)); + ppstories.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -656,7 +656,7 @@ impl ITextDocument2_Vtbl { let this = (*this).get_impl(); match ITextDocument2_Impl::GetTypographyOptions(this) { Ok(ok__) => { - core::ptr::write(poptions, core::mem::transmute(ok__)); + poptions.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -667,7 +667,7 @@ impl ITextDocument2_Vtbl { let this = (*this).get_impl(); match ITextDocument2_Impl::GetVersion(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -678,7 +678,7 @@ impl ITextDocument2_Vtbl { let this = (*this).get_impl(); match ITextDocument2_Impl::GetWindow(this) { Ok(ok__) => { - core::ptr::write(phwnd, core::mem::transmute(ok__)); + phwnd.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -699,7 +699,7 @@ impl ITextDocument2_Vtbl { let this = (*this).get_impl(); match ITextDocument2_Impl::GetCallManager(this) { Ok(ok__) => { - core::ptr::write(ppvoid, core::mem::transmute(ok__)); + ppvoid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -715,7 +715,7 @@ impl ITextDocument2_Vtbl { let this = (*this).get_impl(); match ITextDocument2_Impl::GetEffectColor(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -726,7 +726,7 @@ impl ITextDocument2_Vtbl { let this = (*this).get_impl(); match ITextDocument2_Impl::GetImmContext(this) { Ok(ok__) => { - core::ptr::write(pcontext, core::mem::transmute(ok__)); + pcontext.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -742,7 +742,7 @@ impl ITextDocument2_Vtbl { let this = (*this).get_impl(); match ITextDocument2_Impl::GetProperty(this, core::mem::transmute_copy(&r#type)) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -753,7 +753,7 @@ impl ITextDocument2_Vtbl { let this = (*this).get_impl(); match ITextDocument2_Impl::GetStrings(this) { Ok(ok__) => { - core::ptr::write(ppstrs, core::mem::transmute(ok__)); + ppstrs.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -769,7 +769,7 @@ impl ITextDocument2_Vtbl { let this = (*this).get_impl(); match ITextDocument2_Impl::Range2(this, core::mem::transmute_copy(&cpactive), core::mem::transmute_copy(&cpanchor)) { Ok(ok__) => { - core::ptr::write(pprange, core::mem::transmute(ok__)); + pprange.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -780,7 +780,7 @@ impl ITextDocument2_Vtbl { let this = (*this).get_impl(); match ITextDocument2_Impl::RangeFromPoint2(this, core::mem::transmute_copy(&x), core::mem::transmute_copy(&y), core::mem::transmute_copy(&r#type)) { Ok(ok__) => { - core::ptr::write(pprange, core::mem::transmute(ok__)); + pprange.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -831,7 +831,7 @@ impl ITextDocument2_Vtbl { let this = (*this).get_impl(); match ITextDocument2_Impl::GetMathProperties(this) { Ok(ok__) => { - core::ptr::write(poptions, core::mem::transmute(ok__)); + poptions.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -847,7 +847,7 @@ impl ITextDocument2_Vtbl { let this = (*this).get_impl(); match ITextDocument2_Impl::GetActiveStory(this) { Ok(ok__) => { - core::ptr::write(ppstory, core::mem::transmute(ok__)); + ppstory.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -863,7 +863,7 @@ impl ITextDocument2_Vtbl { let this = (*this).get_impl(); match ITextDocument2_Impl::GetMainStory(this) { Ok(ok__) => { - core::ptr::write(ppstory, core::mem::transmute(ok__)); + ppstory.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -874,7 +874,7 @@ impl ITextDocument2_Vtbl { let this = (*this).get_impl(); match ITextDocument2_Impl::GetNewStory(this) { Ok(ok__) => { - core::ptr::write(ppstory, core::mem::transmute(ok__)); + ppstory.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -885,7 +885,7 @@ impl ITextDocument2_Vtbl { let this = (*this).get_impl(); match ITextDocument2_Impl::GetStory(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(ppstory, core::mem::transmute(ok__)); + ppstory.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -990,7 +990,7 @@ impl ITextDocument2Old_Vtbl { let this = (*this).get_impl(); match ITextDocument2Old_Impl::GetEffectColor(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(pcr, core::mem::transmute(ok__)); + pcr.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1001,7 +1001,7 @@ impl ITextDocument2Old_Vtbl { let this = (*this).get_impl(); match ITextDocument2Old_Impl::GetCaretType(this) { Ok(ok__) => { - core::ptr::write(pcarettype, core::mem::transmute(ok__)); + pcarettype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1017,7 +1017,7 @@ impl ITextDocument2Old_Vtbl { let this = (*this).get_impl(); match ITextDocument2Old_Impl::GetImmContext(this) { Ok(ok__) => { - core::ptr::write(pcontext, core::mem::transmute(ok__)); + pcontext.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1038,7 +1038,7 @@ impl ITextDocument2Old_Vtbl { let this = (*this).get_impl(); match ITextDocument2Old_Impl::GetNotificationMode(this) { Ok(ok__) => { - core::ptr::write(pmode, core::mem::transmute(ok__)); + pmode.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1059,7 +1059,7 @@ impl ITextDocument2Old_Vtbl { let this = (*this).get_impl(); match ITextDocument2Old_Impl::GetSelection2(this) { Ok(ok__) => { - core::ptr::write(ppsel, core::mem::transmute(ok__)); + ppsel.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1070,7 +1070,7 @@ impl ITextDocument2Old_Vtbl { let this = (*this).get_impl(); match ITextDocument2Old_Impl::GetWindow(this) { Ok(ok__) => { - core::ptr::write(phwnd, core::mem::transmute(ok__)); + phwnd.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1081,7 +1081,7 @@ impl ITextDocument2Old_Vtbl { let this = (*this).get_impl(); match ITextDocument2Old_Impl::GetFEFlags(this) { Ok(ok__) => { - core::ptr::write(pflags, core::mem::transmute(ok__)); + pflags.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1122,7 +1122,7 @@ impl ITextDocument2Old_Vtbl { let this = (*this).get_impl(); match ITextDocument2Old_Impl::GetDocumentFont(this) { Ok(ok__) => { - core::ptr::write(ppitextfont, core::mem::transmute(ok__)); + ppitextfont.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1133,7 +1133,7 @@ impl ITextDocument2Old_Vtbl { let this = (*this).get_impl(); match ITextDocument2Old_Impl::GetDocumentPara(this) { Ok(ok__) => { - core::ptr::write(ppitextpara, core::mem::transmute(ok__)); + ppitextpara.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1144,7 +1144,7 @@ impl ITextDocument2Old_Vtbl { let this = (*this).get_impl(); match ITextDocument2Old_Impl::GetCallManager(this) { Ok(ok__) => { - core::ptr::write(ppvoid, core::mem::transmute(ok__)); + ppvoid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1255,7 +1255,7 @@ impl ITextFont_Vtbl { let this = (*this).get_impl(); match ITextFont_Impl::GetDuplicate(this) { Ok(ok__) => { - core::ptr::write(ppfont, core::mem::transmute(ok__)); + ppfont.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1271,7 +1271,7 @@ impl ITextFont_Vtbl { let this = (*this).get_impl(); match ITextFont_Impl::CanChange(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1282,7 +1282,7 @@ impl ITextFont_Vtbl { let this = (*this).get_impl(); match ITextFont_Impl::IsEqual(this, windows_core::from_raw_borrowed(&pfont)) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1298,7 +1298,7 @@ impl ITextFont_Vtbl { let this = (*this).get_impl(); match ITextFont_Impl::GetStyle(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1314,7 +1314,7 @@ impl ITextFont_Vtbl { let this = (*this).get_impl(); match ITextFont_Impl::GetAllCaps(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1330,7 +1330,7 @@ impl ITextFont_Vtbl { let this = (*this).get_impl(); match ITextFont_Impl::GetAnimation(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1346,7 +1346,7 @@ impl ITextFont_Vtbl { let this = (*this).get_impl(); match ITextFont_Impl::GetBackColor(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1362,7 +1362,7 @@ impl ITextFont_Vtbl { let this = (*this).get_impl(); match ITextFont_Impl::GetBold(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1378,7 +1378,7 @@ impl ITextFont_Vtbl { let this = (*this).get_impl(); match ITextFont_Impl::GetEmboss(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1394,7 +1394,7 @@ impl ITextFont_Vtbl { let this = (*this).get_impl(); match ITextFont_Impl::GetForeColor(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1410,7 +1410,7 @@ impl ITextFont_Vtbl { let this = (*this).get_impl(); match ITextFont_Impl::GetHidden(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1426,7 +1426,7 @@ impl ITextFont_Vtbl { let this = (*this).get_impl(); match ITextFont_Impl::GetEngrave(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1442,7 +1442,7 @@ impl ITextFont_Vtbl { let this = (*this).get_impl(); match ITextFont_Impl::GetItalic(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1458,7 +1458,7 @@ impl ITextFont_Vtbl { let this = (*this).get_impl(); match ITextFont_Impl::GetKerning(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1474,7 +1474,7 @@ impl ITextFont_Vtbl { let this = (*this).get_impl(); match ITextFont_Impl::GetLanguageID(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1490,7 +1490,7 @@ impl ITextFont_Vtbl { let this = (*this).get_impl(); match ITextFont_Impl::GetName(this) { Ok(ok__) => { - core::ptr::write(pbstr, core::mem::transmute(ok__)); + pbstr.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1506,7 +1506,7 @@ impl ITextFont_Vtbl { let this = (*this).get_impl(); match ITextFont_Impl::GetOutline(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1522,7 +1522,7 @@ impl ITextFont_Vtbl { let this = (*this).get_impl(); match ITextFont_Impl::GetPosition(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1538,7 +1538,7 @@ impl ITextFont_Vtbl { let this = (*this).get_impl(); match ITextFont_Impl::GetProtected(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1554,7 +1554,7 @@ impl ITextFont_Vtbl { let this = (*this).get_impl(); match ITextFont_Impl::GetShadow(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1570,7 +1570,7 @@ impl ITextFont_Vtbl { let this = (*this).get_impl(); match ITextFont_Impl::GetSize(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1586,7 +1586,7 @@ impl ITextFont_Vtbl { let this = (*this).get_impl(); match ITextFont_Impl::GetSmallCaps(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1602,7 +1602,7 @@ impl ITextFont_Vtbl { let this = (*this).get_impl(); match ITextFont_Impl::GetSpacing(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1618,7 +1618,7 @@ impl ITextFont_Vtbl { let this = (*this).get_impl(); match ITextFont_Impl::GetStrikeThrough(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1634,7 +1634,7 @@ impl ITextFont_Vtbl { let this = (*this).get_impl(); match ITextFont_Impl::GetSubscript(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1650,7 +1650,7 @@ impl ITextFont_Vtbl { let this = (*this).get_impl(); match ITextFont_Impl::GetSuperscript(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1666,7 +1666,7 @@ impl ITextFont_Vtbl { let this = (*this).get_impl(); match ITextFont_Impl::GetUnderline(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1682,7 +1682,7 @@ impl ITextFont_Vtbl { let this = (*this).get_impl(); match ITextFont_Impl::GetWeight(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1815,7 +1815,7 @@ impl ITextFont2_Vtbl { let this = (*this).get_impl(); match ITextFont2_Impl::GetCount(this) { Ok(ok__) => { - core::ptr::write(pcount, core::mem::transmute(ok__)); + pcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1826,7 +1826,7 @@ impl ITextFont2_Vtbl { let this = (*this).get_impl(); match ITextFont2_Impl::GetAutoLigatures(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1842,7 +1842,7 @@ impl ITextFont2_Vtbl { let this = (*this).get_impl(); match ITextFont2_Impl::GetAutospaceAlpha(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1858,7 +1858,7 @@ impl ITextFont2_Vtbl { let this = (*this).get_impl(); match ITextFont2_Impl::GetAutospaceNumeric(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1874,7 +1874,7 @@ impl ITextFont2_Vtbl { let this = (*this).get_impl(); match ITextFont2_Impl::GetAutospaceParens(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1890,7 +1890,7 @@ impl ITextFont2_Vtbl { let this = (*this).get_impl(); match ITextFont2_Impl::GetCharRep(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1906,7 +1906,7 @@ impl ITextFont2_Vtbl { let this = (*this).get_impl(); match ITextFont2_Impl::GetCompressionMode(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1922,7 +1922,7 @@ impl ITextFont2_Vtbl { let this = (*this).get_impl(); match ITextFont2_Impl::GetCookie(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1938,7 +1938,7 @@ impl ITextFont2_Vtbl { let this = (*this).get_impl(); match ITextFont2_Impl::GetDoubleStrike(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1954,7 +1954,7 @@ impl ITextFont2_Vtbl { let this = (*this).get_impl(); match ITextFont2_Impl::GetDuplicate2(this) { Ok(ok__) => { - core::ptr::write(ppfont, core::mem::transmute(ok__)); + ppfont.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1970,7 +1970,7 @@ impl ITextFont2_Vtbl { let this = (*this).get_impl(); match ITextFont2_Impl::GetLinkType(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1981,7 +1981,7 @@ impl ITextFont2_Vtbl { let this = (*this).get_impl(); match ITextFont2_Impl::GetMathZone(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1997,7 +1997,7 @@ impl ITextFont2_Vtbl { let this = (*this).get_impl(); match ITextFont2_Impl::GetModWidthPairs(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2013,7 +2013,7 @@ impl ITextFont2_Vtbl { let this = (*this).get_impl(); match ITextFont2_Impl::GetModWidthSpace(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2029,7 +2029,7 @@ impl ITextFont2_Vtbl { let this = (*this).get_impl(); match ITextFont2_Impl::GetOldNumbers(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2045,7 +2045,7 @@ impl ITextFont2_Vtbl { let this = (*this).get_impl(); match ITextFont2_Impl::GetOverlapping(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2061,7 +2061,7 @@ impl ITextFont2_Vtbl { let this = (*this).get_impl(); match ITextFont2_Impl::GetPositionSubSuper(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2077,7 +2077,7 @@ impl ITextFont2_Vtbl { let this = (*this).get_impl(); match ITextFont2_Impl::GetScaling(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2093,7 +2093,7 @@ impl ITextFont2_Vtbl { let this = (*this).get_impl(); match ITextFont2_Impl::GetSpaceExtension(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2109,7 +2109,7 @@ impl ITextFont2_Vtbl { let this = (*this).get_impl(); match ITextFont2_Impl::GetUnderlinePositionMode(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2135,7 +2135,7 @@ impl ITextFont2_Vtbl { let this = (*this).get_impl(); match ITextFont2_Impl::GetProperty(this, core::mem::transmute_copy(&r#type)) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2151,7 +2151,7 @@ impl ITextFont2_Vtbl { let this = (*this).get_impl(); match ITextFont2_Impl::IsEqual2(this, windows_core::from_raw_borrowed(&pfont)) { Ok(ok__) => { - core::ptr::write(pb, core::mem::transmute(ok__)); + pb.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2423,7 +2423,7 @@ impl ITextHost_Vtbl { let this = (*this).get_impl(); match ITextHost_Impl::TxGetPasswordChar(this) { Ok(ok__) => { - core::ptr::write(pch, core::mem::transmute(ok__)); + pch.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2682,7 +2682,7 @@ impl ITextPara_Vtbl { let this = (*this).get_impl(); match ITextPara_Impl::GetDuplicate(this) { Ok(ok__) => { - core::ptr::write(pppara, core::mem::transmute(ok__)); + pppara.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2698,7 +2698,7 @@ impl ITextPara_Vtbl { let this = (*this).get_impl(); match ITextPara_Impl::CanChange(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2709,7 +2709,7 @@ impl ITextPara_Vtbl { let this = (*this).get_impl(); match ITextPara_Impl::IsEqual(this, windows_core::from_raw_borrowed(&ppara)) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2725,7 +2725,7 @@ impl ITextPara_Vtbl { let this = (*this).get_impl(); match ITextPara_Impl::GetStyle(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2741,7 +2741,7 @@ impl ITextPara_Vtbl { let this = (*this).get_impl(); match ITextPara_Impl::GetAlignment(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2757,7 +2757,7 @@ impl ITextPara_Vtbl { let this = (*this).get_impl(); match ITextPara_Impl::GetHyphenation(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2773,7 +2773,7 @@ impl ITextPara_Vtbl { let this = (*this).get_impl(); match ITextPara_Impl::GetFirstLineIndent(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2784,7 +2784,7 @@ impl ITextPara_Vtbl { let this = (*this).get_impl(); match ITextPara_Impl::GetKeepTogether(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2800,7 +2800,7 @@ impl ITextPara_Vtbl { let this = (*this).get_impl(); match ITextPara_Impl::GetKeepWithNext(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2816,7 +2816,7 @@ impl ITextPara_Vtbl { let this = (*this).get_impl(); match ITextPara_Impl::GetLeftIndent(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2827,7 +2827,7 @@ impl ITextPara_Vtbl { let this = (*this).get_impl(); match ITextPara_Impl::GetLineSpacing(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2838,7 +2838,7 @@ impl ITextPara_Vtbl { let this = (*this).get_impl(); match ITextPara_Impl::GetLineSpacingRule(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2849,7 +2849,7 @@ impl ITextPara_Vtbl { let this = (*this).get_impl(); match ITextPara_Impl::GetListAlignment(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2865,7 +2865,7 @@ impl ITextPara_Vtbl { let this = (*this).get_impl(); match ITextPara_Impl::GetListLevelIndex(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2881,7 +2881,7 @@ impl ITextPara_Vtbl { let this = (*this).get_impl(); match ITextPara_Impl::GetListStart(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2897,7 +2897,7 @@ impl ITextPara_Vtbl { let this = (*this).get_impl(); match ITextPara_Impl::GetListTab(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2913,7 +2913,7 @@ impl ITextPara_Vtbl { let this = (*this).get_impl(); match ITextPara_Impl::GetListType(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2929,7 +2929,7 @@ impl ITextPara_Vtbl { let this = (*this).get_impl(); match ITextPara_Impl::GetNoLineNumber(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2945,7 +2945,7 @@ impl ITextPara_Vtbl { let this = (*this).get_impl(); match ITextPara_Impl::GetPageBreakBefore(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2961,7 +2961,7 @@ impl ITextPara_Vtbl { let this = (*this).get_impl(); match ITextPara_Impl::GetRightIndent(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2987,7 +2987,7 @@ impl ITextPara_Vtbl { let this = (*this).get_impl(); match ITextPara_Impl::GetSpaceAfter(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3003,7 +3003,7 @@ impl ITextPara_Vtbl { let this = (*this).get_impl(); match ITextPara_Impl::GetSpaceBefore(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3019,7 +3019,7 @@ impl ITextPara_Vtbl { let this = (*this).get_impl(); match ITextPara_Impl::GetWidowControl(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3035,7 +3035,7 @@ impl ITextPara_Vtbl { let this = (*this).get_impl(); match ITextPara_Impl::GetTabCount(this) { Ok(ok__) => { - core::ptr::write(pcount, core::mem::transmute(ok__)); + pcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3146,7 +3146,7 @@ impl ITextPara2_Vtbl { let this = (*this).get_impl(); match ITextPara2_Impl::GetBorders(this) { Ok(ok__) => { - core::ptr::write(ppborders, core::mem::transmute(ok__)); + ppborders.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3157,7 +3157,7 @@ impl ITextPara2_Vtbl { let this = (*this).get_impl(); match ITextPara2_Impl::GetDuplicate2(this) { Ok(ok__) => { - core::ptr::write(pppara, core::mem::transmute(ok__)); + pppara.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3173,7 +3173,7 @@ impl ITextPara2_Vtbl { let this = (*this).get_impl(); match ITextPara2_Impl::GetFontAlignment(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3189,7 +3189,7 @@ impl ITextPara2_Vtbl { let this = (*this).get_impl(); match ITextPara2_Impl::GetHangingPunctuation(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3205,7 +3205,7 @@ impl ITextPara2_Vtbl { let this = (*this).get_impl(); match ITextPara2_Impl::GetSnapToGrid(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3221,7 +3221,7 @@ impl ITextPara2_Vtbl { let this = (*this).get_impl(); match ITextPara2_Impl::GetTrimPunctuationAtStart(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3242,7 +3242,7 @@ impl ITextPara2_Vtbl { let this = (*this).get_impl(); match ITextPara2_Impl::GetProperty(this, core::mem::transmute_copy(&r#type)) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3253,7 +3253,7 @@ impl ITextPara2_Vtbl { let this = (*this).get_impl(); match ITextPara2_Impl::IsEqual2(this, windows_core::from_raw_borrowed(&ppara)) { Ok(ok__) => { - core::ptr::write(pb, core::mem::transmute(ok__)); + pb.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3357,7 +3357,7 @@ impl ITextRange_Vtbl { let this = (*this).get_impl(); match ITextRange_Impl::GetText(this) { Ok(ok__) => { - core::ptr::write(pbstr, core::mem::transmute(ok__)); + pbstr.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3373,7 +3373,7 @@ impl ITextRange_Vtbl { let this = (*this).get_impl(); match ITextRange_Impl::GetChar(this) { Ok(ok__) => { - core::ptr::write(pchar, core::mem::transmute(ok__)); + pchar.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3389,7 +3389,7 @@ impl ITextRange_Vtbl { let this = (*this).get_impl(); match ITextRange_Impl::GetDuplicate(this) { Ok(ok__) => { - core::ptr::write(pprange, core::mem::transmute(ok__)); + pprange.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3400,7 +3400,7 @@ impl ITextRange_Vtbl { let this = (*this).get_impl(); match ITextRange_Impl::GetFormattedText(this) { Ok(ok__) => { - core::ptr::write(pprange, core::mem::transmute(ok__)); + pprange.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3416,7 +3416,7 @@ impl ITextRange_Vtbl { let this = (*this).get_impl(); match ITextRange_Impl::GetStart(this) { Ok(ok__) => { - core::ptr::write(pcpfirst, core::mem::transmute(ok__)); + pcpfirst.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3432,7 +3432,7 @@ impl ITextRange_Vtbl { let this = (*this).get_impl(); match ITextRange_Impl::GetEnd(this) { Ok(ok__) => { - core::ptr::write(pcplim, core::mem::transmute(ok__)); + pcplim.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3448,7 +3448,7 @@ impl ITextRange_Vtbl { let this = (*this).get_impl(); match ITextRange_Impl::GetFont(this) { Ok(ok__) => { - core::ptr::write(ppfont, core::mem::transmute(ok__)); + ppfont.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3464,7 +3464,7 @@ impl ITextRange_Vtbl { let this = (*this).get_impl(); match ITextRange_Impl::GetPara(this) { Ok(ok__) => { - core::ptr::write(pppara, core::mem::transmute(ok__)); + pppara.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3480,7 +3480,7 @@ impl ITextRange_Vtbl { let this = (*this).get_impl(); match ITextRange_Impl::GetStoryLength(this) { Ok(ok__) => { - core::ptr::write(pcount, core::mem::transmute(ok__)); + pcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3491,7 +3491,7 @@ impl ITextRange_Vtbl { let this = (*this).get_impl(); match ITextRange_Impl::GetStoryType(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3507,7 +3507,7 @@ impl ITextRange_Vtbl { let this = (*this).get_impl(); match ITextRange_Impl::Expand(this, core::mem::transmute_copy(&unit)) { Ok(ok__) => { - core::ptr::write(pdelta, core::mem::transmute(ok__)); + pdelta.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3518,7 +3518,7 @@ impl ITextRange_Vtbl { let this = (*this).get_impl(); match ITextRange_Impl::GetIndex(this, core::mem::transmute_copy(&unit)) { Ok(ok__) => { - core::ptr::write(pindex, core::mem::transmute(ok__)); + pindex.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3539,7 +3539,7 @@ impl ITextRange_Vtbl { let this = (*this).get_impl(); match ITextRange_Impl::InRange(this, windows_core::from_raw_borrowed(&prange)) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3550,7 +3550,7 @@ impl ITextRange_Vtbl { let this = (*this).get_impl(); match ITextRange_Impl::InStory(this, windows_core::from_raw_borrowed(&prange)) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3561,7 +3561,7 @@ impl ITextRange_Vtbl { let this = (*this).get_impl(); match ITextRange_Impl::IsEqual(this, windows_core::from_raw_borrowed(&prange)) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3577,7 +3577,7 @@ impl ITextRange_Vtbl { let this = (*this).get_impl(); match ITextRange_Impl::StartOf(this, core::mem::transmute_copy(&unit), core::mem::transmute_copy(&extend)) { Ok(ok__) => { - core::ptr::write(pdelta, core::mem::transmute(ok__)); + pdelta.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3588,7 +3588,7 @@ impl ITextRange_Vtbl { let this = (*this).get_impl(); match ITextRange_Impl::EndOf(this, core::mem::transmute_copy(&unit), core::mem::transmute_copy(&extend)) { Ok(ok__) => { - core::ptr::write(pdelta, core::mem::transmute(ok__)); + pdelta.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3599,7 +3599,7 @@ impl ITextRange_Vtbl { let this = (*this).get_impl(); match ITextRange_Impl::Move(this, core::mem::transmute_copy(&unit), core::mem::transmute_copy(&count)) { Ok(ok__) => { - core::ptr::write(pdelta, core::mem::transmute(ok__)); + pdelta.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3610,7 +3610,7 @@ impl ITextRange_Vtbl { let this = (*this).get_impl(); match ITextRange_Impl::MoveStart(this, core::mem::transmute_copy(&unit), core::mem::transmute_copy(&count)) { Ok(ok__) => { - core::ptr::write(pdelta, core::mem::transmute(ok__)); + pdelta.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3621,7 +3621,7 @@ impl ITextRange_Vtbl { let this = (*this).get_impl(); match ITextRange_Impl::MoveEnd(this, core::mem::transmute_copy(&unit), core::mem::transmute_copy(&count)) { Ok(ok__) => { - core::ptr::write(pdelta, core::mem::transmute(ok__)); + pdelta.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3632,7 +3632,7 @@ impl ITextRange_Vtbl { let this = (*this).get_impl(); match ITextRange_Impl::MoveWhile(this, core::mem::transmute_copy(&cset), core::mem::transmute_copy(&count)) { Ok(ok__) => { - core::ptr::write(pdelta, core::mem::transmute(ok__)); + pdelta.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3643,7 +3643,7 @@ impl ITextRange_Vtbl { let this = (*this).get_impl(); match ITextRange_Impl::MoveStartWhile(this, core::mem::transmute_copy(&cset), core::mem::transmute_copy(&count)) { Ok(ok__) => { - core::ptr::write(pdelta, core::mem::transmute(ok__)); + pdelta.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3654,7 +3654,7 @@ impl ITextRange_Vtbl { let this = (*this).get_impl(); match ITextRange_Impl::MoveEndWhile(this, core::mem::transmute_copy(&cset), core::mem::transmute_copy(&count)) { Ok(ok__) => { - core::ptr::write(pdelta, core::mem::transmute(ok__)); + pdelta.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3665,7 +3665,7 @@ impl ITextRange_Vtbl { let this = (*this).get_impl(); match ITextRange_Impl::MoveUntil(this, core::mem::transmute_copy(&cset), core::mem::transmute_copy(&count)) { Ok(ok__) => { - core::ptr::write(pdelta, core::mem::transmute(ok__)); + pdelta.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3676,7 +3676,7 @@ impl ITextRange_Vtbl { let this = (*this).get_impl(); match ITextRange_Impl::MoveStartUntil(this, core::mem::transmute_copy(&cset), core::mem::transmute_copy(&count)) { Ok(ok__) => { - core::ptr::write(pdelta, core::mem::transmute(ok__)); + pdelta.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3687,7 +3687,7 @@ impl ITextRange_Vtbl { let this = (*this).get_impl(); match ITextRange_Impl::MoveEndUntil(this, core::mem::transmute_copy(&cset), core::mem::transmute_copy(&count)) { Ok(ok__) => { - core::ptr::write(pdelta, core::mem::transmute(ok__)); + pdelta.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3698,7 +3698,7 @@ impl ITextRange_Vtbl { let this = (*this).get_impl(); match ITextRange_Impl::FindText(this, core::mem::transmute(&bstr), core::mem::transmute_copy(&count), core::mem::transmute_copy(&flags)) { Ok(ok__) => { - core::ptr::write(plength, core::mem::transmute(ok__)); + plength.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3709,7 +3709,7 @@ impl ITextRange_Vtbl { let this = (*this).get_impl(); match ITextRange_Impl::FindTextStart(this, core::mem::transmute(&bstr), core::mem::transmute_copy(&count), core::mem::transmute_copy(&flags)) { Ok(ok__) => { - core::ptr::write(plength, core::mem::transmute(ok__)); + plength.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3720,7 +3720,7 @@ impl ITextRange_Vtbl { let this = (*this).get_impl(); match ITextRange_Impl::FindTextEnd(this, core::mem::transmute(&bstr), core::mem::transmute_copy(&count), core::mem::transmute_copy(&flags)) { Ok(ok__) => { - core::ptr::write(plength, core::mem::transmute(ok__)); + plength.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3731,7 +3731,7 @@ impl ITextRange_Vtbl { let this = (*this).get_impl(); match ITextRange_Impl::Delete(this, core::mem::transmute_copy(&unit), core::mem::transmute_copy(&count)) { Ok(ok__) => { - core::ptr::write(pdelta, core::mem::transmute(ok__)); + pdelta.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3742,7 +3742,7 @@ impl ITextRange_Vtbl { let this = (*this).get_impl(); match ITextRange_Impl::Cut(this) { Ok(ok__) => { - core::ptr::write(pvar, core::mem::transmute(ok__)); + pvar.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3753,7 +3753,7 @@ impl ITextRange_Vtbl { let this = (*this).get_impl(); match ITextRange_Impl::Copy(this) { Ok(ok__) => { - core::ptr::write(pvar, core::mem::transmute(ok__)); + pvar.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3769,7 +3769,7 @@ impl ITextRange_Vtbl { let this = (*this).get_impl(); match ITextRange_Impl::CanPaste(this, core::mem::transmute_copy(&pvar), core::mem::transmute_copy(&format)) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3780,7 +3780,7 @@ impl ITextRange_Vtbl { let this = (*this).get_impl(); match ITextRange_Impl::CanEdit(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3811,7 +3811,7 @@ impl ITextRange_Vtbl { let this = (*this).get_impl(); match ITextRange_Impl::GetEmbeddedObject(this) { Ok(ok__) => { - core::ptr::write(ppobject, core::mem::transmute(ok__)); + ppobject.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3929,7 +3929,7 @@ impl ITextRange2_Vtbl { let this = (*this).get_impl(); match ITextRange2_Impl::GetCch(this) { Ok(ok__) => { - core::ptr::write(pcch, core::mem::transmute(ok__)); + pcch.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3940,7 +3940,7 @@ impl ITextRange2_Vtbl { let this = (*this).get_impl(); match ITextRange2_Impl::GetCells(this) { Ok(ok__) => { - core::ptr::write(ppcells, core::mem::transmute(ok__)); + ppcells.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3951,7 +3951,7 @@ impl ITextRange2_Vtbl { let this = (*this).get_impl(); match ITextRange2_Impl::GetColumn(this) { Ok(ok__) => { - core::ptr::write(ppcolumn, core::mem::transmute(ok__)); + ppcolumn.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3962,7 +3962,7 @@ impl ITextRange2_Vtbl { let this = (*this).get_impl(); match ITextRange2_Impl::GetCount(this) { Ok(ok__) => { - core::ptr::write(pcount, core::mem::transmute(ok__)); + pcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3973,7 +3973,7 @@ impl ITextRange2_Vtbl { let this = (*this).get_impl(); match ITextRange2_Impl::GetDuplicate2(this) { Ok(ok__) => { - core::ptr::write(pprange, core::mem::transmute(ok__)); + pprange.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3984,7 +3984,7 @@ impl ITextRange2_Vtbl { let this = (*this).get_impl(); match ITextRange2_Impl::GetFont2(this) { Ok(ok__) => { - core::ptr::write(ppfont, core::mem::transmute(ok__)); + ppfont.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4000,7 +4000,7 @@ impl ITextRange2_Vtbl { let this = (*this).get_impl(); match ITextRange2_Impl::GetFormattedText2(this) { Ok(ok__) => { - core::ptr::write(pprange, core::mem::transmute(ok__)); + pprange.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4016,7 +4016,7 @@ impl ITextRange2_Vtbl { let this = (*this).get_impl(); match ITextRange2_Impl::GetGravity(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4032,7 +4032,7 @@ impl ITextRange2_Vtbl { let this = (*this).get_impl(); match ITextRange2_Impl::GetPara2(this) { Ok(ok__) => { - core::ptr::write(pppara, core::mem::transmute(ok__)); + pppara.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4048,7 +4048,7 @@ impl ITextRange2_Vtbl { let this = (*this).get_impl(); match ITextRange2_Impl::GetRow(this) { Ok(ok__) => { - core::ptr::write(pprow, core::mem::transmute(ok__)); + pprow.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4059,7 +4059,7 @@ impl ITextRange2_Vtbl { let this = (*this).get_impl(); match ITextRange2_Impl::GetStartPara(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4070,7 +4070,7 @@ impl ITextRange2_Vtbl { let this = (*this).get_impl(); match ITextRange2_Impl::GetTable(this) { Ok(ok__) => { - core::ptr::write(pptable, core::mem::transmute(ok__)); + pptable.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4081,7 +4081,7 @@ impl ITextRange2_Vtbl { let this = (*this).get_impl(); match ITextRange2_Impl::GetURL(this) { Ok(ok__) => { - core::ptr::write(pbstr, core::mem::transmute(ok__)); + pbstr.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4112,7 +4112,7 @@ impl ITextRange2_Vtbl { let this = (*this).get_impl(); match ITextRange2_Impl::Find(this, windows_core::from_raw_borrowed(&prange), core::mem::transmute_copy(&count), core::mem::transmute_copy(&flags)) { Ok(ok__) => { - core::ptr::write(pdelta, core::mem::transmute(ok__)); + pdelta.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4138,7 +4138,7 @@ impl ITextRange2_Vtbl { let this = (*this).get_impl(); match ITextRange2_Impl::GetProperty(this, core::mem::transmute_copy(&r#type)) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4159,7 +4159,7 @@ impl ITextRange2_Vtbl { let this = (*this).get_impl(); match ITextRange2_Impl::GetText2(this, core::mem::transmute_copy(&flags)) { Ok(ok__) => { - core::ptr::write(pbstr, core::mem::transmute(ok__)); + pbstr.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4215,7 +4215,7 @@ impl ITextRange2_Vtbl { let this = (*this).get_impl(); match ITextRange2_Impl::GetMathFunctionType(this, core::mem::transmute(&bstr)) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4333,7 +4333,7 @@ impl ITextRow_Vtbl { let this = (*this).get_impl(); match ITextRow_Impl::GetAlignment(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4349,7 +4349,7 @@ impl ITextRow_Vtbl { let this = (*this).get_impl(); match ITextRow_Impl::GetCellCount(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4365,7 +4365,7 @@ impl ITextRow_Vtbl { let this = (*this).get_impl(); match ITextRow_Impl::GetCellCountCache(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4381,7 +4381,7 @@ impl ITextRow_Vtbl { let this = (*this).get_impl(); match ITextRow_Impl::GetCellIndex(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4397,7 +4397,7 @@ impl ITextRow_Vtbl { let this = (*this).get_impl(); match ITextRow_Impl::GetCellMargin(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4413,7 +4413,7 @@ impl ITextRow_Vtbl { let this = (*this).get_impl(); match ITextRow_Impl::GetHeight(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4429,7 +4429,7 @@ impl ITextRow_Vtbl { let this = (*this).get_impl(); match ITextRow_Impl::GetIndent(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4445,7 +4445,7 @@ impl ITextRow_Vtbl { let this = (*this).get_impl(); match ITextRow_Impl::GetKeepTogether(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4461,7 +4461,7 @@ impl ITextRow_Vtbl { let this = (*this).get_impl(); match ITextRow_Impl::GetKeepWithNext(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4477,7 +4477,7 @@ impl ITextRow_Vtbl { let this = (*this).get_impl(); match ITextRow_Impl::GetNestLevel(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4488,7 +4488,7 @@ impl ITextRow_Vtbl { let this = (*this).get_impl(); match ITextRow_Impl::GetRTL(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4504,7 +4504,7 @@ impl ITextRow_Vtbl { let this = (*this).get_impl(); match ITextRow_Impl::GetCellAlignment(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4520,7 +4520,7 @@ impl ITextRow_Vtbl { let this = (*this).get_impl(); match ITextRow_Impl::GetCellColorBack(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4536,7 +4536,7 @@ impl ITextRow_Vtbl { let this = (*this).get_impl(); match ITextRow_Impl::GetCellColorFore(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4552,7 +4552,7 @@ impl ITextRow_Vtbl { let this = (*this).get_impl(); match ITextRow_Impl::GetCellMergeFlags(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4568,7 +4568,7 @@ impl ITextRow_Vtbl { let this = (*this).get_impl(); match ITextRow_Impl::GetCellShading(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4584,7 +4584,7 @@ impl ITextRow_Vtbl { let this = (*this).get_impl(); match ITextRow_Impl::GetCellVerticalText(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4600,7 +4600,7 @@ impl ITextRow_Vtbl { let this = (*this).get_impl(); match ITextRow_Impl::GetCellWidth(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4641,7 +4641,7 @@ impl ITextRow_Vtbl { let this = (*this).get_impl(); match ITextRow_Impl::CanChange(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4652,7 +4652,7 @@ impl ITextRow_Vtbl { let this = (*this).get_impl(); match ITextRow_Impl::GetProperty(this, core::mem::transmute_copy(&r#type)) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4668,7 +4668,7 @@ impl ITextRow_Vtbl { let this = (*this).get_impl(); match ITextRow_Impl::IsEqual(this, windows_core::from_raw_borrowed(&prow)) { Ok(ok__) => { - core::ptr::write(pb, core::mem::transmute(ok__)); + pb.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4761,7 +4761,7 @@ impl ITextSelection_Vtbl { let this = (*this).get_impl(); match ITextSelection_Impl::GetFlags(this) { Ok(ok__) => { - core::ptr::write(pflags, core::mem::transmute(ok__)); + pflags.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4777,7 +4777,7 @@ impl ITextSelection_Vtbl { let this = (*this).get_impl(); match ITextSelection_Impl::GetType(this) { Ok(ok__) => { - core::ptr::write(ptype, core::mem::transmute(ok__)); + ptype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4788,7 +4788,7 @@ impl ITextSelection_Vtbl { let this = (*this).get_impl(); match ITextSelection_Impl::MoveLeft(this, core::mem::transmute_copy(&unit), core::mem::transmute_copy(&count), core::mem::transmute_copy(&extend)) { Ok(ok__) => { - core::ptr::write(pdelta, core::mem::transmute(ok__)); + pdelta.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4799,7 +4799,7 @@ impl ITextSelection_Vtbl { let this = (*this).get_impl(); match ITextSelection_Impl::MoveRight(this, core::mem::transmute_copy(&unit), core::mem::transmute_copy(&count), core::mem::transmute_copy(&extend)) { Ok(ok__) => { - core::ptr::write(pdelta, core::mem::transmute(ok__)); + pdelta.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4810,7 +4810,7 @@ impl ITextSelection_Vtbl { let this = (*this).get_impl(); match ITextSelection_Impl::MoveUp(this, core::mem::transmute_copy(&unit), core::mem::transmute_copy(&count), core::mem::transmute_copy(&extend)) { Ok(ok__) => { - core::ptr::write(pdelta, core::mem::transmute(ok__)); + pdelta.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4821,7 +4821,7 @@ impl ITextSelection_Vtbl { let this = (*this).get_impl(); match ITextSelection_Impl::MoveDown(this, core::mem::transmute_copy(&unit), core::mem::transmute_copy(&count), core::mem::transmute_copy(&extend)) { Ok(ok__) => { - core::ptr::write(pdelta, core::mem::transmute(ok__)); + pdelta.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4832,7 +4832,7 @@ impl ITextSelection_Vtbl { let this = (*this).get_impl(); match ITextSelection_Impl::HomeKey(this, core::mem::transmute_copy(&unit), core::mem::transmute_copy(&extend)) { Ok(ok__) => { - core::ptr::write(pdelta, core::mem::transmute(ok__)); + pdelta.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4843,7 +4843,7 @@ impl ITextSelection_Vtbl { let this = (*this).get_impl(); match ITextSelection_Impl::EndKey(this, core::mem::transmute_copy(&unit), core::mem::transmute_copy(&extend)) { Ok(ok__) => { - core::ptr::write(pdelta, core::mem::transmute(ok__)); + pdelta.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4991,7 +4991,7 @@ impl ITextServices_Vtbl { let this = (*this).get_impl(); match ITextServices_Impl::TxGetDropTarget(this) { Ok(ok__) => { - core::ptr::write(ppdroptarget, core::mem::transmute(ok__)); + ppdroptarget.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5088,7 +5088,7 @@ impl ITextStory_Vtbl { let this = (*this).get_impl(); match ITextStory_Impl::GetActive(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5104,7 +5104,7 @@ impl ITextStory_Vtbl { let this = (*this).get_impl(); match ITextStory_Impl::GetDisplay(this) { Ok(ok__) => { - core::ptr::write(ppdisplay, core::mem::transmute(ok__)); + ppdisplay.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5115,7 +5115,7 @@ impl ITextStory_Vtbl { let this = (*this).get_impl(); match ITextStory_Impl::GetIndex(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5126,7 +5126,7 @@ impl ITextStory_Vtbl { let this = (*this).get_impl(); match ITextStory_Impl::GetType(this) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5142,7 +5142,7 @@ impl ITextStory_Vtbl { let this = (*this).get_impl(); match ITextStory_Impl::GetProperty(this, core::mem::transmute_copy(&r#type)) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5153,7 +5153,7 @@ impl ITextStory_Vtbl { let this = (*this).get_impl(); match ITextStory_Impl::GetRange(this, core::mem::transmute_copy(&cpactive), core::mem::transmute_copy(&cpanchor)) { Ok(ok__) => { - core::ptr::write(pprange, core::mem::transmute(ok__)); + pprange.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5164,7 +5164,7 @@ impl ITextStory_Vtbl { let this = (*this).get_impl(); match ITextStory_Impl::GetText(this, core::mem::transmute_copy(&flags)) { Ok(ok__) => { - core::ptr::write(pbstr, core::mem::transmute(ok__)); + pbstr.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5221,7 +5221,7 @@ impl ITextStoryRanges_Vtbl { let this = (*this).get_impl(); match ITextStoryRanges_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(ppunkenum, core::mem::transmute(ok__)); + ppunkenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5232,7 +5232,7 @@ impl ITextStoryRanges_Vtbl { let this = (*this).get_impl(); match ITextStoryRanges_Impl::Item(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(pprange, core::mem::transmute(ok__)); + pprange.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5243,7 +5243,7 @@ impl ITextStoryRanges_Vtbl { let this = (*this).get_impl(); match ITextStoryRanges_Impl::GetCount(this) { Ok(ok__) => { - core::ptr::write(pcount, core::mem::transmute(ok__)); + pcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5274,7 +5274,7 @@ impl ITextStoryRanges2_Vtbl { let this = (*this).get_impl(); match ITextStoryRanges2_Impl::Item2(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(pprange, core::mem::transmute(ok__)); + pprange.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5316,7 +5316,7 @@ impl ITextStrings_Vtbl { let this = (*this).get_impl(); match ITextStrings_Impl::Item(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(pprange, core::mem::transmute(ok__)); + pprange.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5327,7 +5327,7 @@ impl ITextStrings_Vtbl { let this = (*this).get_impl(); match ITextStrings_Impl::GetCount(this) { Ok(ok__) => { - core::ptr::write(pcount, core::mem::transmute(ok__)); + pcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5368,7 +5368,7 @@ impl ITextStrings_Vtbl { let this = (*this).get_impl(); match ITextStrings_Impl::GetCch(this, core::mem::transmute_copy(&istring)) { Ok(ok__) => { - core::ptr::write(pcch, core::mem::transmute(ok__)); + pcch.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/Win32/UI/Controls/impl.rs b/crates/libs/windows/src/Windows/Win32/UI/Controls/impl.rs index e90f4d7ae5..d7a596c9bf 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/Controls/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/Controls/impl.rs @@ -40,7 +40,7 @@ impl IImageList_Vtbl { let this = (*this).get_impl(); match IImageList_Impl::Add(this, core::mem::transmute_copy(&hbmimage), core::mem::transmute_copy(&hbmmask)) { Ok(ok__) => { - core::ptr::write(pi, core::mem::transmute(ok__)); + pi.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -51,7 +51,7 @@ impl IImageList_Vtbl { let this = (*this).get_impl(); match IImageList_Impl::ReplaceIcon(this, core::mem::transmute_copy(&i), core::mem::transmute_copy(&hicon)) { Ok(ok__) => { - core::ptr::write(pi, core::mem::transmute(ok__)); + pi.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -72,7 +72,7 @@ impl IImageList_Vtbl { let this = (*this).get_impl(); match IImageList_Impl::AddMasked(this, core::mem::transmute_copy(&hbmimage), core::mem::transmute_copy(&crmask)) { Ok(ok__) => { - core::ptr::write(pi, core::mem::transmute(ok__)); + pi.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -93,7 +93,7 @@ impl IImageList_Vtbl { let this = (*this).get_impl(); match IImageList_Impl::GetIcon(this, core::mem::transmute_copy(&i), core::mem::transmute_copy(&flags)) { Ok(ok__) => { - core::ptr::write(picon, core::mem::transmute(ok__)); + picon.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -124,7 +124,7 @@ impl IImageList_Vtbl { let this = (*this).get_impl(); match IImageList_Impl::GetImageRect(this, core::mem::transmute_copy(&i)) { Ok(ok__) => { - core::ptr::write(prc, core::mem::transmute(ok__)); + prc.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -145,7 +145,7 @@ impl IImageList_Vtbl { let this = (*this).get_impl(); match IImageList_Impl::GetImageCount(this) { Ok(ok__) => { - core::ptr::write(pi, core::mem::transmute(ok__)); + pi.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -161,7 +161,7 @@ impl IImageList_Vtbl { let this = (*this).get_impl(); match IImageList_Impl::SetBkColor(this, core::mem::transmute_copy(&clrbk)) { Ok(ok__) => { - core::ptr::write(pclr, core::mem::transmute(ok__)); + pclr.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -172,7 +172,7 @@ impl IImageList_Vtbl { let this = (*this).get_impl(); match IImageList_Impl::GetBkColor(this) { Ok(ok__) => { - core::ptr::write(pclr, core::mem::transmute(ok__)); + pclr.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -223,7 +223,7 @@ impl IImageList_Vtbl { let this = (*this).get_impl(); match IImageList_Impl::GetItemFlags(this, core::mem::transmute_copy(&i)) { Ok(ok__) => { - core::ptr::write(dwflags, core::mem::transmute(ok__)); + dwflags.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -234,7 +234,7 @@ impl IImageList_Vtbl { let this = (*this).get_impl(); match IImageList_Impl::GetOverlayImage(this, core::mem::transmute_copy(&ioverlay)) { Ok(ok__) => { - core::ptr::write(piindex, core::mem::transmute(ok__)); + piindex.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/Win32/UI/Input/Ime/impl.rs b/crates/libs/windows/src/Windows/Win32/UI/Input/Ime/impl.rs index 09cf747775..f71c75144e 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/Input/Ime/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/Input/Ime/impl.rs @@ -98,7 +98,7 @@ impl IActiveIME_Vtbl { let this = (*this).get_impl(); match IActiveIME_Impl::EnumRegisterWord(this, core::mem::transmute(&szreading), core::mem::transmute_copy(&dwstyle), core::mem::transmute(&szregister), core::mem::transmute_copy(&pdata)) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -109,7 +109,7 @@ impl IActiveIME_Vtbl { let this = (*this).get_impl(); match IActiveIME_Impl::GetCodePageA(this) { Ok(ok__) => { - core::ptr::write(ucodepage, core::mem::transmute(ok__)); + ucodepage.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -120,7 +120,7 @@ impl IActiveIME_Vtbl { let this = (*this).get_impl(); match IActiveIME_Impl::GetLangId(this) { Ok(ok__) => { - core::ptr::write(plid, core::mem::transmute(ok__)); + plid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -258,7 +258,7 @@ impl IActiveIMMApp_Vtbl { let this = (*this).get_impl(); match IActiveIMMApp_Impl::AssociateContext(this, core::mem::transmute_copy(&hwnd), core::mem::transmute_copy(&hime)) { Ok(ok__) => { - core::ptr::write(phprev, core::mem::transmute(ok__)); + phprev.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -279,7 +279,7 @@ impl IActiveIMMApp_Vtbl { let this = (*this).get_impl(); match IActiveIMMApp_Impl::CreateContext(this) { Ok(ok__) => { - core::ptr::write(phimc, core::mem::transmute(ok__)); + phimc.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -295,7 +295,7 @@ impl IActiveIMMApp_Vtbl { let this = (*this).get_impl(); match IActiveIMMApp_Impl::EnumRegisterWordA(this, core::mem::transmute_copy(&hkl), core::mem::transmute(&szreading), core::mem::transmute_copy(&dwstyle), core::mem::transmute(&szregister), core::mem::transmute_copy(&pdata)) { Ok(ok__) => { - core::ptr::write(penum, core::mem::transmute(ok__)); + penum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -306,7 +306,7 @@ impl IActiveIMMApp_Vtbl { let this = (*this).get_impl(); match IActiveIMMApp_Impl::EnumRegisterWordW(this, core::mem::transmute_copy(&hkl), core::mem::transmute(&szreading), core::mem::transmute_copy(&dwstyle), core::mem::transmute(&szregister), core::mem::transmute_copy(&pdata)) { Ok(ok__) => { - core::ptr::write(penum, core::mem::transmute(ok__)); + penum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -377,7 +377,7 @@ impl IActiveIMMApp_Vtbl { let this = (*this).get_impl(); match IActiveIMMApp_Impl::GetContext(this, core::mem::transmute_copy(&hwnd)) { Ok(ok__) => { - core::ptr::write(phimc, core::mem::transmute(ok__)); + phimc.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -403,7 +403,7 @@ impl IActiveIMMApp_Vtbl { let this = (*this).get_impl(); match IActiveIMMApp_Impl::GetDefaultIMEWnd(this, core::mem::transmute_copy(&hwnd)) { Ok(ok__) => { - core::ptr::write(phdefwnd, core::mem::transmute(ok__)); + phdefwnd.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -449,7 +449,7 @@ impl IActiveIMMApp_Vtbl { let this = (*this).get_impl(); match IActiveIMMApp_Impl::GetProperty(this, core::mem::transmute_copy(&hkl), core::mem::transmute_copy(&fdwindex)) { Ok(ok__) => { - core::ptr::write(pdwproperty, core::mem::transmute(ok__)); + pdwproperty.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -470,7 +470,7 @@ impl IActiveIMMApp_Vtbl { let this = (*this).get_impl(); match IActiveIMMApp_Impl::GetStatusWindowPos(this, core::mem::transmute_copy(&himc)) { Ok(ok__) => { - core::ptr::write(pptpos, core::mem::transmute(ok__)); + pptpos.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -481,7 +481,7 @@ impl IActiveIMMApp_Vtbl { let this = (*this).get_impl(); match IActiveIMMApp_Impl::GetVirtualKey(this, core::mem::transmute_copy(&hwnd)) { Ok(ok__) => { - core::ptr::write(puvirtualkey, core::mem::transmute(ok__)); + puvirtualkey.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -492,7 +492,7 @@ impl IActiveIMMApp_Vtbl { let this = (*this).get_impl(); match IActiveIMMApp_Impl::InstallIMEA(this, core::mem::transmute(&szimefilename), core::mem::transmute(&szlayouttext)) { Ok(ok__) => { - core::ptr::write(phkl, core::mem::transmute(ok__)); + phkl.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -503,7 +503,7 @@ impl IActiveIMMApp_Vtbl { let this = (*this).get_impl(); match IActiveIMMApp_Impl::InstallIMEW(this, core::mem::transmute(&szimefilename), core::mem::transmute(&szlayouttext)) { Ok(ok__) => { - core::ptr::write(phkl, core::mem::transmute(ok__)); + phkl.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -619,7 +619,7 @@ impl IActiveIMMApp_Vtbl { let this = (*this).get_impl(); match IActiveIMMApp_Impl::OnDefWindowProc(this, core::mem::transmute_copy(&hwnd), core::mem::transmute_copy(&msg), core::mem::transmute_copy(&wparam), core::mem::transmute_copy(&lparam)) { Ok(ok__) => { - core::ptr::write(plresult, core::mem::transmute(ok__)); + plresult.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -635,7 +635,7 @@ impl IActiveIMMApp_Vtbl { let this = (*this).get_impl(); match IActiveIMMApp_Impl::GetCodePageA(this, core::mem::transmute_copy(&hkl)) { Ok(ok__) => { - core::ptr::write(ucodepage, core::mem::transmute(ok__)); + ucodepage.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -646,7 +646,7 @@ impl IActiveIMMApp_Vtbl { let this = (*this).get_impl(); match IActiveIMMApp_Impl::GetLangId(this, core::mem::transmute_copy(&hkl)) { Ok(ok__) => { - core::ptr::write(plid, core::mem::transmute(ok__)); + plid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -677,7 +677,7 @@ impl IActiveIMMApp_Vtbl { let this = (*this).get_impl(); match IActiveIMMApp_Impl::EnumInputContext(this, core::mem::transmute_copy(&idthread)) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -860,7 +860,7 @@ impl IActiveIMMIME_Vtbl { let this = (*this).get_impl(); match IActiveIMMIME_Impl::AssociateContext(this, core::mem::transmute_copy(&hwnd), core::mem::transmute_copy(&hime)) { Ok(ok__) => { - core::ptr::write(phprev, core::mem::transmute(ok__)); + phprev.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -881,7 +881,7 @@ impl IActiveIMMIME_Vtbl { let this = (*this).get_impl(); match IActiveIMMIME_Impl::CreateContext(this) { Ok(ok__) => { - core::ptr::write(phimc, core::mem::transmute(ok__)); + phimc.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -897,7 +897,7 @@ impl IActiveIMMIME_Vtbl { let this = (*this).get_impl(); match IActiveIMMIME_Impl::EnumRegisterWordA(this, core::mem::transmute_copy(&hkl), core::mem::transmute(&szreading), core::mem::transmute_copy(&dwstyle), core::mem::transmute(&szregister), core::mem::transmute_copy(&pdata)) { Ok(ok__) => { - core::ptr::write(penum, core::mem::transmute(ok__)); + penum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -908,7 +908,7 @@ impl IActiveIMMIME_Vtbl { let this = (*this).get_impl(); match IActiveIMMIME_Impl::EnumRegisterWordW(this, core::mem::transmute_copy(&hkl), core::mem::transmute(&szreading), core::mem::transmute_copy(&dwstyle), core::mem::transmute(&szregister), core::mem::transmute_copy(&pdata)) { Ok(ok__) => { - core::ptr::write(penum, core::mem::transmute(ok__)); + penum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -979,7 +979,7 @@ impl IActiveIMMIME_Vtbl { let this = (*this).get_impl(); match IActiveIMMIME_Impl::GetContext(this, core::mem::transmute_copy(&hwnd)) { Ok(ok__) => { - core::ptr::write(phimc, core::mem::transmute(ok__)); + phimc.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1005,7 +1005,7 @@ impl IActiveIMMIME_Vtbl { let this = (*this).get_impl(); match IActiveIMMIME_Impl::GetDefaultIMEWnd(this, core::mem::transmute_copy(&hwnd)) { Ok(ok__) => { - core::ptr::write(phdefwnd, core::mem::transmute(ok__)); + phdefwnd.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1051,7 +1051,7 @@ impl IActiveIMMIME_Vtbl { let this = (*this).get_impl(); match IActiveIMMIME_Impl::GetProperty(this, core::mem::transmute_copy(&hkl), core::mem::transmute_copy(&fdwindex)) { Ok(ok__) => { - core::ptr::write(pdwproperty, core::mem::transmute(ok__)); + pdwproperty.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1072,7 +1072,7 @@ impl IActiveIMMIME_Vtbl { let this = (*this).get_impl(); match IActiveIMMIME_Impl::GetStatusWindowPos(this, core::mem::transmute_copy(&himc)) { Ok(ok__) => { - core::ptr::write(pptpos, core::mem::transmute(ok__)); + pptpos.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1083,7 +1083,7 @@ impl IActiveIMMIME_Vtbl { let this = (*this).get_impl(); match IActiveIMMIME_Impl::GetVirtualKey(this, core::mem::transmute_copy(&hwnd)) { Ok(ok__) => { - core::ptr::write(puvirtualkey, core::mem::transmute(ok__)); + puvirtualkey.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1094,7 +1094,7 @@ impl IActiveIMMIME_Vtbl { let this = (*this).get_impl(); match IActiveIMMIME_Impl::InstallIMEA(this, core::mem::transmute(&szimefilename), core::mem::transmute(&szlayouttext)) { Ok(ok__) => { - core::ptr::write(phkl, core::mem::transmute(ok__)); + phkl.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1105,7 +1105,7 @@ impl IActiveIMMIME_Vtbl { let this = (*this).get_impl(); match IActiveIMMIME_Impl::InstallIMEW(this, core::mem::transmute(&szimefilename), core::mem::transmute(&szlayouttext)) { Ok(ok__) => { - core::ptr::write(phkl, core::mem::transmute(ok__)); + phkl.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1216,7 +1216,7 @@ impl IActiveIMMIME_Vtbl { let this = (*this).get_impl(); match IActiveIMMIME_Impl::LockIMC(this, core::mem::transmute_copy(&himc)) { Ok(ok__) => { - core::ptr::write(ppimc, core::mem::transmute(ok__)); + ppimc.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1232,7 +1232,7 @@ impl IActiveIMMIME_Vtbl { let this = (*this).get_impl(); match IActiveIMMIME_Impl::GetIMCLockCount(this, core::mem::transmute_copy(&himc)) { Ok(ok__) => { - core::ptr::write(pdwlockcount, core::mem::transmute(ok__)); + pdwlockcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1243,7 +1243,7 @@ impl IActiveIMMIME_Vtbl { let this = (*this).get_impl(); match IActiveIMMIME_Impl::CreateIMCC(this, core::mem::transmute_copy(&dwsize)) { Ok(ok__) => { - core::ptr::write(phimcc, core::mem::transmute(ok__)); + phimcc.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1269,7 +1269,7 @@ impl IActiveIMMIME_Vtbl { let this = (*this).get_impl(); match IActiveIMMIME_Impl::ReSizeIMCC(this, core::mem::transmute_copy(&himcc), core::mem::transmute_copy(&dwsize)) { Ok(ok__) => { - core::ptr::write(phimcc, core::mem::transmute(ok__)); + phimcc.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1280,7 +1280,7 @@ impl IActiveIMMIME_Vtbl { let this = (*this).get_impl(); match IActiveIMMIME_Impl::GetIMCCSize(this, core::mem::transmute_copy(&himcc)) { Ok(ok__) => { - core::ptr::write(pdwsize, core::mem::transmute(ok__)); + pdwsize.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1291,7 +1291,7 @@ impl IActiveIMMIME_Vtbl { let this = (*this).get_impl(); match IActiveIMMIME_Impl::GetIMCCLockCount(this, core::mem::transmute_copy(&himcc)) { Ok(ok__) => { - core::ptr::write(pdwlockcount, core::mem::transmute(ok__)); + pdwlockcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1312,7 +1312,7 @@ impl IActiveIMMIME_Vtbl { let this = (*this).get_impl(); match IActiveIMMIME_Impl::CreateSoftKeyboard(this, core::mem::transmute_copy(&utype), core::mem::transmute_copy(&howner), core::mem::transmute_copy(&x), core::mem::transmute_copy(&y)) { Ok(ok__) => { - core::ptr::write(phsoftkbdwnd, core::mem::transmute(ok__)); + phsoftkbdwnd.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1333,7 +1333,7 @@ impl IActiveIMMIME_Vtbl { let this = (*this).get_impl(); match IActiveIMMIME_Impl::GetCodePageA(this, core::mem::transmute_copy(&hkl)) { Ok(ok__) => { - core::ptr::write(ucodepage, core::mem::transmute(ok__)); + ucodepage.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1344,7 +1344,7 @@ impl IActiveIMMIME_Vtbl { let this = (*this).get_impl(); match IActiveIMMIME_Impl::GetLangId(this, core::mem::transmute_copy(&hkl)) { Ok(ok__) => { - core::ptr::write(plid, core::mem::transmute(ok__)); + plid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1390,7 +1390,7 @@ impl IActiveIMMIME_Vtbl { let this = (*this).get_impl(); match IActiveIMMIME_Impl::EnumInputContext(this, core::mem::transmute_copy(&idthread)) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1401,7 +1401,7 @@ impl IActiveIMMIME_Vtbl { let this = (*this).get_impl(); match IActiveIMMIME_Impl::RequestMessageA(this, core::mem::transmute_copy(&himc), core::mem::transmute_copy(&wparam), core::mem::transmute_copy(&lparam)) { Ok(ok__) => { - core::ptr::write(plresult, core::mem::transmute(ok__)); + plresult.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1412,7 +1412,7 @@ impl IActiveIMMIME_Vtbl { let this = (*this).get_impl(); match IActiveIMMIME_Impl::RequestMessageW(this, core::mem::transmute_copy(&himc), core::mem::transmute_copy(&wparam), core::mem::transmute_copy(&lparam)) { Ok(ok__) => { - core::ptr::write(plresult, core::mem::transmute(ok__)); + plresult.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1423,7 +1423,7 @@ impl IActiveIMMIME_Vtbl { let this = (*this).get_impl(); match IActiveIMMIME_Impl::SendIMCA(this, core::mem::transmute_copy(&hwnd), core::mem::transmute_copy(&umsg), core::mem::transmute_copy(&wparam), core::mem::transmute_copy(&lparam)) { Ok(ok__) => { - core::ptr::write(plresult, core::mem::transmute(ok__)); + plresult.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1434,7 +1434,7 @@ impl IActiveIMMIME_Vtbl { let this = (*this).get_impl(); match IActiveIMMIME_Impl::SendIMCW(this, core::mem::transmute_copy(&hwnd), core::mem::transmute_copy(&umsg), core::mem::transmute_copy(&wparam), core::mem::transmute_copy(&lparam)) { Ok(ok__) => { - core::ptr::write(plresult, core::mem::transmute(ok__)); + plresult.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1574,7 +1574,7 @@ impl IActiveIMMMessagePumpOwner_Vtbl { let this = (*this).get_impl(); match IActiveIMMMessagePumpOwner_Impl::Pause(this) { Ok(ok__) => { - core::ptr::write(pdwcookie, core::mem::transmute(ok__)); + pdwcookie.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1642,7 +1642,7 @@ impl IEnumInputContext_Vtbl { let this = (*this).get_impl(); match IEnumInputContext_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1689,7 +1689,7 @@ impl IEnumRegisterWordA_Vtbl { let this = (*this).get_impl(); match IEnumRegisterWordA_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1736,7 +1736,7 @@ impl IEnumRegisterWordW_Vtbl { let this = (*this).get_impl(); match IEnumRegisterWordW_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/Win32/UI/Input/Touch/impl.rs b/crates/libs/windows/src/Windows/Win32/UI/Input/Touch/impl.rs index 653acf6fdd..7c87d483fd 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/Input/Touch/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/Input/Touch/impl.rs @@ -57,7 +57,7 @@ impl IInertiaProcessor_Vtbl { let this = (*this).get_impl(); match IInertiaProcessor_Impl::InitialOriginX(this) { Ok(ok__) => { - core::ptr::write(x, core::mem::transmute(ok__)); + x.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -73,7 +73,7 @@ impl IInertiaProcessor_Vtbl { let this = (*this).get_impl(); match IInertiaProcessor_Impl::InitialOriginY(this) { Ok(ok__) => { - core::ptr::write(y, core::mem::transmute(ok__)); + y.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -89,7 +89,7 @@ impl IInertiaProcessor_Vtbl { let this = (*this).get_impl(); match IInertiaProcessor_Impl::InitialVelocityX(this) { Ok(ok__) => { - core::ptr::write(x, core::mem::transmute(ok__)); + x.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -105,7 +105,7 @@ impl IInertiaProcessor_Vtbl { let this = (*this).get_impl(); match IInertiaProcessor_Impl::InitialVelocityY(this) { Ok(ok__) => { - core::ptr::write(y, core::mem::transmute(ok__)); + y.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -121,7 +121,7 @@ impl IInertiaProcessor_Vtbl { let this = (*this).get_impl(); match IInertiaProcessor_Impl::InitialAngularVelocity(this) { Ok(ok__) => { - core::ptr::write(velocity, core::mem::transmute(ok__)); + velocity.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -137,7 +137,7 @@ impl IInertiaProcessor_Vtbl { let this = (*this).get_impl(); match IInertiaProcessor_Impl::InitialExpansionVelocity(this) { Ok(ok__) => { - core::ptr::write(velocity, core::mem::transmute(ok__)); + velocity.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -153,7 +153,7 @@ impl IInertiaProcessor_Vtbl { let this = (*this).get_impl(); match IInertiaProcessor_Impl::InitialRadius(this) { Ok(ok__) => { - core::ptr::write(radius, core::mem::transmute(ok__)); + radius.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -169,7 +169,7 @@ impl IInertiaProcessor_Vtbl { let this = (*this).get_impl(); match IInertiaProcessor_Impl::BoundaryLeft(this) { Ok(ok__) => { - core::ptr::write(left, core::mem::transmute(ok__)); + left.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -185,7 +185,7 @@ impl IInertiaProcessor_Vtbl { let this = (*this).get_impl(); match IInertiaProcessor_Impl::BoundaryTop(this) { Ok(ok__) => { - core::ptr::write(top, core::mem::transmute(ok__)); + top.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -201,7 +201,7 @@ impl IInertiaProcessor_Vtbl { let this = (*this).get_impl(); match IInertiaProcessor_Impl::BoundaryRight(this) { Ok(ok__) => { - core::ptr::write(right, core::mem::transmute(ok__)); + right.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -217,7 +217,7 @@ impl IInertiaProcessor_Vtbl { let this = (*this).get_impl(); match IInertiaProcessor_Impl::BoundaryBottom(this) { Ok(ok__) => { - core::ptr::write(bottom, core::mem::transmute(ok__)); + bottom.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -233,7 +233,7 @@ impl IInertiaProcessor_Vtbl { let this = (*this).get_impl(); match IInertiaProcessor_Impl::ElasticMarginLeft(this) { Ok(ok__) => { - core::ptr::write(left, core::mem::transmute(ok__)); + left.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -249,7 +249,7 @@ impl IInertiaProcessor_Vtbl { let this = (*this).get_impl(); match IInertiaProcessor_Impl::ElasticMarginTop(this) { Ok(ok__) => { - core::ptr::write(top, core::mem::transmute(ok__)); + top.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -265,7 +265,7 @@ impl IInertiaProcessor_Vtbl { let this = (*this).get_impl(); match IInertiaProcessor_Impl::ElasticMarginRight(this) { Ok(ok__) => { - core::ptr::write(right, core::mem::transmute(ok__)); + right.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -281,7 +281,7 @@ impl IInertiaProcessor_Vtbl { let this = (*this).get_impl(); match IInertiaProcessor_Impl::ElasticMarginBottom(this) { Ok(ok__) => { - core::ptr::write(bottom, core::mem::transmute(ok__)); + bottom.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -297,7 +297,7 @@ impl IInertiaProcessor_Vtbl { let this = (*this).get_impl(); match IInertiaProcessor_Impl::DesiredDisplacement(this) { Ok(ok__) => { - core::ptr::write(displacement, core::mem::transmute(ok__)); + displacement.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -313,7 +313,7 @@ impl IInertiaProcessor_Vtbl { let this = (*this).get_impl(); match IInertiaProcessor_Impl::DesiredRotation(this) { Ok(ok__) => { - core::ptr::write(rotation, core::mem::transmute(ok__)); + rotation.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -329,7 +329,7 @@ impl IInertiaProcessor_Vtbl { let this = (*this).get_impl(); match IInertiaProcessor_Impl::DesiredExpansion(this) { Ok(ok__) => { - core::ptr::write(expansion, core::mem::transmute(ok__)); + expansion.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -345,7 +345,7 @@ impl IInertiaProcessor_Vtbl { let this = (*this).get_impl(); match IInertiaProcessor_Impl::DesiredDeceleration(this) { Ok(ok__) => { - core::ptr::write(deceleration, core::mem::transmute(ok__)); + deceleration.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -361,7 +361,7 @@ impl IInertiaProcessor_Vtbl { let this = (*this).get_impl(); match IInertiaProcessor_Impl::DesiredAngularDeceleration(this) { Ok(ok__) => { - core::ptr::write(deceleration, core::mem::transmute(ok__)); + deceleration.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -377,7 +377,7 @@ impl IInertiaProcessor_Vtbl { let this = (*this).get_impl(); match IInertiaProcessor_Impl::DesiredExpansionDeceleration(this) { Ok(ok__) => { - core::ptr::write(deceleration, core::mem::transmute(ok__)); + deceleration.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -393,7 +393,7 @@ impl IInertiaProcessor_Vtbl { let this = (*this).get_impl(); match IInertiaProcessor_Impl::InitialTimestamp(this) { Ok(ok__) => { - core::ptr::write(timestamp, core::mem::transmute(ok__)); + timestamp.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -414,7 +414,7 @@ impl IInertiaProcessor_Vtbl { let this = (*this).get_impl(); match IInertiaProcessor_Impl::Process(this) { Ok(ok__) => { - core::ptr::write(completed, core::mem::transmute(ok__)); + completed.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -425,7 +425,7 @@ impl IInertiaProcessor_Vtbl { let this = (*this).get_impl(); match IInertiaProcessor_Impl::ProcessTime(this, core::mem::transmute_copy(×tamp)) { Ok(ok__) => { - core::ptr::write(completed, core::mem::transmute(ok__)); + completed.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -529,7 +529,7 @@ impl IManipulationProcessor_Vtbl { let this = (*this).get_impl(); match IManipulationProcessor_Impl::SupportedManipulations(this) { Ok(ok__) => { - core::ptr::write(manipulations, core::mem::transmute(ok__)); + manipulations.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -545,7 +545,7 @@ impl IManipulationProcessor_Vtbl { let this = (*this).get_impl(); match IManipulationProcessor_Impl::PivotPointX(this) { Ok(ok__) => { - core::ptr::write(pivotpointx, core::mem::transmute(ok__)); + pivotpointx.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -561,7 +561,7 @@ impl IManipulationProcessor_Vtbl { let this = (*this).get_impl(); match IManipulationProcessor_Impl::PivotPointY(this) { Ok(ok__) => { - core::ptr::write(pivotpointy, core::mem::transmute(ok__)); + pivotpointy.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -577,7 +577,7 @@ impl IManipulationProcessor_Vtbl { let this = (*this).get_impl(); match IManipulationProcessor_Impl::PivotRadius(this) { Ok(ok__) => { - core::ptr::write(pivotradius, core::mem::transmute(ok__)); + pivotradius.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -628,7 +628,7 @@ impl IManipulationProcessor_Vtbl { let this = (*this).get_impl(); match IManipulationProcessor_Impl::GetVelocityX(this) { Ok(ok__) => { - core::ptr::write(velocityx, core::mem::transmute(ok__)); + velocityx.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -639,7 +639,7 @@ impl IManipulationProcessor_Vtbl { let this = (*this).get_impl(); match IManipulationProcessor_Impl::GetVelocityY(this) { Ok(ok__) => { - core::ptr::write(velocityy, core::mem::transmute(ok__)); + velocityy.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -650,7 +650,7 @@ impl IManipulationProcessor_Vtbl { let this = (*this).get_impl(); match IManipulationProcessor_Impl::GetExpansionVelocity(this) { Ok(ok__) => { - core::ptr::write(expansionvelocity, core::mem::transmute(ok__)); + expansionvelocity.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -661,7 +661,7 @@ impl IManipulationProcessor_Vtbl { let this = (*this).get_impl(); match IManipulationProcessor_Impl::GetAngularVelocity(this) { Ok(ok__) => { - core::ptr::write(angularvelocity, core::mem::transmute(ok__)); + angularvelocity.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -672,7 +672,7 @@ impl IManipulationProcessor_Vtbl { let this = (*this).get_impl(); match IManipulationProcessor_Impl::MinimumScaleRotateRadius(this) { Ok(ok__) => { - core::ptr::write(minradius, core::mem::transmute(ok__)); + minradius.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/Win32/UI/LegacyWindowsEnvironmentFeatures/impl.rs b/crates/libs/windows/src/Windows/Win32/UI/LegacyWindowsEnvironmentFeatures/impl.rs index 4ed8c3c36b..2bcebe7157 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/LegacyWindowsEnvironmentFeatures/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/LegacyWindowsEnvironmentFeatures/impl.rs @@ -141,7 +141,7 @@ impl IEmptyVolumeCache_Vtbl { let this = (*this).get_impl(); match IEmptyVolumeCache_Impl::Deactivate(this) { Ok(ok__) => { - core::ptr::write(pdwflags, core::mem::transmute(ok__)); + pdwflags.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -227,7 +227,7 @@ impl IReconcilableObject_Vtbl { let this = (*this).get_impl(); match IReconcilableObject_Impl::GetProgressFeedbackMaxEstimate(this) { Ok(ok__) => { - core::ptr::write(pulprogressmax, core::mem::transmute(ok__)); + pulprogressmax.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/Win32/UI/Ribbon/impl.rs b/crates/libs/windows/src/Windows/Win32/UI/Ribbon/impl.rs index 842f4b7735..dc77307c37 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/Ribbon/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/Ribbon/impl.rs @@ -16,7 +16,7 @@ impl IUIApplication_Vtbl { let this = (*this).get_impl(); match IUIApplication_Impl::OnCreateUICommand(this, core::mem::transmute_copy(&commandid), core::mem::transmute_copy(&typeid)) { Ok(ok__) => { - core::ptr::write(commandhandler, core::mem::transmute(ok__)); + commandhandler.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -55,7 +55,7 @@ impl IUICollection_Vtbl { let this = (*this).get_impl(); match IUICollection_Impl::GetCount(this) { Ok(ok__) => { - core::ptr::write(count, core::mem::transmute(ok__)); + count.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -66,7 +66,7 @@ impl IUICollection_Vtbl { let this = (*this).get_impl(); match IUICollection_Impl::GetItem(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(item, core::mem::transmute(ok__)); + item.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -149,7 +149,7 @@ impl IUICommandHandler_Vtbl { let this = (*this).get_impl(); match IUICommandHandler_Impl::UpdateProperty(this, core::mem::transmute_copy(&commandid), core::mem::transmute_copy(&key), core::mem::transmute_copy(¤tvalue)) { Ok(ok__) => { - core::ptr::write(newvalue, core::mem::transmute(ok__)); + newvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -258,7 +258,7 @@ impl IUIFramework_Vtbl { let this = (*this).get_impl(); match IUIFramework_Impl::GetUICommandProperty(this, core::mem::transmute_copy(&commandid), core::mem::transmute_copy(&key)) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -315,7 +315,7 @@ impl IUIImage_Vtbl { let this = (*this).get_impl(); match IUIImage_Impl::GetBitmap(this) { Ok(ok__) => { - core::ptr::write(bitmap, core::mem::transmute(ok__)); + bitmap.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -341,7 +341,7 @@ impl IUIImageFromBitmap_Vtbl { let this = (*this).get_impl(); match IUIImageFromBitmap_Impl::CreateImage(this, core::mem::transmute_copy(&bitmap), core::mem::transmute_copy(&options)) { Ok(ok__) => { - core::ptr::write(image, core::mem::transmute(ok__)); + image.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -369,7 +369,7 @@ impl IUIRibbon_Vtbl { let this = (*this).get_impl(); match IUIRibbon_Impl::GetHeight(this) { Ok(ok__) => { - core::ptr::write(cy, core::mem::transmute(ok__)); + cy.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -410,7 +410,7 @@ impl IUISimplePropertySet_Vtbl { let this = (*this).get_impl(); match IUISimplePropertySet_Impl::GetValue(this, core::mem::transmute_copy(&key)) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/Win32/UI/Shell/Common/impl.rs b/crates/libs/windows/src/Windows/Win32/UI/Shell/Common/impl.rs index 848b0b337b..124aee3695 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/Shell/Common/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/Shell/Common/impl.rs @@ -10,7 +10,7 @@ impl IObjectArray_Vtbl { let this = (*this).get_impl(); match IObjectArray_Impl::GetCount(this) { Ok(ok__) => { - core::ptr::write(pcobjects, core::mem::transmute(ok__)); + pcobjects.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/Win32/UI/Shell/PropertiesSystem/impl.rs b/crates/libs/windows/src/Windows/Win32/UI/Shell/PropertiesSystem/impl.rs index eecf81f003..a6a79aa8fe 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/Shell/PropertiesSystem/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/Shell/PropertiesSystem/impl.rs @@ -83,7 +83,7 @@ impl INamedPropertyStore_Vtbl { let this = (*this).get_impl(); match INamedPropertyStore_Impl::GetNamedValue(this, core::mem::transmute(&pszname)) { Ok(ok__) => { - core::ptr::write(ppropvar, core::mem::transmute(ok__)); + ppropvar.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -99,7 +99,7 @@ impl INamedPropertyStore_Vtbl { let this = (*this).get_impl(); match INamedPropertyStore_Impl::GetNameCount(this) { Ok(ok__) => { - core::ptr::write(pdwcount, core::mem::transmute(ok__)); + pdwcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -110,7 +110,7 @@ impl INamedPropertyStore_Vtbl { let this = (*this).get_impl(); match INamedPropertyStore_Impl::GetNameAt(this, core::mem::transmute_copy(&iprop)) { Ok(ok__) => { - core::ptr::write(pbstrname, core::mem::transmute(ok__)); + pbstrname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -201,7 +201,7 @@ impl IPersistSerializedPropStorage2_Vtbl { let this = (*this).get_impl(); match IPersistSerializedPropStorage2_Impl::GetPropertyStorageSize(this) { Ok(ok__) => { - core::ptr::write(pcb, core::mem::transmute(ok__)); + pcb.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -233,7 +233,7 @@ impl IPropertyChange_Vtbl { let this = (*this).get_impl(); match IPropertyChange_Impl::ApplyToPropVariant(this, core::mem::transmute_copy(&propvarin)) { Ok(ok__) => { - core::ptr::write(ppropvarout, core::mem::transmute(ok__)); + ppropvarout.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -262,7 +262,7 @@ impl IPropertyChangeArray_Vtbl { let this = (*this).get_impl(); match IPropertyChangeArray_Impl::GetCount(this) { Ok(ok__) => { - core::ptr::write(pcoperations, core::mem::transmute(ok__)); + pcoperations.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -352,7 +352,7 @@ impl IPropertyDescription_Vtbl { let this = (*this).get_impl(); match IPropertyDescription_Impl::GetCanonicalName(this) { Ok(ok__) => { - core::ptr::write(ppszname, core::mem::transmute(ok__)); + ppszname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -363,7 +363,7 @@ impl IPropertyDescription_Vtbl { let this = (*this).get_impl(); match IPropertyDescription_Impl::GetPropertyType(this) { Ok(ok__) => { - core::ptr::write(pvartype, core::mem::transmute(ok__)); + pvartype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -374,7 +374,7 @@ impl IPropertyDescription_Vtbl { let this = (*this).get_impl(); match IPropertyDescription_Impl::GetDisplayName(this) { Ok(ok__) => { - core::ptr::write(ppszname, core::mem::transmute(ok__)); + ppszname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -385,7 +385,7 @@ impl IPropertyDescription_Vtbl { let this = (*this).get_impl(); match IPropertyDescription_Impl::GetEditInvitation(this) { Ok(ok__) => { - core::ptr::write(ppszinvite, core::mem::transmute(ok__)); + ppszinvite.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -396,7 +396,7 @@ impl IPropertyDescription_Vtbl { let this = (*this).get_impl(); match IPropertyDescription_Impl::GetTypeFlags(this, core::mem::transmute_copy(&mask)) { Ok(ok__) => { - core::ptr::write(ppdtflags, core::mem::transmute(ok__)); + ppdtflags.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -407,7 +407,7 @@ impl IPropertyDescription_Vtbl { let this = (*this).get_impl(); match IPropertyDescription_Impl::GetViewFlags(this) { Ok(ok__) => { - core::ptr::write(ppdvflags, core::mem::transmute(ok__)); + ppdvflags.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -418,7 +418,7 @@ impl IPropertyDescription_Vtbl { let this = (*this).get_impl(); match IPropertyDescription_Impl::GetDefaultColumnWidth(this) { Ok(ok__) => { - core::ptr::write(pcxchars, core::mem::transmute(ok__)); + pcxchars.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -429,7 +429,7 @@ impl IPropertyDescription_Vtbl { let this = (*this).get_impl(); match IPropertyDescription_Impl::GetDisplayType(this) { Ok(ok__) => { - core::ptr::write(pdisplaytype, core::mem::transmute(ok__)); + pdisplaytype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -440,7 +440,7 @@ impl IPropertyDescription_Vtbl { let this = (*this).get_impl(); match IPropertyDescription_Impl::GetColumnState(this) { Ok(ok__) => { - core::ptr::write(pcsflags, core::mem::transmute(ok__)); + pcsflags.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -451,7 +451,7 @@ impl IPropertyDescription_Vtbl { let this = (*this).get_impl(); match IPropertyDescription_Impl::GetGroupingRange(this) { Ok(ok__) => { - core::ptr::write(pgr, core::mem::transmute(ok__)); + pgr.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -462,7 +462,7 @@ impl IPropertyDescription_Vtbl { let this = (*this).get_impl(); match IPropertyDescription_Impl::GetRelativeDescriptionType(this) { Ok(ok__) => { - core::ptr::write(prdt, core::mem::transmute(ok__)); + prdt.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -478,7 +478,7 @@ impl IPropertyDescription_Vtbl { let this = (*this).get_impl(); match IPropertyDescription_Impl::GetSortDescription(this) { Ok(ok__) => { - core::ptr::write(psd, core::mem::transmute(ok__)); + psd.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -489,7 +489,7 @@ impl IPropertyDescription_Vtbl { let this = (*this).get_impl(); match IPropertyDescription_Impl::GetSortDescriptionLabel(this, core::mem::transmute_copy(&fdescending)) { Ok(ok__) => { - core::ptr::write(ppszdescription, core::mem::transmute(ok__)); + ppszdescription.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -500,7 +500,7 @@ impl IPropertyDescription_Vtbl { let this = (*this).get_impl(); match IPropertyDescription_Impl::GetAggregationType(this) { Ok(ok__) => { - core::ptr::write(paggtype, core::mem::transmute(ok__)); + paggtype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -526,7 +526,7 @@ impl IPropertyDescription_Vtbl { let this = (*this).get_impl(); match IPropertyDescription_Impl::FormatForDisplay(this, core::mem::transmute_copy(&propvar), core::mem::transmute_copy(&pdfflags)) { Ok(ok__) => { - core::ptr::write(ppszdisplay, core::mem::transmute(ok__)); + ppszdisplay.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -580,7 +580,7 @@ impl IPropertyDescription2_Vtbl { let this = (*this).get_impl(); match IPropertyDescription2_Impl::GetImageReferenceForValue(this, core::mem::transmute_copy(&propvar)) { Ok(ok__) => { - core::ptr::write(ppszimageres, core::mem::transmute(ok__)); + ppszimageres.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -637,7 +637,7 @@ impl IPropertyDescriptionList_Vtbl { let this = (*this).get_impl(); match IPropertyDescriptionList_Impl::GetCount(this) { Ok(ok__) => { - core::ptr::write(pcelem, core::mem::transmute(ok__)); + pcelem.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -695,7 +695,7 @@ impl IPropertyDescriptionSearchInfo_Vtbl { let this = (*this).get_impl(); match IPropertyDescriptionSearchInfo_Impl::GetSearchInfoFlags(this) { Ok(ok__) => { - core::ptr::write(ppdsiflags, core::mem::transmute(ok__)); + ppdsiflags.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -706,7 +706,7 @@ impl IPropertyDescriptionSearchInfo_Vtbl { let this = (*this).get_impl(); match IPropertyDescriptionSearchInfo_Impl::GetColumnIndexType(this) { Ok(ok__) => { - core::ptr::write(ppdcitype, core::mem::transmute(ok__)); + ppdcitype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -717,7 +717,7 @@ impl IPropertyDescriptionSearchInfo_Vtbl { let this = (*this).get_impl(); match IPropertyDescriptionSearchInfo_Impl::GetProjectionString(this) { Ok(ok__) => { - core::ptr::write(ppszprojection, core::mem::transmute(ok__)); + ppszprojection.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -728,7 +728,7 @@ impl IPropertyDescriptionSearchInfo_Vtbl { let this = (*this).get_impl(); match IPropertyDescriptionSearchInfo_Impl::GetMaxSize(this) { Ok(ok__) => { - core::ptr::write(pcbmaxsize, core::mem::transmute(ok__)); + pcbmaxsize.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -761,7 +761,7 @@ impl IPropertyEnumType_Vtbl { let this = (*this).get_impl(); match IPropertyEnumType_Impl::GetEnumType(this) { Ok(ok__) => { - core::ptr::write(penumtype, core::mem::transmute(ok__)); + penumtype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -772,7 +772,7 @@ impl IPropertyEnumType_Vtbl { let this = (*this).get_impl(); match IPropertyEnumType_Impl::GetValue(this) { Ok(ok__) => { - core::ptr::write(ppropvar, core::mem::transmute(ok__)); + ppropvar.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -783,7 +783,7 @@ impl IPropertyEnumType_Vtbl { let this = (*this).get_impl(); match IPropertyEnumType_Impl::GetRangeMinValue(this) { Ok(ok__) => { - core::ptr::write(ppropvarmin, core::mem::transmute(ok__)); + ppropvarmin.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -794,7 +794,7 @@ impl IPropertyEnumType_Vtbl { let this = (*this).get_impl(); match IPropertyEnumType_Impl::GetRangeSetValue(this) { Ok(ok__) => { - core::ptr::write(ppropvarset, core::mem::transmute(ok__)); + ppropvarset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -805,7 +805,7 @@ impl IPropertyEnumType_Vtbl { let this = (*this).get_impl(); match IPropertyEnumType_Impl::GetDisplayText(this) { Ok(ok__) => { - core::ptr::write(ppszdisplay, core::mem::transmute(ok__)); + ppszdisplay.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -835,7 +835,7 @@ impl IPropertyEnumType2_Vtbl { let this = (*this).get_impl(); match IPropertyEnumType2_Impl::GetImageReference(this) { Ok(ok__) => { - core::ptr::write(ppszimageres, core::mem::transmute(ok__)); + ppszimageres.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -861,7 +861,7 @@ impl IPropertyEnumTypeList_Vtbl { let this = (*this).get_impl(); match IPropertyEnumTypeList_Impl::GetCount(this) { Ok(ok__) => { - core::ptr::write(pctypes, core::mem::transmute(ok__)); + pctypes.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -882,7 +882,7 @@ impl IPropertyEnumTypeList_Vtbl { let this = (*this).get_impl(); match IPropertyEnumTypeList_Impl::FindMatchingIndex(this, core::mem::transmute_copy(&propvarcmp)) { Ok(ok__) => { - core::ptr::write(pnindex, core::mem::transmute(ok__)); + pnindex.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -915,7 +915,7 @@ impl IPropertyStore_Vtbl { let this = (*this).get_impl(); match IPropertyStore_Impl::GetCount(this) { Ok(ok__) => { - core::ptr::write(cprops, core::mem::transmute(ok__)); + cprops.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -931,7 +931,7 @@ impl IPropertyStore_Vtbl { let this = (*this).get_impl(); match IPropertyStore_Impl::GetValue(this, core::mem::transmute_copy(&key)) { Ok(ok__) => { - core::ptr::write(pv, core::mem::transmute(ok__)); + pv.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -974,7 +974,7 @@ impl IPropertyStoreCache_Vtbl { let this = (*this).get_impl(); match IPropertyStoreCache_Impl::GetState(this, core::mem::transmute_copy(&key)) { Ok(ok__) => { - core::ptr::write(pstate, core::mem::transmute(ok__)); + pstate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1095,7 +1095,7 @@ impl IPropertySystem_Vtbl { let this = (*this).get_impl(); match IPropertySystem_Impl::FormatForDisplayAlloc(this, core::mem::transmute_copy(&key), core::mem::transmute_copy(&propvar), core::mem::transmute_copy(&pdff)) { Ok(ok__) => { - core::ptr::write(ppszdisplay, core::mem::transmute(ok__)); + ppszdisplay.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1188,7 +1188,7 @@ impl IPropertyUI_Vtbl { let this = (*this).get_impl(); match IPropertyUI_Impl::GetDefaultWidth(this, core::mem::transmute_copy(&fmtid), core::mem::transmute_copy(&pid)) { Ok(ok__) => { - core::ptr::write(pcxchars, core::mem::transmute(ok__)); + pcxchars.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1199,7 +1199,7 @@ impl IPropertyUI_Vtbl { let this = (*this).get_impl(); match IPropertyUI_Impl::GetFlags(this, core::mem::transmute_copy(&fmtid), core::mem::transmute_copy(&pid)) { Ok(ok__) => { - core::ptr::write(pflags, core::mem::transmute(ok__)); + pflags.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/Win32/UI/Shell/impl.rs b/crates/libs/windows/src/Windows/Win32/UI/Shell/impl.rs index 31a19e5041..ffc47829d7 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/Shell/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/Shell/impl.rs @@ -43,7 +43,7 @@ impl DFConstraint_Vtbl { let this = (*this).get_impl(); match DFConstraint_Impl::Name(this) { Ok(ok__) => { - core::ptr::write(pbs, core::mem::transmute(ok__)); + pbs.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -54,7 +54,7 @@ impl DFConstraint_Vtbl { let this = (*this).get_impl(); match DFConstraint_Impl::Value(this) { Ok(ok__) => { - core::ptr::write(pv, core::mem::transmute(ok__)); + pv.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -158,7 +158,7 @@ impl Folder_Vtbl { let this = (*this).get_impl(); match Folder_Impl::Title(this) { Ok(ok__) => { - core::ptr::write(pbs, core::mem::transmute(ok__)); + pbs.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -169,7 +169,7 @@ impl Folder_Vtbl { let this = (*this).get_impl(); match Folder_Impl::Application(this) { Ok(ok__) => { - core::ptr::write(ppid, core::mem::transmute(ok__)); + ppid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -180,7 +180,7 @@ impl Folder_Vtbl { let this = (*this).get_impl(); match Folder_Impl::Parent(this) { Ok(ok__) => { - core::ptr::write(ppid, core::mem::transmute(ok__)); + ppid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -191,7 +191,7 @@ impl Folder_Vtbl { let this = (*this).get_impl(); match Folder_Impl::ParentFolder(this) { Ok(ok__) => { - core::ptr::write(ppsf, core::mem::transmute(ok__)); + ppsf.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -202,7 +202,7 @@ impl Folder_Vtbl { let this = (*this).get_impl(); match Folder_Impl::Items(this) { Ok(ok__) => { - core::ptr::write(ppid, core::mem::transmute(ok__)); + ppid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -213,7 +213,7 @@ impl Folder_Vtbl { let this = (*this).get_impl(); match Folder_Impl::ParseName(this, core::mem::transmute(&bname)) { Ok(ok__) => { - core::ptr::write(ppid, core::mem::transmute(ok__)); + ppid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -239,7 +239,7 @@ impl Folder_Vtbl { let this = (*this).get_impl(); match Folder_Impl::GetDetailsOf(this, core::mem::transmute(&vitem), core::mem::transmute_copy(&icolumn)) { Ok(ok__) => { - core::ptr::write(pbs, core::mem::transmute(ok__)); + pbs.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -281,7 +281,7 @@ impl Folder2_Vtbl { let this = (*this).get_impl(); match Folder2_Impl::Self_(this) { Ok(ok__) => { - core::ptr::write(ppfi, core::mem::transmute(ok__)); + ppfi.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -292,7 +292,7 @@ impl Folder2_Vtbl { let this = (*this).get_impl(); match Folder2_Impl::OfflineStatus(this) { Ok(ok__) => { - core::ptr::write(pul, core::mem::transmute(ok__)); + pul.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -308,7 +308,7 @@ impl Folder2_Vtbl { let this = (*this).get_impl(); match Folder2_Impl::HaveToShowWebViewBarricade(this) { Ok(ok__) => { - core::ptr::write(pbhavetoshowwebviewbarricade, core::mem::transmute(ok__)); + pbhavetoshowwebviewbarricade.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -347,7 +347,7 @@ impl Folder3_Vtbl { let this = (*this).get_impl(); match Folder3_Impl::ShowWebViewBarricade(this) { Ok(ok__) => { - core::ptr::write(pbshowwebviewbarricade, core::mem::transmute(ok__)); + pbshowwebviewbarricade.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -398,7 +398,7 @@ impl FolderItem_Vtbl { let this = (*this).get_impl(); match FolderItem_Impl::Application(this) { Ok(ok__) => { - core::ptr::write(ppid, core::mem::transmute(ok__)); + ppid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -409,7 +409,7 @@ impl FolderItem_Vtbl { let this = (*this).get_impl(); match FolderItem_Impl::Parent(this) { Ok(ok__) => { - core::ptr::write(ppid, core::mem::transmute(ok__)); + ppid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -420,7 +420,7 @@ impl FolderItem_Vtbl { let this = (*this).get_impl(); match FolderItem_Impl::Name(this) { Ok(ok__) => { - core::ptr::write(pbs, core::mem::transmute(ok__)); + pbs.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -436,7 +436,7 @@ impl FolderItem_Vtbl { let this = (*this).get_impl(); match FolderItem_Impl::Path(this) { Ok(ok__) => { - core::ptr::write(pbs, core::mem::transmute(ok__)); + pbs.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -447,7 +447,7 @@ impl FolderItem_Vtbl { let this = (*this).get_impl(); match FolderItem_Impl::GetLink(this) { Ok(ok__) => { - core::ptr::write(ppid, core::mem::transmute(ok__)); + ppid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -458,7 +458,7 @@ impl FolderItem_Vtbl { let this = (*this).get_impl(); match FolderItem_Impl::GetFolder(this) { Ok(ok__) => { - core::ptr::write(ppid, core::mem::transmute(ok__)); + ppid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -469,7 +469,7 @@ impl FolderItem_Vtbl { let this = (*this).get_impl(); match FolderItem_Impl::IsLink(this) { Ok(ok__) => { - core::ptr::write(pb, core::mem::transmute(ok__)); + pb.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -480,7 +480,7 @@ impl FolderItem_Vtbl { let this = (*this).get_impl(); match FolderItem_Impl::IsFolder(this) { Ok(ok__) => { - core::ptr::write(pb, core::mem::transmute(ok__)); + pb.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -491,7 +491,7 @@ impl FolderItem_Vtbl { let this = (*this).get_impl(); match FolderItem_Impl::IsFileSystem(this) { Ok(ok__) => { - core::ptr::write(pb, core::mem::transmute(ok__)); + pb.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -502,7 +502,7 @@ impl FolderItem_Vtbl { let this = (*this).get_impl(); match FolderItem_Impl::IsBrowsable(this) { Ok(ok__) => { - core::ptr::write(pb, core::mem::transmute(ok__)); + pb.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -513,7 +513,7 @@ impl FolderItem_Vtbl { let this = (*this).get_impl(); match FolderItem_Impl::ModifyDate(this) { Ok(ok__) => { - core::ptr::write(pdt, core::mem::transmute(ok__)); + pdt.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -529,7 +529,7 @@ impl FolderItem_Vtbl { let this = (*this).get_impl(); match FolderItem_Impl::Size(this) { Ok(ok__) => { - core::ptr::write(pul, core::mem::transmute(ok__)); + pul.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -540,7 +540,7 @@ impl FolderItem_Vtbl { let this = (*this).get_impl(); match FolderItem_Impl::Type(this) { Ok(ok__) => { - core::ptr::write(pbs, core::mem::transmute(ok__)); + pbs.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -551,7 +551,7 @@ impl FolderItem_Vtbl { let this = (*this).get_impl(); match FolderItem_Impl::Verbs(this) { Ok(ok__) => { - core::ptr::write(ppfic, core::mem::transmute(ok__)); + ppfic.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -607,7 +607,7 @@ impl FolderItem2_Vtbl { let this = (*this).get_impl(); match FolderItem2_Impl::ExtendedProperty(this, core::mem::transmute(&bstrpropname)) { Ok(ok__) => { - core::ptr::write(pvret, core::mem::transmute(ok__)); + pvret.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -640,7 +640,7 @@ impl FolderItemVerb_Vtbl { let this = (*this).get_impl(); match FolderItemVerb_Impl::Application(this) { Ok(ok__) => { - core::ptr::write(ppid, core::mem::transmute(ok__)); + ppid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -651,7 +651,7 @@ impl FolderItemVerb_Vtbl { let this = (*this).get_impl(); match FolderItemVerb_Impl::Parent(this) { Ok(ok__) => { - core::ptr::write(ppid, core::mem::transmute(ok__)); + ppid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -662,7 +662,7 @@ impl FolderItemVerb_Vtbl { let this = (*this).get_impl(); match FolderItemVerb_Impl::Name(this) { Ok(ok__) => { - core::ptr::write(pbs, core::mem::transmute(ok__)); + pbs.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -703,7 +703,7 @@ impl FolderItemVerbs_Vtbl { let this = (*this).get_impl(); match FolderItemVerbs_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(plcount, core::mem::transmute(ok__)); + plcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -714,7 +714,7 @@ impl FolderItemVerbs_Vtbl { let this = (*this).get_impl(); match FolderItemVerbs_Impl::Application(this) { Ok(ok__) => { - core::ptr::write(ppid, core::mem::transmute(ok__)); + ppid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -725,7 +725,7 @@ impl FolderItemVerbs_Vtbl { let this = (*this).get_impl(); match FolderItemVerbs_Impl::Parent(this) { Ok(ok__) => { - core::ptr::write(ppid, core::mem::transmute(ok__)); + ppid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -736,7 +736,7 @@ impl FolderItemVerbs_Vtbl { let this = (*this).get_impl(); match FolderItemVerbs_Impl::Item(this, core::mem::transmute(&index)) { Ok(ok__) => { - core::ptr::write(ppid, core::mem::transmute(ok__)); + ppid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -747,7 +747,7 @@ impl FolderItemVerbs_Vtbl { let this = (*this).get_impl(); match FolderItemVerbs_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(ppunk, core::mem::transmute(ok__)); + ppunk.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -784,7 +784,7 @@ impl FolderItems_Vtbl { let this = (*this).get_impl(); match FolderItems_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(plcount, core::mem::transmute(ok__)); + plcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -795,7 +795,7 @@ impl FolderItems_Vtbl { let this = (*this).get_impl(); match FolderItems_Impl::Application(this) { Ok(ok__) => { - core::ptr::write(ppid, core::mem::transmute(ok__)); + ppid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -806,7 +806,7 @@ impl FolderItems_Vtbl { let this = (*this).get_impl(); match FolderItems_Impl::Parent(this) { Ok(ok__) => { - core::ptr::write(ppid, core::mem::transmute(ok__)); + ppid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -817,7 +817,7 @@ impl FolderItems_Vtbl { let this = (*this).get_impl(); match FolderItems_Impl::Item(this, core::mem::transmute(&index)) { Ok(ok__) => { - core::ptr::write(ppid, core::mem::transmute(ok__)); + ppid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -828,7 +828,7 @@ impl FolderItems_Vtbl { let this = (*this).get_impl(); match FolderItems_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(ppunk, core::mem::transmute(ok__)); + ppunk.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -887,7 +887,7 @@ impl FolderItems3_Vtbl { let this = (*this).get_impl(); match FolderItems3_Impl::Verbs(this) { Ok(ok__) => { - core::ptr::write(ppfic, core::mem::transmute(ok__)); + ppfic.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -933,7 +933,7 @@ impl IACList2_Vtbl { let this = (*this).get_impl(); match IACList2_Impl::GetOptions(this) { Ok(ok__) => { - core::ptr::write(pdwflag, core::mem::transmute(ok__)); + pdwflag.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1051,7 +1051,7 @@ impl IActionProgress_Vtbl { let this = (*this).get_impl(); match IActionProgress_Impl::QueryCancel(this) { Ok(ok__) => { - core::ptr::write(pfcancelled, core::mem::transmute(ok__)); + pfcancelled.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1126,7 +1126,7 @@ impl IAppActivationUIInfo_Vtbl { let this = (*this).get_impl(); match IAppActivationUIInfo_Impl::GetMonitor(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1137,7 +1137,7 @@ impl IAppActivationUIInfo_Vtbl { let this = (*this).get_impl(); match IAppActivationUIInfo_Impl::GetInvokePoint(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1148,7 +1148,7 @@ impl IAppActivationUIInfo_Vtbl { let this = (*this).get_impl(); match IAppActivationUIInfo_Impl::GetShowCommand(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1159,7 +1159,7 @@ impl IAppActivationUIInfo_Vtbl { let this = (*this).get_impl(); match IAppActivationUIInfo_Impl::GetShowUI(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1170,7 +1170,7 @@ impl IAppActivationUIInfo_Vtbl { let this = (*this).get_impl(); match IAppActivationUIInfo_Impl::GetKeyState(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1203,7 +1203,7 @@ impl IAppPublisher_Vtbl { let this = (*this).get_impl(); match IAppPublisher_Impl::GetNumberOfCategories(this) { Ok(ok__) => { - core::ptr::write(pdwcat, core::mem::transmute(ok__)); + pdwcat.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1214,7 +1214,7 @@ impl IAppPublisher_Vtbl { let this = (*this).get_impl(); match IAppPublisher_Impl::GetCategories(this) { Ok(ok__) => { - core::ptr::write(pappcategorylist, core::mem::transmute(ok__)); + pappcategorylist.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1225,7 +1225,7 @@ impl IAppPublisher_Vtbl { let this = (*this).get_impl(); match IAppPublisher_Impl::GetNumberOfApps(this) { Ok(ok__) => { - core::ptr::write(pdwapps, core::mem::transmute(ok__)); + pdwapps.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1236,7 +1236,7 @@ impl IAppPublisher_Vtbl { let this = (*this).get_impl(); match IAppPublisher_Impl::EnumApps(this, core::mem::transmute_copy(&pappcategoryid)) { Ok(ok__) => { - core::ptr::write(ppepa, core::mem::transmute(ok__)); + ppepa.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1271,7 +1271,7 @@ impl IAppVisibility_Vtbl { let this = (*this).get_impl(); match IAppVisibility_Impl::GetAppVisibilityOnMonitor(this, core::mem::transmute_copy(&hmonitor)) { Ok(ok__) => { - core::ptr::write(pmode, core::mem::transmute(ok__)); + pmode.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1282,7 +1282,7 @@ impl IAppVisibility_Vtbl { let this = (*this).get_impl(); match IAppVisibility_Impl::IsLauncherVisible(this) { Ok(ok__) => { - core::ptr::write(pfvisible, core::mem::transmute(ok__)); + pfvisible.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1293,7 +1293,7 @@ impl IAppVisibility_Vtbl { let this = (*this).get_impl(); match IAppVisibility_Impl::Advise(this, windows_core::from_raw_borrowed(&pcallback)) { Ok(ok__) => { - core::ptr::write(pdwcookie, core::mem::transmute(ok__)); + pdwcookie.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1359,7 +1359,7 @@ impl IApplicationActivationManager_Vtbl { let this = (*this).get_impl(); match IApplicationActivationManager_Impl::ActivateApplication(this, core::mem::transmute(&appusermodelid), core::mem::transmute(&arguments), core::mem::transmute_copy(&options)) { Ok(ok__) => { - core::ptr::write(processid, core::mem::transmute(ok__)); + processid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1370,7 +1370,7 @@ impl IApplicationActivationManager_Vtbl { let this = (*this).get_impl(); match IApplicationActivationManager_Impl::ActivateForFile(this, core::mem::transmute(&appusermodelid), windows_core::from_raw_borrowed(&itemarray), core::mem::transmute(&verb)) { Ok(ok__) => { - core::ptr::write(processid, core::mem::transmute(ok__)); + processid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1381,7 +1381,7 @@ impl IApplicationActivationManager_Vtbl { let this = (*this).get_impl(); match IApplicationActivationManager_Impl::ActivateForProtocol(this, core::mem::transmute(&appusermodelid), windows_core::from_raw_borrowed(&itemarray)) { Ok(ok__) => { - core::ptr::write(processid, core::mem::transmute(ok__)); + processid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1414,7 +1414,7 @@ impl IApplicationAssociationRegistration_Vtbl { let this = (*this).get_impl(); match IApplicationAssociationRegistration_Impl::QueryCurrentDefault(this, core::mem::transmute(&pszquery), core::mem::transmute_copy(&atquerytype), core::mem::transmute_copy(&alquerylevel)) { Ok(ok__) => { - core::ptr::write(ppszassociation, core::mem::transmute(ok__)); + ppszassociation.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1425,7 +1425,7 @@ impl IApplicationAssociationRegistration_Vtbl { let this = (*this).get_impl(); match IApplicationAssociationRegistration_Impl::QueryAppIsDefault(this, core::mem::transmute(&pszquery), core::mem::transmute_copy(&atquerytype), core::mem::transmute_copy(&alquerylevel), core::mem::transmute(&pszappregistryname)) { Ok(ok__) => { - core::ptr::write(pfdefault, core::mem::transmute(ok__)); + pfdefault.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1436,7 +1436,7 @@ impl IApplicationAssociationRegistration_Vtbl { let this = (*this).get_impl(); match IApplicationAssociationRegistration_Impl::QueryAppIsDefaultAll(this, core::mem::transmute_copy(&alquerylevel), core::mem::transmute(&pszappregistryname)) { Ok(ok__) => { - core::ptr::write(pfdefault, core::mem::transmute(ok__)); + pfdefault.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1525,7 +1525,7 @@ impl IApplicationDesignModeSettings_Vtbl { let this = (*this).get_impl(); match IApplicationDesignModeSettings_Impl::ComputeApplicationSize(this) { Ok(ok__) => { - core::ptr::write(applicationsizepixels, core::mem::transmute(ok__)); + applicationsizepixels.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1536,7 +1536,7 @@ impl IApplicationDesignModeSettings_Vtbl { let this = (*this).get_impl(); match IApplicationDesignModeSettings_Impl::IsApplicationViewStateSupported(this, core::mem::transmute_copy(&viewstate), core::mem::transmute(&nativedisplaysizepixels), core::mem::transmute_copy(&scalefactor)) { Ok(ok__) => { - core::ptr::write(supported, core::mem::transmute(ok__)); + supported.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1611,7 +1611,7 @@ impl IApplicationDesignModeSettings2_Vtbl { let this = (*this).get_impl(); match IApplicationDesignModeSettings2_Impl::GetApplicationViewOrientation(this, core::mem::transmute(&applicationsizepixels)) { Ok(ok__) => { - core::ptr::write(vieworientation, core::mem::transmute(ok__)); + vieworientation.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1713,7 +1713,7 @@ impl IAssocHandler_Vtbl { let this = (*this).get_impl(); match IAssocHandler_Impl::GetName(this) { Ok(ok__) => { - core::ptr::write(ppsz, core::mem::transmute(ok__)); + ppsz.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1724,7 +1724,7 @@ impl IAssocHandler_Vtbl { let this = (*this).get_impl(); match IAssocHandler_Impl::GetUIName(this) { Ok(ok__) => { - core::ptr::write(ppsz, core::mem::transmute(ok__)); + ppsz.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1755,7 +1755,7 @@ impl IAssocHandler_Vtbl { let this = (*this).get_impl(); match IAssocHandler_Impl::CreateInvoker(this, windows_core::from_raw_borrowed(&pdo)) { Ok(ok__) => { - core::ptr::write(ppinvoker, core::mem::transmute(ok__)); + ppinvoker.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1860,7 +1860,7 @@ impl IAttachmentExecute_Vtbl { let this = (*this).get_impl(); match IAttachmentExecute_Impl::Prompt(this, core::mem::transmute_copy(&hwnd), core::mem::transmute_copy(&prompt)) { Ok(ok__) => { - core::ptr::write(paction, core::mem::transmute(ok__)); + paction.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1946,7 +1946,7 @@ impl IAutoComplete2_Vtbl { let this = (*this).get_impl(); match IAutoComplete2_Impl::GetOptions(this) { Ok(ok__) => { - core::ptr::write(pdwflag, core::mem::transmute(ok__)); + pdwflag.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2049,7 +2049,7 @@ impl IBandSite_Vtbl { let this = (*this).get_impl(); match IBandSite_Impl::EnumBands(this, core::mem::transmute_copy(&uband)) { Ok(ok__) => { - core::ptr::write(pdwbandid, core::mem::transmute(ok__)); + pdwbandid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2140,7 +2140,7 @@ impl IBanneredBar_Vtbl { let this = (*this).get_impl(); match IBanneredBar_Impl::GetIconSize(this) { Ok(ok__) => { - core::ptr::write(piicon, core::mem::transmute(ok__)); + piicon.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2156,7 +2156,7 @@ impl IBanneredBar_Vtbl { let this = (*this).get_impl(); match IBanneredBar_Impl::GetBitmap(this) { Ok(ok__) => { - core::ptr::write(phbitmap, core::mem::transmute(ok__)); + phbitmap.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2185,7 +2185,7 @@ impl IBrowserFrameOptions_Vtbl { let this = (*this).get_impl(); match IBrowserFrameOptions_Impl::GetFrameOptions(this, core::mem::transmute_copy(&dwmask)) { Ok(ok__) => { - core::ptr::write(pdwoptions, core::mem::transmute(ok__)); + pdwoptions.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2240,7 +2240,7 @@ impl IBrowserService_Vtbl { let this = (*this).get_impl(); match IBrowserService_Impl::GetParentSite(this) { Ok(ok__) => { - core::ptr::write(ppipsite, core::mem::transmute(ok__)); + ppipsite.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2261,7 +2261,7 @@ impl IBrowserService_Vtbl { let this = (*this).get_impl(); match IBrowserService_Impl::GetOleObject(this) { Ok(ok__) => { - core::ptr::write(ppobjv, core::mem::transmute(ok__)); + ppobjv.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2272,7 +2272,7 @@ impl IBrowserService_Vtbl { let this = (*this).get_impl(); match IBrowserService_Impl::GetTravelLog(this) { Ok(ok__) => { - core::ptr::write(pptl, core::mem::transmute(ok__)); + pptl.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2288,7 +2288,7 @@ impl IBrowserService_Vtbl { let this = (*this).get_impl(); match IBrowserService_Impl::IsControlWindowShown(this, core::mem::transmute_copy(&id)) { Ok(ok__) => { - core::ptr::write(pfshown, core::mem::transmute(ok__)); + pfshown.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2304,7 +2304,7 @@ impl IBrowserService_Vtbl { let this = (*this).get_impl(); match IBrowserService_Impl::IEParseDisplayName(this, core::mem::transmute_copy(&uicp), core::mem::transmute(&pwszpath)) { Ok(ok__) => { - core::ptr::write(ppidlout, core::mem::transmute(ok__)); + ppidlout.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2330,7 +2330,7 @@ impl IBrowserService_Vtbl { let this = (*this).get_impl(); match IBrowserService_Impl::GetNavigateState(this) { Ok(ok__) => { - core::ptr::write(pbnstate, core::mem::transmute(ok__)); + pbnstate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2341,7 +2341,7 @@ impl IBrowserService_Vtbl { let this = (*this).get_impl(); match IBrowserService_Impl::NotifyRedirect(this, windows_core::from_raw_borrowed(&psv), core::mem::transmute_copy(&pidl)) { Ok(ok__) => { - core::ptr::write(pfdidbrowse, core::mem::transmute(ok__)); + pfdidbrowse.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2367,7 +2367,7 @@ impl IBrowserService_Vtbl { let this = (*this).get_impl(); match IBrowserService_Impl::GetFlags(this) { Ok(ok__) => { - core::ptr::write(pdwflags, core::mem::transmute(ok__)); + pdwflags.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2383,7 +2383,7 @@ impl IBrowserService_Vtbl { let this = (*this).get_impl(); match IBrowserService_Impl::GetPidl(this) { Ok(ok__) => { - core::ptr::write(ppidl, core::mem::transmute(ok__)); + ppidl.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2404,7 +2404,7 @@ impl IBrowserService_Vtbl { let this = (*this).get_impl(); match IBrowserService_Impl::GetBrowserByIndex(this, core::mem::transmute_copy(&dwid)) { Ok(ok__) => { - core::ptr::write(ppunk, core::mem::transmute(ok__)); + ppunk.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2430,7 +2430,7 @@ impl IBrowserService_Vtbl { let this = (*this).get_impl(); match IBrowserService_Impl::GetSetCodePage(this, core::mem::transmute_copy(&pvarin)) { Ok(ok__) => { - core::ptr::write(pvarout, core::mem::transmute(ok__)); + pvarout.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2441,7 +2441,7 @@ impl IBrowserService_Vtbl { let this = (*this).get_impl(); match IBrowserService_Impl::OnHttpEquiv(this, windows_core::from_raw_borrowed(&psv), core::mem::transmute_copy(&fdone), core::mem::transmute_copy(&pvarargin)) { Ok(ok__) => { - core::ptr::write(pvarargout, core::mem::transmute(ok__)); + pvarargout.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2452,7 +2452,7 @@ impl IBrowserService_Vtbl { let this = (*this).get_impl(); match IBrowserService_Impl::GetPalette(this) { Ok(ok__) => { - core::ptr::write(hpal, core::mem::transmute(ok__)); + hpal.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2586,7 +2586,7 @@ impl IBrowserService2_Vtbl { let this = (*this).get_impl(); match IBrowserService2_Impl::GetViewRect(this) { Ok(ok__) => { - core::ptr::write(prc, core::mem::transmute(ok__)); + prc.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2642,7 +2642,7 @@ impl IBrowserService2_Vtbl { let this = (*this).get_impl(); match IBrowserService2_Impl::CreateViewWindow(this, windows_core::from_raw_borrowed(&psvnew), windows_core::from_raw_borrowed(&psvold), core::mem::transmute_copy(&prcview)) { Ok(ok__) => { - core::ptr::write(phwnd, core::mem::transmute(ok__)); + phwnd.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2658,7 +2658,7 @@ impl IBrowserService2_Vtbl { let this = (*this).get_impl(); match IBrowserService2_Impl::GetViewWindow(this) { Ok(ok__) => { - core::ptr::write(phwndview, core::mem::transmute(ok__)); + phwndview.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2669,7 +2669,7 @@ impl IBrowserService2_Vtbl { let this = (*this).get_impl(); match IBrowserService2_Impl::GetBaseBrowserData(this) { Ok(ok__) => { - core::ptr::write(pbbd, core::mem::transmute(ok__)); + pbbd.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2995,7 +2995,7 @@ impl IBrowserService3_Vtbl { let this = (*this).get_impl(); match IBrowserService3_Impl::IEParseDisplayNameEx(this, core::mem::transmute_copy(&uicp), core::mem::transmute(&pwszpath), core::mem::transmute_copy(&dwflags)) { Ok(ok__) => { - core::ptr::write(ppidlout, core::mem::transmute(ok__)); + ppidlout.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3071,7 +3071,7 @@ impl ICDBurn_Vtbl { let this = (*this).get_impl(); match ICDBurn_Impl::HasRecordableDrive(this) { Ok(ok__) => { - core::ptr::write(pfhasrecorder, core::mem::transmute(ok__)); + pfhasrecorder.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3099,7 +3099,7 @@ impl ICDBurnExt_Vtbl { let this = (*this).get_impl(); match ICDBurnExt_Impl::GetSupportedActionTypes(this) { Ok(ok__) => { - core::ptr::write(pdwactions, core::mem::transmute(ok__)); + pdwactions.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3184,7 +3184,7 @@ impl ICategoryProvider_Vtbl { let this = (*this).get_impl(); match ICategoryProvider_Impl::GetCategoryForSCID(this, core::mem::transmute_copy(&pscid)) { Ok(ok__) => { - core::ptr::write(pguid, core::mem::transmute(ok__)); + pguid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3195,7 +3195,7 @@ impl ICategoryProvider_Vtbl { let this = (*this).get_impl(); match ICategoryProvider_Impl::EnumCategories(this) { Ok(ok__) => { - core::ptr::write(penum, core::mem::transmute(ok__)); + penum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3253,7 +3253,7 @@ impl IColumnManager_Vtbl { let this = (*this).get_impl(); match IColumnManager_Impl::GetColumnCount(this, core::mem::transmute_copy(&dwflags)) { Ok(ok__) => { - core::ptr::write(pucount, core::mem::transmute(ok__)); + pucount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3308,7 +3308,7 @@ impl IColumnProvider_Vtbl { let this = (*this).get_impl(); match IColumnProvider_Impl::GetItemData(this, core::mem::transmute_copy(&pscid), core::mem::transmute_copy(&pscd)) { Ok(ok__) => { - core::ptr::write(pvardata, core::mem::transmute(ok__)); + pvardata.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3388,7 +3388,7 @@ impl ICommDlgBrowser2_Vtbl { let this = (*this).get_impl(); match ICommDlgBrowser2_Impl::GetViewFlags(this) { Ok(ok__) => { - core::ptr::write(pdwflags, core::mem::transmute(ok__)); + pdwflags.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3671,7 +3671,7 @@ impl ICreateProcessInputs_Vtbl { let this = (*this).get_impl(); match ICreateProcessInputs_Impl::GetCreateFlags(this) { Ok(ok__) => { - core::ptr::write(pdwcreationflags, core::mem::transmute(ok__)); + pdwcreationflags.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3777,7 +3777,7 @@ impl ICredentialProvider_Vtbl { let this = (*this).get_impl(); match ICredentialProvider_Impl::GetFieldDescriptorCount(this) { Ok(ok__) => { - core::ptr::write(pdwcount, core::mem::transmute(ok__)); + pdwcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3788,7 +3788,7 @@ impl ICredentialProvider_Vtbl { let this = (*this).get_impl(); match ICredentialProvider_Impl::GetFieldDescriptorAt(this, core::mem::transmute_copy(&dwindex)) { Ok(ok__) => { - core::ptr::write(ppcpfd, core::mem::transmute(ok__)); + ppcpfd.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3804,7 +3804,7 @@ impl ICredentialProvider_Vtbl { let this = (*this).get_impl(); match ICredentialProvider_Impl::GetCredentialAt(this, core::mem::transmute_copy(&dwindex)) { Ok(ok__) => { - core::ptr::write(ppcpc, core::mem::transmute(ok__)); + ppcpc.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3866,7 +3866,7 @@ impl ICredentialProviderCredential_Vtbl { let this = (*this).get_impl(); match ICredentialProviderCredential_Impl::SetSelected(this) { Ok(ok__) => { - core::ptr::write(pbautologon, core::mem::transmute(ok__)); + pbautologon.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3887,7 +3887,7 @@ impl ICredentialProviderCredential_Vtbl { let this = (*this).get_impl(); match ICredentialProviderCredential_Impl::GetStringValue(this, core::mem::transmute_copy(&dwfieldid)) { Ok(ok__) => { - core::ptr::write(ppsz, core::mem::transmute(ok__)); + ppsz.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3898,7 +3898,7 @@ impl ICredentialProviderCredential_Vtbl { let this = (*this).get_impl(); match ICredentialProviderCredential_Impl::GetBitmapValue(this, core::mem::transmute_copy(&dwfieldid)) { Ok(ok__) => { - core::ptr::write(phbmp, core::mem::transmute(ok__)); + phbmp.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3914,7 +3914,7 @@ impl ICredentialProviderCredential_Vtbl { let this = (*this).get_impl(); match ICredentialProviderCredential_Impl::GetSubmitButtonValue(this, core::mem::transmute_copy(&dwfieldid)) { Ok(ok__) => { - core::ptr::write(pdwadjacentto, core::mem::transmute(ok__)); + pdwadjacentto.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3930,7 +3930,7 @@ impl ICredentialProviderCredential_Vtbl { let this = (*this).get_impl(); match ICredentialProviderCredential_Impl::GetComboBoxValueAt(this, core::mem::transmute_copy(&dwfieldid), core::mem::transmute_copy(&dwitem)) { Ok(ok__) => { - core::ptr::write(ppszitem, core::mem::transmute(ok__)); + ppszitem.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4005,7 +4005,7 @@ impl ICredentialProviderCredential2_Vtbl { let this = (*this).get_impl(); match ICredentialProviderCredential2_Impl::GetUserSid(this) { Ok(ok__) => { - core::ptr::write(sid, core::mem::transmute(ok__)); + sid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4085,7 +4085,7 @@ impl ICredentialProviderCredentialEvents_Vtbl { let this = (*this).get_impl(); match ICredentialProviderCredentialEvents_Impl::OnCreatingWindow(this) { Ok(ok__) => { - core::ptr::write(phwndowner, core::mem::transmute(ok__)); + phwndowner.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4157,7 +4157,7 @@ impl ICredentialProviderCredentialWithFieldOptions_Vtbl { let this = (*this).get_impl(); match ICredentialProviderCredentialWithFieldOptions_Impl::GetFieldOptions(this, core::mem::transmute_copy(&fieldid)) { Ok(ok__) => { - core::ptr::write(options, core::mem::transmute(ok__)); + options.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4247,7 +4247,7 @@ impl ICredentialProviderUser_Vtbl { let this = (*this).get_impl(); match ICredentialProviderUser_Impl::GetSid(this) { Ok(ok__) => { - core::ptr::write(sid, core::mem::transmute(ok__)); + sid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4258,7 +4258,7 @@ impl ICredentialProviderUser_Vtbl { let this = (*this).get_impl(); match ICredentialProviderUser_Impl::GetProviderID(this) { Ok(ok__) => { - core::ptr::write(providerid, core::mem::transmute(ok__)); + providerid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4269,7 +4269,7 @@ impl ICredentialProviderUser_Vtbl { let this = (*this).get_impl(); match ICredentialProviderUser_Impl::GetStringValue(this, core::mem::transmute_copy(&key)) { Ok(ok__) => { - core::ptr::write(stringvalue, core::mem::transmute(ok__)); + stringvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4280,7 +4280,7 @@ impl ICredentialProviderUser_Vtbl { let this = (*this).get_impl(); match ICredentialProviderUser_Impl::GetValue(this, core::mem::transmute_copy(&key)) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4317,7 +4317,7 @@ impl ICredentialProviderUserArray_Vtbl { let this = (*this).get_impl(); match ICredentialProviderUserArray_Impl::GetAccountOptions(this) { Ok(ok__) => { - core::ptr::write(credentialprovideraccountoptions, core::mem::transmute(ok__)); + credentialprovideraccountoptions.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4328,7 +4328,7 @@ impl ICredentialProviderUserArray_Vtbl { let this = (*this).get_impl(); match ICredentialProviderUserArray_Impl::GetCount(this) { Ok(ok__) => { - core::ptr::write(usercount, core::mem::transmute(ok__)); + usercount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4339,7 +4339,7 @@ impl ICredentialProviderUserArray_Vtbl { let this = (*this).get_impl(); match ICredentialProviderUserArray_Impl::GetAt(this, core::mem::transmute_copy(&userindex)) { Ok(ok__) => { - core::ptr::write(user, core::mem::transmute(ok__)); + user.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4499,7 +4499,7 @@ impl IDataObjectAsyncCapability_Vtbl { let this = (*this).get_impl(); match IDataObjectAsyncCapability_Impl::GetAsyncMode(this) { Ok(ok__) => { - core::ptr::write(pfisopasync, core::mem::transmute(ok__)); + pfisopasync.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4515,7 +4515,7 @@ impl IDataObjectAsyncCapability_Vtbl { let this = (*this).get_impl(); match IDataObjectAsyncCapability_Impl::InOperation(this) { Ok(ok__) => { - core::ptr::write(pfinasyncop, core::mem::transmute(ok__)); + pfinasyncop.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4554,7 +4554,7 @@ impl IDataObjectProvider_Vtbl { let this = (*this).get_impl(); match IDataObjectProvider_Impl::GetDataObject(this) { Ok(ok__) => { - core::ptr::write(dataobject, core::mem::transmute(ok__)); + dataobject.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4687,7 +4687,7 @@ impl IDefaultFolderMenuInitialize_Vtbl { let this = (*this).get_impl(); match IDefaultFolderMenuInitialize_Impl::GetMenuRestrictions(this, core::mem::transmute_copy(&dfmrmask)) { Ok(ok__) => { - core::ptr::write(pdfmrvalues, core::mem::transmute(ok__)); + pdfmrvalues.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4779,7 +4779,7 @@ impl IDeskBand2_Vtbl { let this = (*this).get_impl(); match IDeskBand2_Impl::CanRenderComposited(this) { Ok(ok__) => { - core::ptr::write(pfcanrendercomposited, core::mem::transmute(ok__)); + pfcanrendercomposited.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4795,7 +4795,7 @@ impl IDeskBand2_Vtbl { let this = (*this).get_impl(); match IDeskBand2_Impl::GetCompositionState(this) { Ok(ok__) => { - core::ptr::write(pfcompositionenabled, core::mem::transmute(ok__)); + pfcompositionenabled.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4823,7 +4823,7 @@ impl IDeskBandInfo_Vtbl { let this = (*this).get_impl(); match IDeskBandInfo_Impl::GetDefaultBandWidth(this, core::mem::transmute_copy(&dwbandid), core::mem::transmute_copy(&dwviewmode)) { Ok(ok__) => { - core::ptr::write(pnwidth, core::mem::transmute(ok__)); + pnwidth.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4856,7 +4856,7 @@ impl IDeskBar_Vtbl { let this = (*this).get_impl(); match IDeskBar_Impl::GetClient(this) { Ok(ok__) => { - core::ptr::write(ppunkclient, core::mem::transmute(ok__)); + ppunkclient.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4910,7 +4910,7 @@ impl IDeskBarClient_Vtbl { let this = (*this).get_impl(); match IDeskBarClient_Impl::GetSize(this, core::mem::transmute_copy(&dwwhich)) { Ok(ok__) => { - core::ptr::write(prc, core::mem::transmute(ok__)); + prc.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4976,7 +4976,7 @@ impl IDesktopWallpaper_Vtbl { let this = (*this).get_impl(); match IDesktopWallpaper_Impl::GetWallpaper(this, core::mem::transmute(&monitorid)) { Ok(ok__) => { - core::ptr::write(wallpaper, core::mem::transmute(ok__)); + wallpaper.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4987,7 +4987,7 @@ impl IDesktopWallpaper_Vtbl { let this = (*this).get_impl(); match IDesktopWallpaper_Impl::GetMonitorDevicePathAt(this, core::mem::transmute_copy(&monitorindex)) { Ok(ok__) => { - core::ptr::write(monitorid, core::mem::transmute(ok__)); + monitorid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4998,7 +4998,7 @@ impl IDesktopWallpaper_Vtbl { let this = (*this).get_impl(); match IDesktopWallpaper_Impl::GetMonitorDevicePathCount(this) { Ok(ok__) => { - core::ptr::write(count, core::mem::transmute(ok__)); + count.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5009,7 +5009,7 @@ impl IDesktopWallpaper_Vtbl { let this = (*this).get_impl(); match IDesktopWallpaper_Impl::GetMonitorRECT(this, core::mem::transmute(&monitorid)) { Ok(ok__) => { - core::ptr::write(displayrect, core::mem::transmute(ok__)); + displayrect.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5025,7 +5025,7 @@ impl IDesktopWallpaper_Vtbl { let this = (*this).get_impl(); match IDesktopWallpaper_Impl::GetBackgroundColor(this) { Ok(ok__) => { - core::ptr::write(color, core::mem::transmute(ok__)); + color.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5041,7 +5041,7 @@ impl IDesktopWallpaper_Vtbl { let this = (*this).get_impl(); match IDesktopWallpaper_Impl::GetPosition(this) { Ok(ok__) => { - core::ptr::write(position, core::mem::transmute(ok__)); + position.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5057,7 +5057,7 @@ impl IDesktopWallpaper_Vtbl { let this = (*this).get_impl(); match IDesktopWallpaper_Impl::GetSlideshow(this) { Ok(ok__) => { - core::ptr::write(items, core::mem::transmute(ok__)); + items.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5083,7 +5083,7 @@ impl IDesktopWallpaper_Vtbl { let this = (*this).get_impl(); match IDesktopWallpaper_Impl::GetStatus(this) { Ok(ok__) => { - core::ptr::write(state, core::mem::transmute(ok__)); + state.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5132,7 +5132,7 @@ impl IDestinationStreamFactory_Vtbl { let this = (*this).get_impl(); match IDestinationStreamFactory_Impl::GetDestinationStream(this) { Ok(ok__) => { - core::ptr::write(ppstm, core::mem::transmute(ok__)); + ppstm.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5264,7 +5264,7 @@ impl IDockingWindowSite_Vtbl { let this = (*this).get_impl(); match IDockingWindowSite_Impl::GetBorderDW(this, windows_core::from_raw_borrowed(&punkobj)) { Ok(ok__) => { - core::ptr::write(prcborder, core::mem::transmute(ok__)); + prcborder.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5403,7 +5403,7 @@ impl IDynamicHWHandler_Vtbl { let this = (*this).get_impl(); match IDynamicHWHandler_Impl::GetDynamicInfo(this, core::mem::transmute(&pszdeviceid), core::mem::transmute_copy(&dwcontenttype)) { Ok(ok__) => { - core::ptr::write(ppszaction, core::mem::transmute(ok__)); + ppszaction.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5441,7 +5441,7 @@ impl IEnumACString_Vtbl { let this = (*this).get_impl(); match IEnumACString_Impl::GetEnumOptions(this) { Ok(ok__) => { - core::ptr::write(pdwoptions, core::mem::transmute(ok__)); + pdwoptions.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5504,7 +5504,7 @@ impl IEnumExplorerCommand_Vtbl { let this = (*this).get_impl(); match IEnumExplorerCommand_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5551,7 +5551,7 @@ impl IEnumExtraSearch_Vtbl { let this = (*this).get_impl(); match IEnumExtraSearch_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5601,7 +5601,7 @@ impl IEnumFullIDList_Vtbl { let this = (*this).get_impl(); match IEnumFullIDList_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5648,7 +5648,7 @@ impl IEnumHLITEM_Vtbl { let this = (*this).get_impl(); match IEnumHLITEM_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppienumhlitem, core::mem::transmute(ok__)); + ppienumhlitem.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5739,7 +5739,7 @@ impl IEnumObjects_Vtbl { let this = (*this).get_impl(); match IEnumObjects_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5769,7 +5769,7 @@ impl IEnumPublishedApps_Vtbl { let this = (*this).get_impl(); match IEnumPublishedApps_Impl::Next(this) { Ok(ok__) => { - core::ptr::write(pia, core::mem::transmute(ok__)); + pia.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5832,7 +5832,7 @@ impl IEnumResources_Vtbl { let this = (*this).get_impl(); match IEnumResources_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppenumr, core::mem::transmute(ok__)); + ppenumr.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5879,7 +5879,7 @@ impl IEnumShellItems_Vtbl { let this = (*this).get_impl(); match IEnumShellItems_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5926,7 +5926,7 @@ impl IEnumSyncMgrConflict_Vtbl { let this = (*this).get_impl(); match IEnumSyncMgrConflict_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5973,7 +5973,7 @@ impl IEnumSyncMgrEvents_Vtbl { let this = (*this).get_impl(); match IEnumSyncMgrEvents_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6020,7 +6020,7 @@ impl IEnumSyncMgrSyncItems_Vtbl { let this = (*this).get_impl(); match IEnumSyncMgrSyncItems_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6067,7 +6067,7 @@ impl IEnumTravelLogEntry_Vtbl { let this = (*this).get_impl(); match IEnumTravelLogEntry_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6105,7 +6105,7 @@ impl IEnumerableView_Vtbl { let this = (*this).get_impl(); match IEnumerableView_Impl::CreateEnumIDListFromContents(this, core::mem::transmute_copy(&pidlfolder), core::mem::transmute_copy(&dwenumflags)) { Ok(ok__) => { - core::ptr::write(ppenumidlist, core::mem::transmute(ok__)); + ppenumidlist.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6194,7 +6194,7 @@ impl IExecuteCommandApplicationHostEnvironment_Vtbl { let this = (*this).get_impl(); match IExecuteCommandApplicationHostEnvironment_Impl::GetValue(this) { Ok(ok__) => { - core::ptr::write(pahe, core::mem::transmute(ok__)); + pahe.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6217,7 +6217,7 @@ impl IExecuteCommandHost_Vtbl { let this = (*this).get_impl(); match IExecuteCommandHost_Impl::GetUIMode(this) { Ok(ok__) => { - core::ptr::write(puimode, core::mem::transmute(ok__)); + puimode.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6245,7 +6245,7 @@ impl IExpDispSupport_Vtbl { let this = (*this).get_impl(); match IExpDispSupport_Impl::FindConnectionPoint(this, core::mem::transmute_copy(&riid)) { Ok(ok__) => { - core::ptr::write(ppccp, core::mem::transmute(ok__)); + ppccp.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6288,7 +6288,7 @@ impl IExpDispSupportXP_Vtbl { let this = (*this).get_impl(); match IExpDispSupportXP_Impl::FindCIE4ConnectionPoint(this, core::mem::transmute_copy(&riid)) { Ok(ok__) => { - core::ptr::write(ppccp, core::mem::transmute(ok__)); + ppccp.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6373,7 +6373,7 @@ impl IExplorerBrowser_Vtbl { let this = (*this).get_impl(); match IExplorerBrowser_Impl::Advise(this, windows_core::from_raw_borrowed(&psbe)) { Ok(ok__) => { - core::ptr::write(pdwcookie, core::mem::transmute(ok__)); + pdwcookie.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6394,7 +6394,7 @@ impl IExplorerBrowser_Vtbl { let this = (*this).get_impl(); match IExplorerBrowser_Impl::GetOptions(this) { Ok(ok__) => { - core::ptr::write(pdwflag, core::mem::transmute(ok__)); + pdwflag.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6513,7 +6513,7 @@ impl IExplorerCommand_Vtbl { let this = (*this).get_impl(); match IExplorerCommand_Impl::GetTitle(this, windows_core::from_raw_borrowed(&psiitemarray)) { Ok(ok__) => { - core::ptr::write(ppszname, core::mem::transmute(ok__)); + ppszname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6524,7 +6524,7 @@ impl IExplorerCommand_Vtbl { let this = (*this).get_impl(); match IExplorerCommand_Impl::GetIcon(this, windows_core::from_raw_borrowed(&psiitemarray)) { Ok(ok__) => { - core::ptr::write(ppszicon, core::mem::transmute(ok__)); + ppszicon.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6535,7 +6535,7 @@ impl IExplorerCommand_Vtbl { let this = (*this).get_impl(); match IExplorerCommand_Impl::GetToolTip(this, windows_core::from_raw_borrowed(&psiitemarray)) { Ok(ok__) => { - core::ptr::write(ppszinfotip, core::mem::transmute(ok__)); + ppszinfotip.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6546,7 +6546,7 @@ impl IExplorerCommand_Vtbl { let this = (*this).get_impl(); match IExplorerCommand_Impl::GetCanonicalName(this) { Ok(ok__) => { - core::ptr::write(pguidcommandname, core::mem::transmute(ok__)); + pguidcommandname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6557,7 +6557,7 @@ impl IExplorerCommand_Vtbl { let this = (*this).get_impl(); match IExplorerCommand_Impl::GetState(this, windows_core::from_raw_borrowed(&psiitemarray), core::mem::transmute_copy(&foktobeslow)) { Ok(ok__) => { - core::ptr::write(pcmdstate, core::mem::transmute(ok__)); + pcmdstate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6573,7 +6573,7 @@ impl IExplorerCommand_Vtbl { let this = (*this).get_impl(); match IExplorerCommand_Impl::GetFlags(this) { Ok(ok__) => { - core::ptr::write(pflags, core::mem::transmute(ok__)); + pflags.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6584,7 +6584,7 @@ impl IExplorerCommand_Vtbl { let this = (*this).get_impl(); match IExplorerCommand_Impl::EnumSubCommands(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6644,7 +6644,7 @@ impl IExplorerCommandState_Vtbl { let this = (*this).get_impl(); match IExplorerCommandState_Impl::GetState(this, windows_core::from_raw_borrowed(&psiitemarray), core::mem::transmute_copy(&foktobeslow)) { Ok(ok__) => { - core::ptr::write(pcmdstate, core::mem::transmute(ok__)); + pcmdstate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6667,7 +6667,7 @@ impl IExplorerPaneVisibility_Vtbl { let this = (*this).get_impl(); match IExplorerPaneVisibility_Impl::GetPaneState(this, core::mem::transmute_copy(&ep)) { Ok(ok__) => { - core::ptr::write(peps, core::mem::transmute(ok__)); + peps.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6786,7 +6786,7 @@ impl IExtractImage_Vtbl { let this = (*this).get_impl(); match IExtractImage_Impl::Extract(this) { Ok(ok__) => { - core::ptr::write(phbmpthumbnail, core::mem::transmute(ok__)); + phbmpthumbnail.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6816,7 +6816,7 @@ impl IExtractImage2_Vtbl { let this = (*this).get_impl(); match IExtractImage2_Impl::GetDateStamp(this) { Ok(ok__) => { - core::ptr::write(pdatestamp, core::mem::transmute(ok__)); + pdatestamp.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6874,7 +6874,7 @@ impl IFileDialog_Vtbl { let this = (*this).get_impl(); match IFileDialog_Impl::GetFileTypeIndex(this) { Ok(ok__) => { - core::ptr::write(pifiletype, core::mem::transmute(ok__)); + pifiletype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6885,7 +6885,7 @@ impl IFileDialog_Vtbl { let this = (*this).get_impl(); match IFileDialog_Impl::Advise(this, windows_core::from_raw_borrowed(&pfde)) { Ok(ok__) => { - core::ptr::write(pdwcookie, core::mem::transmute(ok__)); + pdwcookie.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6906,7 +6906,7 @@ impl IFileDialog_Vtbl { let this = (*this).get_impl(); match IFileDialog_Impl::GetOptions(this) { Ok(ok__) => { - core::ptr::write(pfos, core::mem::transmute(ok__)); + pfos.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6927,7 +6927,7 @@ impl IFileDialog_Vtbl { let this = (*this).get_impl(); match IFileDialog_Impl::GetFolder(this) { Ok(ok__) => { - core::ptr::write(ppsi, core::mem::transmute(ok__)); + ppsi.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6938,7 +6938,7 @@ impl IFileDialog_Vtbl { let this = (*this).get_impl(); match IFileDialog_Impl::GetCurrentSelection(this) { Ok(ok__) => { - core::ptr::write(ppsi, core::mem::transmute(ok__)); + ppsi.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6954,7 +6954,7 @@ impl IFileDialog_Vtbl { let this = (*this).get_impl(); match IFileDialog_Impl::GetFileName(this) { Ok(ok__) => { - core::ptr::write(pszname, core::mem::transmute(ok__)); + pszname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6980,7 +6980,7 @@ impl IFileDialog_Vtbl { let this = (*this).get_impl(); match IFileDialog_Impl::GetResult(this) { Ok(ok__) => { - core::ptr::write(ppsi, core::mem::transmute(ok__)); + ppsi.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7205,7 +7205,7 @@ impl IFileDialogCustomize_Vtbl { let this = (*this).get_impl(); match IFileDialogCustomize_Impl::GetControlState(this, core::mem::transmute_copy(&dwidctl)) { Ok(ok__) => { - core::ptr::write(pdwstate, core::mem::transmute(ok__)); + pdwstate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7221,7 +7221,7 @@ impl IFileDialogCustomize_Vtbl { let this = (*this).get_impl(); match IFileDialogCustomize_Impl::GetEditBoxText(this, core::mem::transmute_copy(&dwidctl)) { Ok(ok__) => { - core::ptr::write(ppsztext, core::mem::transmute(ok__)); + ppsztext.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7237,7 +7237,7 @@ impl IFileDialogCustomize_Vtbl { let this = (*this).get_impl(); match IFileDialogCustomize_Impl::GetCheckButtonState(this, core::mem::transmute_copy(&dwidctl)) { Ok(ok__) => { - core::ptr::write(pbchecked, core::mem::transmute(ok__)); + pbchecked.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7268,7 +7268,7 @@ impl IFileDialogCustomize_Vtbl { let this = (*this).get_impl(); match IFileDialogCustomize_Impl::GetControlItemState(this, core::mem::transmute_copy(&dwidctl), core::mem::transmute_copy(&dwiditem)) { Ok(ok__) => { - core::ptr::write(pdwstate, core::mem::transmute(ok__)); + pdwstate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7284,7 +7284,7 @@ impl IFileDialogCustomize_Vtbl { let this = (*this).get_impl(); match IFileDialogCustomize_Impl::GetSelectedControlItem(this, core::mem::transmute_copy(&dwidctl)) { Ok(ok__) => { - core::ptr::write(pdwiditem, core::mem::transmute(ok__)); + pdwiditem.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7387,7 +7387,7 @@ impl IFileDialogEvents_Vtbl { let this = (*this).get_impl(); match IFileDialogEvents_Impl::OnShareViolation(this, windows_core::from_raw_borrowed(&pfd), windows_core::from_raw_borrowed(&psi)) { Ok(ok__) => { - core::ptr::write(presponse, core::mem::transmute(ok__)); + presponse.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7403,7 +7403,7 @@ impl IFileDialogEvents_Vtbl { let this = (*this).get_impl(); match IFileDialogEvents_Impl::OnOverwrite(this, windows_core::from_raw_borrowed(&pfd), windows_core::from_raw_borrowed(&psi)) { Ok(ok__) => { - core::ptr::write(presponse, core::mem::transmute(ok__)); + presponse.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7439,7 +7439,7 @@ impl IFileIsInUse_Vtbl { let this = (*this).get_impl(); match IFileIsInUse_Impl::GetAppName(this) { Ok(ok__) => { - core::ptr::write(ppszname, core::mem::transmute(ok__)); + ppszname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7450,7 +7450,7 @@ impl IFileIsInUse_Vtbl { let this = (*this).get_impl(); match IFileIsInUse_Impl::GetUsage(this) { Ok(ok__) => { - core::ptr::write(pfut, core::mem::transmute(ok__)); + pfut.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7461,7 +7461,7 @@ impl IFileIsInUse_Vtbl { let this = (*this).get_impl(); match IFileIsInUse_Impl::GetCapabilities(this) { Ok(ok__) => { - core::ptr::write(pdwcapflags, core::mem::transmute(ok__)); + pdwcapflags.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7472,7 +7472,7 @@ impl IFileIsInUse_Vtbl { let this = (*this).get_impl(); match IFileIsInUse_Impl::GetSwitchToHWND(this) { Ok(ok__) => { - core::ptr::write(phwnd, core::mem::transmute(ok__)); + phwnd.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7511,7 +7511,7 @@ impl IFileOpenDialog_Vtbl { let this = (*this).get_impl(); match IFileOpenDialog_Impl::GetResults(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7522,7 +7522,7 @@ impl IFileOpenDialog_Vtbl { let this = (*this).get_impl(); match IFileOpenDialog_Impl::GetSelectedItems(this) { Ok(ok__) => { - core::ptr::write(ppsai, core::mem::transmute(ok__)); + ppsai.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7571,7 +7571,7 @@ impl IFileOperation_Vtbl { let this = (*this).get_impl(); match IFileOperation_Impl::Advise(this, windows_core::from_raw_borrowed(&pfops)) { Ok(ok__) => { - core::ptr::write(pdwcookie, core::mem::transmute(ok__)); + pdwcookie.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7672,7 +7672,7 @@ impl IFileOperation_Vtbl { let this = (*this).get_impl(); match IFileOperation_Impl::GetAnyOperationsAborted(this) { Ok(ok__) => { - core::ptr::write(pfanyoperationsaborted, core::mem::transmute(ok__)); + pfanyoperationsaborted.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7884,7 +7884,7 @@ impl IFileSaveDialog_Vtbl { let this = (*this).get_impl(); match IFileSaveDialog_Impl::GetProperties(this) { Ok(ok__) => { - core::ptr::write(ppstore, core::mem::transmute(ok__)); + ppstore.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7936,7 +7936,7 @@ impl IFileSearchBand_Vtbl { let this = (*this).get_impl(); match IFileSearchBand_Impl::SearchID(this) { Ok(ok__) => { - core::ptr::write(pbstrsearchid, core::mem::transmute(ok__)); + pbstrsearchid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7947,7 +7947,7 @@ impl IFileSearchBand_Vtbl { let this = (*this).get_impl(); match IFileSearchBand_Impl::Scope(this) { Ok(ok__) => { - core::ptr::write(pvarscope, core::mem::transmute(ok__)); + pvarscope.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7958,7 +7958,7 @@ impl IFileSearchBand_Vtbl { let this = (*this).get_impl(); match IFileSearchBand_Impl::QueryFile(this) { Ok(ok__) => { - core::ptr::write(pvarfile, core::mem::transmute(ok__)); + pvarfile.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7992,7 +7992,7 @@ impl IFileSyncMergeHandler_Vtbl { let this = (*this).get_impl(); match IFileSyncMergeHandler_Impl::Merge(this, core::mem::transmute(&localfilepath), core::mem::transmute(&serverfilepath)) { Ok(ok__) => { - core::ptr::write(updatestatus, core::mem::transmute(ok__)); + updatestatus.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8065,7 +8065,7 @@ impl IFileSystemBindData2_Vtbl { let this = (*this).get_impl(); match IFileSystemBindData2_Impl::GetFileID(this) { Ok(ok__) => { - core::ptr::write(plifileid, core::mem::transmute(ok__)); + plifileid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8081,7 +8081,7 @@ impl IFileSystemBindData2_Vtbl { let this = (*this).get_impl(); match IFileSystemBindData2_Impl::GetJunctionCLSID(this) { Ok(ok__) => { - core::ptr::write(pclsid, core::mem::transmute(ok__)); + pclsid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8214,7 +8214,7 @@ impl IFolderView_Vtbl { let this = (*this).get_impl(); match IFolderView_Impl::GetCurrentViewMode(this) { Ok(ok__) => { - core::ptr::write(pviewmode, core::mem::transmute(ok__)); + pviewmode.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8235,7 +8235,7 @@ impl IFolderView_Vtbl { let this = (*this).get_impl(); match IFolderView_Impl::Item(this, core::mem::transmute_copy(&iitemindex)) { Ok(ok__) => { - core::ptr::write(ppidl, core::mem::transmute(ok__)); + ppidl.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8246,7 +8246,7 @@ impl IFolderView_Vtbl { let this = (*this).get_impl(); match IFolderView_Impl::ItemCount(this, core::mem::transmute(&uflags)) { Ok(ok__) => { - core::ptr::write(pcitems, core::mem::transmute(ok__)); + pcitems.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8262,7 +8262,7 @@ impl IFolderView_Vtbl { let this = (*this).get_impl(); match IFolderView_Impl::GetSelectionMarkedItem(this) { Ok(ok__) => { - core::ptr::write(piitem, core::mem::transmute(ok__)); + piitem.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8273,7 +8273,7 @@ impl IFolderView_Vtbl { let this = (*this).get_impl(); match IFolderView_Impl::GetFocusedItem(this) { Ok(ok__) => { - core::ptr::write(piitem, core::mem::transmute(ok__)); + piitem.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8284,7 +8284,7 @@ impl IFolderView_Vtbl { let this = (*this).get_impl(); match IFolderView_Impl::GetItemPosition(this, core::mem::transmute_copy(&pidl)) { Ok(ok__) => { - core::ptr::write(ppt, core::mem::transmute(ok__)); + ppt.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8300,7 +8300,7 @@ impl IFolderView_Vtbl { let this = (*this).get_impl(); match IFolderView_Impl::GetDefaultSpacing(this) { Ok(ok__) => { - core::ptr::write(ppt, core::mem::transmute(ok__)); + ppt.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8396,7 +8396,7 @@ impl IFolderView2_Vtbl { let this = (*this).get_impl(); match IFolderView2_Impl::GetViewProperty(this, core::mem::transmute_copy(&pidl), core::mem::transmute_copy(&propkey)) { Ok(ok__) => { - core::ptr::write(ppropvar, core::mem::transmute(ok__)); + ppropvar.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8427,7 +8427,7 @@ impl IFolderView2_Vtbl { let this = (*this).get_impl(); match IFolderView2_Impl::GetCurrentFolderFlags(this) { Ok(ok__) => { - core::ptr::write(pdwflags, core::mem::transmute(ok__)); + pdwflags.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8438,7 +8438,7 @@ impl IFolderView2_Vtbl { let this = (*this).get_impl(); match IFolderView2_Impl::GetSortColumnCount(this) { Ok(ok__) => { - core::ptr::write(pccolumns, core::mem::transmute(ok__)); + pccolumns.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8464,7 +8464,7 @@ impl IFolderView2_Vtbl { let this = (*this).get_impl(); match IFolderView2_Impl::GetVisibleItem(this, core::mem::transmute_copy(&istart), core::mem::transmute_copy(&fprevious)) { Ok(ok__) => { - core::ptr::write(piitem, core::mem::transmute(ok__)); + piitem.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8475,7 +8475,7 @@ impl IFolderView2_Vtbl { let this = (*this).get_impl(); match IFolderView2_Impl::GetSelectedItem(this, core::mem::transmute_copy(&istart)) { Ok(ok__) => { - core::ptr::write(piitem, core::mem::transmute(ok__)); + piitem.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8486,7 +8486,7 @@ impl IFolderView2_Vtbl { let this = (*this).get_impl(); match IFolderView2_Impl::GetSelection(this, core::mem::transmute_copy(&fnoneimpliesfolder)) { Ok(ok__) => { - core::ptr::write(ppsia, core::mem::transmute(ok__)); + ppsia.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8497,7 +8497,7 @@ impl IFolderView2_Vtbl { let this = (*this).get_impl(); match IFolderView2_Impl::GetSelectionState(this, core::mem::transmute_copy(&pidl)) { Ok(ok__) => { - core::ptr::write(pdwflags, core::mem::transmute(ok__)); + pdwflags.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8528,7 +8528,7 @@ impl IFolderView2_Vtbl { let this = (*this).get_impl(); match IFolderView2_Impl::GetGroupSubsetCount(this) { Ok(ok__) => { - core::ptr::write(pcvisiblerows, core::mem::transmute(ok__)); + pcvisiblerows.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8639,7 +8639,7 @@ impl IFolderViewOptions_Vtbl { let this = (*this).get_impl(); match IFolderViewOptions_Impl::GetFolderViewOptions(this) { Ok(ok__) => { - core::ptr::write(pfvoflags, core::mem::transmute(ok__)); + pfvoflags.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8685,7 +8685,7 @@ impl IFolderViewSettings_Vtbl { let this = (*this).get_impl(); match IFolderViewSettings_Impl::GetViewMode(this) { Ok(ok__) => { - core::ptr::write(plvm, core::mem::transmute(ok__)); + plvm.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8696,7 +8696,7 @@ impl IFolderViewSettings_Vtbl { let this = (*this).get_impl(); match IFolderViewSettings_Impl::GetIconSize(this) { Ok(ok__) => { - core::ptr::write(puiconsize, core::mem::transmute(ok__)); + puiconsize.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8717,7 +8717,7 @@ impl IFolderViewSettings_Vtbl { let this = (*this).get_impl(); match IFolderViewSettings_Impl::GetGroupSubsetCount(this) { Ok(ok__) => { - core::ptr::write(pcvisiblerows, core::mem::transmute(ok__)); + pcvisiblerows.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8752,7 +8752,7 @@ impl IFrameworkInputPane_Vtbl { let this = (*this).get_impl(); match IFrameworkInputPane_Impl::Advise(this, windows_core::from_raw_borrowed(&pwindow), windows_core::from_raw_borrowed(&phandler)) { Ok(ok__) => { - core::ptr::write(pdwcookie, core::mem::transmute(ok__)); + pdwcookie.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8763,7 +8763,7 @@ impl IFrameworkInputPane_Vtbl { let this = (*this).get_impl(); match IFrameworkInputPane_Impl::AdviseWithHWND(this, core::mem::transmute_copy(&hwnd), windows_core::from_raw_borrowed(&phandler)) { Ok(ok__) => { - core::ptr::write(pdwcookie, core::mem::transmute(ok__)); + pdwcookie.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8779,7 +8779,7 @@ impl IFrameworkInputPane_Vtbl { let this = (*this).get_impl(); match IFrameworkInputPane_Impl::Location(this) { Ok(ok__) => { - core::ptr::write(prcinputpanescreenlocation, core::mem::transmute(ok__)); + prcinputpanescreenlocation.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8938,7 +8938,7 @@ impl IHandlerInfo_Vtbl { let this = (*this).get_impl(); match IHandlerInfo_Impl::GetApplicationDisplayName(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8949,7 +8949,7 @@ impl IHandlerInfo_Vtbl { let this = (*this).get_impl(); match IHandlerInfo_Impl::GetApplicationPublisher(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8960,7 +8960,7 @@ impl IHandlerInfo_Vtbl { let this = (*this).get_impl(); match IHandlerInfo_Impl::GetApplicationIconReference(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -8988,7 +8988,7 @@ impl IHandlerInfo2_Vtbl { let this = (*this).get_impl(); match IHandlerInfo2_Impl::GetApplicationId(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9062,7 +9062,7 @@ impl IHlink_Vtbl { let this = (*this).get_impl(); match IHlink_Impl::GetFriendlyName(this, core::mem::transmute_copy(&grfhlfnamef)) { Ok(ok__) => { - core::ptr::write(ppwzfriendlyname, core::mem::transmute(ok__)); + ppwzfriendlyname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9078,7 +9078,7 @@ impl IHlink_Vtbl { let this = (*this).get_impl(); match IHlink_Impl::GetTargetFrameName(this) { Ok(ok__) => { - core::ptr::write(ppwztargetframename, core::mem::transmute(ok__)); + ppwztargetframename.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9089,7 +9089,7 @@ impl IHlink_Vtbl { let this = (*this).get_impl(); match IHlink_Impl::GetMiscStatus(this) { Ok(ok__) => { - core::ptr::write(pdwstatus, core::mem::transmute(ok__)); + pdwstatus.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9110,7 +9110,7 @@ impl IHlink_Vtbl { let this = (*this).get_impl(); match IHlink_Impl::GetAdditionalParams(this) { Ok(ok__) => { - core::ptr::write(ppwzadditionalparams, core::mem::transmute(ok__)); + ppwzadditionalparams.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9165,7 +9165,7 @@ impl IHlinkBrowseContext_Vtbl { let this = (*this).get_impl(); match IHlinkBrowseContext_Impl::Register(this, core::mem::transmute_copy(&reserved), windows_core::from_raw_borrowed(&piunk), windows_core::from_raw_borrowed(&pimk)) { Ok(ok__) => { - core::ptr::write(pdwregister, core::mem::transmute(ok__)); + pdwregister.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9176,7 +9176,7 @@ impl IHlinkBrowseContext_Vtbl { let this = (*this).get_impl(); match IHlinkBrowseContext_Impl::GetObject(this, windows_core::from_raw_borrowed(&pimk), core::mem::transmute_copy(&fbindifrootregistered)) { Ok(ok__) => { - core::ptr::write(ppiunk, core::mem::transmute(ok__)); + ppiunk.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9207,7 +9207,7 @@ impl IHlinkBrowseContext_Vtbl { let this = (*this).get_impl(); match IHlinkBrowseContext_Impl::OnNavigateHlink(this, core::mem::transmute_copy(&grfhlnf), windows_core::from_raw_borrowed(&pimktarget), core::mem::transmute(&pwzlocation), core::mem::transmute(&pwzfriendlyname)) { Ok(ok__) => { - core::ptr::write(puhlid, core::mem::transmute(ok__)); + puhlid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9223,7 +9223,7 @@ impl IHlinkBrowseContext_Vtbl { let this = (*this).get_impl(); match IHlinkBrowseContext_Impl::EnumNavigationStack(this, core::mem::transmute_copy(&dwreserved), core::mem::transmute_copy(&grfhlfnamef)) { Ok(ok__) => { - core::ptr::write(ppienumhlitem, core::mem::transmute(ok__)); + ppienumhlitem.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9239,7 +9239,7 @@ impl IHlinkBrowseContext_Vtbl { let this = (*this).get_impl(); match IHlinkBrowseContext_Impl::GetHlink(this, core::mem::transmute_copy(&uhlid)) { Ok(ok__) => { - core::ptr::write(ppihl, core::mem::transmute(ok__)); + ppihl.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9255,7 +9255,7 @@ impl IHlinkBrowseContext_Vtbl { let this = (*this).get_impl(); match IHlinkBrowseContext_Impl::Clone(this, windows_core::from_raw_borrowed(&piunkouter), core::mem::transmute_copy(&riid)) { Ok(ok__) => { - core::ptr::write(ppiunkobj, core::mem::transmute(ok__)); + ppiunkobj.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9311,7 +9311,7 @@ impl IHlinkFrame_Vtbl { let this = (*this).get_impl(); match IHlinkFrame_Impl::GetBrowseContext(this) { Ok(ok__) => { - core::ptr::write(ppihlbc, core::mem::transmute(ok__)); + ppihlbc.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9362,7 +9362,7 @@ impl IHlinkSite_Vtbl { let this = (*this).get_impl(); match IHlinkSite_Impl::QueryService(this, core::mem::transmute_copy(&dwsitedata), core::mem::transmute_copy(&guidservice), core::mem::transmute_copy(&riid)) { Ok(ok__) => { - core::ptr::write(ppiunk, core::mem::transmute(ok__)); + ppiunk.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9373,7 +9373,7 @@ impl IHlinkSite_Vtbl { let this = (*this).get_impl(); match IHlinkSite_Impl::GetMoniker(this, core::mem::transmute_copy(&dwsitedata), core::mem::transmute_copy(&dwassign), core::mem::transmute_copy(&dwwhich)) { Ok(ok__) => { - core::ptr::write(ppimk, core::mem::transmute(ok__)); + ppimk.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9424,7 +9424,7 @@ impl IHlinkTarget_Vtbl { let this = (*this).get_impl(); match IHlinkTarget_Impl::GetBrowseContext(this) { Ok(ok__) => { - core::ptr::write(ppihlbc, core::mem::transmute(ok__)); + ppihlbc.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9440,7 +9440,7 @@ impl IHlinkTarget_Vtbl { let this = (*this).get_impl(); match IHlinkTarget_Impl::GetMoniker(this, core::mem::transmute(&pwzlocation), core::mem::transmute_copy(&dwassign)) { Ok(ok__) => { - core::ptr::write(ppimklocation, core::mem::transmute(ok__)); + ppimklocation.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9451,7 +9451,7 @@ impl IHlinkTarget_Vtbl { let this = (*this).get_impl(); match IHlinkTarget_Impl::GetFriendlyName(this, core::mem::transmute(&pwzlocation)) { Ok(ok__) => { - core::ptr::write(ppwzfriendlyname, core::mem::transmute(ok__)); + ppwzfriendlyname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9482,7 +9482,7 @@ impl IHomeGroup_Vtbl { let this = (*this).get_impl(); match IHomeGroup_Impl::IsMember(this) { Ok(ok__) => { - core::ptr::write(member, core::mem::transmute(ok__)); + member.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9493,7 +9493,7 @@ impl IHomeGroup_Vtbl { let this = (*this).get_impl(); match IHomeGroup_Impl::ShowSharingWizard(this, core::mem::transmute_copy(&owner)) { Ok(ok__) => { - core::ptr::write(sharingchoices, core::mem::transmute(ok__)); + sharingchoices.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9563,7 +9563,7 @@ impl IImageRecompress_Vtbl { let this = (*this).get_impl(); match IImageRecompress_Impl::RecompressImage(this, windows_core::from_raw_borrowed(&psi), core::mem::transmute_copy(&cx), core::mem::transmute_copy(&cy), core::mem::transmute_copy(&iquality), windows_core::from_raw_borrowed(&pstg)) { Ok(ok__) => { - core::ptr::write(ppstrmout, core::mem::transmute(ok__)); + ppstrmout.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9871,7 +9871,7 @@ impl IItemNameLimits_Vtbl { let this = (*this).get_impl(); match IItemNameLimits_Impl::GetMaxLength(this, core::mem::transmute(&pszname)) { Ok(ok__) => { - core::ptr::write(pimaxnamelen, core::mem::transmute(ok__)); + pimaxnamelen.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9909,7 +9909,7 @@ impl IKnownFolder_Vtbl { let this = (*this).get_impl(); match IKnownFolder_Impl::GetId(this) { Ok(ok__) => { - core::ptr::write(pkfid, core::mem::transmute(ok__)); + pkfid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9920,7 +9920,7 @@ impl IKnownFolder_Vtbl { let this = (*this).get_impl(); match IKnownFolder_Impl::GetCategory(this) { Ok(ok__) => { - core::ptr::write(pcategory, core::mem::transmute(ok__)); + pcategory.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9936,7 +9936,7 @@ impl IKnownFolder_Vtbl { let this = (*this).get_impl(); match IKnownFolder_Impl::GetPath(this, core::mem::transmute_copy(&dwflags)) { Ok(ok__) => { - core::ptr::write(ppszpath, core::mem::transmute(ok__)); + ppszpath.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9952,7 +9952,7 @@ impl IKnownFolder_Vtbl { let this = (*this).get_impl(); match IKnownFolder_Impl::GetIDList(this, core::mem::transmute_copy(&dwflags)) { Ok(ok__) => { - core::ptr::write(ppidl, core::mem::transmute(ok__)); + ppidl.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9963,7 +9963,7 @@ impl IKnownFolder_Vtbl { let this = (*this).get_impl(); match IKnownFolder_Impl::GetFolderType(this) { Ok(ok__) => { - core::ptr::write(pftid, core::mem::transmute(ok__)); + pftid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -9974,7 +9974,7 @@ impl IKnownFolder_Vtbl { let this = (*this).get_impl(); match IKnownFolder_Impl::GetRedirectionCapabilities(this) { Ok(ok__) => { - core::ptr::write(pcapabilities, core::mem::transmute(ok__)); + pcapabilities.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10025,7 +10025,7 @@ impl IKnownFolderManager_Vtbl { let this = (*this).get_impl(); match IKnownFolderManager_Impl::FolderIdFromCsidl(this, core::mem::transmute_copy(&ncsidl)) { Ok(ok__) => { - core::ptr::write(pfid, core::mem::transmute(ok__)); + pfid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10036,7 +10036,7 @@ impl IKnownFolderManager_Vtbl { let this = (*this).get_impl(); match IKnownFolderManager_Impl::FolderIdToCsidl(this, core::mem::transmute_copy(&rfid)) { Ok(ok__) => { - core::ptr::write(pncsidl, core::mem::transmute(ok__)); + pncsidl.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10052,7 +10052,7 @@ impl IKnownFolderManager_Vtbl { let this = (*this).get_impl(); match IKnownFolderManager_Impl::GetFolder(this, core::mem::transmute_copy(&rfid)) { Ok(ok__) => { - core::ptr::write(ppkf, core::mem::transmute(ok__)); + ppkf.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10063,7 +10063,7 @@ impl IKnownFolderManager_Vtbl { let this = (*this).get_impl(); match IKnownFolderManager_Impl::GetFolderByName(this, core::mem::transmute(&pszcanonicalname)) { Ok(ok__) => { - core::ptr::write(ppkf, core::mem::transmute(ok__)); + ppkf.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10084,7 +10084,7 @@ impl IKnownFolderManager_Vtbl { let this = (*this).get_impl(); match IKnownFolderManager_Impl::FindFolderFromPath(this, core::mem::transmute(&pszpath), core::mem::transmute_copy(&mode)) { Ok(ok__) => { - core::ptr::write(ppkf, core::mem::transmute(ok__)); + ppkf.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10095,7 +10095,7 @@ impl IKnownFolderManager_Vtbl { let this = (*this).get_impl(); match IKnownFolderManager_Impl::FindFolderFromIDList(this, core::mem::transmute_copy(&pidl)) { Ok(ok__) => { - core::ptr::write(ppkf, core::mem::transmute(ok__)); + ppkf.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10135,7 +10135,7 @@ impl ILaunchSourceAppUserModelId_Vtbl { let this = (*this).get_impl(); match ILaunchSourceAppUserModelId_Impl::GetAppUserModelId(this) { Ok(ok__) => { - core::ptr::write(launchingapp, core::mem::transmute(ok__)); + launchingapp.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10159,7 +10159,7 @@ impl ILaunchSourceViewSizePreference_Vtbl { let this = (*this).get_impl(); match ILaunchSourceViewSizePreference_Impl::GetSourceViewToPosition(this) { Ok(ok__) => { - core::ptr::write(hwnd, core::mem::transmute(ok__)); + hwnd.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10170,7 +10170,7 @@ impl ILaunchSourceViewSizePreference_Vtbl { let this = (*this).get_impl(); match ILaunchSourceViewSizePreference_Impl::GetSourceViewSizePreference(this) { Ok(ok__) => { - core::ptr::write(sourcesizeafterlaunch, core::mem::transmute(ok__)); + sourcesizeafterlaunch.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10200,7 +10200,7 @@ impl ILaunchTargetMonitor_Vtbl { let this = (*this).get_impl(); match ILaunchTargetMonitor_Impl::GetMonitor(this) { Ok(ok__) => { - core::ptr::write(monitor, core::mem::transmute(ok__)); + monitor.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10223,7 +10223,7 @@ impl ILaunchTargetViewSizePreference_Vtbl { let this = (*this).get_impl(); match ILaunchTargetViewSizePreference_Impl::GetTargetViewSizePreference(this) { Ok(ok__) => { - core::ptr::write(targetsizeonlaunch, core::mem::transmute(ok__)); + targetsizeonlaunch.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10379,7 +10379,7 @@ impl INameSpaceTreeAccessible_Vtbl { let this = (*this).get_impl(); match INameSpaceTreeAccessible_Impl::OnGetDefaultAccessibilityAction(this, windows_core::from_raw_borrowed(&psi)) { Ok(ok__) => { - core::ptr::write(pbstrdefaultaction, core::mem::transmute(ok__)); + pbstrdefaultaction.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10395,7 +10395,7 @@ impl INameSpaceTreeAccessible_Vtbl { let this = (*this).get_impl(); match INameSpaceTreeAccessible_Impl::OnGetAccessibilityRole(this, windows_core::from_raw_borrowed(&psi)) { Ok(ok__) => { - core::ptr::write(pvarrole, core::mem::transmute(ok__)); + pvarrole.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10446,7 +10446,7 @@ impl INameSpaceTreeControl_Vtbl { let this = (*this).get_impl(); match INameSpaceTreeControl_Impl::TreeAdvise(this, windows_core::from_raw_borrowed(&punk)) { Ok(ok__) => { - core::ptr::write(pdwcookie, core::mem::transmute(ok__)); + pdwcookie.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10482,7 +10482,7 @@ impl INameSpaceTreeControl_Vtbl { let this = (*this).get_impl(); match INameSpaceTreeControl_Impl::GetRootItems(this) { Ok(ok__) => { - core::ptr::write(ppsiarootitems, core::mem::transmute(ok__)); + ppsiarootitems.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10498,7 +10498,7 @@ impl INameSpaceTreeControl_Vtbl { let this = (*this).get_impl(); match INameSpaceTreeControl_Impl::GetItemState(this, windows_core::from_raw_borrowed(&psi), core::mem::transmute_copy(&nstcismask)) { Ok(ok__) => { - core::ptr::write(pnstcisflags, core::mem::transmute(ok__)); + pnstcisflags.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10509,7 +10509,7 @@ impl INameSpaceTreeControl_Vtbl { let this = (*this).get_impl(); match INameSpaceTreeControl_Impl::GetSelectedItems(this) { Ok(ok__) => { - core::ptr::write(psiaitems, core::mem::transmute(ok__)); + psiaitems.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10520,7 +10520,7 @@ impl INameSpaceTreeControl_Vtbl { let this = (*this).get_impl(); match INameSpaceTreeControl_Impl::GetItemCustomState(this, windows_core::from_raw_borrowed(&psi)) { Ok(ok__) => { - core::ptr::write(pistatenumber, core::mem::transmute(ok__)); + pistatenumber.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10546,7 +10546,7 @@ impl INameSpaceTreeControl_Vtbl { let this = (*this).get_impl(); match INameSpaceTreeControl_Impl::GetNextItem(this, windows_core::from_raw_borrowed(&psi), core::mem::transmute_copy(&nstcgi)) { Ok(ok__) => { - core::ptr::write(ppsinext, core::mem::transmute(ok__)); + ppsinext.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10557,7 +10557,7 @@ impl INameSpaceTreeControl_Vtbl { let this = (*this).get_impl(); match INameSpaceTreeControl_Impl::HitTest(this, core::mem::transmute_copy(&ppt)) { Ok(ok__) => { - core::ptr::write(ppsiout, core::mem::transmute(ok__)); + ppsiout.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10568,7 +10568,7 @@ impl INameSpaceTreeControl_Vtbl { let this = (*this).get_impl(); match INameSpaceTreeControl_Impl::GetItemRect(this, windows_core::from_raw_borrowed(&psi)) { Ok(ok__) => { - core::ptr::write(prect, core::mem::transmute(ok__)); + prect.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10625,7 +10625,7 @@ impl INameSpaceTreeControl2_Vtbl { let this = (*this).get_impl(); match INameSpaceTreeControl2_Impl::GetControlStyle(this, core::mem::transmute_copy(&nstcsmask)) { Ok(ok__) => { - core::ptr::write(pnstcsstyle, core::mem::transmute(ok__)); + pnstcsstyle.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10641,7 +10641,7 @@ impl INameSpaceTreeControl2_Vtbl { let this = (*this).get_impl(); match INameSpaceTreeControl2_Impl::GetControlStyle2(this, core::mem::transmute_copy(&nstcsmask)) { Ok(ok__) => { - core::ptr::write(pnstcsstyle, core::mem::transmute(ok__)); + pnstcsstyle.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10676,7 +10676,7 @@ impl INameSpaceTreeControlCustomDraw_Vtbl { let this = (*this).get_impl(); match INameSpaceTreeControlCustomDraw_Impl::PrePaint(this, core::mem::transmute_copy(&hdc), core::mem::transmute_copy(&prc)) { Ok(ok__) => { - core::ptr::write(plres, core::mem::transmute(ok__)); + plres.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -10914,7 +10914,7 @@ impl INameSpaceTreeControlFolderCapabilities_Vtbl { let this = (*this).get_impl(); match INameSpaceTreeControlFolderCapabilities_Impl::GetFolderCapabilities(this, core::mem::transmute_copy(&nfcmask)) { Ok(ok__) => { - core::ptr::write(pnfcvalue, core::mem::transmute(ok__)); + pnfcvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11070,7 +11070,7 @@ impl INetworkFolderInternal_Vtbl { let this = (*this).get_impl(); match INetworkFolderInternal_Impl::GetResourceDisplayType(this) { Ok(ok__) => { - core::ptr::write(displaytype, core::mem::transmute(ok__)); + displaytype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11081,7 +11081,7 @@ impl INetworkFolderInternal_Vtbl { let this = (*this).get_impl(); match INetworkFolderInternal_Impl::GetIDList(this) { Ok(ok__) => { - core::ptr::write(idlist, core::mem::transmute(ok__)); + idlist.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11118,7 +11118,7 @@ impl INewMenuClient_Vtbl { let this = (*this).get_impl(); match INewMenuClient_Impl::IncludeItems(this) { Ok(ok__) => { - core::ptr::write(pflags, core::mem::transmute(ok__)); + pflags.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11263,7 +11263,7 @@ impl INewWDEvents_Vtbl { let this = (*this).get_impl(); match INewWDEvents_Impl::PassportAuthenticate(this, core::mem::transmute(&bstrsigninurl)) { Ok(ok__) => { - core::ptr::write(pvfauthenitcated, core::mem::transmute(ok__)); + pvfauthenitcated.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11373,7 +11373,7 @@ impl IObjectWithAppUserModelID_Vtbl { let this = (*this).get_impl(); match IObjectWithAppUserModelID_Impl::GetAppID(this) { Ok(ok__) => { - core::ptr::write(ppszappid, core::mem::transmute(ok__)); + ppszappid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11417,7 +11417,7 @@ impl IObjectWithCancelEvent_Vtbl { let this = (*this).get_impl(); match IObjectWithCancelEvent_Impl::GetCancelEvent(this) { Ok(ok__) => { - core::ptr::write(phevent, core::mem::transmute(ok__)); + phevent.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11446,7 +11446,7 @@ impl IObjectWithFolderEnumMode_Vtbl { let this = (*this).get_impl(); match IObjectWithFolderEnumMode_Impl::GetMode(this) { Ok(ok__) => { - core::ptr::write(pfemode, core::mem::transmute(ok__)); + pfemode.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11479,7 +11479,7 @@ impl IObjectWithProgID_Vtbl { let this = (*this).get_impl(); match IObjectWithProgID_Impl::GetProgID(this) { Ok(ok__) => { - core::ptr::write(ppszprogid, core::mem::transmute(ok__)); + ppszprogid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11545,7 +11545,7 @@ impl IOpenControlPanel_Vtbl { let this = (*this).get_impl(); match IOpenControlPanel_Impl::GetCurrentView(this) { Ok(ok__) => { - core::ptr::write(pview, core::mem::transmute(ok__)); + pview.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11653,7 +11653,7 @@ impl IOperationsProgressDialog_Vtbl { let this = (*this).get_impl(); match IOperationsProgressDialog_Impl::GetOperationStatus(this) { Ok(ok__) => { - core::ptr::write(popstatus, core::mem::transmute(ok__)); + popstatus.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11763,7 +11763,7 @@ impl IPackageDebugSettings_Vtbl { let this = (*this).get_impl(); match IPackageDebugSettings_Impl::GetPackageExecutionState(this, core::mem::transmute(&packagefullname)) { Ok(ok__) => { - core::ptr::write(packageexecutionstate, core::mem::transmute(ok__)); + packageexecutionstate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11774,7 +11774,7 @@ impl IPackageDebugSettings_Vtbl { let this = (*this).get_impl(); match IPackageDebugSettings_Impl::RegisterForPackageStateChanges(this, core::mem::transmute(&packagefullname), windows_core::from_raw_borrowed(&ppackageexecutionstatechangenotification)) { Ok(ok__) => { - core::ptr::write(pdwcookie, core::mem::transmute(ok__)); + pdwcookie.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11933,7 +11933,7 @@ impl IPersistFolder2_Vtbl { let this = (*this).get_impl(); match IPersistFolder2_Impl::GetCurFolder(this) { Ok(ok__) => { - core::ptr::write(ppidl, core::mem::transmute(ok__)); + ppidl.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -11995,7 +11995,7 @@ impl IPersistIDList_Vtbl { let this = (*this).get_impl(); match IPersistIDList_Impl::GetIDList(this) { Ok(ok__) => { - core::ptr::write(ppidl, core::mem::transmute(ok__)); + ppidl.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12056,7 +12056,7 @@ impl IPreviewHandler_Vtbl { let this = (*this).get_impl(); match IPreviewHandler_Impl::QueryFocus(this) { Ok(ok__) => { - core::ptr::write(phwnd, core::mem::transmute(ok__)); + phwnd.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12097,7 +12097,7 @@ impl IPreviewHandlerFrame_Vtbl { let this = (*this).get_impl(); match IPreviewHandlerFrame_Impl::GetWindowContext(this) { Ok(ok__) => { - core::ptr::write(pinfo, core::mem::transmute(ok__)); + pinfo.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12179,7 +12179,7 @@ impl IPreviousVersionsInfo_Vtbl { let this = (*this).get_impl(); match IPreviousVersionsInfo_Impl::AreSnapshotsAvailable(this, core::mem::transmute(&pszpath), core::mem::transmute_copy(&foktobeslow)) { Ok(ok__) => { - core::ptr::write(pfavailable, core::mem::transmute(ok__)); + pfavailable.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12206,7 +12206,7 @@ impl IProfferService_Vtbl { let this = (*this).get_impl(); match IProfferService_Impl::ProfferService(this, core::mem::transmute_copy(&serviceid), windows_core::from_raw_borrowed(&serviceprovider)) { Ok(ok__) => { - core::ptr::write(cookie, core::mem::transmute(ok__)); + cookie.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12329,7 +12329,7 @@ impl IPropertyKeyStore_Vtbl { let this = (*this).get_impl(); match IPropertyKeyStore_Impl::GetKeyCount(this) { Ok(ok__) => { - core::ptr::write(keycount, core::mem::transmute(ok__)); + keycount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12483,7 +12483,7 @@ impl IQueryAssociations_Vtbl { let this = (*this).get_impl(); match IQueryAssociations_Impl::GetKey(this, core::mem::transmute_copy(&flags), core::mem::transmute_copy(&key), core::mem::transmute(&pszextra)) { Ok(ok__) => { - core::ptr::write(phkeyout, core::mem::transmute(ok__)); + phkeyout.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12541,7 +12541,7 @@ impl IQueryCodePage_Vtbl { let this = (*this).get_impl(); match IQueryCodePage_Impl::GetCodePage(this) { Ok(ok__) => { - core::ptr::write(puicodepage, core::mem::transmute(ok__)); + puicodepage.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12608,7 +12608,7 @@ impl IQueryInfo_Vtbl { let this = (*this).get_impl(); match IQueryInfo_Impl::GetInfoTip(this, core::mem::transmute(&dwflags)) { Ok(ok__) => { - core::ptr::write(ppwsztip, core::mem::transmute(ok__)); + ppwsztip.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12619,7 +12619,7 @@ impl IQueryInfo_Vtbl { let this = (*this).get_impl(); match IQueryInfo_Impl::GetInfoFlags(this) { Ok(ok__) => { - core::ptr::write(pdwflags, core::mem::transmute(ok__)); + pdwflags.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12647,7 +12647,7 @@ impl IRegTreeItem_Vtbl { let this = (*this).get_impl(); match IRegTreeItem_Impl::GetCheckState(this) { Ok(ok__) => { - core::ptr::write(pbcheck, core::mem::transmute(ok__)); + pbcheck.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12683,7 +12683,7 @@ impl IRelatedItem_Vtbl { let this = (*this).get_impl(); match IRelatedItem_Impl::GetItemIDList(this) { Ok(ok__) => { - core::ptr::write(ppidl, core::mem::transmute(ok__)); + ppidl.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12694,7 +12694,7 @@ impl IRelatedItem_Vtbl { let this = (*this).get_impl(); match IRelatedItem_Impl::GetItem(this) { Ok(ok__) => { - core::ptr::write(ppsi, core::mem::transmute(ok__)); + ppsi.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12880,7 +12880,7 @@ impl IScriptErrorList_Vtbl { let this = (*this).get_impl(); match IScriptErrorList_Impl::canAdvanceError(this) { Ok(ok__) => { - core::ptr::write(pfcanadvance, core::mem::transmute(ok__)); + pfcanadvance.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12891,7 +12891,7 @@ impl IScriptErrorList_Vtbl { let this = (*this).get_impl(); match IScriptErrorList_Impl::canRetreatError(this) { Ok(ok__) => { - core::ptr::write(pfcanretreat, core::mem::transmute(ok__)); + pfcanretreat.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12902,7 +12902,7 @@ impl IScriptErrorList_Vtbl { let this = (*this).get_impl(); match IScriptErrorList_Impl::getErrorLine(this) { Ok(ok__) => { - core::ptr::write(plline, core::mem::transmute(ok__)); + plline.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12913,7 +12913,7 @@ impl IScriptErrorList_Vtbl { let this = (*this).get_impl(); match IScriptErrorList_Impl::getErrorChar(this) { Ok(ok__) => { - core::ptr::write(plchar, core::mem::transmute(ok__)); + plchar.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12924,7 +12924,7 @@ impl IScriptErrorList_Vtbl { let this = (*this).get_impl(); match IScriptErrorList_Impl::getErrorCode(this) { Ok(ok__) => { - core::ptr::write(plcode, core::mem::transmute(ok__)); + plcode.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12935,7 +12935,7 @@ impl IScriptErrorList_Vtbl { let this = (*this).get_impl(); match IScriptErrorList_Impl::getErrorMsg(this) { Ok(ok__) => { - core::ptr::write(pstr, core::mem::transmute(ok__)); + pstr.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12946,7 +12946,7 @@ impl IScriptErrorList_Vtbl { let this = (*this).get_impl(); match IScriptErrorList_Impl::getErrorUrl(this) { Ok(ok__) => { - core::ptr::write(pstr, core::mem::transmute(ok__)); + pstr.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12957,7 +12957,7 @@ impl IScriptErrorList_Vtbl { let this = (*this).get_impl(); match IScriptErrorList_Impl::getAlwaysShowLockState(this) { Ok(ok__) => { - core::ptr::write(pfalwaysshowlocked, core::mem::transmute(ok__)); + pfalwaysshowlocked.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12968,7 +12968,7 @@ impl IScriptErrorList_Vtbl { let this = (*this).get_impl(); match IScriptErrorList_Impl::getDetailsPaneOpen(this) { Ok(ok__) => { - core::ptr::write(pfdetailspaneopen, core::mem::transmute(ok__)); + pfdetailspaneopen.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -12984,7 +12984,7 @@ impl IScriptErrorList_Vtbl { let this = (*this).get_impl(); match IScriptErrorList_Impl::getPerErrorDisplay(this) { Ok(ok__) => { - core::ptr::write(pfpererrordisplay, core::mem::transmute(ok__)); + pfpererrordisplay.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13034,7 +13034,7 @@ impl ISearchBoxInfo_Vtbl { let this = (*this).get_impl(); match ISearchBoxInfo_Impl::GetText(this) { Ok(ok__) => { - core::ptr::write(ppsz, core::mem::transmute(ok__)); + ppsz.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13063,7 +13063,7 @@ impl ISearchContext_Vtbl { let this = (*this).get_impl(); match ISearchContext_Impl::GetSearchUrl(this) { Ok(ok__) => { - core::ptr::write(pbstrsearchurl, core::mem::transmute(ok__)); + pbstrsearchurl.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13074,7 +13074,7 @@ impl ISearchContext_Vtbl { let this = (*this).get_impl(); match ISearchContext_Impl::GetSearchText(this) { Ok(ok__) => { - core::ptr::write(pbstrsearchtext, core::mem::transmute(ok__)); + pbstrsearchtext.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13085,7 +13085,7 @@ impl ISearchContext_Vtbl { let this = (*this).get_impl(); match ISearchContext_Impl::GetSearchStyle(this) { Ok(ok__) => { - core::ptr::write(pdwsearchstyle, core::mem::transmute(ok__)); + pdwsearchstyle.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13182,7 +13182,7 @@ impl ISearchFolderItemFactory_Vtbl { let this = (*this).get_impl(); match ISearchFolderItemFactory_Impl::GetIDList(this) { Ok(ok__) => { - core::ptr::write(ppidl, core::mem::transmute(ok__)); + ppidl.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13226,7 +13226,7 @@ impl ISharedBitmap_Vtbl { let this = (*this).get_impl(); match ISharedBitmap_Impl::GetSharedBitmap(this) { Ok(ok__) => { - core::ptr::write(phbm, core::mem::transmute(ok__)); + phbm.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13237,7 +13237,7 @@ impl ISharedBitmap_Vtbl { let this = (*this).get_impl(); match ISharedBitmap_Impl::GetSize(this) { Ok(ok__) => { - core::ptr::write(psize, core::mem::transmute(ok__)); + psize.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13248,7 +13248,7 @@ impl ISharedBitmap_Vtbl { let this = (*this).get_impl(); match ISharedBitmap_Impl::GetFormat(this) { Ok(ok__) => { - core::ptr::write(pat, core::mem::transmute(ok__)); + pat.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13264,7 +13264,7 @@ impl ISharedBitmap_Vtbl { let this = (*this).get_impl(); match ISharedBitmap_Impl::Detach(this) { Ok(ok__) => { - core::ptr::write(phbm, core::mem::transmute(ok__)); + phbm.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13315,7 +13315,7 @@ impl ISharingConfigurationManager_Vtbl { let this = (*this).get_impl(); match ISharingConfigurationManager_Impl::GetSharePermissions(this, core::mem::transmute_copy(&dsid)) { Ok(ok__) => { - core::ptr::write(prole, core::mem::transmute(ok__)); + prole.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13371,7 +13371,7 @@ impl IShellApp_Vtbl { let this = (*this).get_impl(); match IShellApp_Impl::GetPossibleActions(this) { Ok(ok__) => { - core::ptr::write(pdwactions, core::mem::transmute(ok__)); + pdwactions.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13466,7 +13466,7 @@ impl IShellBrowser_Vtbl { let this = (*this).get_impl(); match IShellBrowser_Impl::GetViewStateStream(this, core::mem::transmute_copy(&grfmode)) { Ok(ok__) => { - core::ptr::write(ppstrm, core::mem::transmute(ok__)); + ppstrm.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13477,7 +13477,7 @@ impl IShellBrowser_Vtbl { let this = (*this).get_impl(); match IShellBrowser_Impl::GetControlWindow(this, core::mem::transmute_copy(&id)) { Ok(ok__) => { - core::ptr::write(phwnd, core::mem::transmute(ok__)); + phwnd.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13493,7 +13493,7 @@ impl IShellBrowser_Vtbl { let this = (*this).get_impl(); match IShellBrowser_Impl::QueryActiveShellView(this) { Ok(ok__) => { - core::ptr::write(ppshv, core::mem::transmute(ok__)); + ppshv.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13616,7 +13616,7 @@ impl IShellDispatch_Vtbl { let this = (*this).get_impl(); match IShellDispatch_Impl::Application(this) { Ok(ok__) => { - core::ptr::write(ppid, core::mem::transmute(ok__)); + ppid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13627,7 +13627,7 @@ impl IShellDispatch_Vtbl { let this = (*this).get_impl(); match IShellDispatch_Impl::Parent(this) { Ok(ok__) => { - core::ptr::write(ppid, core::mem::transmute(ok__)); + ppid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13638,7 +13638,7 @@ impl IShellDispatch_Vtbl { let this = (*this).get_impl(); match IShellDispatch_Impl::NameSpace(this, core::mem::transmute(&vdir)) { Ok(ok__) => { - core::ptr::write(ppsdf, core::mem::transmute(ok__)); + ppsdf.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13649,7 +13649,7 @@ impl IShellDispatch_Vtbl { let this = (*this).get_impl(); match IShellDispatch_Impl::BrowseForFolder(this, core::mem::transmute_copy(&hwnd), core::mem::transmute(&title), core::mem::transmute_copy(&options), core::mem::transmute(&rootfolder)) { Ok(ok__) => { - core::ptr::write(ppsdf, core::mem::transmute(ok__)); + ppsdf.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13660,7 +13660,7 @@ impl IShellDispatch_Vtbl { let this = (*this).get_impl(); match IShellDispatch_Impl::Windows(this) { Ok(ok__) => { - core::ptr::write(ppid, core::mem::transmute(ok__)); + ppid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13809,7 +13809,7 @@ impl IShellDispatch2_Vtbl { let this = (*this).get_impl(); match IShellDispatch2_Impl::IsRestricted(this, core::mem::transmute(&group), core::mem::transmute(&restriction)) { Ok(ok__) => { - core::ptr::write(plrestrictvalue, core::mem::transmute(ok__)); + plrestrictvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13830,7 +13830,7 @@ impl IShellDispatch2_Vtbl { let this = (*this).get_impl(); match IShellDispatch2_Impl::GetSystemInformation(this, core::mem::transmute(&name)) { Ok(ok__) => { - core::ptr::write(pv, core::mem::transmute(ok__)); + pv.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13841,7 +13841,7 @@ impl IShellDispatch2_Vtbl { let this = (*this).get_impl(); match IShellDispatch2_Impl::ServiceStart(this, core::mem::transmute(&servicename), core::mem::transmute(&persistent)) { Ok(ok__) => { - core::ptr::write(psuccess, core::mem::transmute(ok__)); + psuccess.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13852,7 +13852,7 @@ impl IShellDispatch2_Vtbl { let this = (*this).get_impl(); match IShellDispatch2_Impl::ServiceStop(this, core::mem::transmute(&servicename), core::mem::transmute(&persistent)) { Ok(ok__) => { - core::ptr::write(psuccess, core::mem::transmute(ok__)); + psuccess.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13863,7 +13863,7 @@ impl IShellDispatch2_Vtbl { let this = (*this).get_impl(); match IShellDispatch2_Impl::IsServiceRunning(this, core::mem::transmute(&servicename)) { Ok(ok__) => { - core::ptr::write(prunning, core::mem::transmute(ok__)); + prunning.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13874,7 +13874,7 @@ impl IShellDispatch2_Vtbl { let this = (*this).get_impl(); match IShellDispatch2_Impl::CanStartStopService(this, core::mem::transmute(&servicename)) { Ok(ok__) => { - core::ptr::write(pcanstartstop, core::mem::transmute(ok__)); + pcanstartstop.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13885,7 +13885,7 @@ impl IShellDispatch2_Vtbl { let this = (*this).get_impl(); match IShellDispatch2_Impl::ShowBrowserBar(this, core::mem::transmute(&bstrclsid), core::mem::transmute(&bshow)) { Ok(ok__) => { - core::ptr::write(psuccess, core::mem::transmute(ok__)); + psuccess.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13955,7 +13955,7 @@ impl IShellDispatch4_Vtbl { let this = (*this).get_impl(); match IShellDispatch4_Impl::ExplorerPolicy(this, core::mem::transmute(&bstrpolicyname)) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -13966,7 +13966,7 @@ impl IShellDispatch4_Vtbl { let this = (*this).get_impl(); match IShellDispatch4_Impl::GetSetting(this, core::mem::transmute_copy(&lsetting)) { Ok(ok__) => { - core::ptr::write(presult, core::mem::transmute(ok__)); + presult.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -14115,7 +14115,7 @@ impl IShellFavoritesNameSpace_Vtbl { let this = (*this).get_impl(); match IShellFavoritesNameSpace_Impl::SubscriptionsEnabled(this) { Ok(ok__) => { - core::ptr::write(pbool, core::mem::transmute(ok__)); + pbool.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -14126,7 +14126,7 @@ impl IShellFavoritesNameSpace_Vtbl { let this = (*this).get_impl(); match IShellFavoritesNameSpace_Impl::CreateSubscriptionForSelection(this) { Ok(ok__) => { - core::ptr::write(pbool, core::mem::transmute(ok__)); + pbool.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -14137,7 +14137,7 @@ impl IShellFavoritesNameSpace_Vtbl { let this = (*this).get_impl(); match IShellFavoritesNameSpace_Impl::DeleteSubscriptionForSelection(this) { Ok(ok__) => { - core::ptr::write(pbool, core::mem::transmute(ok__)); + pbool.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -14275,7 +14275,7 @@ impl IShellFolder2_Vtbl { let this = (*this).get_impl(); match IShellFolder2_Impl::GetDefaultSearchGUID(this) { Ok(ok__) => { - core::ptr::write(pguid, core::mem::transmute(ok__)); + pguid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -14286,7 +14286,7 @@ impl IShellFolder2_Vtbl { let this = (*this).get_impl(); match IShellFolder2_Impl::EnumSearches(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -14302,7 +14302,7 @@ impl IShellFolder2_Vtbl { let this = (*this).get_impl(); match IShellFolder2_Impl::GetDefaultColumnState(this, core::mem::transmute_copy(&icolumn)) { Ok(ok__) => { - core::ptr::write(pcsflags, core::mem::transmute(ok__)); + pcsflags.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -14313,7 +14313,7 @@ impl IShellFolder2_Vtbl { let this = (*this).get_impl(); match IShellFolder2_Impl::GetDetailsEx(this, core::mem::transmute_copy(&pidl), core::mem::transmute_copy(&pscid)) { Ok(ok__) => { - core::ptr::write(pv, core::mem::transmute(ok__)); + pv.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -14427,7 +14427,7 @@ impl IShellFolderView_Vtbl { let this = (*this).get_impl(); match IShellFolderView_Impl::GetArrangeParam(this) { Ok(ok__) => { - core::ptr::write(plparamsort, core::mem::transmute(ok__)); + plparamsort.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -14453,7 +14453,7 @@ impl IShellFolderView_Vtbl { let this = (*this).get_impl(); match IShellFolderView_Impl::AddObject(this, core::mem::transmute_copy(&pidl)) { Ok(ok__) => { - core::ptr::write(puitem, core::mem::transmute(ok__)); + puitem.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -14469,7 +14469,7 @@ impl IShellFolderView_Vtbl { let this = (*this).get_impl(); match IShellFolderView_Impl::RemoveObject(this, core::mem::transmute_copy(&pidl)) { Ok(ok__) => { - core::ptr::write(puitem, core::mem::transmute(ok__)); + puitem.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -14480,7 +14480,7 @@ impl IShellFolderView_Vtbl { let this = (*this).get_impl(); match IShellFolderView_Impl::GetObjectCount(this) { Ok(ok__) => { - core::ptr::write(pucount, core::mem::transmute(ok__)); + pucount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -14496,7 +14496,7 @@ impl IShellFolderView_Vtbl { let this = (*this).get_impl(); match IShellFolderView_Impl::UpdateObject(this, core::mem::transmute_copy(&pidlold), core::mem::transmute_copy(&pidlnew)) { Ok(ok__) => { - core::ptr::write(puitem, core::mem::transmute(ok__)); + puitem.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -14507,7 +14507,7 @@ impl IShellFolderView_Vtbl { let this = (*this).get_impl(); match IShellFolderView_Impl::RefreshObject(this, core::mem::transmute_copy(&pidl)) { Ok(ok__) => { - core::ptr::write(puitem, core::mem::transmute(ok__)); + puitem.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -14523,7 +14523,7 @@ impl IShellFolderView_Vtbl { let this = (*this).get_impl(); match IShellFolderView_Impl::GetSelectedCount(this) { Ok(ok__) => { - core::ptr::write(puselected, core::mem::transmute(ok__)); + puselected.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -14544,7 +14544,7 @@ impl IShellFolderView_Vtbl { let this = (*this).get_impl(); match IShellFolderView_Impl::GetDragPoint(this) { Ok(ok__) => { - core::ptr::write(ppt, core::mem::transmute(ok__)); + ppt.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -14555,7 +14555,7 @@ impl IShellFolderView_Vtbl { let this = (*this).get_impl(); match IShellFolderView_Impl::GetDropPoint(this) { Ok(ok__) => { - core::ptr::write(ppt, core::mem::transmute(ok__)); + ppt.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -14591,7 +14591,7 @@ impl IShellFolderView_Vtbl { let this = (*this).get_impl(); match IShellFolderView_Impl::GetItemSpacing(this) { Ok(ok__) => { - core::ptr::write(pspacing, core::mem::transmute(ok__)); + pspacing.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -14602,7 +14602,7 @@ impl IShellFolderView_Vtbl { let this = (*this).get_impl(); match IShellFolderView_Impl::SetCallback(this, windows_core::from_raw_borrowed(&pnewcb)) { Ok(ok__) => { - core::ptr::write(ppoldcb, core::mem::transmute(ok__)); + ppoldcb.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -14698,7 +14698,7 @@ impl IShellFolderViewDual_Vtbl { let this = (*this).get_impl(); match IShellFolderViewDual_Impl::Application(this) { Ok(ok__) => { - core::ptr::write(ppid, core::mem::transmute(ok__)); + ppid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -14709,7 +14709,7 @@ impl IShellFolderViewDual_Vtbl { let this = (*this).get_impl(); match IShellFolderViewDual_Impl::Parent(this) { Ok(ok__) => { - core::ptr::write(ppid, core::mem::transmute(ok__)); + ppid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -14720,7 +14720,7 @@ impl IShellFolderViewDual_Vtbl { let this = (*this).get_impl(); match IShellFolderViewDual_Impl::Folder(this) { Ok(ok__) => { - core::ptr::write(ppid, core::mem::transmute(ok__)); + ppid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -14731,7 +14731,7 @@ impl IShellFolderViewDual_Vtbl { let this = (*this).get_impl(); match IShellFolderViewDual_Impl::SelectedItems(this) { Ok(ok__) => { - core::ptr::write(ppid, core::mem::transmute(ok__)); + ppid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -14742,7 +14742,7 @@ impl IShellFolderViewDual_Vtbl { let this = (*this).get_impl(); match IShellFolderViewDual_Impl::FocusedItem(this) { Ok(ok__) => { - core::ptr::write(ppid, core::mem::transmute(ok__)); + ppid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -14758,7 +14758,7 @@ impl IShellFolderViewDual_Vtbl { let this = (*this).get_impl(); match IShellFolderViewDual_Impl::PopupItemMenu(this, windows_core::from_raw_borrowed(&pfi), core::mem::transmute(&vx), core::mem::transmute(&vy)) { Ok(ok__) => { - core::ptr::write(pbs, core::mem::transmute(ok__)); + pbs.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -14769,7 +14769,7 @@ impl IShellFolderViewDual_Vtbl { let this = (*this).get_impl(); match IShellFolderViewDual_Impl::Script(this) { Ok(ok__) => { - core::ptr::write(ppdisp, core::mem::transmute(ok__)); + ppdisp.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -14780,7 +14780,7 @@ impl IShellFolderViewDual_Vtbl { let this = (*this).get_impl(); match IShellFolderViewDual_Impl::ViewOptions(this) { Ok(ok__) => { - core::ptr::write(plviewoptions, core::mem::transmute(ok__)); + plviewoptions.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -14819,7 +14819,7 @@ impl IShellFolderViewDual2_Vtbl { let this = (*this).get_impl(); match IShellFolderViewDual2_Impl::CurrentViewMode(this) { Ok(ok__) => { - core::ptr::write(pviewmode, core::mem::transmute(ok__)); + pviewmode.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -14868,7 +14868,7 @@ impl IShellFolderViewDual3_Vtbl { let this = (*this).get_impl(); match IShellFolderViewDual3_Impl::GroupBy(this) { Ok(ok__) => { - core::ptr::write(pbstrgroupby, core::mem::transmute(ok__)); + pbstrgroupby.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -14884,7 +14884,7 @@ impl IShellFolderViewDual3_Vtbl { let this = (*this).get_impl(); match IShellFolderViewDual3_Impl::FolderFlags(this) { Ok(ok__) => { - core::ptr::write(pdwflags, core::mem::transmute(ok__)); + pdwflags.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -14900,7 +14900,7 @@ impl IShellFolderViewDual3_Vtbl { let this = (*this).get_impl(); match IShellFolderViewDual3_Impl::SortColumns(this) { Ok(ok__) => { - core::ptr::write(pbstrsortcolumns, core::mem::transmute(ok__)); + pbstrsortcolumns.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -14921,7 +14921,7 @@ impl IShellFolderViewDual3_Vtbl { let this = (*this).get_impl(); match IShellFolderViewDual3_Impl::IconSize(this) { Ok(ok__) => { - core::ptr::write(piiconsize, core::mem::transmute(ok__)); + piiconsize.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -14963,7 +14963,7 @@ impl IShellIcon_Vtbl { let this = (*this).get_impl(); match IShellIcon_Impl::GetIconOf(this, core::mem::transmute_copy(&pidl), core::mem::transmute_copy(&flags)) { Ok(ok__) => { - core::ptr::write(piconindex, core::mem::transmute(ok__)); + piconindex.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -15028,7 +15028,7 @@ impl IShellIconOverlayIdentifier_Vtbl { let this = (*this).get_impl(); match IShellIconOverlayIdentifier_Impl::GetPriority(this) { Ok(ok__) => { - core::ptr::write(ppriority, core::mem::transmute(ok__)); + ppriority.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -15231,7 +15231,7 @@ impl IShellImageData_Vtbl { let this = (*this).get_impl(); match IShellImageData_Impl::GetProperties(this, core::mem::transmute_copy(&dwmode)) { Ok(ok__) => { - core::ptr::write(pppropset, core::mem::transmute(ok__)); + pppropset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -15277,7 +15277,7 @@ impl IShellImageData_Vtbl { let this = (*this).get_impl(); match IShellImageData_Impl::RegisterAbort(this, windows_core::from_raw_borrowed(&pabort)) { Ok(ok__) => { - core::ptr::write(ppabortprev, core::mem::transmute(ok__)); + ppabortprev.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -15365,7 +15365,7 @@ impl IShellImageDataFactory_Vtbl { let this = (*this).get_impl(); match IShellImageDataFactory_Impl::CreateIShellImageData(this) { Ok(ok__) => { - core::ptr::write(ppshimg, core::mem::transmute(ok__)); + ppshimg.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -15376,7 +15376,7 @@ impl IShellImageDataFactory_Vtbl { let this = (*this).get_impl(); match IShellImageDataFactory_Impl::CreateImageFromFile(this, core::mem::transmute(&pszpath)) { Ok(ok__) => { - core::ptr::write(ppshimg, core::mem::transmute(ok__)); + ppshimg.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -15387,7 +15387,7 @@ impl IShellImageDataFactory_Vtbl { let this = (*this).get_impl(); match IShellImageDataFactory_Impl::CreateImageFromStream(this, windows_core::from_raw_borrowed(&pstream)) { Ok(ok__) => { - core::ptr::write(ppshimg, core::mem::transmute(ok__)); + ppshimg.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -15398,7 +15398,7 @@ impl IShellImageDataFactory_Vtbl { let this = (*this).get_impl(); match IShellImageDataFactory_Impl::GetDataFormatFromPath(this, core::mem::transmute(&pszpath)) { Ok(ok__) => { - core::ptr::write(pdataformat, core::mem::transmute(ok__)); + pdataformat.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -15439,7 +15439,7 @@ impl IShellItem_Vtbl { let this = (*this).get_impl(); match IShellItem_Impl::GetParent(this) { Ok(ok__) => { - core::ptr::write(ppsi, core::mem::transmute(ok__)); + ppsi.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -15450,7 +15450,7 @@ impl IShellItem_Vtbl { let this = (*this).get_impl(); match IShellItem_Impl::GetDisplayName(this, core::mem::transmute_copy(&sigdnname)) { Ok(ok__) => { - core::ptr::write(ppszname, core::mem::transmute(ok__)); + ppszname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -15461,7 +15461,7 @@ impl IShellItem_Vtbl { let this = (*this).get_impl(); match IShellItem_Impl::GetAttributes(this, core::mem::transmute_copy(&sfgaomask)) { Ok(ok__) => { - core::ptr::write(psfgaoattribs, core::mem::transmute(ok__)); + psfgaoattribs.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -15472,7 +15472,7 @@ impl IShellItem_Vtbl { let this = (*this).get_impl(); match IShellItem_Impl::Compare(this, windows_core::from_raw_borrowed(&psi), core::mem::transmute_copy(&hint)) { Ok(ok__) => { - core::ptr::write(piorder, core::mem::transmute(ok__)); + piorder.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -15542,7 +15542,7 @@ impl IShellItem2_Vtbl { let this = (*this).get_impl(); match IShellItem2_Impl::GetProperty(this, core::mem::transmute_copy(&key)) { Ok(ok__) => { - core::ptr::write(ppropvar, core::mem::transmute(ok__)); + ppropvar.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -15553,7 +15553,7 @@ impl IShellItem2_Vtbl { let this = (*this).get_impl(); match IShellItem2_Impl::GetCLSID(this, core::mem::transmute_copy(&key)) { Ok(ok__) => { - core::ptr::write(pclsid, core::mem::transmute(ok__)); + pclsid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -15564,7 +15564,7 @@ impl IShellItem2_Vtbl { let this = (*this).get_impl(); match IShellItem2_Impl::GetFileTime(this, core::mem::transmute_copy(&key)) { Ok(ok__) => { - core::ptr::write(pft, core::mem::transmute(ok__)); + pft.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -15575,7 +15575,7 @@ impl IShellItem2_Vtbl { let this = (*this).get_impl(); match IShellItem2_Impl::GetInt32(this, core::mem::transmute_copy(&key)) { Ok(ok__) => { - core::ptr::write(pi, core::mem::transmute(ok__)); + pi.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -15586,7 +15586,7 @@ impl IShellItem2_Vtbl { let this = (*this).get_impl(); match IShellItem2_Impl::GetString(this, core::mem::transmute_copy(&key)) { Ok(ok__) => { - core::ptr::write(ppsz, core::mem::transmute(ok__)); + ppsz.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -15597,7 +15597,7 @@ impl IShellItem2_Vtbl { let this = (*this).get_impl(); match IShellItem2_Impl::GetUInt32(this, core::mem::transmute_copy(&key)) { Ok(ok__) => { - core::ptr::write(pui, core::mem::transmute(ok__)); + pui.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -15608,7 +15608,7 @@ impl IShellItem2_Vtbl { let this = (*this).get_impl(); match IShellItem2_Impl::GetUInt64(this, core::mem::transmute_copy(&key)) { Ok(ok__) => { - core::ptr::write(pull, core::mem::transmute(ok__)); + pull.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -15619,7 +15619,7 @@ impl IShellItem2_Vtbl { let this = (*this).get_impl(); match IShellItem2_Impl::GetBool(this, core::mem::transmute_copy(&key)) { Ok(ok__) => { - core::ptr::write(pf, core::mem::transmute(ok__)); + pf.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -15681,7 +15681,7 @@ impl IShellItemArray_Vtbl { let this = (*this).get_impl(); match IShellItemArray_Impl::GetAttributes(this, core::mem::transmute_copy(&attribflags), core::mem::transmute_copy(&sfgaomask)) { Ok(ok__) => { - core::ptr::write(psfgaoattribs, core::mem::transmute(ok__)); + psfgaoattribs.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -15692,7 +15692,7 @@ impl IShellItemArray_Vtbl { let this = (*this).get_impl(); match IShellItemArray_Impl::GetCount(this) { Ok(ok__) => { - core::ptr::write(pdwnumitems, core::mem::transmute(ok__)); + pdwnumitems.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -15703,7 +15703,7 @@ impl IShellItemArray_Vtbl { let this = (*this).get_impl(); match IShellItemArray_Impl::GetItemAt(this, core::mem::transmute_copy(&dwindex)) { Ok(ok__) => { - core::ptr::write(ppsi, core::mem::transmute(ok__)); + ppsi.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -15714,7 +15714,7 @@ impl IShellItemArray_Vtbl { let this = (*this).get_impl(); match IShellItemArray_Impl::EnumItems(this) { Ok(ok__) => { - core::ptr::write(ppenumshellitems, core::mem::transmute(ok__)); + ppenumshellitems.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -15752,7 +15752,7 @@ impl IShellItemFilter_Vtbl { let this = (*this).get_impl(); match IShellItemFilter_Impl::GetEnumFlagsForItem(this, windows_core::from_raw_borrowed(&psi)) { Ok(ok__) => { - core::ptr::write(pgrfflags, core::mem::transmute(ok__)); + pgrfflags.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -15782,7 +15782,7 @@ impl IShellItemImageFactory_Vtbl { let this = (*this).get_impl(); match IShellItemImageFactory_Impl::GetImage(this, core::mem::transmute(&size), core::mem::transmute_copy(&flags)) { Ok(ok__) => { - core::ptr::write(phbm, core::mem::transmute(ok__)); + phbm.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -15814,7 +15814,7 @@ impl IShellItemResources_Vtbl { let this = (*this).get_impl(); match IShellItemResources_Impl::GetAttributes(this) { Ok(ok__) => { - core::ptr::write(pdwattributes, core::mem::transmute(ok__)); + pdwattributes.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -15825,7 +15825,7 @@ impl IShellItemResources_Vtbl { let this = (*this).get_impl(); match IShellItemResources_Impl::GetSize(this) { Ok(ok__) => { - core::ptr::write(pullsize, core::mem::transmute(ok__)); + pullsize.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -15846,7 +15846,7 @@ impl IShellItemResources_Vtbl { let this = (*this).get_impl(); match IShellItemResources_Impl::GetResourceDescription(this, core::mem::transmute_copy(&pcsir)) { Ok(ok__) => { - core::ptr::write(ppszdescription, core::mem::transmute(ok__)); + ppszdescription.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -15857,7 +15857,7 @@ impl IShellItemResources_Vtbl { let this = (*this).get_impl(); match IShellItemResources_Impl::EnumResources(this) { Ok(ok__) => { - core::ptr::write(ppenumr, core::mem::transmute(ok__)); + ppenumr.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -15968,7 +15968,7 @@ impl IShellLibrary_Vtbl { let this = (*this).get_impl(); match IShellLibrary_Impl::GetOptions(this) { Ok(ok__) => { - core::ptr::write(plofoptions, core::mem::transmute(ok__)); + plofoptions.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -15984,7 +15984,7 @@ impl IShellLibrary_Vtbl { let this = (*this).get_impl(); match IShellLibrary_Impl::GetFolderType(this) { Ok(ok__) => { - core::ptr::write(pftid, core::mem::transmute(ok__)); + pftid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -16000,7 +16000,7 @@ impl IShellLibrary_Vtbl { let this = (*this).get_impl(); match IShellLibrary_Impl::GetIcon(this) { Ok(ok__) => { - core::ptr::write(ppszicon, core::mem::transmute(ok__)); + ppszicon.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -16021,7 +16021,7 @@ impl IShellLibrary_Vtbl { let this = (*this).get_impl(); match IShellLibrary_Impl::Save(this, windows_core::from_raw_borrowed(&psifoldertosavein), core::mem::transmute(&pszlibraryname), core::mem::transmute_copy(&lsf)) { Ok(ok__) => { - core::ptr::write(ppsisavedto, core::mem::transmute(ok__)); + ppsisavedto.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -16032,7 +16032,7 @@ impl IShellLibrary_Vtbl { let this = (*this).get_impl(); match IShellLibrary_Impl::SaveInKnownFolder(this, core::mem::transmute_copy(&kfidtosavein), core::mem::transmute(&pszlibraryname), core::mem::transmute_copy(&lsf)) { Ok(ok__) => { - core::ptr::write(ppsisavedto, core::mem::transmute(ok__)); + ppsisavedto.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -16099,7 +16099,7 @@ impl IShellLinkA_Vtbl { let this = (*this).get_impl(); match IShellLinkA_Impl::GetIDList(this) { Ok(ok__) => { - core::ptr::write(ppidl, core::mem::transmute(ok__)); + ppidl.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -16145,7 +16145,7 @@ impl IShellLinkA_Vtbl { let this = (*this).get_impl(); match IShellLinkA_Impl::GetHotkey(this) { Ok(ok__) => { - core::ptr::write(pwhotkey, core::mem::transmute(ok__)); + pwhotkey.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -16161,7 +16161,7 @@ impl IShellLinkA_Vtbl { let this = (*this).get_impl(); match IShellLinkA_Impl::GetShowCmd(this) { Ok(ok__) => { - core::ptr::write(pishowcmd, core::mem::transmute(ok__)); + pishowcmd.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -16253,7 +16253,7 @@ impl IShellLinkDataList_Vtbl { let this = (*this).get_impl(); match IShellLinkDataList_Impl::GetFlags(this) { Ok(ok__) => { - core::ptr::write(pdwflags, core::mem::transmute(ok__)); + pdwflags.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -16306,7 +16306,7 @@ impl IShellLinkDual_Vtbl { let this = (*this).get_impl(); match IShellLinkDual_Impl::Path(this) { Ok(ok__) => { - core::ptr::write(pbs, core::mem::transmute(ok__)); + pbs.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -16322,7 +16322,7 @@ impl IShellLinkDual_Vtbl { let this = (*this).get_impl(); match IShellLinkDual_Impl::Description(this) { Ok(ok__) => { - core::ptr::write(pbs, core::mem::transmute(ok__)); + pbs.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -16338,7 +16338,7 @@ impl IShellLinkDual_Vtbl { let this = (*this).get_impl(); match IShellLinkDual_Impl::WorkingDirectory(this) { Ok(ok__) => { - core::ptr::write(pbs, core::mem::transmute(ok__)); + pbs.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -16354,7 +16354,7 @@ impl IShellLinkDual_Vtbl { let this = (*this).get_impl(); match IShellLinkDual_Impl::Arguments(this) { Ok(ok__) => { - core::ptr::write(pbs, core::mem::transmute(ok__)); + pbs.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -16370,7 +16370,7 @@ impl IShellLinkDual_Vtbl { let this = (*this).get_impl(); match IShellLinkDual_Impl::Hotkey(this) { Ok(ok__) => { - core::ptr::write(pihk, core::mem::transmute(ok__)); + pihk.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -16386,7 +16386,7 @@ impl IShellLinkDual_Vtbl { let this = (*this).get_impl(); match IShellLinkDual_Impl::ShowCommand(this) { Ok(ok__) => { - core::ptr::write(pishowcommand, core::mem::transmute(ok__)); + pishowcommand.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -16407,7 +16407,7 @@ impl IShellLinkDual_Vtbl { let this = (*this).get_impl(); match IShellLinkDual_Impl::GetIconLocation(this, core::mem::transmute_copy(&pbs)) { Ok(ok__) => { - core::ptr::write(piicon, core::mem::transmute(ok__)); + piicon.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -16461,7 +16461,7 @@ impl IShellLinkDual2_Vtbl { let this = (*this).get_impl(); match IShellLinkDual2_Impl::Target(this) { Ok(ok__) => { - core::ptr::write(ppfi, core::mem::transmute(ok__)); + ppfi.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -16509,7 +16509,7 @@ impl IShellLinkW_Vtbl { let this = (*this).get_impl(); match IShellLinkW_Impl::GetIDList(this) { Ok(ok__) => { - core::ptr::write(ppidl, core::mem::transmute(ok__)); + ppidl.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -16555,7 +16555,7 @@ impl IShellLinkW_Vtbl { let this = (*this).get_impl(); match IShellLinkW_Impl::GetHotkey(this) { Ok(ok__) => { - core::ptr::write(pwhotkey, core::mem::transmute(ok__)); + pwhotkey.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -16571,7 +16571,7 @@ impl IShellLinkW_Vtbl { let this = (*this).get_impl(); match IShellLinkW_Impl::GetShowCmd(this) { Ok(ok__) => { - core::ptr::write(pishowcmd, core::mem::transmute(ok__)); + pishowcmd.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -16766,7 +16766,7 @@ impl IShellNameSpace_Vtbl { let this = (*this).get_impl(); match IShellNameSpace_Impl::EnumOptions(this) { Ok(ok__) => { - core::ptr::write(pgrfenumflags, core::mem::transmute(ok__)); + pgrfenumflags.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -16782,7 +16782,7 @@ impl IShellNameSpace_Vtbl { let this = (*this).get_impl(); match IShellNameSpace_Impl::SelectedItem(this) { Ok(ok__) => { - core::ptr::write(pitem, core::mem::transmute(ok__)); + pitem.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -16798,7 +16798,7 @@ impl IShellNameSpace_Vtbl { let this = (*this).get_impl(); match IShellNameSpace_Impl::Root(this) { Ok(ok__) => { - core::ptr::write(pvar, core::mem::transmute(ok__)); + pvar.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -16814,7 +16814,7 @@ impl IShellNameSpace_Vtbl { let this = (*this).get_impl(); match IShellNameSpace_Impl::Depth(this) { Ok(ok__) => { - core::ptr::write(pidepth, core::mem::transmute(ok__)); + pidepth.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -16830,7 +16830,7 @@ impl IShellNameSpace_Vtbl { let this = (*this).get_impl(); match IShellNameSpace_Impl::Mode(this) { Ok(ok__) => { - core::ptr::write(pumode, core::mem::transmute(ok__)); + pumode.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -16846,7 +16846,7 @@ impl IShellNameSpace_Vtbl { let this = (*this).get_impl(); match IShellNameSpace_Impl::Flags(this) { Ok(ok__) => { - core::ptr::write(pdwflags, core::mem::transmute(ok__)); + pdwflags.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -16867,7 +16867,7 @@ impl IShellNameSpace_Vtbl { let this = (*this).get_impl(); match IShellNameSpace_Impl::TVFlags(this) { Ok(ok__) => { - core::ptr::write(dwflags, core::mem::transmute(ok__)); + dwflags.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -16878,7 +16878,7 @@ impl IShellNameSpace_Vtbl { let this = (*this).get_impl(); match IShellNameSpace_Impl::Columns(this) { Ok(ok__) => { - core::ptr::write(bstrcolumns, core::mem::transmute(ok__)); + bstrcolumns.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -16894,7 +16894,7 @@ impl IShellNameSpace_Vtbl { let this = (*this).get_impl(); match IShellNameSpace_Impl::CountViewTypes(this) { Ok(ok__) => { - core::ptr::write(pitypes, core::mem::transmute(ok__)); + pitypes.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -16910,7 +16910,7 @@ impl IShellNameSpace_Vtbl { let this = (*this).get_impl(); match IShellNameSpace_Impl::SelectedItems(this) { Ok(ok__) => { - core::ptr::write(ppid, core::mem::transmute(ok__)); + ppid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -17116,7 +17116,7 @@ impl IShellUIHelper_Vtbl { let this = (*this).get_impl(); match IShellUIHelper_Impl::IsSubscribed(this, core::mem::transmute(&url)) { Ok(ok__) => { - core::ptr::write(pbool, core::mem::transmute(ok__)); + pbool.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -17152,7 +17152,7 @@ impl IShellUIHelper_Vtbl { let this = (*this).get_impl(); match IShellUIHelper_Impl::ShowBrowserUI(this, core::mem::transmute(&bstrname), core::mem::transmute_copy(&pvarin)) { Ok(ok__) => { - core::ptr::write(pvarout, core::mem::transmute(ok__)); + pvarout.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -17228,7 +17228,7 @@ impl IShellUIHelper2_Vtbl { let this = (*this).get_impl(); match IShellUIHelper2_Impl::SqmEnabled(this) { Ok(ok__) => { - core::ptr::write(pfenabled, core::mem::transmute(ok__)); + pfenabled.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -17239,7 +17239,7 @@ impl IShellUIHelper2_Vtbl { let this = (*this).get_impl(); match IShellUIHelper2_Impl::PhishingEnabled(this) { Ok(ok__) => { - core::ptr::write(pfenabled, core::mem::transmute(ok__)); + pfenabled.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -17250,7 +17250,7 @@ impl IShellUIHelper2_Vtbl { let this = (*this).get_impl(); match IShellUIHelper2_Impl::BrandImageUri(this) { Ok(ok__) => { - core::ptr::write(pbstruri, core::mem::transmute(ok__)); + pbstruri.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -17276,7 +17276,7 @@ impl IShellUIHelper2_Vtbl { let this = (*this).get_impl(); match IShellUIHelper2_Impl::IsSearchProviderInstalled(this, core::mem::transmute(&url)) { Ok(ok__) => { - core::ptr::write(pdwresult, core::mem::transmute(ok__)); + pdwresult.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -17287,7 +17287,7 @@ impl IShellUIHelper2_Vtbl { let this = (*this).get_impl(); match IShellUIHelper2_Impl::IsSearchMigrated(this) { Ok(ok__) => { - core::ptr::write(pfmigrated, core::mem::transmute(ok__)); + pfmigrated.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -17298,7 +17298,7 @@ impl IShellUIHelper2_Vtbl { let this = (*this).get_impl(); match IShellUIHelper2_Impl::DefaultSearchProvider(this) { Ok(ok__) => { - core::ptr::write(pbstrname, core::mem::transmute(ok__)); + pbstrname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -17314,7 +17314,7 @@ impl IShellUIHelper2_Vtbl { let this = (*this).get_impl(); match IShellUIHelper2_Impl::RunOnceHasShown(this) { Ok(ok__) => { - core::ptr::write(pfshown, core::mem::transmute(ok__)); + pfshown.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -17325,7 +17325,7 @@ impl IShellUIHelper2_Vtbl { let this = (*this).get_impl(); match IShellUIHelper2_Impl::SearchGuideUrl(this) { Ok(ok__) => { - core::ptr::write(pbstrurl, core::mem::transmute(ok__)); + pbstrurl.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -17386,7 +17386,7 @@ impl IShellUIHelper3_Vtbl { let this = (*this).get_impl(); match IShellUIHelper3_Impl::IsServiceInstalled(this, core::mem::transmute(&url), core::mem::transmute(&verb)) { Ok(ok__) => { - core::ptr::write(pdwresult, core::mem::transmute(ok__)); + pdwresult.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -17397,7 +17397,7 @@ impl IShellUIHelper3_Vtbl { let this = (*this).get_impl(); match IShellUIHelper3_Impl::InPrivateFilteringEnabled(this) { Ok(ok__) => { - core::ptr::write(pfenabled, core::mem::transmute(ok__)); + pfenabled.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -17433,7 +17433,7 @@ impl IShellUIHelper3_Vtbl { let this = (*this).get_impl(); match IShellUIHelper3_Impl::IsSuggestedSitesEnabled(this) { Ok(ok__) => { - core::ptr::write(pfenabled, core::mem::transmute(ok__)); + pfenabled.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -17511,7 +17511,7 @@ impl IShellUIHelper4_Vtbl { let this = (*this).get_impl(); match IShellUIHelper4_Impl::msIsSiteMode(this) { Ok(ok__) => { - core::ptr::write(pfsitemode, core::mem::transmute(ok__)); + pfsitemode.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -17527,7 +17527,7 @@ impl IShellUIHelper4_Vtbl { let this = (*this).get_impl(); match IShellUIHelper4_Impl::msSiteModeAddThumbBarButton(this, core::mem::transmute(&bstriconurl), core::mem::transmute(&bstrtooltip)) { Ok(ok__) => { - core::ptr::write(pvarbuttonid, core::mem::transmute(ok__)); + pvarbuttonid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -17578,7 +17578,7 @@ impl IShellUIHelper4_Vtbl { let this = (*this).get_impl(); match IShellUIHelper4_Impl::msSiteModeAddButtonStyle(this, core::mem::transmute(&uibuttonid), core::mem::transmute(&bstriconurl), core::mem::transmute(&bstrtooltip)) { Ok(ok__) => { - core::ptr::write(pvarstyleid, core::mem::transmute(ok__)); + pvarstyleid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -17599,7 +17599,7 @@ impl IShellUIHelper4_Vtbl { let this = (*this).get_impl(); match IShellUIHelper4_Impl::msIsSiteModeFirstRun(this, core::mem::transmute_copy(&fpreservestate)) { Ok(ok__) => { - core::ptr::write(puifirstrun, core::mem::transmute(ok__)); + puifirstrun.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -17615,7 +17615,7 @@ impl IShellUIHelper4_Vtbl { let this = (*this).get_impl(); match IShellUIHelper4_Impl::msTrackingProtectionEnabled(this) { Ok(ok__) => { - core::ptr::write(pfenabled, core::mem::transmute(ok__)); + pfenabled.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -17626,7 +17626,7 @@ impl IShellUIHelper4_Vtbl { let this = (*this).get_impl(); match IShellUIHelper4_Impl::msActiveXFilteringEnabled(this) { Ok(ok__) => { - core::ptr::write(pfenabled, core::mem::transmute(ok__)); + pfenabled.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -17678,7 +17678,7 @@ impl IShellUIHelper5_Vtbl { let this = (*this).get_impl(); match IShellUIHelper5_Impl::msProvisionNetworks(this, core::mem::transmute(&bstrprovisioningxml)) { Ok(ok__) => { - core::ptr::write(puiresult, core::mem::transmute(ok__)); + puiresult.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -17781,7 +17781,7 @@ impl IShellUIHelper6_Vtbl { let this = (*this).get_impl(); match IShellUIHelper6_Impl::msPinnedSiteState(this) { Ok(ok__) => { - core::ptr::write(pvarsitestate, core::mem::transmute(ok__)); + pvarsitestate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -17876,7 +17876,7 @@ impl IShellUIHelper7_Vtbl { let this = (*this).get_impl(); match IShellUIHelper7_Impl::GetExperimentalFlag(this, core::mem::transmute(&bstrflagstring)) { Ok(ok__) => { - core::ptr::write(vfflag, core::mem::transmute(ok__)); + vfflag.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -17892,7 +17892,7 @@ impl IShellUIHelper7_Vtbl { let this = (*this).get_impl(); match IShellUIHelper7_Impl::GetExperimentalValue(this, core::mem::transmute(&bstrvaluestring)) { Ok(ok__) => { - core::ptr::write(pdwvalue, core::mem::transmute(ok__)); + pdwvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -17908,7 +17908,7 @@ impl IShellUIHelper7_Vtbl { let this = (*this).get_impl(); match IShellUIHelper7_Impl::GetNeedIEAutoLaunchFlag(this, core::mem::transmute(&bstrurl)) { Ok(ok__) => { - core::ptr::write(flag, core::mem::transmute(ok__)); + flag.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -17924,7 +17924,7 @@ impl IShellUIHelper7_Vtbl { let this = (*this).get_impl(); match IShellUIHelper7_Impl::HasNeedIEAutoLaunchFlag(this, core::mem::transmute(&bstrurl)) { Ok(ok__) => { - core::ptr::write(exists, core::mem::transmute(ok__)); + exists.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -17972,7 +17972,7 @@ impl IShellUIHelper8_Vtbl { let this = (*this).get_impl(); match IShellUIHelper8_Impl::GetCVListData(this) { Ok(ok__) => { - core::ptr::write(pbstrresult, core::mem::transmute(ok__)); + pbstrresult.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -17983,7 +17983,7 @@ impl IShellUIHelper8_Vtbl { let this = (*this).get_impl(); match IShellUIHelper8_Impl::GetCVListLocalData(this) { Ok(ok__) => { - core::ptr::write(pbstrresult, core::mem::transmute(ok__)); + pbstrresult.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -17994,7 +17994,7 @@ impl IShellUIHelper8_Vtbl { let this = (*this).get_impl(); match IShellUIHelper8_Impl::GetEMIEListData(this) { Ok(ok__) => { - core::ptr::write(pbstrresult, core::mem::transmute(ok__)); + pbstrresult.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -18005,7 +18005,7 @@ impl IShellUIHelper8_Vtbl { let this = (*this).get_impl(); match IShellUIHelper8_Impl::GetEMIEListLocalData(this) { Ok(ok__) => { - core::ptr::write(pbstrresult, core::mem::transmute(ok__)); + pbstrresult.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -18055,7 +18055,7 @@ impl IShellUIHelper9_Vtbl { let this = (*this).get_impl(); match IShellUIHelper9_Impl::GetOSSku(this) { Ok(ok__) => { - core::ptr::write(pdwresult, core::mem::transmute(ok__)); + pdwresult.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -18111,7 +18111,7 @@ impl IShellView_Vtbl { let this = (*this).get_impl(); match IShellView_Impl::CreateViewWindow(this, windows_core::from_raw_borrowed(&psvprevious), core::mem::transmute_copy(&pfs), windows_core::from_raw_borrowed(&psb), core::mem::transmute_copy(&prcview)) { Ok(ok__) => { - core::ptr::write(phwnd, core::mem::transmute(ok__)); + phwnd.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -18127,7 +18127,7 @@ impl IShellView_Vtbl { let this = (*this).get_impl(); match IShellView_Impl::GetCurrentInfo(this) { Ok(ok__) => { - core::ptr::write(pfs, core::mem::transmute(ok__)); + pfs.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -18230,7 +18230,7 @@ impl IShellView3_Vtbl { let this = (*this).get_impl(); match IShellView3_Impl::CreateViewWindow3(this, windows_core::from_raw_borrowed(&psbowner), windows_core::from_raw_borrowed(&psvprev), core::mem::transmute_copy(&dwviewflags), core::mem::transmute_copy(&dwmask), core::mem::transmute_copy(&dwflags), core::mem::transmute_copy(&fvmode), core::mem::transmute_copy(&pvid), core::mem::transmute_copy(&prcview)) { Ok(ok__) => { - core::ptr::write(phwndview, core::mem::transmute(ok__)); + phwndview.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -18266,7 +18266,7 @@ impl IShellWindows_Vtbl { let this = (*this).get_impl(); match IShellWindows_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(count, core::mem::transmute(ok__)); + count.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -18277,7 +18277,7 @@ impl IShellWindows_Vtbl { let this = (*this).get_impl(); match IShellWindows_Impl::Item(this, core::mem::transmute(&index)) { Ok(ok__) => { - core::ptr::write(folder, core::mem::transmute(ok__)); + folder.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -18288,7 +18288,7 @@ impl IShellWindows_Vtbl { let this = (*this).get_impl(); match IShellWindows_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(ppunk, core::mem::transmute(ok__)); + ppunk.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -18299,7 +18299,7 @@ impl IShellWindows_Vtbl { let this = (*this).get_impl(); match IShellWindows_Impl::Register(this, windows_core::from_raw_borrowed(&pid), core::mem::transmute_copy(&hwnd), core::mem::transmute_copy(&swclass)) { Ok(ok__) => { - core::ptr::write(plcookie, core::mem::transmute(ok__)); + plcookie.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -18310,7 +18310,7 @@ impl IShellWindows_Vtbl { let this = (*this).get_impl(); match IShellWindows_Impl::RegisterPending(this, core::mem::transmute_copy(<hreadid), core::mem::transmute_copy(&pvarloc), core::mem::transmute_copy(&pvarlocroot), core::mem::transmute_copy(&swclass)) { Ok(ok__) => { - core::ptr::write(plcookie, core::mem::transmute(ok__)); + plcookie.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -18336,7 +18336,7 @@ impl IShellWindows_Vtbl { let this = (*this).get_impl(); match IShellWindows_Impl::FindWindowSW(this, core::mem::transmute_copy(&pvarloc), core::mem::transmute_copy(&pvarlocroot), core::mem::transmute_copy(&swclass), core::mem::transmute_copy(&phwnd), core::mem::transmute_copy(&swfwoptions)) { Ok(ok__) => { - core::ptr::write(ppdispout, core::mem::transmute(ok__)); + ppdispout.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -18387,7 +18387,7 @@ impl ISortColumnArray_Vtbl { let this = (*this).get_impl(); match ISortColumnArray_Impl::GetCount(this) { Ok(ok__) => { - core::ptr::write(columncount, core::mem::transmute(ok__)); + columncount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -18403,7 +18403,7 @@ impl ISortColumnArray_Vtbl { let this = (*this).get_impl(); match ISortColumnArray_Impl::GetSortType(this) { Ok(ok__) => { - core::ptr::write(r#type, core::mem::transmute(ok__)); + r#type.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -18466,7 +18466,7 @@ impl IStorageProviderBanners_Vtbl { let this = (*this).get_impl(); match IStorageProviderBanners_Impl::GetBanner(this, core::mem::transmute(&provideridentity), core::mem::transmute(&subscriptionid)) { Ok(ok__) => { - core::ptr::write(contentid, core::mem::transmute(ok__)); + contentid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -18495,7 +18495,7 @@ impl IStorageProviderCopyHook_Vtbl { let this = (*this).get_impl(); match IStorageProviderCopyHook_Impl::CopyCallback(this, core::mem::transmute_copy(&hwnd), core::mem::transmute_copy(&operation), core::mem::transmute_copy(&flags), core::mem::transmute(&srcfile), core::mem::transmute_copy(&srcattribs), core::mem::transmute(&destfile), core::mem::transmute_copy(&destattribs)) { Ok(ok__) => { - core::ptr::write(result, core::mem::transmute(ok__)); + result.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -18520,7 +18520,7 @@ impl IStorageProviderHandler_Vtbl { let this = (*this).get_impl(); match IStorageProviderHandler_Impl::GetPropertyHandlerFromPath(this, core::mem::transmute(&path)) { Ok(ok__) => { - core::ptr::write(propertyhandler, core::mem::transmute(ok__)); + propertyhandler.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -18531,7 +18531,7 @@ impl IStorageProviderHandler_Vtbl { let this = (*this).get_impl(); match IStorageProviderHandler_Impl::GetPropertyHandlerFromUri(this, core::mem::transmute(&uri)) { Ok(ok__) => { - core::ptr::write(propertyhandler, core::mem::transmute(ok__)); + propertyhandler.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -18542,7 +18542,7 @@ impl IStorageProviderHandler_Vtbl { let this = (*this).get_impl(); match IStorageProviderHandler_Impl::GetPropertyHandlerFromFileId(this, core::mem::transmute(&fileid)) { Ok(ok__) => { - core::ptr::write(propertyhandler, core::mem::transmute(ok__)); + propertyhandler.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -18574,7 +18574,7 @@ impl IStorageProviderPropertyHandler_Vtbl { let this = (*this).get_impl(); match IStorageProviderPropertyHandler_Impl::RetrieveProperties(this, core::mem::transmute_copy(&propertiestoretrieve), core::mem::transmute_copy(&propertiestoretrievecount)) { Ok(ok__) => { - core::ptr::write(retrievedproperties, core::mem::transmute(ok__)); + retrievedproperties.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -18650,7 +18650,7 @@ impl IStreamUnbufferedInfo_Vtbl { let this = (*this).get_impl(); match IStreamUnbufferedInfo_Impl::GetSectorSize(this) { Ok(ok__) => { - core::ptr::write(pcbsectorsize, core::mem::transmute(ok__)); + pcbsectorsize.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -18714,7 +18714,7 @@ impl ISyncMgrConflict_Vtbl { let this = (*this).get_impl(); match ISyncMgrConflict_Impl::GetProperty(this, core::mem::transmute_copy(&propkey)) { Ok(ok__) => { - core::ptr::write(ppropvar, core::mem::transmute(ok__)); + ppropvar.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -18725,7 +18725,7 @@ impl ISyncMgrConflict_Vtbl { let this = (*this).get_impl(); match ISyncMgrConflict_Impl::GetConflictIdInfo(this) { Ok(ok__) => { - core::ptr::write(pconflictidinfo, core::mem::transmute(ok__)); + pconflictidinfo.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -18736,7 +18736,7 @@ impl ISyncMgrConflict_Vtbl { let this = (*this).get_impl(); match ISyncMgrConflict_Impl::GetItemsArray(this) { Ok(ok__) => { - core::ptr::write(pparray, core::mem::transmute(ok__)); + pparray.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -18779,7 +18779,7 @@ impl ISyncMgrConflictFolder_Vtbl { let this = (*this).get_impl(); match ISyncMgrConflictFolder_Impl::GetConflictIDList(this, windows_core::from_raw_borrowed(&pconflict)) { Ok(ok__) => { - core::ptr::write(ppidlconflict, core::mem::transmute(ok__)); + ppidlconflict.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -18803,7 +18803,7 @@ impl ISyncMgrConflictItems_Vtbl { let this = (*this).get_impl(); match ISyncMgrConflictItems_Impl::GetCount(this) { Ok(ok__) => { - core::ptr::write(pcount, core::mem::transmute(ok__)); + pcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -18853,7 +18853,7 @@ impl ISyncMgrConflictResolutionItems_Vtbl { let this = (*this).get_impl(); match ISyncMgrConflictResolutionItems_Impl::GetCount(this) { Ok(ok__) => { - core::ptr::write(pcount, core::mem::transmute(ok__)); + pcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -18864,7 +18864,7 @@ impl ISyncMgrConflictResolutionItems_Vtbl { let this = (*this).get_impl(); match ISyncMgrConflictResolutionItems_Impl::GetItem(this, core::mem::transmute_copy(&iindex)) { Ok(ok__) => { - core::ptr::write(piteminfo, core::mem::transmute(ok__)); + piteminfo.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -18903,7 +18903,7 @@ impl ISyncMgrConflictResolveInfo_Vtbl { let this = (*this).get_impl(); match ISyncMgrConflictResolveInfo_Impl::GetPresenterNextStep(this) { Ok(ok__) => { - core::ptr::write(pnpresenternextstep, core::mem::transmute(ok__)); + pnpresenternextstep.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -18919,7 +18919,7 @@ impl ISyncMgrConflictResolveInfo_Vtbl { let this = (*this).get_impl(); match ISyncMgrConflictResolveInfo_Impl::GetItemChoiceCount(this) { Ok(ok__) => { - core::ptr::write(pcchoices, core::mem::transmute(ok__)); + pcchoices.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -18930,7 +18930,7 @@ impl ISyncMgrConflictResolveInfo_Vtbl { let this = (*this).get_impl(); match ISyncMgrConflictResolveInfo_Impl::GetItemChoice(this, core::mem::transmute_copy(&ichoice)) { Ok(ok__) => { - core::ptr::write(pichoiceindex, core::mem::transmute(ok__)); + pichoiceindex.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -18984,7 +18984,7 @@ impl ISyncMgrConflictStore_Vtbl { let this = (*this).get_impl(); match ISyncMgrConflictStore_Impl::EnumConflicts(this, core::mem::transmute(&pszhandlerid), core::mem::transmute(&pszitemid)) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -19005,7 +19005,7 @@ impl ISyncMgrConflictStore_Vtbl { let this = (*this).get_impl(); match ISyncMgrConflictStore_Impl::GetCount(this, core::mem::transmute(&pszhandlerid), core::mem::transmute(&pszitemid)) { Ok(ok__) => { - core::ptr::write(pnconflicts, core::mem::transmute(ok__)); + pnconflicts.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -19173,7 +19173,7 @@ impl ISyncMgrEnumItems_Vtbl { let this = (*this).get_impl(); match ISyncMgrEnumItems_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -19212,7 +19212,7 @@ impl ISyncMgrEvent_Vtbl { let this = (*this).get_impl(); match ISyncMgrEvent_Impl::GetEventID(this) { Ok(ok__) => { - core::ptr::write(pguideventid, core::mem::transmute(ok__)); + pguideventid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -19223,7 +19223,7 @@ impl ISyncMgrEvent_Vtbl { let this = (*this).get_impl(); match ISyncMgrEvent_Impl::GetHandlerID(this) { Ok(ok__) => { - core::ptr::write(ppszhandlerid, core::mem::transmute(ok__)); + ppszhandlerid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -19234,7 +19234,7 @@ impl ISyncMgrEvent_Vtbl { let this = (*this).get_impl(); match ISyncMgrEvent_Impl::GetItemID(this) { Ok(ok__) => { - core::ptr::write(ppszitemid, core::mem::transmute(ok__)); + ppszitemid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -19245,7 +19245,7 @@ impl ISyncMgrEvent_Vtbl { let this = (*this).get_impl(); match ISyncMgrEvent_Impl::GetLevel(this) { Ok(ok__) => { - core::ptr::write(pnlevel, core::mem::transmute(ok__)); + pnlevel.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -19256,7 +19256,7 @@ impl ISyncMgrEvent_Vtbl { let this = (*this).get_impl(); match ISyncMgrEvent_Impl::GetFlags(this) { Ok(ok__) => { - core::ptr::write(pnflags, core::mem::transmute(ok__)); + pnflags.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -19267,7 +19267,7 @@ impl ISyncMgrEvent_Vtbl { let this = (*this).get_impl(); match ISyncMgrEvent_Impl::GetTime(this) { Ok(ok__) => { - core::ptr::write(pfcreationtime, core::mem::transmute(ok__)); + pfcreationtime.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -19278,7 +19278,7 @@ impl ISyncMgrEvent_Vtbl { let this = (*this).get_impl(); match ISyncMgrEvent_Impl::GetName(this) { Ok(ok__) => { - core::ptr::write(ppszname, core::mem::transmute(ok__)); + ppszname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -19289,7 +19289,7 @@ impl ISyncMgrEvent_Vtbl { let this = (*this).get_impl(); match ISyncMgrEvent_Impl::GetDescription(this) { Ok(ok__) => { - core::ptr::write(ppszdescription, core::mem::transmute(ok__)); + ppszdescription.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -19300,7 +19300,7 @@ impl ISyncMgrEvent_Vtbl { let this = (*this).get_impl(); match ISyncMgrEvent_Impl::GetLinkText(this) { Ok(ok__) => { - core::ptr::write(ppszlinktext, core::mem::transmute(ok__)); + ppszlinktext.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -19311,7 +19311,7 @@ impl ISyncMgrEvent_Vtbl { let this = (*this).get_impl(); match ISyncMgrEvent_Impl::GetLinkReference(this) { Ok(ok__) => { - core::ptr::write(ppszlinkreference, core::mem::transmute(ok__)); + ppszlinkreference.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -19322,7 +19322,7 @@ impl ISyncMgrEvent_Vtbl { let this = (*this).get_impl(); match ISyncMgrEvent_Impl::GetContext(this) { Ok(ok__) => { - core::ptr::write(ppszcontext, core::mem::transmute(ok__)); + ppszcontext.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -19378,7 +19378,7 @@ impl ISyncMgrEventStore_Vtbl { let this = (*this).get_impl(); match ISyncMgrEventStore_Impl::GetEventEnumerator(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -19389,7 +19389,7 @@ impl ISyncMgrEventStore_Vtbl { let this = (*this).get_impl(); match ISyncMgrEventStore_Impl::GetEventCount(this) { Ok(ok__) => { - core::ptr::write(pcevents, core::mem::transmute(ok__)); + pcevents.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -19400,7 +19400,7 @@ impl ISyncMgrEventStore_Vtbl { let this = (*this).get_impl(); match ISyncMgrEventStore_Impl::GetEvent(this, core::mem::transmute_copy(&rguideventid)) { Ok(ok__) => { - core::ptr::write(ppevent, core::mem::transmute(ok__)); + ppevent.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -19441,7 +19441,7 @@ impl ISyncMgrHandler_Vtbl { let this = (*this).get_impl(); match ISyncMgrHandler_Impl::GetName(this) { Ok(ok__) => { - core::ptr::write(ppszname, core::mem::transmute(ok__)); + ppszname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -19452,7 +19452,7 @@ impl ISyncMgrHandler_Vtbl { let this = (*this).get_impl(); match ISyncMgrHandler_Impl::GetHandlerInfo(this) { Ok(ok__) => { - core::ptr::write(pphandlerinfo, core::mem::transmute(ok__)); + pphandlerinfo.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -19468,7 +19468,7 @@ impl ISyncMgrHandler_Vtbl { let this = (*this).get_impl(); match ISyncMgrHandler_Impl::GetCapabilities(this) { Ok(ok__) => { - core::ptr::write(pmcapabilities, core::mem::transmute(ok__)); + pmcapabilities.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -19479,7 +19479,7 @@ impl ISyncMgrHandler_Vtbl { let this = (*this).get_impl(); match ISyncMgrHandler_Impl::GetPolicies(this) { Ok(ok__) => { - core::ptr::write(pmpolicies, core::mem::transmute(ok__)); + pmpolicies.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -19531,7 +19531,7 @@ impl ISyncMgrHandlerCollection_Vtbl { let this = (*this).get_impl(); match ISyncMgrHandlerCollection_Impl::GetHandlerEnumerator(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -19569,7 +19569,7 @@ impl ISyncMgrHandlerInfo_Vtbl { let this = (*this).get_impl(); match ISyncMgrHandlerInfo_Impl::GetType(this) { Ok(ok__) => { - core::ptr::write(pntype, core::mem::transmute(ok__)); + pntype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -19580,7 +19580,7 @@ impl ISyncMgrHandlerInfo_Vtbl { let this = (*this).get_impl(); match ISyncMgrHandlerInfo_Impl::GetTypeLabel(this) { Ok(ok__) => { - core::ptr::write(ppsztypelabel, core::mem::transmute(ok__)); + ppsztypelabel.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -19591,7 +19591,7 @@ impl ISyncMgrHandlerInfo_Vtbl { let this = (*this).get_impl(); match ISyncMgrHandlerInfo_Impl::GetComment(this) { Ok(ok__) => { - core::ptr::write(ppszcomment, core::mem::transmute(ok__)); + ppszcomment.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -19602,7 +19602,7 @@ impl ISyncMgrHandlerInfo_Vtbl { let this = (*this).get_impl(); match ISyncMgrHandlerInfo_Impl::GetLastSyncTime(this) { Ok(ok__) => { - core::ptr::write(pftlastsync, core::mem::transmute(ok__)); + pftlastsync.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -19687,7 +19687,7 @@ impl ISyncMgrResolutionHandler_Vtbl { let this = (*this).get_impl(); match ISyncMgrResolutionHandler_Impl::QueryAbilities(this) { Ok(ok__) => { - core::ptr::write(pdwabilities, core::mem::transmute(ok__)); + pdwabilities.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -19698,7 +19698,7 @@ impl ISyncMgrResolutionHandler_Vtbl { let this = (*this).get_impl(); match ISyncMgrResolutionHandler_Impl::KeepOther(this, windows_core::from_raw_borrowed(&psiother)) { Ok(ok__) => { - core::ptr::write(pfeedback, core::mem::transmute(ok__)); + pfeedback.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -19709,7 +19709,7 @@ impl ISyncMgrResolutionHandler_Vtbl { let this = (*this).get_impl(); match ISyncMgrResolutionHandler_Impl::KeepRecent(this) { Ok(ok__) => { - core::ptr::write(pfeedback, core::mem::transmute(ok__)); + pfeedback.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -19720,7 +19720,7 @@ impl ISyncMgrResolutionHandler_Vtbl { let this = (*this).get_impl(); match ISyncMgrResolutionHandler_Impl::RemoveFromSyncSet(this) { Ok(ok__) => { - core::ptr::write(pfeedback, core::mem::transmute(ok__)); + pfeedback.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -19731,7 +19731,7 @@ impl ISyncMgrResolutionHandler_Vtbl { let this = (*this).get_impl(); match ISyncMgrResolutionHandler_Impl::KeepItems(this, windows_core::from_raw_borrowed(&parray)) { Ok(ok__) => { - core::ptr::write(pfeedback, core::mem::transmute(ok__)); + pfeedback.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -19778,7 +19778,7 @@ impl ISyncMgrSessionCreator_Vtbl { let this = (*this).get_impl(); match ISyncMgrSessionCreator_Impl::CreateSession(this, core::mem::transmute(&pszhandlerid), core::mem::transmute_copy(&ppszitemids), core::mem::transmute_copy(&citems)) { Ok(ok__) => { - core::ptr::write(ppcallback, core::mem::transmute(ok__)); + ppcallback.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -19823,7 +19823,7 @@ impl ISyncMgrSyncCallback_Vtbl { let this = (*this).get_impl(); match ISyncMgrSyncCallback_Impl::ReportEvent(this, core::mem::transmute(&pszitemid), core::mem::transmute_copy(&nlevel), core::mem::transmute_copy(&nflags), core::mem::transmute(&pszname), core::mem::transmute(&pszdescription), core::mem::transmute(&pszlinktext), core::mem::transmute(&pszlinkreference), core::mem::transmute(&pszcontext)) { Ok(ok__) => { - core::ptr::write(pguideventid, core::mem::transmute(ok__)); + pguideventid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -19900,7 +19900,7 @@ impl ISyncMgrSyncItem_Vtbl { let this = (*this).get_impl(); match ISyncMgrSyncItem_Impl::GetItemID(this) { Ok(ok__) => { - core::ptr::write(ppszitemid, core::mem::transmute(ok__)); + ppszitemid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -19911,7 +19911,7 @@ impl ISyncMgrSyncItem_Vtbl { let this = (*this).get_impl(); match ISyncMgrSyncItem_Impl::GetName(this) { Ok(ok__) => { - core::ptr::write(ppszname, core::mem::transmute(ok__)); + ppszname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -19922,7 +19922,7 @@ impl ISyncMgrSyncItem_Vtbl { let this = (*this).get_impl(); match ISyncMgrSyncItem_Impl::GetItemInfo(this) { Ok(ok__) => { - core::ptr::write(ppiteminfo, core::mem::transmute(ok__)); + ppiteminfo.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -19938,7 +19938,7 @@ impl ISyncMgrSyncItem_Vtbl { let this = (*this).get_impl(); match ISyncMgrSyncItem_Impl::GetCapabilities(this) { Ok(ok__) => { - core::ptr::write(pmcapabilities, core::mem::transmute(ok__)); + pmcapabilities.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -19949,7 +19949,7 @@ impl ISyncMgrSyncItem_Vtbl { let this = (*this).get_impl(); match ISyncMgrSyncItem_Impl::GetPolicies(this) { Ok(ok__) => { - core::ptr::write(pmpolicies, core::mem::transmute(ok__)); + pmpolicies.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -19994,7 +19994,7 @@ impl ISyncMgrSyncItemContainer_Vtbl { let this = (*this).get_impl(); match ISyncMgrSyncItemContainer_Impl::GetSyncItem(this, core::mem::transmute(&pszitemid)) { Ok(ok__) => { - core::ptr::write(ppitem, core::mem::transmute(ok__)); + ppitem.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -20005,7 +20005,7 @@ impl ISyncMgrSyncItemContainer_Vtbl { let this = (*this).get_impl(); match ISyncMgrSyncItemContainer_Impl::GetSyncItemEnumerator(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -20016,7 +20016,7 @@ impl ISyncMgrSyncItemContainer_Vtbl { let this = (*this).get_impl(); match ISyncMgrSyncItemContainer_Impl::GetSyncItemCount(this) { Ok(ok__) => { - core::ptr::write(pcitems, core::mem::transmute(ok__)); + pcitems.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -20048,7 +20048,7 @@ impl ISyncMgrSyncItemInfo_Vtbl { let this = (*this).get_impl(); match ISyncMgrSyncItemInfo_Impl::GetTypeLabel(this) { Ok(ok__) => { - core::ptr::write(ppsztypelabel, core::mem::transmute(ok__)); + ppsztypelabel.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -20059,7 +20059,7 @@ impl ISyncMgrSyncItemInfo_Vtbl { let this = (*this).get_impl(); match ISyncMgrSyncItemInfo_Impl::GetComment(this) { Ok(ok__) => { - core::ptr::write(ppszcomment, core::mem::transmute(ok__)); + ppszcomment.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -20070,7 +20070,7 @@ impl ISyncMgrSyncItemInfo_Vtbl { let this = (*this).get_impl(); match ISyncMgrSyncItemInfo_Impl::GetLastSyncTime(this) { Ok(ok__) => { - core::ptr::write(pftlastsync, core::mem::transmute(ok__)); + pftlastsync.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -20144,7 +20144,7 @@ impl ISyncMgrSynchronize_Vtbl { let this = (*this).get_impl(); match ISyncMgrSynchronize_Impl::GetHandlerInfo(this) { Ok(ok__) => { - core::ptr::write(ppsyncmgrhandlerinfo, core::mem::transmute(ok__)); + ppsyncmgrhandlerinfo.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -20155,7 +20155,7 @@ impl ISyncMgrSynchronize_Vtbl { let this = (*this).get_impl(); match ISyncMgrSynchronize_Impl::EnumSyncMgrItems(this) { Ok(ok__) => { - core::ptr::write(ppsyncmgrenumitems, core::mem::transmute(ok__)); + ppsyncmgrenumitems.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -20577,7 +20577,7 @@ impl IThumbnailCapture_Vtbl { let this = (*this).get_impl(); match IThumbnailCapture_Impl::CaptureThumbnail(this, core::mem::transmute_copy(&pmaxsize), windows_core::from_raw_borrowed(&phtmldoc2)) { Ok(ok__) => { - core::ptr::write(phbmthumbnail, core::mem::transmute(ok__)); + phbmthumbnail.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -20804,7 +20804,7 @@ impl ITransferDestination_Vtbl { let this = (*this).get_impl(); match ITransferDestination_Impl::Advise(this, windows_core::from_raw_borrowed(&psink)) { Ok(ok__) => { - core::ptr::write(pdwcookie, core::mem::transmute(ok__)); + pdwcookie.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -20870,7 +20870,7 @@ impl ITransferSource_Vtbl { let this = (*this).get_impl(); match ITransferSource_Impl::Advise(this, windows_core::from_raw_borrowed(&psink)) { Ok(ok__) => { - core::ptr::write(pdwcookie, core::mem::transmute(ok__)); + pdwcookie.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -20896,7 +20896,7 @@ impl ITransferSource_Vtbl { let this = (*this).get_impl(); match ITransferSource_Impl::MoveItem(this, windows_core::from_raw_borrowed(&psi), windows_core::from_raw_borrowed(&psiparentdst), core::mem::transmute(&psznamedst), core::mem::transmute_copy(&flags)) { Ok(ok__) => { - core::ptr::write(ppsinew, core::mem::transmute(ok__)); + ppsinew.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -20907,7 +20907,7 @@ impl ITransferSource_Vtbl { let this = (*this).get_impl(); match ITransferSource_Impl::RecycleItem(this, windows_core::from_raw_borrowed(&psisource), windows_core::from_raw_borrowed(&psiparentdest), core::mem::transmute_copy(&flags)) { Ok(ok__) => { - core::ptr::write(ppsinewdest, core::mem::transmute(ok__)); + ppsinewdest.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -20923,7 +20923,7 @@ impl ITransferSource_Vtbl { let this = (*this).get_impl(); match ITransferSource_Impl::RenameItem(this, windows_core::from_raw_borrowed(&psisource), core::mem::transmute(&psznewname), core::mem::transmute_copy(&flags)) { Ok(ok__) => { - core::ptr::write(ppsinewdest, core::mem::transmute(ok__)); + ppsinewdest.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -20934,7 +20934,7 @@ impl ITransferSource_Vtbl { let this = (*this).get_impl(); match ITransferSource_Impl::LinkItem(this, windows_core::from_raw_borrowed(&psisource), windows_core::from_raw_borrowed(&psiparentdest), core::mem::transmute(&psznewname), core::mem::transmute_copy(&flags)) { Ok(ok__) => { - core::ptr::write(ppsinewdest, core::mem::transmute(ok__)); + ppsinewdest.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -20945,7 +20945,7 @@ impl ITransferSource_Vtbl { let this = (*this).get_impl(); match ITransferSource_Impl::ApplyPropertiesToItem(this, windows_core::from_raw_borrowed(&psisource)) { Ok(ok__) => { - core::ptr::write(ppsinew, core::mem::transmute(ok__)); + ppsinew.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -20956,7 +20956,7 @@ impl ITransferSource_Vtbl { let this = (*this).get_impl(); match ITransferSource_Impl::GetDefaultDestinationName(this, windows_core::from_raw_borrowed(&psisource), windows_core::from_raw_borrowed(&psiparentdest)) { Ok(ok__) => { - core::ptr::write(ppszdestinationname, core::mem::transmute(ok__)); + ppszdestinationname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -21019,7 +21019,7 @@ impl ITravelEntry_Vtbl { let this = (*this).get_impl(); match ITravelEntry_Impl::GetPidl(this) { Ok(ok__) => { - core::ptr::write(ppidl, core::mem::transmute(ok__)); + ppidl.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -21085,7 +21085,7 @@ impl ITravelLog_Vtbl { let this = (*this).get_impl(); match ITravelLog_Impl::FindTravelEntry(this, windows_core::from_raw_borrowed(&punk), core::mem::transmute_copy(&pidl)) { Ok(ok__) => { - core::ptr::write(ppte, core::mem::transmute(ok__)); + ppte.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -21106,7 +21106,7 @@ impl ITravelLog_Vtbl { let this = (*this).get_impl(); match ITravelLog_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(pptl, core::mem::transmute(ok__)); + pptl.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -21157,7 +21157,7 @@ impl ITravelLogClient_Vtbl { let this = (*this).get_impl(); match ITravelLogClient_Impl::FindWindowByIndex(this, core::mem::transmute_copy(&dwid)) { Ok(ok__) => { - core::ptr::write(ppunk, core::mem::transmute(ok__)); + ppunk.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -21196,7 +21196,7 @@ impl ITravelLogEntry_Vtbl { let this = (*this).get_impl(); match ITravelLogEntry_Impl::GetTitle(this) { Ok(ok__) => { - core::ptr::write(ppsztitle, core::mem::transmute(ok__)); + ppsztitle.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -21207,7 +21207,7 @@ impl ITravelLogEntry_Vtbl { let this = (*this).get_impl(); match ITravelLogEntry_Impl::GetURL(this) { Ok(ok__) => { - core::ptr::write(ppszurl, core::mem::transmute(ok__)); + ppszurl.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -21240,7 +21240,7 @@ impl ITravelLogStg_Vtbl { let this = (*this).get_impl(); match ITravelLogStg_Impl::CreateEntry(this, core::mem::transmute(&pszurl), core::mem::transmute(&psztitle), windows_core::from_raw_borrowed(&ptlerelativeto), core::mem::transmute_copy(&fprepend)) { Ok(ok__) => { - core::ptr::write(pptle, core::mem::transmute(ok__)); + pptle.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -21256,7 +21256,7 @@ impl ITravelLogStg_Vtbl { let this = (*this).get_impl(); match ITravelLogStg_Impl::EnumEntries(this, core::mem::transmute_copy(&flags)) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -21267,7 +21267,7 @@ impl ITravelLogStg_Vtbl { let this = (*this).get_impl(); match ITravelLogStg_Impl::FindEntries(this, core::mem::transmute_copy(&flags), core::mem::transmute(&pszurl)) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -21278,7 +21278,7 @@ impl ITravelLogStg_Vtbl { let this = (*this).get_impl(); match ITravelLogStg_Impl::GetCount(this, core::mem::transmute_copy(&flags)) { Ok(ok__) => { - core::ptr::write(pcentries, core::mem::transmute(ok__)); + pcentries.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -21294,7 +21294,7 @@ impl ITravelLogStg_Vtbl { let this = (*this).get_impl(); match ITravelLogStg_Impl::GetRelativeEntry(this, core::mem::transmute_copy(&ioffset)) { Ok(ok__) => { - core::ptr::write(ptle, core::mem::transmute(ok__)); + ptle.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -21408,7 +21408,7 @@ impl IUniformResourceLocatorA_Vtbl { let this = (*this).get_impl(); match IUniformResourceLocatorA_Impl::GetURL(this) { Ok(ok__) => { - core::ptr::write(ppszurl, core::mem::transmute(ok__)); + ppszurl.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -21448,7 +21448,7 @@ impl IUniformResourceLocatorW_Vtbl { let this = (*this).get_impl(); match IUniformResourceLocatorW_Impl::GetURL(this) { Ok(ok__) => { - core::ptr::write(ppszurl, core::mem::transmute(ok__)); + ppszurl.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -21484,7 +21484,7 @@ impl IUpdateIDList_Vtbl { let this = (*this).get_impl(); match IUpdateIDList_Impl::Update(this, windows_core::from_raw_borrowed(&pbc), core::mem::transmute_copy(&pidlin)) { Ok(ok__) => { - core::ptr::write(ppidlout, core::mem::transmute(ok__)); + ppidlout.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -21688,7 +21688,7 @@ impl IVirtualDesktopManager_Vtbl { let this = (*this).get_impl(); match IVirtualDesktopManager_Impl::IsWindowOnCurrentVirtualDesktop(this, core::mem::transmute_copy(&toplevelwindow)) { Ok(ok__) => { - core::ptr::write(oncurrentdesktop, core::mem::transmute(ok__)); + oncurrentdesktop.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -21699,7 +21699,7 @@ impl IVirtualDesktopManager_Vtbl { let this = (*this).get_impl(); match IVirtualDesktopManager_Impl::GetWindowDesktopId(this, core::mem::transmute_copy(&toplevelwindow)) { Ok(ok__) => { - core::ptr::write(desktopid, core::mem::transmute(ok__)); + desktopid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -21752,7 +21752,7 @@ impl IVisualProperties_Vtbl { let this = (*this).get_impl(); match IVisualProperties_Impl::GetColor(this, core::mem::transmute_copy(&vpcf)) { Ok(ok__) => { - core::ptr::write(pcr, core::mem::transmute(ok__)); + pcr.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -21768,7 +21768,7 @@ impl IVisualProperties_Vtbl { let this = (*this).get_impl(); match IVisualProperties_Impl::GetItemHeight(this) { Ok(ok__) => { - core::ptr::write(cyiteminpixels, core::mem::transmute(ok__)); + cyiteminpixels.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -21883,7 +21883,7 @@ impl IWebBrowser_Vtbl { let this = (*this).get_impl(); match IWebBrowser_Impl::Application(this) { Ok(ok__) => { - core::ptr::write(ppdisp, core::mem::transmute(ok__)); + ppdisp.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -21894,7 +21894,7 @@ impl IWebBrowser_Vtbl { let this = (*this).get_impl(); match IWebBrowser_Impl::Parent(this) { Ok(ok__) => { - core::ptr::write(ppdisp, core::mem::transmute(ok__)); + ppdisp.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -21905,7 +21905,7 @@ impl IWebBrowser_Vtbl { let this = (*this).get_impl(); match IWebBrowser_Impl::Container(this) { Ok(ok__) => { - core::ptr::write(ppdisp, core::mem::transmute(ok__)); + ppdisp.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -21916,7 +21916,7 @@ impl IWebBrowser_Vtbl { let this = (*this).get_impl(); match IWebBrowser_Impl::Document(this) { Ok(ok__) => { - core::ptr::write(ppdisp, core::mem::transmute(ok__)); + ppdisp.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -21927,7 +21927,7 @@ impl IWebBrowser_Vtbl { let this = (*this).get_impl(); match IWebBrowser_Impl::TopLevelContainer(this) { Ok(ok__) => { - core::ptr::write(pbool, core::mem::transmute(ok__)); + pbool.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -21938,7 +21938,7 @@ impl IWebBrowser_Vtbl { let this = (*this).get_impl(); match IWebBrowser_Impl::Type(this) { Ok(ok__) => { - core::ptr::write(r#type, core::mem::transmute(ok__)); + r#type.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -21949,7 +21949,7 @@ impl IWebBrowser_Vtbl { let this = (*this).get_impl(); match IWebBrowser_Impl::Left(this) { Ok(ok__) => { - core::ptr::write(pl, core::mem::transmute(ok__)); + pl.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -21965,7 +21965,7 @@ impl IWebBrowser_Vtbl { let this = (*this).get_impl(); match IWebBrowser_Impl::Top(this) { Ok(ok__) => { - core::ptr::write(pl, core::mem::transmute(ok__)); + pl.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -21981,7 +21981,7 @@ impl IWebBrowser_Vtbl { let this = (*this).get_impl(); match IWebBrowser_Impl::Width(this) { Ok(ok__) => { - core::ptr::write(pl, core::mem::transmute(ok__)); + pl.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -21997,7 +21997,7 @@ impl IWebBrowser_Vtbl { let this = (*this).get_impl(); match IWebBrowser_Impl::Height(this) { Ok(ok__) => { - core::ptr::write(pl, core::mem::transmute(ok__)); + pl.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -22013,7 +22013,7 @@ impl IWebBrowser_Vtbl { let this = (*this).get_impl(); match IWebBrowser_Impl::LocationName(this) { Ok(ok__) => { - core::ptr::write(locationname, core::mem::transmute(ok__)); + locationname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -22024,7 +22024,7 @@ impl IWebBrowser_Vtbl { let this = (*this).get_impl(); match IWebBrowser_Impl::LocationURL(this) { Ok(ok__) => { - core::ptr::write(locationurl, core::mem::transmute(ok__)); + locationurl.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -22035,7 +22035,7 @@ impl IWebBrowser_Vtbl { let this = (*this).get_impl(); match IWebBrowser_Impl::Busy(this) { Ok(ok__) => { - core::ptr::write(pbool, core::mem::transmute(ok__)); + pbool.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -22111,7 +22111,7 @@ impl IWebBrowser2_Vtbl { let this = (*this).get_impl(); match IWebBrowser2_Impl::QueryStatusWB(this, core::mem::transmute_copy(&cmdid)) { Ok(ok__) => { - core::ptr::write(pcmdf, core::mem::transmute(ok__)); + pcmdf.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -22132,7 +22132,7 @@ impl IWebBrowser2_Vtbl { let this = (*this).get_impl(); match IWebBrowser2_Impl::ReadyState(this) { Ok(ok__) => { - core::ptr::write(plreadystate, core::mem::transmute(ok__)); + plreadystate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -22143,7 +22143,7 @@ impl IWebBrowser2_Vtbl { let this = (*this).get_impl(); match IWebBrowser2_Impl::Offline(this) { Ok(ok__) => { - core::ptr::write(pboffline, core::mem::transmute(ok__)); + pboffline.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -22159,7 +22159,7 @@ impl IWebBrowser2_Vtbl { let this = (*this).get_impl(); match IWebBrowser2_Impl::Silent(this) { Ok(ok__) => { - core::ptr::write(pbsilent, core::mem::transmute(ok__)); + pbsilent.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -22175,7 +22175,7 @@ impl IWebBrowser2_Vtbl { let this = (*this).get_impl(); match IWebBrowser2_Impl::RegisterAsBrowser(this) { Ok(ok__) => { - core::ptr::write(pbregister, core::mem::transmute(ok__)); + pbregister.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -22191,7 +22191,7 @@ impl IWebBrowser2_Vtbl { let this = (*this).get_impl(); match IWebBrowser2_Impl::RegisterAsDropTarget(this) { Ok(ok__) => { - core::ptr::write(pbregister, core::mem::transmute(ok__)); + pbregister.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -22207,7 +22207,7 @@ impl IWebBrowser2_Vtbl { let this = (*this).get_impl(); match IWebBrowser2_Impl::TheaterMode(this) { Ok(ok__) => { - core::ptr::write(pbregister, core::mem::transmute(ok__)); + pbregister.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -22223,7 +22223,7 @@ impl IWebBrowser2_Vtbl { let this = (*this).get_impl(); match IWebBrowser2_Impl::AddressBar(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -22239,7 +22239,7 @@ impl IWebBrowser2_Vtbl { let this = (*this).get_impl(); match IWebBrowser2_Impl::Resizable(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -22325,7 +22325,7 @@ impl IWebBrowserApp_Vtbl { let this = (*this).get_impl(); match IWebBrowserApp_Impl::GetProperty(this, core::mem::transmute(&property)) { Ok(ok__) => { - core::ptr::write(pvtvalue, core::mem::transmute(ok__)); + pvtvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -22336,7 +22336,7 @@ impl IWebBrowserApp_Vtbl { let this = (*this).get_impl(); match IWebBrowserApp_Impl::Name(this) { Ok(ok__) => { - core::ptr::write(name, core::mem::transmute(ok__)); + name.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -22347,7 +22347,7 @@ impl IWebBrowserApp_Vtbl { let this = (*this).get_impl(); match IWebBrowserApp_Impl::HWND(this) { Ok(ok__) => { - core::ptr::write(phwnd, core::mem::transmute(ok__)); + phwnd.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -22358,7 +22358,7 @@ impl IWebBrowserApp_Vtbl { let this = (*this).get_impl(); match IWebBrowserApp_Impl::FullName(this) { Ok(ok__) => { - core::ptr::write(fullname, core::mem::transmute(ok__)); + fullname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -22369,7 +22369,7 @@ impl IWebBrowserApp_Vtbl { let this = (*this).get_impl(); match IWebBrowserApp_Impl::Path(this) { Ok(ok__) => { - core::ptr::write(path, core::mem::transmute(ok__)); + path.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -22380,7 +22380,7 @@ impl IWebBrowserApp_Vtbl { let this = (*this).get_impl(); match IWebBrowserApp_Impl::Visible(this) { Ok(ok__) => { - core::ptr::write(pbool, core::mem::transmute(ok__)); + pbool.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -22396,7 +22396,7 @@ impl IWebBrowserApp_Vtbl { let this = (*this).get_impl(); match IWebBrowserApp_Impl::StatusBar(this) { Ok(ok__) => { - core::ptr::write(pbool, core::mem::transmute(ok__)); + pbool.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -22412,7 +22412,7 @@ impl IWebBrowserApp_Vtbl { let this = (*this).get_impl(); match IWebBrowserApp_Impl::StatusText(this) { Ok(ok__) => { - core::ptr::write(statustext, core::mem::transmute(ok__)); + statustext.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -22428,7 +22428,7 @@ impl IWebBrowserApp_Vtbl { let this = (*this).get_impl(); match IWebBrowserApp_Impl::ToolBar(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -22444,7 +22444,7 @@ impl IWebBrowserApp_Vtbl { let this = (*this).get_impl(); match IWebBrowserApp_Impl::MenuBar(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -22460,7 +22460,7 @@ impl IWebBrowserApp_Vtbl { let this = (*this).get_impl(); match IWebBrowserApp_Impl::FullScreen(this) { Ok(ok__) => { - core::ptr::write(pbfullscreen, core::mem::transmute(ok__)); + pbfullscreen.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -22571,7 +22571,7 @@ impl IWebWizardHost_Vtbl { let this = (*this).get_impl(); match IWebWizardHost_Impl::Caption(this) { Ok(ok__) => { - core::ptr::write(pbstrcaption, core::mem::transmute(ok__)); + pbstrcaption.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -22587,7 +22587,7 @@ impl IWebWizardHost_Vtbl { let this = (*this).get_impl(); match IWebWizardHost_Impl::get_Property(this, core::mem::transmute(&bstrpropertyname)) { Ok(ok__) => { - core::ptr::write(pvproperty, core::mem::transmute(ok__)); + pvproperty.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -22634,7 +22634,7 @@ impl IWebWizardHost2_Vtbl { let this = (*this).get_impl(); match IWebWizardHost2_Impl::SignString(this, core::mem::transmute(&value)) { Ok(ok__) => { - core::ptr::write(signedvalue, core::mem::transmute(ok__)); + signedvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -22667,7 +22667,7 @@ impl IWizardExtension_Vtbl { let this = (*this).get_impl(); match IWizardExtension_Impl::GetFirstPage(this) { Ok(ok__) => { - core::ptr::write(phpage, core::mem::transmute(ok__)); + phpage.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -22678,7 +22678,7 @@ impl IWizardExtension_Vtbl { let this = (*this).get_impl(); match IWizardExtension_Impl::GetLastPage(this) { Ok(ok__) => { - core::ptr::write(phpage, core::mem::transmute(ok__)); + phpage.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -22711,7 +22711,7 @@ impl IWizardSite_Vtbl { let this = (*this).get_impl(); match IWizardSite_Impl::GetPreviousPage(this) { Ok(ok__) => { - core::ptr::write(phpage, core::mem::transmute(ok__)); + phpage.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -22722,7 +22722,7 @@ impl IWizardSite_Vtbl { let this = (*this).get_impl(); match IWizardSite_Impl::GetNextPage(this) { Ok(ok__) => { - core::ptr::write(phpage, core::mem::transmute(ok__)); + phpage.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -22733,7 +22733,7 @@ impl IWizardSite_Vtbl { let this = (*this).get_impl(); match IWizardSite_Impl::GetCancelledPage(this) { Ok(ok__) => { - core::ptr::write(phpage, core::mem::transmute(ok__)); + phpage.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/Win32/UI/TabletPC/impl.rs b/crates/libs/windows/src/Windows/Win32/UI/TabletPC/impl.rs index eb995ca482..e8e31d7e53 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/TabletPC/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/TabletPC/impl.rs @@ -26,7 +26,7 @@ impl IDynamicRenderer_Vtbl { let this = (*this).get_impl(); match IDynamicRenderer_Impl::Enabled(this) { Ok(ok__) => { - core::ptr::write(benabled, core::mem::transmute(ok__)); + benabled.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -42,7 +42,7 @@ impl IDynamicRenderer_Vtbl { let this = (*this).get_impl(); match IDynamicRenderer_Impl::HWND(this) { Ok(ok__) => { - core::ptr::write(hwnd, core::mem::transmute(ok__)); + hwnd.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -58,7 +58,7 @@ impl IDynamicRenderer_Vtbl { let this = (*this).get_impl(); match IDynamicRenderer_Impl::ClipRectangle(this) { Ok(ok__) => { - core::ptr::write(prccliprect, core::mem::transmute(ok__)); + prccliprect.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -74,7 +74,7 @@ impl IDynamicRenderer_Vtbl { let this = (*this).get_impl(); match IDynamicRenderer_Impl::ClipRegion(this) { Ok(ok__) => { - core::ptr::write(phcliprgn, core::mem::transmute(ok__)); + phcliprgn.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -90,7 +90,7 @@ impl IDynamicRenderer_Vtbl { let this = (*this).get_impl(); match IDynamicRenderer_Impl::DrawingAttributes(this) { Ok(ok__) => { - core::ptr::write(ppida, core::mem::transmute(ok__)); + ppida.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -106,7 +106,7 @@ impl IDynamicRenderer_Vtbl { let this = (*this).get_impl(); match IDynamicRenderer_Impl::DataCacheEnabled(this) { Ok(ok__) => { - core::ptr::write(pfcachedata, core::mem::transmute(ok__)); + pfcachedata.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -171,7 +171,7 @@ impl IGestureRecognizer_Vtbl { let this = (*this).get_impl(); match IGestureRecognizer_Impl::Enabled(this) { Ok(ok__) => { - core::ptr::write(pfenabled, core::mem::transmute(ok__)); + pfenabled.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -187,7 +187,7 @@ impl IGestureRecognizer_Vtbl { let this = (*this).get_impl(); match IGestureRecognizer_Impl::MaxStrokeCount(this) { Ok(ok__) => { - core::ptr::write(pcstrokes, core::mem::transmute(ok__)); + pcstrokes.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -318,7 +318,7 @@ impl IInkCollector_Vtbl { let this = (*this).get_impl(); match IInkCollector_Impl::hWnd(this) { Ok(ok__) => { - core::ptr::write(currentwindow, core::mem::transmute(ok__)); + currentwindow.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -334,7 +334,7 @@ impl IInkCollector_Vtbl { let this = (*this).get_impl(); match IInkCollector_Impl::Enabled(this) { Ok(ok__) => { - core::ptr::write(collecting, core::mem::transmute(ok__)); + collecting.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -350,7 +350,7 @@ impl IInkCollector_Vtbl { let this = (*this).get_impl(); match IInkCollector_Impl::DefaultDrawingAttributes(this) { Ok(ok__) => { - core::ptr::write(currentattributes, core::mem::transmute(ok__)); + currentattributes.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -366,7 +366,7 @@ impl IInkCollector_Vtbl { let this = (*this).get_impl(); match IInkCollector_Impl::Renderer(this) { Ok(ok__) => { - core::ptr::write(currentinkrenderer, core::mem::transmute(ok__)); + currentinkrenderer.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -382,7 +382,7 @@ impl IInkCollector_Vtbl { let this = (*this).get_impl(); match IInkCollector_Impl::Ink(this) { Ok(ok__) => { - core::ptr::write(ink, core::mem::transmute(ok__)); + ink.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -398,7 +398,7 @@ impl IInkCollector_Vtbl { let this = (*this).get_impl(); match IInkCollector_Impl::AutoRedraw(this) { Ok(ok__) => { - core::ptr::write(autoredraw, core::mem::transmute(ok__)); + autoredraw.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -414,7 +414,7 @@ impl IInkCollector_Vtbl { let this = (*this).get_impl(); match IInkCollector_Impl::CollectingInk(this) { Ok(ok__) => { - core::ptr::write(collecting, core::mem::transmute(ok__)); + collecting.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -425,7 +425,7 @@ impl IInkCollector_Vtbl { let this = (*this).get_impl(); match IInkCollector_Impl::CollectionMode(this) { Ok(ok__) => { - core::ptr::write(mode, core::mem::transmute(ok__)); + mode.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -441,7 +441,7 @@ impl IInkCollector_Vtbl { let this = (*this).get_impl(); match IInkCollector_Impl::DynamicRendering(this) { Ok(ok__) => { - core::ptr::write(enabled, core::mem::transmute(ok__)); + enabled.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -457,7 +457,7 @@ impl IInkCollector_Vtbl { let this = (*this).get_impl(); match IInkCollector_Impl::DesiredPacketDescription(this) { Ok(ok__) => { - core::ptr::write(packetguids, core::mem::transmute(ok__)); + packetguids.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -473,7 +473,7 @@ impl IInkCollector_Vtbl { let this = (*this).get_impl(); match IInkCollector_Impl::MouseIcon(this) { Ok(ok__) => { - core::ptr::write(mouseicon, core::mem::transmute(ok__)); + mouseicon.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -494,7 +494,7 @@ impl IInkCollector_Vtbl { let this = (*this).get_impl(); match IInkCollector_Impl::MousePointer(this) { Ok(ok__) => { - core::ptr::write(mousepointer, core::mem::transmute(ok__)); + mousepointer.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -510,7 +510,7 @@ impl IInkCollector_Vtbl { let this = (*this).get_impl(); match IInkCollector_Impl::Cursors(this) { Ok(ok__) => { - core::ptr::write(cursors, core::mem::transmute(ok__)); + cursors.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -521,7 +521,7 @@ impl IInkCollector_Vtbl { let this = (*this).get_impl(); match IInkCollector_Impl::MarginX(this) { Ok(ok__) => { - core::ptr::write(marginx, core::mem::transmute(ok__)); + marginx.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -537,7 +537,7 @@ impl IInkCollector_Vtbl { let this = (*this).get_impl(); match IInkCollector_Impl::MarginY(this) { Ok(ok__) => { - core::ptr::write(marginy, core::mem::transmute(ok__)); + marginy.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -553,7 +553,7 @@ impl IInkCollector_Vtbl { let this = (*this).get_impl(); match IInkCollector_Impl::Tablet(this) { Ok(ok__) => { - core::ptr::write(singletablet, core::mem::transmute(ok__)); + singletablet.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -564,7 +564,7 @@ impl IInkCollector_Vtbl { let this = (*this).get_impl(); match IInkCollector_Impl::SupportHighContrastInk(this) { Ok(ok__) => { - core::ptr::write(support, core::mem::transmute(ok__)); + support.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -585,7 +585,7 @@ impl IInkCollector_Vtbl { let this = (*this).get_impl(); match IInkCollector_Impl::GetGestureStatus(this, core::mem::transmute_copy(&gesture)) { Ok(ok__) => { - core::ptr::write(listening, core::mem::transmute(ok__)); + listening.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -616,7 +616,7 @@ impl IInkCollector_Vtbl { let this = (*this).get_impl(); match IInkCollector_Impl::GetEventInterest(this, core::mem::transmute_copy(&eventid)) { Ok(ok__) => { - core::ptr::write(listen, core::mem::transmute(ok__)); + listen.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -695,7 +695,7 @@ impl IInkCursor_Vtbl { let this = (*this).get_impl(); match IInkCursor_Impl::Name(this) { Ok(ok__) => { - core::ptr::write(name, core::mem::transmute(ok__)); + name.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -706,7 +706,7 @@ impl IInkCursor_Vtbl { let this = (*this).get_impl(); match IInkCursor_Impl::Id(this) { Ok(ok__) => { - core::ptr::write(id, core::mem::transmute(ok__)); + id.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -717,7 +717,7 @@ impl IInkCursor_Vtbl { let this = (*this).get_impl(); match IInkCursor_Impl::Inverted(this) { Ok(ok__) => { - core::ptr::write(status, core::mem::transmute(ok__)); + status.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -728,7 +728,7 @@ impl IInkCursor_Vtbl { let this = (*this).get_impl(); match IInkCursor_Impl::DrawingAttributes(this) { Ok(ok__) => { - core::ptr::write(attributes, core::mem::transmute(ok__)); + attributes.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -744,7 +744,7 @@ impl IInkCursor_Vtbl { let this = (*this).get_impl(); match IInkCursor_Impl::Tablet(this) { Ok(ok__) => { - core::ptr::write(tablet, core::mem::transmute(ok__)); + tablet.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -755,7 +755,7 @@ impl IInkCursor_Vtbl { let this = (*this).get_impl(); match IInkCursor_Impl::Buttons(this) { Ok(ok__) => { - core::ptr::write(buttons, core::mem::transmute(ok__)); + buttons.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -792,7 +792,7 @@ impl IInkCursorButton_Vtbl { let this = (*this).get_impl(); match IInkCursorButton_Impl::Name(this) { Ok(ok__) => { - core::ptr::write(name, core::mem::transmute(ok__)); + name.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -803,7 +803,7 @@ impl IInkCursorButton_Vtbl { let this = (*this).get_impl(); match IInkCursorButton_Impl::Id(this) { Ok(ok__) => { - core::ptr::write(id, core::mem::transmute(ok__)); + id.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -814,7 +814,7 @@ impl IInkCursorButton_Vtbl { let this = (*this).get_impl(); match IInkCursorButton_Impl::State(this) { Ok(ok__) => { - core::ptr::write(currentstate, core::mem::transmute(ok__)); + currentstate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -847,7 +847,7 @@ impl IInkCursorButtons_Vtbl { let this = (*this).get_impl(); match IInkCursorButtons_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(count, core::mem::transmute(ok__)); + count.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -858,7 +858,7 @@ impl IInkCursorButtons_Vtbl { let this = (*this).get_impl(); match IInkCursorButtons_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(_newenum, core::mem::transmute(ok__)); + _newenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -869,7 +869,7 @@ impl IInkCursorButtons_Vtbl { let this = (*this).get_impl(); match IInkCursorButtons_Impl::Item(this, core::mem::transmute(&identifier)) { Ok(ok__) => { - core::ptr::write(button, core::mem::transmute(ok__)); + button.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -902,7 +902,7 @@ impl IInkCursors_Vtbl { let this = (*this).get_impl(); match IInkCursors_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(count, core::mem::transmute(ok__)); + count.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -913,7 +913,7 @@ impl IInkCursors_Vtbl { let this = (*this).get_impl(); match IInkCursors_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(_newenum, core::mem::transmute(ok__)); + _newenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -924,7 +924,7 @@ impl IInkCursors_Vtbl { let this = (*this).get_impl(); match IInkCursors_Impl::Item(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(cursor, core::mem::transmute(ok__)); + cursor.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -960,7 +960,7 @@ impl IInkCustomStrokes_Vtbl { let this = (*this).get_impl(); match IInkCustomStrokes_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(count, core::mem::transmute(ok__)); + count.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -971,7 +971,7 @@ impl IInkCustomStrokes_Vtbl { let this = (*this).get_impl(); match IInkCustomStrokes_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(_newenum, core::mem::transmute(ok__)); + _newenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -982,7 +982,7 @@ impl IInkCustomStrokes_Vtbl { let this = (*this).get_impl(); match IInkCustomStrokes_Impl::Item(this, core::mem::transmute(&identifier)) { Ok(ok__) => { - core::ptr::write(strokes, core::mem::transmute(ok__)); + strokes.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1055,7 +1055,7 @@ impl IInkDisp_Vtbl { let this = (*this).get_impl(); match IInkDisp_Impl::Strokes(this) { Ok(ok__) => { - core::ptr::write(strokes, core::mem::transmute(ok__)); + strokes.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1066,7 +1066,7 @@ impl IInkDisp_Vtbl { let this = (*this).get_impl(); match IInkDisp_Impl::ExtendedProperties(this) { Ok(ok__) => { - core::ptr::write(properties, core::mem::transmute(ok__)); + properties.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1077,7 +1077,7 @@ impl IInkDisp_Vtbl { let this = (*this).get_impl(); match IInkDisp_Impl::Dirty(this) { Ok(ok__) => { - core::ptr::write(dirty, core::mem::transmute(ok__)); + dirty.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1093,7 +1093,7 @@ impl IInkDisp_Vtbl { let this = (*this).get_impl(); match IInkDisp_Impl::CustomStrokes(this) { Ok(ok__) => { - core::ptr::write(ppunkinkcustomstrokes, core::mem::transmute(ok__)); + ppunkinkcustomstrokes.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1104,7 +1104,7 @@ impl IInkDisp_Vtbl { let this = (*this).get_impl(); match IInkDisp_Impl::GetBoundingBox(this, core::mem::transmute_copy(&boundingboxmode)) { Ok(ok__) => { - core::ptr::write(rectangle, core::mem::transmute(ok__)); + rectangle.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1125,7 +1125,7 @@ impl IInkDisp_Vtbl { let this = (*this).get_impl(); match IInkDisp_Impl::ExtractStrokes(this, windows_core::from_raw_borrowed(&strokes), core::mem::transmute_copy(&extractflags)) { Ok(ok__) => { - core::ptr::write(extractedink, core::mem::transmute(ok__)); + extractedink.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1136,7 +1136,7 @@ impl IInkDisp_Vtbl { let this = (*this).get_impl(); match IInkDisp_Impl::ExtractWithRectangle(this, windows_core::from_raw_borrowed(&rectangle), core::mem::transmute_copy(&extractflags)) { Ok(ok__) => { - core::ptr::write(extractedink, core::mem::transmute(ok__)); + extractedink.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1152,7 +1152,7 @@ impl IInkDisp_Vtbl { let this = (*this).get_impl(); match IInkDisp_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(newink, core::mem::transmute(ok__)); + newink.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1163,7 +1163,7 @@ impl IInkDisp_Vtbl { let this = (*this).get_impl(); match IInkDisp_Impl::HitTestCircle(this, core::mem::transmute_copy(&x), core::mem::transmute_copy(&y), core::mem::transmute_copy(&radius)) { Ok(ok__) => { - core::ptr::write(strokes, core::mem::transmute(ok__)); + strokes.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1174,7 +1174,7 @@ impl IInkDisp_Vtbl { let this = (*this).get_impl(); match IInkDisp_Impl::HitTestWithRectangle(this, windows_core::from_raw_borrowed(&selectionrectangle), core::mem::transmute_copy(&intersectpercent)) { Ok(ok__) => { - core::ptr::write(strokes, core::mem::transmute(ok__)); + strokes.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1195,7 +1195,7 @@ impl IInkDisp_Vtbl { let this = (*this).get_impl(); match IInkDisp_Impl::CreateStrokes(this, core::mem::transmute(&strokeids)) { Ok(ok__) => { - core::ptr::write(strokes, core::mem::transmute(ok__)); + strokes.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1211,7 +1211,7 @@ impl IInkDisp_Vtbl { let this = (*this).get_impl(); match IInkDisp_Impl::Save(this, core::mem::transmute_copy(&persistenceformat), core::mem::transmute_copy(&compressionmode)) { Ok(ok__) => { - core::ptr::write(data, core::mem::transmute(ok__)); + data.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1227,7 +1227,7 @@ impl IInkDisp_Vtbl { let this = (*this).get_impl(); match IInkDisp_Impl::CreateStroke(this, core::mem::transmute(&packetdata), core::mem::transmute(&packetdescription)) { Ok(ok__) => { - core::ptr::write(stroke, core::mem::transmute(ok__)); + stroke.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1238,7 +1238,7 @@ impl IInkDisp_Vtbl { let this = (*this).get_impl(); match IInkDisp_Impl::ClipboardCopyWithRectangle(this, windows_core::from_raw_borrowed(&rectangle), core::mem::transmute_copy(&clipboardformats), core::mem::transmute_copy(&clipboardmodes)) { Ok(ok__) => { - core::ptr::write(dataobject, core::mem::transmute(ok__)); + dataobject.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1249,7 +1249,7 @@ impl IInkDisp_Vtbl { let this = (*this).get_impl(); match IInkDisp_Impl::ClipboardCopy(this, windows_core::from_raw_borrowed(&strokes), core::mem::transmute_copy(&clipboardformats), core::mem::transmute_copy(&clipboardmodes)) { Ok(ok__) => { - core::ptr::write(dataobject, core::mem::transmute(ok__)); + dataobject.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1260,7 +1260,7 @@ impl IInkDisp_Vtbl { let this = (*this).get_impl(); match IInkDisp_Impl::CanPaste(this, windows_core::from_raw_borrowed(&dataobject)) { Ok(ok__) => { - core::ptr::write(canpaste, core::mem::transmute(ok__)); + canpaste.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1271,7 +1271,7 @@ impl IInkDisp_Vtbl { let this = (*this).get_impl(); match IInkDisp_Impl::ClipboardPaste(this, core::mem::transmute_copy(&x), core::mem::transmute_copy(&y), windows_core::from_raw_borrowed(&dataobject)) { Ok(ok__) => { - core::ptr::write(strokes, core::mem::transmute(ok__)); + strokes.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1330,7 +1330,7 @@ impl IInkDivider_Vtbl { let this = (*this).get_impl(); match IInkDivider_Impl::Strokes(this) { Ok(ok__) => { - core::ptr::write(strokes, core::mem::transmute(ok__)); + strokes.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1346,7 +1346,7 @@ impl IInkDivider_Vtbl { let this = (*this).get_impl(); match IInkDivider_Impl::RecognizerContext(this) { Ok(ok__) => { - core::ptr::write(recognizercontext, core::mem::transmute(ok__)); + recognizercontext.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1362,7 +1362,7 @@ impl IInkDivider_Vtbl { let this = (*this).get_impl(); match IInkDivider_Impl::LineHeight(this) { Ok(ok__) => { - core::ptr::write(lineheight, core::mem::transmute(ok__)); + lineheight.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1378,7 +1378,7 @@ impl IInkDivider_Vtbl { let this = (*this).get_impl(); match IInkDivider_Impl::Divide(this) { Ok(ok__) => { - core::ptr::write(inkdivisionresult, core::mem::transmute(ok__)); + inkdivisionresult.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1414,7 +1414,7 @@ impl IInkDivisionResult_Vtbl { let this = (*this).get_impl(); match IInkDivisionResult_Impl::Strokes(this) { Ok(ok__) => { - core::ptr::write(strokes, core::mem::transmute(ok__)); + strokes.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1425,7 +1425,7 @@ impl IInkDivisionResult_Vtbl { let this = (*this).get_impl(); match IInkDivisionResult_Impl::ResultByType(this, core::mem::transmute_copy(&divisiontype)) { Ok(ok__) => { - core::ptr::write(inkdivisionunits, core::mem::transmute(ok__)); + inkdivisionunits.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1458,7 +1458,7 @@ impl IInkDivisionUnit_Vtbl { let this = (*this).get_impl(); match IInkDivisionUnit_Impl::Strokes(this) { Ok(ok__) => { - core::ptr::write(strokes, core::mem::transmute(ok__)); + strokes.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1469,7 +1469,7 @@ impl IInkDivisionUnit_Vtbl { let this = (*this).get_impl(); match IInkDivisionUnit_Impl::DivisionType(this) { Ok(ok__) => { - core::ptr::write(divisiontype, core::mem::transmute(ok__)); + divisiontype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1480,7 +1480,7 @@ impl IInkDivisionUnit_Vtbl { let this = (*this).get_impl(); match IInkDivisionUnit_Impl::RecognizedString(this) { Ok(ok__) => { - core::ptr::write(recostring, core::mem::transmute(ok__)); + recostring.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1491,7 +1491,7 @@ impl IInkDivisionUnit_Vtbl { let this = (*this).get_impl(); match IInkDivisionUnit_Impl::RotationTransform(this) { Ok(ok__) => { - core::ptr::write(rotationtransform, core::mem::transmute(ok__)); + rotationtransform.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1525,7 +1525,7 @@ impl IInkDivisionUnits_Vtbl { let this = (*this).get_impl(); match IInkDivisionUnits_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(count, core::mem::transmute(ok__)); + count.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1536,7 +1536,7 @@ impl IInkDivisionUnits_Vtbl { let this = (*this).get_impl(); match IInkDivisionUnits_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(_newenum, core::mem::transmute(ok__)); + _newenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1547,7 +1547,7 @@ impl IInkDivisionUnits_Vtbl { let this = (*this).get_impl(); match IInkDivisionUnits_Impl::Item(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(inkdivisionunit, core::mem::transmute(ok__)); + inkdivisionunit.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1597,7 +1597,7 @@ impl IInkDrawingAttributes_Vtbl { let this = (*this).get_impl(); match IInkDrawingAttributes_Impl::Color(this) { Ok(ok__) => { - core::ptr::write(currentcolor, core::mem::transmute(ok__)); + currentcolor.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1613,7 +1613,7 @@ impl IInkDrawingAttributes_Vtbl { let this = (*this).get_impl(); match IInkDrawingAttributes_Impl::Width(this) { Ok(ok__) => { - core::ptr::write(currentwidth, core::mem::transmute(ok__)); + currentwidth.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1629,7 +1629,7 @@ impl IInkDrawingAttributes_Vtbl { let this = (*this).get_impl(); match IInkDrawingAttributes_Impl::Height(this) { Ok(ok__) => { - core::ptr::write(currentheight, core::mem::transmute(ok__)); + currentheight.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1645,7 +1645,7 @@ impl IInkDrawingAttributes_Vtbl { let this = (*this).get_impl(); match IInkDrawingAttributes_Impl::FitToCurve(this) { Ok(ok__) => { - core::ptr::write(flag, core::mem::transmute(ok__)); + flag.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1661,7 +1661,7 @@ impl IInkDrawingAttributes_Vtbl { let this = (*this).get_impl(); match IInkDrawingAttributes_Impl::IgnorePressure(this) { Ok(ok__) => { - core::ptr::write(flag, core::mem::transmute(ok__)); + flag.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1677,7 +1677,7 @@ impl IInkDrawingAttributes_Vtbl { let this = (*this).get_impl(); match IInkDrawingAttributes_Impl::AntiAliased(this) { Ok(ok__) => { - core::ptr::write(flag, core::mem::transmute(ok__)); + flag.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1693,7 +1693,7 @@ impl IInkDrawingAttributes_Vtbl { let this = (*this).get_impl(); match IInkDrawingAttributes_Impl::Transparency(this) { Ok(ok__) => { - core::ptr::write(currenttransparency, core::mem::transmute(ok__)); + currenttransparency.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1709,7 +1709,7 @@ impl IInkDrawingAttributes_Vtbl { let this = (*this).get_impl(); match IInkDrawingAttributes_Impl::RasterOperation(this) { Ok(ok__) => { - core::ptr::write(currentrasteroperation, core::mem::transmute(ok__)); + currentrasteroperation.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1725,7 +1725,7 @@ impl IInkDrawingAttributes_Vtbl { let this = (*this).get_impl(); match IInkDrawingAttributes_Impl::PenTip(this) { Ok(ok__) => { - core::ptr::write(currentpentip, core::mem::transmute(ok__)); + currentpentip.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1741,7 +1741,7 @@ impl IInkDrawingAttributes_Vtbl { let this = (*this).get_impl(); match IInkDrawingAttributes_Impl::ExtendedProperties(this) { Ok(ok__) => { - core::ptr::write(properties, core::mem::transmute(ok__)); + properties.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1752,7 +1752,7 @@ impl IInkDrawingAttributes_Vtbl { let this = (*this).get_impl(); match IInkDrawingAttributes_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(drawingattributes, core::mem::transmute(ok__)); + drawingattributes.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1876,7 +1876,7 @@ impl IInkEdit_Vtbl { let this = (*this).get_impl(); match IInkEdit_Impl::Status(this) { Ok(ok__) => { - core::ptr::write(pstatus, core::mem::transmute(ok__)); + pstatus.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1887,7 +1887,7 @@ impl IInkEdit_Vtbl { let this = (*this).get_impl(); match IInkEdit_Impl::UseMouseForInput(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1903,7 +1903,7 @@ impl IInkEdit_Vtbl { let this = (*this).get_impl(); match IInkEdit_Impl::InkMode(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1919,7 +1919,7 @@ impl IInkEdit_Vtbl { let this = (*this).get_impl(); match IInkEdit_Impl::InkInsertMode(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1935,7 +1935,7 @@ impl IInkEdit_Vtbl { let this = (*this).get_impl(); match IInkEdit_Impl::DrawingAttributes(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1951,7 +1951,7 @@ impl IInkEdit_Vtbl { let this = (*this).get_impl(); match IInkEdit_Impl::RecognitionTimeout(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1967,7 +1967,7 @@ impl IInkEdit_Vtbl { let this = (*this).get_impl(); match IInkEdit_Impl::Recognizer(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1983,7 +1983,7 @@ impl IInkEdit_Vtbl { let this = (*this).get_impl(); match IInkEdit_Impl::Factoid(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1999,7 +1999,7 @@ impl IInkEdit_Vtbl { let this = (*this).get_impl(); match IInkEdit_Impl::SelInks(this) { Ok(ok__) => { - core::ptr::write(pselink, core::mem::transmute(ok__)); + pselink.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2015,7 +2015,7 @@ impl IInkEdit_Vtbl { let this = (*this).get_impl(); match IInkEdit_Impl::SelInksDisplayMode(this) { Ok(ok__) => { - core::ptr::write(pinkdisplaymode, core::mem::transmute(ok__)); + pinkdisplaymode.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2036,7 +2036,7 @@ impl IInkEdit_Vtbl { let this = (*this).get_impl(); match IInkEdit_Impl::GetGestureStatus(this, core::mem::transmute_copy(&gesture)) { Ok(ok__) => { - core::ptr::write(plisten, core::mem::transmute(ok__)); + plisten.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2057,7 +2057,7 @@ impl IInkEdit_Vtbl { let this = (*this).get_impl(); match IInkEdit_Impl::BackColor(this) { Ok(ok__) => { - core::ptr::write(pclr, core::mem::transmute(ok__)); + pclr.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2068,7 +2068,7 @@ impl IInkEdit_Vtbl { let this = (*this).get_impl(); match IInkEdit_Impl::Appearance(this) { Ok(ok__) => { - core::ptr::write(pappearance, core::mem::transmute(ok__)); + pappearance.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2084,7 +2084,7 @@ impl IInkEdit_Vtbl { let this = (*this).get_impl(); match IInkEdit_Impl::BorderStyle(this) { Ok(ok__) => { - core::ptr::write(pborderstyle, core::mem::transmute(ok__)); + pborderstyle.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2100,7 +2100,7 @@ impl IInkEdit_Vtbl { let this = (*this).get_impl(); match IInkEdit_Impl::Hwnd(this) { Ok(ok__) => { - core::ptr::write(pohhwnd, core::mem::transmute(ok__)); + pohhwnd.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2111,7 +2111,7 @@ impl IInkEdit_Vtbl { let this = (*this).get_impl(); match IInkEdit_Impl::Font(this) { Ok(ok__) => { - core::ptr::write(ppfont, core::mem::transmute(ok__)); + ppfont.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2127,7 +2127,7 @@ impl IInkEdit_Vtbl { let this = (*this).get_impl(); match IInkEdit_Impl::Text(this) { Ok(ok__) => { - core::ptr::write(pbstrtext, core::mem::transmute(ok__)); + pbstrtext.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2143,7 +2143,7 @@ impl IInkEdit_Vtbl { let this = (*this).get_impl(); match IInkEdit_Impl::MouseIcon(this) { Ok(ok__) => { - core::ptr::write(mouseicon, core::mem::transmute(ok__)); + mouseicon.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2164,7 +2164,7 @@ impl IInkEdit_Vtbl { let this = (*this).get_impl(); match IInkEdit_Impl::MousePointer(this) { Ok(ok__) => { - core::ptr::write(mousepointer, core::mem::transmute(ok__)); + mousepointer.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2180,7 +2180,7 @@ impl IInkEdit_Vtbl { let this = (*this).get_impl(); match IInkEdit_Impl::Locked(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2196,7 +2196,7 @@ impl IInkEdit_Vtbl { let this = (*this).get_impl(); match IInkEdit_Impl::Enabled(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2212,7 +2212,7 @@ impl IInkEdit_Vtbl { let this = (*this).get_impl(); match IInkEdit_Impl::MaxLength(this) { Ok(ok__) => { - core::ptr::write(plmaxlength, core::mem::transmute(ok__)); + plmaxlength.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2228,7 +2228,7 @@ impl IInkEdit_Vtbl { let this = (*this).get_impl(); match IInkEdit_Impl::MultiLine(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2244,7 +2244,7 @@ impl IInkEdit_Vtbl { let this = (*this).get_impl(); match IInkEdit_Impl::ScrollBars(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2260,7 +2260,7 @@ impl IInkEdit_Vtbl { let this = (*this).get_impl(); match IInkEdit_Impl::DisableNoScroll(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2276,7 +2276,7 @@ impl IInkEdit_Vtbl { let this = (*this).get_impl(); match IInkEdit_Impl::SelAlignment(this) { Ok(ok__) => { - core::ptr::write(pvarselalignment, core::mem::transmute(ok__)); + pvarselalignment.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2292,7 +2292,7 @@ impl IInkEdit_Vtbl { let this = (*this).get_impl(); match IInkEdit_Impl::SelBold(this) { Ok(ok__) => { - core::ptr::write(pvarselbold, core::mem::transmute(ok__)); + pvarselbold.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2308,7 +2308,7 @@ impl IInkEdit_Vtbl { let this = (*this).get_impl(); match IInkEdit_Impl::SelItalic(this) { Ok(ok__) => { - core::ptr::write(pvarselitalic, core::mem::transmute(ok__)); + pvarselitalic.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2324,7 +2324,7 @@ impl IInkEdit_Vtbl { let this = (*this).get_impl(); match IInkEdit_Impl::SelUnderline(this) { Ok(ok__) => { - core::ptr::write(pvarselunderline, core::mem::transmute(ok__)); + pvarselunderline.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2340,7 +2340,7 @@ impl IInkEdit_Vtbl { let this = (*this).get_impl(); match IInkEdit_Impl::SelColor(this) { Ok(ok__) => { - core::ptr::write(pvarselcolor, core::mem::transmute(ok__)); + pvarselcolor.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2356,7 +2356,7 @@ impl IInkEdit_Vtbl { let this = (*this).get_impl(); match IInkEdit_Impl::SelFontName(this) { Ok(ok__) => { - core::ptr::write(pvarselfontname, core::mem::transmute(ok__)); + pvarselfontname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2372,7 +2372,7 @@ impl IInkEdit_Vtbl { let this = (*this).get_impl(); match IInkEdit_Impl::SelFontSize(this) { Ok(ok__) => { - core::ptr::write(pvarselfontsize, core::mem::transmute(ok__)); + pvarselfontsize.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2388,7 +2388,7 @@ impl IInkEdit_Vtbl { let this = (*this).get_impl(); match IInkEdit_Impl::SelCharOffset(this) { Ok(ok__) => { - core::ptr::write(pvarselcharoffset, core::mem::transmute(ok__)); + pvarselcharoffset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2404,7 +2404,7 @@ impl IInkEdit_Vtbl { let this = (*this).get_impl(); match IInkEdit_Impl::TextRTF(this) { Ok(ok__) => { - core::ptr::write(pbstrtextrtf, core::mem::transmute(ok__)); + pbstrtextrtf.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2420,7 +2420,7 @@ impl IInkEdit_Vtbl { let this = (*this).get_impl(); match IInkEdit_Impl::SelStart(this) { Ok(ok__) => { - core::ptr::write(plselstart, core::mem::transmute(ok__)); + plselstart.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2436,7 +2436,7 @@ impl IInkEdit_Vtbl { let this = (*this).get_impl(); match IInkEdit_Impl::SelLength(this) { Ok(ok__) => { - core::ptr::write(plsellength, core::mem::transmute(ok__)); + plsellength.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2452,7 +2452,7 @@ impl IInkEdit_Vtbl { let this = (*this).get_impl(); match IInkEdit_Impl::SelText(this) { Ok(ok__) => { - core::ptr::write(pbstrseltext, core::mem::transmute(ok__)); + pbstrseltext.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2468,7 +2468,7 @@ impl IInkEdit_Vtbl { let this = (*this).get_impl(); match IInkEdit_Impl::SelRTF(this) { Ok(ok__) => { - core::ptr::write(pbstrselrtf, core::mem::transmute(ok__)); + pbstrselrtf.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2589,7 +2589,7 @@ impl IInkExtendedProperties_Vtbl { let this = (*this).get_impl(); match IInkExtendedProperties_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(count, core::mem::transmute(ok__)); + count.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2600,7 +2600,7 @@ impl IInkExtendedProperties_Vtbl { let this = (*this).get_impl(); match IInkExtendedProperties_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(_newenum, core::mem::transmute(ok__)); + _newenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2611,7 +2611,7 @@ impl IInkExtendedProperties_Vtbl { let this = (*this).get_impl(); match IInkExtendedProperties_Impl::Item(this, core::mem::transmute(&identifier)) { Ok(ok__) => { - core::ptr::write(item, core::mem::transmute(ok__)); + item.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2622,7 +2622,7 @@ impl IInkExtendedProperties_Vtbl { let this = (*this).get_impl(); match IInkExtendedProperties_Impl::Add(this, core::mem::transmute(&guid), core::mem::transmute(&data)) { Ok(ok__) => { - core::ptr::write(inkextendedproperty, core::mem::transmute(ok__)); + inkextendedproperty.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2643,7 +2643,7 @@ impl IInkExtendedProperties_Vtbl { let this = (*this).get_impl(); match IInkExtendedProperties_Impl::DoesPropertyExist(this, core::mem::transmute(&guid)) { Ok(ok__) => { - core::ptr::write(doespropertyexist, core::mem::transmute(ok__)); + doespropertyexist.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2680,7 +2680,7 @@ impl IInkExtendedProperty_Vtbl { let this = (*this).get_impl(); match IInkExtendedProperty_Impl::Guid(this) { Ok(ok__) => { - core::ptr::write(guid, core::mem::transmute(ok__)); + guid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2691,7 +2691,7 @@ impl IInkExtendedProperty_Vtbl { let this = (*this).get_impl(); match IInkExtendedProperty_Impl::Data(this) { Ok(ok__) => { - core::ptr::write(data, core::mem::transmute(ok__)); + data.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2729,7 +2729,7 @@ impl IInkGesture_Vtbl { let this = (*this).get_impl(); match IInkGesture_Impl::Confidence(this) { Ok(ok__) => { - core::ptr::write(confidence, core::mem::transmute(ok__)); + confidence.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2740,7 +2740,7 @@ impl IInkGesture_Vtbl { let this = (*this).get_impl(); match IInkGesture_Impl::Id(this) { Ok(ok__) => { - core::ptr::write(id, core::mem::transmute(ok__)); + id.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2884,7 +2884,7 @@ impl IInkOverlay_Vtbl { let this = (*this).get_impl(); match IInkOverlay_Impl::hWnd(this) { Ok(ok__) => { - core::ptr::write(currentwindow, core::mem::transmute(ok__)); + currentwindow.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2900,7 +2900,7 @@ impl IInkOverlay_Vtbl { let this = (*this).get_impl(); match IInkOverlay_Impl::Enabled(this) { Ok(ok__) => { - core::ptr::write(collecting, core::mem::transmute(ok__)); + collecting.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2916,7 +2916,7 @@ impl IInkOverlay_Vtbl { let this = (*this).get_impl(); match IInkOverlay_Impl::DefaultDrawingAttributes(this) { Ok(ok__) => { - core::ptr::write(currentattributes, core::mem::transmute(ok__)); + currentattributes.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2932,7 +2932,7 @@ impl IInkOverlay_Vtbl { let this = (*this).get_impl(); match IInkOverlay_Impl::Renderer(this) { Ok(ok__) => { - core::ptr::write(currentinkrenderer, core::mem::transmute(ok__)); + currentinkrenderer.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2948,7 +2948,7 @@ impl IInkOverlay_Vtbl { let this = (*this).get_impl(); match IInkOverlay_Impl::Ink(this) { Ok(ok__) => { - core::ptr::write(ink, core::mem::transmute(ok__)); + ink.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2964,7 +2964,7 @@ impl IInkOverlay_Vtbl { let this = (*this).get_impl(); match IInkOverlay_Impl::AutoRedraw(this) { Ok(ok__) => { - core::ptr::write(autoredraw, core::mem::transmute(ok__)); + autoredraw.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2980,7 +2980,7 @@ impl IInkOverlay_Vtbl { let this = (*this).get_impl(); match IInkOverlay_Impl::CollectingInk(this) { Ok(ok__) => { - core::ptr::write(collecting, core::mem::transmute(ok__)); + collecting.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2991,7 +2991,7 @@ impl IInkOverlay_Vtbl { let this = (*this).get_impl(); match IInkOverlay_Impl::CollectionMode(this) { Ok(ok__) => { - core::ptr::write(mode, core::mem::transmute(ok__)); + mode.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3007,7 +3007,7 @@ impl IInkOverlay_Vtbl { let this = (*this).get_impl(); match IInkOverlay_Impl::DynamicRendering(this) { Ok(ok__) => { - core::ptr::write(enabled, core::mem::transmute(ok__)); + enabled.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3023,7 +3023,7 @@ impl IInkOverlay_Vtbl { let this = (*this).get_impl(); match IInkOverlay_Impl::DesiredPacketDescription(this) { Ok(ok__) => { - core::ptr::write(packetguids, core::mem::transmute(ok__)); + packetguids.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3039,7 +3039,7 @@ impl IInkOverlay_Vtbl { let this = (*this).get_impl(); match IInkOverlay_Impl::MouseIcon(this) { Ok(ok__) => { - core::ptr::write(mouseicon, core::mem::transmute(ok__)); + mouseicon.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3060,7 +3060,7 @@ impl IInkOverlay_Vtbl { let this = (*this).get_impl(); match IInkOverlay_Impl::MousePointer(this) { Ok(ok__) => { - core::ptr::write(mousepointer, core::mem::transmute(ok__)); + mousepointer.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3076,7 +3076,7 @@ impl IInkOverlay_Vtbl { let this = (*this).get_impl(); match IInkOverlay_Impl::EditingMode(this) { Ok(ok__) => { - core::ptr::write(editingmode, core::mem::transmute(ok__)); + editingmode.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3092,7 +3092,7 @@ impl IInkOverlay_Vtbl { let this = (*this).get_impl(); match IInkOverlay_Impl::Selection(this) { Ok(ok__) => { - core::ptr::write(selection, core::mem::transmute(ok__)); + selection.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3108,7 +3108,7 @@ impl IInkOverlay_Vtbl { let this = (*this).get_impl(); match IInkOverlay_Impl::EraserMode(this) { Ok(ok__) => { - core::ptr::write(erasermode, core::mem::transmute(ok__)); + erasermode.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3124,7 +3124,7 @@ impl IInkOverlay_Vtbl { let this = (*this).get_impl(); match IInkOverlay_Impl::EraserWidth(this) { Ok(ok__) => { - core::ptr::write(eraserwidth, core::mem::transmute(ok__)); + eraserwidth.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3140,7 +3140,7 @@ impl IInkOverlay_Vtbl { let this = (*this).get_impl(); match IInkOverlay_Impl::AttachMode(this) { Ok(ok__) => { - core::ptr::write(attachmode, core::mem::transmute(ok__)); + attachmode.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3156,7 +3156,7 @@ impl IInkOverlay_Vtbl { let this = (*this).get_impl(); match IInkOverlay_Impl::Cursors(this) { Ok(ok__) => { - core::ptr::write(cursors, core::mem::transmute(ok__)); + cursors.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3167,7 +3167,7 @@ impl IInkOverlay_Vtbl { let this = (*this).get_impl(); match IInkOverlay_Impl::MarginX(this) { Ok(ok__) => { - core::ptr::write(marginx, core::mem::transmute(ok__)); + marginx.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3183,7 +3183,7 @@ impl IInkOverlay_Vtbl { let this = (*this).get_impl(); match IInkOverlay_Impl::MarginY(this) { Ok(ok__) => { - core::ptr::write(marginy, core::mem::transmute(ok__)); + marginy.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3199,7 +3199,7 @@ impl IInkOverlay_Vtbl { let this = (*this).get_impl(); match IInkOverlay_Impl::Tablet(this) { Ok(ok__) => { - core::ptr::write(singletablet, core::mem::transmute(ok__)); + singletablet.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3210,7 +3210,7 @@ impl IInkOverlay_Vtbl { let this = (*this).get_impl(); match IInkOverlay_Impl::SupportHighContrastInk(this) { Ok(ok__) => { - core::ptr::write(support, core::mem::transmute(ok__)); + support.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3226,7 +3226,7 @@ impl IInkOverlay_Vtbl { let this = (*this).get_impl(); match IInkOverlay_Impl::SupportHighContrastSelectionUI(this) { Ok(ok__) => { - core::ptr::write(support, core::mem::transmute(ok__)); + support.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3242,7 +3242,7 @@ impl IInkOverlay_Vtbl { let this = (*this).get_impl(); match IInkOverlay_Impl::HitTestSelection(this, core::mem::transmute_copy(&x), core::mem::transmute_copy(&y)) { Ok(ok__) => { - core::ptr::write(selarea, core::mem::transmute(ok__)); + selarea.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3263,7 +3263,7 @@ impl IInkOverlay_Vtbl { let this = (*this).get_impl(); match IInkOverlay_Impl::GetGestureStatus(this, core::mem::transmute_copy(&gesture)) { Ok(ok__) => { - core::ptr::write(listening, core::mem::transmute(ok__)); + listening.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3294,7 +3294,7 @@ impl IInkOverlay_Vtbl { let this = (*this).get_impl(); match IInkOverlay_Impl::GetEventInterest(this, core::mem::transmute_copy(&eventid)) { Ok(ok__) => { - core::ptr::write(listen, core::mem::transmute(ok__)); + listen.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3439,7 +3439,7 @@ impl IInkPicture_Vtbl { let this = (*this).get_impl(); match IInkPicture_Impl::hWnd(this) { Ok(ok__) => { - core::ptr::write(currentwindow, core::mem::transmute(ok__)); + currentwindow.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3450,7 +3450,7 @@ impl IInkPicture_Vtbl { let this = (*this).get_impl(); match IInkPicture_Impl::DefaultDrawingAttributes(this) { Ok(ok__) => { - core::ptr::write(currentattributes, core::mem::transmute(ok__)); + currentattributes.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3466,7 +3466,7 @@ impl IInkPicture_Vtbl { let this = (*this).get_impl(); match IInkPicture_Impl::Renderer(this) { Ok(ok__) => { - core::ptr::write(currentinkrenderer, core::mem::transmute(ok__)); + currentinkrenderer.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3482,7 +3482,7 @@ impl IInkPicture_Vtbl { let this = (*this).get_impl(); match IInkPicture_Impl::Ink(this) { Ok(ok__) => { - core::ptr::write(ink, core::mem::transmute(ok__)); + ink.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3498,7 +3498,7 @@ impl IInkPicture_Vtbl { let this = (*this).get_impl(); match IInkPicture_Impl::AutoRedraw(this) { Ok(ok__) => { - core::ptr::write(autoredraw, core::mem::transmute(ok__)); + autoredraw.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3514,7 +3514,7 @@ impl IInkPicture_Vtbl { let this = (*this).get_impl(); match IInkPicture_Impl::CollectingInk(this) { Ok(ok__) => { - core::ptr::write(collecting, core::mem::transmute(ok__)); + collecting.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3525,7 +3525,7 @@ impl IInkPicture_Vtbl { let this = (*this).get_impl(); match IInkPicture_Impl::CollectionMode(this) { Ok(ok__) => { - core::ptr::write(mode, core::mem::transmute(ok__)); + mode.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3541,7 +3541,7 @@ impl IInkPicture_Vtbl { let this = (*this).get_impl(); match IInkPicture_Impl::DynamicRendering(this) { Ok(ok__) => { - core::ptr::write(enabled, core::mem::transmute(ok__)); + enabled.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3557,7 +3557,7 @@ impl IInkPicture_Vtbl { let this = (*this).get_impl(); match IInkPicture_Impl::DesiredPacketDescription(this) { Ok(ok__) => { - core::ptr::write(packetguids, core::mem::transmute(ok__)); + packetguids.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3573,7 +3573,7 @@ impl IInkPicture_Vtbl { let this = (*this).get_impl(); match IInkPicture_Impl::MouseIcon(this) { Ok(ok__) => { - core::ptr::write(mouseicon, core::mem::transmute(ok__)); + mouseicon.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3594,7 +3594,7 @@ impl IInkPicture_Vtbl { let this = (*this).get_impl(); match IInkPicture_Impl::MousePointer(this) { Ok(ok__) => { - core::ptr::write(mousepointer, core::mem::transmute(ok__)); + mousepointer.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3610,7 +3610,7 @@ impl IInkPicture_Vtbl { let this = (*this).get_impl(); match IInkPicture_Impl::EditingMode(this) { Ok(ok__) => { - core::ptr::write(editingmode, core::mem::transmute(ok__)); + editingmode.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3626,7 +3626,7 @@ impl IInkPicture_Vtbl { let this = (*this).get_impl(); match IInkPicture_Impl::Selection(this) { Ok(ok__) => { - core::ptr::write(selection, core::mem::transmute(ok__)); + selection.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3642,7 +3642,7 @@ impl IInkPicture_Vtbl { let this = (*this).get_impl(); match IInkPicture_Impl::EraserMode(this) { Ok(ok__) => { - core::ptr::write(erasermode, core::mem::transmute(ok__)); + erasermode.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3658,7 +3658,7 @@ impl IInkPicture_Vtbl { let this = (*this).get_impl(); match IInkPicture_Impl::EraserWidth(this) { Ok(ok__) => { - core::ptr::write(eraserwidth, core::mem::transmute(ok__)); + eraserwidth.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3684,7 +3684,7 @@ impl IInkPicture_Vtbl { let this = (*this).get_impl(); match IInkPicture_Impl::Picture(this) { Ok(ok__) => { - core::ptr::write(pppicture, core::mem::transmute(ok__)); + pppicture.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3700,7 +3700,7 @@ impl IInkPicture_Vtbl { let this = (*this).get_impl(); match IInkPicture_Impl::SizeMode(this) { Ok(ok__) => { - core::ptr::write(smsizemode, core::mem::transmute(ok__)); + smsizemode.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3716,7 +3716,7 @@ impl IInkPicture_Vtbl { let this = (*this).get_impl(); match IInkPicture_Impl::BackColor(this) { Ok(ok__) => { - core::ptr::write(pcolor, core::mem::transmute(ok__)); + pcolor.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3727,7 +3727,7 @@ impl IInkPicture_Vtbl { let this = (*this).get_impl(); match IInkPicture_Impl::Cursors(this) { Ok(ok__) => { - core::ptr::write(cursors, core::mem::transmute(ok__)); + cursors.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3738,7 +3738,7 @@ impl IInkPicture_Vtbl { let this = (*this).get_impl(); match IInkPicture_Impl::MarginX(this) { Ok(ok__) => { - core::ptr::write(marginx, core::mem::transmute(ok__)); + marginx.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3754,7 +3754,7 @@ impl IInkPicture_Vtbl { let this = (*this).get_impl(); match IInkPicture_Impl::MarginY(this) { Ok(ok__) => { - core::ptr::write(marginy, core::mem::transmute(ok__)); + marginy.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3770,7 +3770,7 @@ impl IInkPicture_Vtbl { let this = (*this).get_impl(); match IInkPicture_Impl::Tablet(this) { Ok(ok__) => { - core::ptr::write(singletablet, core::mem::transmute(ok__)); + singletablet.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3781,7 +3781,7 @@ impl IInkPicture_Vtbl { let this = (*this).get_impl(); match IInkPicture_Impl::SupportHighContrastInk(this) { Ok(ok__) => { - core::ptr::write(support, core::mem::transmute(ok__)); + support.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3797,7 +3797,7 @@ impl IInkPicture_Vtbl { let this = (*this).get_impl(); match IInkPicture_Impl::SupportHighContrastSelectionUI(this) { Ok(ok__) => { - core::ptr::write(support, core::mem::transmute(ok__)); + support.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3813,7 +3813,7 @@ impl IInkPicture_Vtbl { let this = (*this).get_impl(); match IInkPicture_Impl::HitTestSelection(this, core::mem::transmute_copy(&x), core::mem::transmute_copy(&y)) { Ok(ok__) => { - core::ptr::write(selarea, core::mem::transmute(ok__)); + selarea.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3829,7 +3829,7 @@ impl IInkPicture_Vtbl { let this = (*this).get_impl(); match IInkPicture_Impl::GetGestureStatus(this, core::mem::transmute_copy(&gesture)) { Ok(ok__) => { - core::ptr::write(listening, core::mem::transmute(ok__)); + listening.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3860,7 +3860,7 @@ impl IInkPicture_Vtbl { let this = (*this).get_impl(); match IInkPicture_Impl::GetEventInterest(this, core::mem::transmute_copy(&eventid)) { Ok(ok__) => { - core::ptr::write(listen, core::mem::transmute(ok__)); + listen.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3876,7 +3876,7 @@ impl IInkPicture_Vtbl { let this = (*this).get_impl(); match IInkPicture_Impl::InkEnabled(this) { Ok(ok__) => { - core::ptr::write(collecting, core::mem::transmute(ok__)); + collecting.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3892,7 +3892,7 @@ impl IInkPicture_Vtbl { let this = (*this).get_impl(); match IInkPicture_Impl::Enabled(this) { Ok(ok__) => { - core::ptr::write(pbool, core::mem::transmute(ok__)); + pbool.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3998,7 +3998,7 @@ impl IInkRecognitionAlternate_Vtbl { let this = (*this).get_impl(); match IInkRecognitionAlternate_Impl::String(this) { Ok(ok__) => { - core::ptr::write(recostring, core::mem::transmute(ok__)); + recostring.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4009,7 +4009,7 @@ impl IInkRecognitionAlternate_Vtbl { let this = (*this).get_impl(); match IInkRecognitionAlternate_Impl::Confidence(this) { Ok(ok__) => { - core::ptr::write(confidence, core::mem::transmute(ok__)); + confidence.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4020,7 +4020,7 @@ impl IInkRecognitionAlternate_Vtbl { let this = (*this).get_impl(); match IInkRecognitionAlternate_Impl::Baseline(this) { Ok(ok__) => { - core::ptr::write(baseline, core::mem::transmute(ok__)); + baseline.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4031,7 +4031,7 @@ impl IInkRecognitionAlternate_Vtbl { let this = (*this).get_impl(); match IInkRecognitionAlternate_Impl::Midline(this) { Ok(ok__) => { - core::ptr::write(midline, core::mem::transmute(ok__)); + midline.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4042,7 +4042,7 @@ impl IInkRecognitionAlternate_Vtbl { let this = (*this).get_impl(); match IInkRecognitionAlternate_Impl::Ascender(this) { Ok(ok__) => { - core::ptr::write(ascender, core::mem::transmute(ok__)); + ascender.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4053,7 +4053,7 @@ impl IInkRecognitionAlternate_Vtbl { let this = (*this).get_impl(); match IInkRecognitionAlternate_Impl::Descender(this) { Ok(ok__) => { - core::ptr::write(descender, core::mem::transmute(ok__)); + descender.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4064,7 +4064,7 @@ impl IInkRecognitionAlternate_Vtbl { let this = (*this).get_impl(); match IInkRecognitionAlternate_Impl::LineNumber(this) { Ok(ok__) => { - core::ptr::write(linenumber, core::mem::transmute(ok__)); + linenumber.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4075,7 +4075,7 @@ impl IInkRecognitionAlternate_Vtbl { let this = (*this).get_impl(); match IInkRecognitionAlternate_Impl::Strokes(this) { Ok(ok__) => { - core::ptr::write(strokes, core::mem::transmute(ok__)); + strokes.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4086,7 +4086,7 @@ impl IInkRecognitionAlternate_Vtbl { let this = (*this).get_impl(); match IInkRecognitionAlternate_Impl::LineAlternates(this) { Ok(ok__) => { - core::ptr::write(linealternates, core::mem::transmute(ok__)); + linealternates.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4097,7 +4097,7 @@ impl IInkRecognitionAlternate_Vtbl { let this = (*this).get_impl(); match IInkRecognitionAlternate_Impl::ConfidenceAlternates(this) { Ok(ok__) => { - core::ptr::write(confidencealternates, core::mem::transmute(ok__)); + confidencealternates.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4108,7 +4108,7 @@ impl IInkRecognitionAlternate_Vtbl { let this = (*this).get_impl(); match IInkRecognitionAlternate_Impl::GetStrokesFromStrokeRanges(this, windows_core::from_raw_borrowed(&strokes)) { Ok(ok__) => { - core::ptr::write(getstrokesfromstrokeranges, core::mem::transmute(ok__)); + getstrokesfromstrokeranges.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4129,7 +4129,7 @@ impl IInkRecognitionAlternate_Vtbl { let this = (*this).get_impl(); match IInkRecognitionAlternate_Impl::AlternatesWithConstantPropertyValues(this, core::mem::transmute(&propertytype)) { Ok(ok__) => { - core::ptr::write(alternateswithconstantpropertyvalues, core::mem::transmute(ok__)); + alternateswithconstantpropertyvalues.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4140,7 +4140,7 @@ impl IInkRecognitionAlternate_Vtbl { let this = (*this).get_impl(); match IInkRecognitionAlternate_Impl::GetPropertyValue(this, core::mem::transmute(&propertytype)) { Ok(ok__) => { - core::ptr::write(propertyvalue, core::mem::transmute(ok__)); + propertyvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4186,7 +4186,7 @@ impl IInkRecognitionAlternates_Vtbl { let this = (*this).get_impl(); match IInkRecognitionAlternates_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(count, core::mem::transmute(ok__)); + count.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4197,7 +4197,7 @@ impl IInkRecognitionAlternates_Vtbl { let this = (*this).get_impl(); match IInkRecognitionAlternates_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(_newenum, core::mem::transmute(ok__)); + _newenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4208,7 +4208,7 @@ impl IInkRecognitionAlternates_Vtbl { let this = (*this).get_impl(); match IInkRecognitionAlternates_Impl::Strokes(this) { Ok(ok__) => { - core::ptr::write(strokes, core::mem::transmute(ok__)); + strokes.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4219,7 +4219,7 @@ impl IInkRecognitionAlternates_Vtbl { let this = (*this).get_impl(); match IInkRecognitionAlternates_Impl::Item(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(inkrecoalternate, core::mem::transmute(ok__)); + inkrecoalternate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4257,7 +4257,7 @@ impl IInkRecognitionResult_Vtbl { let this = (*this).get_impl(); match IInkRecognitionResult_Impl::TopString(this) { Ok(ok__) => { - core::ptr::write(topstring, core::mem::transmute(ok__)); + topstring.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4268,7 +4268,7 @@ impl IInkRecognitionResult_Vtbl { let this = (*this).get_impl(); match IInkRecognitionResult_Impl::TopAlternate(this) { Ok(ok__) => { - core::ptr::write(topalternate, core::mem::transmute(ok__)); + topalternate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4279,7 +4279,7 @@ impl IInkRecognitionResult_Vtbl { let this = (*this).get_impl(); match IInkRecognitionResult_Impl::TopConfidence(this) { Ok(ok__) => { - core::ptr::write(topconfidence, core::mem::transmute(ok__)); + topconfidence.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4290,7 +4290,7 @@ impl IInkRecognitionResult_Vtbl { let this = (*this).get_impl(); match IInkRecognitionResult_Impl::Strokes(this) { Ok(ok__) => { - core::ptr::write(strokes, core::mem::transmute(ok__)); + strokes.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4301,7 +4301,7 @@ impl IInkRecognitionResult_Vtbl { let this = (*this).get_impl(); match IInkRecognitionResult_Impl::AlternatesFromSelection(this, core::mem::transmute_copy(&selectionstart), core::mem::transmute_copy(&selectionlength), core::mem::transmute_copy(&maximumalternates)) { Ok(ok__) => { - core::ptr::write(alternatesfromselection, core::mem::transmute(ok__)); + alternatesfromselection.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4352,7 +4352,7 @@ impl IInkRecognizer_Vtbl { let this = (*this).get_impl(); match IInkRecognizer_Impl::Name(this) { Ok(ok__) => { - core::ptr::write(name, core::mem::transmute(ok__)); + name.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4363,7 +4363,7 @@ impl IInkRecognizer_Vtbl { let this = (*this).get_impl(); match IInkRecognizer_Impl::Vendor(this) { Ok(ok__) => { - core::ptr::write(vendor, core::mem::transmute(ok__)); + vendor.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4374,7 +4374,7 @@ impl IInkRecognizer_Vtbl { let this = (*this).get_impl(); match IInkRecognizer_Impl::Capabilities(this) { Ok(ok__) => { - core::ptr::write(capabilitiesflags, core::mem::transmute(ok__)); + capabilitiesflags.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4385,7 +4385,7 @@ impl IInkRecognizer_Vtbl { let this = (*this).get_impl(); match IInkRecognizer_Impl::Languages(this) { Ok(ok__) => { - core::ptr::write(languages, core::mem::transmute(ok__)); + languages.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4396,7 +4396,7 @@ impl IInkRecognizer_Vtbl { let this = (*this).get_impl(); match IInkRecognizer_Impl::SupportedProperties(this) { Ok(ok__) => { - core::ptr::write(supportedproperties, core::mem::transmute(ok__)); + supportedproperties.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4407,7 +4407,7 @@ impl IInkRecognizer_Vtbl { let this = (*this).get_impl(); match IInkRecognizer_Impl::PreferredPacketDescription(this) { Ok(ok__) => { - core::ptr::write(preferredpacketdescription, core::mem::transmute(ok__)); + preferredpacketdescription.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4418,7 +4418,7 @@ impl IInkRecognizer_Vtbl { let this = (*this).get_impl(); match IInkRecognizer_Impl::CreateRecognizerContext(this) { Ok(ok__) => { - core::ptr::write(context, core::mem::transmute(ok__)); + context.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4454,7 +4454,7 @@ impl IInkRecognizer2_Vtbl { let this = (*this).get_impl(); match IInkRecognizer2_Impl::Id(this) { Ok(ok__) => { - core::ptr::write(pbstrid, core::mem::transmute(ok__)); + pbstrid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4465,7 +4465,7 @@ impl IInkRecognizer2_Vtbl { let this = (*this).get_impl(); match IInkRecognizer2_Impl::UnicodeRanges(this) { Ok(ok__) => { - core::ptr::write(unicoderanges, core::mem::transmute(ok__)); + unicoderanges.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4518,7 +4518,7 @@ impl IInkRecognizerContext_Vtbl { let this = (*this).get_impl(); match IInkRecognizerContext_Impl::Strokes(this) { Ok(ok__) => { - core::ptr::write(strokes, core::mem::transmute(ok__)); + strokes.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4534,7 +4534,7 @@ impl IInkRecognizerContext_Vtbl { let this = (*this).get_impl(); match IInkRecognizerContext_Impl::CharacterAutoCompletionMode(this) { Ok(ok__) => { - core::ptr::write(mode, core::mem::transmute(ok__)); + mode.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4550,7 +4550,7 @@ impl IInkRecognizerContext_Vtbl { let this = (*this).get_impl(); match IInkRecognizerContext_Impl::Factoid(this) { Ok(ok__) => { - core::ptr::write(factoid, core::mem::transmute(ok__)); + factoid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4566,7 +4566,7 @@ impl IInkRecognizerContext_Vtbl { let this = (*this).get_impl(); match IInkRecognizerContext_Impl::Guide(this) { Ok(ok__) => { - core::ptr::write(recognizerguide, core::mem::transmute(ok__)); + recognizerguide.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4582,7 +4582,7 @@ impl IInkRecognizerContext_Vtbl { let this = (*this).get_impl(); match IInkRecognizerContext_Impl::PrefixText(this) { Ok(ok__) => { - core::ptr::write(prefix, core::mem::transmute(ok__)); + prefix.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4598,7 +4598,7 @@ impl IInkRecognizerContext_Vtbl { let this = (*this).get_impl(); match IInkRecognizerContext_Impl::SuffixText(this) { Ok(ok__) => { - core::ptr::write(suffix, core::mem::transmute(ok__)); + suffix.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4614,7 +4614,7 @@ impl IInkRecognizerContext_Vtbl { let this = (*this).get_impl(); match IInkRecognizerContext_Impl::RecognitionFlags(this) { Ok(ok__) => { - core::ptr::write(modes, core::mem::transmute(ok__)); + modes.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4630,7 +4630,7 @@ impl IInkRecognizerContext_Vtbl { let this = (*this).get_impl(); match IInkRecognizerContext_Impl::WordList(this) { Ok(ok__) => { - core::ptr::write(wordlist, core::mem::transmute(ok__)); + wordlist.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4646,7 +4646,7 @@ impl IInkRecognizerContext_Vtbl { let this = (*this).get_impl(); match IInkRecognizerContext_Impl::Recognizer(this) { Ok(ok__) => { - core::ptr::write(recognizer, core::mem::transmute(ok__)); + recognizer.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4682,7 +4682,7 @@ impl IInkRecognizerContext_Vtbl { let this = (*this).get_impl(); match IInkRecognizerContext_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(recocontext, core::mem::transmute(ok__)); + recocontext.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4693,7 +4693,7 @@ impl IInkRecognizerContext_Vtbl { let this = (*this).get_impl(); match IInkRecognizerContext_Impl::IsStringSupported(this, core::mem::transmute(&string)) { Ok(ok__) => { - core::ptr::write(supported, core::mem::transmute(ok__)); + supported.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4746,7 +4746,7 @@ impl IInkRecognizerContext2_Vtbl { let this = (*this).get_impl(); match IInkRecognizerContext2_Impl::EnabledUnicodeRanges(this) { Ok(ok__) => { - core::ptr::write(unicoderanges, core::mem::transmute(ok__)); + unicoderanges.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4792,7 +4792,7 @@ impl IInkRecognizerGuide_Vtbl { let this = (*this).get_impl(); match IInkRecognizerGuide_Impl::WritingBox(this) { Ok(ok__) => { - core::ptr::write(rectangle, core::mem::transmute(ok__)); + rectangle.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4808,7 +4808,7 @@ impl IInkRecognizerGuide_Vtbl { let this = (*this).get_impl(); match IInkRecognizerGuide_Impl::DrawnBox(this) { Ok(ok__) => { - core::ptr::write(rectangle, core::mem::transmute(ok__)); + rectangle.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4824,7 +4824,7 @@ impl IInkRecognizerGuide_Vtbl { let this = (*this).get_impl(); match IInkRecognizerGuide_Impl::Rows(this) { Ok(ok__) => { - core::ptr::write(units, core::mem::transmute(ok__)); + units.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4840,7 +4840,7 @@ impl IInkRecognizerGuide_Vtbl { let this = (*this).get_impl(); match IInkRecognizerGuide_Impl::Columns(this) { Ok(ok__) => { - core::ptr::write(units, core::mem::transmute(ok__)); + units.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4856,7 +4856,7 @@ impl IInkRecognizerGuide_Vtbl { let this = (*this).get_impl(); match IInkRecognizerGuide_Impl::Midline(this) { Ok(ok__) => { - core::ptr::write(units, core::mem::transmute(ok__)); + units.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4914,7 +4914,7 @@ impl IInkRecognizers_Vtbl { let this = (*this).get_impl(); match IInkRecognizers_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(count, core::mem::transmute(ok__)); + count.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4925,7 +4925,7 @@ impl IInkRecognizers_Vtbl { let this = (*this).get_impl(); match IInkRecognizers_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(_newenum, core::mem::transmute(ok__)); + _newenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4936,7 +4936,7 @@ impl IInkRecognizers_Vtbl { let this = (*this).get_impl(); match IInkRecognizers_Impl::GetDefaultRecognizer(this, core::mem::transmute_copy(&lcid)) { Ok(ok__) => { - core::ptr::write(defaultrecognizer, core::mem::transmute(ok__)); + defaultrecognizer.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4947,7 +4947,7 @@ impl IInkRecognizers_Vtbl { let this = (*this).get_impl(); match IInkRecognizers_Impl::Item(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(inkrecognizer, core::mem::transmute(ok__)); + inkrecognizer.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4990,7 +4990,7 @@ impl IInkRectangle_Vtbl { let this = (*this).get_impl(); match IInkRectangle_Impl::Top(this) { Ok(ok__) => { - core::ptr::write(units, core::mem::transmute(ok__)); + units.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5006,7 +5006,7 @@ impl IInkRectangle_Vtbl { let this = (*this).get_impl(); match IInkRectangle_Impl::Left(this) { Ok(ok__) => { - core::ptr::write(units, core::mem::transmute(ok__)); + units.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5022,7 +5022,7 @@ impl IInkRectangle_Vtbl { let this = (*this).get_impl(); match IInkRectangle_Impl::Bottom(this) { Ok(ok__) => { - core::ptr::write(units, core::mem::transmute(ok__)); + units.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5038,7 +5038,7 @@ impl IInkRectangle_Vtbl { let this = (*this).get_impl(); match IInkRectangle_Impl::Right(this) { Ok(ok__) => { - core::ptr::write(units, core::mem::transmute(ok__)); + units.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5054,7 +5054,7 @@ impl IInkRectangle_Vtbl { let this = (*this).get_impl(); match IInkRectangle_Impl::Data(this) { Ok(ok__) => { - core::ptr::write(rect, core::mem::transmute(ok__)); + rect.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5173,7 +5173,7 @@ impl IInkRenderer_Vtbl { let this = (*this).get_impl(); match IInkRenderer_Impl::Measure(this, windows_core::from_raw_borrowed(&strokes)) { Ok(ok__) => { - core::ptr::write(rectangle, core::mem::transmute(ok__)); + rectangle.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5184,7 +5184,7 @@ impl IInkRenderer_Vtbl { let this = (*this).get_impl(); match IInkRenderer_Impl::MeasureStroke(this, windows_core::from_raw_borrowed(&stroke), windows_core::from_raw_borrowed(&drawingattributes)) { Ok(ok__) => { - core::ptr::write(rectangle, core::mem::transmute(ok__)); + rectangle.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5274,7 +5274,7 @@ impl IInkStrokeDisp_Vtbl { let this = (*this).get_impl(); match IInkStrokeDisp_Impl::ID(this) { Ok(ok__) => { - core::ptr::write(id, core::mem::transmute(ok__)); + id.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5285,7 +5285,7 @@ impl IInkStrokeDisp_Vtbl { let this = (*this).get_impl(); match IInkStrokeDisp_Impl::BezierPoints(this) { Ok(ok__) => { - core::ptr::write(points, core::mem::transmute(ok__)); + points.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5296,7 +5296,7 @@ impl IInkStrokeDisp_Vtbl { let this = (*this).get_impl(); match IInkStrokeDisp_Impl::DrawingAttributes(this) { Ok(ok__) => { - core::ptr::write(drawattrs, core::mem::transmute(ok__)); + drawattrs.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5312,7 +5312,7 @@ impl IInkStrokeDisp_Vtbl { let this = (*this).get_impl(); match IInkStrokeDisp_Impl::Ink(this) { Ok(ok__) => { - core::ptr::write(ink, core::mem::transmute(ok__)); + ink.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5323,7 +5323,7 @@ impl IInkStrokeDisp_Vtbl { let this = (*this).get_impl(); match IInkStrokeDisp_Impl::ExtendedProperties(this) { Ok(ok__) => { - core::ptr::write(properties, core::mem::transmute(ok__)); + properties.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5334,7 +5334,7 @@ impl IInkStrokeDisp_Vtbl { let this = (*this).get_impl(); match IInkStrokeDisp_Impl::PolylineCusps(this) { Ok(ok__) => { - core::ptr::write(cusps, core::mem::transmute(ok__)); + cusps.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5345,7 +5345,7 @@ impl IInkStrokeDisp_Vtbl { let this = (*this).get_impl(); match IInkStrokeDisp_Impl::BezierCusps(this) { Ok(ok__) => { - core::ptr::write(cusps, core::mem::transmute(ok__)); + cusps.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5356,7 +5356,7 @@ impl IInkStrokeDisp_Vtbl { let this = (*this).get_impl(); match IInkStrokeDisp_Impl::SelfIntersections(this) { Ok(ok__) => { - core::ptr::write(intersections, core::mem::transmute(ok__)); + intersections.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5367,7 +5367,7 @@ impl IInkStrokeDisp_Vtbl { let this = (*this).get_impl(); match IInkStrokeDisp_Impl::PacketCount(this) { Ok(ok__) => { - core::ptr::write(plcount, core::mem::transmute(ok__)); + plcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5378,7 +5378,7 @@ impl IInkStrokeDisp_Vtbl { let this = (*this).get_impl(); match IInkStrokeDisp_Impl::PacketSize(this) { Ok(ok__) => { - core::ptr::write(plsize, core::mem::transmute(ok__)); + plsize.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5389,7 +5389,7 @@ impl IInkStrokeDisp_Vtbl { let this = (*this).get_impl(); match IInkStrokeDisp_Impl::PacketDescription(this) { Ok(ok__) => { - core::ptr::write(packetdescription, core::mem::transmute(ok__)); + packetdescription.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5400,7 +5400,7 @@ impl IInkStrokeDisp_Vtbl { let this = (*this).get_impl(); match IInkStrokeDisp_Impl::Deleted(this) { Ok(ok__) => { - core::ptr::write(deleted, core::mem::transmute(ok__)); + deleted.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5411,7 +5411,7 @@ impl IInkStrokeDisp_Vtbl { let this = (*this).get_impl(); match IInkStrokeDisp_Impl::GetBoundingBox(this, core::mem::transmute_copy(&boundingboxmode)) { Ok(ok__) => { - core::ptr::write(rectangle, core::mem::transmute(ok__)); + rectangle.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5422,7 +5422,7 @@ impl IInkStrokeDisp_Vtbl { let this = (*this).get_impl(); match IInkStrokeDisp_Impl::FindIntersections(this, windows_core::from_raw_borrowed(&strokes)) { Ok(ok__) => { - core::ptr::write(intersections, core::mem::transmute(ok__)); + intersections.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5433,7 +5433,7 @@ impl IInkStrokeDisp_Vtbl { let this = (*this).get_impl(); match IInkStrokeDisp_Impl::GetRectangleIntersections(this, windows_core::from_raw_borrowed(&rectangle)) { Ok(ok__) => { - core::ptr::write(intersections, core::mem::transmute(ok__)); + intersections.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5449,7 +5449,7 @@ impl IInkStrokeDisp_Vtbl { let this = (*this).get_impl(); match IInkStrokeDisp_Impl::HitTestCircle(this, core::mem::transmute_copy(&x), core::mem::transmute_copy(&y), core::mem::transmute_copy(&radius)) { Ok(ok__) => { - core::ptr::write(intersects, core::mem::transmute(ok__)); + intersects.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5465,7 +5465,7 @@ impl IInkStrokeDisp_Vtbl { let this = (*this).get_impl(); match IInkStrokeDisp_Impl::Split(this, core::mem::transmute_copy(&splitat)) { Ok(ok__) => { - core::ptr::write(newstroke, core::mem::transmute(ok__)); + newstroke.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5481,7 +5481,7 @@ impl IInkStrokeDisp_Vtbl { let this = (*this).get_impl(); match IInkStrokeDisp_Impl::GetPoints(this, core::mem::transmute_copy(&index), core::mem::transmute_copy(&count)) { Ok(ok__) => { - core::ptr::write(points, core::mem::transmute(ok__)); + points.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5492,7 +5492,7 @@ impl IInkStrokeDisp_Vtbl { let this = (*this).get_impl(); match IInkStrokeDisp_Impl::SetPoints(this, core::mem::transmute(&points), core::mem::transmute_copy(&index), core::mem::transmute_copy(&count)) { Ok(ok__) => { - core::ptr::write(numberofpointsset, core::mem::transmute(ok__)); + numberofpointsset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5503,7 +5503,7 @@ impl IInkStrokeDisp_Vtbl { let this = (*this).get_impl(); match IInkStrokeDisp_Impl::GetPacketData(this, core::mem::transmute_copy(&index), core::mem::transmute_copy(&count)) { Ok(ok__) => { - core::ptr::write(packetdata, core::mem::transmute(ok__)); + packetdata.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5514,7 +5514,7 @@ impl IInkStrokeDisp_Vtbl { let this = (*this).get_impl(); match IInkStrokeDisp_Impl::GetPacketValuesByProperty(this, core::mem::transmute(&propertyname), core::mem::transmute_copy(&index), core::mem::transmute_copy(&count)) { Ok(ok__) => { - core::ptr::write(packetvalues, core::mem::transmute(ok__)); + packetvalues.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5525,7 +5525,7 @@ impl IInkStrokeDisp_Vtbl { let this = (*this).get_impl(); match IInkStrokeDisp_Impl::SetPacketValuesByProperty(this, core::mem::transmute(&bstrpropertyname), core::mem::transmute(&packetvalues), core::mem::transmute_copy(&index), core::mem::transmute_copy(&count)) { Ok(ok__) => { - core::ptr::write(numberofpacketsset, core::mem::transmute(ok__)); + numberofpacketsset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5536,7 +5536,7 @@ impl IInkStrokeDisp_Vtbl { let this = (*this).get_impl(); match IInkStrokeDisp_Impl::GetFlattenedBezierPoints(this, core::mem::transmute_copy(&fittingerror)) { Ok(ok__) => { - core::ptr::write(flattenedbezierpoints, core::mem::transmute(ok__)); + flattenedbezierpoints.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5646,7 +5646,7 @@ impl IInkStrokes_Vtbl { let this = (*this).get_impl(); match IInkStrokes_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(count, core::mem::transmute(ok__)); + count.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5657,7 +5657,7 @@ impl IInkStrokes_Vtbl { let this = (*this).get_impl(); match IInkStrokes_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(_newenum, core::mem::transmute(ok__)); + _newenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5668,7 +5668,7 @@ impl IInkStrokes_Vtbl { let this = (*this).get_impl(); match IInkStrokes_Impl::Ink(this) { Ok(ok__) => { - core::ptr::write(ink, core::mem::transmute(ok__)); + ink.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5679,7 +5679,7 @@ impl IInkStrokes_Vtbl { let this = (*this).get_impl(); match IInkStrokes_Impl::RecognitionResult(this) { Ok(ok__) => { - core::ptr::write(recognitionresult, core::mem::transmute(ok__)); + recognitionresult.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5690,7 +5690,7 @@ impl IInkStrokes_Vtbl { let this = (*this).get_impl(); match IInkStrokes_Impl::ToString(this) { Ok(ok__) => { - core::ptr::write(tostring, core::mem::transmute(ok__)); + tostring.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5701,7 +5701,7 @@ impl IInkStrokes_Vtbl { let this = (*this).get_impl(); match IInkStrokes_Impl::Item(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(stroke, core::mem::transmute(ok__)); + stroke.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5737,7 +5737,7 @@ impl IInkStrokes_Vtbl { let this = (*this).get_impl(); match IInkStrokes_Impl::GetBoundingBox(this, core::mem::transmute_copy(&boundingboxmode)) { Ok(ok__) => { - core::ptr::write(boundingbox, core::mem::transmute(ok__)); + boundingbox.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5830,7 +5830,7 @@ impl IInkTablet_Vtbl { let this = (*this).get_impl(); match IInkTablet_Impl::Name(this) { Ok(ok__) => { - core::ptr::write(name, core::mem::transmute(ok__)); + name.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5841,7 +5841,7 @@ impl IInkTablet_Vtbl { let this = (*this).get_impl(); match IInkTablet_Impl::PlugAndPlayId(this) { Ok(ok__) => { - core::ptr::write(id, core::mem::transmute(ok__)); + id.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5852,7 +5852,7 @@ impl IInkTablet_Vtbl { let this = (*this).get_impl(); match IInkTablet_Impl::MaximumInputRectangle(this) { Ok(ok__) => { - core::ptr::write(rectangle, core::mem::transmute(ok__)); + rectangle.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5863,7 +5863,7 @@ impl IInkTablet_Vtbl { let this = (*this).get_impl(); match IInkTablet_Impl::HardwareCapabilities(this) { Ok(ok__) => { - core::ptr::write(capabilities, core::mem::transmute(ok__)); + capabilities.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5874,7 +5874,7 @@ impl IInkTablet_Vtbl { let this = (*this).get_impl(); match IInkTablet_Impl::IsPacketPropertySupported(this, core::mem::transmute(&packetpropertyname)) { Ok(ok__) => { - core::ptr::write(supported, core::mem::transmute(ok__)); + supported.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5913,7 +5913,7 @@ impl IInkTablet2_Vtbl { let this = (*this).get_impl(); match IInkTablet2_Impl::DeviceKind(this) { Ok(ok__) => { - core::ptr::write(kind, core::mem::transmute(ok__)); + kind.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5940,7 +5940,7 @@ impl IInkTablet3_Vtbl { let this = (*this).get_impl(); match IInkTablet3_Impl::IsMultiTouch(this) { Ok(ok__) => { - core::ptr::write(pismultitouch, core::mem::transmute(ok__)); + pismultitouch.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5951,7 +5951,7 @@ impl IInkTablet3_Vtbl { let this = (*this).get_impl(); match IInkTablet3_Impl::MaximumCursors(this) { Ok(ok__) => { - core::ptr::write(pmaximumcursors, core::mem::transmute(ok__)); + pmaximumcursors.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5985,7 +5985,7 @@ impl IInkTablets_Vtbl { let this = (*this).get_impl(); match IInkTablets_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(count, core::mem::transmute(ok__)); + count.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5996,7 +5996,7 @@ impl IInkTablets_Vtbl { let this = (*this).get_impl(); match IInkTablets_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(_newenum, core::mem::transmute(ok__)); + _newenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6007,7 +6007,7 @@ impl IInkTablets_Vtbl { let this = (*this).get_impl(); match IInkTablets_Impl::DefaultTablet(this) { Ok(ok__) => { - core::ptr::write(defaulttablet, core::mem::transmute(ok__)); + defaulttablet.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6018,7 +6018,7 @@ impl IInkTablets_Vtbl { let this = (*this).get_impl(); match IInkTablets_Impl::Item(this, core::mem::transmute_copy(&index)) { Ok(ok__) => { - core::ptr::write(tablet, core::mem::transmute(ok__)); + tablet.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6029,7 +6029,7 @@ impl IInkTablets_Vtbl { let this = (*this).get_impl(); match IInkTablets_Impl::IsPacketPropertySupported(this, core::mem::transmute(&packetpropertyname)) { Ok(ok__) => { - core::ptr::write(supported, core::mem::transmute(ok__)); + supported.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6123,7 +6123,7 @@ impl IInkTransform_Vtbl { let this = (*this).get_impl(); match IInkTransform_Impl::eM11(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6139,7 +6139,7 @@ impl IInkTransform_Vtbl { let this = (*this).get_impl(); match IInkTransform_Impl::eM12(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6155,7 +6155,7 @@ impl IInkTransform_Vtbl { let this = (*this).get_impl(); match IInkTransform_Impl::eM21(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6171,7 +6171,7 @@ impl IInkTransform_Vtbl { let this = (*this).get_impl(); match IInkTransform_Impl::eM22(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6187,7 +6187,7 @@ impl IInkTransform_Vtbl { let this = (*this).get_impl(); match IInkTransform_Impl::eDx(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6203,7 +6203,7 @@ impl IInkTransform_Vtbl { let this = (*this).get_impl(); match IInkTransform_Impl::eDy(this) { Ok(ok__) => { - core::ptr::write(value, core::mem::transmute(ok__)); + value.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6325,7 +6325,7 @@ impl IInputPanelWindowHandle_Vtbl { let this = (*this).get_impl(); match IInputPanelWindowHandle_Impl::AttachedEditWindow32(this) { Ok(ok__) => { - core::ptr::write(attachededitwindow, core::mem::transmute(ok__)); + attachededitwindow.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6341,7 +6341,7 @@ impl IInputPanelWindowHandle_Vtbl { let this = (*this).get_impl(); match IInputPanelWindowHandle_Impl::AttachedEditWindow64(this) { Ok(ok__) => { - core::ptr::write(attachededitwindow, core::mem::transmute(ok__)); + attachededitwindow.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6404,7 +6404,7 @@ impl IMathInputControl_Vtbl { let this = (*this).get_impl(); match IMathInputControl_Impl::IsVisible(this) { Ok(ok__) => { - core::ptr::write(pvbshown, core::mem::transmute(ok__)); + pvbshown.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6455,7 +6455,7 @@ impl IMathInputControl_Vtbl { let this = (*this).get_impl(); match IMathInputControl_Impl::GetPreviewHeight(this) { Ok(ok__) => { - core::ptr::write(height, core::mem::transmute(ok__)); + height.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6486,7 +6486,7 @@ impl IMathInputControl_Vtbl { let this = (*this).get_impl(); match IMathInputControl_Impl::GetHoverIcon(this) { Ok(ok__) => { - core::ptr::write(hoverimage, core::mem::transmute(ok__)); + hoverimage.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6555,7 +6555,7 @@ impl IPenInputPanel_Vtbl { let this = (*this).get_impl(); match IPenInputPanel_Impl::Busy(this) { Ok(ok__) => { - core::ptr::write(busy, core::mem::transmute(ok__)); + busy.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6566,7 +6566,7 @@ impl IPenInputPanel_Vtbl { let this = (*this).get_impl(); match IPenInputPanel_Impl::Factoid(this) { Ok(ok__) => { - core::ptr::write(factoid, core::mem::transmute(ok__)); + factoid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6582,7 +6582,7 @@ impl IPenInputPanel_Vtbl { let this = (*this).get_impl(); match IPenInputPanel_Impl::AttachedEditWindow(this) { Ok(ok__) => { - core::ptr::write(attachededitwindow, core::mem::transmute(ok__)); + attachededitwindow.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6598,7 +6598,7 @@ impl IPenInputPanel_Vtbl { let this = (*this).get_impl(); match IPenInputPanel_Impl::CurrentPanel(this) { Ok(ok__) => { - core::ptr::write(currentpanel, core::mem::transmute(ok__)); + currentpanel.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6614,7 +6614,7 @@ impl IPenInputPanel_Vtbl { let this = (*this).get_impl(); match IPenInputPanel_Impl::DefaultPanel(this) { Ok(ok__) => { - core::ptr::write(pdefaultpanel, core::mem::transmute(ok__)); + pdefaultpanel.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6630,7 +6630,7 @@ impl IPenInputPanel_Vtbl { let this = (*this).get_impl(); match IPenInputPanel_Impl::Visible(this) { Ok(ok__) => { - core::ptr::write(visible, core::mem::transmute(ok__)); + visible.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6646,7 +6646,7 @@ impl IPenInputPanel_Vtbl { let this = (*this).get_impl(); match IPenInputPanel_Impl::Top(this) { Ok(ok__) => { - core::ptr::write(top, core::mem::transmute(ok__)); + top.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6657,7 +6657,7 @@ impl IPenInputPanel_Vtbl { let this = (*this).get_impl(); match IPenInputPanel_Impl::Left(this) { Ok(ok__) => { - core::ptr::write(left, core::mem::transmute(ok__)); + left.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6668,7 +6668,7 @@ impl IPenInputPanel_Vtbl { let this = (*this).get_impl(); match IPenInputPanel_Impl::Width(this) { Ok(ok__) => { - core::ptr::write(width, core::mem::transmute(ok__)); + width.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6679,7 +6679,7 @@ impl IPenInputPanel_Vtbl { let this = (*this).get_impl(); match IPenInputPanel_Impl::Height(this) { Ok(ok__) => { - core::ptr::write(height, core::mem::transmute(ok__)); + height.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6690,7 +6690,7 @@ impl IPenInputPanel_Vtbl { let this = (*this).get_impl(); match IPenInputPanel_Impl::VerticalOffset(this) { Ok(ok__) => { - core::ptr::write(verticaloffset, core::mem::transmute(ok__)); + verticaloffset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6706,7 +6706,7 @@ impl IPenInputPanel_Vtbl { let this = (*this).get_impl(); match IPenInputPanel_Impl::HorizontalOffset(this) { Ok(ok__) => { - core::ptr::write(horizontaloffset, core::mem::transmute(ok__)); + horizontaloffset.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6722,7 +6722,7 @@ impl IPenInputPanel_Vtbl { let this = (*this).get_impl(); match IPenInputPanel_Impl::AutoShow(this) { Ok(ok__) => { - core::ptr::write(pautoshow, core::mem::transmute(ok__)); + pautoshow.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6830,7 +6830,7 @@ impl IRealTimeStylus_Vtbl { let this = (*this).get_impl(); match IRealTimeStylus_Impl::Enabled(this) { Ok(ok__) => { - core::ptr::write(pfenable, core::mem::transmute(ok__)); + pfenable.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6846,7 +6846,7 @@ impl IRealTimeStylus_Vtbl { let this = (*this).get_impl(); match IRealTimeStylus_Impl::HWND(this) { Ok(ok__) => { - core::ptr::write(phwnd, core::mem::transmute(ok__)); + phwnd.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6862,7 +6862,7 @@ impl IRealTimeStylus_Vtbl { let this = (*this).get_impl(); match IRealTimeStylus_Impl::WindowInputRectangle(this) { Ok(ok__) => { - core::ptr::write(prcwndinputrect, core::mem::transmute(ok__)); + prcwndinputrect.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6893,7 +6893,7 @@ impl IRealTimeStylus_Vtbl { let this = (*this).get_impl(); match IRealTimeStylus_Impl::GetStylusSyncPlugin(this, core::mem::transmute_copy(&iindex)) { Ok(ok__) => { - core::ptr::write(ppiplugin, core::mem::transmute(ok__)); + ppiplugin.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6904,7 +6904,7 @@ impl IRealTimeStylus_Vtbl { let this = (*this).get_impl(); match IRealTimeStylus_Impl::GetStylusSyncPluginCount(this) { Ok(ok__) => { - core::ptr::write(pcplugins, core::mem::transmute(ok__)); + pcplugins.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6930,7 +6930,7 @@ impl IRealTimeStylus_Vtbl { let this = (*this).get_impl(); match IRealTimeStylus_Impl::GetStylusAsyncPlugin(this, core::mem::transmute_copy(&iindex)) { Ok(ok__) => { - core::ptr::write(ppiplugin, core::mem::transmute(ok__)); + ppiplugin.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6941,7 +6941,7 @@ impl IRealTimeStylus_Vtbl { let this = (*this).get_impl(); match IRealTimeStylus_Impl::GetStylusAsyncPluginCount(this) { Ok(ok__) => { - core::ptr::write(pcplugins, core::mem::transmute(ok__)); + pcplugins.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6952,7 +6952,7 @@ impl IRealTimeStylus_Vtbl { let this = (*this).get_impl(); match IRealTimeStylus_Impl::ChildRealTimeStylusPlugin(this) { Ok(ok__) => { - core::ptr::write(ppirts, core::mem::transmute(ok__)); + ppirts.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6988,7 +6988,7 @@ impl IRealTimeStylus_Vtbl { let this = (*this).get_impl(); match IRealTimeStylus_Impl::GetTablet(this) { Ok(ok__) => { - core::ptr::write(ppisingletablet, core::mem::transmute(ok__)); + ppisingletablet.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6999,7 +6999,7 @@ impl IRealTimeStylus_Vtbl { let this = (*this).get_impl(); match IRealTimeStylus_Impl::GetTabletContextIdFromTablet(this, windows_core::from_raw_borrowed(&pitablet)) { Ok(ok__) => { - core::ptr::write(ptcid, core::mem::transmute(ok__)); + ptcid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7010,7 +7010,7 @@ impl IRealTimeStylus_Vtbl { let this = (*this).get_impl(); match IRealTimeStylus_Impl::GetTabletFromTabletContextId(this, core::mem::transmute_copy(&tcid)) { Ok(ok__) => { - core::ptr::write(ppitablet, core::mem::transmute(ok__)); + ppitablet.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7026,7 +7026,7 @@ impl IRealTimeStylus_Vtbl { let this = (*this).get_impl(); match IRealTimeStylus_Impl::GetStyluses(this) { Ok(ok__) => { - core::ptr::write(ppiinkcursors, core::mem::transmute(ok__)); + ppiinkcursors.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7037,7 +7037,7 @@ impl IRealTimeStylus_Vtbl { let this = (*this).get_impl(); match IRealTimeStylus_Impl::GetStylusForId(this, core::mem::transmute_copy(&sid)) { Ok(ok__) => { - core::ptr::write(ppiinkcursor, core::mem::transmute(ok__)); + ppiinkcursor.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7109,7 +7109,7 @@ impl IRealTimeStylus2_Vtbl { let this = (*this).get_impl(); match IRealTimeStylus2_Impl::FlicksEnabled(this) { Ok(ok__) => { - core::ptr::write(pfenable, core::mem::transmute(ok__)); + pfenable.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7142,7 +7142,7 @@ impl IRealTimeStylus3_Vtbl { let this = (*this).get_impl(); match IRealTimeStylus3_Impl::MultiTouchEnabled(this) { Ok(ok__) => { - core::ptr::write(pfenable, core::mem::transmute(ok__)); + pfenable.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7242,7 +7242,7 @@ impl IStrokeBuilder_Vtbl { let this = (*this).get_impl(); match IStrokeBuilder_Impl::Ink(this) { Ok(ok__) => { - core::ptr::write(ppiinkobj, core::mem::transmute(ok__)); + ppiinkobj.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7390,7 +7390,7 @@ impl IStylusPlugin_Vtbl { let this = (*this).get_impl(); match IStylusPlugin_Impl::DataInterest(this) { Ok(ok__) => { - core::ptr::write(pdatainterest, core::mem::transmute(ok__)); + pdatainterest.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7469,7 +7469,7 @@ impl ITextInputPanel_Vtbl { let this = (*this).get_impl(); match ITextInputPanel_Impl::AttachedEditWindow(this) { Ok(ok__) => { - core::ptr::write(attachededitwindow, core::mem::transmute(ok__)); + attachededitwindow.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7485,7 +7485,7 @@ impl ITextInputPanel_Vtbl { let this = (*this).get_impl(); match ITextInputPanel_Impl::CurrentInteractionMode(this) { Ok(ok__) => { - core::ptr::write(currentinteractionmode, core::mem::transmute(ok__)); + currentinteractionmode.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7496,7 +7496,7 @@ impl ITextInputPanel_Vtbl { let this = (*this).get_impl(); match ITextInputPanel_Impl::DefaultInPlaceState(this) { Ok(ok__) => { - core::ptr::write(state, core::mem::transmute(ok__)); + state.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7512,7 +7512,7 @@ impl ITextInputPanel_Vtbl { let this = (*this).get_impl(); match ITextInputPanel_Impl::CurrentInPlaceState(this) { Ok(ok__) => { - core::ptr::write(state, core::mem::transmute(ok__)); + state.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7523,7 +7523,7 @@ impl ITextInputPanel_Vtbl { let this = (*this).get_impl(); match ITextInputPanel_Impl::DefaultInputArea(this) { Ok(ok__) => { - core::ptr::write(area, core::mem::transmute(ok__)); + area.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7539,7 +7539,7 @@ impl ITextInputPanel_Vtbl { let this = (*this).get_impl(); match ITextInputPanel_Impl::CurrentInputArea(this) { Ok(ok__) => { - core::ptr::write(area, core::mem::transmute(ok__)); + area.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7550,7 +7550,7 @@ impl ITextInputPanel_Vtbl { let this = (*this).get_impl(); match ITextInputPanel_Impl::CurrentCorrectionMode(this) { Ok(ok__) => { - core::ptr::write(mode, core::mem::transmute(ok__)); + mode.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7561,7 +7561,7 @@ impl ITextInputPanel_Vtbl { let this = (*this).get_impl(); match ITextInputPanel_Impl::PreferredInPlaceDirection(this) { Ok(ok__) => { - core::ptr::write(direction, core::mem::transmute(ok__)); + direction.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7577,7 +7577,7 @@ impl ITextInputPanel_Vtbl { let this = (*this).get_impl(); match ITextInputPanel_Impl::ExpandPostInsertionCorrection(this) { Ok(ok__) => { - core::ptr::write(expand, core::mem::transmute(ok__)); + expand.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7593,7 +7593,7 @@ impl ITextInputPanel_Vtbl { let this = (*this).get_impl(); match ITextInputPanel_Impl::InPlaceVisibleOnFocus(this) { Ok(ok__) => { - core::ptr::write(visible, core::mem::transmute(ok__)); + visible.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7609,7 +7609,7 @@ impl ITextInputPanel_Vtbl { let this = (*this).get_impl(); match ITextInputPanel_Impl::InPlaceBoundingRectangle(this) { Ok(ok__) => { - core::ptr::write(boundingrectangle, core::mem::transmute(ok__)); + boundingrectangle.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7620,7 +7620,7 @@ impl ITextInputPanel_Vtbl { let this = (*this).get_impl(); match ITextInputPanel_Impl::PopUpCorrectionHeight(this) { Ok(ok__) => { - core::ptr::write(height, core::mem::transmute(ok__)); + height.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7631,7 +7631,7 @@ impl ITextInputPanel_Vtbl { let this = (*this).get_impl(); match ITextInputPanel_Impl::PopDownCorrectionHeight(this) { Ok(ok__) => { - core::ptr::write(height, core::mem::transmute(ok__)); + height.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7811,7 +7811,7 @@ impl ITextInputPanelRunInfo_Vtbl { let this = (*this).get_impl(); match ITextInputPanelRunInfo_Impl::IsTipRunning(this) { Ok(ok__) => { - core::ptr::write(pfrunning, core::mem::transmute(ok__)); + pfrunning.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7858,7 +7858,7 @@ impl ITipAutoCompleteClient_Vtbl { let this = (*this).get_impl(); match ITipAutoCompleteClient_Impl::RequestShowUI(this, core::mem::transmute_copy(&hwndlist)) { Ok(ok__) => { - core::ptr::write(pfallowshowing, core::mem::transmute(ok__)); + pfallowshowing.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/Win32/UI/TextServices/impl.rs b/crates/libs/windows/src/Windows/Win32/UI/TextServices/impl.rs index 2fff30e1bd..31cce67833 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/TextServices/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/TextServices/impl.rs @@ -15,7 +15,7 @@ impl IAccClientDocMgr_Vtbl { let this = (*this).get_impl(); match IAccClientDocMgr_Impl::GetDocuments(this) { Ok(ok__) => { - core::ptr::write(enumunknown, core::mem::transmute(ok__)); + enumunknown.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -26,7 +26,7 @@ impl IAccClientDocMgr_Vtbl { let this = (*this).get_impl(); match IAccClientDocMgr_Impl::LookupByHWND(this, core::mem::transmute_copy(&hwnd), core::mem::transmute_copy(&riid)) { Ok(ok__) => { - core::ptr::write(ppunk, core::mem::transmute(ok__)); + ppunk.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -37,7 +37,7 @@ impl IAccClientDocMgr_Vtbl { let this = (*this).get_impl(); match IAccClientDocMgr_Impl::LookupByPoint(this, core::mem::transmute(&pt), core::mem::transmute_copy(&riid)) { Ok(ok__) => { - core::ptr::write(ppunk, core::mem::transmute(ok__)); + ppunk.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -48,7 +48,7 @@ impl IAccClientDocMgr_Vtbl { let this = (*this).get_impl(); match IAccClientDocMgr_Impl::GetFocused(this, core::mem::transmute_copy(&riid)) { Ok(ok__) => { - core::ptr::write(ppunk, core::mem::transmute(ok__)); + ppunk.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -86,7 +86,7 @@ impl IAccDictionary_Vtbl { let this = (*this).get_impl(); match IAccDictionary_Impl::GetParentTerm(this, core::mem::transmute_copy(&term)) { Ok(ok__) => { - core::ptr::write(pparentterm, core::mem::transmute(ok__)); + pparentterm.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -97,7 +97,7 @@ impl IAccDictionary_Vtbl { let this = (*this).get_impl(); match IAccDictionary_Impl::GetMnemonicString(this, core::mem::transmute_copy(&term)) { Ok(ok__) => { - core::ptr::write(presult, core::mem::transmute(ok__)); + presult.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -108,7 +108,7 @@ impl IAccDictionary_Vtbl { let this = (*this).get_impl(); match IAccDictionary_Impl::LookupMnemonicTerm(this, core::mem::transmute(&bstrmnemonic)) { Ok(ok__) => { - core::ptr::write(pterm, core::mem::transmute(ok__)); + pterm.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -196,7 +196,7 @@ impl IAccStore_Vtbl { let this = (*this).get_impl(); match IAccStore_Impl::GetDocuments(this) { Ok(ok__) => { - core::ptr::write(enumunknown, core::mem::transmute(ok__)); + enumunknown.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -207,7 +207,7 @@ impl IAccStore_Vtbl { let this = (*this).get_impl(); match IAccStore_Impl::LookupByHWND(this, core::mem::transmute_copy(&hwnd), core::mem::transmute_copy(&riid)) { Ok(ok__) => { - core::ptr::write(ppunk, core::mem::transmute(ok__)); + ppunk.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -218,7 +218,7 @@ impl IAccStore_Vtbl { let this = (*this).get_impl(); match IAccStore_Impl::LookupByPoint(this, core::mem::transmute(&pt), core::mem::transmute_copy(&riid)) { Ok(ok__) => { - core::ptr::write(ppunk, core::mem::transmute(ok__)); + ppunk.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -234,7 +234,7 @@ impl IAccStore_Vtbl { let this = (*this).get_impl(); match IAccStore_Impl::GetFocused(this, core::mem::transmute_copy(&riid)) { Ok(ok__) => { - core::ptr::write(ppunk, core::mem::transmute(ok__)); + ppunk.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -281,7 +281,7 @@ impl IAnchor_Vtbl { let this = (*this).get_impl(); match IAnchor_Impl::GetGravity(this) { Ok(ok__) => { - core::ptr::write(pgravity, core::mem::transmute(ok__)); + pgravity.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -292,7 +292,7 @@ impl IAnchor_Vtbl { let this = (*this).get_impl(); match IAnchor_Impl::IsEqual(this, windows_core::from_raw_borrowed(&pawith)) { Ok(ok__) => { - core::ptr::write(pfequal, core::mem::transmute(ok__)); + pfequal.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -303,7 +303,7 @@ impl IAnchor_Vtbl { let this = (*this).get_impl(); match IAnchor_Impl::Compare(this, windows_core::from_raw_borrowed(&pawith)) { Ok(ok__) => { - core::ptr::write(plresult, core::mem::transmute(ok__)); + plresult.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -324,7 +324,7 @@ impl IAnchor_Vtbl { let this = (*this).get_impl(); match IAnchor_Impl::ShiftRegion(this, core::mem::transmute_copy(&dwflags), core::mem::transmute_copy(&dir)) { Ok(ok__) => { - core::ptr::write(pfnoregion, core::mem::transmute(ok__)); + pfnoregion.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -340,7 +340,7 @@ impl IAnchor_Vtbl { let this = (*this).get_impl(); match IAnchor_Impl::GetChangeHistory(this) { Ok(ok__) => { - core::ptr::write(pdwhistory, core::mem::transmute(ok__)); + pdwhistory.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -356,7 +356,7 @@ impl IAnchor_Vtbl { let this = (*this).get_impl(); match IAnchor_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppaclone, core::mem::transmute(ok__)); + ppaclone.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -449,7 +449,7 @@ impl IDocWrap_Vtbl { let this = (*this).get_impl(); match IDocWrap_Impl::GetWrappedDoc(this, core::mem::transmute_copy(&riid)) { Ok(ok__) => { - core::ptr::write(ppunk, core::mem::transmute(ok__)); + ppunk.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -479,7 +479,7 @@ impl IEnumITfCompositionView_Vtbl { let this = (*this).get_impl(); match IEnumITfCompositionView_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -526,7 +526,7 @@ impl IEnumSpeechCommands_Vtbl { let this = (*this).get_impl(); match IEnumSpeechCommands_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -573,7 +573,7 @@ impl IEnumTfCandidates_Vtbl { let this = (*this).get_impl(); match IEnumTfCandidates_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -620,7 +620,7 @@ impl IEnumTfContextViews_Vtbl { let this = (*this).get_impl(); match IEnumTfContextViews_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -667,7 +667,7 @@ impl IEnumTfContexts_Vtbl { let this = (*this).get_impl(); match IEnumTfContexts_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -714,7 +714,7 @@ impl IEnumTfDisplayAttributeInfo_Vtbl { let this = (*this).get_impl(); match IEnumTfDisplayAttributeInfo_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -761,7 +761,7 @@ impl IEnumTfDocumentMgrs_Vtbl { let this = (*this).get_impl(); match IEnumTfDocumentMgrs_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -808,7 +808,7 @@ impl IEnumTfFunctionProviders_Vtbl { let this = (*this).get_impl(); match IEnumTfFunctionProviders_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -855,7 +855,7 @@ impl IEnumTfInputProcessorProfiles_Vtbl { let this = (*this).get_impl(); match IEnumTfInputProcessorProfiles_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -902,7 +902,7 @@ impl IEnumTfLangBarItems_Vtbl { let this = (*this).get_impl(); match IEnumTfLangBarItems_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -949,7 +949,7 @@ impl IEnumTfLanguageProfiles_Vtbl { let this = (*this).get_impl(); match IEnumTfLanguageProfiles_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -996,7 +996,7 @@ impl IEnumTfLatticeElements_Vtbl { let this = (*this).get_impl(); match IEnumTfLatticeElements_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1043,7 +1043,7 @@ impl IEnumTfProperties_Vtbl { let this = (*this).get_impl(); match IEnumTfProperties_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1090,7 +1090,7 @@ impl IEnumTfPropertyValue_Vtbl { let this = (*this).get_impl(); match IEnumTfPropertyValue_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1137,7 +1137,7 @@ impl IEnumTfRanges_Vtbl { let this = (*this).get_impl(); match IEnumTfRanges_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1184,7 +1184,7 @@ impl IEnumTfUIElements_Vtbl { let this = (*this).get_impl(); match IEnumTfUIElements_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1246,7 +1246,7 @@ impl ISpeechCommandProvider_Vtbl { let this = (*this).get_impl(); match ISpeechCommandProvider_Impl::EnumSpeechCommands(this, core::mem::transmute_copy(&langid)) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1316,7 +1316,7 @@ impl ITextStoreACP_Vtbl { let this = (*this).get_impl(); match ITextStoreACP_Impl::RequestLock(this, core::mem::transmute_copy(&dwlockflags)) { Ok(ok__) => { - core::ptr::write(phrsession, core::mem::transmute(ok__)); + phrsession.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1327,7 +1327,7 @@ impl ITextStoreACP_Vtbl { let this = (*this).get_impl(); match ITextStoreACP_Impl::GetStatus(this) { Ok(ok__) => { - core::ptr::write(pdcs, core::mem::transmute(ok__)); + pdcs.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1358,7 +1358,7 @@ impl ITextStoreACP_Vtbl { let this = (*this).get_impl(); match ITextStoreACP_Impl::SetText(this, core::mem::transmute_copy(&dwflags), core::mem::transmute_copy(&acpstart), core::mem::transmute_copy(&acpend), core::mem::transmute(&pchtext), core::mem::transmute_copy(&cch)) { Ok(ok__) => { - core::ptr::write(pchange, core::mem::transmute(ok__)); + pchange.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1369,7 +1369,7 @@ impl ITextStoreACP_Vtbl { let this = (*this).get_impl(); match ITextStoreACP_Impl::GetFormattedText(this, core::mem::transmute_copy(&acpstart), core::mem::transmute_copy(&acpend)) { Ok(ok__) => { - core::ptr::write(ppdataobject, core::mem::transmute(ok__)); + ppdataobject.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1380,7 +1380,7 @@ impl ITextStoreACP_Vtbl { let this = (*this).get_impl(); match ITextStoreACP_Impl::GetEmbedded(this, core::mem::transmute_copy(&acppos), core::mem::transmute_copy(&rguidservice), core::mem::transmute_copy(&riid)) { Ok(ok__) => { - core::ptr::write(ppunk, core::mem::transmute(ok__)); + ppunk.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1391,7 +1391,7 @@ impl ITextStoreACP_Vtbl { let this = (*this).get_impl(); match ITextStoreACP_Impl::QueryInsertEmbedded(this, core::mem::transmute_copy(&pguidservice), core::mem::transmute_copy(&pformatetc)) { Ok(ok__) => { - core::ptr::write(pfinsertable, core::mem::transmute(ok__)); + pfinsertable.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1402,7 +1402,7 @@ impl ITextStoreACP_Vtbl { let this = (*this).get_impl(); match ITextStoreACP_Impl::InsertEmbedded(this, core::mem::transmute_copy(&dwflags), core::mem::transmute_copy(&acpstart), core::mem::transmute_copy(&acpend), windows_core::from_raw_borrowed(&pdataobject)) { Ok(ok__) => { - core::ptr::write(pchange, core::mem::transmute(ok__)); + pchange.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1448,7 +1448,7 @@ impl ITextStoreACP_Vtbl { let this = (*this).get_impl(); match ITextStoreACP_Impl::GetEndACP(this) { Ok(ok__) => { - core::ptr::write(pacp, core::mem::transmute(ok__)); + pacp.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1459,7 +1459,7 @@ impl ITextStoreACP_Vtbl { let this = (*this).get_impl(); match ITextStoreACP_Impl::GetActiveView(this) { Ok(ok__) => { - core::ptr::write(pvcview, core::mem::transmute(ok__)); + pvcview.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1470,7 +1470,7 @@ impl ITextStoreACP_Vtbl { let this = (*this).get_impl(); match ITextStoreACP_Impl::GetACPFromPoint(this, core::mem::transmute_copy(&vcview), core::mem::transmute_copy(&ptscreen), core::mem::transmute_copy(&dwflags)) { Ok(ok__) => { - core::ptr::write(pacp, core::mem::transmute(ok__)); + pacp.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1486,7 +1486,7 @@ impl ITextStoreACP_Vtbl { let this = (*this).get_impl(); match ITextStoreACP_Impl::GetScreenExt(this, core::mem::transmute_copy(&vcview)) { Ok(ok__) => { - core::ptr::write(prc, core::mem::transmute(ok__)); + prc.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1497,7 +1497,7 @@ impl ITextStoreACP_Vtbl { let this = (*this).get_impl(); match ITextStoreACP_Impl::GetWnd(this, core::mem::transmute_copy(&vcview)) { Ok(ok__) => { - core::ptr::write(phwnd, core::mem::transmute(ok__)); + phwnd.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1585,7 +1585,7 @@ impl ITextStoreACP2_Vtbl { let this = (*this).get_impl(); match ITextStoreACP2_Impl::RequestLock(this, core::mem::transmute_copy(&dwlockflags)) { Ok(ok__) => { - core::ptr::write(phrsession, core::mem::transmute(ok__)); + phrsession.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1596,7 +1596,7 @@ impl ITextStoreACP2_Vtbl { let this = (*this).get_impl(); match ITextStoreACP2_Impl::GetStatus(this) { Ok(ok__) => { - core::ptr::write(pdcs, core::mem::transmute(ok__)); + pdcs.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1627,7 +1627,7 @@ impl ITextStoreACP2_Vtbl { let this = (*this).get_impl(); match ITextStoreACP2_Impl::SetText(this, core::mem::transmute_copy(&dwflags), core::mem::transmute_copy(&acpstart), core::mem::transmute_copy(&acpend), core::mem::transmute(&pchtext), core::mem::transmute_copy(&cch)) { Ok(ok__) => { - core::ptr::write(pchange, core::mem::transmute(ok__)); + pchange.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1638,7 +1638,7 @@ impl ITextStoreACP2_Vtbl { let this = (*this).get_impl(); match ITextStoreACP2_Impl::GetFormattedText(this, core::mem::transmute_copy(&acpstart), core::mem::transmute_copy(&acpend)) { Ok(ok__) => { - core::ptr::write(ppdataobject, core::mem::transmute(ok__)); + ppdataobject.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1649,7 +1649,7 @@ impl ITextStoreACP2_Vtbl { let this = (*this).get_impl(); match ITextStoreACP2_Impl::GetEmbedded(this, core::mem::transmute_copy(&acppos), core::mem::transmute_copy(&rguidservice), core::mem::transmute_copy(&riid)) { Ok(ok__) => { - core::ptr::write(ppunk, core::mem::transmute(ok__)); + ppunk.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1660,7 +1660,7 @@ impl ITextStoreACP2_Vtbl { let this = (*this).get_impl(); match ITextStoreACP2_Impl::QueryInsertEmbedded(this, core::mem::transmute_copy(&pguidservice), core::mem::transmute_copy(&pformatetc)) { Ok(ok__) => { - core::ptr::write(pfinsertable, core::mem::transmute(ok__)); + pfinsertable.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1671,7 +1671,7 @@ impl ITextStoreACP2_Vtbl { let this = (*this).get_impl(); match ITextStoreACP2_Impl::InsertEmbedded(this, core::mem::transmute_copy(&dwflags), core::mem::transmute_copy(&acpstart), core::mem::transmute_copy(&acpend), windows_core::from_raw_borrowed(&pdataobject)) { Ok(ok__) => { - core::ptr::write(pchange, core::mem::transmute(ok__)); + pchange.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1717,7 +1717,7 @@ impl ITextStoreACP2_Vtbl { let this = (*this).get_impl(); match ITextStoreACP2_Impl::GetEndACP(this) { Ok(ok__) => { - core::ptr::write(pacp, core::mem::transmute(ok__)); + pacp.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1728,7 +1728,7 @@ impl ITextStoreACP2_Vtbl { let this = (*this).get_impl(); match ITextStoreACP2_Impl::GetActiveView(this) { Ok(ok__) => { - core::ptr::write(pvcview, core::mem::transmute(ok__)); + pvcview.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1739,7 +1739,7 @@ impl ITextStoreACP2_Vtbl { let this = (*this).get_impl(); match ITextStoreACP2_Impl::GetACPFromPoint(this, core::mem::transmute_copy(&vcview), core::mem::transmute_copy(&ptscreen), core::mem::transmute_copy(&dwflags)) { Ok(ok__) => { - core::ptr::write(pacp, core::mem::transmute(ok__)); + pacp.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1755,7 +1755,7 @@ impl ITextStoreACP2_Vtbl { let this = (*this).get_impl(); match ITextStoreACP2_Impl::GetScreenExt(this, core::mem::transmute_copy(&vcview)) { Ok(ok__) => { - core::ptr::write(prc, core::mem::transmute(ok__)); + prc.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1843,7 +1843,7 @@ impl ITextStoreACPServices_Vtbl { let this = (*this).get_impl(); match ITextStoreACPServices_Impl::CreateRange(this, core::mem::transmute_copy(&acpstart), core::mem::transmute_copy(&acpend)) { Ok(ok__) => { - core::ptr::write(pprange, core::mem::transmute(ok__)); + pprange.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1997,7 +1997,7 @@ impl ITextStoreAnchor_Vtbl { let this = (*this).get_impl(); match ITextStoreAnchor_Impl::RequestLock(this, core::mem::transmute_copy(&dwlockflags)) { Ok(ok__) => { - core::ptr::write(phrsession, core::mem::transmute(ok__)); + phrsession.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2008,7 +2008,7 @@ impl ITextStoreAnchor_Vtbl { let this = (*this).get_impl(); match ITextStoreAnchor_Impl::GetStatus(this) { Ok(ok__) => { - core::ptr::write(pdcs, core::mem::transmute(ok__)); + pdcs.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2044,7 +2044,7 @@ impl ITextStoreAnchor_Vtbl { let this = (*this).get_impl(); match ITextStoreAnchor_Impl::GetFormattedText(this, windows_core::from_raw_borrowed(&pastart), windows_core::from_raw_borrowed(&paend)) { Ok(ok__) => { - core::ptr::write(ppdataobject, core::mem::transmute(ok__)); + ppdataobject.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2055,7 +2055,7 @@ impl ITextStoreAnchor_Vtbl { let this = (*this).get_impl(); match ITextStoreAnchor_Impl::GetEmbedded(this, core::mem::transmute_copy(&dwflags), windows_core::from_raw_borrowed(&papos), core::mem::transmute_copy(&rguidservice), core::mem::transmute_copy(&riid)) { Ok(ok__) => { - core::ptr::write(ppunk, core::mem::transmute(ok__)); + ppunk.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2096,7 +2096,7 @@ impl ITextStoreAnchor_Vtbl { let this = (*this).get_impl(); match ITextStoreAnchor_Impl::GetStart(this) { Ok(ok__) => { - core::ptr::write(ppastart, core::mem::transmute(ok__)); + ppastart.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2107,7 +2107,7 @@ impl ITextStoreAnchor_Vtbl { let this = (*this).get_impl(); match ITextStoreAnchor_Impl::GetEnd(this) { Ok(ok__) => { - core::ptr::write(ppaend, core::mem::transmute(ok__)); + ppaend.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2118,7 +2118,7 @@ impl ITextStoreAnchor_Vtbl { let this = (*this).get_impl(); match ITextStoreAnchor_Impl::GetActiveView(this) { Ok(ok__) => { - core::ptr::write(pvcview, core::mem::transmute(ok__)); + pvcview.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2129,7 +2129,7 @@ impl ITextStoreAnchor_Vtbl { let this = (*this).get_impl(); match ITextStoreAnchor_Impl::GetAnchorFromPoint(this, core::mem::transmute_copy(&vcview), core::mem::transmute_copy(&ptscreen), core::mem::transmute_copy(&dwflags)) { Ok(ok__) => { - core::ptr::write(ppasite, core::mem::transmute(ok__)); + ppasite.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2145,7 +2145,7 @@ impl ITextStoreAnchor_Vtbl { let this = (*this).get_impl(); match ITextStoreAnchor_Impl::GetScreenExt(this, core::mem::transmute_copy(&vcview)) { Ok(ok__) => { - core::ptr::write(prc, core::mem::transmute(ok__)); + prc.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2156,7 +2156,7 @@ impl ITextStoreAnchor_Vtbl { let this = (*this).get_impl(); match ITextStoreAnchor_Impl::GetWnd(this, core::mem::transmute_copy(&vcview)) { Ok(ok__) => { - core::ptr::write(phwnd, core::mem::transmute(ok__)); + phwnd.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2167,7 +2167,7 @@ impl ITextStoreAnchor_Vtbl { let this = (*this).get_impl(); match ITextStoreAnchor_Impl::QueryInsertEmbedded(this, core::mem::transmute_copy(&pguidservice), core::mem::transmute_copy(&pformatetc)) { Ok(ok__) => { - core::ptr::write(pfinsertable, core::mem::transmute(ok__)); + pfinsertable.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2352,7 +2352,7 @@ impl ITfCandidateList_Vtbl { let this = (*this).get_impl(); match ITfCandidateList_Impl::EnumCandidates(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2363,7 +2363,7 @@ impl ITfCandidateList_Vtbl { let this = (*this).get_impl(); match ITfCandidateList_Impl::GetCandidate(this, core::mem::transmute_copy(&nindex)) { Ok(ok__) => { - core::ptr::write(ppcand, core::mem::transmute(ok__)); + ppcand.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2374,7 +2374,7 @@ impl ITfCandidateList_Vtbl { let this = (*this).get_impl(); match ITfCandidateList_Impl::GetCandidateNum(this) { Ok(ok__) => { - core::ptr::write(pncnt, core::mem::transmute(ok__)); + pncnt.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2415,7 +2415,7 @@ impl ITfCandidateListUIElement_Vtbl { let this = (*this).get_impl(); match ITfCandidateListUIElement_Impl::GetUpdatedFlags(this) { Ok(ok__) => { - core::ptr::write(pdwflags, core::mem::transmute(ok__)); + pdwflags.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2426,7 +2426,7 @@ impl ITfCandidateListUIElement_Vtbl { let this = (*this).get_impl(); match ITfCandidateListUIElement_Impl::GetDocumentMgr(this) { Ok(ok__) => { - core::ptr::write(ppdim, core::mem::transmute(ok__)); + ppdim.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2437,7 +2437,7 @@ impl ITfCandidateListUIElement_Vtbl { let this = (*this).get_impl(); match ITfCandidateListUIElement_Impl::GetCount(this) { Ok(ok__) => { - core::ptr::write(pucount, core::mem::transmute(ok__)); + pucount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2448,7 +2448,7 @@ impl ITfCandidateListUIElement_Vtbl { let this = (*this).get_impl(); match ITfCandidateListUIElement_Impl::GetSelection(this) { Ok(ok__) => { - core::ptr::write(puindex, core::mem::transmute(ok__)); + puindex.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2459,7 +2459,7 @@ impl ITfCandidateListUIElement_Vtbl { let this = (*this).get_impl(); match ITfCandidateListUIElement_Impl::GetString(this, core::mem::transmute_copy(&uindex)) { Ok(ok__) => { - core::ptr::write(pstr, core::mem::transmute(ok__)); + pstr.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2480,7 +2480,7 @@ impl ITfCandidateListUIElement_Vtbl { let this = (*this).get_impl(); match ITfCandidateListUIElement_Impl::GetCurrentPage(this) { Ok(ok__) => { - core::ptr::write(pupage, core::mem::transmute(ok__)); + pupage.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2548,7 +2548,7 @@ impl ITfCandidateString_Vtbl { let this = (*this).get_impl(); match ITfCandidateString_Impl::GetString(this) { Ok(ok__) => { - core::ptr::write(pbstr, core::mem::transmute(ok__)); + pbstr.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2559,7 +2559,7 @@ impl ITfCandidateString_Vtbl { let this = (*this).get_impl(); match ITfCandidateString_Impl::GetIndex(this) { Ok(ok__) => { - core::ptr::write(pnindex, core::mem::transmute(ok__)); + pnindex.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2612,7 +2612,7 @@ impl ITfCategoryMgr_Vtbl { let this = (*this).get_impl(); match ITfCategoryMgr_Impl::EnumCategoriesInItem(this, core::mem::transmute_copy(&rguid)) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2623,7 +2623,7 @@ impl ITfCategoryMgr_Vtbl { let this = (*this).get_impl(); match ITfCategoryMgr_Impl::EnumItemsInCategory(this, core::mem::transmute_copy(&rcatid)) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2649,7 +2649,7 @@ impl ITfCategoryMgr_Vtbl { let this = (*this).get_impl(); match ITfCategoryMgr_Impl::GetGUIDDescription(this, core::mem::transmute_copy(&rguid)) { Ok(ok__) => { - core::ptr::write(pbstrdesc, core::mem::transmute(ok__)); + pbstrdesc.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2670,7 +2670,7 @@ impl ITfCategoryMgr_Vtbl { let this = (*this).get_impl(); match ITfCategoryMgr_Impl::GetGUIDDWORD(this, core::mem::transmute_copy(&rguid)) { Ok(ok__) => { - core::ptr::write(pdw, core::mem::transmute(ok__)); + pdw.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2681,7 +2681,7 @@ impl ITfCategoryMgr_Vtbl { let this = (*this).get_impl(); match ITfCategoryMgr_Impl::RegisterGUID(this, core::mem::transmute_copy(&rguid)) { Ok(ok__) => { - core::ptr::write(pguidatom, core::mem::transmute(ok__)); + pguidatom.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2692,7 +2692,7 @@ impl ITfCategoryMgr_Vtbl { let this = (*this).get_impl(); match ITfCategoryMgr_Impl::GetGUID(this, core::mem::transmute_copy(&guidatom)) { Ok(ok__) => { - core::ptr::write(pguid, core::mem::transmute(ok__)); + pguid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2703,7 +2703,7 @@ impl ITfCategoryMgr_Vtbl { let this = (*this).get_impl(); match ITfCategoryMgr_Impl::IsEqualTfGuidAtom(this, core::mem::transmute_copy(&guidatom), core::mem::transmute_copy(&rguid)) { Ok(ok__) => { - core::ptr::write(pfequal, core::mem::transmute(ok__)); + pfequal.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2786,7 +2786,7 @@ impl ITfClientId_Vtbl { let this = (*this).get_impl(); match ITfClientId_Impl::GetClientId(this, core::mem::transmute_copy(&rclsid)) { Ok(ok__) => { - core::ptr::write(ptid, core::mem::transmute(ok__)); + ptid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2815,7 +2815,7 @@ impl ITfCompartment_Vtbl { let this = (*this).get_impl(); match ITfCompartment_Impl::GetValue(this) { Ok(ok__) => { - core::ptr::write(pvarvalue, core::mem::transmute(ok__)); + pvarvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2864,7 +2864,7 @@ impl ITfCompartmentMgr_Vtbl { let this = (*this).get_impl(); match ITfCompartmentMgr_Impl::GetCompartment(this, core::mem::transmute_copy(&rguid)) { Ok(ok__) => { - core::ptr::write(ppcomp, core::mem::transmute(ok__)); + ppcomp.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2880,7 +2880,7 @@ impl ITfCompartmentMgr_Vtbl { let this = (*this).get_impl(); match ITfCompartmentMgr_Impl::EnumCompartments(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2911,7 +2911,7 @@ impl ITfComposition_Vtbl { let this = (*this).get_impl(); match ITfComposition_Impl::GetRange(this) { Ok(ok__) => { - core::ptr::write(pprange, core::mem::transmute(ok__)); + pprange.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2973,7 +2973,7 @@ impl ITfCompositionView_Vtbl { let this = (*this).get_impl(); match ITfCompositionView_Impl::GetOwnerClsid(this) { Ok(ok__) => { - core::ptr::write(pclsid, core::mem::transmute(ok__)); + pclsid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2984,7 +2984,7 @@ impl ITfCompositionView_Vtbl { let this = (*this).get_impl(); match ITfCompositionView_Impl::GetRange(this) { Ok(ok__) => { - core::ptr::write(pprange, core::mem::transmute(ok__)); + pprange.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3052,7 +3052,7 @@ impl ITfContext_Vtbl { let this = (*this).get_impl(); match ITfContext_Impl::RequestEditSession(this, core::mem::transmute_copy(&tid), windows_core::from_raw_borrowed(&pes), core::mem::transmute_copy(&dwflags)) { Ok(ok__) => { - core::ptr::write(phrsession, core::mem::transmute(ok__)); + phrsession.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3063,7 +3063,7 @@ impl ITfContext_Vtbl { let this = (*this).get_impl(); match ITfContext_Impl::InWriteSession(this, core::mem::transmute_copy(&tid)) { Ok(ok__) => { - core::ptr::write(pfwritesession, core::mem::transmute(ok__)); + pfwritesession.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3084,7 +3084,7 @@ impl ITfContext_Vtbl { let this = (*this).get_impl(); match ITfContext_Impl::GetStart(this, core::mem::transmute_copy(&ec)) { Ok(ok__) => { - core::ptr::write(ppstart, core::mem::transmute(ok__)); + ppstart.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3095,7 +3095,7 @@ impl ITfContext_Vtbl { let this = (*this).get_impl(); match ITfContext_Impl::GetEnd(this, core::mem::transmute_copy(&ec)) { Ok(ok__) => { - core::ptr::write(ppend, core::mem::transmute(ok__)); + ppend.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3106,7 +3106,7 @@ impl ITfContext_Vtbl { let this = (*this).get_impl(); match ITfContext_Impl::GetActiveView(this) { Ok(ok__) => { - core::ptr::write(ppview, core::mem::transmute(ok__)); + ppview.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3117,7 +3117,7 @@ impl ITfContext_Vtbl { let this = (*this).get_impl(); match ITfContext_Impl::EnumViews(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3128,7 +3128,7 @@ impl ITfContext_Vtbl { let this = (*this).get_impl(); match ITfContext_Impl::GetStatus(this) { Ok(ok__) => { - core::ptr::write(pdcs, core::mem::transmute(ok__)); + pdcs.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3139,7 +3139,7 @@ impl ITfContext_Vtbl { let this = (*this).get_impl(); match ITfContext_Impl::GetProperty(this, core::mem::transmute_copy(&guidprop)) { Ok(ok__) => { - core::ptr::write(ppprop, core::mem::transmute(ok__)); + ppprop.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3150,7 +3150,7 @@ impl ITfContext_Vtbl { let this = (*this).get_impl(); match ITfContext_Impl::GetAppProperty(this, core::mem::transmute_copy(&guidprop)) { Ok(ok__) => { - core::ptr::write(ppprop, core::mem::transmute(ok__)); + ppprop.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3161,7 +3161,7 @@ impl ITfContext_Vtbl { let this = (*this).get_impl(); match ITfContext_Impl::TrackProperties(this, core::mem::transmute_copy(&prgprop), core::mem::transmute_copy(&cprop), core::mem::transmute_copy(&prgappprop), core::mem::transmute_copy(&cappprop)) { Ok(ok__) => { - core::ptr::write(ppproperty, core::mem::transmute(ok__)); + ppproperty.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3172,7 +3172,7 @@ impl ITfContext_Vtbl { let this = (*this).get_impl(); match ITfContext_Impl::EnumProperties(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3183,7 +3183,7 @@ impl ITfContext_Vtbl { let this = (*this).get_impl(); match ITfContext_Impl::GetDocumentMgr(this) { Ok(ok__) => { - core::ptr::write(ppdm, core::mem::transmute(ok__)); + ppdm.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3194,7 +3194,7 @@ impl ITfContext_Vtbl { let this = (*this).get_impl(); match ITfContext_Impl::CreateRangeBackup(this, core::mem::transmute_copy(&ec), windows_core::from_raw_borrowed(&prange)) { Ok(ok__) => { - core::ptr::write(ppbackup, core::mem::transmute(ok__)); + ppbackup.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3237,7 +3237,7 @@ impl ITfContextComposition_Vtbl { let this = (*this).get_impl(); match ITfContextComposition_Impl::StartComposition(this, core::mem::transmute_copy(&ecwrite), windows_core::from_raw_borrowed(&pcompositionrange), windows_core::from_raw_borrowed(&psink)) { Ok(ok__) => { - core::ptr::write(ppcomposition, core::mem::transmute(ok__)); + ppcomposition.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3248,7 +3248,7 @@ impl ITfContextComposition_Vtbl { let this = (*this).get_impl(); match ITfContextComposition_Impl::EnumCompositions(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3259,7 +3259,7 @@ impl ITfContextComposition_Vtbl { let this = (*this).get_impl(); match ITfContextComposition_Impl::FindComposition(this, core::mem::transmute_copy(&ecread), windows_core::from_raw_borrowed(&ptestrange)) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3270,7 +3270,7 @@ impl ITfContextComposition_Vtbl { let this = (*this).get_impl(); match ITfContextComposition_Impl::TakeOwnership(this, core::mem::transmute_copy(&ecwrite), windows_core::from_raw_borrowed(&pcomposition), windows_core::from_raw_borrowed(&psink)) { Ok(ok__) => { - core::ptr::write(ppcomposition, core::mem::transmute(ok__)); + ppcomposition.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3302,7 +3302,7 @@ impl ITfContextKeyEventSink_Vtbl { let this = (*this).get_impl(); match ITfContextKeyEventSink_Impl::OnKeyDown(this, core::mem::transmute_copy(&wparam), core::mem::transmute_copy(&lparam)) { Ok(ok__) => { - core::ptr::write(pfeaten, core::mem::transmute(ok__)); + pfeaten.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3313,7 +3313,7 @@ impl ITfContextKeyEventSink_Vtbl { let this = (*this).get_impl(); match ITfContextKeyEventSink_Impl::OnKeyUp(this, core::mem::transmute_copy(&wparam), core::mem::transmute_copy(&lparam)) { Ok(ok__) => { - core::ptr::write(pfeaten, core::mem::transmute(ok__)); + pfeaten.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3324,7 +3324,7 @@ impl ITfContextKeyEventSink_Vtbl { let this = (*this).get_impl(); match ITfContextKeyEventSink_Impl::OnTestKeyDown(this, core::mem::transmute_copy(&wparam), core::mem::transmute_copy(&lparam)) { Ok(ok__) => { - core::ptr::write(pfeaten, core::mem::transmute(ok__)); + pfeaten.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3335,7 +3335,7 @@ impl ITfContextKeyEventSink_Vtbl { let this = (*this).get_impl(); match ITfContextKeyEventSink_Impl::OnTestKeyUp(this, core::mem::transmute_copy(&wparam), core::mem::transmute_copy(&lparam)) { Ok(ok__) => { - core::ptr::write(pfeaten, core::mem::transmute(ok__)); + pfeaten.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3369,7 +3369,7 @@ impl ITfContextOwner_Vtbl { let this = (*this).get_impl(); match ITfContextOwner_Impl::GetACPFromPoint(this, core::mem::transmute_copy(&ptscreen), core::mem::transmute_copy(&dwflags)) { Ok(ok__) => { - core::ptr::write(pacp, core::mem::transmute(ok__)); + pacp.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3385,7 +3385,7 @@ impl ITfContextOwner_Vtbl { let this = (*this).get_impl(); match ITfContextOwner_Impl::GetScreenExt(this) { Ok(ok__) => { - core::ptr::write(prc, core::mem::transmute(ok__)); + prc.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3396,7 +3396,7 @@ impl ITfContextOwner_Vtbl { let this = (*this).get_impl(); match ITfContextOwner_Impl::GetStatus(this) { Ok(ok__) => { - core::ptr::write(pdcs, core::mem::transmute(ok__)); + pdcs.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3407,7 +3407,7 @@ impl ITfContextOwner_Vtbl { let this = (*this).get_impl(); match ITfContextOwner_Impl::GetWnd(this) { Ok(ok__) => { - core::ptr::write(phwnd, core::mem::transmute(ok__)); + phwnd.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3418,7 +3418,7 @@ impl ITfContextOwner_Vtbl { let this = (*this).get_impl(); match ITfContextOwner_Impl::GetAttribute(this, core::mem::transmute_copy(&rguidattribute)) { Ok(ok__) => { - core::ptr::write(pvarvalue, core::mem::transmute(ok__)); + pvarvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3468,7 +3468,7 @@ impl ITfContextOwnerCompositionSink_Vtbl { let this = (*this).get_impl(); match ITfContextOwnerCompositionSink_Impl::OnStartComposition(this, windows_core::from_raw_borrowed(&pcomposition)) { Ok(ok__) => { - core::ptr::write(pfok, core::mem::transmute(ok__)); + pfok.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3545,7 +3545,7 @@ impl ITfContextOwnerServices_Vtbl { let this = (*this).get_impl(); match ITfContextOwnerServices_Impl::CreateRange(this, core::mem::transmute_copy(&acpstart), core::mem::transmute_copy(&acpend)) { Ok(ok__) => { - core::ptr::write(pprange, core::mem::transmute(ok__)); + pprange.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3580,7 +3580,7 @@ impl ITfContextView_Vtbl { let this = (*this).get_impl(); match ITfContextView_Impl::GetRangeFromPoint(this, core::mem::transmute_copy(&ec), core::mem::transmute_copy(&ppt), core::mem::transmute_copy(&dwflags)) { Ok(ok__) => { - core::ptr::write(pprange, core::mem::transmute(ok__)); + pprange.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3596,7 +3596,7 @@ impl ITfContextView_Vtbl { let this = (*this).get_impl(); match ITfContextView_Impl::GetScreenExt(this) { Ok(ok__) => { - core::ptr::write(prc, core::mem::transmute(ok__)); + prc.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3607,7 +3607,7 @@ impl ITfContextView_Vtbl { let this = (*this).get_impl(); match ITfContextView_Impl::GetWnd(this) { Ok(ok__) => { - core::ptr::write(phwnd, core::mem::transmute(ok__)); + phwnd.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3640,7 +3640,7 @@ impl ITfCreatePropertyStore_Vtbl { let this = (*this).get_impl(); match ITfCreatePropertyStore_Impl::IsStoreSerializable(this, core::mem::transmute_copy(&guidprop), windows_core::from_raw_borrowed(&prange), windows_core::from_raw_borrowed(&ppropstore)) { Ok(ok__) => { - core::ptr::write(pfserializable, core::mem::transmute(ok__)); + pfserializable.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3651,7 +3651,7 @@ impl ITfCreatePropertyStore_Vtbl { let this = (*this).get_impl(); match ITfCreatePropertyStore_Impl::CreatePropertyStore(this, core::mem::transmute_copy(&guidprop), windows_core::from_raw_borrowed(&prange), core::mem::transmute_copy(&cb), windows_core::from_raw_borrowed(&pstream)) { Ok(ok__) => { - core::ptr::write(ppstore, core::mem::transmute(ok__)); + ppstore.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3682,7 +3682,7 @@ impl ITfDisplayAttributeInfo_Vtbl { let this = (*this).get_impl(); match ITfDisplayAttributeInfo_Impl::GetGUID(this) { Ok(ok__) => { - core::ptr::write(pguid, core::mem::transmute(ok__)); + pguid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3693,7 +3693,7 @@ impl ITfDisplayAttributeInfo_Vtbl { let this = (*this).get_impl(); match ITfDisplayAttributeInfo_Impl::GetDescription(this) { Ok(ok__) => { - core::ptr::write(pbstrdesc, core::mem::transmute(ok__)); + pbstrdesc.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3745,7 +3745,7 @@ impl ITfDisplayAttributeMgr_Vtbl { let this = (*this).get_impl(); match ITfDisplayAttributeMgr_Impl::EnumDisplayAttributeInfo(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3796,7 +3796,7 @@ impl ITfDisplayAttributeProvider_Vtbl { let this = (*this).get_impl(); match ITfDisplayAttributeProvider_Impl::EnumDisplayAttributeInfo(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3807,7 +3807,7 @@ impl ITfDisplayAttributeProvider_Vtbl { let this = (*this).get_impl(); match ITfDisplayAttributeProvider_Impl::GetDisplayAttributeInfo(this, core::mem::transmute_copy(&guid)) { Ok(ok__) => { - core::ptr::write(ppinfo, core::mem::transmute(ok__)); + ppinfo.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3854,7 +3854,7 @@ impl ITfDocumentMgr_Vtbl { let this = (*this).get_impl(); match ITfDocumentMgr_Impl::GetTop(this) { Ok(ok__) => { - core::ptr::write(ppic, core::mem::transmute(ok__)); + ppic.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3865,7 +3865,7 @@ impl ITfDocumentMgr_Vtbl { let this = (*this).get_impl(); match ITfDocumentMgr_Impl::GetBase(this) { Ok(ok__) => { - core::ptr::write(ppic, core::mem::transmute(ok__)); + ppic.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3876,7 +3876,7 @@ impl ITfDocumentMgr_Vtbl { let this = (*this).get_impl(); match ITfDocumentMgr_Impl::EnumContexts(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3908,7 +3908,7 @@ impl ITfEditRecord_Vtbl { let this = (*this).get_impl(); match ITfEditRecord_Impl::GetSelectionStatus(this) { Ok(ok__) => { - core::ptr::write(pfchanged, core::mem::transmute(ok__)); + pfchanged.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3919,7 +3919,7 @@ impl ITfEditRecord_Vtbl { let this = (*this).get_impl(); match ITfEditRecord_Impl::GetTextAndPropertyUpdates(this, core::mem::transmute_copy(&dwflags), core::mem::transmute_copy(&prgproperties), core::mem::transmute_copy(&cproperties)) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4102,7 +4102,7 @@ impl ITfFnGetLinguisticAlternates_Vtbl { let this = (*this).get_impl(); match ITfFnGetLinguisticAlternates_Impl::GetAlternates(this, windows_core::from_raw_borrowed(&prange)) { Ok(ok__) => { - core::ptr::write(ppcandidatelist, core::mem::transmute(ok__)); + ppcandidatelist.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4142,7 +4142,7 @@ impl ITfFnGetSAPIObject_Vtbl { let this = (*this).get_impl(); match ITfFnGetSAPIObject_Impl::Get(this, core::mem::transmute_copy(&sobj)) { Ok(ok__) => { - core::ptr::write(ppunk, core::mem::transmute(ok__)); + ppunk.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4193,7 +4193,7 @@ impl ITfFnLMProcessor_Vtbl { let this = (*this).get_impl(); match ITfFnLMProcessor_Impl::QueryLangID(this, core::mem::transmute_copy(&langid)) { Ok(ok__) => { - core::ptr::write(pfaccepted, core::mem::transmute(ok__)); + pfaccepted.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4204,7 +4204,7 @@ impl ITfFnLMProcessor_Vtbl { let this = (*this).get_impl(); match ITfFnLMProcessor_Impl::GetReconversion(this, windows_core::from_raw_borrowed(&prange)) { Ok(ok__) => { - core::ptr::write(ppcandlist, core::mem::transmute(ok__)); + ppcandlist.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4220,7 +4220,7 @@ impl ITfFnLMProcessor_Vtbl { let this = (*this).get_impl(); match ITfFnLMProcessor_Impl::QueryKey(this, core::mem::transmute_copy(&fup), core::mem::transmute_copy(&vkey), core::mem::transmute_copy(&lparamkeydata)) { Ok(ok__) => { - core::ptr::write(pfinterested, core::mem::transmute(ok__)); + pfinterested.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4268,7 +4268,7 @@ impl ITfFnLangProfileUtil_Vtbl { let this = (*this).get_impl(); match ITfFnLangProfileUtil_Impl::IsProfileAvailableForLang(this, core::mem::transmute_copy(&langid)) { Ok(ok__) => { - core::ptr::write(pfavailable, core::mem::transmute(ok__)); + pfavailable.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4323,7 +4323,7 @@ impl ITfFnPropertyUIStatus_Vtbl { let this = (*this).get_impl(); match ITfFnPropertyUIStatus_Impl::GetStatus(this, core::mem::transmute_copy(&refguidprop)) { Ok(ok__) => { - core::ptr::write(pdw, core::mem::transmute(ok__)); + pdw.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4362,7 +4362,7 @@ impl ITfFnReconversion_Vtbl { let this = (*this).get_impl(); match ITfFnReconversion_Impl::GetReconversion(this, windows_core::from_raw_borrowed(&prange)) { Ok(ok__) => { - core::ptr::write(ppcandlist, core::mem::transmute(ok__)); + ppcandlist.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4396,7 +4396,7 @@ impl ITfFnSearchCandidateProvider_Vtbl { let this = (*this).get_impl(); match ITfFnSearchCandidateProvider_Impl::GetSearchCandidates(this, core::mem::transmute(&bstrquery), core::mem::transmute(&bstrapplicationid)) { Ok(ok__) => { - core::ptr::write(pplist, core::mem::transmute(ok__)); + pplist.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4445,7 +4445,7 @@ impl ITfFunction_Vtbl { let this = (*this).get_impl(); match ITfFunction_Impl::GetDisplayName(this) { Ok(ok__) => { - core::ptr::write(pbstrname, core::mem::transmute(ok__)); + pbstrname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4470,7 +4470,7 @@ impl ITfFunctionProvider_Vtbl { let this = (*this).get_impl(); match ITfFunctionProvider_Impl::GetType(this) { Ok(ok__) => { - core::ptr::write(pguid, core::mem::transmute(ok__)); + pguid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4481,7 +4481,7 @@ impl ITfFunctionProvider_Vtbl { let this = (*this).get_impl(); match ITfFunctionProvider_Impl::GetDescription(this) { Ok(ok__) => { - core::ptr::write(pbstrdesc, core::mem::transmute(ok__)); + pbstrdesc.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4492,7 +4492,7 @@ impl ITfFunctionProvider_Vtbl { let this = (*this).get_impl(); match ITfFunctionProvider_Impl::GetFunction(this, core::mem::transmute_copy(&rguid), core::mem::transmute_copy(&riid)) { Ok(ok__) => { - core::ptr::write(ppunk, core::mem::transmute(ok__)); + ppunk.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4559,7 +4559,7 @@ impl ITfInputProcessorProfileMgr_Vtbl { let this = (*this).get_impl(); match ITfInputProcessorProfileMgr_Impl::EnumProfiles(this, core::mem::transmute_copy(&langid)) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4612,7 +4612,7 @@ impl ITfInputProcessorProfileSubstituteLayout_Vtbl { let this = (*this).get_impl(); match ITfInputProcessorProfileSubstituteLayout_Impl::GetSubstituteKeyboardLayout(this, core::mem::transmute_copy(&rclsid), core::mem::transmute_copy(&langid), core::mem::transmute_copy(&guidprofile)) { Ok(ok__) => { - core::ptr::write(phkl, core::mem::transmute(ok__)); + phkl.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4678,7 +4678,7 @@ impl ITfInputProcessorProfiles_Vtbl { let this = (*this).get_impl(); match ITfInputProcessorProfiles_Impl::EnumInputProcessorInfo(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4709,7 +4709,7 @@ impl ITfInputProcessorProfiles_Vtbl { let this = (*this).get_impl(); match ITfInputProcessorProfiles_Impl::GetLanguageProfileDescription(this, core::mem::transmute_copy(&rclsid), core::mem::transmute_copy(&langid), core::mem::transmute_copy(&guidprofile)) { Ok(ok__) => { - core::ptr::write(pbstrprofile, core::mem::transmute(ok__)); + pbstrprofile.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4720,7 +4720,7 @@ impl ITfInputProcessorProfiles_Vtbl { let this = (*this).get_impl(); match ITfInputProcessorProfiles_Impl::GetCurrentLanguage(this) { Ok(ok__) => { - core::ptr::write(plangid, core::mem::transmute(ok__)); + plangid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4741,7 +4741,7 @@ impl ITfInputProcessorProfiles_Vtbl { let this = (*this).get_impl(); match ITfInputProcessorProfiles_Impl::EnumLanguageProfiles(this, core::mem::transmute_copy(&langid)) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4757,7 +4757,7 @@ impl ITfInputProcessorProfiles_Vtbl { let this = (*this).get_impl(); match ITfInputProcessorProfiles_Impl::IsEnabledLanguageProfile(this, core::mem::transmute_copy(&rclsid), core::mem::transmute_copy(&langid), core::mem::transmute_copy(&guidprofile)) { Ok(ok__) => { - core::ptr::write(pfenable, core::mem::transmute(ok__)); + pfenable.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4847,7 +4847,7 @@ impl ITfInputScope_Vtbl { let this = (*this).get_impl(); match ITfInputScope_Impl::GetRegularExpression(this) { Ok(ok__) => { - core::ptr::write(pbstrregexp, core::mem::transmute(ok__)); + pbstrregexp.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4858,7 +4858,7 @@ impl ITfInputScope_Vtbl { let this = (*this).get_impl(); match ITfInputScope_Impl::GetSRGS(this) { Ok(ok__) => { - core::ptr::write(pbstrsrgs, core::mem::transmute(ok__)); + pbstrsrgs.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4869,7 +4869,7 @@ impl ITfInputScope_Vtbl { let this = (*this).get_impl(); match ITfInputScope_Impl::GetXML(this) { Ok(ok__) => { - core::ptr::write(pbstrxml, core::mem::transmute(ok__)); + pbstrxml.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4902,7 +4902,7 @@ impl ITfInputScope2_Vtbl { let this = (*this).get_impl(); match ITfInputScope2_Impl::EnumWordList(this) { Ok(ok__) => { - core::ptr::write(ppenumstring, core::mem::transmute(ok__)); + ppenumstring.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4929,7 +4929,7 @@ impl ITfInsertAtSelection_Vtbl { let this = (*this).get_impl(); match ITfInsertAtSelection_Impl::InsertTextAtSelection(this, core::mem::transmute_copy(&ec), core::mem::transmute_copy(&dwflags), core::mem::transmute(&pchtext), core::mem::transmute_copy(&cch)) { Ok(ok__) => { - core::ptr::write(pprange, core::mem::transmute(ok__)); + pprange.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4940,7 +4940,7 @@ impl ITfInsertAtSelection_Vtbl { let this = (*this).get_impl(); match ITfInsertAtSelection_Impl::InsertEmbeddedAtSelection(this, core::mem::transmute_copy(&ec), core::mem::transmute_copy(&dwflags), windows_core::from_raw_borrowed(&pdataobject)) { Ok(ok__) => { - core::ptr::write(pprange, core::mem::transmute(ok__)); + pprange.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4976,7 +4976,7 @@ impl ITfIntegratableCandidateListUIElement_Vtbl { let this = (*this).get_impl(); match ITfIntegratableCandidateListUIElement_Impl::GetSelectionStyle(this) { Ok(ok__) => { - core::ptr::write(ptfselectionstyle, core::mem::transmute(ok__)); + ptfselectionstyle.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4987,7 +4987,7 @@ impl ITfIntegratableCandidateListUIElement_Vtbl { let this = (*this).get_impl(); match ITfIntegratableCandidateListUIElement_Impl::OnKeyDown(this, core::mem::transmute_copy(&wparam), core::mem::transmute_copy(&lparam)) { Ok(ok__) => { - core::ptr::write(pfeaten, core::mem::transmute(ok__)); + pfeaten.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -4998,7 +4998,7 @@ impl ITfIntegratableCandidateListUIElement_Vtbl { let this = (*this).get_impl(); match ITfIntegratableCandidateListUIElement_Impl::ShowCandidateNumbers(this) { Ok(ok__) => { - core::ptr::write(pfshow, core::mem::transmute(ok__)); + pfshow.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5043,7 +5043,7 @@ impl ITfKeyEventSink_Vtbl { let this = (*this).get_impl(); match ITfKeyEventSink_Impl::OnTestKeyDown(this, windows_core::from_raw_borrowed(&pic), core::mem::transmute_copy(&wparam), core::mem::transmute_copy(&lparam)) { Ok(ok__) => { - core::ptr::write(pfeaten, core::mem::transmute(ok__)); + pfeaten.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5054,7 +5054,7 @@ impl ITfKeyEventSink_Vtbl { let this = (*this).get_impl(); match ITfKeyEventSink_Impl::OnTestKeyUp(this, windows_core::from_raw_borrowed(&pic), core::mem::transmute_copy(&wparam), core::mem::transmute_copy(&lparam)) { Ok(ok__) => { - core::ptr::write(pfeaten, core::mem::transmute(ok__)); + pfeaten.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5065,7 +5065,7 @@ impl ITfKeyEventSink_Vtbl { let this = (*this).get_impl(); match ITfKeyEventSink_Impl::OnKeyDown(this, windows_core::from_raw_borrowed(&pic), core::mem::transmute_copy(&wparam), core::mem::transmute_copy(&lparam)) { Ok(ok__) => { - core::ptr::write(pfeaten, core::mem::transmute(ok__)); + pfeaten.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5076,7 +5076,7 @@ impl ITfKeyEventSink_Vtbl { let this = (*this).get_impl(); match ITfKeyEventSink_Impl::OnKeyUp(this, windows_core::from_raw_borrowed(&pic), core::mem::transmute_copy(&wparam), core::mem::transmute_copy(&lparam)) { Ok(ok__) => { - core::ptr::write(pfeaten, core::mem::transmute(ok__)); + pfeaten.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5087,7 +5087,7 @@ impl ITfKeyEventSink_Vtbl { let this = (*this).get_impl(); match ITfKeyEventSink_Impl::OnPreservedKey(this, windows_core::from_raw_borrowed(&pic), core::mem::transmute_copy(&rguid)) { Ok(ok__) => { - core::ptr::write(pfeaten, core::mem::transmute(ok__)); + pfeaten.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5168,7 +5168,7 @@ impl ITfKeystrokeMgr_Vtbl { let this = (*this).get_impl(); match ITfKeystrokeMgr_Impl::GetForeground(this) { Ok(ok__) => { - core::ptr::write(pclsid, core::mem::transmute(ok__)); + pclsid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5179,7 +5179,7 @@ impl ITfKeystrokeMgr_Vtbl { let this = (*this).get_impl(); match ITfKeystrokeMgr_Impl::TestKeyDown(this, core::mem::transmute_copy(&wparam), core::mem::transmute_copy(&lparam)) { Ok(ok__) => { - core::ptr::write(pfeaten, core::mem::transmute(ok__)); + pfeaten.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5190,7 +5190,7 @@ impl ITfKeystrokeMgr_Vtbl { let this = (*this).get_impl(); match ITfKeystrokeMgr_Impl::TestKeyUp(this, core::mem::transmute_copy(&wparam), core::mem::transmute_copy(&lparam)) { Ok(ok__) => { - core::ptr::write(pfeaten, core::mem::transmute(ok__)); + pfeaten.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5201,7 +5201,7 @@ impl ITfKeystrokeMgr_Vtbl { let this = (*this).get_impl(); match ITfKeystrokeMgr_Impl::KeyDown(this, core::mem::transmute_copy(&wparam), core::mem::transmute_copy(&lparam)) { Ok(ok__) => { - core::ptr::write(pfeaten, core::mem::transmute(ok__)); + pfeaten.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5212,7 +5212,7 @@ impl ITfKeystrokeMgr_Vtbl { let this = (*this).get_impl(); match ITfKeystrokeMgr_Impl::KeyUp(this, core::mem::transmute_copy(&wparam), core::mem::transmute_copy(&lparam)) { Ok(ok__) => { - core::ptr::write(pfeaten, core::mem::transmute(ok__)); + pfeaten.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5223,7 +5223,7 @@ impl ITfKeystrokeMgr_Vtbl { let this = (*this).get_impl(); match ITfKeystrokeMgr_Impl::GetPreservedKey(this, windows_core::from_raw_borrowed(&pic), core::mem::transmute_copy(&pprekey)) { Ok(ok__) => { - core::ptr::write(pguid, core::mem::transmute(ok__)); + pguid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5234,7 +5234,7 @@ impl ITfKeystrokeMgr_Vtbl { let this = (*this).get_impl(); match ITfKeystrokeMgr_Impl::IsPreservedKey(this, core::mem::transmute_copy(&rguid), core::mem::transmute_copy(&pprekey)) { Ok(ok__) => { - core::ptr::write(pfregistered, core::mem::transmute(ok__)); + pfregistered.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5260,7 +5260,7 @@ impl ITfKeystrokeMgr_Vtbl { let this = (*this).get_impl(); match ITfKeystrokeMgr_Impl::GetPreservedKeyDescription(this, core::mem::transmute_copy(&rguid)) { Ok(ok__) => { - core::ptr::write(pbstrdesc, core::mem::transmute(ok__)); + pbstrdesc.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5271,7 +5271,7 @@ impl ITfKeystrokeMgr_Vtbl { let this = (*this).get_impl(); match ITfKeystrokeMgr_Impl::SimulatePreservedKey(this, windows_core::from_raw_borrowed(&pic), core::mem::transmute_copy(&rguid)) { Ok(ok__) => { - core::ptr::write(pfeaten, core::mem::transmute(ok__)); + pfeaten.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5311,7 +5311,7 @@ impl ITfLMLattice_Vtbl { let this = (*this).get_impl(); match ITfLMLattice_Impl::QueryType(this, core::mem::transmute_copy(&rguidtype)) { Ok(ok__) => { - core::ptr::write(pfsupported, core::mem::transmute(ok__)); + pfsupported.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5322,7 +5322,7 @@ impl ITfLMLattice_Vtbl { let this = (*this).get_impl(); match ITfLMLattice_Impl::EnumLatticeElements(this, core::mem::transmute_copy(&dwframestart), core::mem::transmute_copy(&rguidtype)) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5379,7 +5379,7 @@ impl ITfLangBarEventSink_Vtbl { let this = (*this).get_impl(); match ITfLangBarEventSink_Impl::GetItemFloatingRect(this, core::mem::transmute_copy(&dwthreadid), core::mem::transmute_copy(&rguid)) { Ok(ok__) => { - core::ptr::write(prc, core::mem::transmute(ok__)); + prc.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5418,7 +5418,7 @@ impl ITfLangBarItem_Vtbl { let this = (*this).get_impl(); match ITfLangBarItem_Impl::GetStatus(this) { Ok(ok__) => { - core::ptr::write(pdwstatus, core::mem::transmute(ok__)); + pdwstatus.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5434,7 +5434,7 @@ impl ITfLangBarItem_Vtbl { let this = (*this).get_impl(); match ITfLangBarItem_Impl::GetTooltipString(this) { Ok(ok__) => { - core::ptr::write(pbstrtooltip, core::mem::transmute(ok__)); + pbstrtooltip.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5470,7 +5470,7 @@ impl ITfLangBarItemBalloon_Vtbl { let this = (*this).get_impl(); match ITfLangBarItemBalloon_Impl::GetPreferredSize(this, core::mem::transmute_copy(&pszdefault)) { Ok(ok__) => { - core::ptr::write(psz, core::mem::transmute(ok__)); + psz.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5481,7 +5481,7 @@ impl ITfLangBarItemBalloon_Vtbl { let this = (*this).get_impl(); match ITfLangBarItemBalloon_Impl::GetBalloonInfo(this) { Ok(ok__) => { - core::ptr::write(pinfo, core::mem::transmute(ok__)); + pinfo.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5519,7 +5519,7 @@ impl ITfLangBarItemBitmap_Vtbl { let this = (*this).get_impl(); match ITfLangBarItemBitmap_Impl::GetPreferredSize(this, core::mem::transmute_copy(&pszdefault)) { Ok(ok__) => { - core::ptr::write(psz, core::mem::transmute(ok__)); + psz.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5575,7 +5575,7 @@ impl ITfLangBarItemBitmapButton_Vtbl { let this = (*this).get_impl(); match ITfLangBarItemBitmapButton_Impl::GetPreferredSize(this, core::mem::transmute_copy(&pszdefault)) { Ok(ok__) => { - core::ptr::write(psz, core::mem::transmute(ok__)); + psz.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5591,7 +5591,7 @@ impl ITfLangBarItemBitmapButton_Vtbl { let this = (*this).get_impl(); match ITfLangBarItemBitmapButton_Impl::GetText(this) { Ok(ok__) => { - core::ptr::write(pbstrtext, core::mem::transmute(ok__)); + pbstrtext.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5644,7 +5644,7 @@ impl ITfLangBarItemButton_Vtbl { let this = (*this).get_impl(); match ITfLangBarItemButton_Impl::GetIcon(this) { Ok(ok__) => { - core::ptr::write(phicon, core::mem::transmute(ok__)); + phicon.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5655,7 +5655,7 @@ impl ITfLangBarItemButton_Vtbl { let this = (*this).get_impl(); match ITfLangBarItemButton_Impl::GetText(this) { Ok(ok__) => { - core::ptr::write(pbstrtext, core::mem::transmute(ok__)); + pbstrtext.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5696,7 +5696,7 @@ impl ITfLangBarItemMgr_Vtbl { let this = (*this).get_impl(); match ITfLangBarItemMgr_Impl::EnumItems(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5707,7 +5707,7 @@ impl ITfLangBarItemMgr_Vtbl { let this = (*this).get_impl(); match ITfLangBarItemMgr_Impl::GetItem(this, core::mem::transmute_copy(&rguid)) { Ok(ok__) => { - core::ptr::write(ppitem, core::mem::transmute(ok__)); + ppitem.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5738,7 +5738,7 @@ impl ITfLangBarItemMgr_Vtbl { let this = (*this).get_impl(); match ITfLangBarItemMgr_Impl::GetItemFloatingRect(this, core::mem::transmute_copy(&dwthreadid), core::mem::transmute_copy(&rguid)) { Ok(ok__) => { - core::ptr::write(prc, core::mem::transmute(ok__)); + prc.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5754,7 +5754,7 @@ impl ITfLangBarItemMgr_Vtbl { let this = (*this).get_impl(); match ITfLangBarItemMgr_Impl::GetItemNum(this) { Ok(ok__) => { - core::ptr::write(pulcount, core::mem::transmute(ok__)); + pulcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5841,7 +5841,7 @@ impl ITfLangBarMgr_Vtbl { let this = (*this).get_impl(); match ITfLangBarMgr_Impl::GetThreadMarshalInterface(this, core::mem::transmute_copy(&dwthreadid), core::mem::transmute_copy(&dwtype), core::mem::transmute_copy(&riid)) { Ok(ok__) => { - core::ptr::write(ppunk, core::mem::transmute(ok__)); + ppunk.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5877,7 +5877,7 @@ impl ITfLangBarMgr_Vtbl { let this = (*this).get_impl(); match ITfLangBarMgr_Impl::GetShowFloatingStatus(this) { Ok(ok__) => { - core::ptr::write(pdwflags, core::mem::transmute(ok__)); + pdwflags.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -5912,7 +5912,7 @@ impl ITfLanguageProfileNotifySink_Vtbl { let this = (*this).get_impl(); match ITfLanguageProfileNotifySink_Impl::OnLanguageChange(this, core::mem::transmute_copy(&langid)) { Ok(ok__) => { - core::ptr::write(pfaccept, core::mem::transmute(ok__)); + pfaccept.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6035,7 +6035,7 @@ impl ITfMouseSink_Vtbl { let this = (*this).get_impl(); match ITfMouseSink_Impl::OnMouseEvent(this, core::mem::transmute_copy(&uedge), core::mem::transmute_copy(&uquadrant), core::mem::transmute_copy(&dwbtnstatus)) { Ok(ok__) => { - core::ptr::write(pfeaten, core::mem::transmute(ok__)); + pfeaten.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6059,7 +6059,7 @@ impl ITfMouseTracker_Vtbl { let this = (*this).get_impl(); match ITfMouseTracker_Impl::AdviseMouseSink(this, windows_core::from_raw_borrowed(&range), windows_core::from_raw_borrowed(&psink)) { Ok(ok__) => { - core::ptr::write(pdwcookie, core::mem::transmute(ok__)); + pdwcookie.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6092,7 +6092,7 @@ impl ITfMouseTrackerACP_Vtbl { let this = (*this).get_impl(); match ITfMouseTrackerACP_Impl::AdviseMouseSink(this, windows_core::from_raw_borrowed(&range), windows_core::from_raw_borrowed(&psink)) { Ok(ok__) => { - core::ptr::write(pdwcookie, core::mem::transmute(ok__)); + pdwcookie.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6127,7 +6127,7 @@ impl ITfPersistentPropertyLoaderACP_Vtbl { let this = (*this).get_impl(); match ITfPersistentPropertyLoaderACP_Impl::LoadProperty(this, core::mem::transmute_copy(&phdr)) { Ok(ok__) => { - core::ptr::write(ppstream, core::mem::transmute(ok__)); + ppstream.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6219,7 +6219,7 @@ impl ITfPropertyStore_Vtbl { let this = (*this).get_impl(); match ITfPropertyStore_Impl::GetType(this) { Ok(ok__) => { - core::ptr::write(pguid, core::mem::transmute(ok__)); + pguid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6230,7 +6230,7 @@ impl ITfPropertyStore_Vtbl { let this = (*this).get_impl(); match ITfPropertyStore_Impl::GetDataType(this) { Ok(ok__) => { - core::ptr::write(pdwreserved, core::mem::transmute(ok__)); + pdwreserved.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6241,7 +6241,7 @@ impl ITfPropertyStore_Vtbl { let this = (*this).get_impl(); match ITfPropertyStore_Impl::GetData(this) { Ok(ok__) => { - core::ptr::write(pvarvalue, core::mem::transmute(ok__)); + pvarvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6252,7 +6252,7 @@ impl ITfPropertyStore_Vtbl { let this = (*this).get_impl(); match ITfPropertyStore_Impl::OnTextUpdated(this, core::mem::transmute_copy(&dwflags), windows_core::from_raw_borrowed(&prangenew)) { Ok(ok__) => { - core::ptr::write(pfaccept, core::mem::transmute(ok__)); + pfaccept.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6263,7 +6263,7 @@ impl ITfPropertyStore_Vtbl { let this = (*this).get_impl(); match ITfPropertyStore_Impl::Shrink(this, windows_core::from_raw_borrowed(&prangenew)) { Ok(ok__) => { - core::ptr::write(pffree, core::mem::transmute(ok__)); + pffree.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6274,7 +6274,7 @@ impl ITfPropertyStore_Vtbl { let this = (*this).get_impl(); match ITfPropertyStore_Impl::Divide(this, windows_core::from_raw_borrowed(&prangethis), windows_core::from_raw_borrowed(&prangenew)) { Ok(ok__) => { - core::ptr::write(pppropstore, core::mem::transmute(ok__)); + pppropstore.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6285,7 +6285,7 @@ impl ITfPropertyStore_Vtbl { let this = (*this).get_impl(); match ITfPropertyStore_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppropstore, core::mem::transmute(ok__)); + ppropstore.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6296,7 +6296,7 @@ impl ITfPropertyStore_Vtbl { let this = (*this).get_impl(); match ITfPropertyStore_Impl::GetPropertyRangeCreator(this) { Ok(ok__) => { - core::ptr::write(pclsid, core::mem::transmute(ok__)); + pclsid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6307,7 +6307,7 @@ impl ITfPropertyStore_Vtbl { let this = (*this).get_impl(); match ITfPropertyStore_Impl::Serialize(this, windows_core::from_raw_borrowed(&pstream)) { Ok(ok__) => { - core::ptr::write(pcb, core::mem::transmute(ok__)); + pcb.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6344,7 +6344,7 @@ impl ITfQueryEmbedded_Vtbl { let this = (*this).get_impl(); match ITfQueryEmbedded_Impl::QueryInsertEmbedded(this, core::mem::transmute_copy(&pguidservice), core::mem::transmute_copy(&pformatetc)) { Ok(ok__) => { - core::ptr::write(pfinsertable, core::mem::transmute(ok__)); + pfinsertable.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6401,7 +6401,7 @@ impl ITfRange_Vtbl { let this = (*this).get_impl(); match ITfRange_Impl::GetFormattedText(this, core::mem::transmute_copy(&ec)) { Ok(ok__) => { - core::ptr::write(ppdataobject, core::mem::transmute(ok__)); + ppdataobject.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6412,7 +6412,7 @@ impl ITfRange_Vtbl { let this = (*this).get_impl(); match ITfRange_Impl::GetEmbedded(this, core::mem::transmute_copy(&ec), core::mem::transmute_copy(&rguidservice), core::mem::transmute_copy(&riid)) { Ok(ok__) => { - core::ptr::write(ppunk, core::mem::transmute(ok__)); + ppunk.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6448,7 +6448,7 @@ impl ITfRange_Vtbl { let this = (*this).get_impl(); match ITfRange_Impl::ShiftStartRegion(this, core::mem::transmute_copy(&ec), core::mem::transmute_copy(&dir)) { Ok(ok__) => { - core::ptr::write(pfnoregion, core::mem::transmute(ok__)); + pfnoregion.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6459,7 +6459,7 @@ impl ITfRange_Vtbl { let this = (*this).get_impl(); match ITfRange_Impl::ShiftEndRegion(this, core::mem::transmute_copy(&ec), core::mem::transmute_copy(&dir)) { Ok(ok__) => { - core::ptr::write(pfnoregion, core::mem::transmute(ok__)); + pfnoregion.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6470,7 +6470,7 @@ impl ITfRange_Vtbl { let this = (*this).get_impl(); match ITfRange_Impl::IsEmpty(this, core::mem::transmute_copy(&ec)) { Ok(ok__) => { - core::ptr::write(pfempty, core::mem::transmute(ok__)); + pfempty.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6486,7 +6486,7 @@ impl ITfRange_Vtbl { let this = (*this).get_impl(); match ITfRange_Impl::IsEqualStart(this, core::mem::transmute_copy(&ec), windows_core::from_raw_borrowed(&pwith), core::mem::transmute_copy(&apos)) { Ok(ok__) => { - core::ptr::write(pfequal, core::mem::transmute(ok__)); + pfequal.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6497,7 +6497,7 @@ impl ITfRange_Vtbl { let this = (*this).get_impl(); match ITfRange_Impl::IsEqualEnd(this, core::mem::transmute_copy(&ec), windows_core::from_raw_borrowed(&pwith), core::mem::transmute_copy(&apos)) { Ok(ok__) => { - core::ptr::write(pfequal, core::mem::transmute(ok__)); + pfequal.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6508,7 +6508,7 @@ impl ITfRange_Vtbl { let this = (*this).get_impl(); match ITfRange_Impl::CompareStart(this, core::mem::transmute_copy(&ec), windows_core::from_raw_borrowed(&pwith), core::mem::transmute_copy(&apos)) { Ok(ok__) => { - core::ptr::write(plresult, core::mem::transmute(ok__)); + plresult.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6519,7 +6519,7 @@ impl ITfRange_Vtbl { let this = (*this).get_impl(); match ITfRange_Impl::CompareEnd(this, core::mem::transmute_copy(&ec), windows_core::from_raw_borrowed(&pwith), core::mem::transmute_copy(&apos)) { Ok(ok__) => { - core::ptr::write(plresult, core::mem::transmute(ok__)); + plresult.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6530,7 +6530,7 @@ impl ITfRange_Vtbl { let this = (*this).get_impl(); match ITfRange_Impl::AdjustForInsert(this, core::mem::transmute_copy(&ec), core::mem::transmute_copy(&cchinsert)) { Ok(ok__) => { - core::ptr::write(pfinsertok, core::mem::transmute(ok__)); + pfinsertok.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6551,7 +6551,7 @@ impl ITfRange_Vtbl { let this = (*this).get_impl(); match ITfRange_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppclone, core::mem::transmute(ok__)); + ppclone.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6562,7 +6562,7 @@ impl ITfRange_Vtbl { let this = (*this).get_impl(); match ITfRange_Impl::GetContext(this) { Ok(ok__) => { - core::ptr::write(ppcontext, core::mem::transmute(ok__)); + ppcontext.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6659,7 +6659,7 @@ impl ITfReadOnlyProperty_Vtbl { let this = (*this).get_impl(); match ITfReadOnlyProperty_Impl::GetType(this) { Ok(ok__) => { - core::ptr::write(pguid, core::mem::transmute(ok__)); + pguid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6675,7 +6675,7 @@ impl ITfReadOnlyProperty_Vtbl { let this = (*this).get_impl(); match ITfReadOnlyProperty_Impl::GetValue(this, core::mem::transmute_copy(&ec), windows_core::from_raw_borrowed(&prange)) { Ok(ok__) => { - core::ptr::write(pvarvalue, core::mem::transmute(ok__)); + pvarvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6686,7 +6686,7 @@ impl ITfReadOnlyProperty_Vtbl { let this = (*this).get_impl(); match ITfReadOnlyProperty_Impl::GetContext(this) { Ok(ok__) => { - core::ptr::write(ppcontext, core::mem::transmute(ok__)); + ppcontext.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6720,7 +6720,7 @@ impl ITfReadingInformationUIElement_Vtbl { let this = (*this).get_impl(); match ITfReadingInformationUIElement_Impl::GetUpdatedFlags(this) { Ok(ok__) => { - core::ptr::write(pdwflags, core::mem::transmute(ok__)); + pdwflags.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6731,7 +6731,7 @@ impl ITfReadingInformationUIElement_Vtbl { let this = (*this).get_impl(); match ITfReadingInformationUIElement_Impl::GetContext(this) { Ok(ok__) => { - core::ptr::write(ppic, core::mem::transmute(ok__)); + ppic.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6742,7 +6742,7 @@ impl ITfReadingInformationUIElement_Vtbl { let this = (*this).get_impl(); match ITfReadingInformationUIElement_Impl::GetString(this) { Ok(ok__) => { - core::ptr::write(pstr, core::mem::transmute(ok__)); + pstr.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6753,7 +6753,7 @@ impl ITfReadingInformationUIElement_Vtbl { let this = (*this).get_impl(); match ITfReadingInformationUIElement_Impl::GetMaxReadingStringLength(this) { Ok(ok__) => { - core::ptr::write(pcchmax, core::mem::transmute(ok__)); + pcchmax.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6764,7 +6764,7 @@ impl ITfReadingInformationUIElement_Vtbl { let this = (*this).get_impl(); match ITfReadingInformationUIElement_Impl::GetErrorIndex(this) { Ok(ok__) => { - core::ptr::write(perrorindex, core::mem::transmute(ok__)); + perrorindex.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6775,7 +6775,7 @@ impl ITfReadingInformationUIElement_Vtbl { let this = (*this).get_impl(); match ITfReadingInformationUIElement_Impl::IsVerticalOrderPreferred(this) { Ok(ok__) => { - core::ptr::write(pfvertical, core::mem::transmute(ok__)); + pfvertical.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6806,7 +6806,7 @@ impl ITfReverseConversion_Vtbl { let this = (*this).get_impl(); match ITfReverseConversion_Impl::DoReverseConversion(this, core::mem::transmute(&lpstr)) { Ok(ok__) => { - core::ptr::write(pplist, core::mem::transmute(ok__)); + pplist.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6830,7 +6830,7 @@ impl ITfReverseConversionList_Vtbl { let this = (*this).get_impl(); match ITfReverseConversionList_Impl::GetLength(this) { Ok(ok__) => { - core::ptr::write(puindex, core::mem::transmute(ok__)); + puindex.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6841,7 +6841,7 @@ impl ITfReverseConversionList_Vtbl { let this = (*this).get_impl(); match ITfReverseConversionList_Impl::GetString(this, core::mem::transmute_copy(&uindex)) { Ok(ok__) => { - core::ptr::write(pbstr, core::mem::transmute(ok__)); + pbstr.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6868,7 +6868,7 @@ impl ITfReverseConversionMgr_Vtbl { let this = (*this).get_impl(); match ITfReverseConversionMgr_Impl::GetReverseConversion(this, core::mem::transmute_copy(&langid), core::mem::transmute_copy(&guidprofile), core::mem::transmute_copy(&dwflag)) { Ok(ok__) => { - core::ptr::write(ppreverseconversion, core::mem::transmute(ok__)); + ppreverseconversion.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -6892,7 +6892,7 @@ impl ITfSource_Vtbl { let this = (*this).get_impl(); match ITfSource_Impl::AdviseSink(this, core::mem::transmute_copy(&riid), windows_core::from_raw_borrowed(&punk)) { Ok(ok__) => { - core::ptr::write(pdwcookie, core::mem::transmute(ok__)); + pdwcookie.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7008,7 +7008,7 @@ impl ITfSystemDeviceTypeLangBarItem_Vtbl { let this = (*this).get_impl(); match ITfSystemDeviceTypeLangBarItem_Impl::GetIconMode(this) { Ok(ok__) => { - core::ptr::write(pdwflags, core::mem::transmute(ok__)); + pdwflags.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7098,7 +7098,7 @@ impl ITfSystemLangBarItemText_Vtbl { let this = (*this).get_impl(); match ITfSystemLangBarItemText_Impl::GetItemText(this) { Ok(ok__) => { - core::ptr::write(pbstrtext, core::mem::transmute(ok__)); + pbstrtext.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7240,7 +7240,7 @@ impl ITfThreadMgr_Vtbl { let this = (*this).get_impl(); match ITfThreadMgr_Impl::Activate(this) { Ok(ok__) => { - core::ptr::write(ptid, core::mem::transmute(ok__)); + ptid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7256,7 +7256,7 @@ impl ITfThreadMgr_Vtbl { let this = (*this).get_impl(); match ITfThreadMgr_Impl::CreateDocumentMgr(this) { Ok(ok__) => { - core::ptr::write(ppdim, core::mem::transmute(ok__)); + ppdim.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7267,7 +7267,7 @@ impl ITfThreadMgr_Vtbl { let this = (*this).get_impl(); match ITfThreadMgr_Impl::EnumDocumentMgrs(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7278,7 +7278,7 @@ impl ITfThreadMgr_Vtbl { let this = (*this).get_impl(); match ITfThreadMgr_Impl::GetFocus(this) { Ok(ok__) => { - core::ptr::write(ppdimfocus, core::mem::transmute(ok__)); + ppdimfocus.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7294,7 +7294,7 @@ impl ITfThreadMgr_Vtbl { let this = (*this).get_impl(); match ITfThreadMgr_Impl::AssociateFocus(this, core::mem::transmute_copy(&hwnd), windows_core::from_raw_borrowed(&pdimnew)) { Ok(ok__) => { - core::ptr::write(ppdimprev, core::mem::transmute(ok__)); + ppdimprev.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7305,7 +7305,7 @@ impl ITfThreadMgr_Vtbl { let this = (*this).get_impl(); match ITfThreadMgr_Impl::IsThreadFocus(this) { Ok(ok__) => { - core::ptr::write(pfthreadfocus, core::mem::transmute(ok__)); + pfthreadfocus.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7316,7 +7316,7 @@ impl ITfThreadMgr_Vtbl { let this = (*this).get_impl(); match ITfThreadMgr_Impl::GetFunctionProvider(this, core::mem::transmute_copy(&clsid)) { Ok(ok__) => { - core::ptr::write(ppfuncprov, core::mem::transmute(ok__)); + ppfuncprov.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7327,7 +7327,7 @@ impl ITfThreadMgr_Vtbl { let this = (*this).get_impl(); match ITfThreadMgr_Impl::EnumFunctionProviders(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7338,7 +7338,7 @@ impl ITfThreadMgr_Vtbl { let this = (*this).get_impl(); match ITfThreadMgr_Impl::GetGlobalCompartment(this) { Ok(ok__) => { - core::ptr::write(ppcompmgr, core::mem::transmute(ok__)); + ppcompmgr.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7387,7 +7387,7 @@ impl ITfThreadMgr2_Vtbl { let this = (*this).get_impl(); match ITfThreadMgr2_Impl::Activate(this) { Ok(ok__) => { - core::ptr::write(ptid, core::mem::transmute(ok__)); + ptid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7403,7 +7403,7 @@ impl ITfThreadMgr2_Vtbl { let this = (*this).get_impl(); match ITfThreadMgr2_Impl::CreateDocumentMgr(this) { Ok(ok__) => { - core::ptr::write(ppdim, core::mem::transmute(ok__)); + ppdim.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7414,7 +7414,7 @@ impl ITfThreadMgr2_Vtbl { let this = (*this).get_impl(); match ITfThreadMgr2_Impl::EnumDocumentMgrs(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7425,7 +7425,7 @@ impl ITfThreadMgr2_Vtbl { let this = (*this).get_impl(); match ITfThreadMgr2_Impl::GetFocus(this) { Ok(ok__) => { - core::ptr::write(ppdimfocus, core::mem::transmute(ok__)); + ppdimfocus.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7441,7 +7441,7 @@ impl ITfThreadMgr2_Vtbl { let this = (*this).get_impl(); match ITfThreadMgr2_Impl::IsThreadFocus(this) { Ok(ok__) => { - core::ptr::write(pfthreadfocus, core::mem::transmute(ok__)); + pfthreadfocus.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7452,7 +7452,7 @@ impl ITfThreadMgr2_Vtbl { let this = (*this).get_impl(); match ITfThreadMgr2_Impl::GetFunctionProvider(this, core::mem::transmute_copy(&clsid)) { Ok(ok__) => { - core::ptr::write(ppfuncprov, core::mem::transmute(ok__)); + ppfuncprov.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7463,7 +7463,7 @@ impl ITfThreadMgr2_Vtbl { let this = (*this).get_impl(); match ITfThreadMgr2_Impl::EnumFunctionProviders(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7474,7 +7474,7 @@ impl ITfThreadMgr2_Vtbl { let this = (*this).get_impl(); match ITfThreadMgr2_Impl::GetGlobalCompartment(this) { Ok(ok__) => { - core::ptr::write(ppcompmgr, core::mem::transmute(ok__)); + ppcompmgr.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7490,7 +7490,7 @@ impl ITfThreadMgr2_Vtbl { let this = (*this).get_impl(); match ITfThreadMgr2_Impl::GetActiveFlags(this) { Ok(ok__) => { - core::ptr::write(lpdwflags, core::mem::transmute(ok__)); + lpdwflags.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7593,7 +7593,7 @@ impl ITfThreadMgrEx_Vtbl { let this = (*this).get_impl(); match ITfThreadMgrEx_Impl::GetActiveFlags(this) { Ok(ok__) => { - core::ptr::write(lpdwflags, core::mem::transmute(ok__)); + lpdwflags.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7620,7 +7620,7 @@ impl ITfToolTipUIElement_Vtbl { let this = (*this).get_impl(); match ITfToolTipUIElement_Impl::GetString(this) { Ok(ok__) => { - core::ptr::write(pstr, core::mem::transmute(ok__)); + pstr.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7643,7 +7643,7 @@ impl ITfTransitoryExtensionSink_Vtbl { let this = (*this).get_impl(); match ITfTransitoryExtensionSink_Impl::OnTransitoryExtensionUpdated(this, windows_core::from_raw_borrowed(&pic), core::mem::transmute_copy(&ecreadonly), windows_core::from_raw_borrowed(&presultrange), windows_core::from_raw_borrowed(&pcompositionrange)) { Ok(ok__) => { - core::ptr::write(pfdeleteresultrange, core::mem::transmute(ok__)); + pfdeleteresultrange.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7669,7 +7669,7 @@ impl ITfTransitoryExtensionUIElement_Vtbl { let this = (*this).get_impl(); match ITfTransitoryExtensionUIElement_Impl::GetDocumentMgr(this) { Ok(ok__) => { - core::ptr::write(ppdim, core::mem::transmute(ok__)); + ppdim.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7695,7 +7695,7 @@ impl ITfUIElement_Vtbl { let this = (*this).get_impl(); match ITfUIElement_Impl::GetDescription(this) { Ok(ok__) => { - core::ptr::write(pbstrdescription, core::mem::transmute(ok__)); + pbstrdescription.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7706,7 +7706,7 @@ impl ITfUIElement_Vtbl { let this = (*this).get_impl(); match ITfUIElement_Impl::GetGUID(this) { Ok(ok__) => { - core::ptr::write(pguid, core::mem::transmute(ok__)); + pguid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7722,7 +7722,7 @@ impl ITfUIElement_Vtbl { let this = (*this).get_impl(); match ITfUIElement_Impl::IsShown(this) { Ok(ok__) => { - core::ptr::write(pbshow, core::mem::transmute(ok__)); + pbshow.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7770,7 +7770,7 @@ impl ITfUIElementMgr_Vtbl { let this = (*this).get_impl(); match ITfUIElementMgr_Impl::GetUIElement(this, core::mem::transmute_copy(&dwuielementid)) { Ok(ok__) => { - core::ptr::write(ppelement, core::mem::transmute(ok__)); + ppelement.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7781,7 +7781,7 @@ impl ITfUIElementMgr_Vtbl { let this = (*this).get_impl(); match ITfUIElementMgr_Impl::EnumUIElements(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7904,7 +7904,7 @@ impl IVersionInfo_Vtbl { let this = (*this).get_impl(); match IVersionInfo_Impl::GetSubcomponentCount(this, core::mem::transmute_copy(&ulsub)) { Ok(ok__) => { - core::ptr::write(ulcount, core::mem::transmute(ok__)); + ulcount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7915,7 +7915,7 @@ impl IVersionInfo_Vtbl { let this = (*this).get_impl(); match IVersionInfo_Impl::GetImplementationID(this, core::mem::transmute_copy(&ulsub)) { Ok(ok__) => { - core::ptr::write(implid, core::mem::transmute(ok__)); + implid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7931,7 +7931,7 @@ impl IVersionInfo_Vtbl { let this = (*this).get_impl(); match IVersionInfo_Impl::GetComponentDescription(this, core::mem::transmute_copy(&ulsub)) { Ok(ok__) => { - core::ptr::write(pimplstr, core::mem::transmute(ok__)); + pimplstr.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -7942,7 +7942,7 @@ impl IVersionInfo_Vtbl { let this = (*this).get_impl(); match IVersionInfo_Impl::GetInstanceDescription(this, core::mem::transmute_copy(&ulsub)) { Ok(ok__) => { - core::ptr::write(pimplstr, core::mem::transmute(ok__)); + pimplstr.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/Win32/UI/Wpf/impl.rs b/crates/libs/windows/src/Windows/Win32/UI/Wpf/impl.rs index fde06eda5a..52c21ec50b 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/Wpf/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/Wpf/impl.rs @@ -14,7 +14,7 @@ impl IMILBitmapEffect_Vtbl { let this = (*this).get_impl(); match IMILBitmapEffect_Impl::GetOutput(this, core::mem::transmute_copy(&uiindex), windows_core::from_raw_borrowed(&pcontext)) { Ok(ok__) => { - core::ptr::write(ppbitmapsource, core::mem::transmute(ok__)); + ppbitmapsource.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -25,7 +25,7 @@ impl IMILBitmapEffect_Vtbl { let this = (*this).get_impl(); match IMILBitmapEffect_Impl::GetParentEffect(this) { Ok(ok__) => { - core::ptr::write(ppparenteffect, core::mem::transmute(ok__)); + ppparenteffect.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -59,7 +59,7 @@ impl IMILBitmapEffectConnections_Vtbl { let this = (*this).get_impl(); match IMILBitmapEffectConnections_Impl::GetInputConnector(this, core::mem::transmute_copy(&uiindex)) { Ok(ok__) => { - core::ptr::write(ppconnector, core::mem::transmute(ok__)); + ppconnector.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -70,7 +70,7 @@ impl IMILBitmapEffectConnections_Vtbl { let this = (*this).get_impl(); match IMILBitmapEffectConnections_Impl::GetOutputConnector(this, core::mem::transmute_copy(&uiindex)) { Ok(ok__) => { - core::ptr::write(ppconnector, core::mem::transmute(ok__)); + ppconnector.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -100,7 +100,7 @@ impl IMILBitmapEffectConnectionsInfo_Vtbl { let this = (*this).get_impl(); match IMILBitmapEffectConnectionsInfo_Impl::GetNumberInputs(this) { Ok(ok__) => { - core::ptr::write(puinuminputs, core::mem::transmute(ok__)); + puinuminputs.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -111,7 +111,7 @@ impl IMILBitmapEffectConnectionsInfo_Vtbl { let this = (*this).get_impl(); match IMILBitmapEffectConnectionsInfo_Impl::GetNumberOutputs(this) { Ok(ok__) => { - core::ptr::write(puinumoutputs, core::mem::transmute(ok__)); + puinumoutputs.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -122,7 +122,7 @@ impl IMILBitmapEffectConnectionsInfo_Vtbl { let this = (*this).get_impl(); match IMILBitmapEffectConnectionsInfo_Impl::GetInputConnectorInfo(this, core::mem::transmute_copy(&uiindex)) { Ok(ok__) => { - core::ptr::write(ppconnectorinfo, core::mem::transmute(ok__)); + ppconnectorinfo.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -133,7 +133,7 @@ impl IMILBitmapEffectConnectionsInfo_Vtbl { let this = (*this).get_impl(); match IMILBitmapEffectConnectionsInfo_Impl::GetOutputConnectorInfo(this, core::mem::transmute_copy(&uiindex)) { Ok(ok__) => { - core::ptr::write(ppconnectorinfo, core::mem::transmute(ok__)); + ppconnectorinfo.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -163,7 +163,7 @@ impl IMILBitmapEffectConnector_Vtbl { let this = (*this).get_impl(); match IMILBitmapEffectConnector_Impl::IsConnected(this) { Ok(ok__) => { - core::ptr::write(pfconnected, core::mem::transmute(ok__)); + pfconnected.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -174,7 +174,7 @@ impl IMILBitmapEffectConnector_Vtbl { let this = (*this).get_impl(); match IMILBitmapEffectConnector_Impl::GetBitmapEffect(this) { Ok(ok__) => { - core::ptr::write(ppeffect, core::mem::transmute(ok__)); + ppeffect.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -204,7 +204,7 @@ impl IMILBitmapEffectConnectorInfo_Vtbl { let this = (*this).get_impl(); match IMILBitmapEffectConnectorInfo_Impl::GetIndex(this) { Ok(ok__) => { - core::ptr::write(puiindex, core::mem::transmute(ok__)); + puiindex.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -215,7 +215,7 @@ impl IMILBitmapEffectConnectorInfo_Vtbl { let this = (*this).get_impl(); match IMILBitmapEffectConnectorInfo_Impl::GetOptimalFormat(this) { Ok(ok__) => { - core::ptr::write(pformat, core::mem::transmute(ok__)); + pformat.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -226,7 +226,7 @@ impl IMILBitmapEffectConnectorInfo_Vtbl { let this = (*this).get_impl(); match IMILBitmapEffectConnectorInfo_Impl::GetNumberFormats(this) { Ok(ok__) => { - core::ptr::write(pulnumberformats, core::mem::transmute(ok__)); + pulnumberformats.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -237,7 +237,7 @@ impl IMILBitmapEffectConnectorInfo_Vtbl { let this = (*this).get_impl(); match IMILBitmapEffectConnectorInfo_Impl::GetFormat(this, core::mem::transmute_copy(&ulindex)) { Ok(ok__) => { - core::ptr::write(pformat, core::mem::transmute(ok__)); + pformat.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -295,7 +295,7 @@ impl IMILBitmapEffectFactory_Vtbl { let this = (*this).get_impl(); match IMILBitmapEffectFactory_Impl::CreateEffect(this, core::mem::transmute_copy(&pguideffect)) { Ok(ok__) => { - core::ptr::write(ppeffect, core::mem::transmute(ok__)); + ppeffect.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -306,7 +306,7 @@ impl IMILBitmapEffectFactory_Vtbl { let this = (*this).get_impl(); match IMILBitmapEffectFactory_Impl::CreateContext(this) { Ok(ok__) => { - core::ptr::write(ppcontext, core::mem::transmute(ok__)); + ppcontext.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -317,7 +317,7 @@ impl IMILBitmapEffectFactory_Vtbl { let this = (*this).get_impl(); match IMILBitmapEffectFactory_Impl::CreateEffectOuter(this) { Ok(ok__) => { - core::ptr::write(ppeffect, core::mem::transmute(ok__)); + ppeffect.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -347,7 +347,7 @@ impl IMILBitmapEffectGroup_Vtbl { let this = (*this).get_impl(); match IMILBitmapEffectGroup_Impl::GetInteriorInputConnector(this, core::mem::transmute_copy(&uiindex)) { Ok(ok__) => { - core::ptr::write(ppconnector, core::mem::transmute(ok__)); + ppconnector.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -358,7 +358,7 @@ impl IMILBitmapEffectGroup_Vtbl { let this = (*this).get_impl(); match IMILBitmapEffectGroup_Impl::GetInteriorOutputConnector(this, core::mem::transmute_copy(&uiindex)) { Ok(ok__) => { - core::ptr::write(ppconnector, core::mem::transmute(ok__)); + ppconnector.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -398,7 +398,7 @@ impl IMILBitmapEffectGroupImpl_Vtbl { let this = (*this).get_impl(); match IMILBitmapEffectGroupImpl_Impl::GetNumberChildren(this) { Ok(ok__) => { - core::ptr::write(puinumberchildren, core::mem::transmute(ok__)); + puinumberchildren.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -409,7 +409,7 @@ impl IMILBitmapEffectGroupImpl_Vtbl { let this = (*this).get_impl(); match IMILBitmapEffectGroupImpl_Impl::GetChildren(this) { Ok(ok__) => { - core::ptr::write(pchildren, core::mem::transmute(ok__)); + pchildren.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -446,7 +446,7 @@ impl IMILBitmapEffectImpl_Vtbl { let this = (*this).get_impl(); match IMILBitmapEffectImpl_Impl::IsInPlaceModificationAllowed(this, windows_core::from_raw_borrowed(&poutputconnector)) { Ok(ok__) => { - core::ptr::write(pfmodifyinplace, core::mem::transmute(ok__)); + pfmodifyinplace.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -462,7 +462,7 @@ impl IMILBitmapEffectImpl_Vtbl { let this = (*this).get_impl(); match IMILBitmapEffectImpl_Impl::GetInputSource(this, core::mem::transmute_copy(&uiindex)) { Ok(ok__) => { - core::ptr::write(ppbitmapsource, core::mem::transmute(ok__)); + ppbitmapsource.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -478,7 +478,7 @@ impl IMILBitmapEffectImpl_Vtbl { let this = (*this).get_impl(); match IMILBitmapEffectImpl_Impl::GetInputBitmapSource(this, core::mem::transmute_copy(&uiindex), windows_core::from_raw_borrowed(&prendercontext), core::mem::transmute_copy(&pfmodifyinplace)) { Ok(ok__) => { - core::ptr::write(ppbitmapsource, core::mem::transmute(ok__)); + ppbitmapsource.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -489,7 +489,7 @@ impl IMILBitmapEffectImpl_Vtbl { let this = (*this).get_impl(); match IMILBitmapEffectImpl_Impl::GetOutputBitmapSource(this, core::mem::transmute_copy(&uiindex), windows_core::from_raw_borrowed(&prendercontext), core::mem::transmute_copy(&pfmodifyinplace)) { Ok(ok__) => { - core::ptr::write(ppbitmapsource, core::mem::transmute(ok__)); + ppbitmapsource.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -532,7 +532,7 @@ impl IMILBitmapEffectInputConnector_Vtbl { let this = (*this).get_impl(); match IMILBitmapEffectInputConnector_Impl::GetConnection(this) { Ok(ok__) => { - core::ptr::write(ppconnector, core::mem::transmute(ok__)); + ppconnector.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -559,7 +559,7 @@ impl IMILBitmapEffectInteriorInputConnector_Vtbl { let this = (*this).get_impl(); match IMILBitmapEffectInteriorInputConnector_Impl::GetInputConnector(this) { Ok(ok__) => { - core::ptr::write(pinputconnector, core::mem::transmute(ok__)); + pinputconnector.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -582,7 +582,7 @@ impl IMILBitmapEffectInteriorOutputConnector_Vtbl { let this = (*this).get_impl(); match IMILBitmapEffectInteriorOutputConnector_Impl::GetOutputConnector(this) { Ok(ok__) => { - core::ptr::write(poutputconnector, core::mem::transmute(ok__)); + poutputconnector.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -606,7 +606,7 @@ impl IMILBitmapEffectOutputConnector_Vtbl { let this = (*this).get_impl(); match IMILBitmapEffectOutputConnector_Impl::GetNumberConnections(this) { Ok(ok__) => { - core::ptr::write(puinumberconnections, core::mem::transmute(ok__)); + puinumberconnections.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -617,7 +617,7 @@ impl IMILBitmapEffectOutputConnector_Vtbl { let this = (*this).get_impl(); match IMILBitmapEffectOutputConnector_Impl::GetConnection(this, core::mem::transmute_copy(&uiindex)) { Ok(ok__) => { - core::ptr::write(ppconnection, core::mem::transmute(ok__)); + ppconnection.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -679,7 +679,7 @@ impl IMILBitmapEffectPrimitive_Vtbl { let this = (*this).get_impl(); match IMILBitmapEffectPrimitive_Impl::GetOutput(this, core::mem::transmute_copy(&uiindex), windows_core::from_raw_borrowed(&pcontext), core::mem::transmute_copy(&pfmodifyinplace)) { Ok(ok__) => { - core::ptr::write(ppbitmapsource, core::mem::transmute(ok__)); + ppbitmapsource.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -700,7 +700,7 @@ impl IMILBitmapEffectPrimitive_Vtbl { let this = (*this).get_impl(); match IMILBitmapEffectPrimitive_Impl::HasAffineTransform(this, core::mem::transmute_copy(&uiindex)) { Ok(ok__) => { - core::ptr::write(pfaffine, core::mem::transmute(ok__)); + pfaffine.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -711,7 +711,7 @@ impl IMILBitmapEffectPrimitive_Vtbl { let this = (*this).get_impl(); match IMILBitmapEffectPrimitive_Impl::HasInverseTransform(this, core::mem::transmute_copy(&uiindex)) { Ok(ok__) => { - core::ptr::write(pfhasinverse, core::mem::transmute(ok__)); + pfhasinverse.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -753,7 +753,7 @@ impl IMILBitmapEffectPrimitiveImpl_Vtbl { let this = (*this).get_impl(); match IMILBitmapEffectPrimitiveImpl_Impl::IsVolatile(this, core::mem::transmute_copy(&uioutputindex)) { Ok(ok__) => { - core::ptr::write(pfvolatile, core::mem::transmute(ok__)); + pfvolatile.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -792,7 +792,7 @@ impl IMILBitmapEffectRenderContext_Vtbl { let this = (*this).get_impl(); match IMILBitmapEffectRenderContext_Impl::GetOutputPixelFormat(this) { Ok(ok__) => { - core::ptr::write(pformat, core::mem::transmute(ok__)); + pformat.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -859,7 +859,7 @@ impl IMILBitmapEffectRenderContextImpl_Vtbl { let this = (*this).get_impl(); match IMILBitmapEffectRenderContextImpl_Impl::GetUseSoftwareRenderer(this) { Ok(ok__) => { - core::ptr::write(pfsoftware, core::mem::transmute(ok__)); + pfsoftware.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -912,7 +912,7 @@ impl IMILBitmapEffects_Vtbl { let this = (*this).get_impl(); match IMILBitmapEffects_Impl::_NewEnum(this) { Ok(ok__) => { - core::ptr::write(ppiureturn, core::mem::transmute(ok__)); + ppiureturn.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -923,7 +923,7 @@ impl IMILBitmapEffects_Vtbl { let this = (*this).get_impl(); match IMILBitmapEffects_Impl::Parent(this) { Ok(ok__) => { - core::ptr::write(ppeffect, core::mem::transmute(ok__)); + ppeffect.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -934,7 +934,7 @@ impl IMILBitmapEffects_Vtbl { let this = (*this).get_impl(); match IMILBitmapEffects_Impl::Item(this, core::mem::transmute_copy(&uindex)) { Ok(ok__) => { - core::ptr::write(ppeffect, core::mem::transmute(ok__)); + ppeffect.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -945,7 +945,7 @@ impl IMILBitmapEffects_Vtbl { let this = (*this).get_impl(); match IMILBitmapEffects_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(puicount, core::mem::transmute(ok__)); + puicount.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/libs/windows/src/Windows/Win32/Web/InternetExplorer/impl.rs b/crates/libs/windows/src/Windows/Win32/Web/InternetExplorer/impl.rs index 0082d5ed47..a32cc6fc7a 100644 --- a/crates/libs/windows/src/Windows/Win32/Web/InternetExplorer/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Web/InternetExplorer/impl.rs @@ -10,7 +10,7 @@ impl IActiveXUIHandlerSite_Vtbl { let this = (*this).get_impl(); match IActiveXUIHandlerSite_Impl::CreateScrollableContextMenu(this) { Ok(ok__) => { - core::ptr::write(scrollablecontextmenu, core::mem::transmute(ok__)); + scrollablecontextmenu.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -21,7 +21,7 @@ impl IActiveXUIHandlerSite_Vtbl { let this = (*this).get_impl(); match IActiveXUIHandlerSite_Impl::PickFileAndGetResult(this, windows_core::from_raw_borrowed(&filepicker), core::mem::transmute_copy(&allowmultipleselections)) { Ok(ok__) => { - core::ptr::write(result, core::mem::transmute(ok__)); + result.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -49,7 +49,7 @@ impl IActiveXUIHandlerSite2_Vtbl { let this = (*this).get_impl(); match IActiveXUIHandlerSite2_Impl::AddSuspensionExemption(this) { Ok(ok__) => { - core::ptr::write(pullcookie, core::mem::transmute(ok__)); + pullcookie.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -81,7 +81,7 @@ impl IActiveXUIHandlerSite3_Vtbl { let this = (*this).get_impl(); match IActiveXUIHandlerSite3_Impl::MessageBoxW(this, core::mem::transmute_copy(&hwnd), core::mem::transmute(&text), core::mem::transmute(&caption), core::mem::transmute_copy(&r#type)) { Ok(ok__) => { - core::ptr::write(result, core::mem::transmute(ok__)); + result.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -126,7 +126,7 @@ impl IAudioSessionSite_Vtbl { let this = (*this).get_impl(); match IAudioSessionSite_Impl::GetAudioSessionGuid(this) { Ok(ok__) => { - core::ptr::write(audiosessionguid, core::mem::transmute(ok__)); + audiosessionguid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -273,7 +273,7 @@ impl IEnumManagerFrames_Vtbl { let this = (*this).get_impl(); match IEnumManagerFrames_Impl::Count(this) { Ok(ok__) => { - core::ptr::write(pcelt, core::mem::transmute(ok__)); + pcelt.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -294,7 +294,7 @@ impl IEnumManagerFrames_Vtbl { let this = (*this).get_impl(); match IEnumManagerFrames_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -342,7 +342,7 @@ impl IEnumOpenServiceActivity_Vtbl { let this = (*this).get_impl(); match IEnumOpenServiceActivity_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -389,7 +389,7 @@ impl IEnumOpenServiceActivityCategory_Vtbl { let this = (*this).get_impl(); match IEnumOpenServiceActivityCategory_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -437,7 +437,7 @@ impl IEnumSTATURL_Vtbl { let this = (*this).get_impl(); match IEnumSTATURL_Impl::Clone(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -474,7 +474,7 @@ impl IHTMLPersistData_Vtbl { let this = (*this).get_impl(); match IHTMLPersistData_Impl::save(this, windows_core::from_raw_borrowed(&punk), core::mem::transmute_copy(<ype)) { Ok(ok__) => { - core::ptr::write(fcontinuebroacast, core::mem::transmute(ok__)); + fcontinuebroacast.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -485,7 +485,7 @@ impl IHTMLPersistData_Vtbl { let this = (*this).get_impl(); match IHTMLPersistData_Impl::load(this, windows_core::from_raw_borrowed(&punk), core::mem::transmute_copy(<ype)) { Ok(ok__) => { - core::ptr::write(fdodefault, core::mem::transmute(ok__)); + fdodefault.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -496,7 +496,7 @@ impl IHTMLPersistData_Vtbl { let this = (*this).get_impl(); match IHTMLPersistData_Impl::queryType(this, core::mem::transmute_copy(<ype)) { Ok(ok__) => { - core::ptr::write(pfsupportstype, core::mem::transmute(ok__)); + pfsupportstype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -530,7 +530,7 @@ impl IHTMLPersistDataOM_Vtbl { let this = (*this).get_impl(); match IHTMLPersistDataOM_Impl::XMLDocument(this) { Ok(ok__) => { - core::ptr::write(p, core::mem::transmute(ok__)); + p.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -541,7 +541,7 @@ impl IHTMLPersistDataOM_Vtbl { let this = (*this).get_impl(); match IHTMLPersistDataOM_Impl::getAttribute(this, core::mem::transmute(&name)) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -590,7 +590,7 @@ impl IHTMLUserDataOM_Vtbl { let this = (*this).get_impl(); match IHTMLUserDataOM_Impl::XMLDocument(this) { Ok(ok__) => { - core::ptr::write(p, core::mem::transmute(ok__)); + p.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -611,7 +611,7 @@ impl IHTMLUserDataOM_Vtbl { let this = (*this).get_impl(); match IHTMLUserDataOM_Impl::getAttribute(this, core::mem::transmute(&name)) { Ok(ok__) => { - core::ptr::write(pvalue, core::mem::transmute(ok__)); + pvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -637,7 +637,7 @@ impl IHTMLUserDataOM_Vtbl { let this = (*this).get_impl(); match IHTMLUserDataOM_Impl::expires(this) { Ok(ok__) => { - core::ptr::write(pbstr, core::mem::transmute(ok__)); + pbstr.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -694,7 +694,7 @@ impl IHeaderFooter_Vtbl { let this = (*this).get_impl(); match IHeaderFooter_Impl::htmlHead(this) { Ok(ok__) => { - core::ptr::write(p, core::mem::transmute(ok__)); + p.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -705,7 +705,7 @@ impl IHeaderFooter_Vtbl { let this = (*this).get_impl(); match IHeaderFooter_Impl::htmlFoot(this) { Ok(ok__) => { - core::ptr::write(p, core::mem::transmute(ok__)); + p.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -721,7 +721,7 @@ impl IHeaderFooter_Vtbl { let this = (*this).get_impl(); match IHeaderFooter_Impl::textHead(this) { Ok(ok__) => { - core::ptr::write(p, core::mem::transmute(ok__)); + p.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -737,7 +737,7 @@ impl IHeaderFooter_Vtbl { let this = (*this).get_impl(); match IHeaderFooter_Impl::textFoot(this) { Ok(ok__) => { - core::ptr::write(p, core::mem::transmute(ok__)); + p.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -753,7 +753,7 @@ impl IHeaderFooter_Vtbl { let this = (*this).get_impl(); match IHeaderFooter_Impl::page(this) { Ok(ok__) => { - core::ptr::write(p, core::mem::transmute(ok__)); + p.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -769,7 +769,7 @@ impl IHeaderFooter_Vtbl { let this = (*this).get_impl(); match IHeaderFooter_Impl::pageTotal(this) { Ok(ok__) => { - core::ptr::write(p, core::mem::transmute(ok__)); + p.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -785,7 +785,7 @@ impl IHeaderFooter_Vtbl { let this = (*this).get_impl(); match IHeaderFooter_Impl::URL(this) { Ok(ok__) => { - core::ptr::write(p, core::mem::transmute(ok__)); + p.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -801,7 +801,7 @@ impl IHeaderFooter_Vtbl { let this = (*this).get_impl(); match IHeaderFooter_Impl::title(this) { Ok(ok__) => { - core::ptr::write(p, core::mem::transmute(ok__)); + p.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -817,7 +817,7 @@ impl IHeaderFooter_Vtbl { let this = (*this).get_impl(); match IHeaderFooter_Impl::dateShort(this) { Ok(ok__) => { - core::ptr::write(p, core::mem::transmute(ok__)); + p.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -833,7 +833,7 @@ impl IHeaderFooter_Vtbl { let this = (*this).get_impl(); match IHeaderFooter_Impl::dateLong(this) { Ok(ok__) => { - core::ptr::write(p, core::mem::transmute(ok__)); + p.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -849,7 +849,7 @@ impl IHeaderFooter_Vtbl { let this = (*this).get_impl(); match IHeaderFooter_Impl::timeShort(this) { Ok(ok__) => { - core::ptr::write(p, core::mem::transmute(ok__)); + p.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -865,7 +865,7 @@ impl IHeaderFooter_Vtbl { let this = (*this).get_impl(); match IHeaderFooter_Impl::timeLong(this) { Ok(ok__) => { - core::ptr::write(p, core::mem::transmute(ok__)); + p.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -921,7 +921,7 @@ impl IHeaderFooter2_Vtbl { let this = (*this).get_impl(); match IHeaderFooter2_Impl::font(this) { Ok(ok__) => { - core::ptr::write(p, core::mem::transmute(ok__)); + p.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -959,7 +959,7 @@ impl IHomePage_Vtbl { let this = (*this).get_impl(); match IHomePage_Impl::isHomePage(this, core::mem::transmute(&bstrurl)) { Ok(ok__) => { - core::ptr::write(p, core::mem::transmute(ok__)); + p.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -994,7 +994,7 @@ impl IHomePageSetting_Vtbl { let this = (*this).get_impl(); match IHomePageSetting_Impl::IsHomePage(this, core::mem::transmute(&uri)) { Ok(ok__) => { - core::ptr::write(isdefault, core::mem::transmute(ok__)); + isdefault.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1030,7 +1030,7 @@ impl IIEWebDriverManager_Vtbl { let this = (*this).get_impl(); match IIEWebDriverManager_Impl::ExecuteCommand(this, core::mem::transmute(&command)) { Ok(ok__) => { - core::ptr::write(response, core::mem::transmute(ok__)); + response.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1068,7 +1068,7 @@ impl IIEWebDriverSite_Vtbl { let this = (*this).get_impl(); match IIEWebDriverSite_Impl::GetCapabilityValue(this, windows_core::from_raw_borrowed(&punkwd), core::mem::transmute(&capname)) { Ok(ok__) => { - core::ptr::write(capvalue, core::mem::transmute(ok__)); + capvalue.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1101,7 +1101,7 @@ impl IImageDecodeEventSink_Vtbl { let this = (*this).get_impl(); match IImageDecodeEventSink_Impl::GetSurface(this, core::mem::transmute_copy(&nwidth), core::mem::transmute_copy(&nheight), core::mem::transmute_copy(&bfid), core::mem::transmute_copy(&npasses), core::mem::transmute_copy(&dwhints)) { Ok(ok__) => { - core::ptr::write(ppsurface, core::mem::transmute(ok__)); + ppsurface.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1157,7 +1157,7 @@ impl IImageDecodeEventSink2_Vtbl { let this = (*this).get_impl(); match IImageDecodeEventSink2_Impl::IsAlphaPremultRequired(this) { Ok(ok__) => { - core::ptr::write(pfpremultalpha, core::mem::transmute(ok__)); + pfpremultalpha.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1221,7 +1221,7 @@ impl IIntelliForms_Vtbl { let this = (*this).get_impl(); match IIntelliForms_Impl::enabled(this) { Ok(ok__) => { - core::ptr::write(pval, core::mem::transmute(ok__)); + pval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1270,7 +1270,7 @@ impl IInternetExplorerManager2_Vtbl { let this = (*this).get_impl(); match IInternetExplorerManager2_Impl::EnumFrameWindows(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1311,7 +1311,7 @@ impl ILayoutRect_Vtbl { let this = (*this).get_impl(); match ILayoutRect_Impl::nextRect(this) { Ok(ok__) => { - core::ptr::write(pbstrelementid, core::mem::transmute(ok__)); + pbstrelementid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1327,7 +1327,7 @@ impl ILayoutRect_Vtbl { let this = (*this).get_impl(); match ILayoutRect_Impl::contentSrc(this) { Ok(ok__) => { - core::ptr::write(pvarcontentsrc, core::mem::transmute(ok__)); + pvarcontentsrc.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1343,7 +1343,7 @@ impl ILayoutRect_Vtbl { let this = (*this).get_impl(); match ILayoutRect_Impl::honorPageBreaks(this) { Ok(ok__) => { - core::ptr::write(p, core::mem::transmute(ok__)); + p.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1359,7 +1359,7 @@ impl ILayoutRect_Vtbl { let this = (*this).get_impl(); match ILayoutRect_Impl::honorPageRules(this) { Ok(ok__) => { - core::ptr::write(p, core::mem::transmute(ok__)); + p.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1375,7 +1375,7 @@ impl ILayoutRect_Vtbl { let this = (*this).get_impl(); match ILayoutRect_Impl::nextRectElement(this) { Ok(ok__) => { - core::ptr::write(ppelem, core::mem::transmute(ok__)); + ppelem.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1386,7 +1386,7 @@ impl ILayoutRect_Vtbl { let this = (*this).get_impl(); match ILayoutRect_Impl::contentDocument(this) { Ok(ok__) => { - core::ptr::write(pdoc, core::mem::transmute(ok__)); + pdoc.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1485,7 +1485,7 @@ impl IOpenService_Vtbl { let this = (*this).get_impl(); match IOpenService_Impl::IsDefault(this) { Ok(ok__) => { - core::ptr::write(pfisdefault, core::mem::transmute(ok__)); + pfisdefault.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1501,7 +1501,7 @@ impl IOpenService_Vtbl { let this = (*this).get_impl(); match IOpenService_Impl::GetID(this) { Ok(ok__) => { - core::ptr::write(pbstrid, core::mem::transmute(ok__)); + pbstrid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1554,7 +1554,7 @@ impl IOpenServiceActivity_Vtbl { let this = (*this).get_impl(); match IOpenServiceActivity_Impl::CanExecute(this, windows_core::from_raw_borrowed(&pinput), windows_core::from_raw_borrowed(&poutput)) { Ok(ok__) => { - core::ptr::write(pfcanexecute, core::mem::transmute(ok__)); + pfcanexecute.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1565,7 +1565,7 @@ impl IOpenServiceActivity_Vtbl { let this = (*this).get_impl(); match IOpenServiceActivity_Impl::CanExecuteType(this, core::mem::transmute_copy(&r#type)) { Ok(ok__) => { - core::ptr::write(pfcanexecute, core::mem::transmute(ok__)); + pfcanexecute.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1581,7 +1581,7 @@ impl IOpenServiceActivity_Vtbl { let this = (*this).get_impl(); match IOpenServiceActivity_Impl::CanPreview(this, windows_core::from_raw_borrowed(&pinput), windows_core::from_raw_borrowed(&poutput)) { Ok(ok__) => { - core::ptr::write(pfcanpreview, core::mem::transmute(ok__)); + pfcanpreview.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1592,7 +1592,7 @@ impl IOpenServiceActivity_Vtbl { let this = (*this).get_impl(); match IOpenServiceActivity_Impl::CanPreviewType(this, core::mem::transmute_copy(&r#type)) { Ok(ok__) => { - core::ptr::write(pfcanpreview, core::mem::transmute(ok__)); + pfcanpreview.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1603,7 +1603,7 @@ impl IOpenServiceActivity_Vtbl { let this = (*this).get_impl(); match IOpenServiceActivity_Impl::GetStatusText(this, windows_core::from_raw_borrowed(&pinput)) { Ok(ok__) => { - core::ptr::write(pbstrstatustext, core::mem::transmute(ok__)); + pbstrstatustext.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1614,7 +1614,7 @@ impl IOpenServiceActivity_Vtbl { let this = (*this).get_impl(); match IOpenServiceActivity_Impl::GetHomepageUrl(this) { Ok(ok__) => { - core::ptr::write(pbstrhomepageurl, core::mem::transmute(ok__)); + pbstrhomepageurl.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1625,7 +1625,7 @@ impl IOpenServiceActivity_Vtbl { let this = (*this).get_impl(); match IOpenServiceActivity_Impl::GetDisplayName(this) { Ok(ok__) => { - core::ptr::write(pbstrdisplayname, core::mem::transmute(ok__)); + pbstrdisplayname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1636,7 +1636,7 @@ impl IOpenServiceActivity_Vtbl { let this = (*this).get_impl(); match IOpenServiceActivity_Impl::GetDescription(this) { Ok(ok__) => { - core::ptr::write(pbstrdescription, core::mem::transmute(ok__)); + pbstrdescription.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1647,7 +1647,7 @@ impl IOpenServiceActivity_Vtbl { let this = (*this).get_impl(); match IOpenServiceActivity_Impl::GetCategoryName(this) { Ok(ok__) => { - core::ptr::write(pbstrcategoryname, core::mem::transmute(ok__)); + pbstrcategoryname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1658,7 +1658,7 @@ impl IOpenServiceActivity_Vtbl { let this = (*this).get_impl(); match IOpenServiceActivity_Impl::GetIconPath(this) { Ok(ok__) => { - core::ptr::write(pbstriconpath, core::mem::transmute(ok__)); + pbstriconpath.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1669,7 +1669,7 @@ impl IOpenServiceActivity_Vtbl { let this = (*this).get_impl(); match IOpenServiceActivity_Impl::GetIcon(this, core::mem::transmute_copy(&fsmallicon)) { Ok(ok__) => { - core::ptr::write(phicon, core::mem::transmute(ok__)); + phicon.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1680,7 +1680,7 @@ impl IOpenServiceActivity_Vtbl { let this = (*this).get_impl(); match IOpenServiceActivity_Impl::GetDescriptionFilePath(this) { Ok(ok__) => { - core::ptr::write(pbstrxmlpath, core::mem::transmute(ok__)); + pbstrxmlpath.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1691,7 +1691,7 @@ impl IOpenServiceActivity_Vtbl { let this = (*this).get_impl(); match IOpenServiceActivity_Impl::GetDownloadUrl(this) { Ok(ok__) => { - core::ptr::write(pbstrxmluri, core::mem::transmute(ok__)); + pbstrxmluri.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1702,7 +1702,7 @@ impl IOpenServiceActivity_Vtbl { let this = (*this).get_impl(); match IOpenServiceActivity_Impl::GetInstallUrl(this) { Ok(ok__) => { - core::ptr::write(pbstrinstalluri, core::mem::transmute(ok__)); + pbstrinstalluri.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1713,7 +1713,7 @@ impl IOpenServiceActivity_Vtbl { let this = (*this).get_impl(); match IOpenServiceActivity_Impl::IsEnabled(this) { Ok(ok__) => { - core::ptr::write(pfisenabled, core::mem::transmute(ok__)); + pfisenabled.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1765,7 +1765,7 @@ impl IOpenServiceActivityCategory_Vtbl { let this = (*this).get_impl(); match IOpenServiceActivityCategory_Impl::HasDefaultActivity(this) { Ok(ok__) => { - core::ptr::write(pfhasdefaultactivity, core::mem::transmute(ok__)); + pfhasdefaultactivity.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1776,7 +1776,7 @@ impl IOpenServiceActivityCategory_Vtbl { let this = (*this).get_impl(); match IOpenServiceActivityCategory_Impl::GetDefaultActivity(this) { Ok(ok__) => { - core::ptr::write(ppdefaultactivity, core::mem::transmute(ok__)); + ppdefaultactivity.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1792,7 +1792,7 @@ impl IOpenServiceActivityCategory_Vtbl { let this = (*this).get_impl(); match IOpenServiceActivityCategory_Impl::GetName(this) { Ok(ok__) => { - core::ptr::write(pbstrname, core::mem::transmute(ok__)); + pbstrname.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1803,7 +1803,7 @@ impl IOpenServiceActivityCategory_Vtbl { let this = (*this).get_impl(); match IOpenServiceActivityCategory_Impl::GetActivityEnumerator(this, windows_core::from_raw_borrowed(&pinput), windows_core::from_raw_borrowed(&poutput)) { Ok(ok__) => { - core::ptr::write(ppenumactivity, core::mem::transmute(ok__)); + ppenumactivity.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1835,7 +1835,7 @@ impl IOpenServiceActivityInput_Vtbl { let this = (*this).get_impl(); match IOpenServiceActivityInput_Impl::GetVariable(this, core::mem::transmute(&pwzvariablename), core::mem::transmute(&pwzvariabletype)) { Ok(ok__) => { - core::ptr::write(pbstrvariablecontent, core::mem::transmute(ok__)); + pbstrvariablecontent.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1846,7 +1846,7 @@ impl IOpenServiceActivityInput_Vtbl { let this = (*this).get_impl(); match IOpenServiceActivityInput_Impl::HasVariable(this, core::mem::transmute(&pwzvariablename), core::mem::transmute(&pwzvariabletype)) { Ok(ok__) => { - core::ptr::write(pfhasvariable, core::mem::transmute(ok__)); + pfhasvariable.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1857,7 +1857,7 @@ impl IOpenServiceActivityInput_Vtbl { let this = (*this).get_impl(); match IOpenServiceActivityInput_Impl::GetType(this) { Ok(ok__) => { - core::ptr::write(ptype, core::mem::transmute(ok__)); + ptype.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1888,7 +1888,7 @@ impl IOpenServiceActivityManager_Vtbl { let this = (*this).get_impl(); match IOpenServiceActivityManager_Impl::GetCategoryEnumerator(this, core::mem::transmute_copy(&etype)) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1899,7 +1899,7 @@ impl IOpenServiceActivityManager_Vtbl { let this = (*this).get_impl(); match IOpenServiceActivityManager_Impl::GetActivityByID(this, core::mem::transmute(&pwzactivityid)) { Ok(ok__) => { - core::ptr::write(ppactivity, core::mem::transmute(ok__)); + ppactivity.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1910,7 +1910,7 @@ impl IOpenServiceActivityManager_Vtbl { let this = (*this).get_impl(); match IOpenServiceActivityManager_Impl::GetActivityByHomepageAndCategory(this, core::mem::transmute(&pwzhomepage), core::mem::transmute(&pwzcategory)) { Ok(ok__) => { - core::ptr::write(ppactivity, core::mem::transmute(ok__)); + ppactivity.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1921,7 +1921,7 @@ impl IOpenServiceActivityManager_Vtbl { let this = (*this).get_impl(); match IOpenServiceActivityManager_Impl::GetVersionCookie(this) { Ok(ok__) => { - core::ptr::write(pdwversioncookie, core::mem::transmute(ok__)); + pdwversioncookie.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1959,7 +1959,7 @@ impl IOpenServiceActivityOutputContext_Vtbl { let this = (*this).get_impl(); match IOpenServiceActivityOutputContext_Impl::CanNavigate(this, core::mem::transmute(&pwzuri), core::mem::transmute(&pwzmethod), core::mem::transmute(&pwzheaders), windows_core::from_raw_borrowed(&ppostdata)) { Ok(ok__) => { - core::ptr::write(pfcannavigate, core::mem::transmute(ok__)); + pfcannavigate.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -1988,7 +1988,7 @@ impl IOpenServiceManager_Vtbl { let this = (*this).get_impl(); match IOpenServiceManager_Impl::InstallService(this, core::mem::transmute(&pwzserviceurl)) { Ok(ok__) => { - core::ptr::write(ppservice, core::mem::transmute(ok__)); + ppservice.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2004,7 +2004,7 @@ impl IOpenServiceManager_Vtbl { let this = (*this).get_impl(); match IOpenServiceManager_Impl::GetServiceByID(this, core::mem::transmute(&pwzid)) { Ok(ok__) => { - core::ptr::write(ppservice, core::mem::transmute(ok__)); + ppservice.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2063,7 +2063,7 @@ impl IPersistHistory_Vtbl { let this = (*this).get_impl(); match IPersistHistory_Impl::GetPositionCookie(this) { Ok(ok__) => { - core::ptr::write(pdwpositioncookie, core::mem::transmute(ok__)); + pdwpositioncookie.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2132,7 +2132,7 @@ impl IScrollableContextMenu_Vtbl { let this = (*this).get_impl(); match IScrollableContextMenu_Impl::ShowModal(this, core::mem::transmute_copy(&x), core::mem::transmute_copy(&y)) { Ok(ok__) => { - core::ptr::write(cmdid, core::mem::transmute(ok__)); + cmdid.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2290,7 +2290,7 @@ impl ITargetContainer_Vtbl { let this = (*this).get_impl(); match ITargetContainer_Impl::GetFrameUrl(this) { Ok(ok__) => { - core::ptr::write(ppszframesrc, core::mem::transmute(ok__)); + ppszframesrc.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2301,7 +2301,7 @@ impl ITargetContainer_Vtbl { let this = (*this).get_impl(); match ITargetContainer_Impl::GetFramesContainer(this) { Ok(ok__) => { - core::ptr::write(ppcontainer, core::mem::transmute(ok__)); + ppcontainer.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2328,7 +2328,7 @@ impl ITargetEmbedding_Vtbl { let this = (*this).get_impl(); match ITargetEmbedding_Impl::GetTargetFrame(this) { Ok(ok__) => { - core::ptr::write(pptargetframe, core::mem::transmute(ok__)); + pptargetframe.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2372,7 +2372,7 @@ impl ITargetFrame_Vtbl { let this = (*this).get_impl(); match ITargetFrame_Impl::GetFrameName(this) { Ok(ok__) => { - core::ptr::write(ppszframename, core::mem::transmute(ok__)); + ppszframename.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2383,7 +2383,7 @@ impl ITargetFrame_Vtbl { let this = (*this).get_impl(); match ITargetFrame_Impl::GetParentFrame(this) { Ok(ok__) => { - core::ptr::write(ppunkparent, core::mem::transmute(ok__)); + ppunkparent.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2394,7 +2394,7 @@ impl ITargetFrame_Vtbl { let this = (*this).get_impl(); match ITargetFrame_Impl::FindFrame(this, core::mem::transmute(&psztargetname), windows_core::from_raw_borrowed(&ppunkcontextframe), core::mem::transmute_copy(&dwflags)) { Ok(ok__) => { - core::ptr::write(ppunktargetframe, core::mem::transmute(ok__)); + ppunktargetframe.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2410,7 +2410,7 @@ impl ITargetFrame_Vtbl { let this = (*this).get_impl(); match ITargetFrame_Impl::GetFrameSrc(this) { Ok(ok__) => { - core::ptr::write(ppszframesrc, core::mem::transmute(ok__)); + ppszframesrc.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2421,7 +2421,7 @@ impl ITargetFrame_Vtbl { let this = (*this).get_impl(); match ITargetFrame_Impl::GetFramesContainer(this) { Ok(ok__) => { - core::ptr::write(ppcontainer, core::mem::transmute(ok__)); + ppcontainer.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2437,7 +2437,7 @@ impl ITargetFrame_Vtbl { let this = (*this).get_impl(); match ITargetFrame_Impl::GetFrameOptions(this) { Ok(ok__) => { - core::ptr::write(pdwflags, core::mem::transmute(ok__)); + pdwflags.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2520,7 +2520,7 @@ impl ITargetFrame2_Vtbl { let this = (*this).get_impl(); match ITargetFrame2_Impl::GetFrameName(this) { Ok(ok__) => { - core::ptr::write(ppszframename, core::mem::transmute(ok__)); + ppszframename.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2531,7 +2531,7 @@ impl ITargetFrame2_Vtbl { let this = (*this).get_impl(); match ITargetFrame2_Impl::GetParentFrame(this) { Ok(ok__) => { - core::ptr::write(ppunkparent, core::mem::transmute(ok__)); + ppunkparent.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2547,7 +2547,7 @@ impl ITargetFrame2_Vtbl { let this = (*this).get_impl(); match ITargetFrame2_Impl::GetFrameSrc(this) { Ok(ok__) => { - core::ptr::write(ppszframesrc, core::mem::transmute(ok__)); + ppszframesrc.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2558,7 +2558,7 @@ impl ITargetFrame2_Vtbl { let this = (*this).get_impl(); match ITargetFrame2_Impl::GetFramesContainer(this) { Ok(ok__) => { - core::ptr::write(ppcontainer, core::mem::transmute(ok__)); + ppcontainer.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2574,7 +2574,7 @@ impl ITargetFrame2_Vtbl { let this = (*this).get_impl(); match ITargetFrame2_Impl::GetFrameOptions(this) { Ok(ok__) => { - core::ptr::write(pdwflags, core::mem::transmute(ok__)); + pdwflags.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2595,7 +2595,7 @@ impl ITargetFrame2_Vtbl { let this = (*this).get_impl(); match ITargetFrame2_Impl::FindFrame(this, core::mem::transmute(&psztargetname), core::mem::transmute_copy(&dwflags)) { Ok(ok__) => { - core::ptr::write(ppunktargetframe, core::mem::transmute(ok__)); + ppunktargetframe.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2606,7 +2606,7 @@ impl ITargetFrame2_Vtbl { let this = (*this).get_impl(); match ITargetFrame2_Impl::GetTargetAlias(this, core::mem::transmute(&psztargetname)) { Ok(ok__) => { - core::ptr::write(ppsztargetalias, core::mem::transmute(ok__)); + ppsztargetalias.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2651,7 +2651,7 @@ impl ITargetFramePriv_Vtbl { let this = (*this).get_impl(); match ITargetFramePriv_Impl::FindFrameDownwards(this, core::mem::transmute(&psztargetname), core::mem::transmute_copy(&dwflags)) { Ok(ok__) => { - core::ptr::write(ppunktargetframe, core::mem::transmute(ok__)); + ppunktargetframe.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2662,7 +2662,7 @@ impl ITargetFramePriv_Vtbl { let this = (*this).get_impl(); match ITargetFramePriv_Impl::FindFrameInContext(this, core::mem::transmute(&psztargetname), windows_core::from_raw_borrowed(&punkcontextframe), core::mem::transmute_copy(&dwflags)) { Ok(ok__) => { - core::ptr::write(ppunktargetframe, core::mem::transmute(ok__)); + ppunktargetframe.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2688,7 +2688,7 @@ impl ITargetFramePriv_Vtbl { let this = (*this).get_impl(); match ITargetFramePriv_Impl::FindBrowserByIndex(this, core::mem::transmute_copy(&dwid)) { Ok(ok__) => { - core::ptr::write(ppunkbrowser, core::mem::transmute(ok__)); + ppunkbrowser.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2786,7 +2786,7 @@ impl ITimer_Vtbl { let this = (*this).get_impl(); match ITimer_Impl::Advise(this, core::mem::transmute(&vtimemin), core::mem::transmute(&vtimemax), core::mem::transmute(&vtimeinterval), core::mem::transmute_copy(&dwflags), windows_core::from_raw_borrowed(&ptimersink)) { Ok(ok__) => { - core::ptr::write(pdwcookie, core::mem::transmute(ok__)); + pdwcookie.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2807,7 +2807,7 @@ impl ITimer_Vtbl { let this = (*this).get_impl(); match ITimer_Impl::GetTime(this) { Ok(ok__) => { - core::ptr::write(pvtime, core::mem::transmute(ok__)); + pvtime.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2855,7 +2855,7 @@ impl ITimerService_Vtbl { let this = (*this).get_impl(); match ITimerService_Impl::CreateTimer(this, windows_core::from_raw_borrowed(&preferencetimer)) { Ok(ok__) => { - core::ptr::write(ppnewtimer, core::mem::transmute(ok__)); + ppnewtimer.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2866,7 +2866,7 @@ impl ITimerService_Vtbl { let this = (*this).get_impl(); match ITimerService_Impl::GetNamedTimer(this, core::mem::transmute_copy(&rguidname)) { Ok(ok__) => { - core::ptr::write(pptimer, core::mem::transmute(ok__)); + pptimer.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2916,7 +2916,7 @@ impl ITridentTouchInput_Vtbl { let this = (*this).get_impl(); match ITridentTouchInput_Impl::OnPointerMessage(this, core::mem::transmute_copy(&msg), core::mem::transmute_copy(&wparam), core::mem::transmute_copy(&lparam)) { Ok(ok__) => { - core::ptr::write(pfallowmanipulations, core::mem::transmute(ok__)); + pfallowmanipulations.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -2976,7 +2976,7 @@ impl IUrlHistoryStg_Vtbl { let this = (*this).get_impl(); match IUrlHistoryStg_Impl::EnumUrls(this) { Ok(ok__) => { - core::ptr::write(ppenum, core::mem::transmute(ok__)); + ppenum.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3090,7 +3090,7 @@ impl IViewObjectPresentFlipSite2_Vtbl { let this = (*this).get_impl(); match IViewObjectPresentFlipSite2_Impl::GetRotationForCurrentOutput(this) { Ok(ok__) => { - core::ptr::write(pdxgirotation, core::mem::transmute(ok__)); + pdxgirotation.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3120,7 +3120,7 @@ impl IWebBrowserEventsService_Vtbl { let this = (*this).get_impl(); match IWebBrowserEventsService_Impl::FireBeforeNavigate2Event(this) { Ok(ok__) => { - core::ptr::write(pfcancel, core::mem::transmute(ok__)); + pfcancel.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3170,7 +3170,7 @@ impl IWebBrowserEventsUrlService_Vtbl { let this = (*this).get_impl(); match IWebBrowserEventsUrlService_Impl::GetUrlForEvents(this) { Ok(ok__) => { - core::ptr::write(purl, core::mem::transmute(ok__)); + purl.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3198,7 +3198,7 @@ impl Iwfolders_Vtbl { let this = (*this).get_impl(); match Iwfolders_Impl::navigate(this, core::mem::transmute(&bstrurl)) { Ok(ok__) => { - core::ptr::write(pbstrretval, core::mem::transmute(ok__)); + pbstrretval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -3209,7 +3209,7 @@ impl Iwfolders_Vtbl { let this = (*this).get_impl(); match Iwfolders_Impl::navigateFrame(this, core::mem::transmute(&bstrurl), core::mem::transmute(&bstrtargetframe)) { Ok(ok__) => { - core::ptr::write(pbstrretval, core::mem::transmute(ok__)); + pbstrretval.write(core::mem::transmute(ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/samples/components/json_validator_winrt/src/bindings.rs b/crates/samples/components/json_validator_winrt/src/bindings.rs index 2eabde447a..4541c27150 100644 --- a/crates/samples/components/json_validator_winrt/src/bindings.rs +++ b/crates/samples/components/json_validator_winrt/src/bindings.rs @@ -131,7 +131,7 @@ impl IJsonValidator_Vtbl { let this = (*this).get_impl(); match IJsonValidator_Impl::Validate(this, core::mem::transmute(&value)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -173,7 +173,7 @@ impl IJsonValidatorFactory_Vtbl { let this = (*this).get_impl(); match IJsonValidatorFactory_Impl::CreateInstance(this, core::mem::transmute(&schema)) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } diff --git a/crates/tests/component/src/bindings.rs b/crates/tests/component/src/bindings.rs index 187a8710aa..812206bb80 100644 --- a/crates/tests/component/src/bindings.rs +++ b/crates/tests/component/src/bindings.rs @@ -387,7 +387,7 @@ impl windows_core::Result + Send + 'static> CallbackBox let this = &mut *(this as *mut *mut core::ffi::c_void as *mut Self); match (this.invoke)(a) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -449,7 +449,7 @@ impl IClass_Vtbl { let this = (*this).get_impl(); match IClass_Impl::Property(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -479,7 +479,7 @@ impl IClass_Vtbl { let this = (*this).get_impl(); match IClass_Impl::Flags(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -517,8 +517,8 @@ impl IClass_Vtbl { ) { Ok(ok__) => { let (ok_data__, ok_data_len__) = ok__.into_abi(); - core::ptr::write(result__, ok_data__); - core::ptr::write(result_size__, ok_data_len__); + result__.write(ok_data__); + result_size__.write(ok_data_len__); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -556,8 +556,8 @@ impl IClass_Vtbl { ) { Ok(ok__) => { let (ok_data__, ok_data_len__) = ok__.into_abi(); - core::ptr::write(result__, ok_data__); - core::ptr::write(result_size__, ok_data_len__); + result__.write(ok_data__); + result_size__.write(ok_data_len__); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/tests/component_client/src/bindings.rs b/crates/tests/component_client/src/bindings.rs index 349d09a78f..35904ed547 100644 --- a/crates/tests/component_client/src/bindings.rs +++ b/crates/tests/component_client/src/bindings.rs @@ -355,7 +355,7 @@ impl windows_core::Result + Send + 'static> CallbackBox let this = &mut *(this as *mut *mut core::ffi::c_void as *mut Self); match (this.invoke)(a) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), diff --git a/crates/tests/noexcept/src/bindings.rs b/crates/tests/noexcept/src/bindings.rs index a0110d93a1..cc8258bb80 100644 --- a/crates/tests/noexcept/src/bindings.rs +++ b/crates/tests/noexcept/src/bindings.rs @@ -360,7 +360,7 @@ impl ITest_Vtbl { let this = (*this).get_impl(); match ITest_Impl::String(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -391,7 +391,7 @@ impl ITest_Vtbl { let this = (*this).get_impl(); match ITest_Impl::Int32(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } Err(err) => err.into(), @@ -421,7 +421,7 @@ impl ITest_Vtbl { let this = (*this).get_impl(); match ITest_Impl::Test(this) { Ok(ok__) => { - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -490,7 +490,7 @@ impl ITest_Vtbl { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); let ok__ = ITest_Impl::StringN(this); - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) } @@ -518,7 +518,7 @@ impl ITest_Vtbl { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); let ok__ = ITest_Impl::Int32N(this); - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); windows_core::HRESULT(0) } unsafe extern "system" fn SetInt32N< @@ -545,7 +545,7 @@ impl ITest_Vtbl { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); let ok__ = ITest_Impl::TestN(this); - core::ptr::write(result__, core::mem::transmute_copy(&ok__)); + result__.write(core::mem::transmute_copy(&ok__)); core::mem::forget(ok__); windows_core::HRESULT(0) }